Subject: misc/770: Makefile errors
To: None <gnats-admin@NetBSD.ORG>
From: None <niklas@appli.se>
List: netbsd-bugs
Date: 01/30/1995 03:35:16
>Number: 770
>Category: misc
>Synopsis: "make obj" in root the root gives errors
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: misc-bug-people (Misc Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jan 30 03:35:06 1995
>Originator: Niklas Hallqvist
>Organization:
Niklas Hallqvist Phone: +46-(0)31-40 75 00
Applitron Datasystem Fax: +46-(0)31-83 39 50
Molndalsvagen 95 Email: niklas@appli.se
S-412 63 GOTEBORG WWW: Here
Sweden
>Release: 950127
>Environment:
Any NetBSD source tree
>Description:
The following Makefiles gives "missing operator" on the obj target
lib/libc/Makefile
share/termcap/Makefile
Makefile
regress/sys/kern/execve/Makefile
>How-To-Repeat:
"make obj" in the root of the NetBSD source tree
>Fix:
My patches follow:
===================================================================
RCS file: /home2/CVSROOT/NetBSD/lib/libc/Makefile,v
retrieving revision 1.1.1.3
diff -c -p -r1.1.1.3 Makefile
*** 1.1.1.3 1995/01/11 00:10:27
--- Makefile 1995/01/30 11:41:18
*************** rm-from-libkern:
*** 71,75 ****
.if defined(KMSRCS) && !empty(KMSRCS)
for i in ${KMSRCS}; do rm -f ${LIBKERN}/arch/${MACHINE_ARCH}/$$i; done
.endif
!
.include <bsd.lib.mk>
--- 71,75 ----
.if defined(KMSRCS) && !empty(KMSRCS)
for i in ${KMSRCS}; do rm -f ${LIBKERN}/arch/${MACHINE_ARCH}/$$i; done
.endif
!
.include <bsd.lib.mk>
===================================================================
RCS file: /home2/CVSROOT/NetBSD/share/termcap/Makefile,v
retrieving revision 1.1.1.3
diff -c -p -r1.1.1.3 Makefile
*** 1.1.1.3 1994/12/29 02:05:50
--- Makefile 1995/01/30 11:43:37
*************** realinstall:
*** 24,28 ****
install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/map3270 \
${DESTDIR}${BINDIR}/misc
-
.include <bsd.prog.mk>
--- 24,27 ----
===================================================================
RCS file: /home2/CVSROOT/NetBSD/Makefile,v
retrieving revision 1.1
diff -c -p -r1.1 Makefile
*** 1.1 1995/01/01 11:17:06
--- Makefile 1995/01/30 11:46:07
*************** regression-tests:
*** 17,23 ****
@(cd regress && ${MAKE} regress)
.endif
! .include <bsd.own.mk> # for NOMAN, if it's there.
afterinstall:
.ifndef NOMAN
--- 17,24 ----
@(cd regress && ${MAKE} regress)
.endif
! # for NOMAN, if it's there.
! .include <bsd.own.mk>
afterinstall:
.ifndef NOMAN
===================================================================
RCS file: /home2/CVSROOT/NetBSD/regress/sys/kern/execve/Makefile,v
retrieving revision 1.1.1.4
diff -c -p -r1.1.1.4 Makefile
*** 1.1.1.4 1995/01/28 12:19:05
--- Makefile 1995/01/30 11:53:06
*************** truncaout: goodaout
*** 53,59 ****
/bin/rm -rf truncaout
dd if=${.OBJDIR}/goodaout of=truncaout bs=16 count=1
chmod a+x truncaout
!
test-truncaout: ${PROG} truncaout
${RP} ${.OBJDIR}/truncaout | diff - ${OD}/truncaout
--- 53,59 ----
/bin/rm -rf truncaout
dd if=${.OBJDIR}/goodaout of=truncaout bs=16 count=1
chmod a+x truncaout
!
test-truncaout: ${PROG} truncaout
${RP} ${.OBJDIR}/truncaout | diff - ${OD}/truncaout
>Audit-Trail:
>Unformatted: