35 # JPRT will define these when it builds |
35 # JPRT will define these when it builds |
36 JPRT_ARCHIVE_BUNDLE=$(ABS_OUTPUTDIR)/$(DEFAULT_BUILD_FLAVOR)-bundle.zip |
36 JPRT_ARCHIVE_BUNDLE=$(ABS_OUTPUTDIR)/$(DEFAULT_BUILD_FLAVOR)-bundle.zip |
37 JPRT_ARCHIVE_INSTALL_BUNDLE=$(ABS_OUTPUTDIR)/$(DEFAULT_BUILD_FLAVOR)-install-bundle.zip |
37 JPRT_ARCHIVE_INSTALL_BUNDLE=$(ABS_OUTPUTDIR)/$(DEFAULT_BUILD_FLAVOR)-install-bundle.zip |
38 |
38 |
39 jprt_build_product: sanity all_product_build |
39 jprt_build_product: sanity all_product_build |
40 ( $(CD) $(OUTPUTDIR)/j2sdk-image && \ |
40 ( $(CD) $(OUTPUTDIR)/$(JDK_IMAGE_DIRNAME) && \ |
41 $(ZIPEXE) -q -r $(JPRT_ARCHIVE_BUNDLE) . ) |
41 $(ZIPEXE) -q -r $(JPRT_ARCHIVE_BUNDLE) . ) |
42 ifdef HAVE_JPRT_SAVE_BUNDLES |
42 ifdef HAVE_JPRT_SAVE_BUNDLES |
43 ( $(CD) $(OUTPUTDIR)/bundles && \ |
43 ( $(CD) $(OUTPUTDIR)/bundles && \ |
44 $(ZIPEXE) -q -r $(JPRT_ARCHIVE_INSTALL_BUNDLE) . ) |
44 $(ZIPEXE) -q -r $(JPRT_ARCHIVE_INSTALL_BUNDLE) . ) |
45 endif |
45 endif |
46 |
46 |
47 jprt_build_fastdebug: fastdebug_build |
47 jprt_build_fastdebug: fastdebug_build |
48 ( $(CD) $(OUTPUTDIR)/../$(PLATFORM)-$(ARCH)-fastdebug/j2sdk-image && \ |
48 ( $(CD) $(OUTPUTDIR)/$(REL_JDK_FASTDEBUG_IMAGE_DIR) && \ |
49 $(ZIPEXE) -q -r $(JPRT_ARCHIVE_BUNDLE) . ) |
49 $(ZIPEXE) -q -r $(JPRT_ARCHIVE_BUNDLE) . ) |
50 |
50 |
51 jprt_build_debug: debug_build |
51 jprt_build_debug: debug_build |
52 ( $(CD) $(OUTPUTDIR)/../$(PLATFORM)-$(ARCH)-debug/j2sdk-image && \ |
52 ( $(CD) $(OUTPUTDIR)/$(REL_JDK_DEBUG_IMAGE_DIR) && \ |
53 $(ZIPEXE) -q -r $(JPRT_ARCHIVE_BUNDLE) . ) |
53 $(ZIPEXE) -q -r $(JPRT_ARCHIVE_BUNDLE) . ) |
54 |
54 |
55 ################################################################ |
55 ################################################################ |
56 # PHONY |
56 # PHONY |
57 ################################################################ |
57 ################################################################ |