This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: include_HEADERS and all-am
- From: Andreas Schwab <schwab at suse dot de>
- To: jling at bioinformatics dot ubc dot ca
- Cc: automake at gnu dot org
- Date: Tue, 23 Dec 2003 13:36:23 +0100
- Subject: Re: include_HEADERS and all-am
- References: <8075b80de7.80de78075b@cmmt.ubc.ca>
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."