*BSD News Article 48660


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!swidir.switch.ch!scsing.switch.ch!news.belwue.de!news.dfn.de!Germany.EU.net!howland.reston.ans.net!gatech!usenet.eel.ufl.edu!col.hp.com!sony!nntp-sc.barrnet.net!netapp.com!netapp.com!not-for-mail
From: guy@netapp.com (Guy Harris)
Newsgroups: comp.sys.sun.admin,comp.unix.solaris,comp.unix.bsd.bsdi.misc
Subject: Re: You can tune a file system, but you can't tune a fish
Date: 14 Aug 1995 18:20:54 -0700
Organization: Network Appliance Corporation
Lines: 32
Distribution: inet
Message-ID: <40ospm$p5@nova.netapp.com>
References: <405hjb$llr@news.jhu.edu> <40nfkn$f43@centralnews1.Central.Sun.COM> <40o73o$r6r@nova.netapp.com> <40odic$fce@engnews2.Eng.Sun.COM>
NNTP-Posting-Host: 192.9.200.13
Xref: euryale.cc.adfa.oz.au comp.sys.sun.admin:50998 comp.unix.solaris:43276 comp.unix.bsd.bsdi.misc:561

Stuart Marks <smarks@Eng.Sun.COM> wrote:
>Those of you who wish to re-create the TECO behavior on Solaris
>can do the following:
>
>	$ cat >> /usr/share/lib/make/make.rules
>
>	love:
>		@echo 'NOT WAR?'
>	^D

Well, on Solaris 2.x, anyway.

On Solaris 1.x, and on those SunOS 4.x releases that came out before
Sun's marketoons decided to call SunOS plus OpenWindows "Solaris", put
that in "/usr/include/make/default.mk" instead.

(And don't expect it to work if "make" refers to GNU "make" in your
environment.)

Unfortunately, that means that, if you have a Makefile that *does* have
a rule for "love", "make" will whine about there being "Too many rules
defined for target love", and, it appears, will execute only the ones in
the system make rules file (the file you just changed).

>> ("/usr/old/make", in SunOS 4.x, is basically an SVR2 "make", which is
>> derived from the original Bell Labs "make".  "/usr/bin/make" is Soren
>> Stjarna's rewrite, which doesn't have quite as amusing a message:
>
>That's Soren Tirfing.  "Stjarna" was his hostname.

"Soren Stjarna", "soren@stjarna", hey, they're almost the same, right?
:-)