comparison make/lib/Lib-jdk.jdwp.agent.gmk @ 13021:55573c377d64

8136556: Add the ability to perform static builds of MacOSX x64 binaries Reviewed-by: ihse, bdelsart, gadams, lfoltan, rriggs, hseigel, twisti
author bobv
date Mon, 19 Oct 2015 13:41:09 -0400
parents c967a4d4d00d
children c62eb4e5d28c
comparison
equal deleted inserted replaced
5:4640acbf914a 7:4b13f7ed6712
98 $(BUILD_LIBJDWP): $(call FindLib, java.base, java) 98 $(BUILD_LIBJDWP): $(call FindLib, java.base, java)
99 99
100 TARGETS += $(BUILD_LIBJDWP) 100 TARGETS += $(BUILD_LIBJDWP)
101 101
102 ################################################################################ 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 ################################################################################