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/ncp/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}/../../netncp
    4 
    5 KMOD=   ncp
    6 
    7 # Build with IPX support (1|0)
    8 NCP_IPX?=       1
    9 
   10 # Build with INET support (1|0)
   11 NCP_INET?=      1
   12 
   13 SRCS=   ncp_conn.c ncp_sock.c ncp_ncp.c ncp_subr.c ncp_crypt.c ncp_mod.c \
   14         ncp_rq.c ncp_login.c ncp_nls.c opt_inet.h opt_ipx.h opt_ncp.h
   15 
   16 .if defined(NCPBURST)
   17 SRCS+=  ncp_burst.c
   18 CFLAGS+= -DNCPBURST
   19 .endif
   20 
   21 NOMAN=
   22 
   23 opt_inet.h:
   24         touch ${.TARGET}
   25 .if ${NCP_INET} > 0
   26         echo "#define INET 1" > ${.TARGET}
   27 .endif
   28 
   29 opt_ipx.h:
   30         touch ${.TARGET}
   31 .if ${NCP_IPX} > 0
   32         echo "#define IPX 1" > ${.TARGET}
   33 .endif
   34 
   35 load: ${KMOD}.ko
   36         kldload ./${KMOD}.ko
   37 
   38 unload:
   39         @(if kldunload ${KMOD}; then true; else true; fi)
   40 
   41 deinstall:
   42         rm -f /modules/ncp.ko
   43 
   44 .include <bsd.kmod.mk>

Cache object: ea8dd611dab97dd35c652569e4dde8ef


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