pcs 97/09/11 00:37:14
Modified: src Configure Log: Simplify modules/Makefile. Also fixes problem with the old Makefile on BSD. Revision Changes Path 1.154 +6 -23 apachen/src/Configure Index: Configure =================================================================== RCS file: /export/home/cvs/apachen/src/Configure,v retrieving revision 1.153 retrieving revision 1.154 diff -u -r1.153 -r1.154 --- Configure 1997/09/10 20:05:35 1.153 +++ Configure 1997/09/11 07:37:12 1.154 @@ -1001,35 +1001,18 @@ echo "INCLUDES2=$INCLUDES2">> modules/Makefile echo "MOD_CFLAGS=\$(INCLUDES2) \$(AUX_CFLAGS)">> modules/Makefile -CLEANERS="" -for i in $MODDIRS ; do - CLEANERS="$CLEANERS${i}_clean " -done - cat << EOF >> modules/Makefile MODULES=$MODDIRS -CLEANERS=$CLEANERS - -default: \$(MODULES) - @echo "Done building module subdirectories" -clean: \$(CLEANERS) - @echo "Done cleaning module subdirectories" +default: all -\$(MODULES): ForceMe - (cd \$@; \$(MAKE) CC='\$(CC)' AUX_CFLAGS='\$(MOD_CFLAGS)' RANLIB='\$(RANLIB)') - -ForceMe: +all clean :: + for i in \$(MODULES); do \\ + (cd \$\$i; \\ + \$(MAKE) CC='\$(CC)' AUX_CFLAGS='\$(MOD_CFLAGS)' RANLIB='\$(RANLIB)' \$@);\\ + done EOF - -( -for i in $MODDIRS ; do - echo "${i}_clean:" - echo " (cd ${i}; \$(MAKE) clean)" - echo "" -done -) >> modules/Makefile for moddir in $AUTODIRS ; do echo "Creating Makefile in $moddir"