Makefile revision 26215
11983Swollman# from: @(#)Makefile 5.10 (Berkeley) 6/24/90 226215Swpaul# $Id: Makefile,v 1.6 1996/08/30 02:02:09 peter Exp $ 31983Swollman 41983Swollman.PATH: ${DESTDIR}/usr/include/rpcsvc 51983Swollman 61983SwollmanLIB= rpcsvc 71983Swollman 81983SwollmanRPCSRCS= klm_prot.x mount.x nfs_prot.x nlm_prot.x rex.x rnusers.x \ 926215Swpaul rquota.x rstat.x rwall.x sm_inter.x spray.x yppasswd.x ypxfrd.x \ 1026215Swpaul ypupdate_prot.x 111983Swollman 1226215SwpaulOTHERSRCS= rnusers.c rstat.c rwall.c yp_passwd.c yp_update.c 1326215SwpaulSECRPCSRCS= publickey.c secretkey.c xcrypt.c 141983Swollman 1526215SwpaulRPCCOM = rpcgen -C 161983Swollman 1726215SwpaulINCDIRS= -I${DESTDIR}/usr/include/rpcsvc -I${DESTDIR}/usr/include 181983Swollman 1926215SwpaulCFLAGS+= -DYP ${INCDIRS} 201983Swollman 2126215SwpaulGENSRCS= ${RPCSRCS:R:S/$/_xdr.c/g} 2226215SwpaulSRCS+= ${GENSRCS} ${OTHERSRCS} ${SECRPCSRCS} 2326215Swpaul 2426215SwpaulCLEANFILES+= ${GENSRCS} ${RPCSRCS} 2526215Swpaul 261983SwollmanNOMAN= noman 271983Swollman 281983Swollman.include <bsd.lib.mk> 291983Swollman 301983Swollman.SUFFIXES: .x _xdr.c 311983Swollman 321983Swollman.x_xdr.c: 3317934Speter ${RPCCOM} -c ${.IMPSRC} -o ${.TARGET} 341983Swollman 3526215SwpaulOBJS= ${RPCSRCS:R:S/$/_xdr.o/g} ${SECRPCSRCS:R:S/$/.o/g} \ 3626215Swpaul ${OTHERSRCS:R:S/$/.o/g} 37