Flex and ylwrap -- outmoded?

2008-04-23 Thread Mike Mueller
I'm working on a project with a couple flex-generated lexers and an automake/autoconf build system. I've noticed the following: Automake runs flex via ylwrap. ylwrap, according to the manual: A shell script used by an automake generated `Makefile' to run programs like `bison', `yacc', `

Re: CPPFLAGS for LIBOBJS

2008-04-23 Thread NightStrike
On 4/23/08, Ralf Wildenhues <[EMAIL PROTECTED]> wrote: > * Russ Allbery wrote on Wed, Apr 23, 2008 at 10:51:11PM CEST: > > Ralf Wildenhues <[EMAIL PROTECTED]> writes: > > > > > Yes, they don't get per-target preprocessor or compile flags. That > > > doesn't work, because then they would have to be

Re: Dynamic AC_OUPUT

2008-04-23 Thread Ralf Wildenhues
Hi Gary, * Gary Kramlich wrote on Wed, Apr 23, 2008 at 01:58:02PM CEST: > Ralf Wildenhues wrote: >> * Gary Kramlich wrote on Wed, Apr 23, 2008 at 03:08:38AM CEST: >> >>> This python script also determines what directories should have >>> makefiles created and so on. I've gotten far enough to t

Re: CPPFLAGS for LIBOBJS

2008-04-23 Thread Russ Allbery
Ralf Wildenhues <[EMAIL PROTECTED]> writes: > Yes. This is a useful TODO item. > > I think you should be able to work around it by using > AC_CONFIG_LIBOBJ_DIR and putting all LIBOJBS in a separate directory, > with separate Makefile.am, ensuring that they are built early enough, > and setting AM

Re: CPPFLAGS for LIBOBJS

2008-04-23 Thread Ralf Wildenhues
* Russ Allbery wrote on Wed, Apr 23, 2008 at 10:51:11PM CEST: > Ralf Wildenhues <[EMAIL PROTECTED]> writes: > > > Yes, they don't get per-target preprocessor or compile flags. That > > doesn't work, because then they would have to be renamed: $(LIBOBJS) > > may be added to several outputs, each

Re: CPPFLAGS for LIBOBJS

2008-04-23 Thread Russ Allbery
Ralf Wildenhues <[EMAIL PROTECTED]> writes: > Yes, they don't get per-target preprocessor or compile flags. That > doesn't work, because then they would have to be renamed: $(LIBOBJS) > may be added to several outputs, each with different per-target flags. This is why I want LIBOBJS_CPPFLAGS, w

Re: CPPFLAGS for LIBOBJS

2008-04-23 Thread Russ Allbery
Ralf Wildenhues <[EMAIL PROTECTED]> writes: > Hi Russ, > * Russ Allbery wrote on Wed, Apr 23, 2008 at 02:16:34AM CEST: >>> If I add: >>> >>> portable_libportable_a_CPPFLAGS = $(KRB5_LDFLAGS) $(KAFS_LDFLAGS) >> Er, obviously that should be KRB5_CPPFLAGS and KAFS_CPPFLAGS. Sorry >> about the confu

Re: CPPFLAGS for LIBOBJS

2008-04-23 Thread Ralf Wildenhues
* Ralf Wildenhues wrote on Wed, Apr 23, 2008 at 09:57:46PM CEST: > * Russ Allbery wrote on Wed, Apr 23, 2008 at 02:16:34AM CEST: > > > If I add: > > > > > > portable_libportable_a_CPPFLAGS = $(KRB5_LDFLAGS) $(KAFS_LDFLAGS) > > > > Er, obviously that should be KRB5_CPPFLAGS and KAFS_CPPFLAGS. Sorr

Re: CPPFLAGS for LIBOBJS

2008-04-23 Thread Ralf Wildenhues
Hi Russ, * Russ Allbery wrote on Wed, Apr 23, 2008 at 02:16:34AM CEST: > > If I add: > > > > portable_libportable_a_CPPFLAGS = $(KRB5_LDFLAGS) $(KAFS_LDFLAGS) > > Er, obviously that should be KRB5_CPPFLAGS and KAFS_CPPFLAGS. Sorry about > the confusion. Should it also be libportable_a_CPPFLAGS

Re: Dynamic AC_OUPUT

2008-04-23 Thread Gary Kramlich
Ralf Wildenhues wrote: Hello Gary, * Gary Kramlich wrote on Wed, Apr 23, 2008 at 03:08:38AM CEST: This python script also determines what directories should have makefiles created and so on. I've gotten far enough to trick configure into outputting all of the make files. (This is done by a