equal
deleted
inserted
replaced
1 # |
1 # |
2 # Copyright (c) 2011, 2014, 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 |
38 LANG := C, \ |
38 LANG := C, \ |
39 OPTIMIZATION := LOW, \ |
39 OPTIMIZATION := LOW, \ |
40 CFLAGS := $(CFLAGS_JDKLIB) \ |
40 CFLAGS := $(CFLAGS_JDKLIB) \ |
41 -I$(LIBAPPLESCRIPTENGINE_SRC) \ |
41 -I$(LIBAPPLESCRIPTENGINE_SRC) \ |
42 -I$(SUPPORT_OUTPUTDIR)/headers/jdk.deploy.osx, \ |
42 -I$(SUPPORT_OUTPUTDIR)/headers/jdk.deploy.osx, \ |
|
43 DISABLED_WARNINGS_clang := implicit-function-declaration format, \ |
43 LDFLAGS := $(LDFLAGS_JDKLIB) \ |
44 LDFLAGS := $(LDFLAGS_JDKLIB) \ |
44 $(call SET_SHARED_LIBRARY_ORIGIN), \ |
45 $(call SET_SHARED_LIBRARY_ORIGIN), \ |
45 LDFLAGS_SUFFIX := -framework Cocoa \ |
46 LDFLAGS_SUFFIX := -framework Cocoa \ |
46 -framework Carbon \ |
47 -framework Carbon \ |
47 -framework JavaNativeFoundation \ |
48 -framework JavaNativeFoundation \ |
69 SRC := $(LIBOSX_DIRS), \ |
70 SRC := $(LIBOSX_DIRS), \ |
70 LANG := C, \ |
71 LANG := C, \ |
71 OPTIMIZATION := LOW, \ |
72 OPTIMIZATION := LOW, \ |
72 CFLAGS := $(CFLAGS_JDKLIB) \ |
73 CFLAGS := $(CFLAGS_JDKLIB) \ |
73 $(LIBOSX_CFLAGS), \ |
74 $(LIBOSX_CFLAGS), \ |
|
75 DISABLED_WARNINGS_clang := deprecated-declarations, \ |
74 LDFLAGS := $(LDFLAGS_JDKLIB) \ |
76 LDFLAGS := $(LDFLAGS_JDKLIB) \ |
75 -L$(SUPPORT_OUTPUTDIR)/modules_libs/java.desktop \ |
77 -L$(SUPPORT_OUTPUTDIR)/modules_libs/java.desktop \ |
76 $(call SET_SHARED_LIBRARY_ORIGIN), \ |
78 $(call SET_SHARED_LIBRARY_ORIGIN), \ |
77 LDFLAGS_SUFFIX_macosx := \ |
79 LDFLAGS_SUFFIX_macosx := \ |
78 -losxapp \ |
80 -losxapp \ |