Subject: bin/992: Makefile targets in sbin/route
To: None <gnats-admin@NetBSD.ORG>
From: None <darcy@druid.com>
List: netbsd-bugs
Date: 04/25/1995 13:50:07
>Number:         992
>Category:       bin
>Synopsis:       Small change to target list for keywords.h
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 25 13:50:05 1995
>Originator:     D'Arcy J.M. Cain
>Organization:
Planix, Inc.
>Release:        NetBSD-current
>Environment:
	486/33
	NetBSD
	i386
System: NetBSD druid 1.0A NetBSD 1.0A (DRUID) #11: Sun Apr 23 17:26:28 EDT 1995 root@druid:/usr/src/sys.OLD/arch/i386/compile/DRUID i386


>Description:
	In the Makefile for sbin/route, line 22 should be changed from
		route .depend lint tags: keywords.h  
	to
		route.o .depend lint tags: keywords.h  

	The real dependency is the .o file, not the executible.  This would
	normally not be a problem unless you try to build route.o by itself.
	This happened to me when I tried to build a distribution floppy
	from a clean source tree.  It tries to build all the objects but
	fails in route because of the missing header.
>How-To-Repeat:
	Run "make clean" in .../sbin/route and .../distrib/i386/floppies/inst
	and run make in .../distrib/i386/floppies/inst.  Note that you
	may have to run make twice in the inst directory.  This is
	another problem but I haven't followed it up yet.
>Fix:
	change the line in the route Makefile as above.
>Audit-Trail:
>Unformatted: