1 1.20 lukem # $NetBSD: Makefile,v 1.20 2023/06/03 08:52:54 lukem Exp $ 2 1.1 cgd 3 1.11 peter .include <bsd.own.mk> 4 1.11 peter 5 1.1 cgd PROG= identd 6 1.11 peter SRCS= identd.c 7 1.10 christos MAN= identd.8 8 1.1 cgd 9 1.11 peter # Build with IP Filter support? 10 1.11 peter .if (${MKIPFILTER} != "no") 11 1.11 peter SRCS+= ipf.c 12 1.13 plunky CPPFLAGS+=-DWITH_IPF 13 1.11 peter .endif 14 1.11 peter 15 1.11 peter # Build with pf support? 16 1.11 peter .if (${MKPF} != "no") 17 1.11 peter SRCS+= pf.c 18 1.11 peter CPPFLAGS+=-DWITH_PF 19 1.11 peter .endif 20 1.11 peter 21 1.14 christos # Build with npf support? 22 1.14 christos .if (${MKNPF} != "no") 23 1.14 christos SRCS+= npf.c 24 1.14 christos CPPFLAGS+=-DWITH_NPF 25 1.17 rmind LDADD+=-lnpf 26 1.17 rmind DPADD+=${LIBNPF} 27 1.14 christos .endif 28 1.14 christos 29 1.16 mrg # XXX 30 1.16 mrg COPTS+= -fno-strict-aliasing 31 1.20 lukem CWARNFLAGS.gcc+= ${CC_WNO_ADDRESS_OF_PACKED_MEMBER} 32 1.16 mrg 33 1.1 cgd .include <bsd.prog.mk> 34