common/autoconf/spec.gmk.in
changeset 27602 236555ddac42
parent 27560 adc258b13e2c
parent 27595 cff167b3bfa2
child 28285 3b8c4ccbb332
child 28602 51c0dcf51b67
equal deleted inserted replaced
27581:9fffb959eb41 27602:236555ddac42
    34 # often semantically important! Sometimes we need to subst
    34 # often semantically important! Sometimes we need to subst
    35 # spaces and commas, therefore we need the following macros.
    35 # spaces and commas, therefore we need the following macros.
    36 X:=
    36 X:=
    37 SPACE:=$(X) $(X)
    37 SPACE:=$(X) $(X)
    38 COMMA:=,
    38 COMMA:=,
       
    39 DOLLAR:=$$
    39 HASH:=\#
    40 HASH:=\#
    40 LEFT_PAREN:=(
    41 LEFT_PAREN:=(
    41 RIGHT_PAREN:=)
    42 RIGHT_PAREN:=)
    42 SQUOTE:='
    43 SQUOTE:='
    43 #'
    44 #'
    80 # The "human readable" name of this configuration
    81 # The "human readable" name of this configuration
    81 CONF_NAME:=@CONF_NAME@
    82 CONF_NAME:=@CONF_NAME@
    82 
    83 
    83 # The built jdk will run in this target system.
    84 # The built jdk will run in this target system.
    84 OPENJDK_TARGET_OS:=@OPENJDK_TARGET_OS@
    85 OPENJDK_TARGET_OS:=@OPENJDK_TARGET_OS@
    85 OPENJDK_TARGET_OS_API:=@OPENJDK_TARGET_OS_API@
    86 OPENJDK_TARGET_OS_TYPE:=@OPENJDK_TARGET_OS_TYPE@
    86 OPENJDK_TARGET_OS_ENV:=@OPENJDK_TARGET_OS_ENV@
    87 OPENJDK_TARGET_OS_ENV:=@OPENJDK_TARGET_OS_ENV@
    87 
    88 
    88 OPENJDK_TARGET_CPU:=@OPENJDK_TARGET_CPU@
    89 OPENJDK_TARGET_CPU:=@OPENJDK_TARGET_CPU@
    89 OPENJDK_TARGET_CPU_ARCH:=@OPENJDK_TARGET_CPU_ARCH@
    90 OPENJDK_TARGET_CPU_ARCH:=@OPENJDK_TARGET_CPU_ARCH@
    90 OPENJDK_TARGET_CPU_BITS:=@OPENJDK_TARGET_CPU_BITS@
    91 OPENJDK_TARGET_CPU_BITS:=@OPENJDK_TARGET_CPU_BITS@
    97 OPENJDK_TARGET_CPU_LIBDIR:=@OPENJDK_TARGET_CPU_LIBDIR@
    98 OPENJDK_TARGET_CPU_LIBDIR:=@OPENJDK_TARGET_CPU_LIBDIR@
    98 OPENJDK_TARGET_CPU_LEGACY:=@OPENJDK_TARGET_CPU_LEGACY@
    99 OPENJDK_TARGET_CPU_LEGACY:=@OPENJDK_TARGET_CPU_LEGACY@
    99 OPENJDK_TARGET_CPU_LEGACY_LIB:=@OPENJDK_TARGET_CPU_LEGACY_LIB@
   100 OPENJDK_TARGET_CPU_LEGACY_LIB:=@OPENJDK_TARGET_CPU_LEGACY_LIB@
   100 OPENJDK_TARGET_CPU_OSARCH:=@OPENJDK_TARGET_CPU_OSARCH@
   101 OPENJDK_TARGET_CPU_OSARCH:=@OPENJDK_TARGET_CPU_OSARCH@
   101 OPENJDK_TARGET_CPU_JLI_CFLAGS:=@OPENJDK_TARGET_CPU_JLI_CFLAGS@
   102 OPENJDK_TARGET_CPU_JLI_CFLAGS:=@OPENJDK_TARGET_CPU_JLI_CFLAGS@
   102 OPENJDK_TARGET_OS_API_DIR:=@OPENJDK_TARGET_OS_API_DIR@
       
   103 OPENJDK_TARGET_OS_EXPORT_DIR:=@OPENJDK_TARGET_OS_EXPORT_DIR@
   103 OPENJDK_TARGET_OS_EXPORT_DIR:=@OPENJDK_TARGET_OS_EXPORT_DIR@
   104 
   104 
   105 # We are building on this build system.
   105 # We are building on this build system.
   106 # When not cross-compiling, it is the same as the target.
   106 # When not cross-compiling, it is the same as the target.
   107 OPENJDK_BUILD_OS:=@OPENJDK_BUILD_OS@
   107 OPENJDK_BUILD_OS:=@OPENJDK_BUILD_OS@
   108 OPENJDK_BUILD_OS_API:=@OPENJDK_BUILD_OS_API@
   108 OPENJDK_BUILD_OS_TYPE:=@OPENJDK_BUILD_OS_TYPE@
   109 OPENJDK_BUILD_OS_ENV:=@OPENJDK_BUILD_OS_ENV@
   109 OPENJDK_BUILD_OS_ENV:=@OPENJDK_BUILD_OS_ENV@
   110 
   110 
   111 OPENJDK_BUILD_CPU:=@OPENJDK_BUILD_CPU@
   111 OPENJDK_BUILD_CPU:=@OPENJDK_BUILD_CPU@
   112 OPENJDK_BUILD_CPU_ARCH:=@OPENJDK_BUILD_CPU_ARCH@
   112 OPENJDK_BUILD_CPU_ARCH:=@OPENJDK_BUILD_CPU_ARCH@
   113 OPENJDK_BUILD_CPU_BITS:=@OPENJDK_BUILD_CPU_BITS@
   113 OPENJDK_BUILD_CPU_BITS:=@OPENJDK_BUILD_CPU_BITS@
   341 #OBJCFLAGS:=@OBJCFLAGS@
   341 #OBJCFLAGS:=@OBJCFLAGS@
   342 
   342 
   343 CPP:=@FIXPATH@ @CPP@
   343 CPP:=@FIXPATH@ @CPP@
   344 #CPPFLAGS:=@CPPFLAGS@
   344 #CPPFLAGS:=@CPPFLAGS@
   345 
   345 
   346 # The linker can be gcc or ld on posix systems, or link.exe on windows systems.
   346 # The linker can be gcc or ld on unix systems, or link.exe on windows systems.
   347 LD:=@FIXPATH@ @LD@
   347 LD:=@FIXPATH@ @LD@
   348 
   348 
   349 # Xcode SDK path
   349 # Xcode SDK path
   350 SDKROOT:=@SDKROOT@
   350 SDKROOT:=@SDKROOT@
   351 
   351 
   382 BUILD_CC:=@FIXPATH@ @BUILD_CC@
   382 BUILD_CC:=@FIXPATH@ @BUILD_CC@
   383 BUILD_LD:=@FIXPATH@ @BUILD_LD@
   383 BUILD_LD:=@FIXPATH@ @BUILD_LD@
   384 
   384 
   385 AS:=@FIXPATH@ @AS@
   385 AS:=@FIXPATH@ @AS@
   386 
   386 
   387 # AR is used to create a static library (is ar in posix, lib.exe in windows)
   387 # AR is used to create a static library (is ar in unix, lib.exe in windows)
   388 AR:=@FIXPATH@ @AR@
   388 AR:=@FIXPATH@ @AR@
   389 ARFLAGS:=@ARFLAGS@
   389 ARFLAGS:=@ARFLAGS@
   390 
   390 
   391 NM:=@NM@
   391 NM:=@NM@
   392 GNM:=@GNM@
   392 GNM:=@GNM@
   446 JAVA_FLAGS_BIG:=@JAVA_FLAGS_BIG@
   446 JAVA_FLAGS_BIG:=@JAVA_FLAGS_BIG@
   447 JAVA_FLAGS_SMALL:=@JAVA_FLAGS_SMALL@
   447 JAVA_FLAGS_SMALL:=@JAVA_FLAGS_SMALL@
   448 JAVA_TOOL_FLAGS_SMALL:=@JAVA_TOOL_FLAGS_SMALL@
   448 JAVA_TOOL_FLAGS_SMALL:=@JAVA_TOOL_FLAGS_SMALL@
   449 SJAVAC_SERVER_JAVA_FLAGS:=@SJAVAC_SERVER_JAVA_FLAGS@
   449 SJAVAC_SERVER_JAVA_FLAGS:=@SJAVAC_SERVER_JAVA_FLAGS@
   450 
   450 
   451 # The *_CMD variables are defined separately to be easily overridden in bootcycle-spec.gmk 
   451 # The *_CMD variables are defined separately to be easily overridden in bootcycle-spec.gmk
   452 # for bootcycle-images build. Make sure to keep them in sync. Do not use the *_CMD
   452 # for bootcycle-images build. Make sure to keep them in sync. Do not use the *_CMD
   453 # versions of the variables directly.
   453 # versions of the variables directly.
   454 JAVA_CMD:=@JAVA@
   454 JAVA_CMD:=@JAVA@
   455 JAVAC_CMD:=@JAVAC@
   455 JAVAC_CMD:=@JAVAC@
   456 JAVAH_CMD:=@JAVAH@
   456 JAVAH_CMD:=@JAVAH@
   560 FIXPATH:=@FIXPATH@
   560 FIXPATH:=@FIXPATH@
   561 
   561 
   562 # Where the build output is stored for your convenience.
   562 # Where the build output is stored for your convenience.
   563 BUILD_LOG:=@BUILD_LOG@
   563 BUILD_LOG:=@BUILD_LOG@
   564 BUILD_LOG_PREVIOUS:=@BUILD_LOG_PREVIOUS@
   564 BUILD_LOG_PREVIOUS:=@BUILD_LOG_PREVIOUS@
   565 # Disable the build log wrapper on sjavac+winapi until
   565 # Disable the build log wrapper on sjavac+windows until
   566 # we have solved how to prevent the log wrapper to wait
   566 # we have solved how to prevent the log wrapper to wait
   567 # for the background sjavac server process.
   567 # for the background sjavac server process.
   568 ifeq (@ENABLE_SJAVAC@X@OPENJDK_BUILD_OS_API@,yesXwinapi)
   568 ifeq (@ENABLE_SJAVAC@X@OPENJDK_BUILD_OS@,yesXwindows)
   569   BUILD_LOG_WRAPPER:=
   569   BUILD_LOG_WRAPPER:=
   570 else
   570 else
   571   BUILD_LOG_WRAPPER:=@BUILD_LOG_WRAPPER@
   571   BUILD_LOG_WRAPPER:=@BUILD_LOG_WRAPPER@
   572 endif
   572 endif
   573 
   573 
   700 JDK_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JDK_BUNDLE_SUBDIR)
   700 JDK_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JDK_BUNDLE_SUBDIR)
   701 JRE_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JRE_BUNDLE_SUBDIR)
   701 JRE_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JRE_BUNDLE_SUBDIR)
   702 
   702 
   703 # This macro is called to allow inclusion of closed source counterparts.
   703 # This macro is called to allow inclusion of closed source counterparts.
   704 # Unless overridden in closed sources, it expands to nothing.
   704 # Unless overridden in closed sources, it expands to nothing.
   705 # Usage: This function is called in an open makefile, with the following 
   705 # Usage: This function is called in an open makefile, with the following
   706 # arguments:
   706 # arguments:
   707 # $1 the name of the repo, or empty if the top-level repo.
   707 # $1 the name of the repo, or empty if the top-level repo.
   708 # $2 the name of the makefile
   708 # $2 the name of the makefile
   709 define IncludeCustomExtension
   709 define IncludeCustomExtension
   710 endef
   710 endef