|
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 t
Length: 3807 (0xedf) Types: TextFile Names: »tws«
└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit └─⟦3658e588a⟧ »EurOpenD3/mail/mh/mh-6.7.tar.Z« └─⟦c75e36ecb⟧ └─⟦this⟧ »mh-6.7/conf/makefiles/zotnet/tws«
############################################################################## # Instructions to Make, for compilation of ZOT UIP/utility processes # # @(MHWARNING) # @(#)$Id: tws,v 1.9 90/04/05 15:16:39 sources Exp $ ############################################################################## # The following entries were inserted during MH configuration BINDIR = $(DESTDIR)@(MHBINPATH) ETCDIR = $(DESTDIR)@(MHETCPATH) OPTIONS = @(MHOPTIONS) -I.. LDOPTIONS= @(LDOPTIONS) LDOPTLIB= @(LDOPTLIB) CC = @(MHCOMPILER) LEX = @(LEX) @BEGIN: OPTIM CFLAGS = $(OPTIONS) @END: OPTIM @BEGIN: DEBUG CFLAGS = $(OPTIONS) @END: DEBUG LINT = lint LFLAGS = -bhu $(OPTIONS) LLIBS = LDFLAGS = $(LDOPTIONS) LIBES = LDLIBS = $(LIBES) $(LDOPTLIB) .c:; echo $@ ###################################################################### # Here it is... ###################################################################### all: dtimep dtime date lint: l-dtimep l-dtime l-date install: inst-all clean inst-all:; tar:; uninstall:; ###################################################################### # date ###################################################################### date: date.o dtime.o $(LIBES) $(CC) $(LDFLAGS) -o $@ date.o dtime.o $(LDLIBS) l-date:; $(LINT) $(LFLAGS) date.c dtime.c $(LLIBS) ###################################################################### # dtimep ###################################################################### dtimep: dtimep.o lexstring.o dtimep.o: dtimep.c dtimep.c: dtimep.lex $(LEX) dtimep.lex | sed -f lexedit.sed > dtimep.c lexstring.o: lexstring.c $(CC) $(CFLAGS) -c -DONECASE lexstring.c l-dtimep:; $(LINT) $(LFLAGS) dtimep.c -DONECASE lexstring.c $(LLIBS) ###################################################################### # dtime ###################################################################### dtime: dtime.o l-dtime:; $(LINT) $(LFLAGS) dtime.c $(LLIBS) ############################################################################## # Miscellaneous tasks ############################################################################## unconfig: distribution -rm -f Makefile distribution: clean clean: unclean -rm -f dtimep.c *.o date unclean:; -rm -f _* :* core eddep makedep ############################################################################## # Dependencies ############################################################################## MODULES = date dtime dtimep 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 date.o: date.c date.o: ../tws.h #date.o: /usr/include/stdio.h dtime.o: dtime.c dtime.o: ../tws.h dtime.o: ../../h/strings.h #dtime.o: /usr/include/stdio.h #dtime.o: /usr/include/sys/types.h #dtime.o: /usr/include/sys/sysmacros.h #dtime.o: /usr/include/sys/timeb.h #dtime.o: /usr/include/time.h dtimep.o: dtimep.c #dtimep.o: /usr/include/stdio.h dtimep.o: ../tws.h dtimep.o: ../../h/strings.h #dtimep.o: /usr/include/ctype.h #dtimep.o: /usr/include/sys/types.h #dtimep.o: /usr/include/sys/sysmacros.h #dtimep.o: /usr/include/sys/timeb.h #dtimep.o: /usr/include/time.h # DEPENDENCIES MUST END AT END OF FILE # IF YOU PUT STUFF HERE IT WILL GO AWAY