Makefile revision 1.22
11.22Schristos# $NetBSD: Makefile,v 1.22 2002/09/11 18:19:42 christos Exp $ 21.21Sthorpej 31.21Sthorpej.include <bsd.own.mk> 41.1Sderaadt 51.1SderaadtPROG= rpc.bootparamd 61.1SderaadtSRCS= bootparamd.c bootparam_prot_svc.c 71.7ScgdMAN= bootparams.5 rpc.bootparamd.8 81.6SgwrMLINKS= rpc.bootparamd.8 bootparamd.8 91.21Sthorpej 101.21Sthorpej.if (${USE_YP} != "no") 111.15SlukemCPPFLAGS+=-DYP 121.21Sthorpej.endif 131.1Sderaadt 141.16SthorpejDPADD= ${LIBRPCSVC} ${LIBUTIL} 151.16SthorpejLDADD= -lrpcsvc -lutil 161.1Sderaadt 171.20StvCLEANFILES += bootparam_prot_svc.c bootparam_prot.x bootparam_prot.h 181.20Stv 191.19Stv.include <bsd.prog.mk> 201.19Stv 211.17Smycroftbootparam_prot.x: ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x 221.17Smycroft rm -f ${.TARGET} 231.17Smycroft ln -s ${.ALLSRC} ${.TARGET} 241.17Smycroft 251.17Smycroftbootparam_prot.h: ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.h 261.17Smycroft rm -f ${.TARGET} 271.17Smycroft ln -s ${.ALLSRC} ${.TARGET} 281.17Smycroft 291.17Smycroftbootparam_prot_svc.c: bootparam_prot.x bootparam_prot.h 301.18Scgd ${RPCGEN} -C -L -m -o ${.TARGET} bootparam_prot.x 311.22Schristos 321.22Schristostest: test.c 331.22Schristos cc -o test ${.ALLSRC} -lrpcsvc 34