34 LIBOSXSECURITY_DIRS := $(TOPDIR)/src/java.base/macosx/native/libosxsecurity |
34 LIBOSXSECURITY_DIRS := $(TOPDIR)/src/java.base/macosx/native/libosxsecurity |
35 LIBOSXSECURITY_CFLAGS := -I$(LIBOSXSECURITY_DIRS) \ |
35 LIBOSXSECURITY_CFLAGS := -I$(LIBOSXSECURITY_DIRS) \ |
36 $(LIBJAVA_HEADER_FLAGS) \ |
36 $(LIBJAVA_HEADER_FLAGS) \ |
37 -I$(SUPPORT_OUTPUTDIR)/headers/java.base \ |
37 -I$(SUPPORT_OUTPUTDIR)/headers/java.base \ |
38 |
38 |
39 $(eval $(call SetupNativeCompilation, BUILD_LIBOSXSECURITY, \ |
39 $(eval $(call SetupJdkLibrary, BUILD_LIBOSXSECURITY, \ |
40 NAME := osxsecurity, \ |
40 NAME := osxsecurity, \ |
41 OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \ |
|
42 SRC := $(LIBOSXSECURITY_DIRS), \ |
41 SRC := $(LIBOSXSECURITY_DIRS), \ |
43 OPTIMIZATION := LOW, \ |
42 OPTIMIZATION := LOW, \ |
44 CFLAGS := $(CFLAGS_JDKLIB) \ |
43 CFLAGS := $(CFLAGS_JDKLIB) \ |
45 $(LIBOSXSECURITY_CFLAGS), \ |
44 $(LIBOSXSECURITY_CFLAGS), \ |
46 DISABLED_WARNINGS_clang := deprecated-declarations, \ |
45 DISABLED_WARNINGS_clang := deprecated-declarations, \ |
51 LIBS := \ |
50 LIBS := \ |
52 -framework JavaNativeFoundation \ |
51 -framework JavaNativeFoundation \ |
53 -framework CoreServices \ |
52 -framework CoreServices \ |
54 -framework Security \ |
53 -framework Security \ |
55 $(JDKLIB_LIBS), \ |
54 $(JDKLIB_LIBS), \ |
56 OBJECT_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/libosxsecurity, \ |
|
57 )) |
55 )) |
58 |
56 |
59 $(BUILD_LIBOSXSECURITY): $(BUILD_LIBJAVA) |
57 $(BUILD_LIBOSXSECURITY): $(BUILD_LIBJAVA) |
60 |
58 |
61 TARGETS += $(BUILD_LIBOSXSECURITY) |
59 TARGETS += $(BUILD_LIBOSXSECURITY) |