Expand PMF_FN_* macros.
[netbsd-mini2440.git] / usr.sbin / rpc.pcnfsd / Makefile
blob6902b2d7b21539b1fe9757128851f4eeb6da0d9c
1 # $NetBSD: Makefile,v 1.20 2008/09/30 05:20:42 dholland Exp $
3 .include <bsd.own.mk>
5 PROG= rpc.pcnfsd
6 MAN= rpc.pcnfsd.8
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")
12 CPPFLAGS+=-DUSE_YP
13 .endif
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
21 RPC_INCS= pcnfsd.h
22 RPC_XDRFILES= pcnfsd_xdr.c
23 RPC_SVCFILES= pcnfsd_svc.c
24 RPC_SVCCLASS= udp tcp
25 RPC_SVCFLAGS= -I
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
30 .endif
32 .include <bsd.rpc.mk>
34 CLEANFILES += clnt.pcnfsd pcnfsd_test.o pcnfsd_test.ln pcnfsd_clnt.*
36 .include <bsd.prog.mk>