From owner-freebsd-questions Sun May 5 13:53:24 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA09179 for questions-outgoing; Sun, 5 May 1996 13:53:24 -0700 (PDT) Received: from boner.mrami.com (mramirez.sy.yale.edu [130.132.57.207]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id NAA09165 for ; Sun, 5 May 1996 13:53:19 -0700 (PDT) Received: (from mrami@localhost) by boner.mrami.com (8.7.5/8.6.9) id QAA29495; Sun, 5 May 1996 16:53:32 -0400 (EDT) Date: Sun, 5 May 1996 16:53:30 -0400 (EDT) From: Marc Ramirez To: questions@freebsd.org Subject: not stripping my world... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Call me crazy, but I want to leave the source filenames in my executables. I look through bsd.prog.mk and try the following: root[/usr/src]# export DEBUG_FLAGS=-g root[/usr/src]# make world This, in my estimation, should compile the programs with -g and undefine $(STRIP). But it dies when pre-cleaning strip: ===> usr.bin/strip "Makefile", line 11: Malformed conditional (${STRIP:M-s} != "") "Makefile", line 13: if-less endif "Makefile", line 13: Need an operator Fatal errors encountered -- cannot continue *** Error code 1 Is this expected or is it a bug? The following patch fixes the makefile: *** /usr/src/usr.bin/strip/Makefile.old Sun May 5 13:27:25 1996 --- /usr/src/usr.bin/strip/Makefile Sun May 5 13:27:38 1996 *************** *** 8,15 **** --- 8,17 ---- maybe_stripped: strip cp -p strip maybe_stripped + .ifdef STRIP .if ${STRIP:M-s} != "" ./strip maybe_stripped + .endif .endif install: maninstall Marc. -- An elephant is a mouse with an operating system.