1995-07-26 02:20:13 +04:00
|
|
|
# $NetBSD: Makefile.clnt,v 1.3 1995/07/25 22:20:19 gwr Exp $
|
1995-07-24 08:02:44 +04:00
|
|
|
|
|
|
|
# This Makefile builds a client used for testing.
|
|
|
|
|
1995-07-24 23:12:18 +04:00
|
|
|
CFLAGS += -DUSER_CACHE -DWTMP -DUSE_YP -I${.OBJDIR}
|
1995-07-24 08:02:44 +04:00
|
|
|
|
|
|
|
PROG= clnt.pcnfsd
|
1995-07-24 23:12:18 +04:00
|
|
|
SRCS= pcnfsd_test.c pcnfsd_clnt.c pcnfsd_xdr.c
|
1995-07-24 08:02:44 +04:00
|
|
|
NOMAN= noman
|
|
|
|
|
|
|
|
DPADD= ${LIBRPCSVC}
|
|
|
|
LDADD= -lrpcsvc
|
|
|
|
|
|
|
|
# Special rules for the generated C code...
|
|
|
|
|
|
|
|
pcnfsd_clnt.c: pcnfsd.x
|
1995-07-24 23:12:18 +04:00
|
|
|
rpcgen -l ${.CURDIR}/pcnfsd.x -o $@
|
1995-07-24 08:02:44 +04:00
|
|
|
|
|
|
|
pcnfsd_xdr.c: pcnfsd.x
|
1995-07-24 23:12:18 +04:00
|
|
|
rpcgen -c ${.CURDIR}/pcnfsd.x -o $@
|
1995-07-24 08:02:44 +04:00
|
|
|
|
|
|
|
pcnfsd.h: pcnfsd.x
|
1995-07-24 23:12:18 +04:00
|
|
|
rpcgen -h ${.CURDIR}/pcnfsd.x -o $@
|
1995-07-24 08:02:44 +04:00
|
|
|
|
|
|
|
CLEANFILES += pcnfsd_clnt.c pcnfsd_xdr.c pcnfsd.h
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
1995-07-24 23:12:18 +04:00
|
|
|
|
|
|
|
.depend ${OBJS}: pcnfsd.h
|