[gnu.gdb.bug] minor patches for gdb Makefile

rfg@MCC.COM (Ron Guilmette) (03/17/89)

What follows are minor patches for the gdb (3.1.1) Makefile.
They do three things:

1) Change all "rm" to "rm -f".

2) Make the clean target remove init.o

3) Make the realclean target restore the directory to
   a pristine state by removing normal stuff and also TAGS,
   config.status, and configuration links.

-----------------------------------------------------------------
diff -rc2 3.1.1-/Makefile 3.1.1+/Makefile
*** 3.1.1-/Makefile	Mon Mar 13 00:51:16 1989
--- 3.1.1+/Makefile	Thu Mar 16 16:05:58 1989
***************
*** 112,116 ****
  
  gdb : $(OBS) $(TSOBS) $(OBSTACK1) $(REGEX1) ${GNU_MALLOC}
! 	-rm init.c
  	./munch $(OBS) $(TSOBS) > init.c
  	${CC-LD} $(LDFLAGS) -o gdb init.c $(OBS) $(TSOBS) $(CLIBS)
--- 112,116 ----
  
  gdb : $(OBS) $(TSOBS) $(OBSTACK1) $(REGEX1) ${GNU_MALLOC}
! 	-rm -f init.c
  	./munch $(OBS) $(TSOBS) > init.c
  	${CC-LD} $(LDFLAGS) -o gdb init.c $(OBS) $(TSOBS) $(CLIBS)
***************
*** 117,121 ****
  
  xgdb : $(OBS) $(TSOBS) xgdb.o $(OBSTACK1) $(REGEX1) ${GNU_MALLOC}
! 	-rm init.c
  	./munch $(OBS) $(TSOBS) xgdb.o > init.c
  	$(CC-LD) $(LDFLAGS) -o xgdb init.c $(OBS) $(TSOBS) xgdb.o \
--- 117,121 ----
  
  xgdb : $(OBS) $(TSOBS) xgdb.o $(OBSTACK1) $(REGEX1) ${GNU_MALLOC}
! 	-rm -f init.c
  	./munch $(OBS) $(TSOBS) xgdb.o > init.c
  	$(CC-LD) $(LDFLAGS) -o xgdb init.c $(OBS) $(TSOBS) xgdb.o \
***************
*** 123,127 ****
  
  kdb : $(NTSSTART) $(OBS) $(NTSOBS) $(OBSTACK1) $(REGEX1) ${GNU_MALLOC}
! 	-rm init.c
  	./munch $(OBS) $(NTSOBS) > init.c
  	$(CC-LD) $(LDFLAGS) -c init.c $(CLIBS)
--- 123,127 ----
  
  kdb : $(NTSSTART) $(OBS) $(NTSOBS) $(OBSTACK1) $(REGEX1) ${GNU_MALLOC}
! 	-rm -f init.c
  	./munch $(OBS) $(NTSOBS) > init.c
  	$(CC-LD) $(LDFLAGS) -c init.c $(CLIBS)
***************
*** 149,158 ****
  
  clean:
! 	-rm ${OBS} ${TSOBS} ${NTSOBS} ${OBSTACK} ${REGEX}
! 	-rm init.c
! 	-rm gdb
  
  realclean: clean
! 	-rm expread.tab.c
  
  xgdb.o : xgdb.c defs.h param.h symtab.h frame.h
--- 149,159 ----
  
  clean:
! 	-rm -f ${OBS} ${TSOBS} ${NTSOBS} ${OBSTACK} ${REGEX}
! 	-rm -f init.c init.o
! 	-rm -f gdb
  
  realclean: clean
! 	-rm -f expread.tab.c TAGS config.status
! 	-rm -f dep.c opcode.h param.h pinsn.c
  
  xgdb.o : xgdb.c defs.h param.h symtab.h frame.h