NetBSD/usr.sbin/rpc.pcnfsd/Makefile

36 lines
774 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.17 2006/05/11 23:16:31 mrg Exp $
.include <bsd.own.mk>
1995-07-24 08:02:44 +04:00
PROG= rpc.pcnfsd
MAN= pcnfsd.8
MLINKS= pcnfsd.8 rpc.pcnfsd.8
CPPFLAGS += -DUSER_CACHE -DWTMP -I. -DSUPPORT_UTMP -DSUPPORT_UTMPX
.if (${USE_YP} != "no")
CPPFLAGS+=-DUSE_YP
.endif
SRCS= pcnfsd_v1.c pcnfsd_v2.c pcnfsd_misc.c \
pcnfsd_cache.c pcnfsd_print.c pcnfsd_svc.c pcnfsd_xdr.c
1995-07-24 08:02:44 +04:00
DPADD= ${LIBRPCSVC} ${LIBCRYPT} ${LIBUTIL}
LDADD= -lrpcsvc -lcrypt -lutil
1995-07-24 08:02:44 +04:00
2003-01-05 22:24:06 +03:00
RPC_INCS= pcnfsd.h
RPC_XDRFILES= pcnfsd_xdr.c
RPC_SVCFILES= pcnfsd_svc.c
RPC_SVCCLASS= udp tcp
RPC_SVCFLAGS= -I
1995-07-24 08:02:44 +04:00
.if ${HAVE_GCC} == 4
COPTS.pcnfsd_v1.c+= -Wno-pointer-sign
COPTS.pcnfsd_v2.c+= -Wno-pointer-sign
.endif
2003-01-05 22:24:06 +03:00
.include <bsd.rpc.mk>
1995-07-24 08:02:44 +04:00
CLEANFILES += clnt.pcnfsd pcnfsd_test.o pcnfsd_test.ln pcnfsd_clnt.*
1995-07-24 08:02:44 +04:00
.include <bsd.prog.mk>