Subject: misc/173: Request for enhancement to /usr/src/Makefile
To: None <gnats-admin>
From: None <sjr@zombie.ncsc.mil>
List: netbsd-bugs
Date: 03/19/1994 11:20:02
>Number:         173
>Category:       misc
>Synopsis:       Request for enhancement to /usr/src/Makefile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (Misc Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 19 11:20:01 1994
>Originator:     Stephen J. Roznowski
>Organization:
Beyond the Great Beyond
>Release:        NetBSD-current
>Environment:

System:	NetBSD xxx 0.9a A3000#2 amiga
Architecture: amiga

>Description:

	I'd like to see the following added to the "make build" target
	of the top-level makefile. Date commands at the top and bottom
	to see how long it takes to compile (or how much time remains
	if the build output has been redirected).

	Additionally, should the C compiler be rebuilt during this
	stage? As I see it, the building should occur in the following
	way:
		1. New includes installed.
		2. New libraries are built using old compiler.
		3. New C compiler built using new libraries.
		4. Everything rebuilt using new includes,
		   libraries, C compiler.
	
	Where #3 is the new step.

>How-To-Repeat:
>Fix:

*** Makefile.orig	Thu Feb 10 10:56:45 1994
--- Makefile	Sat Mar 19 13:50:04 1994
***************
*** 21,33 ****
--- 21,37 ----
  	(cd share/man && ${MAKE} makedb)
  
  build:
+ 	@date
  	(cd include && ${MAKE} install)
  	${MAKE} cleandir
  	(cd lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
  	(cd gnu/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
+ 	(cd gnu/usr.bin/gcc2 && ${MAKE} depend && ${MAKE} && ${MAKE} install)
+ 	${MAKE} cleandir
  .if exists(kerberosIV)
  	(cd kerberosIV && ${MAKE} depend && ${MAKE} && ${MAKE} install)
  .endif
  	${MAKE} depend && ${MAKE} && ${MAKE} install
+ 	@date
  
  .include <bsd.subdir.mk>


>Audit-Trail:
>Unformatted:


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