makefiles/CompileNativeLibraries.gmk

Print this page




 180 endif
 181 
 182 ifeq ($(OPENJDK_TARGET_OS),windows)
 183     LIBJAVA_SRC_DIRS+=$(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/security/provider \
 184                 $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/io
 185 endif
 186 
 187 LIBJAVA_CFLAGS:=$(foreach dir,$(LIBJAVA_SRC_DIRS),-I$(dir)) \
 188                   -I$(JDK_TOPDIR)/src/share/native/java/lang/fdlibm/include \
 189                   -DARCHPROPNAME='"$(OPENJDK_TARGET_CPU_OSARCH)"'
 190 
 191 LIBJAVA_CFLAGS += -DJDK_MAJOR_VERSION='"$(JDK_MAJOR_VERSION)"' \
 192                   -DJDK_MINOR_VERSION='"$(JDK_MINOR_VERSION)"' \
 193                   -DJDK_MICRO_VERSION='"$(JDK_MICRO_VERSION)"' \
 194                   -DJDK_BUILD_NUMBER='"$(JDK_BUILD_NUMBER)"' 
 195 
 196 ifneq (,$(JDK_UPDATE_VERSION))
 197         LIBJAVA_CFLAGS += -DJDK_UPDATE_VERSION='"$(JDK_UPDATE_VERSION)"'
 198 endif
 199 
 200 LIBJAVA_EXCLUDE_FILES:=check_code.c check_format.c
 201 
 202 ifneq ($(OPENJDK_TARGET_OS),macosx)
 203         LIBJAVA_EXCLUDE_FILES += java_props_macosx.c
 204 else
 205         BUILD_LIBJAVA_java_props_md.c_CFLAGS:=-x objective-c
 206 endif
 207 
 208 ifeq ($(OPENJDK_TARGET_OS),windows)
 209         LIBJAVA_EXCLUDE_FILES += \
 210                 UNIXProcess_md.c \
 211                 UnixFileSystem_md.c \
 212                 FileSystemPreferences.c
 213 else
 214         LIBJAVA_EXCLUDE_FILES += \
 215                 ProcessImpl_md.c \
 216                 WinNTFileSystem_md.c \
 217                 dirent_md.c \
 218                 WindowsPreferences.c \
 219                 sun/security/provider/WinCAPISeedGenerator.c \
 220                 sun/io/Win32ErrorMode.c




 180 endif
 181 
 182 ifeq ($(OPENJDK_TARGET_OS),windows)
 183     LIBJAVA_SRC_DIRS+=$(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/security/provider \
 184                 $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/io
 185 endif
 186 
 187 LIBJAVA_CFLAGS:=$(foreach dir,$(LIBJAVA_SRC_DIRS),-I$(dir)) \
 188                   -I$(JDK_TOPDIR)/src/share/native/java/lang/fdlibm/include \
 189                   -DARCHPROPNAME='"$(OPENJDK_TARGET_CPU_OSARCH)"'
 190 
 191 LIBJAVA_CFLAGS += -DJDK_MAJOR_VERSION='"$(JDK_MAJOR_VERSION)"' \
 192                   -DJDK_MINOR_VERSION='"$(JDK_MINOR_VERSION)"' \
 193                   -DJDK_MICRO_VERSION='"$(JDK_MICRO_VERSION)"' \
 194                   -DJDK_BUILD_NUMBER='"$(JDK_BUILD_NUMBER)"' 
 195 
 196 ifneq (,$(JDK_UPDATE_VERSION))
 197         LIBJAVA_CFLAGS += -DJDK_UPDATE_VERSION='"$(JDK_UPDATE_VERSION)"'
 198 endif
 199 
 200 LIBJAVA_EXCLUDE_FILES:=check_code.c check_format.c jspawnhelper.c
 201 
 202 ifneq ($(OPENJDK_TARGET_OS),macosx)
 203         LIBJAVA_EXCLUDE_FILES += java_props_macosx.c
 204 else
 205         BUILD_LIBJAVA_java_props_md.c_CFLAGS:=-x objective-c
 206 endif
 207 
 208 ifeq ($(OPENJDK_TARGET_OS),windows)
 209         LIBJAVA_EXCLUDE_FILES += \
 210                 UNIXProcess_md.c \
 211                 UnixFileSystem_md.c \
 212                 FileSystemPreferences.c
 213 else
 214         LIBJAVA_EXCLUDE_FILES += \
 215                 ProcessImpl_md.c \
 216                 WinNTFileSystem_md.c \
 217                 dirent_md.c \
 218                 WindowsPreferences.c \
 219                 sun/security/provider/WinCAPISeedGenerator.c \
 220                 sun/io/Win32ErrorMode.c