From: Jim Meyering Date: Sat, 5 Apr 2003 16:52:48 +0000 (+0000) Subject: (DEFS): Use += notation rather than `DEFS = ... @DEFS@'. X-Git-Tag: v5.0.1~813 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c573813515947b3b91736300c6d59f1817f4b646;p=thirdparty%2Fcoreutils.git (DEFS): Use += notation rather than `DEFS = ... @DEFS@'. Use $(VAR) rather than @VAR@, now that we can rely on automake to emit a definition for each substituted variable. --- diff --git a/lib/Makefile.am b/lib/Makefile.am index b27dd26c25..205914a1db 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -21,7 +21,7 @@ noinst_LIBRARIES = libfetish.a INCLUDES = -I.. -I$(srcdir) -DEFS = -DLIBDIR=\"$(libdir)\" @DEFS@ +DEFS += -DLIBDIR=\"$(libdir)\" ## Put relatively complex files at the beginning of the list so ## that parallel compiles finish a tiny bit sooner. I don't see @@ -129,7 +129,7 @@ libfetish_a_SOURCES = \ xstrtoumax.c \ yesno.c -libfetish_a_LIBADD = @LIBOBJS@ @ALLOCA@ +libfetish_a_LIBADD = $(LIBOBJS) $(ALLOCA) libfetish_a_DEPENDENCIES = $(libfetish_a_LIBADD) @@ -182,7 +182,7 @@ charset.alias: config.charset SUFFIXES = .sed .sin .sin.sed: - sed -e '/^#/d' -e 's/@''PACKAGE''@/@PACKAGE@/g' $< > t-$@ + sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ mv t-$@ $@ CLEANFILES = charset.alias ref-add.sed ref-del.sed