📄 makefile
字号:
############################################################################### Instructions to Make, for compilation of ZOT UIP/utility processes## This file is automatically generated. Do not edit!# @(#)$Id: tws,v 1.16 1993/02/26 21:50:51 jromine Exp jromine $############################################################################### The following entries were inserted during MH configurationBINDIR = $(DESTDIR)/usr/contrib/mh-6.8/binETCDIR = $(DESTDIR)/usr/contrib/mh-6.8/libOPTIONS = -DBIND -DBSD42 -DBSD43 -DDBMPWD -DMORE='"/usr/bin/more"' -DSYS5DIR -DNTOHLSWAP -DOVERHEAD -DVSPRINTF -DWHATNOW -DZONEINFO -DMHE -DMHRC -DMIME -DPOSIX -DBSD44 -DWAITINT -DUNISTD -DGCOS_HACK -DNORUSERPASS -DPOP2 -DRPOP -DPOPSERVICE='"pop3"' -DSENDMTS -DSMTP -DPOP -DBPOP -DNNTP -DSPRINTFTYPE=int -DTYPESIG=void -O -I..LDOPTIONS= LDOPTLIB= CC = ccLN = lnLEX = lex -ntCFLAGS = $(OPTIONS)LINT = lintLFLAGS = -bhu $(OPTIONS)LLIBS =LDFLAGS = $(LDOPTIONS)LIBES =LDLIBS = $(LIBES) $(LDOPTLIB)OFILES = dtimep.o lexstring.o dtime.oLFILES = l-dtimep l-dtime l-date.c:; echo $@####################################################################### Here it is...######################################################################all: $(OFILES) datelint: $(LFILES)install: inst-all cleaninst-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.odtimep.o: dtimep.cdtimep.c: dtimep.lex $(LEX) dtimep.lex | sed -f lexedit.sed > dtimep.c -@len=`wc -l dtimep.c | awk ' { print $$1 } '`; \ if [ $$len -gt 10 ]; \ then exit 0; \ else echo "lex failed: using pre-lexed dtimep.c"; \ cp dtimep.c-lexed dtimep.c; \ filexstring.o: lexstring.c $(CC) $(CFLAGS) -c -DONECASE lexstring.cl-dtimep:; $(LINT) $(LFLAGS) dtimep.c -DONECASE lexstring.c $(LLIBS)####################################################################### dtime######################################################################dtime: dtime.ol-dtime:; $(LINT) $(LFLAGS) dtime.c $(LLIBS)############################################################################### Miscellaneous tasks##############################################################################tws.h: ../tws.h rm -f $@ $(LN) ../tws.h $@unconfig: distribution -rm -f Makefiledistribution: cleanclean: unclean -rm -f dtimep.c *.o dateunclean:; -rm -f _* :* core eddep makedep############################################################################### Dependencies##############################################################################MODULES = date dtime dtimepdepend:; 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 HEREdate.o: date.cdate.o: ../tws.h#date.o: /usr/include/stdio.hdtime.o: dtime.cdtime.o: ../tws.hdtime.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.hdtimep.o: dtimep.c#dtimep.o: /usr/include/stdio.hdtimep.o: ../tws.hdtimep.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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -