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