27 lines
407 B
Makefile
27 lines
407 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../netncp
|
|
|
|
KMOD= ncp
|
|
|
|
SRCS= ncp_conn.c ncp_sock.c ncp_ncp.c ncp_subr.c ncp_crypt.c ncp_mod.c \
|
|
ncp_rq.c ncp_login.c ncp_nls.c opt_ncp.h
|
|
|
|
.if defined(NCPBURST)
|
|
SRCS+= ncp_burst.c
|
|
CFLAGS+= -DNCPBURST
|
|
.endif
|
|
|
|
NOMAN=
|
|
|
|
load: ${KMOD}.ko
|
|
kldload ./${KMOD}.ko
|
|
|
|
unload:
|
|
@(if kldunload ${KMOD}; then true; else true; fi)
|
|
|
|
deinstall:
|
|
rm -f /modules/ncp.ko
|
|
|
|
.include <bsd.kmod.mk>
|