Subject: bin/978: sbin/route/Makefile has wrong dependancy
To: None <gnats-admin@NetBSD.ORG>
From: None <jhawk@MIT.EDU>
List: netbsd-bugs
Date: 04/19/1995 01:50:03
>Number:         978
>Category:       bin
>Synopsis:       sbin/route/Makefile has wrong dependancy
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 19 01:50:01 1995
>Originator:     John Hawkinson
>Organization:
MIT
>Release:        Pretty much -current as of a week ago.
>Environment:
	
System: NetBSD lola-granola 1.0A NetBSD 1.0A (LOLA) #0: Tue Apr 18 07:10:36 EDT 1995 mycroft@limekiller:/afs/sipb.mit.edu/project/netbsd/dev/current-source/test/src/sys/arch/i386/compile/LOLA i386


>Description:

	/usr/src/sbin/route/Makefile indicates that ``route'' depends
	upon keywords.h, but in reality it's ``route.o''. As a result,
	when route.o is being made by crunchgen's Makefile and a route
	binary does not exist, the make fails.

>How-To-Repeat:

	cd /usr/src/sbin/route
	make route.o

>Fix:

*** /usr/src/sbin/route/Makefile	1995/04/19 08:41:32	1.1
--- /usr/src/sbin/route/Makefile	1995/04/19 08:41:44
***************
*** 19,24 ****
  	    > ${.TARGET}
  	rm -f _keywords.tmp
  
! route .depend lint tags: keywords.h
  
  .include <bsd.prog.mk>
--- 19,24 ----
  	    > ${.TARGET}
  	rm -f _keywords.tmp
  
! route.o .depend lint tags: keywords.h
  
  .include <bsd.prog.mk>

>Audit-Trail:
>Unformatted: