makefile
来自「ftam等标准协议服务器和客户端的源代码。」· 代码 · 共 126 行
TXT
126 行
################################################################################# $Header: /xtel/isode/isode/others/quipu/uips/doog/RCS/Makefile,v 9.0 1992/06/16 12:45:18 isode Rel $## $Log: Makefile,v $# Revision 9.0 1992/06/16 12:45:18 isode# Release 8.0## ############################################################################################################################################################### Generation Rules for program modules###############################################################################.c.o:; $(CC) $(CFLAGS) $(INCQUERY) -c $*.c################################################################################ Programs and Libraries###############################################################################QLIB = query/libQuery.aISOLIBS = $(TOPDIR)libdsap.a $(TOPDIR)libisode.aLIBES = $(QLIB) $(ISOLIBS)LLIBS = $(TOPDIR)llib-ldsap $(TOPDIR)llib-lisode################################################################################ FILES###############################################################################CFILES = config.parse.c main.c interact.c init.cOFILES = config.parse.o main.o interact.o init.oBFILES = config.b################################################################################ FLAGS and OPTIONS###############################################################################INCQUERY = -I./queryYFLAGS = -d################################################################################ Here it is...###############################################################################all: dooginst-all: inst-doog inst-doogrc manualsinstall: inst-all cleanlint: l-doogdepend: $(CFILES) makedepend $(OPTIONS) $(INCQUERY) $(CFILES)################################################################################ doog###############################################################################doog: xdoogxdoog: $(OFILES) $(QLIB) $(LDCC) $(LDFLAGS) -o $@ $(OFILES) \ $(QLIB) \ $(LIBDSAP) \ $(LIBISODE) \ $(LSOCKET)$(QLIB): true cd query; $(MAKE)inst-doog: $(BINDIR)doog$(BINDIR)doog: xdoog -cp $@ zxdoog rm -f $@ cp xdoog $@ -@ls -gls $@ -@echo ""l-doog: l-query $(LINT) $(LFLAGS) $(OPTIONS) $(INCQUERY) $(CFILES) $(LLIBS) \ | grep -v "warning: possible pointer alignment problem"l-query:; cd query ; $(MAKE) lintconfig.parse.c: config.b bison $(YFLAGS) -o $@ $?############################################################################# doogrc############################################################################inst-doogrc: $(ETCDIR)doogrc$(ETCDIR)doogrc:; if [ -s $@ ]; \ then exit 0; \ else cp doogrc $@; ls -gls $@; \ fi############################################################################ manual pages###########################################################################MANUALS = doog.1cmanuals:; @$(UTILDIR)inst-man.sh $(MANOPTS) $(MANUALS) -@echo ""############################################################### clean##############################################################clean:; rm -f *.ph *.o *.a a.out _* x* z* *.orig rm -f core cd query ; $(MAKE) cleantrue:grind:# DO NOT DELETE THIS LINE -- make depend depends on it.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?