1 1.7 thorpej # $NetBSD: Makefile,v 1.7 1999/06/06 03:13:13 thorpej Exp $ 2 1.1 scottr 3 1.1 scottr PROG= rpc.lockd 4 1.1 scottr SRCS= nlm_prot_svc.c lockd.c lock_proc.c 5 1.1 scottr MAN= rpc.lockd.8 6 1.1 scottr MLINKS= rpc.lockd.8 lockd.8 7 1.1 scottr 8 1.6 lukem CPPFLAGS+= -I. 9 1.1 scottr 10 1.7 thorpej DPADD= ${LIBRPCSVC} ${LIBUTIL} 11 1.7 thorpej LDADD= -lrpcsvc -lutil 12 1.1 scottr 13 1.1 scottr CLEANFILES= nlm_prot_svc.c nlm_prot.x nlm_prot.h test 14 1.1 scottr 15 1.4 cjs nlm_prot_svc.c: ${DESTDIR}/usr/include/rpcsvc/nlm_prot.x 16 1.1 scottr rm -f nlm_prot.x 17 1.4 cjs ln -s ${DESTDIR}/usr/include/rpcsvc/nlm_prot.x . 18 1.1 scottr rm -f nlm_prot.h 19 1.4 cjs ln -s ${DESTDIR}/usr/include/rpcsvc/nlm_prot.h . 20 1.5 lukem rpcgen -C -L -m -o ${.TARGET} nlm_prot.x 21 1.1 scottr 22 1.1 scottr test: ${.CURDIR}/test.c 23 1.1 scottr cc -o test ${.CURDIR}/test.c -lrpcsvc 24 1.1 scottr 25 1.1 scottr .include <bsd.prog.mk> 26