makefile

来自「IPv6环境下的traceroute实现」· 代码 · 共 66 行

TXT
66
字号
# Copyright (c) 1996 WIDE Project. All rights reserved.## Redistribution and use in source and binary forms, with or without# modifications, are permitted provided that the above copyright notice# and this paragraph are duplicated in all such forms and that any# documentation, advertising materials, and other materials related to# such distribution and use acknowledge that the software was developed# by the WIDE Project, Japan. The name of the Project may not be used to# endorse or promote products derived from this software without# specific prior written permission. THIS SOFTWARE IS PROVIDED ``AS IS''# AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT# LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR# A PARTICULAR PURPOSE..if exists(${.CURDIR}/../Makefile.opsys).include "${.CURDIR}/../Makefile.opsys".endif#BINDIR=	${PREFIX}/sbinPROG=	traceroute6BINOWN=	rootBINGRP=	binBINMODE=4555.if (${OPSYS} != "NetBSD")CFLAGS+=-Wall.endif.if (${OPSYS} != "NetBSD")CFLAGS+=-DINET6 -DUSE_RFC2292BIS.if (${OPSYS} != "OpenBSD")CFLAGS+=-DIPSEC.endif.elseCPPFLAGS+=-DINET6 -DIPSEC.endif.if exists(/usr/local/v6/lib/libipsec.a)LDADD+=	-L${.OBJDIR}/../libipsec -L${.OBJDIR}/../libipsec/obj \	-L${.OBJDIR}/../libinet6 -L${.OBJDIR}/../libinet6/obj \	-L/usr/local/v6/lib -lipsecDPADD+=	${.OBJDIR}/../libinet6/libipsec.a \	${.OBJDIR}/../libinet6/obj/libipsec.a \	/usr/local/v6/lib/libipsec.a.else.if (${OPSYS} != "OpenBSD")LDADD+=	-lipsecDPADD+=	${LIBIPSEC}.endif.endif.if exists(/usr/local/v6/lib/libinet6.a)LDADD+=	-L${.OBJDIR}/../libipsec -L${.OBJDIR}/../libipsec/obj \	-L${.OBJDIR}/../libinet6 -L${.OBJDIR}/../libinet6/obj \	-L/usr/local/v6/lib -linet6DPADD+=	${.OBJDIR}/../libinet6/libinet6.a \	${.OBJDIR}/../libinet6/obj/libinet6.a \	/usr/local/v6/lib/libinet6.a.endif.if (${OPSYS} != "NetBSD")MAN8=	traceroute6.8.elseMAN=	traceroute6.8.endif.include <bsd.prog.mk>

⌨️ 快捷键说明

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