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
This commit is contained in:
Albrecht Schlosser 2016-01-28 00:21:34 +00:00
parent 9a376a61da
commit bbbb477581

View File

@ -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