NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: What is BSD make?

On Sun, Oct 12, 2008 at 11:01:38AM -0400, Greg A. Woods; Planix, Inc. wrote:
> On 11-Oct-08, at 8:29 AM, Aleksey Cheusov wrote:
> >9) I'm looking for system (replacement for automake/libtool/make)
> >  where I can write declarative Makefiles, just like that I can write
> >  with <bsd.*.mk> scripts and BSD makes, but with problems mentioned
> >  above solved. Any suggestions?  I don't want to reimplement the
> >  wheel and implement such scripts manually.
> Me too!

FWIW, I needed something like that and didn't want neither autohell. I
ended with this:

(RISK is for Reduced Instruction Set toolKit... and this is just the
compiler/installer part)

It takes whatever make you have.

is able to "save space" that is to compile and remove intermediary files
as it goes, thus reducing the size requirements.

can take read-only sources, and can compile outside of the source dir.

can do cross-compiling.

can compile on all the *BSD, the Linuces, and even MacOSX (others are
trivial to add by Bourne shell variables [sourced files]).

doesn't ask/search ad nauseam "features" that are known for this pair:

creates a tarball with a bourne shell script to install on the target
setting permission and owners and so on (could have been mtree), with
pre-install and post-install scripts and generic shell functions to
create accounts and so on.

I have spent less time writing this than trying to understand how to use
autohell (not to say that once you know how to use this thing, you do
not know what it is trying to do i.e. you do not have hints about what
compiling, linking and so on is; same goes for TeX versus LaTeX: it
takes less time to learn how to use the full TeX, than to try to learn
how to use LaTeX without knowing what is TeX indeed---and being unable
to correct things if things go wrong).

The documentation is the comments in the scripts.

And an example of use is the config/ subdirectory of the kergis package
(a tarball is at the same address).

Thierry Laronde (Alceste) <tlaronde +AT+ polynum +dot+ com>
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C

Attachment: pgpIdXczKtTNV.pgp
Description: PGP signature

Home | Main Index | Thread Index | Old Index