NetBSD/lib/librpcsvc/Makefile

29 lines
655 B
Makefile
Raw Normal View History

2000-07-25 10:29:44 +04:00
# $NetBSD: Makefile,v 1.25 2000/07/25 06:29:46 cgd Exp $
1994-06-14 06:45:56 +04:00
RPCSRCS= bootparam_prot.x klm_prot.x mount.x nfs_prot.x\
nlm_prot.x rex.x rnusers.x rusers.x rquota.x rstat.x rwall.x\
sm_inter.x spray.x yp.x yppasswd.x
1997-05-09 18:22:41 +04:00
SRCS= ${RPCSRCS:.x=.c} ${HDRS}
HDRS= ${RPCSRCS:.x=.h}
CLEANFILES+= ${SRCS} ${HDRS}
1997-05-09 18:22:41 +04:00
INCS= ${HDRS} ${RPCSRCS}
INCSDIR= /usr/include/rpcsvc
LIB= rpcsvc
MKMAN= no
MKPIC= no
# We don't use explicit suffix rules here to avoid dependencies in the
# Installed files.
.for I in ${RPCSRCS}
1997-05-09 18:22:41 +04:00
${I:.x=.c}: $I
2000-07-25 10:29:44 +04:00
${RPCGEN} -c ${.ALLSRC} -o ${.TARGET}
1997-05-09 18:22:41 +04:00
${I:.x=.h}: $I
2000-07-25 10:29:44 +04:00
${RPCGEN} -h ${.ALLSRC} -o ${.TARGET}
.endfor
.include <bsd.lib.mk>