Subject: lib/1165: missing $ in src/share/mk/bsd.lib.mk
To: None <gnats-admin@sun-lamp.pc.cs.cmu.edu>
From: Bernd Ernesti <bernd@arresum.inka.de>
List: netbsd-bugs
Date: 06/27/1995 15:35:32
>Number:         1165
>Category:       lib
>Synopsis:       missing $ in src/share/mk/bsd.lib.mk
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 27 15:35:31 1995
>Originator:     Bernd Ernesti
>Organization:
	
>Release:        NetBSD-current 26-Jun-95
>Environment:
	
System: NetBSD arresum 1.0A NetBSD 1.0A (VEEGO) #143: Sun Jun 18 16:54:50 MET DST 1995 root@arresum:/src/sys/arch/amiga/compile/VEEGO amiga


>Description:
	Missing $ before {SOBJS} in src/share/mk/bsd.lib.mk which
	stops make from removing shared object files
>How-To-Repeat:
	do a 'make cleandir' in any libdir with shared libs
[..]
rm -f libcrypt_pic.a ibcrypt.so.*.* {SOBJS}
[..]

instead of:
[..]
rm -f libcrypt_pic.a ibcrypt.so.*.* crypt.so
[..]

>Fix:

*** bsd.lib.mk-orig	Mon Jun 26 09:05:36 1995
--- bsd.lib.mk	Tue Jun 27 20:03:50 1995
***************
*** 134,140 ****
  	rm -f a.out [Ee]rrs mklog core *.core ${CLEANFILES}
  	rm -f lib${LIB}.a ${OBJS}
  	rm -f lib${LIB}_p.a ${POBJS}
! 	rm -f lib${LIB}_pic.a $lib${LIB}.so.*.* {SOBJS}
  	rm -f llib-l${LIB}.ln ${LOBJS}
  .endif
  
--- 134,140 ----
  	rm -f a.out [Ee]rrs mklog core *.core ${CLEANFILES}
  	rm -f lib${LIB}.a ${OBJS}
  	rm -f lib${LIB}_p.a ${POBJS}
! 	rm -f lib${LIB}_pic.a $lib${LIB}.so.*.* ${SOBJS}
  	rm -f llib-l${LIB}.ln ${LOBJS}
  .endif
  
>Audit-Trail:
>Unformatted: