This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: include_HEADERS and all-am
- From: jling at cmmt dot ubc dot ca
- To: Andreas Schwab <schwab at suse dot de>
- Cc: automake at gnu dot org
- Date: Tue, 23 Dec 2003 14:27:53 -0500
- Subject: Re: include_HEADERS and all-am
- Reply-to: jling at bioinformatics dot ubc dot ca
Hi Andreas, yes I did try that as well. In that case, I got:
*** No rule to make target `all'. Stop.
John
----- Original Message -----
From: Andreas Schwab <schwab@suse.de>
Date: Tuesday, December 23, 2003 7:36 am
Subject: Re: include_HEADERS and all-am
> jling@cmmt.ubc.ca writes:
>
> > Given my Makefile.am:
> >
> > AM_CPPFLAGS = -I$(srcdir)/../inc
> > lib_LIBRARIES = libtest.a
> > libtest_a_SOURCES = test.cpp test.hpp
> >
> > This works fine.
> >
> > Now I add to the end of that:
> > include_HEADERS = test.hpp
> >
> > Now I get a make error:
> >
> > make[2]: *** No rule to make target 'test.hpp', needed by `all-
> am'.
> > Stop.
>
> Try moving include_HEADERS into ../inc/Makefile.am.
>
> Andreas.
>
> --
> Andreas Schwab, SuSE Labs, schwab@suse.de
> SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
> Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
> "And now for something completely different."
>
>
>