erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 1 | # |
| 2 | # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
| 3 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
| 4 | # |
| 5 | # This code is free software; you can redistribute it and/or modify it |
| 6 | # under the terms of the GNU General Public License version 2 only, as |
| 7 | # published by the Free Software Foundation. Oracle designates this |
| 8 | # particular file as subject to the "Classpath" exception as provided |
| 9 | # by Oracle in the LICENSE file that accompanied this code. |
| 10 | # |
| 11 | # This code is distributed in the hope that it will be useful, but WITHOUT |
| 12 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| 13 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
| 14 | # version 2 for more details (a copy is included in the LICENSE file that |
| 15 | # accompanied this code). |
| 16 | # |
| 17 | # You should have received a copy of the GNU General Public License version |
| 18 | # 2 along with this work; if not, write to the Free Software Foundation, |
| 19 | # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
| 20 | # |
| 21 | # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
| 22 | # or visit www.oracle.com if you need additional information or have any |
| 23 | # questions. |
| 24 | # |
| 25 | |
| 26 | include $(SPEC) |
| 27 | include MakeBase.gmk |
| 28 | include JavaCompilation.gmk |
| 29 | include Setup.gmk |
| 30 | |
| 31 | default: all |
| 32 | |
| 33 | include Tools.gmk |
| 34 | |
erikj | af85fc4 | 2012-07-03 16:10:44 -0700 | [diff] [blame] | 35 | # |
| 36 | # This makefile...so that altering will trigger rebuilding include/exclude-lists => jars |
| 37 | # |
| 38 | MAKEFILE=$(JDK_TOPDIR)/makefiles/CreateJars.gmk |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 39 | |
| 40 | MAINMANIFEST := $(JDK_TOPDIR)/make/tools/manifest.mf |
| 41 | BEANMANIFEST := $(JDK_TOPDIR)/make/javax/swing/beaninfo/manifest |
| 42 | |
| 43 | JARS:= |
| 44 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 45 | $(eval $(call MakeDir,$(IMAGES_OUTPUTDIR)/lib)) |
| 46 | |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 47 | ########################################################################################## |
| 48 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 49 | $(eval $(call SetupArchive,BUILD_JCONSOLE_JAR,,\ |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 50 | SRCS:=$(JDK_OUTPUTDIR)/classes,\ |
erikj | af85fc4 | 2012-07-03 16:10:44 -0700 | [diff] [blame] | 51 | SUFFIXES:=.class .gif .png .properties,\ |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 52 | INCLUDES:=sun/tools/jconsole com/sun/tools/jconsole,\ |
| 53 | JARMAIN:=sun.tools.jconsole.JConsole,\ |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 54 | JAR:=$(IMAGES_OUTPUTDIR)/lib/jconsole.jar,\ |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 55 | SKIP_METAINF:=true)) |
| 56 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 57 | JARS+=$(IMAGES_OUTPUTDIR)/lib/jconsole.jar |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 58 | |
| 59 | ########################################################################################## |
| 60 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 61 | $(eval $(call SetupArchive,BUILD_DNS_JAR,,\ |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 62 | SRCS:=$(JDK_OUTPUTDIR)/classes,\ |
| 63 | INCLUDES:=sun/net/spi/nameservice/dns,\ |
| 64 | EXTRA_FILES:=META-INF/services/sun.net.spi.nameservice.NameServiceDescriptor,\ |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 65 | JAR:=$(IMAGES_OUTPUTDIR)/lib/ext/dnsns.jar,\ |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 66 | SKIP_METAINF:=true)) |
| 67 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 68 | JARS+=$(IMAGES_OUTPUTDIR)/lib/ext/dnsns.jar |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 69 | |
| 70 | ########################################################################################## |
| 71 | |
naoto | c378ffc | 2012-08-21 11:00:30 -0700 | [diff] [blame] | 72 | LOCALEDATA_INCLUDE_LOCALES := ar hi iw ja ko th vi zh |
| 73 | LOCALEDATA_INCLUDES := $(addprefix sun/text/resources/,$(LOCALEDATA_INCLUDE_LOCALES)) \ |
| 74 | $(addprefix sun/util/resources/,$(LOCALEDATA_INCLUDE_LOCALES)) |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 75 | |
| 76 | $(eval $(call SetupArchive,BUILD_LOCALEDATA_JAR,,\ |
| 77 | SRCS:=$(JDK_OUTPUTDIR)/classes,\ |
| 78 | SUFFIXES:=.class _dict _th,\ |
| 79 | INCLUDES:=$(LOCALEDATA_INCLUDES),\ |
naoto | c378ffc | 2012-08-21 11:00:30 -0700 | [diff] [blame] | 80 | EXCLUDES:=sun/text/resources/th/BreakIteratorRules_th.class,\ |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 81 | JAR:=$(IMAGES_OUTPUTDIR)/lib/ext/localedata.jar,\ |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 82 | SKIP_METAINF:=true)) |
| 83 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 84 | JARS+=$(IMAGES_OUTPUTDIR)/lib/ext/localedata.jar |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 85 | |
| 86 | ########################################################################################## |
| 87 | # rt.jar and resources.jar are being built in the same way as in the old build. They require |
| 88 | # the files to be in a certain order and converting that is not easy and will not be needed |
| 89 | # in jigsaw anyway. |
| 90 | |
| 91 | # Exclude list for rt.jar and resources.jar |
| 92 | RT_JAR_EXCLUDES := \ |
| 93 | com/sun/javadoc \ |
| 94 | com/sun/jdi \ |
| 95 | com/sun/jarsigner \ |
| 96 | com/sun/source \ |
| 97 | com/sun/istack/internal/tools \ |
| 98 | META-INF/services/com.sun.jdi.connect.Connector \ |
| 99 | META-INF/services/com.sun.jdi.connect.spi.TransportService \ |
| 100 | META-INF/services/com.sun.tools.xjc.Plugin \ |
| 101 | com/sun/tools \ |
| 102 | sun/jvmstat \ |
| 103 | sun/nio/cs/ext \ |
| 104 | sun/awt/HKSCS.class \ |
| 105 | sun/awt/motif/X11GB2312\$$$$Decoder.class \ |
| 106 | sun/awt/motif/X11GB2312\$$$$Encoder.class \ |
| 107 | sun/awt/motif/X11GB2312.class \ |
| 108 | sun/awt/motif/X11GBK\$$$$Encoder.class \ |
| 109 | sun/awt/motif/X11GBK.class \ |
| 110 | sun/awt/motif/X11KSC5601\$$$$Decoder.class \ |
| 111 | sun/awt/motif/X11KSC5601\$$$$Encoder.class \ |
| 112 | sun/awt/motif/X11KSC5601.class \ |
| 113 | META-INF/services/java.nio.charset.spi.CharsetProvider \ |
| 114 | sun/rmi/rmic \ |
| 115 | sun/tools/asm \ |
| 116 | sun/tools/java \ |
| 117 | sun/tools/javac \ |
| 118 | com/sun/tools/classfile \ |
| 119 | com/sun/tools/javap \ |
| 120 | sun/tools/jcmd \ |
| 121 | sun/tools/jconsole \ |
| 122 | sun/tools/jps \ |
| 123 | sun/tools/jstat \ |
| 124 | sun/tools/jstatd \ |
| 125 | sun/tools/native2ascii \ |
| 126 | sun/tools/serialver \ |
| 127 | sun/tools/tree \ |
| 128 | sun/tools/util \ |
| 129 | sun/security/tools/JarBASE64Encoder.class \ |
| 130 | sun/security/tools/JarSigner.class \ |
| 131 | sun/security/tools/JarSignerParameters.class \ |
| 132 | sun/security/tools/JarSignerResources.class \ |
| 133 | sun/security/tools/JarSignerResources_ja.class \ |
| 134 | sun/security/tools/JarSignerResources_zh_CN.class \ |
| 135 | sun/security/tools/SignatureFile\$$$$Block.class \ |
| 136 | sun/security/tools/SignatureFile.class \ |
| 137 | sun/security/tools/TimestampedSigner.class \ |
| 138 | sun/security/provider/Sun.class \ |
| 139 | sun/security/rsa/SunRsaSign.class \ |
| 140 | sun/security/ssl \ |
| 141 | sun/security/ec/ECDHKeyAgreement.class \ |
| 142 | sun/security/ec/ECDSASignature\$$$$Raw.class \ |
| 143 | sun/security/ec/ECDSASignature\$$$$SHA1.class \ |
| 144 | sun/security/ec/ECDSASignature\$$$$SHA224.class \ |
| 145 | sun/security/ec/ECDSASignature\$$$$SHA256.class \ |
| 146 | sun/security/ec/ECDSASignature\$$$$SHA384.class \ |
| 147 | sun/security/ec/ECDSASignature\$$$$SHA512.class \ |
| 148 | sun/security/ec/ECDSASignature.class \ |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 149 | sun/security/ec/ECKeyFactory.class \ |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 150 | sun/security/ec/ECKeyPairGenerator.class \ |
| 151 | sun/security/ec/SunEC\$$$$1.class \ |
| 152 | sun/security/ec/SunEC.class \ |
| 153 | sun/security/ec/SunECEntries.class \ |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 154 | sun/security/mscapi \ |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 155 | sun/security/pkcs11 \ |
| 156 | com/sun/net/ssl/internal/ssl \ |
| 157 | javax/crypto \ |
| 158 | sun/security/internal \ |
| 159 | com/sun/crypto/provider \ |
| 160 | META-INF/services/com.sun.tools.attach.spi.AttachProvider \ |
| 161 | com/sun/tools/attach \ |
| 162 | org/relaxng/datatype \ |
| 163 | com/sun/codemodel \ |
| 164 | com/sun/xml/internal/dtdparser \ |
| 165 | com/sun/xml/internal/rngom \ |
| 166 | com/sun/xml/internal/xsom \ |
| 167 | com/sun/tools/script/shell \ |
| 168 | sun/tools/attach \ |
| 169 | sun/tools/jstack \ |
| 170 | sun/tools/jinfo \ |
| 171 | sun/tools/jmap \ |
| 172 | sun/net/spi/nameservice/dns \ |
| 173 | META-INF/services/sun.net.spi.nameservice.NameServiceDescriptor \ |
| 174 | javax/swing/beaninfo \ |
| 175 | javax/swing/AbstractButtonBeanInfo.class \ |
| 176 | javax/swing/BoxBeanInfo.class \ |
| 177 | javax/swing/JAppletBeanInfo.class \ |
| 178 | javax/swing/JButtonBeanInfo.class \ |
| 179 | javax/swing/JCheckBoxBeanInfo.class \ |
| 180 | javax/swing/JCheckBoxMenuItemBeanInfo.class \ |
| 181 | javax/swing/JColorChooserBeanInfo.class \ |
| 182 | javax/swing/JComboBoxBeanInfo.class \ |
| 183 | javax/swing/JComponentBeanInfo.class \ |
| 184 | javax/swing/JDesktopPaneBeanInfo.class \ |
| 185 | javax/swing/JDialogBeanInfo.class \ |
| 186 | javax/swing/JEditorPaneBeanInfo.class \ |
| 187 | javax/swing/JFileChooserBeanInfo.class \ |
| 188 | javax/swing/JFormattedTextFieldBeanInfo.class \ |
| 189 | javax/swing/JFrameBeanInfo.class \ |
| 190 | javax/swing/JInternalFrameBeanInfo.class \ |
| 191 | javax/swing/JLabelBeanInfo.class \ |
| 192 | javax/swing/JLayeredPaneBeanInfo.class \ |
| 193 | javax/swing/JListBeanInfo.class \ |
| 194 | javax/swing/JMenuBarBeanInfo.class \ |
| 195 | javax/swing/JMenuBeanInfo.class \ |
| 196 | javax/swing/JMenuItemBeanInfo.class \ |
| 197 | javax/swing/JOptionPaneBeanInfo.class \ |
| 198 | javax/swing/JPanelBeanInfo.class \ |
| 199 | javax/swing/JPasswordFieldBeanInfo.class \ |
| 200 | javax/swing/JPopupMenuBeanInfo.class \ |
| 201 | javax/swing/JProgressBarBeanInfo.class \ |
| 202 | javax/swing/JRadioButtonBeanInfo.class \ |
| 203 | javax/swing/JRadioButtonMenuItemBeanInfo.class \ |
| 204 | javax/swing/JScrollBarBeanInfo.class \ |
| 205 | javax/swing/JScrollPaneBeanInfo.class \ |
| 206 | javax/swing/JSeparatorBeanInfo.class \ |
| 207 | javax/swing/JSliderBeanInfo.class \ |
| 208 | javax/swing/JSpinnerBeanInfo.class \ |
| 209 | javax/swing/JSplitPaneBeanInfo.class \ |
| 210 | javax/swing/JTabbedPaneBeanInfo.class \ |
| 211 | javax/swing/JTableBeanInfo.class \ |
| 212 | javax/swing/JTextAreaBeanInfo.class \ |
| 213 | javax/swing/JTextFieldBeanInfo.class \ |
| 214 | javax/swing/JTextPaneBeanInfo.class \ |
| 215 | javax/swing/JToggleButtonBeanInfo.class \ |
| 216 | javax/swing/JToolBarBeanInfo.class \ |
| 217 | javax/swing/JTreeBeanInfo.class \ |
| 218 | javax/swing/JWindowBeanInfo.class \ |
| 219 | javax/swing/SwingBeanInfoBase.class \ |
| 220 | javax/swing/text/JTextComponentBeanInfo.class \ |
| 221 | sun/swing/BeanInfoUtils.class \ |
naoto | c378ffc | 2012-08-21 11:00:30 -0700 | [diff] [blame] | 222 | $(LOCALEDATA_INCLUDES) \ |
| 223 | sun/text/resources/cldr \ |
| 224 | sun/util/resources/cldr \ |
| 225 | sun/util/cldr/CLDRLocaleDataMetaInfo.class |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 226 | |
erikj | af85fc4 | 2012-07-03 16:10:44 -0700 | [diff] [blame] | 227 | # These files should never be put into rt.jar |
| 228 | # but due to a misstake...some are put there if embedded |
| 229 | # |
| 230 | ifneq ($(JAVASE_EMBEDDED), true) |
| 231 | # normal (correct) case |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 232 | RT_JAR_EXCLUDES += \ |
| 233 | com/oracle/jrockit/jfr \ |
| 234 | oracle/jrockit/jfr |
erikj | af85fc4 | 2012-07-03 16:10:44 -0700 | [diff] [blame] | 235 | else |
| 236 | # embedded (broken) case |
| 237 | RT_JAR_EXCLUDES += \ |
| 238 | oracle/jrockit/jfr/parser \ |
| 239 | oracle/jrockit/jfr/tools \ |
| 240 | oracle/jrockit/jfr/NativeOptions.class \ |
| 241 | oracle/jrockit/jfr/RepositoryChunkHandler.class |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 242 | endif |
erikj | af85fc4 | 2012-07-03 16:10:44 -0700 | [diff] [blame] | 243 | |
| 244 | ifeq ($(OPENJDK_TARGET_OS), macosx) |
| 245 | RT_JAR_EXCLUDES += com/sun/nio/sctp \ |
| 246 | sun/nio/ch/sctp \ |
| 247 | sun/jdbc \ |
| 248 | sun/nio/ch/DevPollArrayWrapper\$$$$Updator.class \ |
| 249 | sun/nio/ch/DevPollArrayWrapper.class \ |
| 250 | sun/nio/ch/DevPollSelectorImpl.class \ |
| 251 | sun/nio/ch/DevPollSelectorProvider.class \ |
| 252 | sun/nio/ch/EPollArrayWrapper\$$$$Updator.class \ |
| 253 | sun/nio/ch/EPollArrayWrapper.class \ |
| 254 | sun/nio/ch/EPollSelectorImpl.class \ |
| 255 | sun/nio/ch/EPollSelectorProvider.class |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 256 | endif |
| 257 | |
| 258 | # Find all files in the classes dir to use as dependencies. This could be more fine granular. |
| 259 | ALL_FILES_IN_CLASSES := $(shell $(FIND) $(JDK_OUTPUTDIR)/classes -type f \ |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 260 | | $(GREP) -v -e '/_the\.*' -e '^_the\.*' -e 'javac_state') |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 261 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 262 | RT_JAR_MANIFEST_FILE := $(IMAGES_OUTPUTDIR)/lib/_the.rt.jar_manifest |
| 263 | RESOURCE_JAR_MANIFEST_FILE := $(IMAGES_OUTPUTDIR)/lib/_the.resources.jar_manifest |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 264 | |
| 265 | $(RT_JAR_MANIFEST_FILE): $(MAINMANIFEST) $(BEANMANIFEST) |
| 266 | $(MKDIR) -p $(@D) |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 267 | $(RM) $@ $@.tmp |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 268 | $(SED) -e "s#@@RELEASE@@#$(RELEASE)#" \ |
| 269 | -e "s#@@COMPANY_NAME@@#$(COMPANY_NAME)#" \ |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 270 | $(MAINMANIFEST) >> $@.tmp |
| 271 | $(ECHO) >> $@.tmp |
| 272 | $(CAT) $(BEANMANIFEST) >> $@.tmp |
| 273 | $(MV) $@.tmp $@ |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 274 | |
| 275 | $(RESOURCE_JAR_MANIFEST_FILE): $(MAINMANIFEST) |
| 276 | $(MKDIR) -p $(@D) |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 277 | $(RM) $@ $@.tmp |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 278 | $(SED) -e "s#@@RELEASE@@#$(RELEASE)#" \ |
| 279 | -e "s#@@COMPANY_NAME@@#$(COMPANY_NAME)#" \ |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 280 | $(MAINMANIFEST) >> $@.tmp |
| 281 | $(MV) $@.tmp $@ |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 282 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 283 | $(IMAGES_OUTPUTDIR)/lib/_the.jars.exclude: $(MAKEFILE) |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 284 | $(MKDIR) -p $(@D) |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 285 | $(RM) $@ $@.tmp |
| 286 | $(call ListPathsSafely,RT_JAR_EXCLUDES,\n, >> $@.tmp) |
| 287 | $(MV) $@.tmp $@ |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 288 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 289 | $(IMAGES_OUTPUTDIR)/lib/classlist : $(JDK_TOPDIR)/make/tools/sharing/classlist.$(OPENJDK_TARGET_OS) \ |
erikj | af85fc4 | 2012-07-03 16:10:44 -0700 | [diff] [blame] | 290 | $(MAKEFILE) |
| 291 | $(MKDIR) -p $(@D) |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 292 | $(RM) $@ $@.tmp |
| 293 | $(TOOL_ADDJSUM) $< $@.tmp |
| 294 | $(MV) $@.tmp $@ |
erikj | af85fc4 | 2012-07-03 16:10:44 -0700 | [diff] [blame] | 295 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 296 | $(IMAGES_OUTPUTDIR)/lib/_the.jars.contents: $(BUILD_TOOLS) $(IMAGES_OUTPUTDIR)/lib/_the.jars.exclude \ |
| 297 | $(ALL_FILES_IN_CLASSES) $(IMAGES_OUTPUTDIR)/lib/classlist |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 298 | $(MKDIR) -p $(@D) |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 299 | $(RM) $@ $@.tmp |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 300 | ($(CD) $(JDK_OUTPUTDIR)/classes && \ |
| 301 | $(TOOL_JARREORDER) \ |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 302 | -o $@.tmp $(IMAGES_OUTPUTDIR)/lib/classlist $(IMAGES_OUTPUTDIR)/lib/_the.jars.exclude . ) |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 303 | $(MV) $@.tmp $@ |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 304 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 305 | $(IMAGES_OUTPUTDIR)/lib/_the.rt.jar.contents: $(IMAGES_OUTPUTDIR)/lib/_the.jars.contents |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 306 | $(MKDIR) -p $(@D) |
| 307 | $(RM) $@ $@.tmp |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 308 | $(GREP) -e '\.class$$' $(IMAGES_OUTPUTDIR)/lib/_the.jars.contents > $@.tmp |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 309 | $(MV) $@.tmp $@ |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 310 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 311 | $(IMAGES_OUTPUTDIR)/lib/_the.resources.jar.contents: $(IMAGES_OUTPUTDIR)/lib/_the.jars.contents |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 312 | $(MKDIR) -p $(@D) |
| 313 | $(RM) $@ $@.tmp |
| 314 | $(GREP) -v -e '\.class$$' \ |
| 315 | -e '/_the\.*' -e '^_the\.*' -e '\\_the\.*' -e 'javac_state' \ |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 316 | $(IMAGES_OUTPUTDIR)/lib/_the.jars.contents > $@.tmp |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 317 | $(MV) $@.tmp $@ |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 318 | |
erikj | af85fc4 | 2012-07-03 16:10:44 -0700 | [diff] [blame] | 319 | RT_JAR_CREATE_OPTIONS := c0fm |
| 320 | ifeq ($(COMPRESS_JARS), true) |
| 321 | RT_JAR_CREATE_OPTIONS := cfm |
| 322 | endif |
| 323 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 324 | $(IMAGES_OUTPUTDIR)/lib/rt.jar: $(IMAGES_OUTPUTDIR)/lib/_the.rt.jar.contents $(RT_JAR_MANIFEST_FILE) |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 325 | $(ECHO) Creating rt.jar |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 326 | $(MKDIR) -p $(@D) |
| 327 | $(RM) $@ $@.tmp |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 328 | $(CD) $(JDK_OUTPUTDIR)/classes && \ |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 329 | $(JAR) $(RT_JAR_CREATE_OPTIONS) $@.tmp $(RT_JAR_MANIFEST_FILE) \ |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 330 | @$(IMAGES_OUTPUTDIR)/lib/_the.rt.jar.contents |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 331 | $(MV) $@.tmp $@ |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 332 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 333 | $(IMAGES_OUTPUTDIR)/lib/resources.jar: $(IMAGES_OUTPUTDIR)/lib/_the.resources.jar.contents \ |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 334 | $(RESOURCE_JAR_MANIFEST_FILE) |
| 335 | $(ECHO) Creating resources.jar |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 336 | $(MKDIR) -p $(@D) |
| 337 | $(RM) $@ $@.tmp |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 338 | $(CD) $(JDK_OUTPUTDIR)/classes && \ |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 339 | $(JAR) $(RT_JAR_CREATE_OPTIONS) $@.tmp $(RESOURCE_JAR_MANIFEST_FILE) \ |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 340 | @$(IMAGES_OUTPUTDIR)/lib/_the.resources.jar.contents |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 341 | $(MV) $@.tmp $@ |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 342 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 343 | JARS+=$(IMAGES_OUTPUTDIR)/lib/rt.jar $(IMAGES_OUTPUTDIR)/lib/resources.jar |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 344 | |
| 345 | ########################################################################################## |
| 346 | |
erikj | af85fc4 | 2012-07-03 16:10:44 -0700 | [diff] [blame] | 347 | ifneq ($(OPENJDK_TARGET_OS), windows) |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 348 | CHARSETS_EXTRA_FILES:=sun/awt/motif/X11GBK.class \ |
| 349 | sun/awt/motif/X11GB2312\$$$$Decoder.class \ |
| 350 | sun/awt/motif/X11GB2312.class \ |
| 351 | sun/awt/motif/X11KSC5601\$$$$Decoder.class \ |
| 352 | sun/awt/motif/X11KSC5601\$$$$Encoder.class \ |
| 353 | sun/awt/motif/X11GB2312\$$$$Encoder.class \ |
| 354 | sun/awt/motif/X11GBK\$$$$Encoder.class \ |
| 355 | sun/awt/motif/X11KSC5601.class |
| 356 | endif |
| 357 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 358 | $(eval $(call SetupArchive,BUILD_CHARSETS_JAR,,\ |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 359 | SRCS:=$(JDK_OUTPUTDIR)/classes, \ |
| 360 | SUFFIXES:=.class .dat,\ |
| 361 | INCLUDES:=sun/nio/cs/ext,\ |
| 362 | EXTRA_FILES := sun/awt/HKSCS.class \ |
| 363 | $(CHARSETS_EXTRA_FILES) \ |
| 364 | META-INF/services/java.nio.charset.spi.CharsetProvider, \ |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 365 | JAR:=$(IMAGES_OUTPUTDIR)/lib/charsets.jar, \ |
erikj | af85fc4 | 2012-07-03 16:10:44 -0700 | [diff] [blame] | 366 | SKIP_METAINF := true, \ |
| 367 | CHECK_COMPRESS_JAR:=true)) |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 368 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 369 | JARS+=$(IMAGES_OUTPUTDIR)/lib/charsets.jar |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 370 | |
| 371 | ########################################################################################## |
| 372 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 373 | ifndef OPENJDK |
erikj | af85fc4 | 2012-07-03 16:10:44 -0700 | [diff] [blame] | 374 | ifeq ($(ENABLE_JFR), true) |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 375 | $(eval $(call SetupArchive,BUILD_JFR_JAR,,\ |
| 376 | SRCS:=$(JDK_OUTPUTDIR)/classes,\ |
| 377 | INCLUDES:=com/oracle/jrockit/jfr \ |
| 378 | oracle/jrockit/jfr,\ |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 379 | JAR:=$(IMAGES_OUTPUTDIR)/lib/jfr.jar,\ |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 380 | SKIP_METAINF:=true,\ |
erikj | af85fc4 | 2012-07-03 16:10:44 -0700 | [diff] [blame] | 381 | MANIFEST:=$(MAINMANIFEST), \ |
| 382 | CHECK_COMPRESS_JAR:=true)) |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 383 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 384 | JARS+=$(IMAGES_OUTPUTDIR)/lib/jfr.jar |
| 385 | endif |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 386 | endif |
| 387 | |
| 388 | ########################################################################################## |
| 389 | |
| 390 | $(eval $(call SetupArchive,BUILD_JSSE_JAR,,\ |
| 391 | SRCS:=$(JDK_OUTPUTDIR)/classes,\ |
| 392 | INCLUDES:=sun/security/provider/Sun.class \ |
| 393 | sun/security/rsa/SunRsaSign.class \ |
| 394 | sun/security/ssl \ |
| 395 | com/sun/net/ssl/internal/ssl,\ |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 396 | JAR:=$(IMAGES_OUTPUTDIR)/lib/jsse.jar,\ |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 397 | SKIP_METAINF:=true,\ |
erikj | af85fc4 | 2012-07-03 16:10:44 -0700 | [diff] [blame] | 398 | MANIFEST:=$(MAINMANIFEST), \ |
| 399 | CHECK_COMPRESS_JAR:=true)) |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 400 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 401 | JARS+=$(IMAGES_OUTPUTDIR)/lib/jsse.jar |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 402 | |
| 403 | ########################################################################################## |
| 404 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 405 | SUNPKCS11_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/ext/sunpkcs11.jar |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 406 | |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 407 | ifndef OPENJDK |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 408 | |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 409 | SUNPKCS11_JAR_SRC := $(JDK_TOPDIR)/make/closed/tools/crypto/pkcs11/sunpkcs11.jar |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 410 | |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 411 | $(SUNPKCS11_JAR_DST) : $(SUNPKCS11_JAR_SRC) |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 412 | @$(ECHO) $(LOG_INFO) "\n>>>Installing prebuilt SunPKCS11 provider..." |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 413 | $(MKDIR) -p $(@D) |
| 414 | $(RM) $@ |
| 415 | $(CP) $< $@ |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 416 | |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 417 | else |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 418 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 419 | $(eval $(call SetupArchive,BUILD_SUNPKCS11_JAR,,\ |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 420 | SRCS:=$(JDK_OUTPUTDIR)/classes, \ |
| 421 | SUFFIXES:=.class,\ |
| 422 | INCLUDES:=sun/security/pkcs11,\ |
| 423 | JAR:=$(SUNPKCS11_JAR_DST), \ |
| 424 | SKIP_METAINF := true)) |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 425 | |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 426 | endif |
| 427 | |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 428 | JARS += $(SUNPKCS11_JAR_DST) |
| 429 | |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 430 | ########################################################################################## |
| 431 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 432 | SUNEC_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/ext/sunec.jar |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 433 | |
| 434 | ifndef OPENJDK |
| 435 | |
| 436 | SUNEC_JAR_SRC := $(JDK_TOPDIR)/make/closed/tools/crypto/ec/sunec.jar |
| 437 | |
| 438 | $(SUNEC_JAR_DST) : $(SUNEC_JAR_SRC) |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 439 | @$(ECHO) $(LOG_INFO) "\n>>>Installing prebuilt SunEC provider..." |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 440 | $(MKDIR) -p $(@D) |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 441 | $(RM) $@ |
| 442 | $(CP) $< $@ |
| 443 | |
| 444 | else |
| 445 | |
| 446 | $(eval $(call SetupArchive,BUILD_SUNEC_JAR,,\ |
| 447 | SRCS:=$(JDK_OUTPUTDIR)/classes, \ |
| 448 | SUFFIXES:=.class,\ |
| 449 | INCLUDES:=sun/security/ec,\ |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 450 | JAR:=$(SUNEC_JAR_DST), \ |
| 451 | SKIP_METAINF := true)) |
| 452 | |
| 453 | endif |
| 454 | |
| 455 | JARS += $(SUNEC_JAR_DST) |
| 456 | |
| 457 | ########################################################################################## |
| 458 | |
| 459 | $(eval $(call SetupArchive,BUILD_SWINGBEANS_JAR,,\ |
| 460 | SRCS:=$(JDK_OUTPUTDIR)/classes,\ |
| 461 | SUFFIXES:=BeanInfo.class .gif,\ |
| 462 | INCLUDES:=javax/swing sun/swing,\ |
| 463 | EXCLUDES:=javax/swing/plaf,\ |
| 464 | EXTRA_FILES:=javax/swing/SwingBeanInfoBase.class sun/swing/BeanInfoUtils.class,\ |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 465 | JAR:=$(IMAGES_OUTPUTDIR)/lib/dt.jar,\ |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 466 | SKIP_METAINF:=true)) |
| 467 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 468 | JARS+=$(IMAGES_OUTPUTDIR)/lib/dt.jar |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 469 | |
| 470 | ########################################################################################## |
| 471 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 472 | SUNJCE_PROVIDER_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/ext/sunjce_provider.jar |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 473 | |
| 474 | ifndef OPENJDK |
| 475 | SUNJCE_PROVIDER_JAR_SRC := $(JDK_TOPDIR)/make/closed/tools/crypto/jce/sunjce_provider.jar |
| 476 | |
| 477 | $(SUNJCE_PROVIDER_JAR_DST) : $(SUNJCE_PROVIDER_JAR_SRC) |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 478 | @$(ECHO) $(LOG_INFO) "\n>>>Installing prebuilt SunJCE provider..." |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 479 | $(MKDIR) -p $(@D) |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 480 | $(RM) $@ |
| 481 | $(CP) $< $@ |
| 482 | else |
| 483 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 484 | $(eval $(call SetupArchive,BUILD_SUNJCE_PROVIDER_JAR,,\ |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 485 | SRCS:=$(JDK_OUTPUTDIR)/classes, \ |
| 486 | SUFFIXES:=.class,\ |
| 487 | INCLUDES:= com/sun/crypto/provider,\ |
| 488 | JAR:=$(SUNJCE_PROVIDER_JAR_DST), \ |
| 489 | MANIFEST := $(JDK_TOPDIR)/make/tools/manifest.mf, \ |
| 490 | EXTRA_MANIFEST_ATTR := Extension-Name: javax.crypto\nImplementation-Vendor-Id: com.sun, \ |
| 491 | SKIP_METAINF := true)) |
| 492 | endif |
| 493 | |
| 494 | JARS += $(SUNJCE_PROVIDER_JAR_DST) |
| 495 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 496 | JCE_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/jce.jar |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 497 | |
| 498 | ifndef OPENJDK |
| 499 | |
| 500 | JCE_JAR_SRC := $(JDK_TOPDIR)/make/closed/tools/crypto/jce/jce.jar |
| 501 | |
| 502 | $(JCE_JAR_DST) : $(JCE_JAR_SRC) |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 503 | @$(ECHO) $(LOG_INFO) "\n>>>Installing prebuilt jce.jar..." |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 504 | $(MKDIR) -p $(@D) |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 505 | $(RM) $@ |
| 506 | $(CP) $< $@ |
| 507 | |
| 508 | else |
| 509 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 510 | $(eval $(call SetupArchive,BUILD_JCE_JAR,,\ |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 511 | SRCS:=$(JDK_OUTPUTDIR)/classes, \ |
| 512 | SUFFIXES:=.class,\ |
| 513 | INCLUDES:= javax/crypto sun/security/internal,\ |
| 514 | JAR:=$(JCE_JAR_DST), \ |
| 515 | MANIFEST := $(JDK_TOPDIR)/make/tools/manifest.mf, \ |
| 516 | EXTRA_MANIFEST_ATTR := Extension-Name: javax.crypto\nImplementation-Vendor-Id: com.sun, \ |
| 517 | SKIP_METAINF := true)) |
| 518 | endif |
| 519 | |
| 520 | JARS += $(JCE_JAR_DST) |
| 521 | |
| 522 | ########################################################################################## |
| 523 | |
| 524 | ifdef OPENJDK |
| 525 | |
| 526 | # |
| 527 | # TODO fix so that SetupArchive does not write files into SRCS |
| 528 | # then we don't need this extra copying |
| 529 | # |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 530 | US_EXPORT_POLICY_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/security/US_export_policy.jar |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 531 | US_EXPORT_POLICY_JAR_SRC_DIR := $(JDK_TOPDIR)/make/javax/crypto/policy/unlimited |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 532 | US_EXPORT_POLICY_JAR_TMP := $(IMAGES_OUTPUTDIR)/US_export_policy_jar.tmp |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 533 | |
| 534 | $(US_EXPORT_POLICY_JAR_TMP)/% : $(US_EXPORT_POLICY_JAR_SRC_DIR)/% |
| 535 | $(MKDIR) -p $(@D) |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 536 | $(RM) $@ |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 537 | $(CP) $< $@ |
| 538 | |
| 539 | US_EXPORT_POLICY_JAR_DEPS := $(US_EXPORT_POLICY_JAR_TMP)/default_US_export.policy |
| 540 | |
| 541 | $(eval $(call SetupArchive,BUILD_US_EXPORT_POLICY_JAR,$(US_EXPORT_POLICY_JAR_DEPS),\ |
| 542 | SRCS:=$(US_EXPORT_POLICY_JAR_TMP), \ |
| 543 | SUFFIXES:= .policy,\ |
| 544 | JAR:=$(US_EXPORT_POLICY_JAR_DST), \ |
| 545 | EXTRA_MANIFEST_ATTR := Crypto-Strength: unlimited, \ |
| 546 | SKIP_METAINF := true)) |
| 547 | |
| 548 | JARS += $(US_EXPORT_POLICY_JAR_DST) |
| 549 | |
| 550 | endif |
| 551 | |
| 552 | ########################################################################################## |
| 553 | |
| 554 | |
| 555 | ifdef OPENJDK |
| 556 | |
| 557 | # |
| 558 | # TODO fix so that SetupArchive does not write files into SRCS |
| 559 | # then we don't need this extra copying |
| 560 | # |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 561 | LOCAL_POLICY_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/security/local_policy.jar |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 562 | LOCAL_POLICY_JAR_SRC_DIR := $(JDK_TOPDIR)/make/javax/crypto/policy/limited |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 563 | LOCAL_POLICY_JAR_TMP := $(IMAGES_OUTPUTDIR)/local_policy_jar.tmp |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 564 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 565 | LOCAL_POLICY_JAR_DEPS := $(LOCAL_POLICY_JAR_TMP)/exempt_local.policy \ |
| 566 | $(LOCAL_POLICY_JAR_TMP)/default_local.policy |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 567 | |
| 568 | $(LOCAL_POLICY_JAR_TMP)/% : $(LOCAL_POLICY_JAR_SRC_DIR)/% |
| 569 | $(MKDIR) -p $(@D) |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 570 | $(RM) $@ |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 571 | $(CP) $< $@ |
| 572 | |
| 573 | $(eval $(call SetupArchive,BUILD_LOCAL_POLICY_JAR,$(LOCAL_POLICY_JAR_DEPS),\ |
| 574 | SRCS:=$(LOCAL_POLICY_JAR_TMP),\ |
| 575 | SUFFIXES:= .policy,\ |
| 576 | JAR:=$(LOCAL_POLICY_JAR_DST), \ |
| 577 | EXTRA_MANIFEST_ATTR := Crypto-Strength: limited, \ |
| 578 | SKIP_METAINF := true)) |
| 579 | |
| 580 | JARS += $(LOCAL_POLICY_JAR_DST) |
| 581 | |
| 582 | endif |
| 583 | |
| 584 | ########################################################################################## |
| 585 | |
erikj | af85fc4 | 2012-07-03 16:10:44 -0700 | [diff] [blame] | 586 | ifeq ($(OPENJDK_TARGET_OS),windows) |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 587 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 588 | SUNMSCAPI_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/ext/sunmscapi.jar |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 589 | |
| 590 | ifndef OPENJDK |
| 591 | SUNMSCAPI_JAR_SRC := $(JDK_TOPDIR)/make/closed/tools/crypto/mscapi/sunmscapi.jar |
| 592 | |
| 593 | $(SUNMSCAPI_JAR_DST) : $(SUNMSCAPI_JAR_SRC) |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 594 | @$(ECHO) $(LOG_INFO) "\n>>>Installing prebuilt SunMSCAPI provider..." |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 595 | $(MKDIR) -p $(@D) |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 596 | $(RM) $@ |
| 597 | $(CP) $< $@ |
| 598 | |
| 599 | else |
| 600 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 601 | $(eval $(call SetupArchive,BUILD_SUNMSCAPI_JAR,,\ |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 602 | SRCS:=$(JDK_OUTPUTDIR)/classes, \ |
| 603 | SUFFIXES:=.class,\ |
| 604 | INCLUDES:= sun/security/mscapi,\ |
| 605 | JAR:=$(SUNMSCAPI_JAR_DST), \ |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 606 | SKIP_METAINF:=true)) |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 607 | endif |
| 608 | |
| 609 | JARS += $(SUNMSCAPI_JAR_DST) |
| 610 | |
| 611 | endif |
| 612 | |
| 613 | ########################################################################################## |
| 614 | |
erikj | af85fc4 | 2012-07-03 16:10:44 -0700 | [diff] [blame] | 615 | ifeq ($(OPENJDK_TARGET_OS),solaris) |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 616 | ifndef OPENJDK |
| 617 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 618 | UCRYPTO_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/ext/ucrypto.jar |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 619 | UCRYPTO_JAR_SRC := $(JDK_TOPDIR)/make/closed/tools/crypto/ucrypto/ucrypto.jar |
| 620 | |
| 621 | $(UCRYPTO_JAR_DST) : $(UCRYPTO_JAR_SRC) |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 622 | @$(ECHO) $(LOG_INFO) "\n>>>Installing prebuilt OracleUcrypto provider..." |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 623 | $(MKDIR) -p $(@D) |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 624 | $(RM) $@ |
| 625 | $(CP) $< $@ |
| 626 | |
| 627 | JARS += $(UCRYPTO_JAR_DST) |
| 628 | |
| 629 | endif |
| 630 | endif |
| 631 | |
| 632 | ########################################################################################## |
| 633 | |
naoto | c378ffc | 2012-08-21 11:00:30 -0700 | [diff] [blame] | 634 | # Get the CLDRVERSION |
| 635 | include GensrcCLDR.gmk |
| 636 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 637 | CLDRDATA_JAR_DST := $(IMAGES_OUTPUTDIR)/lib/ext/cldrdata.jar |
naoto | c378ffc | 2012-08-21 11:00:30 -0700 | [diff] [blame] | 638 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 639 | $(eval $(call SetupArchive,BUILD_CLDRDATA_JAR,,\ |
naoto | c378ffc | 2012-08-21 11:00:30 -0700 | [diff] [blame] | 640 | SRCS:=$(JDK_OUTPUTDIR)/classes,\ |
| 641 | SUFFIXES:=.class,\ |
| 642 | INCLUDES:=sun/text/resources/cldr \ |
| 643 | sun/util/cldr \ |
| 644 | sun/util/resources/cldr,\ |
| 645 | EXCLUDES:=sun/util/cldr/CLDRLocaleProviderAdapter,\ |
| 646 | JAR:=$(CLDRDATA_JAR_DST),\ |
| 647 | EXTRA_MANIFEST_ATTR:=CLDR-Version: $(CLDRVERSION),\ |
| 648 | SKIP_METAINF:=true)) |
| 649 | |
| 650 | JARS += $(CLDRDATA_JAR_DST) |
| 651 | |
| 652 | ########################################################################################## |
| 653 | |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 654 | TOOLS_JAR_INCLUDES := \ |
| 655 | sun/tools/asm \ |
| 656 | sun/tools/jar \ |
| 657 | sun/tools/java \ |
| 658 | sun/tools/javac \ |
| 659 | sun/tools/jcmd \ |
| 660 | sun/tools/jps \ |
| 661 | sun/tools/jstat \ |
| 662 | sun/tools/jstatd \ |
| 663 | sun/tools/native2ascii \ |
| 664 | sun/tools/serialver \ |
| 665 | sun/tools/tree \ |
| 666 | sun/tools/util \ |
| 667 | sun/security/tools/JarBASE64Encoder.class \ |
| 668 | sun/security/tools/JarSigner.class \ |
| 669 | sun/security/tools/JarSignerParameters.class \ |
| 670 | sun/security/tools/JarSignerResources.class \ |
| 671 | sun/security/tools/JarSignerResources_ja.class \ |
| 672 | sun/security/tools/JarSignerResources_zh_CN.class \ |
| 673 | sun/security/tools/SignatureFile* \ |
| 674 | sun/security/tools/TimestampedSigner.class \ |
| 675 | sun/rmi/rmic \ |
| 676 | sun/applet \ |
| 677 | sun/jvmstat \ |
| 678 | com/sun/javadoc \ |
| 679 | com/sun/jdi \ |
| 680 | com/sun/jarsigner \ |
| 681 | com/sun/source \ |
| 682 | com/sun/tools/classfile \ |
| 683 | com/sun/tools/doclets \ |
| 684 | com/sun/tools/example/debug/expr \ |
| 685 | com/sun/tools/example/debug/tty \ |
| 686 | com/sun/tools/extcheck \ |
| 687 | com/sun/tools/hat \ |
| 688 | com/sun/tools/javac \ |
| 689 | com/sun/tools/javadoc \ |
| 690 | com/sun/tools/javah \ |
| 691 | com/sun/tools/javap \ |
| 692 | com/sun/tools/corba \ |
| 693 | com/sun/tools/internal/xjc \ |
| 694 | com/sun/tools/internal/ws \ |
| 695 | com/sun/istack/internal/tools \ |
| 696 | com/sun/tools/internal/jxc/ap \ |
| 697 | com/sun/tools/internal/ws/wscompile/plugin/at_generated \ |
| 698 | com/sun/codemodel \ |
| 699 | com/sun/tools/internal/jxc \ |
| 700 | com/sun/xml/internal/rngom \ |
| 701 | com/sun/xml/internal/xsom \ |
| 702 | org/relaxng/datatype \ |
| 703 | com/sun/xml/internal/dtdparser \ |
| 704 | com/sun/tools/jdi \ |
| 705 | com/sun/tools/script/shell \ |
| 706 | com/sun/tools/attach \ |
| 707 | sun/tools/attach \ |
| 708 | sun/tools/jstack \ |
| 709 | sun/tools/jinfo \ |
| 710 | sun/tools/jmap |
| 711 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 712 | # The sjavac tools is not ready for public consumption. |
| 713 | TOOLS_JAR_EXCLUDES=com/sun/tools/sjavac |
| 714 | |
| 715 | $(eval $(call SetupArchive,BUILD_TOOLS_JAR,,\ |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 716 | SRCS:=$(JDK_OUTPUTDIR)/classes,\ |
| 717 | SUFFIXES:=.class .prp .gif .properties .xml .css .xsd .js .html .txt .java \ |
| 718 | Tool aliasmap options,\ |
| 719 | INCLUDES:=$(TOOLS_JAR_INCLUDES),\ |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 720 | EXCLUDES:=$(TOOLS_JAR_EXCLUDES),\ |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 721 | EXTRA_FILES:=META-INF/services/com.sun.jdi.connect.Connector \ |
| 722 | META-INF/services/com.sun.jdi.connect.spi.TransportService \ |
| 723 | META-INF/services/com.sun.tools.attach.spi.AttachProvider \ |
| 724 | META-INF/services/com.sun.tools.internal.ws.wscompile.Plugin \ |
| 725 | META-INF/services/com.sun.tools.internal.xjc.Plugin,\ |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 726 | JAR:=$(IMAGES_OUTPUTDIR)/lib/tools.jar,\ |
erikj | af85fc4 | 2012-07-03 16:10:44 -0700 | [diff] [blame] | 727 | SKIP_METAINF:=true, \ |
| 728 | CHECK_COMPRESS_JAR:=true)) |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 729 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 730 | JARS+=$(IMAGES_OUTPUTDIR)/lib/tools.jar |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 731 | |
| 732 | ########################################################################################## |
| 733 | |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 734 | include javadoc/CORE_PKGS.gmk |
| 735 | include javadoc/NON_CORE_PKGS.gmk |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 736 | |
| 737 | # The compiler should not issue a "Proprietary" warning when compiling |
| 738 | # classes in the com.sun.java.swing.plaf packages, since we've always |
| 739 | # allowed, and even advocated, extending them (see bug 6476749). |
| 740 | # |
| 741 | # This approach is NOT to be used as a general purpose way to avoid such |
| 742 | # compiler warnings for non-core packages. The correct way is to document |
| 743 | # the packages in NON_CORE_PKGS.gmk, and include them in the NON_CORE_PKGS |
| 744 | # definition. |
| 745 | # |
| 746 | # Swing has taken this approach only as a temporary measure to avoid |
| 747 | # the compiler warnings until we can properly document these packages. |
| 748 | # This is covered under 6491853. |
| 749 | EXCLUDE_PROPWARN_PKGS = com.sun.java.swing.plaf.windows \ |
| 750 | com.sun.java.swing.plaf.motif \ |
| 751 | com.sun.java.swing.plaf.gtk |
| 752 | |
| 753 | # |
| 754 | # Include the exported private packages in ct.sym. |
| 755 | # This is an interim solution until the ct.sym is replaced |
| 756 | # with a new module system (being discussed for JDK 8). |
| 757 | # |
| 758 | EXPORTED_PRIVATE_PKGS = com.sun.servicetag \ |
| 759 | com.oracle.net \ |
| 760 | com.oracle.nio |
| 761 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 762 | $(IMAGES_OUTPUTDIR)/symbols/_the.symbols: $(IMAGES_OUTPUTDIR)/lib/rt.jar |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 763 | $(RM) -r $(IMAGES_OUTPUTDIR)/symbols/META-INF/sym |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 764 | $(MKDIR) -p $(IMAGES_OUTPUTDIR)/symbols/META-INF/sym |
| 765 | $(JAVA) \ |
| 766 | -Xbootclasspath/a:$(JDK_OUTPUTDIR)/classes \ |
| 767 | $(JAVAC_JARS) \ |
| 768 | -XDprocess.packages -proc:only \ |
| 769 | -processor com.sun.tools.javac.sym.CreateSymbols \ |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 770 | -Acom.sun.tools.javac.sym.Jar=$(IMAGES_OUTPUTDIR)/lib/rt.jar \ |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 771 | -Acom.sun.tools.javac.sym.Dest=$(IMAGES_OUTPUTDIR)/symbols/META-INF/sym/rt.jar \ |
| 772 | $(CORE_PKGS) $(NON_CORE_PKGS) $(EXCLUDE_PROPWARN_PKGS) $(EXPORTED_PRIVATE_PKGS) |
| 773 | $(TOUCH) $@ |
| 774 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 775 | $(shell $(MKDIR) -p $(IMAGES_OUTPUTDIR)/symbols) |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 776 | $(eval $(call SetupArchive,BUILD_CT_SYM,$(IMAGES_OUTPUTDIR)/symbols/_the.symbols,\ |
| 777 | SRCS:=$(IMAGES_OUTPUTDIR)/symbols,\ |
| 778 | INCLUDES:=META-INF/sym,\ |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 779 | JAR:=$(IMAGES_OUTPUTDIR)/lib/ct.sym, \ |
erikj | af85fc4 | 2012-07-03 16:10:44 -0700 | [diff] [blame] | 780 | CHECK_COMPRESS_JAR:=true)) |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 781 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 782 | JARS+=$(IMAGES_OUTPUTDIR)/lib/ct.sym |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 783 | |
| 784 | ########################################################################################## |
| 785 | |
| 786 | SRC_ZIP_INCLUDES = \ |
| 787 | java/applet \ |
| 788 | java/awt \ |
| 789 | java/beans \ |
| 790 | java/io \ |
| 791 | java/lang \ |
| 792 | java/math \ |
| 793 | java/net \ |
| 794 | java/nio \ |
| 795 | java/rmi \ |
| 796 | java/security \ |
| 797 | java/sql \ |
| 798 | java/text \ |
| 799 | java/util \ |
| 800 | com/sun/corba \ |
| 801 | com/sun/image/codec/jpeg \ |
| 802 | com/sun/imageio \ |
| 803 | com/sun/java/swing \ |
| 804 | com/sun/javadoc \ |
| 805 | com/sun/jmx \ |
| 806 | com/sun/source \ |
| 807 | com/sun/naming \ |
| 808 | com/sun/security/auth \ |
| 809 | com/sun/security/jgss \ |
| 810 | javax/accessibility \ |
| 811 | javax/annotation \ |
| 812 | javax/script \ |
| 813 | javax/imageio \ |
| 814 | javax/lang \ |
| 815 | javax/management \ |
| 816 | javax/naming \ |
| 817 | javax/print \ |
| 818 | javax/rmi \ |
| 819 | javax/security \ |
| 820 | javax/sound \ |
| 821 | javax/sql \ |
| 822 | javax/swing \ |
| 823 | javax/tools \ |
| 824 | javax/xml \ |
| 825 | com/sun/org/apache \ |
| 826 | com/sun/java_cup \ |
| 827 | com/sun/jlex \ |
| 828 | org/ietf \ |
| 829 | org/omg \ |
| 830 | org/w3c/dom \ |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 831 | org/xml/sax \ |
| 832 | sunw |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 833 | |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 834 | SRC_ZIP_SRCS = $(JDK_TOPDIR)/src/share/classes $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/classes |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 835 | SRC_ZIP_SRCS += $(JDK_OUTPUTDIR)/gensrc |
| 836 | SRC_ZIP_SRCS += $(JDK_OUTPUTDIR)/impsrc |
| 837 | SRC_ZIP_SRCS += $(JDK_OUTPUTDIR)/gendocsrc_rmic |
| 838 | ifndef OPENJDK |
| 839 | SRC_ZIP_SRCS += $(JDK_TOPDIR)/src/closed/share/classes |
| 840 | endif |
| 841 | |
| 842 | # Need to copy launcher src files into desired directory structure |
| 843 | # before zipping the sources. |
| 844 | LAUNCHER_SRC_FILES := $(wildcard $(JDK_TOPDIR)/src/share/bin/*) \ |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 845 | $(wildcard $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/bin/java_md*) |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 846 | LAUNCHER_ZIP_SRC := $(patsubst $(JDK_TOPDIR)/src/share/bin/%,$(IMAGES_OUTPUTDIR)/src/launcher/%,\ |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 847 | $(patsubst $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/bin/%,$(IMAGES_OUTPUTDIR)/src/launcher/%,\ |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 848 | $(LAUNCHER_SRC_FILES))) |
| 849 | |
| 850 | $(IMAGES_OUTPUTDIR)/src/launcher/%: $(JDK_TOPDIR)/src/share/bin/% |
| 851 | $(MKDIR) -p $(@D) |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 852 | $(RM) $@ |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 853 | $(CP) $< $@ |
| 854 | |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 855 | $(IMAGES_OUTPUTDIR)/src/launcher/%: $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/bin/% |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 856 | $(MKDIR) -p $(@D) |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 857 | $(RM) $@ |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 858 | $(CP) $< $@ |
| 859 | |
| 860 | $(IMAGES_OUTPUTDIR)/src.zip: $(LAUNCHER_ZIP_SRC) |
| 861 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 862 | # This dir needs to exist before macro is evaluated to avoid warning from find. |
| 863 | $(eval $(call MakeDir,$(IMAGES_OUTPUTDIR)/src)) |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 864 | $(eval $(call SetupZipArchive,BUILD_SRC_ZIP,\ |
| 865 | SRC:=$(SRC_ZIP_SRCS) $(IMAGES_OUTPUTDIR)/src,\ |
| 866 | INCLUDES:=$(SRC_ZIP_INCLUDES) launcher,\ |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame^] | 867 | EXCLUDES:=javax/swing/beaninfo,\ |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 868 | SUFFIXES:=.java .c .h,\ |
| 869 | ZIP:=$(IMAGES_OUTPUTDIR)/src.zip,\ |
| 870 | EXTRA_DEPS:=$(LAUNCHER_ZIP_SRC))) |
| 871 | |
| 872 | JARS+=$(IMAGES_OUTPUTDIR)/src.zip |
| 873 | |
| 874 | ########################################################################################## |
| 875 | |
ohair | 46fcac9 | 2012-09-18 11:29:24 -0700 | [diff] [blame] | 876 | -include $(CUSTOM_MAKE_DIR)/CreateJars.gmk |
| 877 | |
| 878 | ########################################################################################## |
| 879 | |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 880 | all: $(JARS) |
| 881 | |
| 882 | .PHONY: default all |