1 #
   2 # Copyright (c) 1996, 2007, 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
  23 # questions.
  24 #
  25 
  26 #
  27 # The debug_* files included here aren't for 2D specifically but they
  28 # have no X dependency.
  29 
  30 FILES_2D_vis = \
  31         vis_FuncArray.c           \
  32         java2d_Mlib.c             \
  33         mlib_ImageCreate.c        \
  34         mlib_ImageZoom_NN.c       \
  35         mlib_ImageCopy_Bit.c      \
  36         mlib_sys.c                \
  37         mlib_v_ImageClear.c       \
  38         mlib_v_ImageClear_f.c     \
  39         mlib_v_ImageConstXor.c    \
  40         mlib_v_ImageCopy.c        \
  41         mlib_v_ImageCopy_f.c      \
  42         mlib_v_ImageXor.c         \
  43         mlib_v_ImageZoom_NN_f.c   \
  44         vis_Interp.c              \
  45         vis_AlphaMacros.c         \
  46         vis_AlphaMaskBlit.c       \
  47         vis_AlphaMaskFill.c       \
  48         vis_ByteGray.c            \
  49         vis_ByteGray_FromRgb.c    \
  50         vis_ByteGray_Mask.c       \
  51         vis_ByteIndexed.c         \
  52         vis_DrawLine.c            \
  53         vis_FourByteAbgr.c        \
  54         vis_IntArgb.c             \
  55         vis_IntArgbPre.c          \
  56         vis_IntArgbPre_Mask.c     \
  57         vis_IntBgr.c              \
  58         vis_IntRgb.c              \
  59         vis_IntRgbx.c             \
  60         vis_SrcMaskFill.c         \
  61         vis_SrcOverMaskBlit.c     \
  62         vis_SrcOverMaskFill.c     \
  63         vis_FourByteAbgrPre.c     \
  64         vis_GlyphList.c           \
  65         vis_GlyphListXor.c        \
  66         vis_IntArgbBm.c           \
  67         vis_ThreeByteBgr.c        \
  68         vis_UshortGray.c          \
  69         vis_UshortGray_FromRgb.c  \
  70         vis_XorBlit.c
  71 
  72 FILES_2D_c = \
  73         gifdecoder.c \
  74         imageInitIDs.c \
  75         img_colors.c \
  76         img_globals.c \
  77         SurfaceData.c \
  78         Region.c \
  79         BufImgSurfaceData.c \
  80         Disposer.c \
  81         Trace.c \
  82         GraphicsPrimitiveMgr.c \
  83         Blit.c \
  84         BlitBg.c \
  85         ScaledBlit.c \
  86         FillRect.c \
  87         FillSpans.c \
  88         FillParallelogram.c \
  89         DrawParallelogram.c \
  90         DrawLine.c \
  91         DrawRect.c \
  92         DrawPolygons.c \
  93         DrawPath.c \
  94         FillPath.c \
  95         ProcessPath.c \
  96         MaskBlit.c \
  97         MaskFill.c \
  98         TransformHelper.c \
  99         AlphaMath.c \
 100         AlphaMacros.c \
 101         AnyByte.c \
 102         ByteBinary1Bit.c \
 103         ByteBinary2Bit.c \
 104         ByteBinary4Bit.c \
 105         ByteIndexed.c \
 106         ByteGray.c \
 107         Index8Gray.c \
 108         Index12Gray.c \
 109         AnyShort.c \
 110         Ushort555Rgb.c \
 111         Ushort565Rgb.c \
 112         Ushort4444Argb.c \
 113         Ushort555Rgbx.c \
 114         UshortGray.c \
 115         UshortIndexed.c \
 116         Any3Byte.c \
 117         ThreeByteBgr.c \
 118         AnyInt.c \
 119         IntArgb.c \
 120         IntArgbPre.c \
 121         IntArgbBm.c \
 122         IntRgb.c \
 123         IntBgr.c \
 124         IntRgbx.c \
 125         Any4Byte.c \
 126         FourByteAbgr.c \
 127         FourByteAbgrPre.c \
 128         BufferedMaskBlit.c \
 129         BufferedRenderPipe.c \
 130         ShapeSpanIterator.c \
 131         SpanClipRenderer.c \
 132         awt_ImageRep.c \
 133         awt_ImagingLib.c \
 134         awt_Mlib.c \
 135         awt_parseImage.c \
 136         DataBufferNative.c \
 137         dither.c \
 138         debug_assert.c \
 139         debug_mem.c \
 140         debug_trace.c \
 141         debug_util.c
 142 
 143 # These files rely on motif to be built, and should not be included
 144 # in a headless build.
 145 
 146 #FILES_MOTIF_c = \
 147 #keep   awt_AWTEvent.c \
 148 #       awt_Button.c \
 149 #       awt_Canvas.c \
 150 #       awt_Checkbox.c \
 151 #keep .h        awt_Component.c \
 152 #keep .h        awt_Cursor.c \
 153 #       awt_DataTransferer.c \
 154 #       awt_DrawingSurface.c \
 155 #       awt_Event.c \
 156 #       awt_FileDialog.c \
 157 #       awt_GlobalCursorManager.c \
 158 #       awt_GraphicsEnv.c \
 159 #       awt_InputMethod.c \
 160 #keep   awt_Insets.c \
 161 #       awt_KeyboardFocusManager.c \
 162 #       awt_Label.c \
 163 #       awt_List.c \
 164 #       awt_Menu.c \
 165 #       awt_MenuBar.c \
 166 #       awt_MenuComponent.c \
 167 #       awt_MenuItem.c \
 168 #       awt_motif.c \
 169 #       awt_Plugin.c \
 170 #       awt_PopupMenu.c \
 171 #       awt_Robot.c \
 172 #       awt_Scrollbar.c \
 173 #       awt_ScrollPane.c \
 174 #       awt_Selection.c \
 175 #       awt_UNIXToolkit.c \
 176 #       awt_TextArea.c \
 177 #       awt_TextField.c \
 178 #       awt_TopLevel.c \
 179 #       awt_mgrsel.c \
 180 #       awt_util.c \
 181 #       awt_wm.c \
 182 #       awt_XmDnD.c \
 183 #       awt_dnd.c \
 184 #       awt_dnd_ds.c \
 185 #       awt_dnd_dt.c \
 186 #       canvas.c \
 187 #       cursor.c \
 188 #       multi_font.c \
 189 #       robot_common.c \
 190 #        list.c \
 191 #        multiVis.c \
 192 #       XDrawingArea.c \
 193 #       MouseInfo.c \
 194 #       awt_xembed.c \
 195 #       awt_xembed_server.c \
 196 #        gtk2_interface.c \
 197 #        swing_GTKEngine.c \
 198 #        swing_GTKStyle.c
 199 
 200 
 201 # These files are required to be built, with or without motif.  Some of
 202 # these are only dependent on X11, and some contain native source that
 203 # is required, even in a headless build.
 204 
 205 FILES_NO_MOTIF_c = \
 206         awt_Font.c \
 207         awt_MToolkit.c \
 208         fontpath.c \
 209         VDrawingArea.c \
 210         X11Color.c \
 211         X11Renderer.c \
 212         X11PMBlitLoops.c \
 213         X11SurfaceData.c \
 214         X11FontScaler_md.c \
 215         X11TextRenderer_md.c \
 216         OGLBlitLoops.c \
 217         OGLBufImgOps.c \
 218         OGLContext.c \
 219         OGLFuncs.c \
 220         OGLMaskBlit.c \
 221         OGLMaskFill.c \
 222         OGLPaints.c \
 223         OGLRenderQueue.c \
 224         OGLRenderer.c \
 225         OGLSurfaceData.c \
 226         OGLTextRenderer.c \
 227         OGLVertexCache.c \
 228         GLXGraphicsConfig.c \
 229         GLXSurfaceData.c \
 230         AccelGlyphCache.c \
 231         CUPSfuncs.c