< prev index next >

make/lib/CoreLibraries.gmk

Print this page




 174 ))
 175 
 176 $(BUILD_LIBJIMAGE): $(BUILD_LIBJAVA)
 177 
 178 TARGETS += $(BUILD_LIBJIMAGE)
 179 
 180 ##########################################################################################
 181 
 182 ifeq ($(call isTargetOs, macosx), true)
 183   LIBJLI_EXCLUDE_FILES += java_md_solinux.c
 184 endif
 185 
 186 ifeq ($(call isTargetOs, windows), true)
 187   # Supply the name of the C runtime lib.
 188   LIBJLI_CFLAGS += -DMSVCR_DLL_NAME='"$(notdir $(MSVCR_DLL))"'
 189   ifneq ($(MSVCP_DLL), )
 190     LIBJLI_CFLAGS += -DMSVCP_DLL_NAME='"$(notdir $(MSVCP_DLL))"'
 191   endif
 192 endif
 193 


 194 LIBJLI_CFLAGS += $(LIBZ_CFLAGS)
 195 
 196 ifneq ($(USE_EXTERNAL_LIBZ), true)
 197   LIBJLI_EXTRA_FILES += \
 198       $(addprefix $(TOPDIR)/src/java.base/share/native/libzip/zlib/, \
 199           inflate.c \
 200           inftrees.c \
 201           inffast.c \
 202           zadler32.c \
 203           zcrc32.c \
 204           zutil.c \
 205       )
 206 endif
 207 
 208 $(eval $(call SetupJdkLibrary, BUILD_LIBJLI, \
 209     NAME := jli, \
 210     OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \
 211     EXCLUDE_FILES := $(LIBJLI_EXCLUDE_FILES), \
 212     EXTRA_FILES := $(LIBJLI_EXTRA_FILES), \
 213     OPTIMIZATION := HIGH, \




 174 ))
 175 
 176 $(BUILD_LIBJIMAGE): $(BUILD_LIBJAVA)
 177 
 178 TARGETS += $(BUILD_LIBJIMAGE)
 179 
 180 ##########################################################################################
 181 
 182 ifeq ($(call isTargetOs, macosx), true)
 183   LIBJLI_EXCLUDE_FILES += java_md_solinux.c
 184 endif
 185 
 186 ifeq ($(call isTargetOs, windows), true)
 187   # Supply the name of the C runtime lib.
 188   LIBJLI_CFLAGS += -DMSVCR_DLL_NAME='"$(notdir $(MSVCR_DLL))"'
 189   ifneq ($(MSVCP_DLL), )
 190     LIBJLI_CFLAGS += -DMSVCP_DLL_NAME='"$(notdir $(MSVCP_DLL))"'
 191   endif
 192 endif
 193 
 194 LIBJLI_CFLAGS += -DLIBC=\"$(OPENJDK_TARGET_LIBC)\"
 195 
 196 LIBJLI_CFLAGS += $(LIBZ_CFLAGS)
 197 
 198 ifneq ($(USE_EXTERNAL_LIBZ), true)
 199   LIBJLI_EXTRA_FILES += \
 200       $(addprefix $(TOPDIR)/src/java.base/share/native/libzip/zlib/, \
 201           inflate.c \
 202           inftrees.c \
 203           inffast.c \
 204           zadler32.c \
 205           zcrc32.c \
 206           zutil.c \
 207       )
 208 endif
 209 
 210 $(eval $(call SetupJdkLibrary, BUILD_LIBJLI, \
 211     NAME := jli, \
 212     OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \
 213     EXCLUDE_FILES := $(LIBJLI_EXCLUDE_FILES), \
 214     EXTRA_FILES := $(LIBJLI_EXTRA_FILES), \
 215     OPTIMIZATION := HIGH, \


< prev index next >