From owner-freebsd-hackers Sat Dec 31 00:45:02 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id AAA17221 for hackers-outgoing; Sat, 31 Dec 1994 00:45:02 -0800 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id AAA17204 for ; Sat, 31 Dec 1994 00:44:58 -0800 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.8/8.6.6) id AAA14774; Sat, 31 Dec 1994 00:44:26 -0800 From: "Rodney W. Grimes" Message-Id: <199412310844.AAA14774@gndrsh.aac.dev.com> Subject: Re: bsd.prog.mk To: freebsd@neon.gbdata.com (FreeBSD Mailing lists) Date: Sat, 31 Dec 1994 00:44:25 -0800 (PST) Cc: freebsd-hackers@freefall.cdrom.com In-Reply-To: <199412310629.AAA08151@neon.gbdata.com> from "FreeBSD Mailing lists" at Dec 31, 94 00:29:51 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1497 Sender: hackers-owner@freebsd.org Precedence: bulk > > Hi, > > Would any object to putting a check for a "NOTBIN" variable to allow for > none c/as/whatever source? My perl scripts for things like adding users > and configing a kernel do NOT need to be compiled!! And from looking at > bsd.prog.mk, I can't tell how to allow make to just pass over it. This is not a good idea, why do I say that, well, bsd.prog.mk is for BUILDING programs, and for that job only. If your source area does not have c/as/* source in it your Makefile should *NOT* include bsd.prog.mk. Now, this is a real problem right now as we do not yet have bsd.file.mk in the source tree (something I wrote to handle just the situation you have with adduser right now). In the interim please look at /usr/src/include/Makefile or /usr/src/usr.bin/lorder for samples as to how to do this under the current .mk files. I will convert this stuff when I ever get back to finishing a new set of .mk files (I put this on the back burner, and now after 3 months of using the OSF/1 versions of this things I have decided that my work was okay, but could be a lot smarter and a lot neater). > Thanks to the people who reported it to me. > (Thats why I wanted people to look at the make file...) So for now.. see the sighted sample files and please do what they do, I though Bruce already went in and fixed this all up.... -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD