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: The %.o: %.cc rule


Tom,

Thanks for the guidance so far.

I got automake and autoconf out of cvs and
did 

./configure --prefix=$HOME
make test install

on both projects autoconf first then automake
and now I get some errors when I run aclocal and automake.

%aclocal
aclocal: configure.in: 10: macro `AM_PROG_LIBTOOL' not found in library

%automake --add-missing
/home/clark/share/automake/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
...
/home/clark/share/automake/am/lang-compile.am: AMDEP does not appear in AM_CONDITIONAL

Which configuration files would be usefull?



On Mon, Jun 04, 2001 at 10:29:58PM -0600, Tom Tromey wrote:
> >>>>> "Hair" == Raja R Harinath <harinath@cs.umn.edu> writes:
> 
> Clark> test_SOURCES = d1/s1.cc d2/s2.cc
> 
> Hair> Try using
> Hair>   AUTOMAKE_OPTIONS = subdir-objects
> 
> subdir-objects will cause Makefile to build d1/s1.o and d2/s2.o.
> Without it, the above test_SOURCES will still work but the .o files
> will end up in `.'.
> 
> Hair> I think that does what you want (you have to use the in-CVS
> Hair> version of automake).
> 
> He can use 1.4f, too.  That is the most recent prerelease.
> 
> Tom

PGP signature


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