< prev index next >

make/lib/CoreLibraries.gmk

Print this page




 152   LIBJAVA_SRC_DIRS += $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/util/locale/provider
 153 else ifeq ($(OPENJDK_TARGET_OS), macosx)
 154   LIBJAVA_SRC_DIRS += $(JDK_TOPDIR)/src/macosx/native/sun/util/locale/provider
 155 endif
 156 
 157 ifeq ($(OPENJDK_TARGET_OS), windows)
 158   LIBJAVA_SRC_DIRS += $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/security/provider \
 159       $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/io
 160 endif
 161 
 162 # Make it possible to override this variable
 163 LIBJAVA_MAPFILE ?= $(JDK_TOPDIR)/make/mapfiles/libjava/mapfile-vers
 164 
 165 LIBJAVA_CFLAGS := $(foreach dir, $(LIBJAVA_SRC_DIRS), -I$(dir)) \
 166     -I$(JDK_TOPDIR)/src/share/native/java/lang/fdlibm/include \
 167     -DARCHPROPNAME='"$(OPENJDK_TARGET_CPU_OSARCH)"'
 168 
 169 LIBJAVA_CFLAGS += -DJDK_MAJOR_VERSION='"$(JDK_MAJOR_VERSION)"' \
 170     -DJDK_MINOR_VERSION='"$(JDK_MINOR_VERSION)"' \
 171     -DJDK_MICRO_VERSION='"$(JDK_MICRO_VERSION)"' \
 172      -DJDK_BUILD_NUMBER='"$(JDK_BUILD_NUMBER)"'

 173 
 174 ifneq (, $(JDK_UPDATE_VERSION))
 175   LIBJAVA_CFLAGS += -DJDK_UPDATE_VERSION='"$(JDK_UPDATE_VERSION)"'
 176 endif
 177 
 178 LIBJAVA_EXCLUDE_FILES := check_code.c check_format.c jspawnhelper.c
 179 
 180 ifneq ($(OPENJDK_TARGET_OS), macosx)
 181   LIBJAVA_EXCLUDE_FILES += java_props_macosx.c
 182 else
 183   BUILD_LIBJAVA_java_props_md.c_CFLAGS := -x objective-c
 184   BUILD_LIBJAVA_java_props_macosx.c_CFLAGS := -x objective-c
 185 endif
 186 
 187 ifeq ($(OPENJDK_TARGET_OS), windows)
 188   LIBJAVA_EXCLUDE_FILES += \
 189       UNIXProcess_md.c \
 190       UnixFileSystem_md.c \
 191       FileSystemPreferences.c
 192 else




 152   LIBJAVA_SRC_DIRS += $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/util/locale/provider
 153 else ifeq ($(OPENJDK_TARGET_OS), macosx)
 154   LIBJAVA_SRC_DIRS += $(JDK_TOPDIR)/src/macosx/native/sun/util/locale/provider
 155 endif
 156 
 157 ifeq ($(OPENJDK_TARGET_OS), windows)
 158   LIBJAVA_SRC_DIRS += $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/security/provider \
 159       $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/io
 160 endif
 161 
 162 # Make it possible to override this variable
 163 LIBJAVA_MAPFILE ?= $(JDK_TOPDIR)/make/mapfiles/libjava/mapfile-vers
 164 
 165 LIBJAVA_CFLAGS := $(foreach dir, $(LIBJAVA_SRC_DIRS), -I$(dir)) \
 166     -I$(JDK_TOPDIR)/src/share/native/java/lang/fdlibm/include \
 167     -DARCHPROPNAME='"$(OPENJDK_TARGET_CPU_OSARCH)"'
 168 
 169 LIBJAVA_CFLAGS += -DJDK_MAJOR_VERSION='"$(JDK_MAJOR_VERSION)"' \
 170     -DJDK_MINOR_VERSION='"$(JDK_MINOR_VERSION)"' \
 171     -DJDK_MICRO_VERSION='"$(JDK_MICRO_VERSION)"' \
 172      -DJDK_BUILD_NUMBER='"$(JDK_BUILD_NUMBER)"'  \
 173      $(VERSION_CFLAGS)
 174 
 175 ifneq (, $(JDK_UPDATE_VERSION))
 176   LIBJAVA_CFLAGS += -DJDK_UPDATE_VERSION='"$(JDK_UPDATE_VERSION)"'
 177 endif
 178 
 179 LIBJAVA_EXCLUDE_FILES := check_code.c check_format.c jspawnhelper.c
 180 
 181 ifneq ($(OPENJDK_TARGET_OS), macosx)
 182   LIBJAVA_EXCLUDE_FILES += java_props_macosx.c
 183 else
 184   BUILD_LIBJAVA_java_props_md.c_CFLAGS := -x objective-c
 185   BUILD_LIBJAVA_java_props_macosx.c_CFLAGS := -x objective-c
 186 endif
 187 
 188 ifeq ($(OPENJDK_TARGET_OS), windows)
 189   LIBJAVA_EXCLUDE_FILES += \
 190       UNIXProcess_md.c \
 191       UnixFileSystem_md.c \
 192       FileSystemPreferences.c
 193 else


< prev index next >