*BSD News Article 55275


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!swrinde!newsfeed.internetmci.com!in1.uu.net!EU.net!Germany.EU.net!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!not-for-mail
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc,comp.unix.advocacy,comp.unix.misc,comp.unix.pc-clone.32bit
Subject: Re: BSD make
Date: 18 Nov 1995 12:48:59 +0100
Organization: Private FreeBSD site, Dresden.
Lines: 36
Message-ID: <48kh7b$kqk@uriah.heep.sax.de>
References: <489kuu$rbo@pelican.cs.ucla.edu> <30A9C704.5D0C6A5@FreeBSD.org> <DI37qp.Jyo@ritz.mordor.com> <48dnoj$55s@nntp5.u.washington.edu>
NNTP-Posting-Host: uriah.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:9180 comp.unix.advocacy:11193 comp.unix.misc:19606 comp.unix.pc-clone.32bit:8868

Clint Olsen <olsenc@kodiak.ee.washington.edu> wrote:

I find that BSD make is a big pain in the ass.  If GNU ever adds the BSD
>extensions to make, I will be free from this beast forever.  Yes, some of 
>the ports are plug and pray :)

You miss the most important fact of BSD make though: the features that
make building an entire operating system really easy.  The usual
Makefile for a BSD program named "foo" is just:

PROG=foo

.include <bsd.prog.mk>

...assuming that there's a foo.c and a foo.1 around.

Consider the various weird cases (does this system have US-export-
restricted crypto stuff around?  does this system have
/usr/src/include, or do we have to use /usr/include? etc.), and you
would really love BSD make. :-)

I've been using both makes.

p.s.: In case you are refering to the complaint of FreeBSD 2.0.5's
make utility about lines consisting of a sole TAB, this has been
removed since it was actually in violation of Posix.  Anyway, these
lines _are_ bogus (strictly following the rules of Posix, an empty
shell command must be called for each of them!), and one of the most
important offenders that seems to create such lines is GNU configure.
This doesn't make GNU make better, it only shows that `configure'
needs to be fixed.
-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)