1 # $NetBSD: Makefile,v 1.20 2008/09/30 05:20:42 dholland Exp $
7 BUILDSYMLINKS
+= pcnfsd
.8 rpc.pcnfsd
.8
8 MLINKS
= rpc.pcnfsd
.8 pcnfsd
.8
9 CPPFLAGS
+= -DUSER_CACHE
-DWTMP
-I.
-DSUPPORT_UTMP
-DSUPPORT_UTMPX
11 .if
(${USE_YP} != "no")
15 SRCS
= pcnfsd_v1.c pcnfsd_v2.c pcnfsd_misc.c \
16 pcnfsd_cache.c pcnfsd_print.c pcnfsd_svc.c pcnfsd_xdr.c
18 DPADD
= ${LIBRPCSVC} ${LIBCRYPT} ${LIBUTIL}
19 LDADD
= -lrpcsvc
-lcrypt
-lutil
22 RPC_XDRFILES
= pcnfsd_xdr.c
23 RPC_SVCFILES
= pcnfsd_svc.c
27 .if
(defined
(HAVE_GCC
) && ${HAVE_GCC} == 4) || defined
(HAVE_PCC
)
28 COPTS.pcnfsd_v1.c
+= -Wno-pointer-sign
29 COPTS.pcnfsd_v2.c
+= -Wno-pointer-sign
34 CLEANFILES
+= clnt.pcnfsd pcnfsd_test.o pcnfsd_test.ln pcnfsd_clnt.
*
36 .
include <bsd.prog.mk
>