Subject: port-amiga/3156: Makefile.amiga still has clean:: and depend:: rule
To: None <gnats-bugs@gnats.netbsd.org>
From: None <frueauf@ira.uka.de>
List: netbsd-bugs
Date: 01/29/1997 10:12:50
>Number:         3156
>Category:       port-amiga
>Synopsis:       Makefile.amiga still has clean:: and depend:: rule
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 29 01:35:01 1997
>Last-Modified:
>Originator:     Thorsten Frueauf
>Organization:
private
>Release:        <NetBSD-current source date> NetBSD current 27.01.1997
>Environment:
	
System: NetBSD di_frueauf 1.2B NetBSD 1.2B (CYBERDYNE) #0: Fri Jan 24 04:07:33 UCT 1997 milano@di_frueauf:/usr/src/sys/arch/amiga/compile/CYBERDYNE amiga


>Description:
	
Makefile.amiga still has clean:: and depend:: rule.

>How-To-Repeat:
	
Try to make a new kernel on NetBSD/amiga with current 27.01.1997 sources
and watch:

"Makefile", line 306: Inconsistent operator for clean
"Makefile", line 329: Inconsistent operator for depend

>Fix:
	
Apply the following patch to /src/sys/arch/amiga/conf/Makefile.amiga:


*** Makefile.amiga-orig	Wed Jan 29 10:07:01 1997
--- Makefile.amiga	Wed Jan 29 10:07:33 1997
***************
*** 142,148 ****
  	${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c vers.c
  
  
! clean::
  	rm -f eddep *netbsd netbsd.gdb tags *.[io] [a-z]*.s \
  	    [Ee]rrs linterrs makelinks genassym genassym.o assym.h
  
--- 142,148 ----
  	${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c vers.c
  
  
! clean:
  	rm -f eddep *netbsd netbsd.gdb tags *.[io] [a-z]*.s \
  	    [Ee]rrs linterrs makelinks genassym genassym.o assym.h
  
***************
*** 165,171 ****
  
  SRCS=	${AMIGA}/amiga/locore.s \
  	param.c ioconf.c ${CFILES} ${SFILES}
! depend:: .depend
  .depend: ${SRCS} assym.h param.c
  	${MKDEP} ${AFLAGS} ${CPPFLAGS} ${AMIGA}/amiga/locore.s
  	${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
--- 165,171 ----
  
  SRCS=	${AMIGA}/amiga/locore.s \
  	param.c ioconf.c ${CFILES} ${SFILES}
! depend: .depend
  .depend: ${SRCS} assym.h param.c
  	${MKDEP} ${AFLAGS} ${CPPFLAGS} ${AMIGA}/amiga/locore.s
  	${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
>Audit-Trail:
>Unformatted:
Makefile.amiga still has clean:: and depend:: rule