1997-03-25 01:11:48 +03:00
|
|
|
# $NetBSD: Makefile,v 1.19 1997/03/24 22:11:57 christos Exp $
|
1993-06-02 23:51:29 +04:00
|
|
|
|
1993-06-03 21:07:56 +04:00
|
|
|
|
1994-06-14 06:45:56 +04:00
|
|
|
RPCSRCS= bootparam_prot.x klm_prot.x mount.x nfs_prot.x\
|
1994-01-21 02:04:13 +03:00
|
|
|
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:R:S/$/.c/g}
|
|
|
|
HDRS= ${RPCSRCS:R:S/$/.h/g}
|
|
|
|
CLEANFILES+= ${SRCS} ${HDRS}
|
|
|
|
|
1997-03-25 01:11:48 +03:00
|
|
|
INCS=${HDRS} ${RPCSRCS}
|
|
|
|
INCSDIR=/usr/include/rpcsvc
|
|
|
|
|
1994-01-21 02:04:13 +03:00
|
|
|
LIB= rpcsvc
|
|
|
|
NOMAN=
|
|
|
|
NOPIC=
|
|
|
|
|
|
|
|
all: ${HDRS}
|
|
|
|
beforedepend: ${HDRS}
|
|
|
|
|
1997-03-25 01:11:48 +03:00
|
|
|
# We don't use explicit suffix rules here to avoid dependencies in the
|
|
|
|
# Installed files.
|
1994-01-21 02:04:13 +03:00
|
|
|
|
1997-03-25 01:11:48 +03:00
|
|
|
.for I in ${RPCSRCS}
|
|
|
|
${I:S/.x/.c/}: $I
|
|
|
|
rpcgen -c ${.ALLSRC} -o ${.TARGET}
|
1994-01-21 02:04:13 +03:00
|
|
|
|
1997-03-25 01:11:48 +03:00
|
|
|
${I:S/.x/.h/}: $I
|
|
|
|
rpcgen -h ${.ALLSRC} -o ${.TARGET}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|