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