From bbbb477581a4a088f0fa04eeaa6e390b71c4582d Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Thu, 28 Jan 2016 00:21:34 +0000 Subject: Prepare src/Makefile to compile Xlib driver files. We need something simple to decide which files to include in the compilation. Maybe configure should write some of the well-known variables like USE_X11 and USE_XFT into the 'makeinclude' file. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11070 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 624af5929..a4ed6e2bc 100644 --- a/src/Makefile +++ b/src/Makefile @@ -226,6 +226,25 @@ QUARTZCPPFILES = \ drivers/Quartz/Fl_Quartz_Graphics_Driver_arci.cxx \ drivers/Quartz/Fl_Quartz_Graphics_Driver_line_style.cxx +# FIXME: +# ------ +# Prepared, but not yet used: Xlib graphics driver files. These files +# are (still) #included, but should be compiled directly. We need to +# take care of ...font_x.cxx and ...font_xft.cxx - only one of these +# files must be compiled and linked. +# +XLIBCPPFILES = \ + drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx \ + drivers/Xlib/Fl_Xlib_Graphics_Driver_color.cxx \ + drivers/Xlib/Fl_Xlib_Graphics_Driver_rect.cxx \ + drivers/Xlib/Fl_Xlib_Graphics_Driver_font_x.cxx \ + drivers/Xlib/Fl_Xlib_Graphics_Driver_font_xft.cxx \ + drivers/Xlib/Fl_Xlib_Graphics_Driver_vertex.cxx \ + drivers/Xlib/Fl_Xlib_Graphics_Driver_image.cxx \ + drivers/Xlib/Fl_Xlib_Printer_Graphics_Driver.cxx \ + drivers/Xlib/Fl_Xlib_Graphics_Driver_arci.cxx \ + drivers/Xlib/Fl_Xlib_Graphics_Driver_line_style.cxx + ################################################################ FLTKFLAGS = -DFL_LIBRARY -- cgit v1.2.3