NetBSD/usr.sbin/rpc.pcnfsd/Makefile

29 lines
682 B
Makefile
Raw Normal View History

1995-07-26 02:20:13 +04:00
# $NetBSD: Makefile,v 1.3 1995/07/25 22:20:13 gwr Exp $
1995-07-24 08:02:44 +04:00
PROG= rpc.pcnfsd
MAN= pcnfsd.8
MLINKS= pcnfsd.8 rpc.pcnfsd.8
CFLAGS += -DUSER_CACHE -DWTMP -DUSE_YP -I${.OBJDIR}
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}
LDADD= -lrpcsvc -lcrypt
pcnfsd_svc.c: pcnfsd.x
rpcgen -s udp -s tcp -I ${.CURDIR}/pcnfsd.x -o $@
1995-07-24 08:02:44 +04:00
pcnfsd_xdr.c: pcnfsd.x
rpcgen -c ${.CURDIR}/pcnfsd.x -o $@
1995-07-24 08:02:44 +04:00
pcnfsd.h: pcnfsd.x
rpcgen -h ${.CURDIR}/pcnfsd.x -o $@
1995-07-24 08:02:44 +04:00
CLEANFILES += pcnfsd_svc.c pcnfsd_xdr.c pcnfsd.h
CLEANFILES += clnt.pcnfsd pcnfsd_test.o pcnfsd_test.ln pcnfsd_clnt.*
1995-07-24 08:02:44 +04:00
.include <bsd.prog.mk>
.depend ${OBJS}: pcnfsd.h