summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/rpcsvc/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/include/rpcsvc/Makefile b/include/rpcsvc/Makefile
index e9acb6d..69190a2 100644
--- a/include/rpcsvc/Makefile
+++ b/include/rpcsvc/Makefile
@@ -1,10 +1,9 @@
# from: @(#)Makefile 2.3 88/08/11 4.0 RPCSRC
-# $Id: Makefile,v 1.8 1996/06/05 03:47:18 wpaul Exp $
+# $Id: Makefile,v 1.9 1996/08/29 19:59:48 peter Exp $
.SUFFIXES: .x
RPCCOM = rpcgen
-BINMODE = 444
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 \
@@ -19,16 +18,13 @@ CLEANFILES+= ${HDRS}
all: ${HDRS}
install: ${HDRS}
- cd ${.CURDIR} && \
- ${INSTALL} -C -m ${BINMODE} -o ${BINOWN} -g ${BINGRP} \
- ${HFILES} ${DESTDIR}/usr/include/rpcsvc
- cd ${.CURDIR} && \
- ${INSTALL} -c -m ${BINMODE} -o ${BINOWN} -g ${BINGRP} \
- ${XFILES} ${DESTDIR}/usr/include/rpcsvc
- ${INSTALL} -c -m ${BINMODE} -o ${BINOWN} -g ${BINGRP} ${HDRS} \
+ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
+ ${HFILES:S;^;${.CURDIR}/;} \
+ ${XFILES:S;^;${.CURDIR}/;} \
+ ${HDRS} \
${DESTDIR}/usr/include/rpcsvc
.x.h:
- cd ${.CURDIR} ; ${RPCCOM} -h $*.x -o ${.OBJDIR}/$@
+ ${RPCCOM} -h ${.IMPSRC} -o ${.TARGET}
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud