[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: automake and funny BUILT_SOURCES behavior
From: |
Alexandre Duret-Lutz |
Subject: |
Re: automake and funny BUILT_SOURCES behavior |
Date: |
Thu, 05 Dec 2002 11:36:30 +0100 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/20.7 (i386-debian-linux-gnu) |
| Uhm. Errata corrige: I _need_ to include them into funny_SOURCES because
| the m4 rule produces even object files
I'm assuming that by `object' you mean `.cc' files, not `.o' files.
| (I can not mention the headers into BUILT_SOURCES, but c files
| needs to).
I do not understand this. Usually it's the converse. Anyway, that's
not really important. You can list what you want in `BUILT_SOURCES'.
The important point is that any file listed in `funny_SOURCES'
gets distributed. Since you do not want to distribute built
sources, you should use the `nodist_funny_SOURCE' variable to
list any source file that must be compiled as part of `funny'
but souldn't be distributed.
BUILT_SOURCES = generated.hh # Usually generated .c files do not need
# to be put in BUILT_SOURCES
funny_SOURCES = funny.cc
nodist_funny_SOURCES = generated.cc
`nodist_' is a new feature in Automake 1.5. Now you have one
reason to upgrade :)
--
Alexandre Duret-Lutz