Tom Tromey wrote:
> What version of automake are you using? With older versions,
> BUILT_SOURCES didn't work very well. In fact, it failed in the way
> you describe: a built source would be rebuilt even when doing `make
> clean'. That's fixed in 1.5 (and 1.6).
>
> If you are using 1.[56] and
> "Bruce" == Bruce Korb <[EMAIL PROTECTED]> writes:
>> The easiest way is to list your headers in BUILT_SOURCES.
>> Then write the rules to build the headers.
Bruce> I've found that more problematic. I wind up with make files
Bruce> that always rebuild certain targets.
What version of auto
Tom Tromey wrote:
> The easiest way is to list your headers in BUILT_SOURCES.
> Then write the rules to build the headers.
I've found that more problematic. I wind up with make files
that always rebuild certain targets.
Enrico Ng wrote:
>
> I am trying to make an automake file to create libtool libraries.
> The problem is that the libraries I would like to create depend on
> header files that have to generated.
> How do I do this in automake?
With normal "make" dependency rules. Below is my Makefile.am for
"xm
> "Enrico" == Enrico Ng <[EMAIL PROTECTED]> writes:
Enrico> I am trying to make an automake file to create libtool
Enrico> libraries. The problem is that the libraries I would like to
Enrico> create depend on header files that have to generated. How do
Enrico> I do this in automake?
The ea
I am trying to make an automake file to create libtool libraries.
The problem is that the libraries I would like to create depend on
header files that have to generated.
How do I do this in automake?
> "Ben" == Ben Woodard <[EMAIL PROTECTED]> writes:
Ben> lpc_LDADD=liblpr.la $(GLIB_LIBS)
Ben> It would be nice if I could have the LDADD apply to every program.
LDADD = liblpr.la $(GLIB_LIBS)
Then remove lpc_LDADD, etc.
Ben> 2) I guess I don't understand the way that automake picks up
Ben
I have two questions for you guys that I have been unable to figure
out.
1) Is there a way to have a LDADD apply to every program within a
project. For example right now I have:
lpd_SOURCES=lpd.c lpdchar.c printjob.c recvjob.c
lpd_LDADD=liblpr.la $(GLIB_LIBS)
lpc_SOURCES=lpc.c cmds.c cmdtab.c
lp