Ralf Wildenhues wrote: > 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.
I wouldn't mind if the specification were per source file: localcharset_c_CPPFLAGS = $(AM_CPPFLAGS) -DLIBDIR=\"$(libdir)\" for localcharset.c, or similar. Bruno