|
|
1.1 ! root 1: ############################################################################## ! 2: # Instructions to Make, for compilation of ZOT UIP/utility processes ! 3: # ! 4: # This file is automatically generated. Do not edit! ! 5: ############################################################################## ! 6: ! 7: # The following entries were inserted during MH configuration ! 8: BINDIR = $(DESTDIR)/usr/new/mh ! 9: ETCDIR = $(DESTDIR)/usr/new/lib/mh ! 10: OPTIONS = -DBSD42 -DBSD43 -DBERK -DTTYD -DDUMB -DMHE -DNETWORK -DBIND -DRPATHS -DATZ -DSBACKUP='"\043"' -DSENDMTS -DSMTP -I.. ! 11: LDOPTIONS= ! 12: LDOPTLIB= ! 13: ! 14: CC = cc ! 15: CCOPT = -O ! 16: CFLAGS = $(CCOPT) $(OPTIONS) ! 17: LINT = lint ! 18: LFLAGS = -bhu $(OPTIONS) ! 19: LLIBS = ! 20: LDFLAGS = $(LDOPTIONS) ! 21: LIBES = ! 22: LDLIBS = $(LIBES) $(LDOPTLIB) ! 23: ! 24: ! 25: ###################################################################### ! 26: # Here it is... ! 27: ###################################################################### ! 28: ! 29: all: dtimep dtime date ! 30: ! 31: lint: l-dtimep l-dtime l-date ! 32: ! 33: install: inst-all clean ! 34: ! 35: inst-all:; ! 36: ! 37: tar:; ! 38: ! 39: uninstall:; ! 40: ! 41: ! 42: ###################################################################### ! 43: # date ! 44: ###################################################################### ! 45: ! 46: date: date.o dtime.o $(LIBES) ! 47: $(CC) $(LDFLAGS) -o $@ date.o dtime.o $(LDLIBS) ! 48: ! 49: l-date:; $(LINT) $(LFLAGS) date.c dtime.c $(LLIBS) ! 50: ! 51: ! 52: ###################################################################### ! 53: # dtimep ! 54: ###################################################################### ! 55: ! 56: ! 57: dtimep: dtimep.o lexstring.o ! 58: ! 59: dtimep.o: dtimep.c ! 60: ! 61: dtimep.c: dtimep.lex ! 62: lex -t dtimep.lex | sed -f lexedit.sed > dtimep.c ! 63: ! 64: lexstring.o: lexstring.c ! 65: $(CC) $(CFLAGS) -c -DONECASE lexstring.c ! 66: ! 67: l-dtimep:; $(LINT) $(LFLAGS) dtimep.c -DONECASE lexstring.c $(LLIBS) ! 68: ! 69: ! 70: ###################################################################### ! 71: # dtime ! 72: ###################################################################### ! 73: ! 74: dtime: dtime.o ! 75: ! 76: l-dtime:; $(LINT) $(LFLAGS) dtime.c $(LLIBS) ! 77: ! 78: ! 79: ############################################################################## ! 80: # Miscellaneous tasks ! 81: ############################################################################## ! 82: ! 83: distribution: clean ! 84: ! 85: clean: unclean ! 86: -rm -f *.o date ! 87: ! 88: unclean:; -rm -f _* :* core eddep makedep ! 89: ! 90: ! 91: ############################################################################## ! 92: # Dependencies ! 93: ############################################################################## ! 94: ! 95: MODULES = date dtime dtimep ! 96: ! 97: depend:; for m in $(MODULES); do ( \ ! 98: i=`basename $$m .c`; \ ! 99: echo $$i.o: $$i.c >> makedep; \ ! 100: grep '^#[ ]*include' $$i.c | \ ! 101: sed -e 's,[^"]*"/\([^"]*\)".*,'$$i'.o: /\1,' \ ! 102: -e 's,[^"]*"\([^"]*\)".*,'$$i'.o: \1,' \ ! 103: -e 's,[^<]*<\(.*\)>.*,#'$$i'.o: /usr/include/\1,' \ ! 104: >> makedep \ ! 105: ); done ! 106: echo '/^# DO NOT DELETE THIS LINE/+2,$$d' > eddep ! 107: echo '$$r makedep' >> eddep ! 108: echo 'w' >> eddep ! 109: cp Makefile _Makefile ! 110: ed - Makefile < eddep ! 111: rm eddep makedep ! 112: echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile ! 113: echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile ! 114: ! 115: # DO NOT DELETE THIS LINE ! 116: # DEPENDENCIES START HERE ! 117: date.o: date.c ! 118: date.o: tws.h ! 119: #date.o: /usr/include/stdio.h ! 120: dtime.o: dtime.c ! 121: dtime.o: tws.h ! 122: dtime.o: ../../h/strings.h ! 123: #dtime.o: /usr/include/stdio.h ! 124: #dtime.o: /usr/include/sys/types.h ! 125: #dtime.o: /usr/include/sys/timeb.h ! 126: #dtime.o: /usr/include/time.h ! 127: #dtime.o: /usr/include/sys/time.h ! 128: dtimep.o: dtimep.c ! 129: #dtimep.o: /usr/include/stdio.h ! 130: dtimep.o: tws.h ! 131: #dtimep.o: /usr/include/ctype.h ! 132: # DEPENDENCIES MUST END AT END OF FILE ! 133: # IF YOU PUT STUFF HERE IT WILL GO AWAY
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.