< prev index next >

make/lib/CoreLibraries.gmk

Print this page
rev 12309 : 8027634: Support @argfiles for java command-line tool
Reviewed-by: ksrini, mchung


 313         $(call SET_SHARED_LIBRARY_ORIGIN), \
 314     LDFLAGS_linux := $(call SET_SHARED_LIBRARY_ORIGIN,/..), \
 315     LDFLAGS_solaris := $(call SET_SHARED_LIBRARY_ORIGIN,/..), \
 316     LDFLAGS_macosx := -framework Cocoa -framework Security -framework ApplicationServices, \
 317     LDFLAGS_SUFFIX_solaris := $(LIBZ) $(LIBDL) -lc, \
 318     LDFLAGS_SUFFIX_linux := $(LIBZ) $(LIBDL) -lc -lpthread, \
 319     LDFLAGS_SUFFIX_aix := $(LIBZ) $(LIBDL),\
 320     LDFLAGS_SUFFIX_macosx := $(LIBZ), \
 321     LDFLAGS_SUFFIX_windows := \
 322         -export:JLI_Launch \
 323         -export:JLI_ManifestIterate \
 324         -export:JLI_SetTraceLauncher \
 325         -export:JLI_ReportErrorMessage \
 326         -export:JLI_ReportErrorMessageSys \
 327         -export:JLI_ReportMessage \
 328         -export:JLI_ReportExceptionDescription \
 329         -export:JLI_MemAlloc \
 330         -export:JLI_CmdToArgs \
 331         -export:JLI_GetStdArgc \
 332         -export:JLI_GetStdArgs \





 333         advapi32.lib \
 334         comctl32.lib \
 335         user32.lib, \
 336     VERSIONINFO_RESOURCE := $(GLOBAL_VERSION_INFO_RESOURCE), \
 337     RC_FLAGS := $(RC_FLAGS) \
 338         -D "JDK_FNAME=jli.dll" \
 339         -D "JDK_INTERNAL_NAME=jli" \
 340         -D "JDK_FTYPE=0x2L", \
 341     OBJECT_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/libjli, \
 342     DEBUG_SYMBOLS := $(DEBUG_ALL_BINARIES)))
 343 
 344 TARGETS += $(BUILD_LIBJLI)
 345 
 346 # On windows, the static library has the same suffix as the import library created by
 347 # with the shared library, so the static library is given a different name. No harm
 348 # in doing it for all platform to reduce complexity.
 349 ifeq ($(OPENJDK_TARGET_OS), windows)
 350   $(eval $(call SetupNativeCompilation,BUILD_LIBJLI_STATIC, \
 351       STATIC_LIBRARY := jli_static, \
 352       OUTPUT_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE), \




 313         $(call SET_SHARED_LIBRARY_ORIGIN), \
 314     LDFLAGS_linux := $(call SET_SHARED_LIBRARY_ORIGIN,/..), \
 315     LDFLAGS_solaris := $(call SET_SHARED_LIBRARY_ORIGIN,/..), \
 316     LDFLAGS_macosx := -framework Cocoa -framework Security -framework ApplicationServices, \
 317     LDFLAGS_SUFFIX_solaris := $(LIBZ) $(LIBDL) -lc, \
 318     LDFLAGS_SUFFIX_linux := $(LIBZ) $(LIBDL) -lc -lpthread, \
 319     LDFLAGS_SUFFIX_aix := $(LIBZ) $(LIBDL),\
 320     LDFLAGS_SUFFIX_macosx := $(LIBZ), \
 321     LDFLAGS_SUFFIX_windows := \
 322         -export:JLI_Launch \
 323         -export:JLI_ManifestIterate \
 324         -export:JLI_SetTraceLauncher \
 325         -export:JLI_ReportErrorMessage \
 326         -export:JLI_ReportErrorMessageSys \
 327         -export:JLI_ReportMessage \
 328         -export:JLI_ReportExceptionDescription \
 329         -export:JLI_MemAlloc \
 330         -export:JLI_CmdToArgs \
 331         -export:JLI_GetStdArgc \
 332         -export:JLI_GetStdArgs \
 333         -export:JLI_List_new \
 334         -export:JLI_List_add \
 335         -export:JLI_StringDup \
 336         -export:JLI_MemFree \
 337         -export:JLI_ExpandArgFile \
 338         advapi32.lib \
 339         comctl32.lib \
 340         user32.lib, \
 341     VERSIONINFO_RESOURCE := $(GLOBAL_VERSION_INFO_RESOURCE), \
 342     RC_FLAGS := $(RC_FLAGS) \
 343         -D "JDK_FNAME=jli.dll" \
 344         -D "JDK_INTERNAL_NAME=jli" \
 345         -D "JDK_FTYPE=0x2L", \
 346     OBJECT_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/libjli, \
 347     DEBUG_SYMBOLS := $(DEBUG_ALL_BINARIES)))
 348 
 349 TARGETS += $(BUILD_LIBJLI)
 350 
 351 # On windows, the static library has the same suffix as the import library created by
 352 # with the shared library, so the static library is given a different name. No harm
 353 # in doing it for all platform to reduce complexity.
 354 ifeq ($(OPENJDK_TARGET_OS), windows)
 355   $(eval $(call SetupNativeCompilation,BUILD_LIBJLI_STATIC, \
 356       STATIC_LIBRARY := jli_static, \
 357       OUTPUT_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE), \


< prev index next >