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: src/sys/modules/if_ppp/Makefile,v 1.31 2002/08/09 15:30:43 brooks Exp $
    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_ipx.h opt_mac.h opt_ppp.h vnode_if.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 PPP_IPX?=       0       # 0/1 - requires IPX to be configured in kernel
   14 
   15 .if ${PPP_BSDCOMP} > 0
   16 SRCS+=  bsd_comp.c
   17 .endif
   18 .if ${PPP_DEFLATE} > 0
   19 SRCS+=  ppp_deflate.c zlib.c
   20 .endif
   21 
   22 CLEANFILES=     ppp.h
   23 
   24 .if ${PPP_INET} > 0
   25 opt_inet.h:
   26         echo "#define INET 1" >> ${.TARGET}
   27 .endif
   28 
   29 .if ${PPP_IPX} > 0
   30 opt_ipx.h:
   31         echo "#define IPX ${PPP_IPX}" >> ${.TARGET}
   32 .endif
   33 
   34 opt_ppp.h:
   35         touch ${.TARGET}
   36 .if ${PPP_BSDCOMP} > 0
   37         echo "#define PPP_BSDCOMP ${PPP_BSDCOMP}" >> ${.TARGET}
   38 .endif
   39 .if ${PPP_DEFLATE} > 0
   40         echo "#define PPP_DEFLATE ${PPP_DEFLATE}" >> ${.TARGET}
   41 .endif
   42 .if ${PPP_FILTER} > 0
   43         echo "#define PPP_FILTER ${PPP_FILTER}" >> ${.TARGET}
   44 .endif
   45 
   46 .include <bsd.kmod.mk>

Cache object: ff341ca501927a10bef6a1ccaa70d29c


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