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