Makefile revision 1.20
1# $NetBSD: Makefile,v 1.20 1997/05/09 07:50:15 mycroft Exp $ 2 3 4RPCSRCS= bootparam_prot.x klm_prot.x mount.x nfs_prot.x\ 5 nlm_prot.x rex.x rnusers.x rusers.x rquota.x rstat.x rwall.x\ 6 sm_inter.x spray.x yp.x yppasswd.x 7SRCS= ${RPCSRCS:R:S/$/.c/g} ${HDRS} 8HDRS= ${RPCSRCS:R:S/$/.h/g} 9CLEANFILES+= ${SRCS} ${HDRS} 10 11INCS=${HDRS} ${RPCSRCS} 12INCSDIR=/usr/include/rpcsvc 13 14LIB= rpcsvc 15NOMAN= 16NOPIC= 17 18# We don't use explicit suffix rules here to avoid dependencies in the 19# Installed files. 20 21.for I in ${RPCSRCS} 22${I:S/.x/.c/}: $I 23 rpcgen -c ${.ALLSRC} -o ${.TARGET} 24 25${I:S/.x/.h/}: $I 26 rpcgen -h ${.ALLSRC} -o ${.TARGET} 27.endfor 28 29.include <bsd.lib.mk> 30