This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch for removal of objc runtime


The new Objective C runtime library (in egcs/libobjc) will soon be checked
in.  In the meantime, here is a patch to clean up the gcc/objc directory.
I am also removing unrelated source files from gcc/objc.

Ben

Index: gcc/ChangeLog
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/ChangeLog,v
retrieving revision 1.2065
diff -c -r1.2065 ChangeLog
*** ChangeLog	1998/09/12 08:40:00	1.2065
--- ChangeLog	1998/09/13 00:19:11
***************
*** 1,3 ****
--- 1,19 ----
+ Sun Sep 13 08:13:39 1998  Ben Elliston  <bje@cygnus.com>
+ 
+ 	* objc/config-lang.in: Do not output the name of the selected
+ 	thread file when building the front-end.  The Makefile for the
+ 	runtime library will do this.
+ 
+ 	* objc/Make-lang.in: Do not build the runtime library or install
+ 	the Objective C header files.  The Makefile for the runtime
+ 	library will do this.
+ 
+ 	* objc/Makefile.in (all.indirect): Only build the front-end.
+ 	(compiler): Rename to `frontend'.
+ 	(obj-runtime): Remove target.
+ 	(copy-headers): Likewise.
+ 	(clean): No need to remove `libobjc.a' any longer.
+ 
  Sat Sep 12 11:37:19 1998  Michael Meissner  <meissner@cygnus.com>
  
  	* rs6000.h ({ASM,CPP}_CPU_SPEC): Add support for all machines
Index: gcc/objc/Make-lang.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/objc/Make-lang.in,v
retrieving revision 1.16
diff -c -r1.16 Make-lang.in
*** Make-lang.in	1998/09/02 23:47:51	1.16
--- Make-lang.in	1998/09/13 00:19:26
***************
*** 50,64 ****
  
  #
  # Define the names for selecting Objective-C in LANGUAGES.
! OBJC objc: cc1obj$(exeext) objc-runtime
! OBJECTIVE-C objective-c: cc1obj$(exeext) objc-runtime
  
  # Tell GNU make to ignore these if they exist.
  .PHONY: objective-c objc ObjC
  
- # The Objective C thread file
- OBJC_THREAD_FILE=thr-$(GCC_THREAD_FILE)
- 
  # Language-specific object files for Objective C.
  OBJC_OBJS = objc-parse.o objc-act.o $(C_AND_OBJC_OBJS)
  
--- 50,61 ----
  
  #
  # Define the names for selecting Objective-C in LANGUAGES.
! OBJC objc: cc1obj$(exeext)
! OBJECTIVE-C objective-c: cc1obj$(exeext)
  
  # Tell GNU make to ignore these if they exist.
  .PHONY: objective-c objc ObjC
  
  # Language-specific object files for Objective C.
  OBJC_OBJS = objc-parse.o objc-act.o $(C_AND_OBJC_OBJS)
  
***************
*** 94,293 ****
  	$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) -I$(srcdir)/objc \
  	-c $(srcdir)/objc/objc-act.c
  
- objc-runtime: objc-headers libobjc.a
- 
- # copy objc header files into build directory
- objc-headers: stmp-fixinc
- 	if [ -d include ]; then true; else mkdir include; fi
- 	cd objc; \
- 	if [ -f Makefile ]; then \
- 	  $(MAKE) copy-headers \
- 	  tooldir=$(tooldir) \
- 	  AR="$(AR)" AR_FLAGS="$(AR_FLAGS)" \
- 	  GCC_FOR_TARGET="../xgcc -B../" \
- 	  GCC_CFLAGS="$(GCC_CFLAGS)" incinstalldir=../include; \
- 	fi
- 	touch objc-headers
- 
- # Objective C runtime library specific files.
- 
- OBJC_O = objc/hash.o objc/sarray.o \
- 	objc/class.o objc/sendmsg.o \
- 	objc/init.o objc/archive.o \
- 	objc/encoding.o objc/selector.o \
- 	objc/objects.o objc/misc.o \
- 	objc/NXConstStr.o objc/Object.o \
- 	objc/Protocol.o objc/nil_method.o \
- 	objc/thr.o objc/linking.o \
- 	objc/gc.o \
- 	objc/$(OBJC_THREAD_FILE).o
- 
- objc/hash.o: $(srcdir)/objc/hash.c $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-c $(srcdir)/objc/hash.c -o $@
- objc/sarray.o: $(srcdir)/objc/sarray.c $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-c $(srcdir)/objc/sarray.c -o $@
- objc/class.o: $(srcdir)/objc/class.c $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-c $(srcdir)/objc/class.c -o $@
- objc/sendmsg.o: $(srcdir)/objc/sendmsg.c $(GCC_PASSES) objc/runtime-info.h
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) -Iobjc \
- 	-c $(srcdir)/objc/sendmsg.c -o $@
- objc/init.o: $(srcdir)/objc/init.c $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-c $(srcdir)/objc/init.c -o $@
- objc/archive.o: $(srcdir)/objc/archive.c $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-c $(srcdir)/objc/archive.c -o $@
- objc/encoding.o: $(srcdir)/objc/encoding.c $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-c $(srcdir)/objc/encoding.c -o $@
- objc/selector.o: $(srcdir)/objc/selector.c $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-c $(srcdir)/objc/selector.c -o $@
- objc/objects.o: $(srcdir)/objc/objects.c $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-c $(srcdir)/objc/objects.c -o $@
- objc/misc.o: $(srcdir)/objc/misc.c $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-c $(srcdir)/objc/misc.c -o $@
- objc/NXConstStr.o: $(srcdir)/objc/NXConstStr.m $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-fgnu-runtime -c $(srcdir)/objc/NXConstStr.m -o $@
- objc/Object.o: $(srcdir)/objc/Object.m $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-fgnu-runtime -c $(srcdir)/objc/Object.m -o $@
- objc/Protocol.o: $(srcdir)/objc/Protocol.m $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-fgnu-runtime -c $(srcdir)/objc/Protocol.m -o $@
- objc/thr.o: $(srcdir)/objc/thr.h $(srcdir)/objc/thr.c $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-c $(srcdir)/objc/thr.c -o $@
- objc/$(OBJC_THREAD_FILE).o: $(srcdir)/objc/$(OBJC_THREAD_FILE).c $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-c $(srcdir)/objc/$(OBJC_THREAD_FILE).c -o $@
- objc/nil_method.o: $(srcdir)/objc/nil_method.c $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-c $(srcdir)/objc/nil_method.c -o $@
- objc/linking.o: $(srcdir)/objc/linking.m $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-fgnu-runtime -c $(srcdir)/objc/linking.m -o $@
- objc/gc.o: $(srcdir)/objc/gc.c $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-fgnu-runtime -c $(srcdir)/objc/gc.c -o $@
- objc/libobjc_entry.o: $(srcdir)/objc/libobjc_entry.c $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-c $(srcdir)/objc/libobjc_entry.c -o $@
- 
- 
- 
- objc/hash_gc.o: $(srcdir)/objc/hash.c $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-c $(srcdir)/objc/hash.c -o $@
- objc/sarray_gc.o: $(srcdir)/objc/sarray.c $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-c $(srcdir)/objc/sarray.c -o $@
- objc/class_gc.o: $(srcdir)/objc/class.c $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-c $(srcdir)/objc/class.c -o $@
- objc/sendmsg_gc.o: $(srcdir)/objc/sendmsg.c $(GCC_PASSES) objc/runtime-info.h
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) -Iobjc \
- 	-c $(srcdir)/objc/sendmsg.c -o $@
- objc/init_gc.o: $(srcdir)/objc/init.c $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-c $(srcdir)/objc/init.c -o $@
- objc/archive_gc.o: $(srcdir)/objc/archive.c $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-c $(srcdir)/objc/archive.c -o $@
- objc/encoding_gc.o: $(srcdir)/objc/encoding.c $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-c $(srcdir)/objc/encoding.c -o $@
- objc/selector_gc.o: $(srcdir)/objc/selector.c $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-c $(srcdir)/objc/selector.c -o $@
- objc/objects_gc.o: $(srcdir)/objc/objects.c $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-c $(srcdir)/objc/objects.c -o $@
- objc/misc_gc.o: $(srcdir)/objc/misc.c $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-c $(srcdir)/objc/misc.c -o $@
- objc/NXConstStr_gc.o: $(srcdir)/objc/NXConstStr.m $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-fgnu-runtime -c $(srcdir)/objc/NXConstStr.m -o $@
- objc/Object_gc.o: $(srcdir)/objc/Object.m $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-fgnu-runtime -c $(srcdir)/objc/Object.m -o $@
- objc/Protocol_gc.o: $(srcdir)/objc/Protocol.m $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-fgnu-runtime -c $(srcdir)/objc/Protocol.m -o $@
- objc/thr_gc.o: $(srcdir)/objc/thr.h $(srcdir)/objc/thr.c $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-c $(srcdir)/objc/thr.c -o $@
- objc/$(OBJC_THREAD_FILE)_gc.o: $(srcdir)/objc/$(OBJC_THREAD_FILE).c $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-c $(srcdir)/objc/$(OBJC_THREAD_FILE).c -o $@
- objc/nil_method_gc.o: $(srcdir)/objc/nil_method.c $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-c $(srcdir)/objc/nil_method.c -o $@
- objc/linking_gc.o: $(srcdir)/objc/linking.m $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-fgnu-runtime -c $(srcdir)/objc/linking.m -o $@
- objc/gc_gc.o: $(srcdir)/objc/gc.c $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-fgnu-runtime -c $(srcdir)/objc/gc.c -o $@
- objc/libobjc_entry_gc.o: $(srcdir)/objc/libobjc_entry.c $(GCC_PASSES)
- 	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
- 	-c $(srcdir)/objc/libobjc_entry.c -o $@
- 
- 
- $(OBJC_O): $(GCC_PASSES) cc1obj$(exeext)
- 
- # Build the Objective C runtime library.
- libobjc.a: cc1obj$(exeext) specs stmp-int-hdrs libgcc2.ready \
-  $(USE_COLLECT2) $(EXTRA_PARTS) objc/runtime-info.h $(OBJC_O)
- 	-rm -f libobjc.a
- 	$(AR) $(AR_FLAGS) libobjc.a $(OBJC_O)
- 	-if $(RANLIB_TEST) ; then $(RANLIB) libobjc.a; else true; fi
- 	-if [ "$(OBJC_BOEHM_GC)" != "" ]; then \
- 	  make libobjc_gc.a GCC_CFLAGS="$(GCC_CFLAGS) -DOBJC_WITH_GC=1" \
- 		OBJC_O=`echo $(OBJC_O) | sed 's/.o /_gc.o /g'`; \
- 	fi
- 
- # Build the garbage collected Objective C runtime library.
- libobjc_gc.a: cc1obj specs stmp-int-hdrs libgcc2.ready \
- 	$(USE_COLLECT2) $(EXTRA_PARTS) $(OBJC_O)
- 	-rm -f libobjc_gc.a
- 	$(AR) $(AR_FLAGS) libobjc_gc.a $(OBJC_O)
- 	-if $(RANLIB_TEST) ; then $(RANLIB) libobjc_gc.a; else true; fi
- 
- libobjc_s.a: libobjc.a
- 	mv libobjc.a libobjc_s.a
- 
- # Create a relocatable DLL
- libobjc.dll: libobjc_s.a objc/libobjc_entry.o
- 	$(GCC_FOR_TARGET) -mdll -Wl,--base-file -Wl,libobjc.base \
- 		-o libobjc.dll libobjc_s.a \
- 		objc/libobjc_entry.o -lkernel32
- 	$(DLLTOOL) --dllname libobjc.dll --def $(srcdir)/objc/libobjc.def \
- 		--base-file libobjc.base --output-exp libobjc.exp
- 	$(GCC_FOR_TARGET) -mdll -Wl,--base-file libobjc.base libobjc.exp \
- 		-o libobjc.dll libobjc_s.a \
- 		objc/libobjc_entry.o -lkernel32
- 	$(DLLTOOL) --dllname libobjc.dll --def $(srcdir)/objc/libobjc.def \
- 		--base-file libobjc.base --output-exp libobjc.exp
- 	$(GCC_FOR_TARGET) libobjc.exp -mdll \
- 		-o libobjc.dll libobjc_s.a \
- 		objc/libobjc_entry.o -lkernel32
- 	$(DLLTOOL) --dllname libobjc.dll --def $(srcdir)/objc/libobjc.def \
- 		--output-lib libobjc.a
- 
- # Platform generated information needed by ObjC runtime
- objc/runtime-info.h: cc1obj$(exeext)
- 	echo "" > tmp-runtime
- 	echo "/* This file is automatically generated */" >$@
- 	./cc1obj -print-objc-runtime-info tmp-runtime >>$@
- 	rm -f tmp-runtime
  #
  # Build hooks:
  
--- 91,96 ----
***************
*** 303,334 ****
  # Install hooks:
  # cc1obj is installed elsewhere as part of $(COMPILERS).
  
! objc.install-normal: installdirs
! 	-if [ -f libobjc.a ] ; then \
! 	  rm -f $(libsubdir)/libobjc.a; \
! 	  $(INSTALL_DATA) libobjc.a $(libsubdir)/libobjc.a; \
! 	  if $(RANLIB_TEST) ; then \
! 	    (cd $(libsubdir); $(RANLIB) libobjc.a); else true; fi; \
! 	  chmod a-x $(libsubdir)/libobjc.a; \
! 	else true; fi
! 	-if [ -f libobjc_gc.a ] ; then \
! 	  rm -f $(libsubdir)/libobjc_gc.a; \
! 	  $(INSTALL_DATA) libobjc_gc.a $(libsubdir)/libobjc_gc.a; \
! 	  if $(RANLIB_TEST) ; then \
! 	    (cd $(libsubdir); $(RANLIB) libobjc_gc.a); else true; fi; \
! 	  chmod a-x $(libsubdir)/libobjc_gc.a; \
! 	else true; fi
! 	-if [ -f libobjc_s.a ] ; then \
! 	  rm -f $(libsubdir)/libobjc_s.a; \
! 	  $(INSTALL_DATA) libobjc_s.a $(libsubdir)/libobjc_s.a; \
! 	  if $(RANLIB_TEST) ; then \
! 	    (cd $(libsubdir); $(RANLIB) libobjc_s.a); else true; fi; \
! 	  chmod a-x $(libsubdir)/libobjc_s.a; \
! 	else true; fi
! 	-if [ -f libobjc.dll ] ; then \
! 	  rm -f $(bindir)/libobjc.dll; \
! 	  $(INSTALL_DATA) libobjc.dll $(bindir)/libobjc.dll; \
! 	else true; fi
  
  objc.install-common:
  
--- 106,112 ----
  # Install hooks:
  # cc1obj is installed elsewhere as part of $(COMPILERS).
  
! objc.install-normal:
  
  objc.install-common:
  
***************
*** 344,352 ****
  objc.mostlyclean:
  	-rm -f tmp-objc-prs.y
  	-rm -f objc/*$(objext) objc/xforward objc/fflags
- 	-rm -f objc/runtime-info.h
- 	-rm -f libobjc.a libobjc_gc.a libobjc_s.a libobjc.dll
- 	-rm -f libobjc.base libobjc.exp
  objc.clean: objc.mostlyclean
  	-rm -rf objc-headers
  objc.distclean:
--- 122,127 ----
***************
*** 364,382 ****
  objc.stage1: stage1-start
  	-mv objc/*$(objext) stage1/objc
  	-mv cc1obj$(exeext) stage1
- 	-mv libobjc.a libobjc_gc.a stage1
  objc.stage2: stage2-start
  	-mv objc/*$(objext) stage2/objc
  	-mv cc1obj$(exeext) stage2
- 	-mv libobjc.a libobjc_gc.a stage2
  objc.stage3: stage3-start
  	-mv objc/*$(objext) stage3/objc
  	-mv cc1obj$(exeext) stage3
- 	-mv libobjc.a libobjc_gc.a stage3
  objc.stage4: stage4-start
  	-mv objc/*$(objext) stage4/objc
  	-mv cc1obj$(exeext) stage4
- 	-mv libobjc.a libobjc_gc.a stage4
  
  #
  # Maintenance hooks:
--- 139,153 ----
Index: gcc/objc/Makefile.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/objc/Makefile.in,v
retrieving revision 1.3
diff -c -r1.3 Makefile.in
*** Makefile.in	1998/09/02 23:47:52	1.3
--- Makefile.in	1998/09/13 00:19:27
***************
*** 1,4 ****
! #  GNU Objective C Runtime Makefile
  #  Copyright (C) 1993, 1995, 1996, 1997 Free Software Foundation, Inc.
  #
  #  This file is part of GNU CC.
--- 1,4 ----
! #  GNU Objective C frontend Makefile
  #  Copyright (C) 1993, 1995, 1996, 1997 Free Software Foundation, Inc..
  #
  #  This file is part of GNU CC.
***************
*** 17,37 ****
  #  Foundation, 59 Temple Place - Suite 330,
  #  Boston, MA 02111-1307, USA.
  
! #  This makefile is run by the parent dir's makefile.
! #  thisdir1=`pwd`; \
! #  srcdir1=`cd $(srcdir); pwd`; \
! #  cd objc; \
! #  $(MAKE) $(MAKEFLAGS) -f $$srcdir1/objc/Makefile libobjc.a \
! #    srcdir=$$srcdir1 tooldir=$(tooldir) AR="$(AR)" AR_FLAGS="$(AR_FLAGS)" \
! #    GCC_FOR_TARGET="$$thisdir1/xgcc -B$$thisdir1/" \
! #    GCC_CFLAGS="$(GCC_CFLAGS)" incinstalldir=$$thisdir1/include
! #    OBJC_THREAD_FILE="$(OBJC_THREAD_FILE)"
! #  Two targets are used by ../Makefile: `all' and `mostlyclean'.
  
  SHELL=/bin/sh
  
- .SUFFIXES: .m
- 
  OPTIMIZE= -O
  
  srcdir = .
--- 17,35 ----
  #  Foundation, 59 Temple Place - Suite 330,
  #  Boston, MA 02111-1307, USA.
  
! #  The Makefile built from this file lives in the objc language subdirectory.
! #  Its purpose is to provide support for:
! #
! #  1. recursion where necessary, and only then (building .o's), and
! #  2. building and debugging cc1objc from the language subdirectory.
! #
! #  The parent Makefile handles all other chores, with help from the language
! #  Makefile fragment.
! #
! #  The targets for external use are `all' and `mostlyclean'.
  
  SHELL=/bin/sh
  
  OPTIMIZE= -O
  
  srcdir = .
***************
*** 56,103 ****
  ####build overrides
  #
  
- OBJC_H = hash.h objc-list.h sarray.h objc.h objc-api.h \
-   NXConstStr.h Object.h Protocol.h encoding.h typedstream.h thr.h
- 
  # Now figure out from those variables how to compile and link.
! all.indirect: Makefile compiler objc-runtime
  
! compiler:
  	cd ..; $(MAKE) cc1obj$(exeext)
  
- objc-runtime:
- 	cd ..; $(MAKE) libobjc.a
- 
- # copy objc headers to installation include directory
- copy-headers: 
- 	-rm -fr $(incinstalldir)/objc
- 	-mkdir $(incinstalldir)/objc
- 	for file in $(OBJC_H); do \
- 	  realfile=$(srcdir)/$${file}; \
- 	  cp $${realfile} $(incinstalldir)/objc; \
- 	  chmod a+r $(incinstalldir)/objc/$${file}; \
- 	done
- 
  Makefile: $(srcdir)/Makefile.in $(srcdir)/../configure
  	cd ..; $(SHELL) config.status
  
- doc: info dvi html
- info: objc-features.info
- dvi: objc-features.dvi
- html: objc-features_toc.html
- 
- objc-features.info: $(srcdir)/objc-features.texi
- 	makeinfo $(srcdir)/objc-features.texi
- 
- objc-features.dvi: $(srcdir)/objc-features.texi
- 	texi2dvi $(srcdir)/objc-features.texi
- 
- objc-features_toc.html: objc-features.texi
- 	texi2html -split_node $(srcdir)/objc-features.texi
- 
  mostlyclean:
! 	-rm -f *.o libobjc* xforward fflags *.aux *.cp *.dvi *.fn *.info \
! 		*.ky *.log *.pg *.toc *.tp *.vr *.html
  clean: mostlyclean
  distclean: mostlyclean
  extraclean: mostlyclean
--- 54,70 ----
  ####build overrides
  #
  
  # Now figure out from those variables how to compile and link.
! all.indirect: Makefile frontend
  
! frontend:
  	cd ..; $(MAKE) cc1obj$(exeext)
  
  Makefile: $(srcdir)/Makefile.in $(srcdir)/../configure
  	cd ..; $(SHELL) config.status
  
  mostlyclean:
! 	-rm -f *.o xforward fflags
  clean: mostlyclean
  distclean: mostlyclean
  extraclean: mostlyclean
Index: gcc/objc/config-lang.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/objc/config-lang.in,v
retrieving revision 1.1.1.2
diff -c -r1.1.1.2 config-lang.in
*** config-lang.in	1998/04/04 05:27:00	1.1.1.2
--- config-lang.in	1998/09/13 00:19:27
***************
*** 33,37 ****
  stagestuff=""
  
  diff_excludes="-x objc-parse.c -x objc-parse.y "
- 
- echo "Using \`$srcdir/objc/thr-${thread_file}.c' as Objective-C Runtime thread file."
--- 33,35 ----



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]