This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: path specified in SOURCE definition


>>>>> "Fausto" == Fausto Sanchez <fas@andiamo.com> writes:

> Hi,
> Some or our developers have created their Makefile.am as such:

> bin_PROGRAMS = foo

> foo_SOURCES = foo.c foo.h bar/bar.c bar/bar.h

> Is it illegal to use paths in your source definition, I couldn't find
> anything in the book on this. 

It is illegal in automake 1.4.

> If this is illegal how does one go about > doing something like the above
> if the developers insist it to be done this way. Is it just a matter of
> creating another Makefile.am in the sub-directory, create a convenience
> library and link the executable with it?

Upgrade to automake 1.5 which was released last week.

Ganesan

-- 
R. Ganesan (rganesan@novell.com)       | Ph: 91-80-5731856 Ext: 2149
Novell India Development Center.       | #include <std_disclaimer.h>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]