1 1.7.6.1 minoura # $NetBSD: Makefile,v 1.7.6.1 2000/06/22 18:01:10 minoura Exp $ 2 1.1 scottr 3 1.1 scottr PROG= rpc.lockd 4 1.7.6.1 minoura SRCS= nlm_prot_svc.c lockd.c lock_proc.c lockd_lock.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.7.6.1 minoura nlm_prot.x: ${DESTDIR}/usr/include/rpcsvc/nlm_prot.x 16 1.7.6.1 minoura rm -f ${.TARGET} 17 1.7.6.1 minoura ln -s ${.ALLSRC} ${.TARGET} 18 1.7.6.1 minoura 19 1.7.6.1 minoura nlm_prot.h: ${DESTDIR}/usr/include/rpcsvc/nlm_prot.h 20 1.7.6.1 minoura rm -f ${.TARGET} 21 1.7.6.1 minoura ln -s ${.ALLSRC} ${.TARGET} 22 1.7.6.1 minoura 23 1.7.6.1 minoura nlm_prot_svc.c: nlm_prot.x nlm_prot.h 24 1.5 lukem rpcgen -C -L -m -o ${.TARGET} nlm_prot.x 25 1.1 scottr 26 1.1 scottr test: ${.CURDIR}/test.c 27 1.1 scottr cc -o test ${.CURDIR}/test.c -lrpcsvc 28 1.1 scottr 29 1.1 scottr .include <bsd.prog.mk> 30