From c573813515947b3b91736300c6d59f1817f4b646 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 5 Apr 2003 16:52:48 +0000 Subject: [PATCH] (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. --- lib/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.47.3