From a56db46b5a6982f23dbc3d3fadebb38cfd08ac93 Mon Sep 17 00:00:00 2001 From: ewt Date: Sat, 31 Aug 1996 18:34:16 +0000 Subject: [PATCH] pass the VERSION define to sub-makefiles CVS patchset: 1002 CVS date: 1996/08/31 18:34:16 --- Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index f86c42a..820ba67 100644 --- a/Makefile.in +++ b/Makefile.in @@ -27,7 +27,7 @@ WARNINGS = -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes CFLAGS = @CFLAGS@ $(WARNINGS) $(OPTS) -I$(srcdir) -I$(srcdir)/lib \ -I$(srcdir)/build -I$(srcdir)/misc -I$(srcdir)/.. -I$(srcdir)/../lib \ -I$(srcdir)/../build -I$(srcdir)/../misc -I/usr/include \ - -DLIBRPMRC_FILENAME="\"$(LIBRPMRC_FILENAME)"\" + -DLIBRPMRC_FILENAME="\"$(LIBRPMRC_FILENAME)"\" -DVERSION=\"$(VERSION)\" LDFLAGS = @LDFLAGS@ -Llib -Lbuild -Lmisc -L../lib -L../build -L../misc AR = ar r RANLIB = ranlib @@ -67,7 +67,7 @@ rpm2cpio: lib/librpm.a rpm2cpio.o $(CC) -o rpm2cpio $(LDFLAGS) rpm2cpio.o $(LOADLIBES) rpm.o: rpm.c query.h install.h lib/rpmlib.h Makefile - $(CC) $(CFLAGS) -DNLSPACKAGE=\"$(NLSPACKAGE)\" -DNLSDIR=\"$(NLSDIR)\" -DVERSION=\"$(VERSION)\" -c rpm.c + $(CC) $(CFLAGS) -DNLSPACKAGE=\"$(NLSPACKAGE)\" -DNLSDIR=\"$(NLSDIR)\" -c rpm.c # these rules should be in here, but they drive me batty #Makefile: Makefile.in misc/Makefile.in lib/Makefile.in build/Makefile.in \ -- 2.7.4