jdk/make/lib/Awt2dLibraries.gmk
changeset 23305 e7d0093bfc6c
parent 23292 009134c9d572
child 23310 dfbe9ff289c6
equal deleted inserted replaced
23304:bb48872f9326 23305:e7d0093bfc6c
  1195 ##########################################################################################
  1195 ##########################################################################################
  1196 
  1196 
  1197 ifndef BUILD_HEADLESS_ONLY
  1197 ifndef BUILD_HEADLESS_ONLY
  1198   LIBSPLASHSCREEN_DIRS := \
  1198   LIBSPLASHSCREEN_DIRS := \
  1199     $(JDK_TOPDIR)/src/share/native/sun/awt/image/jpeg \
  1199     $(JDK_TOPDIR)/src/share/native/sun/awt/image/jpeg \
  1200     $(JDK_TOPDIR)/src/share/native/sun/awt/libpng \
       
  1201     $(JDK_TOPDIR)/src/share/native/sun/awt/splashscreen
  1200     $(JDK_TOPDIR)/src/share/native/sun/awt/splashscreen
  1202 
  1201 
  1203   ifeq ($(USE_EXTERNAL_LIBGIF), true)
  1202   ifeq ($(USE_EXTERNAL_LIBGIF), true)
  1204     GIFLIB_LDFLAGS := -lgif
  1203     GIFLIB_LDFLAGS := -lgif
  1205   else
  1204   else
  1206     LIBSPLASHSCREEN_DIRS += $(JDK_TOPDIR)/src/share/native/sun/awt/giflib
  1205     LIBSPLASHSCREEN_DIRS += $(JDK_TOPDIR)/src/share/native/sun/awt/giflib
  1207     GIFLIB_CFLAGS := -I$(JDK_TOPDIR)/src/share/native/sun/awt/giflib
  1206     GIFLIB_CFLAGS := -I$(JDK_TOPDIR)/src/share/native/sun/awt/giflib
       
  1207   endif
       
  1208 
       
  1209   ifeq ($(USE_EXTERNAL_LIBPNG), false)
       
  1210     LIBSPLASHSCREEN_DIRS += $(JDK_TOPDIR)/src/share/native/sun/awt/libpng
       
  1211     LIBPNG_CFLAGS := -I$(JDK_TOPDIR)/src/share/native/sun/awt/libpng
  1208   endif
  1212   endif
  1209 
  1213 
  1210   ifneq ($(OPENJDK_TARGET_OS), macosx)
  1214   ifneq ($(OPENJDK_TARGET_OS), macosx)
  1211     LIBSPLASHSCREEN_DIRS += $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/awt/splashscreen
  1215     LIBSPLASHSCREEN_DIRS += $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/awt/splashscreen
  1212   else
  1216   else
  1267       OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \
  1271       OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \
  1268       SRC := $(LIBSPLASHSCREEN_DIRS), \
  1272       SRC := $(LIBSPLASHSCREEN_DIRS), \
  1269       EXCLUDE_FILES := imageioJPEG.c jpegdecoder.c pngtest.c, \
  1273       EXCLUDE_FILES := imageioJPEG.c jpegdecoder.c pngtest.c, \
  1270       LANG := C, \
  1274       LANG := C, \
  1271       OPTIMIZATION := LOW, \
  1275       OPTIMIZATION := LOW, \
  1272       CFLAGS := $(LIBSPLASHSCREEN_CFLAGS) $(CFLAGS_JDKLIB) $(GIFLIB_CFLAGS), \
  1276       CFLAGS := $(LIBSPLASHSCREEN_CFLAGS) $(CFLAGS_JDKLIB) \
       
  1277                 $(GIFLIB_CFLAGS) $(PNG_CFLAGS), \
  1273       MAPFILE := $(JDK_TOPDIR)/make/mapfiles/libsplashscreen/mapfile-vers, \
  1278       MAPFILE := $(JDK_TOPDIR)/make/mapfiles/libsplashscreen/mapfile-vers, \
  1274       LDFLAGS := $(LDFLAGS_JDKLIB) \
  1279       LDFLAGS := $(LDFLAGS_JDKLIB) \
  1275           $(call SET_SHARED_LIBRARY_ORIGIN), \
  1280           $(call SET_SHARED_LIBRARY_ORIGIN), \
  1276       LDFLAGS_SUFFIX := $(LIBSPLASHSCREEN_LDFLAGS_SUFFIX) $(LIBZ) $(GIFLIB_LDFLAGS), \
  1281       LDFLAGS_SUFFIX := $(LIBSPLASHSCREEN_LDFLAGS_SUFFIX) $(LIBZ) \
       
  1282                         $(GIFLIB_LDFLAGS) $(PNG_LIBS), \
  1277       LDFLAGS_SUFFIX_solaris := -lc, \
  1283       LDFLAGS_SUFFIX_solaris := -lc, \
  1278       VERSIONINFO_RESOURCE := $(JDK_TOPDIR)/src/windows/resource/version.rc, \
  1284       VERSIONINFO_RESOURCE := $(JDK_TOPDIR)/src/windows/resource/version.rc, \
  1279       RC_FLAGS := $(RC_FLAGS) \
  1285       RC_FLAGS := $(RC_FLAGS) \
  1280           -D "JDK_FNAME=splashscreen.dll" \
  1286           -D "JDK_FNAME=splashscreen.dll" \
  1281           -D "JDK_INTERNAL_NAME=splashscreen" \
  1287           -D "JDK_INTERNAL_NAME=splashscreen" \