1 1.32 tv # $NetBSD: Makefile,v 1.32 2001/10/31 20:56:09 tv 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.32 tv .include <bsd.lib.mk> 18 1.26 erh 19 1.19 christos # We don't use explicit suffix rules here to avoid dependencies in the 20 1.19 christos # Installed files. 21 1.19 christos 22 1.19 christos .for I in ${RPCSRCS} 23 1.32 tv ${I:.x=.c}: $I ${RPCGEN} 24 1.31 mycroft ${RPCGEN} -C -c ${.CURDIR}/$I -o ${.TARGET} 25 1.26 erh 26 1.32 tv ${I:.x=.h}: $I ${RPCGEN} 27 1.31 mycroft ${RPCGEN} -C -h ${.CURDIR}/$I -o ${.TARGET} 28 1.19 christos .endfor 29