Mercurial > hg > release > icedtea7-2.4
changeset 2607:e4795c01aba3
Move SystemTap support to a separate target.
2010-09-22 Andrew John Hughes <gnu.andrew@redhat.com>
Move SystemTap support to a separate target.
* Makefile.am:
(.PHONY): Add clean-add-systemtap and
clean-add-systemtap-debug.
(icedtea): Remove systemtap support.
(icedtea-debug): Likewise.
(icedtea-stage2): Depend on add-systemtap.
(icedtea-debug-stage2): Depend on add-systemtap-debug.
(add-systemtap): New target to add SystemTap support to the build.
(add-systemtap-debug): Likewise for debug.
(clean-add-systemtap): Remove SystemTap support from the build.
(clean-add-systemtap-debug): Likewise for debug.
author | Andrew John Hughes <gnu_andrew@member.fsf.org> |
---|---|
date | Tue, 18 Dec 2012 23:22:20 +0000 |
parents | ff15cee90ed8 |
children | f4bc8075e7c6 |
files | ChangeLog Makefile.am |
diffstat | 2 files changed, 69 insertions(+), 33 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Tue Dec 04 11:00:41 2012 +0000 +++ b/ChangeLog Tue Dec 18 23:22:20 2012 +0000 @@ -1,3 +1,18 @@ +2010-09-22 Andrew John Hughes <gnu.andrew@redhat.com> + + Move SystemTap support to a separate target. + * Makefile.am: + (.PHONY): Add clean-add-systemtap and + clean-add-systemtap-debug. + (icedtea): Remove systemtap support. + (icedtea-debug): Likewise. + (icedtea-stage2): Depend on add-systemtap. + (icedtea-debug-stage2): Depend on add-systemtap-debug. + (add-systemtap): New target to add SystemTap support to the build. + (add-systemtap-debug): Likewise for debug. + (clean-add-systemtap): Remove SystemTap support from the build. + (clean-add-systemtap-debug): Likewise for debug. + 2012-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org> * patches/boot/ecj-opts.patch:
--- a/Makefile.am Tue Dec 04 11:00:41 2012 +0000 +++ b/Makefile.am Tue Dec 18 23:22:20 2012 +0000 @@ -790,7 +790,8 @@ clean-bootstrap-directory-symlink-stage1 clean-bootstrap-directory-symlink-stage2 \ clean-extract clean-generated clean-native-ecj clean-hgforest clean-icedtea-stage2 \ clean-icedtea-debug-stage2 clean-icedtea-stage1 clean-add-zero clean-add-zero-debug \ - clean-add-cacao clean-add-cacao-debug clean-rt clean-rewrite-rhino clean-rewriter + clean-add-cacao clean-add-cacao-debug clean-rt clean-rewrite-rhino clean-rewriter \ + clean-add-systemtap clean-add-systemtap-debug if [ -e bootstrap ]; then \ rmdir bootstrap ; \ fi @@ -810,7 +811,7 @@ install: -.PHONY: \ +.PHON: \ env env-boot snapshot clean-clone clean-patch \ clean-clone-boot clean-patch-boot clean-bootstrap-directory-stage2 \ clean-bootstrap-directory-symlink-stage2 clean-bootstrap-directory-stage1 \ @@ -820,7 +821,8 @@ jtregcheck clean-remove-intree-libraries \ clean-jamvm clean-extract-jamvm clean-add-jamvm clean-add-jamvm-debug \ clean-extract-hotspot clean-sanitise-openjdk \ - clean-tests clean-tapset-report + clean-tests clean-tapset-report clean-add-systemtap \ + clean-add-systemtap-debug env: @echo 'unset JAVA_HOME' @@ -1720,6 +1722,20 @@ if ENABLE_CACAO printf -- '-cacao ALIASED_TO -server\n' >> $(BUILD_JRE_ARCH_DIR)/jvm.cfg endif + cp $(abs_top_builddir)/nss.cfg \ + $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/security; +if WITH_TZDATA_DIR + cp $(abs_top_builddir)/tz.properties \ + $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib; +endif +if ENABLE_JAMVM + printf -- '-jamvm ALIASED_TO -server\n' >> $(BUILD_JRE_ARCH_DIR)/jvm.cfg +endif + @echo "IcedTea is served:" $(BUILD_OUTPUT_DIR) + mkdir -p stamps + touch $@ + +stamps/add-systemtap.stamp: stamps/icedtea.stamp if ENABLE_SYSTEMTAP mkdir -p $(BUILD_OUTPUT_DIR)/j2sdk-image/tapset ; \ grep "client IGNORE" $(BUILD_JRE_ARCH_DIR)/jvm.cfg; \ @@ -1744,18 +1760,11 @@ cp $(abs_top_builddir)/tapset/jstack.stp \ $(BUILD_OUTPUT_DIR)/j2sdk-image/tapset/jstack.stp endif - cp $(abs_top_builddir)/nss.cfg \ - $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/security; -if WITH_TZDATA_DIR - cp $(abs_top_builddir)/tz.properties \ - $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib; -endif -if ENABLE_JAMVM - printf -- '-jamvm ALIASED_TO -server\n' >> $(BUILD_JRE_ARCH_DIR)/jvm.cfg -endif - @echo "IcedTea is served:" $(BUILD_OUTPUT_DIR) - mkdir -p stamps - touch $@ + touch stamps/add-systemtap.stamp + +clean-add-systemtap: + rm -rf $(BUILD_OUTPUT_DIR)/j2sdk-image/tapset + rm -f stamps/add-systemtap.stamp stamps/icedtea-debug.stamp: stamps/bootstrap-directory-symlink-stage2.stamp \ stamps/download.stamp stamps/extract.stamp $(OPENJDK_TREE) \ @@ -1791,6 +1800,25 @@ if ENABLE_CACAO printf -- '-cacao ALIASED_TO -server\n' >> $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg endif + cp $(abs_top_builddir)/nss.cfg \ + $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/security; +if WITH_TZDATA_DIR + cp $(abs_top_builddir)/tz.properties \ + $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib; +endif +if ENABLE_JAMVM + printf -- '-jamvm ALIASED_TO -server\n' >> $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg +endif + @echo "IcedTea (debug build) is served:" \ + $(DEBUG_BUILD_OUTPUT_DIR) + mkdir -p stamps + touch $@ + +clean-icedtea: + rm -rf $(BUILD_OUTPUT_DIR) + rm -f stamps/icedtea.stamp stamps/icedtea-debug.stamp + +stamps/add-systemtap-debug.stamp: stamps/icedtea-debug.stamp if ENABLE_SYSTEMTAP mkdir -p $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/tapset ; \ grep "client IGNORE" $(BUILD_JRE_ARCH_DIR)/jvm.cfg; \ @@ -1815,26 +1843,14 @@ cp $(abs_top_builddir)/tapset/jstack.stp \ $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/tapset/jstack.stp endif - cp $(abs_top_builddir)/nss.cfg \ - $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/security; -if WITH_TZDATA_DIR - cp $(abs_top_builddir)/tz.properties \ - $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib; -endif -if ENABLE_JAMVM - printf -- '-jamvm ALIASED_TO -server\n' >> $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg -endif - @echo "IcedTea (debug build) is served:" \ - $(DEBUG_BUILD_OUTPUT_DIR) - mkdir -p stamps - touch $@ + touch stamps/add-systemtap-debug.stamp -clean-icedtea: - rm -rf $(BUILD_OUTPUT_DIR) - rm -f stamps/icedtea.stamp stamps/icedtea-debug.stamp +clean-add-systemtap-debug: + rm -rf $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/tapset + rm -f stamps/add-systemtap-debug.stamp stamps/icedtea-stage2.stamp: stamps/icedtea.stamp stamps/add-cacao.stamp \ - stamps/add-zero.stamp stamps/add-jamvm.stamp + stamps/add-zero.stamp stamps/add-jamvm.stamp stamps/add-systemtap.stamp mkdir -p stamps touch $@ @@ -1842,7 +1858,8 @@ rm -f stamps/icedtea-stage2.stamp stamps/icedtea-debug-stage2.stamp: stamps/icedtea-debug.stamp \ - stamps/add-cacao-debug.stamp stamps/add-zero-debug.stamp stamps/add-jamvm-debug.stamp + stamps/add-cacao-debug.stamp stamps/add-zero-debug.stamp stamps/add-jamvm-debug.stamp \ + stamps/add-systemtap-debug.stamp mkdir -p stamps touch $@ @@ -2439,6 +2456,10 @@ # Target Aliases # =============== +add-systemtap: stamps/add-systemtap.stamp + +add-systemtap-debug: stamps/add-systemtap-debug.stamp + add-zero: stamps/add-zero.stamp add-zero-debug: stamps/add-zero-debug.stamp