Re: Generating HeaderFiles

2002-07-08 Thread Bruce Korb
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

Re: Generating HeaderFiles

2002-07-08 Thread Tom Tromey
> "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

Re: Generating HeaderFiles

2002-07-08 Thread Bruce Korb
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.

Re: Generating HeaderFiles

2002-07-08 Thread Bruce Korb
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

Re: Generating HeaderFiles

2002-07-08 Thread Tom Tromey
> "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

Generating HeaderFiles

2002-07-08 Thread Enrico Ng
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?

Re: headerfiles

2000-06-28 Thread Tom Tromey
> "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

headerfiles

2000-06-28 Thread Ben Woodard
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