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/10.1/sys/modules/pf/Makefile 240494 2012-09-14 11:51:49Z glebius $
    2 
    3 .include <bsd.own.mk>
    4 
    5 .PATH: ${.CURDIR}/../../netpfil/pf
    6 
    7 KMOD=   pf
    8 SRCS=   pf.c pf_if.c pf_lb.c pf_osfp.c pf_ioctl.c pf_norm.c pf_table.c \
    9         pf_ruleset.c in4_cksum.c \
   10         bus_if.h device_if.h \
   11         opt_pf.h opt_inet.h opt_inet6.h opt_bpf.h opt_global.h
   12 
   13 .if !defined(KERNBUILDDIR)
   14 .if ${MK_INET_SUPPORT} != "no"
   15 opt_inet.h:
   16         echo "#define INET 1" > ${.TARGET}
   17 .endif
   18 
   19 .if ${MK_INET6_SUPPORT} != "no"
   20 opt_inet6.h:
   21         echo "#define INET6 1" > ${.TARGET}
   22 .endif
   23 
   24 opt_bpf.h:
   25         echo "#define DEV_BPF 1" > ${.TARGET}
   26 
   27 # pflog can be loaded as a module, have the additional checks turned on
   28 # pfsync can be loaded as a module, have the additional checks turned on
   29 opt_pf.h:
   30         echo "#define DEV_PF 1" > ${.TARGET}
   31         echo "#define DEV_PFLOG 1" >> ${.TARGET}
   32         echo "#define DEV_PFSYNC 1" >> ${.TARGET}
   33 
   34 .if defined(VIMAGE)
   35 opt_global.h:
   36         echo "#define VIMAGE 1" >> ${.TARGET}
   37 .endif
   38 .endif
   39 
   40 .include <bsd.kmod.mk>

Cache object: 37c847d0130c41cb84fd077990a269bc


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