OSSP CVS Repository

ossp - Check-in [225]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 225
Date: 2000-Dec-13 17:43:10 (local)
2000-Dec-13 16:43:10 (UTC)
User:simons
Branch:
Comment: Modified the main Makefile so that it will pass the values determined by Autoconf down to the libraries.
Tickets:
Inspections:
Files:
ossp-pkg/petidomo/Makefile.in      1.8 -> 1.9     6 inserted, 1 deleted

ossp-pkg/petidomo/Makefile.in 1.8 -> 1.9

--- Makefile.in  2000/12/14 16:08:47     1.8
+++ Makefile.in  2000/12/14 16:43:10     1.9
@@ -11,6 +11,7 @@
 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 @@
                   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.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

CVSTrac 2.0.1