The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/modules/pf/Makefile

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 # $FreeBSD$
    2 
    3 .include <bsd.own.mk>
    4 
    5 .PATH: ${.CURDIR}/../../contrib/pf/net
    6 .PATH: ${.CURDIR}/../../contrib/pf/netinet
    7 
    8 KMOD=   pf
    9 SRCS =  pf.c pf_if.c pf_subr.c pf_osfp.c pf_ioctl.c pf_norm.c pf_table.c \
   10         pf_ruleset.c \
   11         in4_cksum.c \
   12         opt_pf.h opt_inet.h opt_inet6.h opt_bpf.h opt_mac.h
   13 
   14 CFLAGS+=  -I${.CURDIR}/../../contrib/pf
   15 
   16 .if !defined(KERNBUILDDIR)
   17 opt_inet.h:
   18         echo "#define INET 1" > opt_inet.h
   19 
   20 .if ${MK_INET6_SUPPORT} != "no"
   21 opt_inet6.h:
   22         echo "#define INET6 1" > opt_inet6.h
   23 .endif
   24 
   25 opt_bpf.h:
   26         echo "#define DEV_BPF 1" > opt_bpf.h
   27 
   28 # pflog can be loaded as a module, have the additional checks turned on
   29 opt_pf.h:
   30         echo "#define DEV_PF 1" > opt_pf.h
   31         echo "#define DEF_PFLOG 1" >> opt_pf.h
   32 .endif
   33 
   34 .include <bsd.kmod.mk>

Cache object: b5ce415ad8e5008095486ef65c1318bb


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.