2020-09-06 10:20:26 +03:00
|
|
|
# $NetBSD: Makefile,v 1.19 2020/09/06 07:20:26 mrg Exp $
|
1994-02-05 00:41:32 +03:00
|
|
|
|
2005-04-04 02:15:32 +04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
1994-02-05 00:41:32 +03:00
|
|
|
PROG= identd
|
2005-04-04 02:15:32 +04:00
|
|
|
SRCS= identd.c
|
2004-02-01 00:47:17 +03:00
|
|
|
MAN= identd.8
|
1994-02-05 00:41:32 +03:00
|
|
|
|
2005-04-04 02:15:32 +04:00
|
|
|
# Build with IP Filter support?
|
|
|
|
.if (${MKIPFILTER} != "no")
|
|
|
|
SRCS+= ipf.c
|
2012-09-15 21:45:35 +04:00
|
|
|
CPPFLAGS+=-DWITH_IPF
|
2005-04-04 02:15:32 +04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
# Build with pf support?
|
|
|
|
.if (${MKPF} != "no")
|
|
|
|
SRCS+= pf.c
|
|
|
|
CPPFLAGS+=-DWITH_PF
|
|
|
|
.endif
|
|
|
|
|
2016-12-10 08:43:11 +03:00
|
|
|
# Build with npf support?
|
|
|
|
.if (${MKNPF} != "no")
|
|
|
|
SRCS+= npf.c
|
|
|
|
CPPFLAGS+=-DWITH_NPF
|
2018-09-29 17:41:35 +03:00
|
|
|
LDADD+=-lnpf
|
|
|
|
DPADD+=${LIBNPF}
|
2016-12-10 08:43:11 +03:00
|
|
|
.endif
|
|
|
|
|
2018-02-04 12:03:23 +03:00
|
|
|
# XXX
|
|
|
|
COPTS+= -fno-strict-aliasing
|
2020-09-06 10:20:26 +03:00
|
|
|
CWARNFLAGS.gcc+= ${GCC_NO_ADDR_OF_PACKED_MEMBER}
|
2018-02-04 12:03:23 +03:00
|
|
|
|
1994-02-05 00:41:32 +03:00
|
|
|
.include <bsd.prog.mk>
|