kmod.mk: Remove some dead code supposed to handle modules' manual pages.
[dragonfly.git] / sys / netproto / ncp / Makefile
CommitLineData
984263bc 1# $FreeBSD: src/sys/modules/ncp/Makefile,v 1.3 1999/12/12 21:15:51 peter Exp $
c2a543fe 2# $DragonFly: src/sys/netproto/ncp/Makefile,v 1.4 2005/09/11 10:52:56 swildner Exp $
984263bc
MD
3
4.PATH: ${.CURDIR}/../../netncp
5
6KMOD= ncp
7
8# Build with IPX support (1|0)
9NCP_IPX?= 1
10
11# Build with INET support (1|0)
12NCP_INET?= 1
13
14SRCS= 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
16
17.if defined(NCPBURST)
18SRCS+= ncp_burst.c
19CFLAGS+= -DNCPBURST
20.endif
21
984263bc
MD
22opt_inet.h:
23 touch ${.TARGET}
24.if ${NCP_INET} > 0
25 echo "#define INET 1" > ${.TARGET}
26.endif
27
28opt_ipx.h:
29 touch ${.TARGET}
30.if ${NCP_IPX} > 0
31 echo "#define IPX 1" > ${.TARGET}
32.endif
33
984263bc 34deinstall:
1b29ad66 35 rm -f ${DESTDIR}/modules/ncp.ko
984263bc
MD
36
37.include <bsd.kmod.mk>