route.8: Remove NS remains.
[dragonfly.git] / sys / netproto / ncp / Makefile
1 #       $FreeBSD: src/sys/modules/ncp/Makefile,v 1.3 1999/12/12 21:15:51 peter Exp $
2
3 KMOD=   ncp
4
5 # Build with IPX support (1|0)
6 NCP_IPX?=       1
7
8 # Build with INET support (1|0)
9 NCP_INET?=      1
10
11 SRCS=   ncp_conn.c ncp_sock.c ncp_ncp.c ncp_subr.c ncp_crypt.c ncp_mod.c \
12         ncp_rq.c ncp_login.c ncp_nls.c opt_inet.h opt_ipx.h opt_ncp.h
13
14 .if defined(NCPBURST)
15 SRCS+=  ncp_burst.c
16 CFLAGS+= -DNCPBURST
17 .endif
18
19 opt_inet.h:
20         touch ${.TARGET}
21 .if ${NCP_INET} > 0
22         echo "#define INET 1" > ${.TARGET}
23 .endif
24
25 opt_ipx.h:
26         touch ${.TARGET}
27 .if ${NCP_IPX} > 0
28         echo "#define IPX 1" > ${.TARGET}
29 .endif
30
31 deinstall:
32         rm -f ${DESTDIR}/modules/ncp.ko
33
34 .include <bsd.kmod.mk>