Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Dec 1994 00:44:25 -0800 (PST)
From:      "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com>
To:        freebsd@neon.gbdata.com (FreeBSD Mailing lists)
Cc:        freebsd-hackers@freefall.cdrom.com
Subject:   Re: bsd.prog.mk
Message-ID:  <199412310844.AAA14774@gndrsh.aac.dev.com>
In-Reply-To: <199412310629.AAA08151@neon.gbdata.com> from "FreeBSD Mailing lists" at Dec 31, 94 00:29:51 am

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199412310844.AAA14774>