|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T c
Length: 2321 (0x911) Types: TextFile Names: »config«
└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit └─⟦3658e588a⟧ »EurOpenD3/mail/mh/mh-6.7.tar.Z« └─⟦c75e36ecb⟧ └─⟦this⟧ »mh-6.7/conf/makefiles/config«
############################################################################## # Instructions to Make, for compilation of MH modules # # @(MHWARNING) # @(#)$Id: config,v 2.7 90/04/08 22:00:29 sources Exp $ ############################################################################## OPTIONS = @(MHOPTIONS) LDOPTIONS= @(LDOPTIONS) CC = @(MHCOMPILER) @BEGIN: OPTIM CFLAGS = $(OPTIONS) @END: OPTIM @BEGIN: DEBUG CFLAGS = $(OPTIONS) @END: DEBUG LDFLAGS = $(LDOPTIONS) LIBES = LINT = lint LFLAGS = -bhu $(OPTIONS) LLIBS = ############################################################################## # Generate object file for MH configuration ############################################################################## CFILES = config.c version.c OFILES = config.o version.o all: $(OFILES) lint:; $(LINT) $(LFLAGS) $(CFILES) $(LLIBS) version version.c: true @/bin/sh version.sh @(MHRELEASE) true:; ############################################################################## # Miscellaneous tasks ############################################################################## unconfig: distribution -rm -f Makefile distribution: clean -rm -f config.c version.c version clean: unclean -rm -f *.o unclean:; -rm -f _* :* core eddep makedep ############################################################################## # Dependencies ############################################################################## MODULES = $(CFILES) depend:; for m in $(MODULES); do ( \ i=`basename $$m .c`; \ echo $$i.o: $$i.c >> makedep; \ grep '^#[ ]*include' $$i.c | \ sed -e 's,[^"]*"/\([^"]*\)".*,'$$i'.o: /\1,' \ -e 's,[^"]*"\([^"]*\)".*,'$$i'.o: \1,' \ -e 's,[^<]*<\(.*\)>.*,#'$$i'.o: /usr/include/\1,' \ >> makedep \ ); done echo '/^# DO NOT DELETE THIS LINE/+2,$$d' > eddep echo '$$r makedep' >> eddep echo 'w' >> eddep cp Makefile _Makefile ed - Makefile < eddep rm eddep makedep echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile # DO NOT DELETE THIS LINE # DEPENDENCIES START HERE config.o: config.c config.o: ../h/mh.h #config.o: /usr/include/pwd.h #config.o: /usr/include/stdio.h # DEPENDENCIES MUST END AT END OF FILE # IF YOU PUT STUFF HERE IT WILL GO AWAY