< prev index next >

make/lib/Lib-jdk.jdwp.agent.gmk

Print this page
rev 12879 : 8136556: Add the ability to perform static builds of MacOSX x64 binaries
Reviewed-by: ihse, bdelsart, gadams, lfoltan, rriggs, hseigel, twisti


  83     MAPFILE := $(JDK_TOPDIR)/make/mapfiles/libjdwp/mapfile-vers, \
  84     LDFLAGS := $(LDFLAGS_JDKLIB) \
  85         $(call SET_SHARED_LIBRARY_ORIGIN), \
  86     LDFLAGS_SUFFIX_linux := $(LIBDL), \
  87     LDFLAGS_SUFFIX_solaris := $(LIBDL) -lc, \
  88     LDFLAGS_SUFFIX_windows := $(LDFLAGS_JDKLIB_SUFFIX), \
  89     LDFLAGS_SUFFIX_macosx := -liconv, \
  90     VERSIONINFO_RESOURCE := $(GLOBAL_VERSION_INFO_RESOURCE), \
  91     RC_FLAGS := $(RC_FLAGS) \
  92         -D "JDK_FNAME=jdwp.dll" \
  93         -D "JDK_INTERNAL_NAME=jdwp" \
  94         -D "JDK_FTYPE=0x2L", \
  95     OBJECT_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/libjdwp, \
  96     DEBUG_SYMBOLS := true))
  97 
  98 $(BUILD_LIBJDWP): $(call FindLib, java.base, java)
  99 
 100 TARGETS += $(BUILD_LIBJDWP)
 101 
 102 ################################################################################






















  83     MAPFILE := $(JDK_TOPDIR)/make/mapfiles/libjdwp/mapfile-vers, \
  84     LDFLAGS := $(LDFLAGS_JDKLIB) \
  85         $(call SET_SHARED_LIBRARY_ORIGIN), \
  86     LDFLAGS_SUFFIX_linux := $(LIBDL), \
  87     LDFLAGS_SUFFIX_solaris := $(LIBDL) -lc, \
  88     LDFLAGS_SUFFIX_windows := $(LDFLAGS_JDKLIB_SUFFIX), \
  89     LDFLAGS_SUFFIX_macosx := -liconv, \
  90     VERSIONINFO_RESOURCE := $(GLOBAL_VERSION_INFO_RESOURCE), \
  91     RC_FLAGS := $(RC_FLAGS) \
  92         -D "JDK_FNAME=jdwp.dll" \
  93         -D "JDK_INTERNAL_NAME=jdwp" \
  94         -D "JDK_FTYPE=0x2L", \
  95     OBJECT_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/libjdwp, \
  96     DEBUG_SYMBOLS := true))
  97 
  98 $(BUILD_LIBJDWP): $(call FindLib, java.base, java)
  99 
 100 TARGETS += $(BUILD_LIBJDWP)
 101 
 102 ################################################################################
 103 
 104 ifeq ($(STATIC_BUILD), true)
 105   JDK_JDWP_AGENT_EXPORT_SYMBOLS_SRC := \
 106       $(SUPPORT_OUTPUTDIR)/modules_libs/jdk.jdwp.agent/$(LIBRARY_PREFIX)dt_socket.symbols \
 107       $(SUPPORT_OUTPUTDIR)/modules_libs/jdk.jdwp.agent/$(LIBRARY_PREFIX)jdwp.symbols
 108 
 109   JDK_JDWP_AGENT_EXPORT_SYMBOL_FILE := $(SUPPORT_OUTPUTDIR)/modules_libs/jdk.jdwp.agent/jdk.jdwp.agent.symbols
 110 
 111   $(JDK_JDWP_AGENT_EXPORT_SYMBOL_FILE): $(JDK_JDWP_AGENT_EXPORT_SYMBOLS_SRC)
 112         $(ECHO) $(LOG_INFO) "Generating jdk.jdwp.agent symbols file"
 113         $(CAT) $^ > $@
 114 
 115   # The individual symbol files is generated when the respective lib is built
 116   $(JDK_JDWP_AGENT_EXPORT_SYMBOLS_SRC): $(BUILD_LIBDT_SOCKET) $(BUILD_LIBJDWP)
 117 
 118   TARGETS += $(JDK_JDWP_AGENT_EXPORT_SYMBOL_FILE)
 119 
 120 endif
 121 
 122 ################################################################################
< prev index next >