PLEASE help with automake, etc.

From: monk (hmonk_at_no.spam.com)
Date: 08/27/03


Date: Wed, 27 Aug 2003 07:41:17 GMT


I am completely at wits end and could really use some help.

I have the following sort of source tree:

foo
foo/src
foo/src/bar/a
foo/src/bar/b
foo/src/bar/b/c

At each level, I have a Makefile.am with the proper SUBDIRS set. I can
run my autogen.sh and generate all of my Makefiles. My problem is that my
INCLUDES are completely ignored, my Makefile has the following which is
all that is being used for the include dirs:

DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I.

srcdir evaluates to ../..

Naturally, my header files in foo/src/bar are never found.

I know I'm missing something simple and obvious but I'm totally lost in
the docs and everything on google about configure.in is a diff.

Any examples of how to properly set this up would be GREATLY appreciated.

Thanks

monk