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 \ 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/java.nio.charset.spi.CharsetProvider \ 205 META-INF/services/sun.net.spi.nameservice.NameServiceDescriptor \ 206 org/relaxng/datatype \ 207 sun/awt/HKSCS.class \ 208 sun/awt/motif/X11GB2312.class \ 209 sun/awt/motif/X11GB2312\$$$$Decoder.class \ 210 sun/awt/motif/X11GB2312\$$$$Encoder.class \ 211 sun/awt/motif/X11GBK.class \ 212 sun/awt/motif/X11GBK\$$$$Encoder.class \ 213 sun/awt/motif/X11KSC5601.class \ 214 sun/awt/motif/X11KSC5601\$$$$Decoder.class \ 215 sun/awt/motif/X11KSC5601\$$$$Encoder.class \ 216 sun/jvmstat \ 217 sun/net/spi/nameservice/dns \ 218 sun/nio/cs/ext \ 219 sun/rmi/rmic \ 220 sun/security/ec/ECDHKeyAgreement.class \ 221 sun/security/ec/ECDSASignature.class \ 222 sun/security/ec/ECDSASignature\$$$$Raw.class \ 223 sun/security/ec/ECDSASignature\$$$$SHA1.class \ 224 sun/security/ec/ECDSASignature\$$$$SHA224.class \ 225 sun/security/ec/ECDSASignature\$$$$SHA256.class \ 226 sun/security/ec/ECDSASignature\$$$$SHA384.class \ 227 sun/security/ec/ECDSASignature\$$$$SHA512.class \ 228 sun/security/ec/ECKeyFactory.class \ 229 sun/security/ec/ECKeyPairGenerator.class \ 230 sun/security/ec/SunEC\$$$$1.class \ 231 sun/security/ec/SunEC.class \ 232 sun/security/ec/SunECEntries.class \ 233 sun/security/internal \ 234 sun/security/mscapi \ 235 sun/security/pkcs11 \ 236 sun/security/provider/Sun.class \ 237 sun/security/rsa/SunRsaSign.class \ 238 sun/security/ssl \ 239 sun/security/tools/jarsigner \ 240 sun/swing/BeanInfoUtils.class \ 241 sun/text/resources/cldr \ 242 sun/tools/asm \ 243 sun/tools/attach \ 244 sun/tools/java \ 245 sun/tools/javac \ 246 sun/tools/jcmd \ 247 sun/tools/jconsole \ 248 sun/tools/jinfo \ 249 sun/tools/jmap \ 250 sun/tools/jps \ 251 sun/tools/jstack \ 252 sun/tools/jstat \ 253 sun/tools/jstatd \ 254 sun/tools/native2ascii \ 255 sun/tools/serialver \ 447 MANIFEST:=$(MAINMANIFEST), \ 448 CHECK_COMPRESS_JAR:=true)) 449 450 endif 451 endif 452 453 ########################################################################################## 454 455 $(eval $(call SetupArchive,BUILD_JSSE_JAR,,\ 456 SRCS:=$(JDK_OUTPUTDIR)/classes,\ 457 INCLUDES:=sun/security/provider/Sun.class \ 458 sun/security/rsa/SunRsaSign.class \ 459 sun/security/ssl \ 460 com/sun/net/ssl/internal/ssl,\ 461 JAR:=$(IMAGES_OUTPUTDIR)/lib/jsse.jar,\ 462 SKIP_METAINF:=true,\ 463 MANIFEST:=$(MAINMANIFEST), \ 464 CHECK_COMPRESS_JAR:=true)) 465 466 ########################################################################################## 467 # Create manifest for security jars 468 469 # 470 # Include these extra attributes for now, should probably take out. 471 # 472 JCE_MANIFEST := $(IMAGES_OUTPUTDIR)/lib/_the.security.manifest.mf 473 $(JCE_MANIFEST): $(MAINMANIFEST) 474 $(MKDIR) -p $(@D) 475 $(RM) $@ $@.tmp 476 $(SED) -e "s#@@RELEASE@@#$(JDK_VERSION)#" \ 477 -e "s#@@COMPANY_NAME@@#$(COMPANY_NAME)#" \ 478 $(MAINMANIFEST) >> $@.tmp 479 $(ECHO) "Extension-Name: javax.crypto" >> $@.tmp 480 $(ECHO) "Implementation-Vendor-Id: com.sun" >> $@.tmp 481 $(MV) $@.tmp $@ 482 483 ########################################################################################## 484 # For all security jars, always build the jar, but for closed, install the prebuilt signed 485 # version instead of the newly built jar. Unsigned jars are treated as intermediate targets 486 # and explicitly added to the JARS list. For open, signing is not needed. See SignJars.gmk 487 # for more information. 488 489 SUNPKCS11_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/ext/sunpkcs11.jar 490 SUNPKCS11_JAR_UNSIGNED := $(IMAGES_OUTPUTDIR)/unsigned/sunpkcs11.jar 491 492 $(eval $(call SetupArchive,BUILD_SUNPKCS11_JAR,,\ 493 SRCS:=$(JDK_OUTPUTDIR)/classes, \ 494 SUFFIXES:=.class,\ 495 INCLUDES:=sun/security/pkcs11,\ 496 JAR:=$(SUNPKCS11_JAR_UNSIGNED), \ 497 MANIFEST:=$(JCE_MANIFEST), \ 498 SKIP_METAINF := true)) 499 500 $(SUNPKCS11_JAR_UNSIGNED): $(JCE_MANIFEST) 501 502 ifndef OPENJDK 503 SUNPKCS11_JAR_SRC := $(JDK_TOPDIR)/make/closed/tools/crypto/pkcs11/sunpkcs11.jar 504 $(SUNPKCS11_JAR_DST) : $(SUNPKCS11_JAR_SRC) 505 @$(ECHO) $(LOG_INFO) "\n>>>Installing prebuilt SunPKCS11 provider..." 506 $(install-file) 507 else 508 $(SUNPKCS11_JAR_DST) : $(SUNPKCS11_JAR_UNSIGNED) 509 $(install-file) 510 endif 511 512 JARS += $(SUNPKCS11_JAR_UNSIGNED) 513 514 ########################################################################################## 515 516 SUNEC_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/ext/sunec.jar 517 SUNEC_JAR_UNSIGNED := $(IMAGES_OUTPUTDIR)/unsigned/sunec.jar 518 519 $(eval $(call SetupArchive,BUILD_SUNEC_JAR,,\ 520 SRCS:=$(JDK_OUTPUTDIR)/classes, \ 521 SUFFIXES:=.class,\ 522 INCLUDES:=sun/security/ec,\ 523 JAR:=$(SUNEC_JAR_UNSIGNED), \ 524 MANIFEST:=$(JCE_MANIFEST), \ 525 SKIP_METAINF := true)) 526 527 $(SUNEC_JAR_UNSIGNED): $(JCE_MANIFEST) 528 529 ifndef OPENJDK 530 SUNEC_JAR_SRC := $(JDK_TOPDIR)/make/closed/tools/crypto/ec/sunec.jar 531 $(SUNEC_JAR_DST) : $(SUNEC_JAR_SRC) 532 @$(ECHO) $(LOG_INFO) "\n>>>Installing prebuilt SunEC provider..." 533 $(install-file) 534 else 535 $(SUNEC_JAR_DST) : $(SUNEC_JAR_UNSIGNED) 536 $(install-file) 537 endif 538 539 JARS += $(SUNEC_JAR_UNSIGNED) 540 541 ########################################################################################## 542 543 $(eval $(call SetupArchive,BUILD_SWINGBEANS_JAR,,\ 544 SRCS:=$(JDK_OUTPUTDIR)/classes,\ 545 SUFFIXES:=BeanInfo.class .gif,\ 546 INCLUDES:=javax/swing sun/swing,\ 547 EXCLUDES:=javax/swing/plaf,\ 548 EXTRA_FILES:=javax/swing/SwingBeanInfoBase.class sun/swing/BeanInfoUtils.class,\ 549 JAR:=$(IMAGES_OUTPUTDIR)/lib/dt.jar,\ 550 SKIP_METAINF:=true)) 551 552 ########################################################################################## 553 554 SUNJCE_PROVIDER_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/ext/sunjce_provider.jar 555 SUNJCE_PROVIDER_JAR_UNSIGNED := $(IMAGES_OUTPUTDIR)/unsigned/sunjce_provider.jar 556 557 $(eval $(call SetupArchive,BUILD_SUNJCE_PROVIDER_JAR,,\ 558 SRCS:=$(JDK_OUTPUTDIR)/classes, \ 559 SUFFIXES:=.class,\ 560 INCLUDES:= com/sun/crypto/provider,\ 561 JAR:=$(SUNJCE_PROVIDER_JAR_UNSIGNED), \ 562 MANIFEST:=$(JCE_MANIFEST), \ 563 SKIP_METAINF := true)) 564 565 $(SUNJCE_PROVIDER_JAR_UNSIGNED): $(JCE_MANIFEST) 566 567 ifndef OPENJDK 568 SUNJCE_PROVIDER_JAR_SRC := $(JDK_TOPDIR)/make/closed/tools/crypto/jce/sunjce_provider.jar 569 $(SUNJCE_PROVIDER_JAR_DST) : $(SUNJCE_PROVIDER_JAR_SRC) 570 @$(ECHO) $(LOG_INFO) "\n>>>Installing prebuilt SunJCE provider..." 571 $(install-file) 572 else 573 $(SUNJCE_PROVIDER_JAR_DST) : $(SUNJCE_PROVIDER_JAR_UNSIGNED) 574 $(install-file) 575 endif 576 577 JARS += $(SUNJCE_PROVIDER_JAR_UNSIGNED) 578 579 ########################################################################################## 580 581 JCE_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/jce.jar 582 JCE_JAR_UNSIGNED := $(IMAGES_OUTPUTDIR)/unsigned/jce.jar 583 584 $(eval $(call SetupArchive,BUILD_JCE_JAR,,\ 585 SRCS:=$(JDK_OUTPUTDIR)/classes, \ 586 SUFFIXES:=.class,\ 587 INCLUDES:= javax/crypto sun/security/internal,\ 588 JAR:=$(JCE_JAR_UNSIGNED), \ 589 MANIFEST:=$(JCE_MANIFEST), \ 590 SKIP_METAINF := true)) 591 592 $(JCE_JAR_UNSIGNED): $(JCE_MANIFEST) 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 JARS += $(JCE_JAR_UNSIGNED) 605 606 ########################################################################################## 607 608 US_EXPORT_POLICY_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/security/US_export_policy.jar 609 US_EXPORT_POLICY_JAR_UNSIGNED := $(IMAGES_OUTPUTDIR)/unsigned/US_export_policy.jar 610 611 # 612 # TODO fix so that SetupArchive does not write files into SRCS 613 # then we don't need this extra copying 614 # 615 # NOTE: We currently do not place restrictions on our limited export 616 # policy. This was not a typo. 617 # 618 US_EXPORT_POLICY_JAR_SRC_DIR := $(JDK_TOPDIR)/make/javax/crypto/policy/unlimited 619 US_EXPORT_POLICY_JAR_TMP := $(IMAGES_OUTPUTDIR)/US_export_policy_jar.tmp 620 621 $(US_EXPORT_POLICY_JAR_TMP)/% : $(US_EXPORT_POLICY_JAR_SRC_DIR)/% 622 $(install-file) 623 624 US_EXPORT_POLICY_JAR_DEPS := $(US_EXPORT_POLICY_JAR_TMP)/default_US_export.policy 625 626 $(eval $(call SetupArchive,BUILD_US_EXPORT_POLICY_JAR,$(US_EXPORT_POLICY_JAR_DEPS),\ 627 SRCS:=$(US_EXPORT_POLICY_JAR_TMP), \ 628 SUFFIXES:= .policy,\ 629 JAR:=$(US_EXPORT_POLICY_JAR_UNSIGNED), \ 630 EXTRA_MANIFEST_ATTR := Crypto-Strength: unlimited, \ 631 SKIP_METAINF := true)) 632 633 ifndef OPENJDK 634 $(US_EXPORT_POLICY_JAR_DST): $(JDK_TOPDIR)/make/closed/tools/crypto/jce/US_export_policy.jar 635 $(ECHO) $(LOG_INFO) Copying $(@F) 636 $(install-file) 637 else 638 $(US_EXPORT_POLICY_JAR_DST): $(US_EXPORT_POLICY_JAR_UNSIGNED) 639 $(install-file) 640 endif 641 642 JARS += $(US_EXPORT_POLICY_JAR_UNSIGNED) 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 # 650 # TODO fix so that SetupArchive does not write files into SRCS 651 # then we don't need this extra copying 652 # 653 LOCAL_POLICY_JAR_TMP := $(IMAGES_OUTPUTDIR)/local_policy_jar.tmp 654 655 ifeq ($(UNLIMITED_CRYPTO), true) 656 LOCAL_POLICY_JAR_SRC_DIR := $(JDK_TOPDIR)/make/javax/crypto/policy/unlimited 657 LOCAL_POLICY_JAR_DEPS := $(LOCAL_POLICY_JAR_TMP)/default_local.policy 658 LOCAL_POLICY_JAR_ATTR := Crypto-Strength: unlimited 659 else 660 LOCAL_POLICY_JAR_SRC_DIR := $(JDK_TOPDIR)/make/javax/crypto/policy/limited 661 LOCAL_POLICY_JAR_DEPS := $(LOCAL_POLICY_JAR_TMP)/exempt_local.policy \ 662 $(LOCAL_POLICY_JAR_TMP)/default_local.policy 663 LOCAL_POLICY_JAR_ATTR := Crypto-Strength: limited 664 endif 665 666 $(LOCAL_POLICY_JAR_TMP)/% : $(LOCAL_POLICY_JAR_SRC_DIR)/% 667 $(install-file) 668 669 $(eval $(call SetupArchive,BUILD_LOCAL_POLICY_JAR,$(LOCAL_POLICY_JAR_DEPS),\ 670 SRCS:=$(LOCAL_POLICY_JAR_TMP),\ 671 SUFFIXES:= .policy,\ 672 JAR:=$(LOCAL_POLICY_JAR_UNSIGNED), \ 673 EXTRA_MANIFEST_ATTR := $(LOCAL_POLICY_JAR_ATTR), \ 674 SKIP_METAINF := true)) 675 676 ifndef OPENJDK 677 $(LOCAL_POLICY_JAR_DST): $(JDK_TOPDIR)/make/closed/tools/crypto/jce/local_policy.jar 678 $(ECHO) $(LOG_INFO) Copying $(@F) 679 $(install-file) 680 else 681 $(LOCAL_POLICY_JAR_DST): $(LOCAL_POLICY_JAR_UNSIGNED) 682 $(install-file) 683 endif 684 685 JARS += $(LOCAL_POLICY_JAR_UNSIGNED) 686 687 ########################################################################################## 688 689 ifeq ($(OPENJDK_TARGET_OS),windows) 690 691 SUNMSCAPI_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/ext/sunmscapi.jar 692 SUNMSCAPI_JAR_UNSIGNED := $(IMAGES_OUTPUTDIR)/unsigned/sunmscapi.jar 693 694 $(eval $(call SetupArchive,BUILD_SUNMSCAPI_JAR,,\ 695 SRCS:=$(JDK_OUTPUTDIR)/classes, \ 696 SUFFIXES:=.class,\ 697 INCLUDES:= sun/security/mscapi,\ 698 JAR:=$(SUNMSCAPI_JAR_UNSIGNED), \ 699 MANIFEST:=$(JCE_MANIFEST), \ 700 SKIP_METAINF:=true)) 701 702 $(SUNMSCAPI_JAR_UNSIGNED): $(JCE_MANIFEST) 703 704 ifndef OPENJDK 705 SUNMSCAPI_JAR_SRC := $(JDK_TOPDIR)/make/closed/tools/crypto/mscapi/sunmscapi.jar 706 $(SUNMSCAPI_JAR_DST) : $(SUNMSCAPI_JAR_SRC) 707 @$(ECHO) $(LOG_INFO) "\n>>>Installing prebuilt SunMSCAPI provider..." 708 $(install-file) 709 else 710 $(SUNMSCAPI_JAR_DST) : $(SUNMSCAPI_JAR_UNSIGNED) 711 $(install-file) 712 endif 713 714 JARS += $(SUNMSCAPI_JAR_UNSIGNED) 715 716 endif 717 718 ########################################################################################## 719 720 ifeq ($(OPENJDK_TARGET_OS),solaris) 721 ifndef OPENJDK 722 723 UCRYPTO_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/ext/ucrypto.jar 724 UCRYPTO_JAR_UNSIGNED := $(IMAGES_OUTPUTDIR)/unsigned/ucrypto.jar 725 UCRYPTO_JAR_SRC := $(JDK_TOPDIR)/make/closed/tools/crypto/ucrypto/ucrypto.jar 726 727 $(eval $(call SetupArchive,BUILD_UCRYPTO_JAR,,\ 728 SRCS:=$(JDK_OUTPUTDIR)/classes, \ 729 SUFFIXES:=.class,\ 730 INCLUDES:=com/oracle/security/ucrypto,\ 731 JAR:=$(UCRYPTO_JAR_UNSIGNED), \ 732 MANIFEST:=$(JCE_MANIFEST), \ 733 SKIP_METAINF:=true)) 734 735 $(UCRYPTO_JAR_UNSIGNED): $(JCE_MANIFEST) 736 737 $(UCRYPTO_JAR_DST) : $(UCRYPTO_JAR_SRC) 738 @$(ECHO) $(LOG_INFO) "\n>>>Installing prebuilt OracleUcrypto provider..." 739 $(install-file) 740 741 JARS += $(UCRYPTO_JAR_UNSIGNED) 742 743 endif 744 endif 745 746 ########################################################################################## 747 748 # Get the CLDRVERSION 749 include GensrcCLDR.gmk 750 751 CLDRDATA_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/ext/cldrdata.jar 752 753 $(eval $(call SetupArchive,BUILD_CLDRDATA_JAR,,\ 754 SRCS:=$(JDK_OUTPUTDIR)/classes,\ 755 SUFFIXES:=.class,\ 756 INCLUDES:=sun/text/resources/cldr \ 757 sun/util/cldr \ 758 sun/util/resources/cldr,\ 759 EXCLUDES:=sun/util/cldr/CLDRLocaleProviderAdapter,\ 760 JAR:=$(CLDRDATA_JAR_DST),\ 761 EXTRA_MANIFEST_ATTR:=CLDR-Version: $(CLDRVERSION),\ 762 SKIP_METAINF:=true)) 763 764 ########################################################################################## 765 766 TOOLS_JAR_INCLUDES := \ 767 com/sun/codemodel \ 1088 ZIP:=$(IMAGES_OUTPUTDIR)/sec-windows-bin.zip)) 1089 1090 JARS += $(IMAGES_OUTPUTDIR)/sec-windows-bin.zip 1091 1092 # JGSS files contain the native Kerberos library 1093 ifeq ($(OPENJDK_TARGET_CPU),x86_64) 1094 JGSS_ZIP_NAME=jgss-windows-x64-bin.zip 1095 else 1096 JGSS_ZIP_NAME=jgss-windows-i586-bin.zip 1097 endif 1098 1099 $(eval $(call SetupZipArchive,BUILD_JGSS_BIN_ZIP,\ 1100 SRC:=$(JDK_OUTPUTDIR),\ 1101 INCLUDE_FILES:=bin/w2k_lsa_auth.dll \ 1102 bin/w2k_lsa_auth.map \ 1103 bin/w2k_lsa_auth.pdb,\ 1104 ZIP:=$(IMAGES_OUTPUTDIR)/$(JGSS_ZIP_NAME))) 1105 1106 JARS += $(IMAGES_OUTPUTDIR)/$(JGSS_ZIP_NAME) 1107 endif 1108 1109 ########################################################################################## 1110 1111 # Import nashorn.jar from nashorn dist dir. 1112 $(IMAGES_OUTPUTDIR)/lib/ext/nashorn.jar: $(NASHORN_DIST)/nashorn.jar 1113 $(install-file) 1114 1115 ########################################################################################## 1116 1117 -include $(CUSTOM_MAKE_DIR)/CreateJars.gmk 1118 1119 ########################################################################################## 1120 1121 all: $(JARS) 1122 1123 .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 \ 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/java.nio.charset.spi.CharsetProvider \ 203 META-INF/services/sun.net.spi.nameservice.NameServiceDescriptor \ 204 org/relaxng/datatype \ 205 sun/awt/HKSCS.class \ 206 sun/awt/motif/X11GB2312.class \ 207 sun/awt/motif/X11GB2312\$$$$Decoder.class \ 208 sun/awt/motif/X11GB2312\$$$$Encoder.class \ 209 sun/awt/motif/X11GBK.class \ 210 sun/awt/motif/X11GBK\$$$$Encoder.class \ 211 sun/awt/motif/X11KSC5601.class \ 212 sun/awt/motif/X11KSC5601\$$$$Decoder.class \ 213 sun/awt/motif/X11KSC5601\$$$$Encoder.class \ 214 sun/jvmstat \ 215 sun/net/spi/nameservice/dns \ 216 sun/nio/cs/ext \ 217 sun/rmi/rmic \ 218 sun/security/provider/Sun.class \ 219 sun/security/rsa/SunRsaSign.class \ 220 sun/security/ssl \ 221 sun/security/tools/jarsigner \ 222 sun/swing/BeanInfoUtils.class \ 223 sun/text/resources/cldr \ 224 sun/tools/asm \ 225 sun/tools/attach \ 226 sun/tools/java \ 227 sun/tools/javac \ 228 sun/tools/jcmd \ 229 sun/tools/jconsole \ 230 sun/tools/jinfo \ 231 sun/tools/jmap \ 232 sun/tools/jps \ 233 sun/tools/jstack \ 234 sun/tools/jstat \ 235 sun/tools/jstatd \ 236 sun/tools/native2ascii \ 237 sun/tools/serialver \ 429 MANIFEST:=$(MAINMANIFEST), \ 430 CHECK_COMPRESS_JAR:=true)) 431 432 endif 433 endif 434 435 ########################################################################################## 436 437 $(eval $(call SetupArchive,BUILD_JSSE_JAR,,\ 438 SRCS:=$(JDK_OUTPUTDIR)/classes,\ 439 INCLUDES:=sun/security/provider/Sun.class \ 440 sun/security/rsa/SunRsaSign.class \ 441 sun/security/ssl \ 442 com/sun/net/ssl/internal/ssl,\ 443 JAR:=$(IMAGES_OUTPUTDIR)/lib/jsse.jar,\ 444 SKIP_METAINF:=true,\ 445 MANIFEST:=$(MAINMANIFEST), \ 446 CHECK_COMPRESS_JAR:=true)) 447 448 ########################################################################################## 449 450 $(eval $(call SetupArchive,BUILD_SWINGBEANS_JAR,,\ 451 SRCS:=$(JDK_OUTPUTDIR)/classes,\ 452 SUFFIXES:=BeanInfo.class .gif,\ 453 INCLUDES:=javax/swing sun/swing,\ 454 EXCLUDES:=javax/swing/plaf,\ 455 EXTRA_FILES:=javax/swing/SwingBeanInfoBase.class sun/swing/BeanInfoUtils.class,\ 456 JAR:=$(IMAGES_OUTPUTDIR)/lib/dt.jar,\ 457 SKIP_METAINF:=true)) 458 459 ########################################################################################## 460 461 # Get the CLDRVERSION 462 include GensrcCLDR.gmk 463 464 CLDRDATA_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/ext/cldrdata.jar 465 466 $(eval $(call SetupArchive,BUILD_CLDRDATA_JAR,,\ 467 SRCS:=$(JDK_OUTPUTDIR)/classes,\ 468 SUFFIXES:=.class,\ 469 INCLUDES:=sun/text/resources/cldr \ 470 sun/util/cldr \ 471 sun/util/resources/cldr,\ 472 EXCLUDES:=sun/util/cldr/CLDRLocaleProviderAdapter,\ 473 JAR:=$(CLDRDATA_JAR_DST),\ 474 EXTRA_MANIFEST_ATTR:=CLDR-Version: $(CLDRVERSION),\ 475 SKIP_METAINF:=true)) 476 477 ########################################################################################## 478 479 TOOLS_JAR_INCLUDES := \ 480 com/sun/codemodel \ 801 ZIP:=$(IMAGES_OUTPUTDIR)/sec-windows-bin.zip)) 802 803 JARS += $(IMAGES_OUTPUTDIR)/sec-windows-bin.zip 804 805 # JGSS files contain the native Kerberos library 806 ifeq ($(OPENJDK_TARGET_CPU),x86_64) 807 JGSS_ZIP_NAME=jgss-windows-x64-bin.zip 808 else 809 JGSS_ZIP_NAME=jgss-windows-i586-bin.zip 810 endif 811 812 $(eval $(call SetupZipArchive,BUILD_JGSS_BIN_ZIP,\ 813 SRC:=$(JDK_OUTPUTDIR),\ 814 INCLUDE_FILES:=bin/w2k_lsa_auth.dll \ 815 bin/w2k_lsa_auth.map \ 816 bin/w2k_lsa_auth.pdb,\ 817 ZIP:=$(IMAGES_OUTPUTDIR)/$(JGSS_ZIP_NAME))) 818 819 JARS += $(IMAGES_OUTPUTDIR)/$(JGSS_ZIP_NAME) 820 endif 821 822 ########################################################################################## 823 824 # This rule copies all jars from jdk/lib/... to images/lib/... to avoid having to track 825 # which jars are where 826 $(IMAGES_OUTPUTDIR)/lib/%: $(JDK_OUTPUTDIR)/lib/% 827 $(install-file) 828 829 ########################################################################################## 830 831 # Import nashorn.jar from nashorn dist dir. 832 $(IMAGES_OUTPUTDIR)/lib/ext/nashorn.jar: $(NASHORN_DIST)/nashorn.jar 833 $(install-file) 834 835 ########################################################################################## 836 837 -include $(CUSTOM_MAKE_DIR)/CreateJars.gmk 838 839 ########################################################################################## 840 841 all: $(JARS) 842 843 .PHONY: default all |