makefile
来自「ftam等标准协议服务器和客户端的源代码。」· 代码 · 共 281 行
TXT
281 行
################################################################################ Instructions to Make, for compilation of QUIPU protocol stuff################################################################################################################################################################ $Header: /xtel/isode/isode/dsap/x500as/RCS/Makefile,v 9.0 1992/06/16 12:14:33 isode Rel $### $Log: Makefile,v $# Revision 9.0 1992/06/16 12:14:33 isode# Release 8.0## ################################################################################################################################################################ NOTICE## Acquisition, use, and distribution of this module and related# materials are subject to the restrictions of a license agreement.# Consult the Preface in the User's Manual for the full terms of# this agreement.################################################################################PEPYPATH= -DPEPYPATHUPDIR = ../LLIBS = $(TOPDIR)llib-lisode############################################################## Here it is...#############################################################all: libx500as inst-all: libx500asinstall: inst-all cleanlint: l-libx500as############################################################## libx500as#############################################################PESPY-C = IF_tables.c Thorn_tables.c AF_tables.c \ DO_tables.c DAS_tables.c \ Quipu_tables.c SA_tables.c NRS_tables.cPESPY-O = IF_tables.o Thorn_tables.o AF_tables.o \ DO_tables.o DAS_tables.o \ Quipu_tables.o SA_tables.o NRS_tables.oHAND-C = asn_ext.cHAND-O = asn_ext.oCFILES = $(HAND-C) $(PESPY-C)OFILES = $(HAND-O) $(PESPY-O)PEPSY = $(TOPDIR)pepsy/xpepsylibx500as: libx500as.alibx500as.a: x500asvrsn.o -rm -f $@ @$(UTILDIR)make-lib.sh $(SYSTEM) $(ARFLAGS) $@ $(OFILES) \ x500asvrsn.o -@rm -f $(UPDIR)libx500as.a $(UPDIR)llib-lx500as -@ln libx500as.a $(UPDIR)libx500as.a -@$(LN) llib-lx500as $(UPDIR)llib-lx500as -@ls -l $@ -@echo "QUIPU X500 Abstract Syntax library built normally"x500asvrsn.c: PEPSY.O $(HAND-O) @$(UTILDIR)version.sh x500as > $@l-libx500as:; $(LINT) $(LFLAGS) $(CFILES) $(PEPY-C) $(LLIBS) \ | grep -v "warning: possible pointer alignment problem"######################################################## saber#######################################################saber_src:; #load -C $(OPTIONS) $(CFILES) saber_obj:; #load libx500as.a######################################################## asn#######################################################PEPSY.O: PEPSY.C $(PESPY-O) touch PEPSY.OPEPSY.C: DSE.ph $(PESPY-C) touch PEPSY.C# Eek do.py needs DAS.ph, but das.py needs DO.ph# Need to resolve this somehow IF-types.h IF_tables.c: if.py if-cdefs.h $(PEPSY) $(PEPSY) -i "if-cdefs.h" -A -m $(PYFLAGS) if.py -@rm -f $(TOPDIR)h/quipu/IF*.h -@$(LN) IF-types.h $(TOPDIR)h/quipu/IF-types.hAF-types.h AF_tables.c: af.py af-cdefs.h $(PEPSY) $(PEPSY) -i "af-cdefs.h" -A -m $(PYFLAGS) af.py -@rm -f $(TOPDIR)h/quipu/AF*.h -@$(LN) AF-types.h $(TOPDIR)h/quipu/AF-types.hDO-types.h DO_tables.c: do.py do-cdefs.h $(PEPSY) $(PEPSY) -i "do-cdefs.h" -A -m $(PYFLAGS) do.py -@rm -f $(TOPDIR)h/quipu/DO*.h -@$(LN) DO-types.h $(TOPDIR)h/quipu/DO-types.h @echo "*** You can ignore WARNINGs about DAS.ph/2.5.1.2.ph ***"DAS-types.h DAS_tables.c: das.py das-cdefs.h $(PEPSY) $(PEPSY) -i "das-cdefs.h" -A -m $(PYFLAGS) das.py -@rm -f $(TOPDIR)h/quipu/DAS*.h -@$(LN) DAS-types.h $(TOPDIR)h/quipu/DAS-types.hQuipu-types.h Quipu_tables.c: qu.py qu-cdefs.h $(PEPSY) $(PEPSY) -i "qu-cdefs.h" -A -m $(PYFLAGS) qu.py -@rm -f $(TOPDIR)h/quipu/Quipu*.h -@$(LN) Quipu-types.h $(TOPDIR)h/quipu/Quipu-types.hSA-types.h SA_tables.c: sa.py if-cdefs.h $(PEPSY) $(PEPSY) -i "if-cdefs.h" -A -m $(PYFLAGS) sa.py -@rm -f $(TOPDIR)h/quipu/SA*.h -@$(LN) SA-types.h $(TOPDIR)h/quipu/SA-types.hThorn-types.h Thorn_tables.c: th.py if-cdefs.h $(PEPSY) $(PEPSY) -i "if-cdefs.h" -A -m $(PYFLAGS) th.py -@rm -f $(TOPDIR)h/quipu/Thorn*.h -@$(LN) Thorn-types.h $(TOPDIR)h/quipu/Thorn-types.hNRS-types.h NRS_tables.c: nrs.py nrs-cdefs.h $(PEPSY) $(PEPSY) -i "nrs-cdefs.h" -A -m $(PYFLAGS) nrs.py -@rm -f $(TOPDIR)h/quipu/NRS*.h -@$(LN) NRS-types.h $(TOPDIR)h/quipu/NRS-types.hDSE.ph: $(TOPDIR)acsap/DSE.ph -@rm -f DSE.ph -$(LN) $(TOPDIR)acsap/DSE.ph DSE.ph -@rm -f DSE*.h -$(LN) $(TOPDIR)acsap/DSE-types.h DSE-types.h######################################################## install headers#######################################################HEADERS = IF.ph IF-types.h \ AF.ph AF-types.h \ DAS.ph DAS-types.h \ DO.ph DO-types.h \ SA.ph SA-types.h \ NRS.ph NRS-types.h \ Quipu.ph Quipu-types.h \ Thorn.ph Thorn-types.h \ af-cdefs.h do-cdefs.h if-cdefs.h qu-cdefs.h \ das-cdefs.h nrs-cdefs.hinst-headers:; -mkdir $(PEPSYDIRM) @for h in $(HEADERS) ; \ do $(MAKE) TARGET=$$h inst-target; doneinst-target: $(PEPSYDIR)$(TARGET)$(PEPSYDIR)$(TARGET): $(TARGET) -cp $@ z$(TARGET) cp $(TARGET) $@ -@ls -gls $@ -@echo ""######################################################## clean#######################################################clean:; rm -f *.ph *.o *.a a.out _* x* z* *.orig core x500asvrsn.c rm -f AF* IF* DAS* DO* Quipu* Thorn* SA* NRS* DSE* PEPSY* rm -f $(TOPDIR)h/quipu/IF*.h rm -f $(TOPDIR)h/quipu/AF*.h rm -f $(TOPDIR)h/quipu/DO*.h rm -f $(TOPDIR)h/quipu/DAS*.h rm -f $(TOPDIR)h/quipu/SA*.h rm -f $(TOPDIR)h/quipu/Quipu*.h rm -f $(TOPDIR)h/quipu/Thorn*.h rm -f $(TOPDIR)h/quipu/NRS*.hgrind:; iprint Makefile tgrind -lpepy -d $(TOPDIR)pepy/grindefs tgrind -lc $(CFILES) llib-lx500astrue:;# DO NOT DELETE THIS LINE# Dependencies followAF_tables.o: ./AF-types.hAF_tables.o: ./IF-types.hAF_tables.o: ./af-cdefs.hAF_tables.o: ./if-cdefs.hDAS_tables.o: ./AF-types.hDAS_tables.o: ./DAS-types.hDAS_tables.o: ./DO-types.hDAS_tables.o: ./IF-types.hDAS_tables.o: ./af-cdefs.hDAS_tables.o: ./das-cdefs.hDAS_tables.o: ./do-cdefs.hDAS_tables.o: ./if-cdefs.hDO_tables.o: ./AF-types.hDO_tables.o: ./DAS-types.hDO_tables.o: ./DO-types.hDO_tables.o: ./IF-types.hDO_tables.o: ./af-cdefs.hDO_tables.o: ./das-cdefs.hDO_tables.o: ./do-cdefs.hDO_tables.o: ./if-cdefs.hIF_tables.o: ../../h/quipu/malloc.hIF_tables.o: ./IF-types.hIF_tables.o: ./if-cdefs.hNRS_tables.o: ./NRS-types.hNRS_tables.o: ./nrs-cdefs.hQuipu_tables.o: ./AF-types.hQuipu_tables.o: ./IF-types.hQuipu_tables.o: ./Quipu-types.hQuipu_tables.o: ./af-cdefs.hQuipu_tables.o: ./if-cdefs.hQuipu_tables.o: ./qu-cdefs.hSA_tables.o: ./IF-types.hSA_tables.o: ./SA-types.hSA_tables.o: ./if-cdefs.hThorn_tables.o: ./IF-types.hThorn_tables.o: ./Thorn-types.hThorn_tables.o: ./if-cdefs.hasn_ext.o: ../../h/config.hasn_ext.o: ../../h/general.hasn_ext.o: ../../h/isoaddrs.hasn_ext.o: ../../h/logger.hasn_ext.o: ../../h/manifest.hasn_ext.o: ../../h/psap.hasn_ext.o: ../../h/quipu/abandon.hasn_ext.o: ../../h/quipu/add.hasn_ext.o: ../../h/quipu/attr.hasn_ext.o: ../../h/quipu/attrvalue.hasn_ext.o: ../../h/quipu/authen.hasn_ext.o: ../../h/quipu/bind.hasn_ext.o: ../../h/quipu/common.hasn_ext.o: ../../h/quipu/commonarg.hasn_ext.o: ../../h/quipu/compare.hasn_ext.o: ../../h/quipu/config.hasn_ext.o: ../../h/quipu/dap.hasn_ext.o: ../../h/quipu/ds_error.hasn_ext.o: ../../h/quipu/ds_search.hasn_ext.o: ../../h/quipu/dsargument.hasn_ext.o: ../../h/quipu/dsp.hasn_ext.o: ../../h/quipu/entry.hasn_ext.o: ../../h/quipu/list.hasn_ext.o: ../../h/quipu/modify.hasn_ext.o: ../../h/quipu/modifyrdn.hasn_ext.o: ../../h/quipu/name.hasn_ext.o: ../../h/quipu/oid.hasn_ext.o: ../../h/quipu/read.hasn_ext.o: ../../h/quipu/remove.hasn_ext.o: ../../h/quipu/turbo.hasn_ext.o: ../../h/quipu/util.hasn_ext.o: ./AF-types.hasn_ext.o: ./IF-types.hasn_ext.o: ./Quipu-types.hasn_ext.o: ./af-cdefs.hasn_ext.o: ./if-cdefs.hasn_ext.o: ./qu-cdefs.h# DEPENDENCIES MUST END AT END OF FILE# IF YOU PUT STUFF HERE IT WILL GO AWAY# see make depend above
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?