Makefile revision 146956
1226031Sstas# from: @(#)Makefile 5.10 (Berkeley) 6/24/90 2226031Sstas# $FreeBSD: head/lib/librpcsvc/Makefile 146956 2005-06-04 10:48:21Z ru $ 3226031Sstas 4226031Sstas.PATH: ${.CURDIR}/../../include/rpcsvc 5226031Sstas 6226031SstasLIB= rpcsvc 7226031Sstas 8226031SstasRPCSRCS= klm_prot.x mount.x nfs_prot.x nlm_prot.x rex.x rnusers.x \ 9226031Sstas rquota.x rstat.x rwall.x sm_inter.x spray.x yppasswd.x ypxfrd.x \ 10226031Sstas ypupdate_prot.x 11226031Sstas 12226031SstasOTHERSRCS= rnusers.c rstat.c rwall.c 13226031SstasSECRPCSRCS= secretkey.c xcrypt.c 14226031Sstas 15226031Sstas.if !defined(NO_NIS) 16226031SstasOTHERSRCS+= yp_passwd.c yp_update.c 17226031Sstas.endif 18226031Sstas 19226031SstasRPCCOM = rpcgen -C 20226031Sstas 21226031SstasINCDIRS= -I${DESTDIR}/usr/include/rpcsvc 22226031Sstas 23226031SstasCFLAGS+= -DYP ${INCDIRS} 24226031Sstas 25226031SstasGENSRCS= ${RPCSRCS:R:S/$/_xdr.c/g} 26226031SstasSRCS+= ${GENSRCS} ${OTHERSRCS} ${SECRPCSRCS} 27226031Sstas 28226031SstasCLEANFILES+= ${GENSRCS} 29226031Sstas 30226031SstasNO_MAN= 31226031Sstas 32226031Sstas.include <bsd.lib.mk> 33226031Sstas 34226031Sstas.SUFFIXES: .x _xdr.c 35226031Sstas 36226031Sstas.x_xdr.c: 37226031Sstas ${RPCCOM} -c ${.IMPSRC} -o ${.TARGET} 38226031Sstas 39226031SstasOBJS= ${RPCSRCS:R:S/$/_xdr.o/g} ${SECRPCSRCS:R:S/$/.o/g} \ 40226031Sstas ${OTHERSRCS:R:S/$/.o/g} 41226031Sstas