Subject: Re: Makefile compatibility (NetBSD<-->MkLinux)
To: None <port-mac68k@NetBSD.ORG>
From: Brian R. Gaeke <brg@laird.ccds.cincinnati.oh.us>
List: port-mac68k
Date: 08/21/1996 05:56:01
And then spake Bill Studenmund as follows:
> > Since those makefile includes appear to be BSD'isms, and work just fine
> > under NetBSD, I have three questions:
> > 1. are those actually in separate makefiles somewhere or are they some
> > strange, semi-implicit rules?
> > 2. if they're actually makefiles in themselves, is there any reason that I
> > couldn't include them as part of a not-for-profit distribution to allow
> > compatibility with non-BSD systems?  Are there copyright issues involved?
> > 3. are they likely to work under Linux (a semi-BSD system) with GNU make?
> Check for bmake (Berkeley make), which I think GNU or Linux has.

Actually, GNU does not distribute Berkeley make (known outside the BSD world
as pmake). It is not difficult to hack it to work on Linux, however.
Pmake looks for its configuration and template files (bsd.prog.mk, etc.)
in /usr/share/mk. They are under BSD copyright just like everything else,
but they are heavily pmake-dependent. If you are going to be distributing
stuff your makefiles should probably not use any special features of
either BSD pmake or GNU make.

-Brian

-- 
Brian R. Gaeke <brg@laird.ccds.cincinnati.oh.us> - Ask me for my PGP public key!
"If I were a blue spider, I would certainly ride on a train all the way from
Avallon to Paris, and I would set up my house on the nose of a chocolate
penguin. It's just a matter of common sense." James Wright, "Against Surrealism"