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: releng/9.0/sys/modules/pf/Makefile 223637 2011-06-28 11:57:25Z bz $
    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_lb.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_global.h
   13 
   14 CFLAGS+= -I${.CURDIR}/../../contrib/pf
   15 
   16 .if !defined(KERNBUILDDIR)
   17 .if ${MK_INET_SUPPORT} != "no"
   18 opt_inet.h:
   19         echo "#define INET 1" > ${.TARGET}
   20 .endif
   21 
   22 .if ${MK_INET6_SUPPORT} != "no"
   23 opt_inet6.h:
   24         echo "#define INET6 1" > ${.TARGET}
   25 .endif
   26 
   27 opt_bpf.h:
   28         echo "#define DEV_BPF 1" > ${.TARGET}
   29 
   30 # pflog can be loaded as a module, have the additional checks turned on
   31 # pfsync can be loaded as a module, have the additional checks turned on
   32 opt_pf.h:
   33         echo "#define DEV_PF 1" > ${.TARGET}
   34         echo "#define DEV_PFLOG 1" >> ${.TARGET}
   35         echo "#define DEV_PFSYNC 1" >> ${.TARGET}
   36         echo "#define DEV_PFLOW 1" >> ${.TARGET}
   37 
   38 .if defined(VIMAGE)
   39 opt_global.h:
   40         echo "#define VIMAGE 1" >> ${.TARGET}
   41 .endif
   42 .endif
   43 
   44 .include <bsd.kmod.mk>

Cache object: c4adde1742ac244f127c34533ccbb67d


[ 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.