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
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
* 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
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
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
* 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
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
Russ Allbery <[EMAIL PROTECTED]> writes:
> 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.
> it has no effect, which after thinking about it for a moment makes some
> sense.
Today I ran into a need to set CPPFLAGS when building files for LIBOBJS
and discovered that there doesn't appear to be any way to do it without
setting CPPFLAGS globally.
I have:
portable_libportable_a_LIBADD = $(LIBOBJS)
If I add:
portable_libportable_a_CPPFLAGS = $(KRB5_LDFLAGS) $(KAFS_LDFLAG