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/if_ppp/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 .PATH:  ${.CURDIR}/../../net
    4 
    5 KMOD=   if_ppp
    6 SRCS=   if_ppp.c ppp_tty.c slcompress.c \
    7         opt_inet.h opt_inet6.h opt_ipx.h opt_mac.h opt_ppp.h
    8 
    9 PPP_BSDCOMP?=   1       # 0/1
   10 PPP_DEFLATE?=   1       # 0/1
   11 PPP_FILTER?=    1       # 0/1 - requires bpf to be configured in kernel
   12 PPP_INET?=      1       # 0/1 - requires INET to be configured in kernel
   13 .if defined(NO_INET6)
   14 PPP_INET6?=     0       # 0/1 - requires INET6 to be configured in kernel
   15 .else
   16 PPP_INET6?=     1       # 0/1 - requires INET6 to be configured in kernel
   17 .endif
   18 PPP_IPX?=       0       # 0/1 - requires IPX to be configured in kernel
   19 
   20 .if ${PPP_BSDCOMP} > 0
   21 SRCS+=  bsd_comp.c
   22 .endif
   23 .if ${PPP_DEFLATE} > 0
   24 SRCS+=  ppp_deflate.c
   25 .endif
   26 
   27 .if !defined(KERNBUILDDIR)
   28 .if ${PPP_INET} > 0
   29 opt_inet.h:
   30         echo "#define INET 1" > ${.TARGET}
   31 .endif
   32 
   33 .if ${PPP_INET6} > 0
   34 opt_inet6.h:
   35         echo "#define INET6 1" > ${.TARGET}
   36 .endif
   37 
   38 .if ${PPP_IPX} > 0
   39 opt_ipx.h:
   40         echo "#define IPX ${PPP_IPX}" > ${.TARGET}
   41 .endif
   42 
   43 opt_ppp.h:
   44         :> ${.TARGET}
   45 .if ${PPP_BSDCOMP} > 0
   46         echo "#define PPP_BSDCOMP ${PPP_BSDCOMP}" >> ${.TARGET}
   47 .endif
   48 .if ${PPP_DEFLATE} > 0
   49         echo "#define PPP_DEFLATE ${PPP_DEFLATE}" >> ${.TARGET}
   50 .endif
   51 .if ${PPP_FILTER} > 0
   52         echo "#define PPP_FILTER ${PPP_FILTER}" >> ${.TARGET}
   53 .endif
   54 .endif
   55 
   56 .include <bsd.kmod.mk>

Cache object: 3bcc790d7149ce58eaef6aab445484ad


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