freebsd-skq/usr.sbin/rpc.lockd/Makefile

27 lines
491 B
Makefile

# $Id: Makefile,v 1.6 1998/03/06 14:30:45 bde Exp $
PROG = rpc.lockd
SRCS = nlm_prot_svc.c nlm_prot.h lockd.c procs.c
MAN8 = rpc.lockd.8
DPADD= ${LIBRPCSVC}
LDADD= -lrpcsvc
CFLAGS+= -I.
CLEANFILES= nlm_prot_svc.c nlm_prot.h
RPCSRC= ${DESTDIR}/usr/include/rpcsvc/nlm_prot.x
RPCGEN= rpcgen -L -C
nlm_prot_svc.c: ${RPCSRC}
${RPCGEN} -m -o ${.TARGET} ${RPCSRC}
nlm_prot.h: ${RPCSRC}
${RPCGEN} -h -o ${.TARGET} ${RPCSRC}
test: test.c
cc -o test test.c -lrpcsvc
.include <bsd.prog.mk>