34 LIBLE_CPPFLAGS := \ |
34 LIBLE_CPPFLAGS := \ |
35 $(addprefix -I, $(LIBLE_SRC)) \ |
35 $(addprefix -I, $(LIBLE_SRC)) \ |
36 -I$(SUPPORT_OUTPUTDIR)/headers/jdk.internal.le \ |
36 -I$(SUPPORT_OUTPUTDIR)/headers/jdk.internal.le \ |
37 # |
37 # |
38 |
38 |
39 $(eval $(call SetupNativeCompilation, BUILD_LIBLE, \ |
39 $(eval $(call SetupJdkLibrary, BUILD_LIBLE, \ |
40 NAME := le, \ |
40 NAME := le, \ |
41 OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \ |
|
42 SRC := $(LIBLE_SRC), \ |
41 SRC := $(LIBLE_SRC), \ |
43 OPTIMIZATION := LOW, \ |
42 OPTIMIZATION := LOW, \ |
44 CFLAGS := $(CFLAGS_JDKLIB) $(LIBJAVA_HEADER_FLAGS)\ |
43 CFLAGS := $(CFLAGS_JDKLIB) $(LIBJAVA_HEADER_FLAGS)\ |
45 $(LIBLE_CPPFLAGS), \ |
44 $(LIBLE_CPPFLAGS), \ |
46 LDFLAGS := $(LDFLAGS_JDKLIB), \ |
45 LDFLAGS := $(LDFLAGS_JDKLIB), \ |
47 LIBS := $(JDKLIB_LIBS) user32.lib, \ |
46 LIBS := $(JDKLIB_LIBS) user32.lib, \ |
48 VERSIONINFO_RESOURCE := $(GLOBAL_VERSION_INFO_RESOURCE), \ |
|
49 RC_FLAGS := $(RC_FLAGS) \ |
|
50 -D "JDK_FNAME=le.dll" \ |
|
51 -D "JDK_INTERNAL_NAME=le" \ |
|
52 -D "JDK_FTYPE=0x2L", \ |
|
53 OBJECT_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/lible, \ |
|
54 )) |
47 )) |
55 |
48 |
56 TARGETS += $(BUILD_LIBLE) |
49 TARGETS += $(BUILD_LIBLE) |
57 |
50 |
58 endif # OPENJDK_TARGET_OS |
51 endif # OPENJDK_TARGET_OS |