MFC corrected printing of the slice number when adding a GPT partition.
[dragonfly.git] / sys / netproto / ncp / Makefile
blobe194e832fafa848530671b0e6dc2f7046c0063bf
1 # $FreeBSD: src/sys/modules/ncp/Makefile,v 1.3 1999/12/12 21:15:51 peter Exp $
2 # $DragonFly: src/sys/netproto/ncp/Makefile,v 1.4 2005/09/11 10:52:56 swildner Exp $
4 .PATH: ${.CURDIR}/../../netncp
6 KMOD= ncp
8 # Build with IPX support (1|0)
9 NCP_IPX?= 1
11 # Build with INET support (1|0)
12 NCP_INET?= 1
14 SRCS= ncp_conn.c ncp_sock.c ncp_ncp.c ncp_subr.c ncp_crypt.c ncp_mod.c \
15 ncp_rq.c ncp_login.c ncp_nls.c opt_inet.h opt_ipx.h opt_ncp.h
17 .if defined(NCPBURST)
18 SRCS+= ncp_burst.c
19 CFLAGS+= -DNCPBURST
20 .endif
22 NOMAN=
24 opt_inet.h:
25 touch ${.TARGET}
26 .if ${NCP_INET} > 0
27 echo "#define INET 1" > ${.TARGET}
28 .endif
30 opt_ipx.h:
31 touch ${.TARGET}
32 .if ${NCP_IPX} > 0
33 echo "#define IPX 1" > ${.TARGET}
34 .endif
36 deinstall:
37 rm -f ${DESTDIR}/modules/ncp.ko
39 .include <bsd.kmod.mk>