< prev index next >

make/lib/Awt2dLibraries.gmk

Print this page




 366   BUILD_LIBLCMS_INCLUDE_FILES := LCMS.c
 367   # If we're using an external library, we can't include our own SRC path
 368   # as includes, instead the system headers should be used.
 369   LIBLCMS_HEADERS_FROM_SRC := false
 370 else
 371   BUILD_LIBLCMS_INCLUDE_FILES :=
 372 endif
 373 
 374 $(eval $(call SetupJdkLibrary, BUILD_LIBLCMS, \
 375     NAME := lcms, \
 376     INCLUDE_FILES := $(BUILD_LIBLCMS_INCLUDE_FILES), \
 377     OPTIMIZATION := HIGHEST, \
 378     CFLAGS := $(CFLAGS_JDKLIB) \
 379         $(LCMS_CFLAGS), \
 380     CFLAGS_windows := -DCMS_IS_WINDOWS_, \
 381     EXTRA_HEADER_DIRS := \
 382         common/awt/debug \
 383         libawt/java2d, \
 384     HEADERS_FROM_SRC := $(LIBLCMS_HEADERS_FROM_SRC), \
 385     DISABLED_WARNINGS_gcc := format-nonliteral type-limits \
 386         misleading-indentation undef unused-function, \
 387     DISABLED_WARNINGS_clang := tautological-compare format-nonliteral undef, \
 388     DISABLED_WARNINGS_solstudio := E_STATEMENT_NOT_REACHED, \
 389     DISABLED_WARNINGS_microsoft := 4819, \
 390     LDFLAGS := $(LDFLAGS_JDKLIB) \
 391         $(call SET_SHARED_LIBRARY_ORIGIN), \
 392     LDFLAGS_unix := -L$(INSTALL_LIBRARIES_HERE), \
 393     LIBS_unix := -lawt -ljvm -ljava $(LCMS_LIBS) $(LIBM), \
 394     LIBS_windows := $(WIN_AWT_LIB) $(WIN_JAVA_LIB), \
 395 ))
 396 
 397 TARGETS += $(BUILD_LIBLCMS)
 398 
 399 $(BUILD_LIBLCMS): $(BUILD_LIBAWT)
 400 
 401 ################################################################################
 402 
 403 # "DISABLED_WARNINGS_gcc := clobbered" rationale:
 404 # Suppress gcc warnings like "variable might be clobbered by 'longjmp'
 405 # or 'vfork'": this warning indicates that some variable is placed to
 406 # a register by optimized compiler and it's value might be lost on longjmp().




 366   BUILD_LIBLCMS_INCLUDE_FILES := LCMS.c
 367   # If we're using an external library, we can't include our own SRC path
 368   # as includes, instead the system headers should be used.
 369   LIBLCMS_HEADERS_FROM_SRC := false
 370 else
 371   BUILD_LIBLCMS_INCLUDE_FILES :=
 372 endif
 373 
 374 $(eval $(call SetupJdkLibrary, BUILD_LIBLCMS, \
 375     NAME := lcms, \
 376     INCLUDE_FILES := $(BUILD_LIBLCMS_INCLUDE_FILES), \
 377     OPTIMIZATION := HIGHEST, \
 378     CFLAGS := $(CFLAGS_JDKLIB) \
 379         $(LCMS_CFLAGS), \
 380     CFLAGS_windows := -DCMS_IS_WINDOWS_, \
 381     EXTRA_HEADER_DIRS := \
 382         common/awt/debug \
 383         libawt/java2d, \
 384     HEADERS_FROM_SRC := $(LIBLCMS_HEADERS_FROM_SRC), \
 385     DISABLED_WARNINGS_gcc := format-nonliteral type-limits \
 386         misleading-indentation undef unused-function stringop-truncation, \
 387     DISABLED_WARNINGS_clang := tautological-compare format-nonliteral undef, \
 388     DISABLED_WARNINGS_solstudio := E_STATEMENT_NOT_REACHED, \
 389     DISABLED_WARNINGS_microsoft := 4819, \
 390     LDFLAGS := $(LDFLAGS_JDKLIB) \
 391         $(call SET_SHARED_LIBRARY_ORIGIN), \
 392     LDFLAGS_unix := -L$(INSTALL_LIBRARIES_HERE), \
 393     LIBS_unix := -lawt -ljvm -ljava $(LCMS_LIBS) $(LIBM), \
 394     LIBS_windows := $(WIN_AWT_LIB) $(WIN_JAVA_LIB), \
 395 ))
 396 
 397 TARGETS += $(BUILD_LIBLCMS)
 398 
 399 $(BUILD_LIBLCMS): $(BUILD_LIBAWT)
 400 
 401 ################################################################################
 402 
 403 # "DISABLED_WARNINGS_gcc := clobbered" rationale:
 404 # Suppress gcc warnings like "variable might be clobbered by 'longjmp'
 405 # or 'vfork'": this warning indicates that some variable is placed to
 406 # a register by optimized compiler and it's value might be lost on longjmp().


< prev index next >