Makefile revision 1.9
11.9Scgd# $NetBSD: Makefile,v 1.9 2000/07/25 06:29:47 cgd Exp $ 21.1Sscottr 31.1SscottrPROG= rpc.statd 41.1SscottrSRCS= sm_inter_svc.c statd.c stat_proc.c 51.1SscottrMAN= rpc.statd.8 61.1SscottrMLINKS= rpc.statd.8 statd.8 71.1Sscottr 81.6SlukemCPPFLAGS+= -I. 91.1Sscottr 101.7SthorpejDPADD= ${LIBRPCSVC} ${LIBUTIL} 111.7SthorpejLDADD= -lrpcsvc -lutil 121.1Sscottr 131.1SscottrCLEANFILES+= sm_inter_svc.c sm_inter.x sm_inter.h test 141.1Sscottr 151.8Smycroftsm_inter.x: ${DESTDIR}/usr/include/rpcsvc/sm_inter.x 161.8Smycroft rm -f ${.TARGET} 171.8Smycroft ln -s ${.ALLSRC} ${.TARGET} 181.8Smycroft 191.8Smycroftsm_inter.h: ${DESTDIR}/usr/include/rpcsvc/sm_inter.h 201.8Smycroft rm -f ${.TARGET} 211.8Smycroft ln -s ${.ALLSRC} ${.TARGET} 221.8Smycroft 231.8Smycroftsm_inter_svc.c: sm_inter.x sm_inter.h 241.9Scgd ${RPCGEN} -C -L -m -o ${.TARGET} sm_inter.x 251.1Sscottr 261.1Sscottrtest: ${.CURDIR}/test.c 271.1Sscottr cc -o test ${.CURDIR}/test.c -lrpcsvc 281.1Sscottr 291.1Sscottr.include <bsd.prog.mk> 30