1994-08-04 19:01:57 +00:00
|
|
|
# from: @(#)Makefile 2.3 88/08/11 4.0 RPCSRC
|
1996-08-30 22:36:45 +00:00
|
|
|
# $Id: Makefile,v 1.11 1996/08/30 21:57:32 peter Exp $
|
1994-08-04 19:01:57 +00:00
|
|
|
|
|
|
|
.SUFFIXES: .x
|
|
|
|
|
|
|
|
RPCCOM = rpcgen
|
|
|
|
|
1996-06-05 03:47:18 +00:00
|
|
|
HDRS= klm_prot.h mount.h nfs_prot.h nlm_prot.h rex.h rnusers.h \
|
|
|
|
rquota.h rstat.h rwall.h sm_inter.h spray.h yppasswd.h yp.h \
|
|
|
|
ypxfrd.h
|
1994-08-04 19:01:57 +00:00
|
|
|
XFILES= bootparam_prot.x klm_prot.x mount.x nfs_prot.x nlm_prot.x \
|
|
|
|
rex.x rnusers.x rquota.x rstat.x rwall.x sm_inter.x spray.x \
|
1996-06-05 03:47:18 +00:00
|
|
|
yppasswd.x yp.x ypxfrd.x
|
1994-08-04 19:01:57 +00:00
|
|
|
HFILES= yp_prot.h ypclnt.h
|
|
|
|
|
|
|
|
CLEANFILES+= ${HDRS}
|
|
|
|
|
|
|
|
all: ${HDRS}
|
|
|
|
|
1996-08-30 22:36:45 +00:00
|
|
|
beforeinstall:
|
1996-08-30 19:31:28 +00:00
|
|
|
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
|
|
|
|
${HFILES:S;^;${.CURDIR}/;} \
|
|
|
|
${XFILES:S;^;${.CURDIR}/;} \
|
|
|
|
${HDRS} \
|
1996-08-29 19:59:48 +00:00
|
|
|
${DESTDIR}/usr/include/rpcsvc
|
1994-08-04 19:01:57 +00:00
|
|
|
|
|
|
|
.x.h:
|
1996-08-30 19:31:28 +00:00
|
|
|
${RPCCOM} -h ${.IMPSRC} -o ${.TARGET}
|
1994-08-04 19:01:57 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|