1 # |
1 # |
2 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. |
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. |
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 |
340 #CPPFLAGS:=@CPPFLAGS@ |
340 #CPPFLAGS:=@CPPFLAGS@ |
341 |
341 |
342 # The linker can be gcc or ld on posix systems, or link.exe on windows systems. |
342 # The linker can be gcc or ld on posix systems, or link.exe on windows systems. |
343 LD:=@FIXPATH@ @LD@ |
343 LD:=@FIXPATH@ @LD@ |
344 |
344 |
|
345 ifeq ($(OPENJDK_TARGET_OS), macosx) |
|
346 # Xcode SDK and tools path |
|
347 SDKPATH:=@SDKPATH@ |
|
348 @SET_DEVELOPER_DIR@ |
|
349 endif |
|
350 |
345 # The linker on older SuSE distros (e.g. on SLES 10) complains with: |
351 # 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." |
352 # "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. |
353 # if feeded with a version script which contains named tags. |
348 USING_BROKEN_SUSE_LD:=@USING_BROKEN_SUSE_LD@ |
354 USING_BROKEN_SUSE_LD:=@USING_BROKEN_SUSE_LD@ |
349 |
355 |