1 1.22 lukem # $NetBSD: Makefile,v 1.22 1997/10/09 14:36:24 lukem Exp $ 2 1.4 brezak 3 1.22 lukem # XXX WARNS=0 is temporary until rpcgen(1) is fixed 4 1.22 lukem WARNS=0 5 1.10 cgd RPCSRCS= bootparam_prot.x klm_prot.x mount.x nfs_prot.x\ 6 1.8 jtc nlm_prot.x rex.x rnusers.x rusers.x rquota.x rstat.x rwall.x\ 7 1.8 jtc sm_inter.x spray.x yp.x yppasswd.x 8 1.21 mycroft SRCS= ${RPCSRCS:.x=.c} ${HDRS} 9 1.21 mycroft HDRS= ${RPCSRCS:.x=.h} 10 1.8 jtc CLEANFILES+= ${SRCS} ${HDRS} 11 1.8 jtc 12 1.21 mycroft INCS= ${HDRS} ${RPCSRCS} 13 1.21 mycroft INCSDIR= /usr/include/rpcsvc 14 1.19 christos 15 1.8 jtc LIB= rpcsvc 16 1.8 jtc NOMAN= 17 1.8 jtc NOPIC= 18 1.8 jtc 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.21 mycroft ${I:.x=.c}: $I 24 1.19 christos rpcgen -c ${.ALLSRC} -o ${.TARGET} 25 1.19 christos 26 1.21 mycroft ${I:.x=.h}: $I 27 1.19 christos rpcgen -h ${.ALLSRC} -o ${.TARGET} 28 1.19 christos .endfor 29 1.8 jtc 30 1.8 jtc .include <bsd.lib.mk> 31