1999-02-13 05:54:17 +03:00
|
|
|
# $NetBSD: Makefile,v 1.24 1999/02/13 02:54:30 lukem Exp $
|
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
|
1997-05-09 18:22:41 +04:00
|
|
|
SRCS= ${RPCSRCS:.x=.c} ${HDRS}
|
|
|
|
HDRS= ${RPCSRCS:.x=.h}
|
1994-01-21 02:04:13 +03:00
|
|
|
CLEANFILES+= ${SRCS} ${HDRS}
|
|
|
|
|
1997-05-09 18:22:41 +04:00
|
|
|
INCS= ${HDRS} ${RPCSRCS}
|
|
|
|
INCSDIR= /usr/include/rpcsvc
|
1997-03-25 01:11:48 +03:00
|
|
|
|
1994-01-21 02:04:13 +03:00
|
|
|
LIB= rpcsvc
|
1999-02-13 05:54:17 +03:00
|
|
|
MKMAN= no
|
|
|
|
MKPIC= no
|
1994-01-21 02:04:13 +03:00
|
|
|
|
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}
|
1997-05-09 18:22:41 +04:00
|
|
|
${I:.x=.c}: $I
|
1997-03-25 01:11:48 +03:00
|
|
|
rpcgen -c ${.ALLSRC} -o ${.TARGET}
|
1994-01-21 02:04:13 +03:00
|
|
|
|
1997-05-09 18:22:41 +04:00
|
|
|
${I:.x=.h}: $I
|
1997-03-25 01:11:48 +03:00
|
|
|
rpcgen -h ${.ALLSRC} -o ${.TARGET}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|