automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: top level make file with deep dir struct demo


From: Ralf Corsepius
Subject: Re: top level make file with deep dir struct demo
Date: Tue, 10 Jan 2006 20:04:35 +0100

On Tue, 2006-01-10 at 12:16 -0600, Matt Hull wrote:
> > On Mon, 2006-01-09 at 15:30 -0600, Matt Hull wrote:
> >
> > > makefile.am :
> > > -------------
> > > bin_PROGRAMS = mine
> > > mine_SOURCES = src/main.c
> > >
> > > if WITH_GTK1
> > >   mine_sources += src/gtk2/gtk1.c src/gtk2/gtk1.h
> > > endif
> > >
> > > DIST_SUBDIRS = src src/gtk1 src/gtk2
> >
> > > address@hidden ~/mine-0.0.9 $ aclocal -I aclocal.include/ && autoheader 
> > > && autoconf && automake && ./configure && make
> > > automake: makefile.am: not supported: source file `src/main.c' is in 
> > > subdirectory
> >
> > > not sure what is wrong
> > Which version of automake are you using? The error indicates you might
> > be using an outdated version (current is 1.9.6).

> i am also testing on an older system that cannot be upgraded,  how would i
> write a toplevel make file for that ?

This feature is only supported in newer automakes (IIRC, since 1.9). It
doesn't work with older versions of automake.

Ralf






reply via email to

[Prev in Thread] Current Thread [Next in Thread]