equal
deleted
inserted
replaced
21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
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 |
22 # or visit www.oracle.com if you need additional information or have any |
23 # questions. |
23 # questions. |
24 # |
24 # |
25 |
25 |
26 # This file is contains targets utilities needed by JPRT. |
26 # This file contains targets and utilities needed by JPRT. |
27 |
27 |
|
28 # Cygpath is only defined when running on Cygwin |
|
29 ifneq ($(CYGPATH), ) |
|
30 # If we get JPRT_ARCHIVE_*BUNDLE externally, make sure they have /cygdrive |
|
31 # style paths |
|
32 ifdef JPRT_ARCHIVE_BUNDLE |
|
33 override JPRT_ARCHIVE_BUNDLE := $(shell $(CYGPATH) -u $(JPRT_ARCHIVE_BUNDLE)) |
|
34 endif |
|
35 ifdef JPRT_ARCHIVE_INSTALL_BUNDLE |
|
36 override JPRT_ARCHIVE_INSTALL_BUNDLE := $(shell $(CYGPATH) -u $(JPRT_ARCHIVE_INSTALL_BUNDLE)) |
|
37 endif |
|
38 endif |
|
39 |
|
40 # When running in JPRT these will be provided. Need defaults so that this makefile |
|
41 # is valid anyway. |
28 ifndef JPRT_ARCHIVE_BUNDLE |
42 ifndef JPRT_ARCHIVE_BUNDLE |
29 JPRT_ARCHIVE_BUNDLE=/tmp/jprt_bundles/j2sdk-image.zip |
43 JPRT_ARCHIVE_BUNDLE=/tmp/jprt_bundles/j2sdk-image.zip |
30 endif |
44 endif |
31 ifndef JPRT_ARCHIVE_INSTALL_BUNDLE |
45 ifndef JPRT_ARCHIVE_INSTALL_BUNDLE |
32 JPRT_ARCHIVE_INSTALL_BUNDLE=/tmp/jprt_bundles/product-install.zip |
46 JPRT_ARCHIVE_INSTALL_BUNDLE=/tmp/jprt_bundles/product-install.zip |