makefile

来自「IPv6环境中的ping实现」· 代码 · 共 60 行

TXT
60
字号
# 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".endifBINDIR=	$(PREFIX)/sbinPROG=	ping6SRCS=	ping6.c md5.c.if (${OPSYS} != "NetBSD")MAN8=	ping6.8.elseMAN=	ping6.8.endifBINOWN=	rootBINGRP=	binBINMODE=4555.if (${OPSYS} != "NetBSD")CFLAGS+= -Wall.endif.if (${OPSYS} != "NetBSD")CFLAGS+= -DINET6 -DIPSEC.elseCPPFLAGS+= -DINET6 -DIPSEC.endif.if exists(/usr/local/v6/lib/libipsec.a)LDADD+=	-L${.OBJDIR}/../libipsec -L${.OBJDIR}/../libipsec/obj \	-L/usr/local/v6/lib -lipsecDPADD+= ${.OBJDIR}/../libipsec/libipsec.a \	${.OBJDIR}/../libipsec/obj/libipsec.a \	/usr/local/v6/lib/libipsec.a.elseLDADD+=	-lipsecDPADD+=	${LIBIPSEC}.endif.if exists(/usr/local/v6/lib/libinet6.a)LDADD+=	-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.endifLDADD+=	-lm.include <bsd.prog.mk>

⌨️ 快捷键说明

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