Makefile revision 156813
11983Swollman# from: @(#)Makefile 5.10 (Berkeley) 6/24/90 250476Speter# $FreeBSD: head/lib/librpcsvc/Makefile 156813 2006-03-17 18:54:44Z ru $ 31983Swollman 4156813Sru.include <bsd.own.mk> 5156813Sru 6146956Sru.PATH: ${.CURDIR}/../../include/rpcsvc 71983Swollman 81983SwollmanLIB= rpcsvc 91983Swollman 101983SwollmanRPCSRCS= klm_prot.x mount.x nfs_prot.x nlm_prot.x rex.x rnusers.x \ 1126215Swpaul rquota.x rstat.x rwall.x sm_inter.x spray.x yppasswd.x ypxfrd.x \ 1226215Swpaul ypupdate_prot.x 131983Swollman 14137675SbzOTHERSRCS= rnusers.c rstat.c rwall.c 1536166SwpaulSECRPCSRCS= secretkey.c xcrypt.c 161983Swollman 17156813Sru.if ${MK_NIS} != "no" 18137675SbzOTHERSRCS+= yp_passwd.c yp_update.c 19137675Sbz.endif 20137675Sbz 2190299SalfredRPCCOM = rpcgen -C 221983Swollman 2396573SruINCDIRS= -I${DESTDIR}/usr/include/rpcsvc 241983Swollman 2526215SwpaulCFLAGS+= -DYP ${INCDIRS} 261983Swollman 2726215SwpaulGENSRCS= ${RPCSRCS:R:S/$/_xdr.c/g} 2826215SwpaulSRCS+= ${GENSRCS} ${OTHERSRCS} ${SECRPCSRCS} 2926215Swpaul 3033800SbdeCLEANFILES+= ${GENSRCS} 3126215Swpaul 321983Swollman.include <bsd.lib.mk> 331983Swollman 341983Swollman.SUFFIXES: .x _xdr.c 351983Swollman 361983Swollman.x_xdr.c: 3717934Speter ${RPCCOM} -c ${.IMPSRC} -o ${.TARGET} 381983Swollman 3926215SwpaulOBJS= ${RPCSRCS:R:S/$/_xdr.o/g} ${SECRPCSRCS:R:S/$/.o/g} \ 4026215Swpaul ${OTHERSRCS:R:S/$/.o/g} 41