< prev index next >

make/lib/Awt2dLibraries.gmk

Print this page




 326         -I$(JDK_TOPDIR)/src/java.desktop/share/native/libawt/awt/image \
 327         -I$(JDK_TOPDIR)/src/java.desktop/$(OPENJDK_TARGET_OS_TYPE)/native/libsunwjdga \
 328         -I$(JDK_TOPDIR)/src/java.desktop/$(OPENJDK_TARGET_OS_TYPE)/native/common/font \
 329         $(LIBJAVA_HEADER_FLAGS)
 330         #
 331 
 332     LIBAWT_XAWT_CFLAGS += -DXAWT -DXAWT_HACK \
 333         -DPACKAGE_PATH=\"$(PACKAGE_PATH)\" \
 334         $(CUPS_CFLAGS)
 335 
 336     ifeq ($(OPENJDK_TARGET_OS), solaris)
 337       LIBAWT_XAWT_CFLAGS += -DFUNCPROTO=15
 338     endif
 339 
 340     ifeq ($(OPENJDK_TARGET_OS), linux)
 341       ifeq ($(DISABLE_XRENDER), true)
 342         LIBAWT_XAWT_CFLAGS += -DDISABLE_XRENDER_BY_DEFAULT=true
 343       endif
 344     endif
 345 
 346     LIBAWT_XAWT_LIBS := $(LIBM) -lawt -lXext -lX11 -lXrender $(LIBDL) -lXtst -lXi -ljava -ljvm -lc
 347 
 348     ifeq ($(OPENJDK_TARGET_OS), linux)
 349       LIBAWT_XAWT_LIBS += -lpthread
 350     endif
 351 
 352     ifeq ($(TOOLCHAIN_TYPE), gcc)
 353       # Turn off all warnings for the following files since they contain warnings
 354       # that cannot be turned of individually.
 355       # redefining a macro
 356       BUILD_LIBAWT_XAWT_gtk2_interface.c_CFLAGS := -w
 357       # comparison between pointer and integer
 358       BUILD_LIBAWT_XAWT_awt_Font.c_CFLAGS := -w
 359       # initializing a declared 'extern'
 360       BUILD_LIBAWT_XAWT_debug_mem.c_CFLAGS := -w
 361       # decimal constant is unsigned only in ISO C90 (JAVASE_EMBEDDED)
 362       BUILD_LIBAWT_XAWT_XToolkit.c_CFLAGS := -w
 363    endif
 364 
 365     $(eval $(call SetupNativeCompilation,BUILD_LIBAWT_XAWT, \
 366         LIBRARY := awt_xawt, \




 326         -I$(JDK_TOPDIR)/src/java.desktop/share/native/libawt/awt/image \
 327         -I$(JDK_TOPDIR)/src/java.desktop/$(OPENJDK_TARGET_OS_TYPE)/native/libsunwjdga \
 328         -I$(JDK_TOPDIR)/src/java.desktop/$(OPENJDK_TARGET_OS_TYPE)/native/common/font \
 329         $(LIBJAVA_HEADER_FLAGS)
 330         #
 331 
 332     LIBAWT_XAWT_CFLAGS += -DXAWT -DXAWT_HACK \
 333         -DPACKAGE_PATH=\"$(PACKAGE_PATH)\" \
 334         $(CUPS_CFLAGS)
 335 
 336     ifeq ($(OPENJDK_TARGET_OS), solaris)
 337       LIBAWT_XAWT_CFLAGS += -DFUNCPROTO=15
 338     endif
 339 
 340     ifeq ($(OPENJDK_TARGET_OS), linux)
 341       ifeq ($(DISABLE_XRENDER), true)
 342         LIBAWT_XAWT_CFLAGS += -DDISABLE_XRENDER_BY_DEFAULT=true
 343       endif
 344     endif
 345 
 346     LIBAWT_XAWT_LIBS := $(LIBM) -lawt -lXext -lX11 -lXrender -lXcomposite $(LIBDL) -lXtst -lXi -ljava -ljvm -lc
 347 
 348     ifeq ($(OPENJDK_TARGET_OS), linux)
 349       LIBAWT_XAWT_LIBS += -lpthread
 350     endif
 351 
 352     ifeq ($(TOOLCHAIN_TYPE), gcc)
 353       # Turn off all warnings for the following files since they contain warnings
 354       # that cannot be turned of individually.
 355       # redefining a macro
 356       BUILD_LIBAWT_XAWT_gtk2_interface.c_CFLAGS := -w
 357       # comparison between pointer and integer
 358       BUILD_LIBAWT_XAWT_awt_Font.c_CFLAGS := -w
 359       # initializing a declared 'extern'
 360       BUILD_LIBAWT_XAWT_debug_mem.c_CFLAGS := -w
 361       # decimal constant is unsigned only in ISO C90 (JAVASE_EMBEDDED)
 362       BUILD_LIBAWT_XAWT_XToolkit.c_CFLAGS := -w
 363    endif
 364 
 365     $(eval $(call SetupNativeCompilation,BUILD_LIBAWT_XAWT, \
 366         LIBRARY := awt_xawt, \


< prev index next >