From 7c59e894d38ff1028d4edb0c74d0829d19db8869 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 14 Dec 2000 16:43:10 +0000 Subject: [PATCH] Modified the main Makefile so that it will pass the values determined by Autoconf down to the libraries. --- Makefile.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 107493e..57916d1 100644 --- a/Makefile.in +++ b/Makefile.in @@ -11,6 +11,7 @@ YACC = @YACC@ CFLAGS = @CFLAGS@ CPPFLAGS = @CPPFLAGS@ @DEFS@ LDFLAGS = @LDFLAGS@ + OBJS = acl.o archive.o argvSetDebugLevel.o authen.o config.o exit.o \ filter.o handleacl.o help.o hermes.o index.o io.o listserv.o \ mailer.o members.o parsearray.o password.o rfcparse.o \ @@ -19,6 +20,10 @@ LIBS = librfc822/librfc822.a liblists/liblists.a libargv/libargv.a \ libconfigfile/libconfigfile.a libtext/libtext.a \ libdebug/libdebug.a +FLAGS_TO_PASS = CC="$(CC)" AR="$(AR)" RANLIB="$(RANLIB)" LEX="$(LEX)" \ + YACC="$(YACC)" CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" \ + LDFLAGS="$(LDFLAGS)" + .SUFFIXES: .SUFFIXES: .c .o @@ -46,7 +51,7 @@ acl_scan.c: acl_scan.l acl_scan.h acl.c: acl_scan.c $(LIBS): - (cd `echo $@ | sed -e 's@/.*@@'` && $(MAKE)) + (cd `echo $@ | sed -e 's@/.*@@'` && $(MAKE) $(FLAGS_TO_PASS)) clean distclean realclean:: @for n in lib*; do (cd $$n && $(MAKE) $@); done