1993-04-04 23:00:06 +04:00
|
|
|
#
|
|
|
|
# @(#)Makefile 2.3 88/08/11 4.0 RPCSRC
|
|
|
|
#
|
1993-05-06 17:28:41 +04:00
|
|
|
# $Header: /cvsroot/src/include/rpcsvc/Attic/Makefile,v 1.5 1993/05/06 13:28:50 proven Exp $
|
1993-04-04 23:00:06 +04:00
|
|
|
#
|
|
|
|
|
|
|
|
.SUFFIXES: .x
|
|
|
|
|
|
|
|
RPCCOM = rpcgen
|
|
|
|
|
|
|
|
HDRS= klm_prot.h mount.h nfs_prot.h nlm_prot.h rex.h rquota.h rnusers.h\
|
|
|
|
rquota.h rstat.h rwall.h sm_inter.h spray.h yppasswd.h yp.h
|
|
|
|
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 \
|
|
|
|
yppasswd.x yp.x
|
1993-04-26 09:04:58 +04:00
|
|
|
HFILES= yp_prot.h ypclnt.h
|
1993-04-04 23:00:06 +04:00
|
|
|
|
|
|
|
CLEANFILES+= ${HDRS}
|
|
|
|
|
1993-05-06 06:23:15 +04:00
|
|
|
all: ${HDRS}
|
1993-04-04 23:00:06 +04:00
|
|
|
|
1993-05-06 06:23:15 +04:00
|
|
|
install: all
|
1993-04-04 23:00:06 +04:00
|
|
|
@echo "Creating RPC service headers directory"
|
|
|
|
@/bin/rm -rf ${DESTDIR}/usr/include/rpcsvc
|
1993-05-05 22:45:25 +04:00
|
|
|
@-mkdir ${DESTDIR}/usr/include/rpcsvc
|
1993-04-04 23:00:06 +04:00
|
|
|
@echo "Installing RPC service header and definition files"
|
|
|
|
@for i in $(XFILES); do \
|
1993-05-05 22:45:25 +04:00
|
|
|
(install -c ${.CURDIR}/$$i ${DESTDIR}/usr/include/rpcsvc) done
|
1993-04-04 23:00:06 +04:00
|
|
|
@for i in $(HDRS); do \
|
1993-05-05 22:45:25 +04:00
|
|
|
(install -c $$i ${DESTDIR}/usr/include/rpcsvc) done
|
1993-04-26 09:04:58 +04:00
|
|
|
@for i in $(HFILES); do \
|
1993-05-05 22:45:25 +04:00
|
|
|
(install -c ${.CURDIR}/$$i ${DESTDIR}/usr/include/rpcsvc) done
|
|
|
|
@chown -R ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/rpcsvc
|
|
|
|
@chmod -R a-w ${DESTDIR}/usr/include/rpcsvc
|
1993-04-04 23:00:06 +04:00
|
|
|
|
|
|
|
.x.h:
|
|
|
|
@echo generating $@...
|
|
|
|
@PWD=`pwd` ; cd ${.CURDIR} ; ${RPCCOM} -h $*.x -o $$PWD/$@
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|