equal
deleted
inserted
replaced
1 # |
1 # |
2 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
2 # Copyright (c) 2011, 2018, 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 |
27 |
27 |
28 ifeq ($(OPENJDK_TARGET_OS), macosx) |
28 ifeq ($(OPENJDK_TARGET_OS), macosx) |
29 |
29 |
30 LIBOSXAPP_SRC := $(TOPDIR)/src/java.desktop/macosx/native/libosxapp |
30 LIBOSXAPP_SRC := $(TOPDIR)/src/java.desktop/macosx/native/libosxapp |
31 |
31 |
32 $(eval $(call SetupNativeCompilation,BUILD_LIBOSXAPP, \ |
32 $(eval $(call SetupNativeCompilation, BUILD_LIBOSXAPP, \ |
33 LIBRARY := osxapp, \ |
33 NAME := osxapp, \ |
34 OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \ |
34 OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \ |
35 SRC := $(LIBOSXAPP_SRC), \ |
35 SRC := $(LIBOSXAPP_SRC), \ |
36 OPTIMIZATION := LOW, \ |
36 OPTIMIZATION := LOW, \ |
37 CFLAGS := $(CFLAGS_JDKLIB) \ |
37 CFLAGS := $(CFLAGS_JDKLIB) \ |
38 $(addprefix -I, $(LIBOSXAPP_SRC)) \ |
38 $(addprefix -I, $(LIBOSXAPP_SRC)) \ |