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]

toplevel configury/make patch



This patch makes building/testing libgcj a lot easier by allowing it
to be built just like the other target libraries such as libf2c, libstdc++,
etc etc.

libgcj itself still has some rough edges, particularly in the multilib
support, but I think it's worth it to both projects to make it easier to build
and test libgcj.

The ChangeLog makes the patch look a lot bigger/complex than it really is.  
All the patch does is add new targets to the toplevel configury files.


	* configure.in (target_libs): Added target-zlib.
	* Makefile.in (ALL_TARGET_MODULES): Added zlib.
	(CONFIGURE_TARGET_MODULES): Likewise.
	(CHECK_TARGET_MODULES): Likewise.
	(INSTALL_TARGET_MODULES): Likewise.
	(CLEAN_TARGET_MODULES): Likewise.
	(configure-target-zlib): New target.
	(all-target-zlib): Likewise.
	(all-target-libjava): Depend on all-target-zlib.
	(configure-target-libjava): Depend on configure-target-zlib.

	* Makefile.in (configure-target-libjava): Depend on
	configure-target-newlib.
	(configure-target-boehm-gc): New target.
	(configure-target-qthreads): New target.

        * configure.in (host_tools): Added zip.
        * Makefile.in (all-target-libjava): Depend on all-zip.
        (all-zip): New target.
        (ALL_MODULES): Added all-zip.
        (NATIVE_CHECK_MODULES): Added check-zip.
        (INSTALL_MODULES): Added install-zip.
        (CLEAN_MODULES): Added clean-zip.

        * configure.in (target_libs): Added target-qthreads.
        * Makefile.in (ALL_TARGET_MODULES): Added qthreads.
        (CONFIGURE_TARGET_MODULES): Likewise.
        (CHECK_TARGET_MODULES): Likewise.
        (INSTALL_TARGET_MODULES): Likewise.
        (CLEAN_TARGET_MODULES): Likewise.
        (all-target-qthreads): New target.
        (configure-target-libjava): Depend on configure-target-qthreads.
        (all-target-libjava): Depend on all-target-qthreads.

	* Makefile.in (ALL_TARGET_MODULES): Added libjava, boehm-gc.
	(CONFIGURE_TARGET_MODULES): Likewise.
	(CHECK_TARGET_MODULES): Likewise.
	(INSTALL_TARGET_MODULES): Likewise.
	(CLEAN_TARGET_MODULES): Likewise.
	(all-target-libjava): New target.
	(all-target-boehm-gc): Likewise.
	* configure.in (target_libs): Added libjava, boehm-gc.

Index: Makefile.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/Makefile.in,v
retrieving revision 1.39.4.1
diff -c -3 -p -r1.39.4.1 Makefile.in
*** Makefile.in	1999/05/20 22:26:18	1.39.4.1
--- Makefile.in	1999/06/23 05:42:08
*************** ALL_MODULES = \
*** 567,572 ****
--- 567,573 ----
  	all-time \
  	all-uudecode \
  	all-wdiff \
+ 	all-zip \
  	$(EXTRA_TARGET_HOST_ALL_MODULES)
  
  # This is a list of the check targets for all of the modules which are
*************** ALL_MODULES = \
*** 578,584 ****
  NATIVE_CHECK_MODULES = \
  	check-bison \
  	check-byacc \
! 	check-flex
  
  CROSS_CHECK_MODULES = \
  	check-apache \
--- 579,586 ----
  NATIVE_CHECK_MODULES = \
  	check-bison \
  	check-byacc \
! 	check-flex \
! 	check-zip
  
  CROSS_CHECK_MODULES = \
  	check-apache \
*************** INSTALL_MODULES = \
*** 710,715 ****
--- 712,718 ----
  	install-time \
  	install-uudecode \
  	install-wdiff \
+ 	install-zip \
  	$(EXTRA_TARGET_HOST_INSTALL_MODULES)
  
  # This is a list of the targets for all of the modules which are compiled
*************** ALL_TARGET_MODULES = \
*** 767,772 ****
--- 770,779 ----
  	all-target-gperf \
  	all-target-examples \
  	all-target-libstub \
+ 	all-target-libjava \
+ 	all-target-zlib \
+ 	all-target-boehm-gc \
+ 	all-target-qthreads \
  	all-target-cygmon
  
  # This is a list of the configure targets for all of the modules which
*************** CONFIGURE_TARGET_MODULES = \
*** 786,791 ****
--- 793,802 ----
  	configure-target-gperf \
  	configure-target-examples \
  	configure-target-libstub \
+ 	configure-target-libjava \
+ 	configure-target-zlib \
+ 	configure-target-boehm-gc \
+ 	configure-target-qthreads \
  	configure-target-cygmon
  
  # This is a list of the check targets for all of the modules which are
*************** CHECK_TARGET_MODULES = \
*** 800,805 ****
--- 811,820 ----
  	check-target-libobjc \
  	check-target-winsup \
  	check-target-libiberty \
+ 	check-target-libjava \
+ 	check-target-zlib \
+ 	check-target-boehm-gc \
+ 	check-target-qthreads \
  	check-target-gperf
  
  # This is a list of the install targets for all of the modules which are
*************** INSTALL_TARGET_MODULES = \
*** 815,820 ****
--- 830,840 ----
  	install-target-winsup \
  	install-target-libgloss \
  	install-target-libiberty \
+ 	install-target-bsp \
+ 	install-target-libjava \
+ 	install-target-zlib \
+ 	install-target-boehm-gc \
+ 	install-target-qthreads \
  	install-target-gperf
  
  # This is a list of the targets for which we can do a clean-{target}.
*************** CLEAN_MODULES = \
*** 880,887 ****
  	clean-tgas \
  	clean-time \
  	clean-uudecode \
! 	clean-wdiff
  
  # All of the target modules that can be cleaned
  CLEAN_TARGET_MODULES = \
  	clean-target-libio \
--- 900,909 ----
  	clean-tgas \
  	clean-time \
  	clean-uudecode \
! 	clean-wdiff \
! 	clean-zip
  
+ 
  # All of the target modules that can be cleaned
  CLEAN_TARGET_MODULES = \
  	clean-target-libio \
*************** CLEAN_TARGET_MODULES = \
*** 898,903 ****
--- 920,929 ----
  	clean-target-gperf \
  	clean-target-examples \
  	clean-target-libstub \
+ 	clean-target-libjava \
+ 	clean-target-zlib \
+ 	clean-target-boehm-gc \
+ 	clean-target-qthreads \
  	clean-target-cygmon
  
  # All of the x11 modules that can be cleaned
*************** all-bash:
*** 1535,1540 ****
--- 1561,1568 ----
  all-bfd: all-libiberty all-intl
  all-binutils: all-libiberty all-opcodes all-bfd all-flex all-bison all-byacc 
all-intl
  all-bison: all-texinfo
+ configure-target-boehm-gc: configure-target-newlib configure-target-qthreads
+ all-target-boehm-gc: configure-target-boehm-gc
  all-byacc:
  all-bzip2:
  all-cvssrc:
*************** all-target-libio: configure-target-libio
*** 1587,1592 ****
--- 1615,1622 ----
  check-target-libio: all-target-libstdc++
  all-libgui: all-tcl all-tk all-itcl
  all-libiberty:
+ configure-target-libjava: $(ALL_GCC) configure-target-zlib 
configure-target-boehm-gc configure-target-qthreads configure-target-newlib
+ all-target-libjava: configure-target-libjava all-gcc all-zip 
all-target-newlib all-target-zlib all-target-boehm-gc all-target-qthreads
  configure-target-librx: $(ALL_GCC) configure-target-newlib
  all-target-librx: configure-target-librx
  configure-target-libstdc++: $(ALL_GCC)
*************** all-opcodes: all-bfd all-libiberty
*** 1606,1611 ****
--- 1636,1643 ----
  all-patch: all-libiberty
  all-perl:
  all-prms: all-libiberty
+ configure-target-qthreads: configure-target-newlib
+ all-target-qthreads: configure-target-qthreads
  all-rcs:
  all-readline:
  all-recode: all-libiberty
*************** all-wdiff:
*** 1627,1632 ****
--- 1659,1667 ----
  all-target-winsup: all-target-newlib all-target-libiberty all-target-libio 
configure-target-winsup
  configure-target-winsup: configure-target-newlib
  all-uudecode: all-libiberty
+ all-zip:
+ configure-target-zlib: $(ALL_GCC)
+ all-target-zlib: configure-target-zlib
  configure-target-libiberty: $(ALL_GCC)
  all-target-libiberty: configure-target-libiberty all-gcc all-ld 
all-target-newlib
  all-target: $(ALL_TARGET_MODULES)
Index: configure.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/configure.in,v
retrieving revision 1.36
diff -c -3 -p -r1.36 configure.in
*** configure.in	1999/04/02 14:17:42	1.36
--- configure.in	1999/06/23 05:42:10
*************** fi
*** 50,56 ****
  # these tools are built for the host environment
  # Note, the powerpc-eabi build depends on sim occurring before gdb in order 
to
  # know that we are building the simulator.
! host_tools="texinfo byacc flex bison binutils ld gas gcc sim gdb make patch 
prms send-pr gprof gdbtest tgas etc expect dejagnu ash bash bzip2 m4 autoconf 
automake libtool ispell grep diff rcs cvssrc fileutils shellutils time 
textutils wdiff find emacs emacs19 uudecode hello tar gzip indent recode 
release sed utils guile perl apache inet gawk findutils snavigator libtool 
gettext"
  
  
  # these libraries are built for the target environment, and are built after
--- 50,56 ----
  # these tools are built for the host environment
  # Note, the powerpc-eabi build depends on sim occurring before gdb in order 
to
  # know that we are building the simulator.
! host_tools="texinfo byacc flex bison binutils ld gas gcc sim gdb make patch 
prms send-pr gprof gdbtest tgas etc expect dejagnu ash bash bzip2 m4 autoconf 
automake libtool ispell grep diff rcs cvssrc fileutils shellutils time 
textutils wdiff find emacs emacs19 uudecode hello tar gzip indent recode 
release sed utils guile perl apache inet gawk findutils snavigator libtool 
gettext zip"
  
  
  # these libraries are built for the target environment, and are built after
*************** target_libs="target-libiberty \
*** 65,70 ****
--- 65,74 ----
  		target-libg++ \
  		target-libf2c \
  		target-libchill \
+ 		target-libjava \
+ 		target-zlib \
+ 		target-boehm-gc \
+ 		target-qthreads \
  		target-libobjc"
  
  # these tools are built using the target libs, and are intended to run only






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