📄 makefile
字号:
## $Revision: 1.17 $SHELL = /bin/shMAKE = make## =()<P = @<P>@>()=P = ## =()<CC = @<CC>@>()=CC = cc## =()<DEFS = @<DEFS>@>()=DEFS = -I../include## =()<CFLAGS = @<CFLAGS>@>()=CFLAGS = $(DEFS) -g## =()<LDFLAGS = @<LDFLAGS>@>()=LDFLAGS = -g## =()<LINTFLAGS = @<LINTFLAGS>@>()=LINTFLAGS = -b -h -z $(DEFS)## =()<LINTFILTER = @<LINTFILTER>@>()=LINTFILTER = | sed -n -f ../sedf.sun## =()<CTAGS = @<CTAGS>@>()=CTAGS = ctags -t -w## =()<NEWSBIN = @<_PATH_NEWSBIN>@>()=NEWSBIN = /usr/contrib/newsOWNER = -O bin -G bin## =()<NNTPLIB = @<NNTPLIB>@>()=NNTPLIB = ## =()<LIBS = @<LIBS>@>()=LIBS = LIBNEWS = ../libinn.aLINTLIB = ../llib-linn.lnSOURCES = archive.c batcher.c buffchan.c cvtbatch.c filechan.c \ innxmit.c nntpget.c overchan.c shlock.c shrinkfile.cALL = archive batcher buffchan cvtbatch filechan \ innxmit nntpget overchan shlock shrinkfileall: $(ALL)install: $(NEWSBIN)/archive $(NEWSBIN)/batcher $(NEWSBIN)/buffchan \ $(NEWSBIN)/cvtbatch $(NEWSBIN)/filechan $(NEWSBIN)/nntpget \ $(NEWSBIN)/innxmit $(NEWSBIN)/overchan $(NEWSBIN)/shlock \ $(NEWSBIN)/shrinkfileclobber clean: rm -f *.o $(ALL) rm -f all install lint profiledtags ctags: $(SOURCES) $(CTAGS) $(SOURCES) ../lib/*.c ../include/*.hprofiled: cp /dev/null profiledarchive: $(P) archive.o $(LIBNEWS) $(CC) $(LDFLAGS) -o $@ archive.o $(LIBNEWS) $(LIBS)batcher: $(P) batcher.o $(LIBNEWS) $(CC) $(LDFLAGS) -o $@ batcher.o $(LIBNEWS) $(LIBS)buffchan: $(P) buffchan.o map.o $(LIBNEWS) $(CC) $(LDFLAGS) -o $@ buffchan.o map.o $(LIBNEWS) $(LIBS)cvtbatch: $(P) cvtbatch.o $(LIBNEWS) $(CC) $(LDFLAGS) -o $@ cvtbatch.o $(LIBNEWS) $(LIBS)filechan: $(P) filechan.o map.o $(LIBNEWS) $(CC) $(LDFLAGS) -o $@ filechan.o map.o $(LIBNEWS) $(LIBS)nntpget: $(P) nntpget.o $(LIBNEWS) $(CC) $(LDFLAGS) -o $@ nntpget.o $(LIBNEWS) $(LIBS)innxmit: $(P) innxmit.o $(LIBNEWS) $(CC) $(LDFLAGS) -o $@ innxmit.o $(LIBNEWS) $(LIBS)overchan: $(P) overchan.o $(LIBNEWS) $(CC) $(LDFLAGS) -o $@ overchan.o $(LIBNEWS) $(LIBS)shlock: $(P) shlock.o $(LIBNEWS) $(CC) $(LDFLAGS) -o $@ shlock.o $(LIBNEWS) $(LIBS)shrinkfile: $(P) shrinkfile.o $(LIBNEWS) $(CC) $(LDFLAGS) -o $@ shrinkfile.o $(LIBNEWS) $(LIBS)lint: $(ALL) @rm -f lint lint $(LINTFLAGS) archive.c $(LINTLIB) $(LINTFILTER) >lint lint $(LINTFLAGS) batcher.c $(LINTLIB) $(LINTFILTER) >>lint lint $(LINTFLAGS) buffchan.c map.c $(LINTLIB) $(LINTFILTER) >>lint lint $(LINTFLAGS) cvtbatch.c $(LINTLIB) $(LINTFILTER) >>lint lint $(LINTFLAGS) filechan.c map.c $(LINTLIB) $(LINTFILTER) >>lint lint $(LINTFLAGS) nntpget.c $(LINTLIB) $(LINTFILTER) >>lint lint $(LINTFLAGS) innxmit.c $(LINTLIB) $(LINTFILTER) >>lint lint $(LINTFLAGS) overchan.c $(LINTLIB) $(LINTFILTER) >>lint lint $(LINTFLAGS) shlock.c $(LINTLIB) $(LINTFILTER) >>lint lint $(LINTFLAGS) shrinkfile.c $(LINTLIB) $(LINTFILTER) >>lint$(LIBNEWS) $(LINTLIB): (cd ../lib ; $(MAKE) install)## Low-level install actions.$(NEWSBIN)/archive: archive $(SHELL) ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@$(NEWSBIN)/batcher: batcher $(SHELL) ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@$(NEWSBIN)/buffchan: buffchan $(SHELL) ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@$(NEWSBIN)/cvtbatch: cvtbatch $(SHELL) ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@$(NEWSBIN)/filechan: filechan $(SHELL) ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@$(NEWSBIN)/nntpget: nntpget $(SHELL) ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@$(NEWSBIN)/innxmit: innxmit $(SHELL) ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@$(NEWSBIN)/overchan: overchan $(SHELL) ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@$(NEWSBIN)/shlock: shlock $(SHELL) ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@$(NEWSBIN)/shrinkfile: shrinkfile $(SHELL) ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@## Dependencies. Default list, below, is probably good enough.depend: Makefile $(SOURCES) makedepend $(DEFS) $(SOURCES)# DO NOT DELETE THIS LINE -- make depend depends on it.archive.o: ../include/clibrary.harchive.o: ../include/configdata.harchive.o: ../include/libinn.harchive.o: ../include/macros.harchive.o: ../include/paths.harchive.o: ../include/qio.hbatcher.o: ../include/clibrary.hbatcher.o: ../include/configdata.hbatcher.o: ../include/libinn.hbatcher.o: ../include/logging.hbatcher.o: ../include/macros.hbatcher.o: ../include/paths.hbuffchan.o: ../include/clibrary.hbuffchan.o: ../include/configdata.hbuffchan.o: ../include/libinn.hbuffchan.o: ../include/macros.hbuffchan.o: ../include/paths.hbuffchan.o: ../include/qio.hcvtbatch.o: ../include/clibrary.hcvtbatch.o: ../include/configdata.hcvtbatch.o: ../include/libinn.hcvtbatch.o: ../include/macros.hcvtbatch.o: ../include/paths.hcvtbatch.o: ../include/qio.hfilechan.o: ../include/clibrary.hfilechan.o: ../include/configdata.hfilechan.o: ../include/libinn.hfilechan.o: ../include/macros.hfilechan.o: ../include/paths.hinnxmit.o: ../include/clibrary.hinnxmit.o: ../include/configdata.hinnxmit.o: ../include/dbz.hinnxmit.o: ../include/libinn.hinnxmit.o: ../include/logging.hinnxmit.o: ../include/macros.hinnxmit.o: ../include/nntp.hinnxmit.o: ../include/paths.hinnxmit.o: ../include/qio.hnntpget.o: ../include/clibrary.hnntpget.o: ../include/configdata.hnntpget.o: ../include/dbz.hnntpget.o: ../include/libinn.hnntpget.o: ../include/macros.hnntpget.o: ../include/nntp.hnntpget.o: ../include/paths.hoverchan.o: ../include/configdata.hoverchan.o: ../include/libinn.hoverchan.o: ../include/clibrary.hoverchan.o: ../include/macros.hoverchan.o: ../include/paths.hoverchan.o: ../include/qio.hshlock.o: ../include/clibrary.hshlock.o: ../include/configdata.hshrinkfile.o: ../include/clibrary.hshrinkfile.o: ../include/configdata.hshrinkfile.o: ../include/libinn.hshrinkfile.o: ../include/macros.h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -