< prev index next >

jdk/make/launcher/Launcher-jdk.runtime.gmk

Print this page




  60       $(JDK_OUTPUTDIR)/objs/libzip/inftrees$(OBJ_SUFFIX) \
  61       $(JDK_OUTPUTDIR)/objs/libzip/inffast$(OBJ_SUFFIX)
  62 
  63 endif
  64 
  65 UNPACKEXE_LANG := C
  66 ifeq ($(OPENJDK_TARGET_OS), solaris)
  67   UNPACKEXE_LANG := C++
  68 endif
  69 UNPACKEXE_DEBUG_SYMBOLS := true
  70 # On windows, unpack200 is linked completely differently to all other
  71 # executables, using the compiler with the compiler arguments.
  72 # It's also linked incrementally, producing a .ilk file that needs to
  73 # be kept away.
  74 ifeq ($(OPENJDK_TARGET_OS), windows)
  75   BUILD_UNPACKEXE_LDEXE := $(CC)
  76   EXE_OUT_OPTION_save := $(EXE_OUT_OPTION)
  77   EXE_OUT_OPTION := -Fe
  78   # With the current way unpack200 is built, debug symbols aren't supported
  79   # anyway.
  80   UNPACKEXE_DEBUG_SYMBOLS :=
  81 endif
  82 
  83 # The linker on older SuSE distros (e.g. on SLES 10) complains with:
  84 # "Invalid version tag `SUNWprivate_1.1'. Only anonymous version tag is allowed in executable."
  85 # if feeded with a version script which contains named tags.
  86 ifeq ($(USING_BROKEN_SUSE_LD), yes)
  87   UNPACK_MAPFILE = $(JDK_TOPDIR)/make/mapfiles/libunpack/mapfile-vers-unpack200.anonymous
  88 else
  89   UNPACK_MAPFILE = $(JDK_TOPDIR)/make/mapfiles/libunpack/mapfile-vers-unpack200
  90 endif
  91 
  92 $(eval $(call SetupNativeCompilation,BUILD_UNPACKEXE, \
  93     SRC := $(UNPACKEXE_SRC), \
  94     LANG := $(UNPACKEXE_LANG), \
  95     OPTIMIZATION := LOW, \
  96     CFLAGS := $(UNPACKEXE_CFLAGS) $(CXXFLAGS_JDKEXE) \
  97         -DFULL, \
  98     CFLAGS_release := -DPRODUCT, \
  99     CFLAGS_linux := -fPIC, \
 100     CFLAGS_solaris := -KPIC, \




  60       $(JDK_OUTPUTDIR)/objs/libzip/inftrees$(OBJ_SUFFIX) \
  61       $(JDK_OUTPUTDIR)/objs/libzip/inffast$(OBJ_SUFFIX)
  62 
  63 endif
  64 
  65 UNPACKEXE_LANG := C
  66 ifeq ($(OPENJDK_TARGET_OS), solaris)
  67   UNPACKEXE_LANG := C++
  68 endif
  69 UNPACKEXE_DEBUG_SYMBOLS := true
  70 # On windows, unpack200 is linked completely differently to all other
  71 # executables, using the compiler with the compiler arguments.
  72 # It's also linked incrementally, producing a .ilk file that needs to
  73 # be kept away.
  74 ifeq ($(OPENJDK_TARGET_OS), windows)
  75   BUILD_UNPACKEXE_LDEXE := $(CC)
  76   EXE_OUT_OPTION_save := $(EXE_OUT_OPTION)
  77   EXE_OUT_OPTION := -Fe
  78   # With the current way unpack200 is built, debug symbols aren't supported
  79   # anyway.
  80   UNPACKEXE_DEBUG_SYMBOLS := false
  81 endif
  82 
  83 # The linker on older SuSE distros (e.g. on SLES 10) complains with:
  84 # "Invalid version tag `SUNWprivate_1.1'. Only anonymous version tag is allowed in executable."
  85 # if feeded with a version script which contains named tags.
  86 ifeq ($(USING_BROKEN_SUSE_LD), yes)
  87   UNPACK_MAPFILE = $(JDK_TOPDIR)/make/mapfiles/libunpack/mapfile-vers-unpack200.anonymous
  88 else
  89   UNPACK_MAPFILE = $(JDK_TOPDIR)/make/mapfiles/libunpack/mapfile-vers-unpack200
  90 endif
  91 
  92 $(eval $(call SetupNativeCompilation,BUILD_UNPACKEXE, \
  93     SRC := $(UNPACKEXE_SRC), \
  94     LANG := $(UNPACKEXE_LANG), \
  95     OPTIMIZATION := LOW, \
  96     CFLAGS := $(UNPACKEXE_CFLAGS) $(CXXFLAGS_JDKEXE) \
  97         -DFULL, \
  98     CFLAGS_release := -DPRODUCT, \
  99     CFLAGS_linux := -fPIC, \
 100     CFLAGS_solaris := -KPIC, \


< prev index next >