summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpc.bootparamd
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>2003-07-21 19:57:52 +0000
committermickey <mickey@openbsd.org>2003-07-21 19:57:52 +0000
commitc4b047ba8a4163bb9cadca4ce1ccbcdd17c1a0dd (patch)
tree5f2e2d3b5a0c566f45d452d21d5e7873b6cbac16 /usr.sbin/rpc.bootparamd
parentuse __progname (diff)
downloadwireguard-openbsd-c4b047ba8a4163bb9cadca4ce1ccbcdd17c1a0dd.tar.xz
wireguard-openbsd-c4b047ba8a4163bb9cadca4ce1ccbcdd17c1a0dd.zip
do not symlink .x file -- build right out of include dir and only link .h; deraadt@ ok
Diffstat (limited to 'usr.sbin/rpc.bootparamd')
-rw-r--r--usr.sbin/rpc.bootparamd/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/usr.sbin/rpc.bootparamd/Makefile b/usr.sbin/rpc.bootparamd/Makefile
index aa7e7be503d..65d1aa93556 100644
--- a/usr.sbin/rpc.bootparamd/Makefile
+++ b/usr.sbin/rpc.bootparamd/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.7 2003/07/06 21:34:10 deraadt Exp $
+# $OpenBSD: Makefile,v 1.8 2003/07/21 19:57:52 mickey Exp $
.include <bsd.own.mk>
@@ -20,12 +20,9 @@ DPADD= ${LIBRPCSVC}
LDADD= -lrpcsvc
bootparam_prot_svc.c: ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x
- rm -f bootparam_prot.x
- ln -s ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x .
- rm -f bootparam_prot.h
- ln -s ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.h .
- rpcgen -C -m -o $@ bootparam_prot.x
+ ln -fs ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.h .
+ rpcgen -C -m -o $@ $>
-CLEANFILES += bootparam_prot_svc.c bootparam_prot.x bootparam_prot.h
+CLEANFILES += bootparam_prot_svc.c bootparam_prot.h
.include <bsd.prog.mk>