1 #
2 # Copyright (c) 2011, 2013, 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
325 # CFLAGS used to compile the jdk native libraries (C-code)
326 CFLAGS_JDKLIB:=@CFLAGS_JDKLIB@
327 CXXFLAGS_JDKLIB:=@CXXFLAGS_JDKLIB@
328
329 # CFLAGS used to compile the jdk native launchers (C-code)
330 CFLAGS_JDKEXE:=@CFLAGS_JDKEXE@
331 CXXFLAGS_JDKEXE:=@CXXFLAGS_JDKEXE@
332
333 CXX:=@FIXPATH@ @CCACHE@ @CXX@
334 #CXXFLAGS:=@CXXFLAGS@
335
336 OBJC:=@CCACHE@ @OBJC@
337 #OBJCFLAGS:=@OBJCFLAGS@
338
339 CPP:=@FIXPATH@ @CPP@
340 #CPPFLAGS:=@CPPFLAGS@
341
342 # The linker can be gcc or ld on posix systems, or link.exe on windows systems.
343 LD:=@FIXPATH@ @LD@
344
345 # The linker on older SuSE distros (e.g. on SLES 10) complains with:
346 # "Invalid version tag `SUNWprivate_1.1'. Only anonymous version tag is allowed in executable."
347 # if feeded with a version script which contains named tags.
348 USING_BROKEN_SUSE_LD:=@USING_BROKEN_SUSE_LD@
349
350 # LDFLAGS used to link the jdk native libraries (C-code)
351 LDFLAGS_JDKLIB:=@LDFLAGS_JDKLIB@
352 LDFLAGS_JDKLIB_SUFFIX:=@LDFLAGS_JDKLIB_SUFFIX@
353
354 # On some platforms the linker cannot be used to create executables, thus
355 # the need for a separate LDEXE command.
356 LDEXE:=@FIXPATH@ @LDEXE@
357
358 # LDFLAGS used to link the jdk native launchers (C-code)
359 LDFLAGS_JDKEXE:=@LDFLAGS_JDKEXE@
360 LDFLAGS_JDKEXE_SUFFIX:=@LDFLAGS_JDKEXE_SUFFIX@
361
362 # LDFLAGS specific to C++ linking.
363 LDFLAGS_CXX_JDK:=@LDFLAGS_CXX_JDK@
364
369
370 # Sometimes a different linker is needed for c++ executables
371 LDEXECXX:=@FIXPATH@ @LDEXECXX@
372
373 # BUILD_CC/BUILD_LD is a compiler/linker that generates code that is runnable on the
374 # build platform.
375 BUILD_CC:=@FIXPATH@ @BUILD_CC@
376 BUILD_LD:=@FIXPATH@ @BUILD_LD@
377
378 AS:=@FIXPATH@ @AS@
379
380 # AR is used to create a static library (is ar in posix, lib.exe in windows)
381 AR:=@FIXPATH@ @AR@
382 ARFLAGS:=@ARFLAGS@
383
384 NM:=@NM@
385 GNM:=@GNM@
386 STRIP:=@STRIP@
387 MCS:=@MCS@
388
389 LIPO:=@LIPO@
390
391 # Command to create a shared library
392 SHARED_LIBRARY_FLAGS:=@SHARED_LIBRARY_FLAGS@
393
394 # Options to linker to specify a mapfile.
395 # (Note absence of := assignment, because we do not want to evaluate the macro body here)
396 SET_SHARED_LIBRARY_MAPFILE=@SET_SHARED_LIBRARY_MAPFILE@
397
398 # Options for C/CXX compiler to be used if linking is performed
399 # using reorder file
400 C_FLAG_REORDER:=@C_FLAG_REORDER@
401 CXX_FLAG_REORDER:=@CXX_FLAG_REORDER@
402
403 #
404 # Options for generating debug symbols
405 ENABLE_DEBUG_SYMBOLS:=@ENABLE_DEBUG_SYMBOLS@
406 CFLAGS_DEBUG_SYMBOLS:=@CFLAGS_DEBUG_SYMBOLS@
407 CXXFLAGS_DEBUG_SYMBOLS:=@CXXFLAGS_DEBUG_SYMBOLS@
408 ZIP_DEBUGINFO_FILES:=@ZIP_DEBUGINFO_FILES@
409
410 #
522 XARGS:=@XARGS@
523 ZIPEXE:=@ZIP@
524 ZIP:=@ZIP@
525 UNZIP:=@UNZIP@
526 MT:=@FIXPATH@ @MT@
527 RC:=@FIXPATH@ @RC@
528 DUMPBIN:=@FIXPATH@ @DUMPBIN@
529 CYGPATH:=@CYGPATH@
530 LDD:=@LDD@
531 OTOOL:=@OTOOL@
532 READELF:=@READELF@
533 EXPR:=@EXPR@
534 FILE:=@FILE@
535 HG:=@HG@
536 OBJCOPY:=@OBJCOPY@
537 SETFILE:=@SETFILE@
538 XATTR:=@XATTR@
539 JT_HOME:=@JT_HOME@
540 JTREGEXE:=@JTREGEXE@
541
542 FIXPATH:=@FIXPATH@
543
544 # Where the build output is stored for your convenience.
545 BUILD_LOG:=@BUILD_LOG@
546 BUILD_LOG_PREVIOUS:=@BUILD_LOG_PREVIOUS@
547 # Disable the build log wrapper on sjavac+winapi until
548 # we have solved how to prevent the log wrapper to wait
549 # for the background sjavac server process.
550 ifeq (@ENABLE_SJAVAC@X@OPENJDK_BUILD_OS_API@,yesXwinapi)
551 BUILD_LOG_WRAPPER:=
552 else
553 BUILD_LOG_WRAPPER:=@BUILD_LOG_WRAPPER@
554 endif
555
556 # Build setup
557 ENABLE_JFR=@ENABLE_JFR@
558 ENABLE_INTREE_EC=@ENABLE_INTREE_EC@
559 USE_EXTERNAL_LIBJPEG:=@USE_EXTERNAL_LIBJPEG@
560 USE_EXTERNAL_LIBGIF:=@USE_EXTERNAL_LIBGIF@
561 USE_EXTERNAL_LIBZ:=@USE_EXTERNAL_LIBZ@
|
1 #
2 # Copyright (c) 2011, 2015, 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
325 # CFLAGS used to compile the jdk native libraries (C-code)
326 CFLAGS_JDKLIB:=@CFLAGS_JDKLIB@
327 CXXFLAGS_JDKLIB:=@CXXFLAGS_JDKLIB@
328
329 # CFLAGS used to compile the jdk native launchers (C-code)
330 CFLAGS_JDKEXE:=@CFLAGS_JDKEXE@
331 CXXFLAGS_JDKEXE:=@CXXFLAGS_JDKEXE@
332
333 CXX:=@FIXPATH@ @CCACHE@ @CXX@
334 #CXXFLAGS:=@CXXFLAGS@
335
336 OBJC:=@CCACHE@ @OBJC@
337 #OBJCFLAGS:=@OBJCFLAGS@
338
339 CPP:=@FIXPATH@ @CPP@
340 #CPPFLAGS:=@CPPFLAGS@
341
342 # The linker can be gcc or ld on posix systems, or link.exe on windows systems.
343 LD:=@FIXPATH@ @LD@
344
345 ifeq ($(OPENJDK_TARGET_OS), macosx)
346 # Xcode SDK and tools path
347 SDKPATH:=@SDKPATH@
348 DEVELOPER_DIR:=@DEVELOPER_DIR@
349 # This needs to be visible by all the Xcode tools to work properly
350 export DEVELOPER_DIR
351 endif
352
353 # The linker on older SuSE distros (e.g. on SLES 10) complains with:
354 # "Invalid version tag `SUNWprivate_1.1'. Only anonymous version tag is allowed in executable."
355 # if feeded with a version script which contains named tags.
356 USING_BROKEN_SUSE_LD:=@USING_BROKEN_SUSE_LD@
357
358 # LDFLAGS used to link the jdk native libraries (C-code)
359 LDFLAGS_JDKLIB:=@LDFLAGS_JDKLIB@
360 LDFLAGS_JDKLIB_SUFFIX:=@LDFLAGS_JDKLIB_SUFFIX@
361
362 # On some platforms the linker cannot be used to create executables, thus
363 # the need for a separate LDEXE command.
364 LDEXE:=@FIXPATH@ @LDEXE@
365
366 # LDFLAGS used to link the jdk native launchers (C-code)
367 LDFLAGS_JDKEXE:=@LDFLAGS_JDKEXE@
368 LDFLAGS_JDKEXE_SUFFIX:=@LDFLAGS_JDKEXE_SUFFIX@
369
370 # LDFLAGS specific to C++ linking.
371 LDFLAGS_CXX_JDK:=@LDFLAGS_CXX_JDK@
372
377
378 # Sometimes a different linker is needed for c++ executables
379 LDEXECXX:=@FIXPATH@ @LDEXECXX@
380
381 # BUILD_CC/BUILD_LD is a compiler/linker that generates code that is runnable on the
382 # build platform.
383 BUILD_CC:=@FIXPATH@ @BUILD_CC@
384 BUILD_LD:=@FIXPATH@ @BUILD_LD@
385
386 AS:=@FIXPATH@ @AS@
387
388 # AR is used to create a static library (is ar in posix, lib.exe in windows)
389 AR:=@FIXPATH@ @AR@
390 ARFLAGS:=@ARFLAGS@
391
392 NM:=@NM@
393 GNM:=@GNM@
394 STRIP:=@STRIP@
395 MCS:=@MCS@
396
397 # Command to create a shared library
398 SHARED_LIBRARY_FLAGS:=@SHARED_LIBRARY_FLAGS@
399
400 # Options to linker to specify a mapfile.
401 # (Note absence of := assignment, because we do not want to evaluate the macro body here)
402 SET_SHARED_LIBRARY_MAPFILE=@SET_SHARED_LIBRARY_MAPFILE@
403
404 # Options for C/CXX compiler to be used if linking is performed
405 # using reorder file
406 C_FLAG_REORDER:=@C_FLAG_REORDER@
407 CXX_FLAG_REORDER:=@CXX_FLAG_REORDER@
408
409 #
410 # Options for generating debug symbols
411 ENABLE_DEBUG_SYMBOLS:=@ENABLE_DEBUG_SYMBOLS@
412 CFLAGS_DEBUG_SYMBOLS:=@CFLAGS_DEBUG_SYMBOLS@
413 CXXFLAGS_DEBUG_SYMBOLS:=@CXXFLAGS_DEBUG_SYMBOLS@
414 ZIP_DEBUGINFO_FILES:=@ZIP_DEBUGINFO_FILES@
415
416 #
528 XARGS:=@XARGS@
529 ZIPEXE:=@ZIP@
530 ZIP:=@ZIP@
531 UNZIP:=@UNZIP@
532 MT:=@FIXPATH@ @MT@
533 RC:=@FIXPATH@ @RC@
534 DUMPBIN:=@FIXPATH@ @DUMPBIN@
535 CYGPATH:=@CYGPATH@
536 LDD:=@LDD@
537 OTOOL:=@OTOOL@
538 READELF:=@READELF@
539 EXPR:=@EXPR@
540 FILE:=@FILE@
541 HG:=@HG@
542 OBJCOPY:=@OBJCOPY@
543 SETFILE:=@SETFILE@
544 XATTR:=@XATTR@
545 JT_HOME:=@JT_HOME@
546 JTREGEXE:=@JTREGEXE@
547
548 XCODEBUILD=@XCODEBUILD@
549 FIXPATH:=@FIXPATH@
550
551 # Where the build output is stored for your convenience.
552 BUILD_LOG:=@BUILD_LOG@
553 BUILD_LOG_PREVIOUS:=@BUILD_LOG_PREVIOUS@
554 # Disable the build log wrapper on sjavac+winapi until
555 # we have solved how to prevent the log wrapper to wait
556 # for the background sjavac server process.
557 ifeq (@ENABLE_SJAVAC@X@OPENJDK_BUILD_OS_API@,yesXwinapi)
558 BUILD_LOG_WRAPPER:=
559 else
560 BUILD_LOG_WRAPPER:=@BUILD_LOG_WRAPPER@
561 endif
562
563 # Build setup
564 ENABLE_JFR=@ENABLE_JFR@
565 ENABLE_INTREE_EC=@ENABLE_INTREE_EC@
566 USE_EXTERNAL_LIBJPEG:=@USE_EXTERNAL_LIBJPEG@
567 USE_EXTERNAL_LIBGIF:=@USE_EXTERNAL_LIBGIF@
568 USE_EXTERNAL_LIBZ:=@USE_EXTERNAL_LIBZ@
|