[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: bsd.prog.mk
From:       "Rodney W. Grimes" <rgrimes () gndrsh ! aac ! dev ! com>
Date:       1994-12-31 8:44:25
[Download RAW message or body]

> 
> 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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic