Makefile revision 1.1
11.1Sscottr# $NetBSD: Makefile,v 1.1 1997/03/10 06:26:19 scottr Exp $ 21.1Sscottr 31.1Sscottr# $Id: Makefile,v 1.1 1997/03/10 06:26:19 scottr Exp $ 41.1Sscottr 51.1SscottrPROG= rpc.lockd 61.1SscottrSRCS= nlm_prot_svc.c lockd.c lock_proc.c 71.1SscottrMAN= rpc.lockd.8 81.1SscottrMLINKS= rpc.lockd.8 lockd.8 91.1Sscottr 101.1SscottrCFLAGS+= -I. 111.1Sscottr 121.1SscottrDPADD= ${LIBRPCSVC} 131.1SscottrLDADD= -lrpcsvc 141.1Sscottr 151.1SscottrCLEANFILES= nlm_prot_svc.c nlm_prot.x nlm_prot.h test 161.1Sscottr 171.1Sscottrnlm_prot_svc.c: ${DESTDIR}/usr/include/rpcsvc/nlm_prot.x 181.1Sscottr rm -f nlm_prot.x 191.1Sscottr ln -s ${DESTDIR}/usr/include/rpcsvc/nlm_prot.x . 201.1Sscottr rm -f nlm_prot.h 211.1Sscottr ln -s ${DESTDIR}/usr/include/rpcsvc/nlm_prot.h . 221.1Sscottr rpcgen -m -o $@ nlm_prot.x 231.1Sscottr 241.1Sscottrtest: ${.CURDIR}/test.c 251.1Sscottr cc -o test ${.CURDIR}/test.c -lrpcsvc 261.1Sscottr 271.1Sscottr.include <bsd.prog.mk> 28