⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 ftam等标准协议服务器和客户端的源代码。
💻
字号:
################################################################################   Instructions to Make, for compilation of ISODE NTP over ROS################################################################################################################################################################ $Header: /xtel/isode/isode/others/ntp/RCS/Makefile,v 9.0 1992/06/16 12:42:48 isode Rel $### $Log: Makefile,v $# Revision 9.0  1992/06/16  12:42:48  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.################################################################################################################################################################ Generation Rules for program modules###############################################################################PEPYPATH=	-DPEPYPATH.c.o:;		$(CC) $(CFLAGS) -c $*.c################################################################################ Programs and Libraries###############################################################################LIBES	=	$(LIBISODE)LLIBS   =	$(TOPDIR)llib-lisode################################################################################ Files###############################################################################HFILES	=	ntp-config.h ntp.h patchlevel.hCFILES	=	ntp.c ntp.c ntp_adjust.c ntp_osi.c ntp_proto.c ntp_sock.c \		ntpd.c ntpdc.c ntpsubs.c ntq.c read_local.c read_psti.c test.cRYFILES	=	ntp.ry################################################################### Here it is...##################################################################all:		ntpd ntp ntpdc ntq ntestinst-all:	inst-ntpd inst-ntp inst-ntpdc inst-ntq manualsinstall:	inst-all cleanlint: 		l-ntpd l-ntp l-ntpdc l-ntq################################################################## ntpd#################################################################NTPDOBJ= ntpd.o ntpsubs.o ntp_proto.o ntp_sock.o ntp_adjust.o read_local.o \	read_psti.o ntp_osi.o NTP-ops.o NTP-stubs.o NTP-types.o NTP-print.oNTPDSRC= ntpd.c ntpsubs.c ntp_proto.c ntp_sock.c ntp_adjust.c read_local.c \	read_psti.c ntp_osi.c NTP-ops.c NTP-stubs.c NTP-types.c NTP-print.cinst-ntpd:	$(SBINDIR)ntpd$(SBINDIR)ntpd:	xntpd		-cp $@ zntpd		-rm -f $@		cp xntpd $@		-@ls -gls $@		-@echo ""ntpd:	xntpdxntpd:	${NTPDOBJ}	$(CC) $(LDFLAGS) -o $@ ${NTPDOBJ} $(LIBES) $(LSOCKET)l-ntpd: 	$(NTPDSRC)		$(LINT) $(LFLAGS) ${NTPDSRC} ${LLIBS} \			| grep -v "warning: possible pointer alignment problem"################################################################## ntp#################################################################NTPOBJ	= ntp.o ntpsubs.oNTPSRC	= ntp.c ntpsubs.cinst-ntp:	$(BINDIR)ntp$(BINDIR)ntp:	xntp		-cp $@ zntp		-rm -f $@		cp xntp $@		-@ls -gls $@		-@echo ""ntp:		xntpxntp:		$(NTPOBJ)		$(LDCC) $(LDFLAGS) -o $@ $(NTPOBJ) $(LIBES) $(LSOCKET)l-ntp: 		$(NTPSRC)		$(LINT) $(LFLAGS) $(NTPSRC) $(LLIBS) \			| grep -v "warning: possible pointer alignment problem"################################################################## ntpdc#################################################################NTPDCOBJ	= ntpdc.oNTPDCSRC	= ntpdc.cinst-ntpdc:	$(SBINDIR)ntpdc$(SBINDIR)ntpdc:	xntpdc		-cp $@ zntpdc		-rm -f $@		cp xntpdc $@		-@ls -gls $@		-@echo ""ntpdc:		xntpdcxntpdc: 	$(NTPDCOBJ)		$(LDCC) $(LDFLAGS) -o $@ $(NTPDCOBJ) $(LIBES) $(LSOCKET)l-ntpdc: 	$(NTPDCSRC)		$(LINT) $(LFLAGS) $(NTPDCSRC) $(LLIBS) \			| grep -v "warning: possible pointer alignment problem"################################################################## ntq#################################################################NTQOBJ	= NTP-types.o NTP-stubs.o NTP-ops.o ntq.oNTQSRC	= NTP-types.c NTP-stubs.c NTP-ops.c ntq.cinst-ntq:	$(BINDIR)ntq$(BINDIR)ntq:	xntq		-cp $@ zntq		-rm -f $@		cp xntq $@		-@ls -gls $@		-@echo ""ntq:	xntqxntq: 		$(NTQOBJ)		$(LDCC) $(LDFLAGS) -o $@ $(NTQOBJ) $(LIBES) $(LSOCKET)l-ntq: 		$(NTQSRC)		$(LINT) $(LFLAGS) $(NTQSRC) $(LLIBS) \			| grep -v "warning: possible pointer alignment problem"################################################################## misc#################################################################ntest:		test.o ntpsubs.o		$(LDCC) $(LDFLAGS) -o ntest test.o ntpsubs.o $(LIBES)sock_test:	ntp_sock.c		$(LDCC) $(LDFLAGS) -DTEST -o sock_test ntp_sock.c $(LIBES)################################################################# manual pages################################################################MANUALS	=	ntp.8 ntpd.8 ntpdc.8manuals:;	@$(UTILDIR)inst-man.sh $(MANOPTS) $(MANUALS)		-@echo ""################################################################# clean################################################################clean:;		rm -f *.o *.a NTP* x* ntest sock_test z* _* coregrind:;		iprint READ-ME Makefile		tgrind -lc $(HFILES) $(CFILES)		tgrind -lpepy -d $(TOPDIR)pepy/grindefs $(RYFILES)		@echo $(MANUALS) | \			tr " " "\012" | \			sed -e "s%.*%itroff -man &%" | \			sh -vetrue:;################################################################## dependencies#################################################################ntp.o:		ntp.h ntp-config.h ntp.cntp_adjust.o:	ntp.h ntp-config.h ntp_adjust.cntp_osi.o:	ntp.h ntp-config.h NTP-ops.h NTP-types.h ntp_osi.cntp_proto.o:	ntp.h ntp-config.h ntp_proto.cntp_sock.o:	ntp.h ntp-config.h ntp_sock.cntpd.o:		ntp.h ntp-config.h patchlevel.h ntpd.cntpdc.o:	ntp.h ntp-config.h ntpdc.cntpsubs.o:	ntp.h ntp-config.h ntpsubs.cread_local.o:	ntp-config.h read_local.cread_psti.o:	ntp-config.h read_psti.ctest.o:		ntp.h ntp-config.h test.cNTP-ops.o:	NTP-ops.c NTP-ops.h NTP-types.h	$(CC) $(CFLAGS) -c -DPERFORMER -DINVOKER NTP-ops.cNTP-print.c: NTP-asn.py	$(TOPDIR)pepy/xpepy -m -S PRINT -o $@ -a PY_advise NTP-asn.pyNTP-types.py: NTP-asn.py	$(TOPDIR)pepy/xposy -f -h -o $@ NTP-asn.pyNTP-types.h: NTP-types.pyNTP-asn.py: ntp.ry	$(TOPDIR)rosy/xrosy -m -o $@ ntp.ryNTP-ops.c: ntp.ryNTP-ops.h: ntp.ryNTP-stubs.c: ntp.ryNTP-types.o: NTP-types.c NTP-types.hNTP-types.c: NTP-types.py	$(TOPDIR)pepy/xpepy -m -a PY_advise -A NTP-types.py

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -