Makefile revision 1.19
11.19Schristos# $NetBSD: Makefile,v 1.19 1997/03/24 22:11:57 christos Exp $ 21.1Sbrezak 31.4Sbrezak 41.10ScgdRPCSRCS= bootparam_prot.x klm_prot.x mount.x nfs_prot.x\ 51.8Sjtc nlm_prot.x rex.x rnusers.x rusers.x rquota.x rstat.x rwall.x\ 61.8Sjtc sm_inter.x spray.x yp.x yppasswd.x 71.8SjtcSRCS= ${RPCSRCS:R:S/$/.c/g} 81.8SjtcHDRS= ${RPCSRCS:R:S/$/.h/g} 91.8SjtcCLEANFILES+= ${SRCS} ${HDRS} 101.8Sjtc 111.19SchristosINCS=${HDRS} ${RPCSRCS} 121.19SchristosINCSDIR=/usr/include/rpcsvc 131.19Schristos 141.8SjtcLIB= rpcsvc 151.8SjtcNOMAN= 161.8SjtcNOPIC= 171.8Sjtc 181.8Sjtcall: ${HDRS} 191.8Sjtcbeforedepend: ${HDRS} 201.8Sjtc 211.19Schristos# We don't use explicit suffix rules here to avoid dependencies in the 221.19Schristos# Installed files. 231.19Schristos 241.19Schristos.for I in ${RPCSRCS} 251.19Schristos${I:S/.x/.c/}: $I 261.19Schristos rpcgen -c ${.ALLSRC} -o ${.TARGET} 271.19Schristos 281.19Schristos${I:S/.x/.h/}: $I 291.19Schristos rpcgen -h ${.ALLSRC} -o ${.TARGET} 301.19Schristos.endfor 311.8Sjtc 321.8Sjtc.include <bsd.lib.mk> 33