On Thu, 12 Jan 2006, Ralf Corsepius wrote:
> On Wed, 2006-01-11 at 16:10 +0100, Ralf Wildenhues wrote: > > [ again, please follow up to automake@gnu.org only ] > > > > * Matt Hull wrote on Wed, Jan 11, 2006 at 01:30:40AM CET: > > > > icarus.cc.uic.edu/~mhull1/mine-0.0.9.tar.gz > > > > This makes it much easier to see what is going wrong. > > > > Try this as toplevel makefile.am. Note I cannot fully test because I do > > not have the macro AX_COMPARE_VERSION (and thus cannot regenerate the > > configure script). > It's in his aclocal/ subdir > > > You, the developer, *will* need an Automake version >= 1.8, I believe. > > (Your users won't need Automake at all.) > They won't ... > > > Hope that helps. If not, please post what you did including > > output/errors of the tools. > > Additions interspersed below: > > > -snip makefile.am- > > AUTOMAKE_OPTIONS = subdir-objects > ACLOCAL_AMFLAGS = -I aclocal > > > SUBDIRS = > > > > bin_PROGRAMS = mine > > mine_SOURCES = src/main.c > > > > if WITH_GTK1 > > mine_SOURCES += src/gtk1/gtk1.c src/gtk1/gtk1.h > mine_CFLAGS = @GTK1_CFLAGS@ > mine_LDADD = @GTK1_LDFLAGS@ > > endif > > > > if WITH_GTK2 > > mine_SOURCES += src/gtk2/gtk2.c src/gtk2/gtk2.h > mine_CFLAGS = @GTK2_CFLAGS@ (or similar, setting up GTK2 > mine_LDDAD = @GTK2_LDFLAGS@ flags is missing in configure.ac) > > endif > > Ralf > tried that, doestn change much. all make does is try to link main.c to the final binary, but will not try to build the dependencies or link correctly i am lost to as why it isnt checking dependencies. matt