31 lines
703 B
Makefile
31 lines
703 B
Makefile
# $NetBSD: Makefile,v 1.22 1997/10/09 14:36:24 lukem Exp $
|
|
|
|
# XXX WARNS=0 is temporary until rpcgen(1) is fixed
|
|
WARNS=0
|
|
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
|
|
SRCS= ${RPCSRCS:.x=.c} ${HDRS}
|
|
HDRS= ${RPCSRCS:.x=.h}
|
|
CLEANFILES+= ${SRCS} ${HDRS}
|
|
|
|
INCS= ${HDRS} ${RPCSRCS}
|
|
INCSDIR= /usr/include/rpcsvc
|
|
|
|
LIB= rpcsvc
|
|
NOMAN=
|
|
NOPIC=
|
|
|
|
# We don't use explicit suffix rules here to avoid dependencies in the
|
|
# Installed files.
|
|
|
|
.for I in ${RPCSRCS}
|
|
${I:.x=.c}: $I
|
|
rpcgen -c ${.ALLSRC} -o ${.TARGET}
|
|
|
|
${I:.x=.h}: $I
|
|
rpcgen -h ${.ALLSRC} -o ${.TARGET}
|
|
.endfor
|
|
|
|
.include <bsd.lib.mk>
|