8052731b0cbc53087323313c2a5b22e1d23bb919
[dragonfly.git] / sys / net / pf / Makefile
1 # $DragonFly: src/sys/net/pf/Makefile,v 1.3 2005/02/18 11:41:42 corecode Exp $
2
3 KMOD=   pf
4 SRCS=   if_pflog.c pf.c pf_if.c pf_ioctl.c pf_norm.c pf_osfp.c pf_subr.c
5 SRCS+=  pf_table.c
6 SRCS+=  use_pflog.h use_pfsync.h opt_inet.h opt_inet6.h
7 SRCS+=  opt_icmp_bandlim.h
8 NOMAN=
9
10 use_pflog.h:
11         echo "#define NPFLOG 1" > ${.TARGET}
12
13 .if !defined(BUILDING_WITH_KERNEL)
14 use_pfsync.h:
15         echo "#define NPFSYNC 0" > ${.TARGET}
16
17 opt_inet.h:
18         echo "#define INET 1" > ${.TARGET}
19
20 opt_inet6.h:
21         echo "#define INET6 1" > ${.TARGET}
22 .endif  # !BUILDING_WITH_KERNEL
23
24 .include <bsd.kmod.mk>