Subject: kern/2387: `make clean' doesn't remove lib/kern/libkern.o
To: None <gnats-bugs@NetBSD.ORG>
From: Paul Goyette <paul@pgoyette.bdt.com>
List: netbsd-bugs
Date: 05/10/1996 05:24:18
>Number:         2387
>Category:       kern
>Synopsis:       `make clean' doesn't remove lib/kern/libkern.o
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 10 08:35:01 1996
>Last-Modified:
>Originator:     Paul Goyette
>Organization:
	
>Release:        9-May-1996
>Environment:
System: NetBSD pgoyette.bdt.com 1.1B NetBSD 1.1B (PGOYETTE) #22: Sat May 4 19:36:06 PDT 1996 paul@pgoyette.bdt.com:/home/paul/src/sys/arch/mac68k/compile/PGOYETTE mac68k


>Description:
	`make clean' in kernel compilation directory does not remove
	lib/kern/libkern.o
>How-To-Repeat:
	type `make clean' in your ..../compile/<kernel> directory, then
	`ls lib/kern'
>Fix:
	Apply following patch to src/sys/lib/kern/Makefile:

*** Makefile	Sat Apr 20 05:02:18 1996
--- Makefile.new	Fri May 10 05:13:09 1996
***************
*** 25,30 ****
--- 25,33 ----
  # Other stuff
  SRCS+=	
  
+ # Files to clean up
+ CLEANFILES+= lib${LIB}.o lib${LIB}.po
+ 
  # mcount cannot be compiled with profiling
  mcount.po: mcount.o
  	cp mcount.o mcount.po
>Audit-Trail:
>Unformatted: