diff options
author | phk <phk@FreeBSD.org> | 1995-03-01 08:04:40 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-03-01 08:04:40 +0000 |
commit | 0a61285bfe0be88efcb36842c693e255ed0c7fb8 (patch) | |
tree | c470bd38c198e7f2f5c523aad395a300d25470b9 | |
parent | 01c91136db073bac75241cecebf759921c69c06d (diff) | |
download | FreeBSD-src-0a61285bfe0be88efcb36842c693e255ed0c7fb8.zip FreeBSD-src-0a61285bfe0be88efcb36842c693e255ed0c7fb8.tar.gz |
The current bootparamd makefiles break if you do a make obj first. It does
work if you don't have the obj link. Here is a patch for it. It will still
work if you don't have an obj link:)
(I stuck a ${DESTDIR} in front of the absolute path to /usr/include... /phk)
Reviewed by: phk
Submitted by: John Hay <jhay@mikom.csir.co.za>
-rw-r--r-- | usr.sbin/bootparamd/bootparamd/Makefile | 25 | ||||
-rw-r--r-- | usr.sbin/bootparamd/callbootd/Makefile | 24 |
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> |