< prev index next >

make/lib/Awt2dLibraries.gmk

Print this page




 367   BUILD_LIBLCMS_INCLUDE_FILES := LCMS.c
 368   # If we're using an external library, we can't include our own SRC path
 369   # as includes, instead the system headers should be used.
 370   LIBLCMS_HEADERS_FROM_SRC := false
 371 else
 372   BUILD_LIBLCMS_INCLUDE_FILES :=
 373 endif
 374 
 375 $(eval $(call SetupJdkLibrary, BUILD_LIBLCMS, \
 376     NAME := lcms, \
 377     INCLUDE_FILES := $(BUILD_LIBLCMS_INCLUDE_FILES), \
 378     OPTIMIZATION := HIGHEST, \
 379     CFLAGS := $(CFLAGS_JDKLIB) \
 380         $(LCMS_CFLAGS), \
 381     CFLAGS_windows := -DCMS_IS_WINDOWS_, \
 382     EXTRA_HEADER_DIRS := \
 383         common/awt/debug \
 384         libawt/java2d, \
 385     HEADERS_FROM_SRC := $(LIBLCMS_HEADERS_FROM_SRC), \
 386     DISABLED_WARNINGS_gcc := format-nonliteral type-limits \

 387         misleading-indentation undef unused-function, \
 388     DISABLED_WARNINGS_clang := tautological-compare format-nonliteral undef, \
 389     DISABLED_WARNINGS_solstudio := E_STATEMENT_NOT_REACHED, \
 390     DISABLED_WARNINGS_microsoft := 4819, \
 391     LDFLAGS := $(LDFLAGS_JDKLIB) \
 392         $(call SET_SHARED_LIBRARY_ORIGIN), \
 393     LDFLAGS_unix := -L$(INSTALL_LIBRARIES_HERE), \
 394     LIBS_unix := -lawt -ljvm -ljava $(LCMS_LIBS) $(LIBM), \
 395     LIBS_windows := $(WIN_AWT_LIB) $(WIN_JAVA_LIB), \
 396 ))
 397 
 398 TARGETS += $(BUILD_LIBLCMS)
 399 
 400 $(BUILD_LIBLCMS): $(BUILD_LIBAWT)
 401 
 402 ################################################################################
 403 
 404 # "DISABLED_WARNINGS_gcc := clobbered" rationale:
 405 # Suppress gcc warnings like "variable might be clobbered by 'longjmp'
 406 # or 'vfork'": this warning indicates that some variable is placed to




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


< prev index next >