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/netgraph/iface/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 # $Whistle: Makefile,v 1.2 1999/01/19 19:39:21 archie Exp $
    2 # $FreeBSD$
    3 
    4 KMOD=           ng_iface
    5 SRCS=           ng_iface.c bpfilter.h opt_inet.h opt_atalk.h opt_ipx.h
    6 MAN4=           ng_iface.4
    7 KMODDEPS=       netgraph
    8 
    9 IFACE_FILTER?=          0       # 0/1 - requires bpf configured in kernel
   10 IFACE_INET?=            1       # 0/1 - requires INET configured in kernel
   11 IFACE_NETATALK?=        0       # 0/1 - requires NETATALK configured in kernel
   12 IFACE_IPX?=             0       # 0/1 - requires IPX configured in kernel
   13 
   14 CFLAGS+=        ${PROTOS}
   15 
   16 CLEANFILES+=    bpfilter.h opt_inet.h opt_atalk.h opt_ipx.h
   17 
   18 bpfilter.h:
   19         echo "#define NBPFILTER ${IFACE_FILTER}" > bpfilter.h
   20 
   21 opt_inet.h:
   22         touch opt_inet.h
   23 .if ${IFACE_INET} > 0
   24         echo "#define INET 1" > opt_inet.h
   25 .endif
   26 
   27 opt_atalk.h:
   28         touch opt_atalk.h
   29 .if ${IFACE_NETATALK} > 0
   30         echo "#define NETATALK ${IFACE_NETATALK}" > opt_atalk.h
   31 .endif
   32 
   33 opt_ipx.h:
   34         touch opt_ipx.h
   35 .if ${IFACE_IPX} > 0
   36         echo "#define IPX ${IFACE_IPX}" > opt_ipx.h
   37 .endif
   38 
   39 .include <bsd.kmod.mk>

Cache object: 0a7b499ad0d0b6e9770d7ce8b7eaab61


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