From: Stu Grossman Date: Thu, 30 Apr 1998 16:00:08 +0000 (+0000) Subject: Add java sanitization gobbledegook. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=06855275ef2cc6694f902932c308938d3331ff1f;p=binutils-gdb.git Add java sanitization gobbledegook. --- diff --git a/.Sanitize b/.Sanitize index 3de6800d5ce..8065dd7ac01 100644 --- a/.Sanitize +++ b/.Sanitize @@ -137,6 +137,15 @@ else lose_these_too="${lose_these_too} ${cgen_files}" fi +# Java stuff +java_files="boehm-gc libjava" + +if (echo $* | grep keep\-java > /dev/null); then + keep_these_too="${keep_these_too} ${java_files}" +else + lose_these_too="${lose_these_too} ${java_files}" +fi + # This top-level directory is special. We often check out only subsets # of this directory, and complaining about directories or files we didn't # check out just gets obnoxious. diff --git a/Makefile.in b/Makefile.in index a7ef8f3648d..844523a1223 100644 --- a/Makefile.in +++ b/Makefile.in @@ -780,9 +780,11 @@ ALL_TARGET_MODULES = \ all-target-gperf \ all-target-examples \ all-target-libstub \ - all-target-cygmon \ + $(start-sanitize-java) \ all-target-libjava \ - all-target-boehm-gc + all-target-boehm-gc \ + $(end-sanitize-java) \ + all-target-cygmon # This is a list of the configure targets for all of the modules which # are compiled using the target tools. @@ -798,9 +800,11 @@ CONFIGURE_TARGET_MODULES = \ configure-target-gperf \ configure-target-examples \ configure-target-libstub \ - configure-target-cygmon \ + $(start-sanitize-java) \ configure-target-libjava \ - configure-target-boehm-gc + configure-target-boehm-gc \ + $(end-sanitize-java) \ + configure-target-cygmon # This is a list of the check targets for all of the modules which are # compiled using $(TARGET_FLAGS_TO_PASS). @@ -811,9 +815,11 @@ CHECK_TARGET_MODULES = \ check-target-newlib \ check-target-winsup \ check-target-libiberty \ - check-target-gperf \ + $(start-sanitize-java) \ check-target-libjava \ - check-target-boehm-gc + check-target-boehm-gc \ + $(end-sanitize-java) \ + check-target-gperf # This is a list of the install targets for all of the modules which are # compiled using $(TARGET_FLAGS_TO_PASS). @@ -825,9 +831,11 @@ INSTALL_TARGET_MODULES = \ install-target-winsup \ install-target-libgloss \ install-target-libiberty \ - install-target-gperf \ + $(start-sanitize-java) \ install-target-libjava \ - install-target-boehm-gc + install-target-boehm-gc \ + $(end-sanitize-java) \ + install-target-gperf # This is a list of the targets for which we can do a clean-{target}. CLEAN_MODULES = \ @@ -922,9 +930,11 @@ CLEAN_TARGET_MODULES = \ clean-target-gperf \ clean-target-examples \ clean-target-libstub \ - clean-target-cygmon \ + $(start-sanitize-java) \ clean-target-libjava \ - clean-target-boehm-gc + clean-target-boehm-gc \ + $(end-sanitize-java) \ + clean-target-cygmon # All of the x11 modules that can be cleaned CLEAN_X11_MODULES = \ @@ -1502,7 +1512,9 @@ all-bash: 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 +# start-sanitize-java all-target-boehm-gc: configure-target-boehm-gc +# end-sanitize-java all-byacc: all-cvssrc: configure-target-cygmon: $(ALL_GCC) @@ -1570,7 +1582,9 @@ all-libiberty: all-libide: all-ilu all-libidetcl: all-tcl all-tk all-itcl all-ilu all-libgui all-libide # end-sanitize-ide +# start-sanitize-java all-target-libjava: configure-target-libjava +# end-sanitize-java configure-target-librx: $(ALL_GCC) configure-target-newlib all-target-librx: configure-target-librx configure-target-libstdc++: $(ALL_GCC)