Subject: Re: What's supposed to be in /usr/src?
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: None <JUENGST@saph2.physik.uni-bonn.de>
List: current-users
Date: 03/29/1994 22:13:55
> > OK, so I get all the /src tar_files from lamp and I dumped them into my
> > /usr/src.  When I'm done, there's no Makefile in /usr/src.  I have
> > indirect evidence that there certainly oughta be one, if not other things.
> 
> looks like only Makefile is missing -- you're right that it's not in
> the tar files...  i couldn't figure out a good one to put it in!
> 

I sent you (Chris) a Makefile (plus 2 included makefiles required as
subroutines, plus a very little documentation) which I'm using a long
time now. It does build the /usr/src tree and does handle the
problems which one has if there's any change e.g. in the linker, assembler,
compiler or make. And one can interrupt the make process at any time (or
it could be stopped by an error!) and it's possible to continue later
without rebuilding everything. But you just wrote me it's "*WRONG*"
without any additional argument. Sorry, but the stuff you sent now is
just for the wastebasket. I don't like to say that my Makefile is perfect,
but at the moment I don't see any better one.

> anyway, it's below for all of you who need it...
> 

I added my files at the end as uuencoded, gzipped tar file. Just cd /
(or anywhere else) and unpack it. It will create a subdirectory
usr/src/MakeWorld. You can move the directory anywhere else, if you want
(the Makefile will still work). I created a subdirectory, because it's
required for log files and stamp files (you can clean up everything with
make clean). If the make process will be interrupted you can use the
symbolic link last_job.log to have a look into the output of the last job.

Henry

> 
> 
> chris
> ==========================================================
> # This is a shell archive.  Save it in a file, remove anything before
> # this line, and then unpack it by entering "sh file".  Note, it may
> # create directories; files and directories will be owned by you and
> # have default permissions.
> #
> # This archive contains:
> #
> #	Makefile
> #
> echo x - Makefile
> sed 's/^X//' >Makefile << 'END-of-Makefile'
> X#	$Id: Makefile,v 1.18 1994/02/10 08:50:06 cgd Exp $
> X
> X# NOTE THAT etc *DOES NOT* BELONG IN THE LIST BELOW
> X
> XSUBDIR+= lib include bin libexec sbin usr.bin usr.sbin share games
> XSUBDIR+= gnu
> X
> XSUBDIR+= sys
> X
> X.if exists(regress)
> X.ifmake !(install)
> XSUBDIR+= regress
> X.endif
> X
> Xregression-tests:
> X	@echo Running regression tests...
> X	@(cd regress && ${MAKE} regress)
> X.endif
> X
> Xafterinstall:
> X	(cd share/man && ${MAKE} makedb)
> X
> Xbuild:
> X	(cd include && ${MAKE} install)
> X	${MAKE} cleandir
> X	(cd lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
> X	(cd gnu/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
> X.if exists(kerberosIV)
> X	(cd kerberosIV && ${MAKE} depend && ${MAKE} && ${MAKE} install)
> X.endif
> X	${MAKE} depend && ${MAKE} && ${MAKE} install
> X
> X.include <bsd.subdir.mk>
> END-of-Makefile
> exit

begin 644 makeworld.tar.gz
M'XL(".-B@"T" VUA:V5W;W)L9"YT87( [1G9<ALW4J_"5_167"&Y)0YOJ6RO
M79(MQU'6QY:M5&HKFY+F ,DQAP-F#LO,0[Y]NP',0<Z0(BU9#PFZ2IP9](%&
M7VA :1QUXLCMO+5G_!<1!5[GX-X! $Y&(Z!G;]15SZ'ZUM %&(T&)_WNL-\?
M('8P[/8/8'3P )#&B1T!''Q*>3B)DXUTL;V8^M'!7PW2BO_I;>P'_%[]?SP<
M;O3_R:#;4_X_[G<')R.BZ@U&!] U_O_F\%WF;A!C>,>3%Q_/(8\%]MWEU(]!
MHO&Y2)W =\$3<]L/+?CU1QY&2WAMP4_*=K\Q9@<!/ $_]!/?#N"&A$"<NBZ/
M8\:RX2?P/P9H]L1WKS#^KAP_O)KCG,7H)$QS3.#5CT_L> /"=?N$F=H1OYK/
M&*L5NE6+;:PX[RZ\FQ93+Q-5OHO0C1;"V33K1O&,*3=)O':1?'.#U*/)263@
M._BF?BM35[U2XPXMA7_AKI*DWR(^B3 Z5IGP2_T6WW$QH%_ERHC/GO.,7[XS
MIB>3H2B7P5:_*J&0,> ?JSI[(U:Y;1VM%[>&J1\MB5O#5$?JZ>)ZPIIA:;#5
ML<S 3!IN$RXS[ 9\D=CL,!&I.\W"* ^M;%Q^YAE0CD*B>=1\>_;O5RW YP]O
MSEY_;$%[#%E]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8,"  0,&
A#!@P8,"  0,&#!@P8,"  0,&#!CX6\#_ 3F2#J  4   
 
end

--
juengst@saph2.physik.uni-bonn.de   [131.220.221.12]  (internet)
juengst@boss1.physik.uni-bonn.de   [131.220.221.30]
saph2::juengst                     [13.259]          (decnet)

Any opinions in this mail are my own.

------------------------------------------------------------------------------