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