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 KMOD=   if_ppp
    5 SRCS=   if_ppp.c ppp_tty.c slcompress.c \
    6         bpfilter.h ppp.h opt_inet.h opt_ipx.h opt_ppp.h vnode_if.h
    7 NOMAN=
    8 CLEANFILES+=    vnode_if.c vnode_if.h
    9 
   10 NPPP?=          2
   11 PPP_BSDCOMP?=   1       # 0/1
   12 PPP_DEFLATE?=   1       # 0/1
   13 PPP_FILTER?=    0       # 0/1 - requires bpf to be configured in kernel
   14 PPP_INET?=      1       # 0/1 - requires INET to be configured in kernel
   15 PPP_IPX?=       0       # 0/1 - requires IPX to be configured in kernel
   16 
   17 CFLAGS+= ${PROTOS}
   18 
   19 .if ${PPP_BSDCOMP} > 0
   20 SRCS+=  bsd_comp.c
   21 .endif
   22 .if ${PPP_DEFLATE} > 0
   23 SRCS+=  ppp_deflate.c zlib.c
   24 .endif
   25 
   26 CLEANFILES+=    bpfilter.h opt_inet.h opt_ipx.h opt_ppp.h ppp.h
   27 
   28 bpfilter.h:
   29         echo "#define NBPFILTER ${PPP_FILTER}" > bpfilter.h
   30 
   31 ppp.h:
   32         echo "#define NPPP ${NPPP}" > ppp.h
   33 
   34 opt_inet.h:
   35         touch opt_inet.h
   36 .if ${PPP_INET} > 0
   37         echo "#define INET 1" > opt_inet.h
   38 .endif
   39 
   40 opt_ipx.h:
   41         touch opt_ipx.h
   42 .if ${PPP_IPX} > 0
   43         echo "#define IPX ${PPP_IPX}" > opt_ipx.h
   44 .endif
   45 
   46 opt_ppp.h:
   47         touch opt_ppp.h
   48 .if ${PPP_BSDCOMP} > 0
   49         echo "#define PPP_BSDCOMP ${PPP_BSDCOMP}" > opt_ppp.h
   50 .endif
   51 .if ${PPP_DEFLATE} > 0
   52         echo "#define PPP_DEFLATE ${PPP_DEFLATE}" >> opt_ppp.h
   53 .endif
   54 .if ${PPP_FILTER} > 0
   55         echo "#define PPP_FILTER ${PPP_FILTER}" >> opt_ppp.h
   56 .endif
   57 
   58 .include <bsd.kmod.mk>

Cache object: ced00f126fea72342ddeba3f8da02209


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