Subject: Re: What's supposed to be in /usr/src?
To: - Greg Earle <earle@isolar.Tujunga.CA.US>
From: Chris G. Demetriou <cgd@postgres.Berkeley.EDU>
List: current-users
Date: 03/27/1994 20:38:53
> 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!

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



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

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