6 # under the terms of the GNU General Public License version 2 only, as 7 # published by the Free Software Foundation. Oracle designates this 8 # particular file as subject to the "Classpath" exception as provided 9 # by Oracle in the LICENSE file that accompanied this code. 10 # 11 # This code is distributed in the hope that it will be useful, but WITHOUT 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 # version 2 for more details (a copy is included in the LICENSE file that 15 # accompanied this code). 16 # 17 # You should have received a copy of the GNU General Public License version 18 # 2 along with this work; if not, write to the Free Software Foundation, 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 # 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 # or visit www.oracle.com if you need additional information or have any 23 # questions. 24 # 25 26 # Openwin is defined on Solaris. 27 OPENWIN_LIB := $(OPENWIN_HOME)/lib 28 29 WIN_AWT_LIB := $(JDK_OUTPUTDIR)/objs/libawt/awt.lib 30 31 ########################################################################################## 32 33 BUILD_LIBMLIB_SRC := $(JDK_TOPDIR)/src/share/native/sun/awt/medialib 34 BUILD_LIBMLIB_CFLAGS := -D__USE_J2D_NAMES -D__MEDIALIB_OLD_NAMES \ 35 -I$(BUILD_LIBMLIB_SRC) \ 36 -I$(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/awt/medialib 37 38 BUILD_LIBMLIB_LDLIBS := 39 BUILD_LIBMLIB_IMAGE_MAPFILE := $(JDK_TOPDIR)/make/mapfiles/libmlib_image/mapfile-vers 40 41 BUILD_LIBMLIB_CFLAGS += -DMLIB_NO_LIBSUNMATH 42 43 ifeq ($(OPENJDK_TARGET_CPU_BITS), 64) 44 BUILD_LIBMLIB_CFLAGS += -DMLIB_OS64BIT 45 endif 533 $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/xawt \ 534 535 LIBAWT_XAWT_CFLAGS := -DXAWT -DXAWT_HACK \ 536 -DPACKAGE_PATH=\"$(PACKAGE_PATH)\" \ 537 $(CUPS_CFLAGS) \ 538 $(foreach dir, $(LIBAWT_XAWT_DIRS), -I$(dir)) \ 539 -I$(JDK_TOPDIR)/src/share/native/sun/java2d \ 540 -I$(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/java2d \ 541 -I$(JDK_TOPDIR)/src/share/native/sun/java2d/loops \ 542 -I$(JDK_TOPDIR)/src/share/native/sun/java2d/pipe \ 543 -I$(JDK_TOPDIR)/src/share/native/sun/awt/image \ 544 -I$(JDK_TOPDIR)/src/share/native/sun/awt/image/cvutils \ 545 -I$(JDK_TOPDIR)/src/share/native/sun/awt/debug \ 546 -I$(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/jdga 547 548 ifeq ($(OPENJDK_TARGET_OS), solaris) 549 LIBAWT_XAWT_CFLAGS += -DFUNCPROTO=15 550 endif 551 552 ifeq ($(OPENJDK_TARGET_OS), linux) 553 ifndef OPENJDK 554 include $(JDK_TOPDIR)/make/closed/xawt.gmk 555 endif 556 557 ifeq ($(DISABLE_XRENDER), true) 558 LIBAWT_XAWT_CFLAGS += -DDISABLE_XRENDER_BY_DEFAULT=true 559 endif 560 endif 561 562 ifeq ($(MILESTONE), internal) 563 LIBAWT_XAWT_CFLAGS += -DINTERNAL_BUILD 564 endif 565 566 LIBAWT_XAWT_FILES := \ 567 XlibWrapper.c \ 568 XWindow.c \ 569 XToolkit.c \ 570 X11Color.c \ 571 X11SurfaceData.c \ 572 awt_GraphicsEnv.c \ 573 awt_InputMethod.c \ 574 robot_common.c \ 575 awt_Robot.c \ 576 list.c \ | 6 # under the terms of the GNU General Public License version 2 only, as 7 # published by the Free Software Foundation. Oracle designates this 8 # particular file as subject to the "Classpath" exception as provided 9 # by Oracle in the LICENSE file that accompanied this code. 10 # 11 # This code is distributed in the hope that it will be useful, but WITHOUT 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 # version 2 for more details (a copy is included in the LICENSE file that 15 # accompanied this code). 16 # 17 # You should have received a copy of the GNU General Public License version 18 # 2 along with this work; if not, write to the Free Software Foundation, 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 # 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 # or visit www.oracle.com if you need additional information or have any 23 # questions. 24 # 25 26 # Hook to include the corresponding custom file, if present. 27 $(eval $(call IncludeCustomExtension, jdk, lib/Awt2dLibraries.gmk)) 28 29 # Openwin is defined on Solaris. 30 OPENWIN_LIB := $(OPENWIN_HOME)/lib 31 32 WIN_AWT_LIB := $(JDK_OUTPUTDIR)/objs/libawt/awt.lib 33 34 ########################################################################################## 35 36 BUILD_LIBMLIB_SRC := $(JDK_TOPDIR)/src/share/native/sun/awt/medialib 37 BUILD_LIBMLIB_CFLAGS := -D__USE_J2D_NAMES -D__MEDIALIB_OLD_NAMES \ 38 -I$(BUILD_LIBMLIB_SRC) \ 39 -I$(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/awt/medialib 40 41 BUILD_LIBMLIB_LDLIBS := 42 BUILD_LIBMLIB_IMAGE_MAPFILE := $(JDK_TOPDIR)/make/mapfiles/libmlib_image/mapfile-vers 43 44 BUILD_LIBMLIB_CFLAGS += -DMLIB_NO_LIBSUNMATH 45 46 ifeq ($(OPENJDK_TARGET_CPU_BITS), 64) 47 BUILD_LIBMLIB_CFLAGS += -DMLIB_OS64BIT 48 endif 536 $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/xawt \ 537 538 LIBAWT_XAWT_CFLAGS := -DXAWT -DXAWT_HACK \ 539 -DPACKAGE_PATH=\"$(PACKAGE_PATH)\" \ 540 $(CUPS_CFLAGS) \ 541 $(foreach dir, $(LIBAWT_XAWT_DIRS), -I$(dir)) \ 542 -I$(JDK_TOPDIR)/src/share/native/sun/java2d \ 543 -I$(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/java2d \ 544 -I$(JDK_TOPDIR)/src/share/native/sun/java2d/loops \ 545 -I$(JDK_TOPDIR)/src/share/native/sun/java2d/pipe \ 546 -I$(JDK_TOPDIR)/src/share/native/sun/awt/image \ 547 -I$(JDK_TOPDIR)/src/share/native/sun/awt/image/cvutils \ 548 -I$(JDK_TOPDIR)/src/share/native/sun/awt/debug \ 549 -I$(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/jdga 550 551 ifeq ($(OPENJDK_TARGET_OS), solaris) 552 LIBAWT_XAWT_CFLAGS += -DFUNCPROTO=15 553 endif 554 555 ifeq ($(OPENJDK_TARGET_OS), linux) 556 ifeq ($(DISABLE_XRENDER), true) 557 LIBAWT_XAWT_CFLAGS += -DDISABLE_XRENDER_BY_DEFAULT=true 558 endif 559 endif 560 561 ifeq ($(MILESTONE), internal) 562 LIBAWT_XAWT_CFLAGS += -DINTERNAL_BUILD 563 endif 564 565 LIBAWT_XAWT_FILES := \ 566 XlibWrapper.c \ 567 XWindow.c \ 568 XToolkit.c \ 569 X11Color.c \ 570 X11SurfaceData.c \ 571 awt_GraphicsEnv.c \ 572 awt_InputMethod.c \ 573 robot_common.c \ 574 awt_Robot.c \ 575 list.c \ |