1 #
2 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # This code is free software; you can redistribute it and/or modify it
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
589 OGLPaints.c \
590 OGLRenderQueue.c \
591 OGLRenderer.c \
592 OGLSurfaceData.c \
593 OGLTextRenderer.c \
594 OGLVertexCache.c \
595 GLXGraphicsConfig.c \
596 GLXSurfaceData.c \
597 AccelGlyphCache.c \
598 awt_Font.c \
599 multi_font.c \
600 awt_AWTEvent.c \
601 awt_DrawingSurface.c \
602 jawt.c \
603 CUPSfuncs.c \
604 debug_assert.c \
605 debug_mem.c \
606 debug_trace.c \
607 debug_util.c \
608 gnome_interface.c \
609 gtk2_interface.c \
610 swing_GTKEngine.c \
611 swing_GTKStyle.c \
612 rect.c \
613 sun_awt_X11_GtkFileDialogPeer.c \
614 XRSurfaceData.c \
615 XRBackendNative.c
616
617 LIBAWT_XAWT_LDFLAGS_SUFFIX := $(LIBM) -lawt -lXext -lX11 -lXrender $(LIBDL) -lXtst -lXi -ljava -ljvm -lc
618
619 ifeq ($(OPENJDK_TARGET_OS), linux)
620 # To match old build, add this to LDFLAGS instead of suffix.
621 LIBAWT_XAWT_LDFLAGS += -lpthread
622 endif
623
624 $(eval $(call SetupNativeCompilation,BUILD_LIBAWT_XAWT, \
625 LIBRARY := awt_xawt, \
626 OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \
627 SRC := $(LIBAWT_XAWT_DIRS), \
628 INCLUDE_FILES := $(LIBAWT_XAWT_FILES), \
629 LANG := C, \
|
1 #
2 # Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # This code is free software; you can redistribute it and/or modify it
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
589 OGLPaints.c \
590 OGLRenderQueue.c \
591 OGLRenderer.c \
592 OGLSurfaceData.c \
593 OGLTextRenderer.c \
594 OGLVertexCache.c \
595 GLXGraphicsConfig.c \
596 GLXSurfaceData.c \
597 AccelGlyphCache.c \
598 awt_Font.c \
599 multi_font.c \
600 awt_AWTEvent.c \
601 awt_DrawingSurface.c \
602 jawt.c \
603 CUPSfuncs.c \
604 debug_assert.c \
605 debug_mem.c \
606 debug_trace.c \
607 debug_util.c \
608 gnome_interface.c \
609 gtk_interface.c \
610 gtk2_interface.c \
611 gtk3_interface.c \
612 swing_GTKEngine.c \
613 swing_GTKStyle.c \
614 rect.c \
615 sun_awt_X11_GtkFileDialogPeer.c \
616 XRSurfaceData.c \
617 XRBackendNative.c
618
619 LIBAWT_XAWT_LDFLAGS_SUFFIX := $(LIBM) -lawt -lXext -lX11 -lXrender $(LIBDL) -lXtst -lXi -ljava -ljvm -lc
620
621 ifeq ($(OPENJDK_TARGET_OS), linux)
622 # To match old build, add this to LDFLAGS instead of suffix.
623 LIBAWT_XAWT_LDFLAGS += -lpthread
624 endif
625
626 $(eval $(call SetupNativeCompilation,BUILD_LIBAWT_XAWT, \
627 LIBRARY := awt_xawt, \
628 OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \
629 SRC := $(LIBAWT_XAWT_DIRS), \
630 INCLUDE_FILES := $(LIBAWT_XAWT_FILES), \
631 LANG := C, \
|