1 # |
1 # |
2 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. |
2 # Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # |
4 # |
5 # This code is free software; you can redistribute it and/or modify it |
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 |
6 # under the terms of the GNU General Public License version 2 only, as |
7 # published by the Free Software Foundation. Oracle designates this |
7 # published by the Free Software Foundation. Oracle designates this |
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 AC_DEFUN_ONCE([SRCDIRS_SETUP_TOPDIRS], |
26 AC_DEFUN_ONCE([SRCDIRS_SETUP_DIRS], |
27 [ |
|
28 # Where are the sources. |
|
29 LANGTOOLS_TOPDIR="$SRC_ROOT/langtools" |
|
30 CORBA_TOPDIR="$SRC_ROOT/corba" |
|
31 JAXP_TOPDIR="$SRC_ROOT/jaxp" |
|
32 JAXWS_TOPDIR="$SRC_ROOT/jaxws" |
|
33 HOTSPOT_TOPDIR="$SRC_ROOT/hotspot" |
|
34 NASHORN_TOPDIR="$SRC_ROOT/nashorn" |
|
35 JDK_TOPDIR="$SRC_ROOT/jdk" |
|
36 AC_SUBST(LANGTOOLS_TOPDIR) |
|
37 AC_SUBST(CORBA_TOPDIR) |
|
38 AC_SUBST(JAXP_TOPDIR) |
|
39 AC_SUBST(JAXWS_TOPDIR) |
|
40 AC_SUBST(HOTSPOT_TOPDIR) |
|
41 AC_SUBST(NASHORN_TOPDIR) |
|
42 AC_SUBST(TOPDIR) |
|
43 ]) |
|
44 |
|
45 AC_DEFUN_ONCE([SRCDIRS_SETUP_ALTERNATIVE_TOPDIRS], |
|
46 [ |
|
47 # This feature is no longer supported. |
|
48 |
|
49 BASIC_DEPRECATED_ARG_WITH(add-source-root) |
|
50 BASIC_DEPRECATED_ARG_WITH(override-source-root) |
|
51 BASIC_DEPRECATED_ARG_WITH(adds-and-overrides) |
|
52 BASIC_DEPRECATED_ARG_WITH(override-langtools) |
|
53 BASIC_DEPRECATED_ARG_WITH(override-corba) |
|
54 BASIC_DEPRECATED_ARG_WITH(override-jaxp) |
|
55 BASIC_DEPRECATED_ARG_WITH(override-jaxws) |
|
56 BASIC_DEPRECATED_ARG_WITH(override-hotspot) |
|
57 BASIC_DEPRECATED_ARG_WITH(override-nashorn) |
|
58 BASIC_DEPRECATED_ARG_WITH(override-jdk) |
|
59 ]) |
|
60 |
|
61 AC_DEFUN_ONCE([SRCDIRS_SETUP_OUTPUT_DIRS], |
|
62 [ |
27 [ |
63 BUILD_OUTPUT="$OUTPUT_ROOT" |
28 BUILD_OUTPUT="$OUTPUT_ROOT" |
64 AC_SUBST(BUILD_OUTPUT) |
29 AC_SUBST(BUILD_OUTPUT) |
65 JDK_OUTPUTDIR="$OUTPUT_ROOT/jdk" |
30 JDK_OUTPUTDIR="$OUTPUT_ROOT/jdk" |
66 |
31 |
67 BASIC_DEPRECATED_ARG_WITH(import_hotspot) |
32 # Where are the sources. |
|
33 AC_SUBST(TOPDIR) |
68 ]) |
34 ]) |
69 |
35 |
70 ################################################################################ |
36 ################################################################################ |
71 # Define a mechanism for importing extra prebuilt modules |
37 # Define a mechanism for importing extra prebuilt modules |
72 # |
38 # |