]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(DEFS): Use += notation rather than `DEFS = ... @DEFS@'.
authorJim Meyering <jim@meyering.net>
Sat, 5 Apr 2003 16:52:48 +0000 (16:52 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 5 Apr 2003 16:52:48 +0000 (16:52 +0000)
Use $(VAR) rather than @VAR@, now that we can rely on automake to
emit a definition for each substituted variable.

lib/Makefile.am

index b27dd26c25148e7daeba9449d3020703b2cfbff0..205914a1dbc852b8d021d52bde895efe4cc8a960 100644 (file)
@@ -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