Date: Sun, 16 Feb 1997 12:45:39 -0800 (PST) From: Paul Traina <pst@jnx.com> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/2748: NOOBJ conflict in bsd.prog.mk and bsd.obj.mk Message-ID: <199702162045.MAA25327@base.jnx.com> Resent-Message-ID: <199702162050.MAA26163@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 2748 >Category: bin >Synopsis: NOOBJ conflict in bsd.prog.mk and bsd.obj.mk >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Feb 16 12:50:01 PST 1997 >Last-Modified: >Originator: Paul Traina >Organization: Juniper Networks >Release: FreeBSD 2.2-CURRENT i386 >Environment: 2.2 -CURRENT >Description: Setting NOOBJ is used to tell bsd.obj.mk to not screw with object directories. Setting NOOBJ is used to tell bsd.org.mk to not automaticly create OBJS= lines from the SRCS= lines. If you try to disable the warning for object directories using NOOBJ, you cannot build a program. This makes the 4bsd makefiles either spew garbage warnings or bitch. >How-To-Repeat: cd /usr/src/bin/cat make NOOBJ=yes >Fix: Change NOOBJ to NOOBJDIR everywhere it occurs in bsd.obj.mk. sed -s 's/NOOBJ/NOOBJDIR/g' /usr/src/share/mk/bsd.obj.mk >\ /usr/src/share/mk/bsd.obj.mk >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702162045.MAA25327>