From owner-freebsd-current Tue Feb 28 23:39:29 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id XAA10634 for current-outgoing; Tue, 28 Feb 1995 23:39:29 -0800 Received: from zibbi.mikom.csir.co.za (zibbi.mikom.csir.co.za [146.64.24.58]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id XAA10600 for ; Tue, 28 Feb 1995 23:38:43 -0800 Received: (from jhay@localhost) by zibbi.mikom.csir.co.za (8.6.9/8.6.6) id JAA00266 for current@FreeBSD.ORG; Wed, 1 Mar 1995 09:37:53 +0200 From: John Hay Message-Id: <199503010737.JAA00266@zibbi.mikom.csir.co.za> Subject: broken bootparamd makefiles To: current@FreeBSD.org Date: Wed, 1 Mar 1995 09:37:52 +0200 (SAT) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 3862 Sender: current-owner@FreeBSD.org Precedence: bulk Hi, 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:) -- John Hay -- jhay@mikom.csir.co.za *** src/usr.sbin/bootparamd/bootparamd/Makefile.org Mon Feb 27 01:40:52 1995 --- src/usr.sbin/bootparamd/bootparamd/Makefile Wed Mar 1 09:36:25 1995 *************** *** 4,29 **** PROG= bootparamd SRCS= bootparam_prot_xdr.c bootparam_prot_svc.c bootparamd.c main.c MAN8= bootparamd.8 ! CFLAGS+= -DTFTP_DIR=\"/tftpboot\" 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 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 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 .include --- 4,26 ---- PROG= bootparamd SRCS= bootparam_prot_xdr.c bootparam_prot_svc.c bootparamd.c main.c MAN8= bootparamd.8 ! 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 bootparam_prot.x ! cp /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 bootparam_prot.x ! cp /usr/include/rpcsvc/bootparam_prot.x . ! rpcgen -c -o bootparam_prot_xdr.c bootparam_prot.x bootparam_prot.h: ! rm -f bootparam_prot.x ! cp /usr/include/rpcsvc/bootparam_prot.x . ! rpcgen -h -o bootparam_prot.h bootparam_prot.x .include *** src/usr.sbin/bootparamd/callbootd/Makefile.org Mon Feb 27 01:40:53 1995 --- src/usr.sbin/bootparamd/callbootd/Makefile Wed Mar 1 09:22:53 1995 *************** *** 4,28 **** PROG= callbootd SRCS= bootparam_prot_xdr.c bootparam_prot_clnt.c callbootd.c NOMAN= 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 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 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 .include --- 4,26 ---- 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 bootparam_prot.x ! cp /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 bootparam_prot.x ! cp /usr/include/rpcsvc/bootparam_prot.x . ! rpcgen -c -o bootparam_prot_xdr.c bootparam_prot.x bootparam_prot.h: ! rm -f bootparam_prot.x ! cp /usr/include/rpcsvc/bootparam_prot.x . ! rpcgen -h -o bootparam_prot.h bootparam_prot.x .include