[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compilation flags per object file
From: |
Ralf Wildenhues |
Subject: |
Re: compilation flags per object file |
Date: |
Fri, 25 Aug 2006 15:19:46 +0200 |
User-agent: |
Mutt/1.5.12 (2006-08-10) |
Hello Bruno,
* Bruno Haible wrote on Fri, Aug 25, 2006 at 03:07:26PM CEST:
>
> I would love to replace
>
> DEFS += -DLIBDIR=\"$(libdir)\"
>
> with
>
> localcharset_CPPFLAGS = $(AM_CPPFLAGS) -DLIBDIR=\"$(libdir)\"
>
> but does automake support per-object-file settings?
No. You can workaround by making your object be the only one in a
noinst_[LT]LIBRARY and setting per-target flags for that.
> If not, then this is a feature request :-)
If you ask me: don't hold your breath. You should note that object file
names are an internal Automake detail, so the naming of the respective
*_CPPFLAGS variable is not clear, for starters. Above would conflict
with a program named localcharset.
Cheers,
Ralf
- Re: proposed gnulib module 'configmake', plus use by 'localcharset', (continued)
- Re: proposed gnulib module 'configmake', plus use by 'localcharset', Ralf Wildenhues, 2006/08/25
- Re: proposed gnulib module 'configmake', plus use by 'localcharset', Paul Eggert, 2006/08/25
- Re: [bug-gnulib] Re: proposed gnulib module 'configmake', plus use by 'localcharset', Bruno Haible, 2006/08/29
- Re: [bug-gnulib] Re: proposed gnulib module 'configmake', plus use by 'localcharset', Paul Eggert, 2006/08/29
- Re: [bug-gnulib] Re: proposed gnulib module 'configmake', plus use by 'localcharset', Bruno Haible, 2006/08/29
- Re: proposed gnulib module 'configmake', plus use by 'localcharset', Jim Meyering, 2006/08/29
- Re: proposed gnulib module 'configmake', plus use by 'localcharset', Ralf Wildenhues, 2006/08/29
- Re: proposed gnulib module 'configmake', plus use by 'localcharset', Jim Meyering, 2006/08/29
- Re: proposed gnulib module 'configmake', plus use by 'localcharset', Ralf Wildenhues, 2006/08/29
Re: compilation flags per object file, Bruno Haible, 2006/08/25
- Re: compilation flags per object file,
Ralf Wildenhues <=
Re: compilation flags per object file, Paul Eggert, 2006/08/25