118 SUFFIXES:=.class _dict _th,\ 119 INCLUDES:=$(LOCALEDATA_INCLUDES),\ 120 EXCLUDES:=sun/text/resources/th/BreakIteratorRules_th.class,\ 121 JAR:=$(IMAGES_OUTPUTDIR)/lib/ext/localedata.jar,\ 122 SKIP_METAINF:=true)) 123 124 ########################################################################################## 125 # 126 # Different variants of rt.jar are built based on the current profile. The output 127 # directory is augmented with the profile name so that the final jar file and all the 128 # intermediary list files will be in directory. This has the form lib$PROFILE rather than 129 # lib/$PROFILE so that it won't get copied as part of the image generation process. 130 # Each profile customizes the RT_JAR_EXCLUDES variable. 131 # 132 ########################################################################################## 133 134 # Full JRE exclude list for rt.jar and resources.jar 135 # This value should exclude types destined for jars other than rt.jar and resources.jar. 136 # When building a Profile this value augments the profile specific exclusions 137 RT_JAR_EXCLUDES += \ 138 com/oracle/security \ 139 com/sun/codemodel \ 140 com/sun/crypto/provider \ 141 com/sun/istack/internal/tools \ 142 com/sun/jarsigner \ 143 com/sun/java/accessibility \ 144 com/sun/javadoc \ 145 com/sun/jdi \ 146 com/sun/net/ssl/internal/ssl \ 147 com/sun/source \ 148 com/sun/tools \ 149 com/sun/xml/internal/dtdparser \ 150 com/sun/xml/internal/rngom \ 151 com/sun/xml/internal/xsom \ 152 javax/crypto \ 153 javax/swing/AbstractButtonBeanInfo.class \ 154 javax/swing/beaninfo \ 155 javax/swing/BoxBeanInfo.class \ 156 javax/swing/JAppletBeanInfo.class \ 157 javax/swing/JButtonBeanInfo.class \ 158 javax/swing/JCheckBoxBeanInfo.class \ 159 javax/swing/JCheckBoxMenuItemBeanInfo.class \ 160 javax/swing/JColorChooserBeanInfo.class \ 199 javax/swing/text/JTextComponentBeanInfo.class \ 200 META-INF/services/com.sun.jdi.connect.Connector \ 201 META-INF/services/com.sun.jdi.connect.spi.TransportService \ 202 META-INF/services/com.sun.tools.attach.spi.AttachProvider \ 203 META-INF/services/com.sun.tools.xjc.Plugin \ 204 META-INF/services/sun.net.spi.nameservice.NameServiceDescriptor \ 205 org/relaxng/datatype \ 206 sun/awt/HKSCS.class \ 207 sun/awt/motif/X11GB2312.class \ 208 sun/awt/motif/X11GB2312\$$$$Decoder.class \ 209 sun/awt/motif/X11GB2312\$$$$Encoder.class \ 210 sun/awt/motif/X11GBK.class \ 211 sun/awt/motif/X11GBK\$$$$Encoder.class \ 212 sun/awt/motif/X11KSC5601.class \ 213 sun/awt/motif/X11KSC5601\$$$$Decoder.class \ 214 sun/awt/motif/X11KSC5601\$$$$Encoder.class \ 215 sun/jvmstat \ 216 sun/net/spi/nameservice/dns \ 217 sun/nio/cs/ext \ 218 sun/rmi/rmic \ 219 sun/security/ec \ 220 sun/security/internal \ 221 sun/security/mscapi \ 222 sun/security/pkcs11 \ 223 sun/security/provider/Sun.class \ 224 sun/security/rsa/SunRsaSign.class \ 225 sun/security/ssl \ 226 sun/security/tools/jarsigner \ 227 sun/swing/BeanInfoUtils.class \ 228 sun/text/resources/cldr \ 229 sun/tools/asm \ 230 sun/tools/attach \ 231 sun/tools/java \ 232 sun/tools/javac \ 233 sun/tools/jcmd \ 234 sun/tools/jconsole \ 235 sun/tools/jinfo \ 236 sun/tools/jmap \ 237 sun/tools/jps \ 238 sun/tools/jstack \ 239 sun/tools/jstat \ 240 sun/tools/jstatd \ 241 sun/tools/native2ascii \ 242 sun/tools/serialver \ 436 MANIFEST:=$(MAINMANIFEST), \ 437 CHECK_COMPRESS_JAR:=true)) 438 439 endif 440 endif 441 442 ########################################################################################## 443 444 $(eval $(call SetupArchive,BUILD_JSSE_JAR,,\ 445 SRCS:=$(JDK_OUTPUTDIR)/classes,\ 446 INCLUDES:=sun/security/provider/Sun.class \ 447 sun/security/rsa/SunRsaSign.class \ 448 sun/security/ssl \ 449 com/sun/net/ssl/internal/ssl,\ 450 JAR:=$(IMAGES_OUTPUTDIR)/lib/jsse.jar,\ 451 SKIP_METAINF:=true,\ 452 MANIFEST:=$(MAINMANIFEST), \ 453 CHECK_COMPRESS_JAR:=true)) 454 455 ########################################################################################## 456 # Create manifest for security jars 457 458 # 459 # Include these extra attributes for now, should probably take out. 460 # 461 JCE_MANIFEST := $(IMAGES_OUTPUTDIR)/lib/_the.security.manifest.mf 462 $(JCE_MANIFEST): $(MAINMANIFEST) 463 $(MKDIR) -p $(@D) 464 $(RM) $@ $@.tmp 465 $(SED) -e "s#@@RELEASE@@#$(JDK_VERSION)#" \ 466 -e "s#@@COMPANY_NAME@@#$(COMPANY_NAME)#" \ 467 $(MAINMANIFEST) >> $@.tmp 468 $(ECHO) "Extension-Name: javax.crypto" >> $@.tmp 469 $(ECHO) "Implementation-Vendor-Id: com.sun" >> $@.tmp 470 $(MV) $@.tmp $@ 471 472 ########################################################################################## 473 # For security and crypto jars, always build the jar, but for closed, install the prebuilt 474 # signed version instead of the newly built jar. Unsigned jars are treated as intermediate 475 # targets and explicitly added to the JARS list. For open, signing is not needed. See 476 # SignJars.gmk for more information. 477 # 478 # The source for the crypto jars is not available for all licensees. The BUILD_CRYPTO 479 # variable is set to no if these jars can't be built to skip that step of the build. 480 # Note that for OPENJDK, the build will fail if BUILD_CRYPTO=no since then there is no 481 # other way to get the jars than to build them. 482 483 SUNPKCS11_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/ext/sunpkcs11.jar 484 SUNPKCS11_JAR_UNSIGNED := $(IMAGES_OUTPUTDIR)/unsigned/sunpkcs11.jar 485 486 $(eval $(call SetupArchive,BUILD_SUNPKCS11_JAR,,\ 487 SRCS:=$(JDK_OUTPUTDIR)/classes, \ 488 SUFFIXES:=.class,\ 489 INCLUDES:=sun/security/pkcs11,\ 490 JAR:=$(SUNPKCS11_JAR_UNSIGNED), \ 491 MANIFEST:=$(JCE_MANIFEST), \ 492 SKIP_METAINF := true)) 493 494 $(SUNPKCS11_JAR_UNSIGNED): $(JCE_MANIFEST) 495 496 ifndef OPENJDK 497 SUNPKCS11_JAR_SRC := $(JDK_TOPDIR)/make/closed/tools/crypto/pkcs11/sunpkcs11.jar 498 $(SUNPKCS11_JAR_DST) : $(SUNPKCS11_JAR_SRC) 499 @$(ECHO) $(LOG_INFO) "\n>>>Installing prebuilt SunPKCS11 provider..." 500 $(install-file) 501 else 502 $(SUNPKCS11_JAR_DST) : $(SUNPKCS11_JAR_UNSIGNED) 503 $(install-file) 504 endif 505 506 JARS += $(SUNPKCS11_JAR_UNSIGNED) 507 508 ########################################################################################## 509 510 SUNEC_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/ext/sunec.jar 511 SUNEC_JAR_UNSIGNED := $(IMAGES_OUTPUTDIR)/unsigned/sunec.jar 512 513 $(eval $(call SetupArchive,BUILD_SUNEC_JAR,,\ 514 SRCS:=$(JDK_OUTPUTDIR)/classes, \ 515 SUFFIXES:=.class,\ 516 INCLUDES:=sun/security/ec,\ 517 JAR:=$(SUNEC_JAR_UNSIGNED), \ 518 MANIFEST:=$(JCE_MANIFEST), \ 519 SKIP_METAINF := true)) 520 521 $(SUNEC_JAR_UNSIGNED): $(JCE_MANIFEST) 522 523 ifndef OPENJDK 524 SUNEC_JAR_SRC := $(JDK_TOPDIR)/make/closed/tools/crypto/ec/sunec.jar 525 $(SUNEC_JAR_DST) : $(SUNEC_JAR_SRC) 526 @$(ECHO) $(LOG_INFO) "\n>>>Installing prebuilt SunEC provider..." 527 $(install-file) 528 else 529 $(SUNEC_JAR_DST) : $(SUNEC_JAR_UNSIGNED) 530 $(install-file) 531 endif 532 533 JARS += $(SUNEC_JAR_UNSIGNED) 534 535 ########################################################################################## 536 537 $(eval $(call SetupArchive,BUILD_SWINGBEANS_JAR,,\ 538 SRCS:=$(JDK_OUTPUTDIR)/classes,\ 539 SUFFIXES:=BeanInfo.class .gif,\ 540 INCLUDES:=javax/swing sun/swing,\ 541 EXCLUDES:=javax/swing/plaf,\ 542 EXTRA_FILES:=javax/swing/SwingBeanInfoBase.class sun/swing/BeanInfoUtils.class,\ 543 JAR:=$(IMAGES_OUTPUTDIR)/lib/dt.jar,\ 544 SKIP_METAINF:=true)) 545 546 ########################################################################################## 547 548 SUNJCE_PROVIDER_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/ext/sunjce_provider.jar 549 SUNJCE_PROVIDER_JAR_UNSIGNED := $(IMAGES_OUTPUTDIR)/unsigned/sunjce_provider.jar 550 551 ifneq ($(BUILD_CRYPTO),no) 552 $(eval $(call SetupArchive,BUILD_SUNJCE_PROVIDER_JAR,,\ 553 SRCS:=$(JDK_OUTPUTDIR)/classes, \ 554 SUFFIXES:=.class,\ 555 INCLUDES:= com/sun/crypto/provider,\ 556 JAR:=$(SUNJCE_PROVIDER_JAR_UNSIGNED), \ 557 MANIFEST:=$(JCE_MANIFEST), \ 558 SKIP_METAINF := true)) 559 560 $(SUNJCE_PROVIDER_JAR_UNSIGNED): $(JCE_MANIFEST) 561 562 JARS += $(SUNJCE_PROVIDER_JAR_UNSIGNED) 563 endif 564 565 ifndef OPENJDK 566 SUNJCE_PROVIDER_JAR_SRC := $(JDK_TOPDIR)/make/closed/tools/crypto/jce/sunjce_provider.jar 567 $(SUNJCE_PROVIDER_JAR_DST) : $(SUNJCE_PROVIDER_JAR_SRC) 568 @$(ECHO) $(LOG_INFO) "\n>>>Installing prebuilt SunJCE provider..." 569 $(install-file) 570 else 571 $(SUNJCE_PROVIDER_JAR_DST) : $(SUNJCE_PROVIDER_JAR_UNSIGNED) 572 $(install-file) 573 endif 574 575 ########################################################################################## 576 577 JCE_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/jce.jar 578 JCE_JAR_UNSIGNED := $(IMAGES_OUTPUTDIR)/unsigned/jce.jar 579 580 ifneq ($(BUILD_CRYPTO),no) 581 $(eval $(call SetupArchive,BUILD_JCE_JAR,,\ 582 SRCS:=$(JDK_OUTPUTDIR)/classes, \ 583 SUFFIXES:=.class,\ 584 INCLUDES:= javax/crypto sun/security/internal,\ 585 JAR:=$(JCE_JAR_UNSIGNED), \ 586 MANIFEST:=$(JCE_MANIFEST), \ 587 SKIP_METAINF := true)) 588 589 $(JCE_JAR_UNSIGNED): $(JCE_MANIFEST) 590 591 JARS += $(JCE_JAR_UNSIGNED) 592 endif 593 594 ifndef OPENJDK 595 JCE_JAR_SRC := $(JDK_TOPDIR)/make/closed/tools/crypto/jce/jce.jar 596 $(JCE_JAR_DST) : $(JCE_JAR_SRC) 597 @$(ECHO) $(LOG_INFO) "\n>>>Installing prebuilt jce.jar..." 598 $(install-file) 599 else 600 $(JCE_JAR_DST) : $(JCE_JAR_UNSIGNED) 601 $(install-file) 602 endif 603 604 ########################################################################################## 605 606 US_EXPORT_POLICY_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/security/US_export_policy.jar 607 US_EXPORT_POLICY_JAR_UNSIGNED := $(IMAGES_OUTPUTDIR)/unsigned/US_export_policy.jar 608 609 ifneq ($(BUILD_CRYPTO),no) 610 # 611 # TODO fix so that SetupArchive does not write files into SRCS 612 # then we don't need this extra copying 613 614 # NOTE: We currently do not place restrictions on our limited export 615 # policy. This was not a typo. 616 # 617 US_EXPORT_POLICY_JAR_SRC_DIR := $(JDK_TOPDIR)/make/javax/crypto/policy/unlimited 618 US_EXPORT_POLICY_JAR_TMP := $(IMAGES_OUTPUTDIR)/US_export_policy_jar.tmp 619 620 $(US_EXPORT_POLICY_JAR_TMP)/% : $(US_EXPORT_POLICY_JAR_SRC_DIR)/% 621 $(install-file) 622 623 US_EXPORT_POLICY_JAR_DEPS := $(US_EXPORT_POLICY_JAR_TMP)/default_US_export.policy 624 625 $(eval $(call SetupArchive,BUILD_US_EXPORT_POLICY_JAR,$(US_EXPORT_POLICY_JAR_DEPS),\ 626 SRCS:=$(US_EXPORT_POLICY_JAR_TMP), \ 627 SUFFIXES:= .policy,\ 628 JAR:=$(US_EXPORT_POLICY_JAR_UNSIGNED), \ 629 EXTRA_MANIFEST_ATTR := Crypto-Strength: unlimited, \ 630 SKIP_METAINF := true)) 631 632 JARS += $(US_EXPORT_POLICY_JAR_UNSIGNED) 633 endif 634 635 ifndef OPENJDK 636 $(US_EXPORT_POLICY_JAR_DST): $(JDK_TOPDIR)/make/closed/tools/crypto/jce/US_export_policy.jar 637 $(ECHO) $(LOG_INFO) Copying $(@F) 638 $(install-file) 639 else 640 $(US_EXPORT_POLICY_JAR_DST): $(US_EXPORT_POLICY_JAR_UNSIGNED) 641 $(install-file) 642 endif 643 644 ########################################################################################## 645 646 LOCAL_POLICY_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/security/local_policy.jar 647 LOCAL_POLICY_JAR_UNSIGNED := $(IMAGES_OUTPUTDIR)/unsigned/local_policy.jar 648 649 ifneq ($(BUILD_CRYPTO),no) 650 # 651 # TODO fix so that SetupArchive does not write files into SRCS 652 # then we don't need this extra copying 653 # 654 LOCAL_POLICY_JAR_TMP := $(IMAGES_OUTPUTDIR)/local_policy_jar.tmp 655 656 ifeq ($(UNLIMITED_CRYPTO), true) 657 LOCAL_POLICY_JAR_SRC_DIR := $(JDK_TOPDIR)/make/javax/crypto/policy/unlimited 658 LOCAL_POLICY_JAR_DEPS := $(LOCAL_POLICY_JAR_TMP)/default_local.policy 659 LOCAL_POLICY_JAR_ATTR := Crypto-Strength: unlimited 660 else 661 LOCAL_POLICY_JAR_SRC_DIR := $(JDK_TOPDIR)/make/javax/crypto/policy/limited 662 LOCAL_POLICY_JAR_DEPS := $(LOCAL_POLICY_JAR_TMP)/exempt_local.policy \ 663 $(LOCAL_POLICY_JAR_TMP)/default_local.policy 664 LOCAL_POLICY_JAR_ATTR := Crypto-Strength: limited 665 endif 666 667 $(LOCAL_POLICY_JAR_TMP)/% : $(LOCAL_POLICY_JAR_SRC_DIR)/% 668 $(install-file) 669 670 $(eval $(call SetupArchive,BUILD_LOCAL_POLICY_JAR,$(LOCAL_POLICY_JAR_DEPS),\ 671 SRCS:=$(LOCAL_POLICY_JAR_TMP),\ 672 SUFFIXES:= .policy,\ 673 JAR:=$(LOCAL_POLICY_JAR_UNSIGNED), \ 674 EXTRA_MANIFEST_ATTR := $(LOCAL_POLICY_JAR_ATTR), \ 675 SKIP_METAINF := true)) 676 677 JARS += $(LOCAL_POLICY_JAR_UNSIGNED) 678 endif 679 680 ifndef OPENJDK 681 $(LOCAL_POLICY_JAR_DST): $(JDK_TOPDIR)/make/closed/tools/crypto/jce/local_policy.jar 682 $(ECHO) $(LOG_INFO) Copying $(@F) 683 $(install-file) 684 else 685 $(LOCAL_POLICY_JAR_DST): $(LOCAL_POLICY_JAR_UNSIGNED) 686 $(install-file) 687 endif 688 689 ########################################################################################## 690 691 ifeq ($(OPENJDK_TARGET_OS),windows) 692 693 SUNMSCAPI_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/ext/sunmscapi.jar 694 SUNMSCAPI_JAR_UNSIGNED := $(IMAGES_OUTPUTDIR)/unsigned/sunmscapi.jar 695 696 $(eval $(call SetupArchive,BUILD_SUNMSCAPI_JAR,,\ 697 SRCS:=$(JDK_OUTPUTDIR)/classes, \ 698 SUFFIXES:=.class,\ 699 INCLUDES:= sun/security/mscapi,\ 700 JAR:=$(SUNMSCAPI_JAR_UNSIGNED), \ 701 MANIFEST:=$(JCE_MANIFEST), \ 702 SKIP_METAINF:=true)) 703 704 $(SUNMSCAPI_JAR_UNSIGNED): $(JCE_MANIFEST) 705 706 ifndef OPENJDK 707 SUNMSCAPI_JAR_SRC := $(JDK_TOPDIR)/make/closed/tools/crypto/mscapi/sunmscapi.jar 708 $(SUNMSCAPI_JAR_DST) : $(SUNMSCAPI_JAR_SRC) 709 @$(ECHO) $(LOG_INFO) "\n>>>Installing prebuilt SunMSCAPI provider..." 710 $(install-file) 711 else 712 $(SUNMSCAPI_JAR_DST) : $(SUNMSCAPI_JAR_UNSIGNED) 713 $(install-file) 714 endif 715 716 JARS += $(SUNMSCAPI_JAR_UNSIGNED) 717 718 endif 719 720 ########################################################################################## 721 722 ifeq ($(OPENJDK_TARGET_OS),solaris) 723 ifndef OPENJDK 724 725 UCRYPTO_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/ext/ucrypto.jar 726 UCRYPTO_JAR_UNSIGNED := $(IMAGES_OUTPUTDIR)/unsigned/ucrypto.jar 727 UCRYPTO_JAR_SRC := $(JDK_TOPDIR)/make/closed/tools/crypto/ucrypto/ucrypto.jar 728 729 $(eval $(call SetupArchive,BUILD_UCRYPTO_JAR,,\ 730 SRCS:=$(JDK_OUTPUTDIR)/classes, \ 731 SUFFIXES:=.class,\ 732 INCLUDES:=com/oracle/security/ucrypto,\ 733 JAR:=$(UCRYPTO_JAR_UNSIGNED), \ 734 MANIFEST:=$(JCE_MANIFEST), \ 735 SKIP_METAINF:=true)) 736 737 $(UCRYPTO_JAR_UNSIGNED): $(JCE_MANIFEST) 738 739 $(UCRYPTO_JAR_DST) : $(UCRYPTO_JAR_SRC) 740 @$(ECHO) $(LOG_INFO) "\n>>>Installing prebuilt OracleUcrypto provider..." 741 $(install-file) 742 743 JARS += $(UCRYPTO_JAR_UNSIGNED) 744 745 endif 746 endif 747 748 ########################################################################################## 749 750 # Get the CLDRVERSION 751 include GensrcCLDR.gmk 752 753 CLDRDATA_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/ext/cldrdata.jar 754 755 $(eval $(call SetupArchive,BUILD_CLDRDATA_JAR,,\ 756 SRCS:=$(JDK_OUTPUTDIR)/classes,\ 757 SUFFIXES:=.class,\ 758 INCLUDES:=sun/text/resources/cldr \ 759 sun/util/cldr \ 760 sun/util/resources/cldr,\ 761 EXCLUDES:=sun/util/cldr/CLDRLocaleProviderAdapter,\ 762 JAR:=$(CLDRDATA_JAR_DST),\ 763 EXTRA_MANIFEST_ATTR:=CLDR-Version: $(CLDRVERSION),\ 764 SKIP_METAINF:=true)) 765 766 ########################################################################################## 767 768 TOOLS_JAR_INCLUDES := \ 769 com/sun/codemodel \ 1090 ZIP:=$(IMAGES_OUTPUTDIR)/sec-windows-bin.zip)) 1091 1092 JARS += $(IMAGES_OUTPUTDIR)/sec-windows-bin.zip 1093 1094 # JGSS files contain the native Kerberos library 1095 ifeq ($(OPENJDK_TARGET_CPU),x86_64) 1096 JGSS_ZIP_NAME=jgss-windows-x64-bin.zip 1097 else 1098 JGSS_ZIP_NAME=jgss-windows-i586-bin.zip 1099 endif 1100 1101 $(eval $(call SetupZipArchive,BUILD_JGSS_BIN_ZIP,\ 1102 SRC:=$(JDK_OUTPUTDIR),\ 1103 INCLUDE_FILES:=bin/w2k_lsa_auth.dll \ 1104 bin/w2k_lsa_auth.map \ 1105 bin/w2k_lsa_auth.pdb,\ 1106 ZIP:=$(IMAGES_OUTPUTDIR)/$(JGSS_ZIP_NAME))) 1107 1108 JARS += $(IMAGES_OUTPUTDIR)/$(JGSS_ZIP_NAME) 1109 endif 1110 1111 ########################################################################################## 1112 1113 # Import nashorn.jar from nashorn dist dir. 1114 $(IMAGES_OUTPUTDIR)/lib/ext/nashorn.jar: $(NASHORN_DIST)/nashorn.jar 1115 $(install-file) 1116 1117 ########################################################################################## 1118 1119 -include $(CUSTOM_MAKE_DIR)/CreateJars.gmk 1120 1121 ########################################################################################## 1122 1123 all: $(JARS) 1124 1125 .PHONY: default all | 118 SUFFIXES:=.class _dict _th,\ 119 INCLUDES:=$(LOCALEDATA_INCLUDES),\ 120 EXCLUDES:=sun/text/resources/th/BreakIteratorRules_th.class,\ 121 JAR:=$(IMAGES_OUTPUTDIR)/lib/ext/localedata.jar,\ 122 SKIP_METAINF:=true)) 123 124 ########################################################################################## 125 # 126 # Different variants of rt.jar are built based on the current profile. The output 127 # directory is augmented with the profile name so that the final jar file and all the 128 # intermediary list files will be in directory. This has the form lib$PROFILE rather than 129 # lib/$PROFILE so that it won't get copied as part of the image generation process. 130 # Each profile customizes the RT_JAR_EXCLUDES variable. 131 # 132 ########################################################################################## 133 134 # Full JRE exclude list for rt.jar and resources.jar 135 # This value should exclude types destined for jars other than rt.jar and resources.jar. 136 # When building a Profile this value augments the profile specific exclusions 137 RT_JAR_EXCLUDES += \ 138 com/sun/codemodel \ 139 com/sun/istack/internal/tools \ 140 com/sun/jarsigner \ 141 com/sun/java/accessibility \ 142 com/sun/javadoc \ 143 com/sun/jdi \ 144 com/sun/net/ssl/internal/ssl \ 145 com/sun/source \ 146 com/sun/tools \ 147 com/sun/xml/internal/dtdparser \ 148 com/sun/xml/internal/rngom \ 149 com/sun/xml/internal/xsom \ 150 javax/crypto \ 151 javax/swing/AbstractButtonBeanInfo.class \ 152 javax/swing/beaninfo \ 153 javax/swing/BoxBeanInfo.class \ 154 javax/swing/JAppletBeanInfo.class \ 155 javax/swing/JButtonBeanInfo.class \ 156 javax/swing/JCheckBoxBeanInfo.class \ 157 javax/swing/JCheckBoxMenuItemBeanInfo.class \ 158 javax/swing/JColorChooserBeanInfo.class \ 197 javax/swing/text/JTextComponentBeanInfo.class \ 198 META-INF/services/com.sun.jdi.connect.Connector \ 199 META-INF/services/com.sun.jdi.connect.spi.TransportService \ 200 META-INF/services/com.sun.tools.attach.spi.AttachProvider \ 201 META-INF/services/com.sun.tools.xjc.Plugin \ 202 META-INF/services/sun.net.spi.nameservice.NameServiceDescriptor \ 203 org/relaxng/datatype \ 204 sun/awt/HKSCS.class \ 205 sun/awt/motif/X11GB2312.class \ 206 sun/awt/motif/X11GB2312\$$$$Decoder.class \ 207 sun/awt/motif/X11GB2312\$$$$Encoder.class \ 208 sun/awt/motif/X11GBK.class \ 209 sun/awt/motif/X11GBK\$$$$Encoder.class \ 210 sun/awt/motif/X11KSC5601.class \ 211 sun/awt/motif/X11KSC5601\$$$$Decoder.class \ 212 sun/awt/motif/X11KSC5601\$$$$Encoder.class \ 213 sun/jvmstat \ 214 sun/net/spi/nameservice/dns \ 215 sun/nio/cs/ext \ 216 sun/rmi/rmic \ 217 sun/security/provider/Sun.class \ 218 sun/security/rsa/SunRsaSign.class \ 219 sun/security/ssl \ 220 sun/security/tools/jarsigner \ 221 sun/swing/BeanInfoUtils.class \ 222 sun/text/resources/cldr \ 223 sun/tools/asm \ 224 sun/tools/attach \ 225 sun/tools/java \ 226 sun/tools/javac \ 227 sun/tools/jcmd \ 228 sun/tools/jconsole \ 229 sun/tools/jinfo \ 230 sun/tools/jmap \ 231 sun/tools/jps \ 232 sun/tools/jstack \ 233 sun/tools/jstat \ 234 sun/tools/jstatd \ 235 sun/tools/native2ascii \ 236 sun/tools/serialver \ 430 MANIFEST:=$(MAINMANIFEST), \ 431 CHECK_COMPRESS_JAR:=true)) 432 433 endif 434 endif 435 436 ########################################################################################## 437 438 $(eval $(call SetupArchive,BUILD_JSSE_JAR,,\ 439 SRCS:=$(JDK_OUTPUTDIR)/classes,\ 440 INCLUDES:=sun/security/provider/Sun.class \ 441 sun/security/rsa/SunRsaSign.class \ 442 sun/security/ssl \ 443 com/sun/net/ssl/internal/ssl,\ 444 JAR:=$(IMAGES_OUTPUTDIR)/lib/jsse.jar,\ 445 SKIP_METAINF:=true,\ 446 MANIFEST:=$(MAINMANIFEST), \ 447 CHECK_COMPRESS_JAR:=true)) 448 449 ########################################################################################## 450 451 $(eval $(call SetupArchive,BUILD_SWINGBEANS_JAR,,\ 452 SRCS:=$(JDK_OUTPUTDIR)/classes,\ 453 SUFFIXES:=BeanInfo.class .gif,\ 454 INCLUDES:=javax/swing sun/swing,\ 455 EXCLUDES:=javax/swing/plaf,\ 456 EXTRA_FILES:=javax/swing/SwingBeanInfoBase.class sun/swing/BeanInfoUtils.class,\ 457 JAR:=$(IMAGES_OUTPUTDIR)/lib/dt.jar,\ 458 SKIP_METAINF:=true)) 459 460 ########################################################################################## 461 462 # Get the CLDRVERSION 463 include GensrcCLDR.gmk 464 465 CLDRDATA_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/ext/cldrdata.jar 466 467 $(eval $(call SetupArchive,BUILD_CLDRDATA_JAR,,\ 468 SRCS:=$(JDK_OUTPUTDIR)/classes,\ 469 SUFFIXES:=.class,\ 470 INCLUDES:=sun/text/resources/cldr \ 471 sun/util/cldr \ 472 sun/util/resources/cldr,\ 473 EXCLUDES:=sun/util/cldr/CLDRLocaleProviderAdapter,\ 474 JAR:=$(CLDRDATA_JAR_DST),\ 475 EXTRA_MANIFEST_ATTR:=CLDR-Version: $(CLDRVERSION),\ 476 SKIP_METAINF:=true)) 477 478 ########################################################################################## 479 480 TOOLS_JAR_INCLUDES := \ 481 com/sun/codemodel \ 802 ZIP:=$(IMAGES_OUTPUTDIR)/sec-windows-bin.zip)) 803 804 JARS += $(IMAGES_OUTPUTDIR)/sec-windows-bin.zip 805 806 # JGSS files contain the native Kerberos library 807 ifeq ($(OPENJDK_TARGET_CPU),x86_64) 808 JGSS_ZIP_NAME=jgss-windows-x64-bin.zip 809 else 810 JGSS_ZIP_NAME=jgss-windows-i586-bin.zip 811 endif 812 813 $(eval $(call SetupZipArchive,BUILD_JGSS_BIN_ZIP,\ 814 SRC:=$(JDK_OUTPUTDIR),\ 815 INCLUDE_FILES:=bin/w2k_lsa_auth.dll \ 816 bin/w2k_lsa_auth.map \ 817 bin/w2k_lsa_auth.pdb,\ 818 ZIP:=$(IMAGES_OUTPUTDIR)/$(JGSS_ZIP_NAME))) 819 820 JARS += $(IMAGES_OUTPUTDIR)/$(JGSS_ZIP_NAME) 821 endif 822 823 ########################################################################################## 824 825 # This rule copies all jars from jdk/lib/... to images/lib/... to avoid having to track 826 # which jars are where 827 $(IMAGES_OUTPUTDIR)/lib/%: $(JDK_OUTPUTDIR)/lib/% 828 $(install-file) 829 830 ########################################################################################## 831 832 # Import nashorn.jar from nashorn dist dir. 833 $(IMAGES_OUTPUTDIR)/lib/ext/nashorn.jar: $(NASHORN_DIST)/nashorn.jar 834 $(install-file) 835 836 ########################################################################################## 837 838 -include $(CUSTOM_MAKE_DIR)/CreateJars.gmk 839 840 ########################################################################################## 841 842 all: $(JARS) 843 844 .PHONY: default all |