summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bootparamd
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bootparamd')
-rw-r--r--usr.sbin/bootparamd/bootparamd/Makefile25
-rw-r--r--usr.sbin/bootparamd/callbootd/Makefile24
2 files changed, 22 insertions, 27 deletions
diff --git a/usr.sbin/bootparamd/bootparamd/Makefile b/usr.sbin/bootparamd/bootparamd/Makefile
index fbfdc42..a8fcc3b 100644
--- a/usr.sbin/bootparamd/bootparamd/Makefile
+++ b/usr.sbin/bootparamd/bootparamd/Makefile
@@ -1,29 +1,26 @@
# from: @(#)Makefile 5.8 (Berkeley) 7/28/90
-# $Id: Makefile,v 1.1 1994/08/08 01:03:57 wollman Exp $
+# $Id: Makefile,v 1.1.1.1 1995/02/26 23:40:52 wpaul Exp $
PROG= bootparamd
SRCS= bootparam_prot_xdr.c bootparam_prot_svc.c bootparamd.c main.c
MAN8= bootparamd.8
-CFLAGS+= -DTFTP_DIR=\"/tftpboot\"
+CFLAGS+= -DTFTP_DIR=\"/tftpboot\" -I.
CLEANFILES= bootparam_prot_svc.c bootparam_prot_xdr.c \
bootparam_prot.h bootparam_prot.x
bootparam_prot_svc.c: bootparam_prot.h
- rm -f ${.CURDIR}/bootparam_prot.x
- cp /usr/include/rpcsvc/bootparam_prot.x ${.CURDIR}
- rpcgen -m -o ${.CURDIR}/bootparam_prot_svc.c \
- ${.CURDIR}/bootparam_prot.x
+ rm -f bootparam_prot.x
+ cp ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x .
+ rpcgen -m -o bootparam_prot_svc.c bootparam_prot.x
bootparam_prot_xdr.c: bootparam_prot.h
- rm -f ${.CURDIR}/bootparam_prot.x
- cp /usr/include/rpcsvc/bootparam_prot.x ${.CURDIR}
- rpcgen -c -o ${.CURDIR}/bootparam_prot_xdr.c \
- ${.CURDIR}/bootparam_prot.x
+ rm -f bootparam_prot.x
+ cp ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x .
+ rpcgen -c -o bootparam_prot_xdr.c bootparam_prot.x
bootparam_prot.h:
- rm -f ${.CURDIR}/bootparam_prot.x
- cp /usr/include/rpcsvc/bootparam_prot.x ${.CURDIR}
- rpcgen -h -o ${.CURDIR}/bootparam_prot.h \
- ${.CURDIR}/bootparam_prot.x
+ rm -f bootparam_prot.x
+ cp ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x .
+ rpcgen -h -o bootparam_prot.h bootparam_prot.x
.include <bsd.prog.mk>
diff --git a/usr.sbin/bootparamd/callbootd/Makefile b/usr.sbin/bootparamd/callbootd/Makefile
index 9be4af3..b54e8d5 100644
--- a/usr.sbin/bootparamd/callbootd/Makefile
+++ b/usr.sbin/bootparamd/callbootd/Makefile
@@ -1,28 +1,26 @@
# from: @(#)Makefile 5.8 (Berkeley) 7/28/90
-# $Id: Makefile,v 1.1 1994/08/08 01:03:57 wollman Exp $
+# $Id: Makefile,v 1.1.1.1 1995/02/26 23:40:53 wpaul Exp $
PROG= callbootd
SRCS= bootparam_prot_xdr.c bootparam_prot_clnt.c callbootd.c
NOMAN=
+CFLAGS+= -I.
CLEANFILES= bootparam_prot_clnt.c bootparam_prot_xdr.c \
bootparam_prot.h bootparam_prot.x
bootparam_prot_clnt.c: bootparam_prot.h
- rm -f ${.CURDIR}/bootparam_prot.x
- cp /usr/include/rpcsvc/bootparam_prot.x ${.CURDIR}
- rpcgen -l -o ${.CURDIR}/bootparam_prot_clnt.c \
- ${.CURDIR}/bootparam_prot.x
+ rm -f bootparam_prot.x
+ cp ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x .
+ rpcgen -l -o bootparam_prot_clnt.c bootparam_prot.x
bootparam_prot_xdr.c: bootparam_prot.h
- rm -f ${.CURDIR}/bootparam_prot.x
- cp /usr/include/rpcsvc/bootparam_prot.x ${.CURDIR}
- rpcgen -c -o ${.CURDIR}/bootparam_prot_xdr.c \
- ${.CURDIR}/bootparam_prot.x
+ rm -f bootparam_prot.x
+ cp ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x .
+ rpcgen -c -o bootparam_prot_xdr.c bootparam_prot.x
bootparam_prot.h:
- rm -f ${.CURDIR}/bootparam_prot.x
- cp /usr/include/rpcsvc/bootparam_prot.x ${.CURDIR}
- rpcgen -h -o ${.CURDIR}/bootparam_prot.h \
- ${.CURDIR}/bootparam_prot.x
+ rm -f bootparam_prot.x
+ cp ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x .
+ rpcgen -h -o bootparam_prot.h bootparam_prot.x
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud