2 # "$Id: makefile.wat 7913 2010-11-29 18:18:27Z greg.ercolano $"
\r
4 # Library makefile for the Fast Light Tool Kit (FLTK).
\r
6 # Copyright 1998-2010 by Bill Spitzak and others.
\r
8 # This library is free software; you can redistribute it and/or
\r
9 # modify it under the terms of the GNU Library General Public
\r
10 # License as published by the Free Software Foundation; either
\r
11 # version 2 of the License, or (at your option) any later version.
\r
13 # This library is distributed in the hope that it will be useful,
\r
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
\r
16 # Library General Public License for more details.
\r
18 # You should have received a copy of the GNU Library General Public
\r
19 # License along with this library; if not, write to the Free Software
\r
20 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
\r
23 # Please report all bugs and problems on the following page:
\r
25 # http://www.fltk.org/str.php
\r
34 Fl_Browser_load.obj &
\r
38 Fl_Check_Browser.obj &
\r
39 Fl_Check_Button.obj &
\r
42 Fl_Color_Chooser.obj &
\r
45 Fl_Double_Window.obj &
\r
46 Fl_File_Browser.obj &
\r
47 Fl_File_Chooser.obj &
\r
48 Fl_File_Chooser2.obj &
\r
56 Fl_Light_Button.obj &
\r
60 Fl_Sys_Menu_Bar.obj &
\r
61 Fl_Menu_Button.obj &
\r
62 Fl_Menu_Window.obj &
\r
64 Fl_Menu_global.obj &
\r
65 Fl_Multi_Label.obj &
\r
66 Fl_Native_File_Chooser.obj &
\r
67 Fl_Overlay_Window.obj &
\r
71 Fl_Preferences.obj &
\r
73 Fl_Repeat_Button.obj &
\r
74 Fl_Return_Button.obj &
\r
76 Fl_Round_Button.obj &
\r
79 Fl_Shared_Image.obj &
\r
80 Fl_Single_Window.obj &
\r
83 Fl_Text_Buffer.obj &
\r
84 Fl_Text_Display.obj &
\r
85 Fl_Text_Editor.obj &
\r
87 Fl_Tiled_Image.obj &
\r
90 Fl_Value_Input.obj &
\r
91 Fl_Value_Output.obj &
\r
92 Fl_Value_Slider.obj &
\r
95 Fl_Window_fullscreen.obj &
\r
96 Fl_Window_hotspot.obj &
\r
97 Fl_Window_iconize.obj &
\r
107 Fl_get_system_colors.obj &
\r
110 Fl_own_colormap.obj &
\r
113 filename_absolute.obj &
\r
114 filename_expand.obj &
\r
116 filename_isdir.obj &
\r
117 filename_list.obj &
\r
118 filename_match.obj &
\r
119 filename_setext.obj &
\r
127 fl_diamond_box.obj &
\r
130 fl_draw_image.obj &
\r
131 fl_draw_pixmap.obj &
\r
132 fl_encoding_latin1.obj &
\r
133 fl_encoding_mac_roman.obj &
\r
134 fl_engraved_label.obj &
\r
139 fl_line_style.obj &
\r
143 fl_overlay_visual.obj &
\r
145 fl_read_image.obj &
\r
148 fl_rounded_box.obj &
\r
151 fl_scroll_area.obj &
\r
152 fl_shadow_box.obj &
\r
154 fl_show_colormap.obj &
\r
160 forms_compatability.obj &
\r
163 forms_fselect.obj &
\r
169 Fl_Gl_Overlay.obj &
\r
171 freeglut_geometry.obj &
\r
172 freeglut_stroke_mono_roman.obj &
\r
173 freeglut_stroke_roman.obj &
\r
174 freeglut_teapot.obj &
\r
177 glut_compatability.obj &
\r
181 fl_images_core.obj &
\r
183 Fl_File_Icon2.obj &
\r
185 Fl_Help_Dialog.obj &
\r
186 Fl_JPEG_Image.obj &
\r
190 CFILES = fl_call_main.obj flstring.obj scandir.obj numericsort.obj vsnprintf.obj
\r
192 ################################################################
\r
194 !include ../watcom.mif
\r
196 OBJECTS = $(CPPFILES) $(CFILES)
\r
197 FLOBJECTS = $(FLCPPFILES)
\r
198 GLOBJECTS = $(GLCPPFILES)
\r
199 IMGOBJECTS = $(IMGCPPFILES)
\r
201 # The four basic fltk libraries are defined in ../watcom.mif, so that appliactions
\r
202 # can also use them.
\r
214 $(LIBNAME): $(OBJECTS)
\r
215 $(LIB) $(LIBOPTS) $@ $<
\r
217 $(LIBNAMEFL): $(FLOBJECTS)
\r
218 $(LIB) $(LIBOPTS) $@ $<
\r
220 $(LIBNAMEGL): $(GLOBJECTS)
\r
221 $(LIB) $(LIBOPTS) $@ $<
\r
223 $(LIBNAMEIMG): $(IMGOBJECTS)
\r
224 $(LIB) $(LIBOPTS) $@ $<
\r
227 # Clean all directories
\r
231 CLEANEXTS = exe map sym obj lk1
\r
232 @for %a in ($(CLEANEXTS)) do -rm -f $(ODIR)\*.%a
\r
235 -rm -f $(LIBNAMEFL)
\r
236 -rm -f $(LIBNAMEGL)
\r
237 -rm -f $(LIBNAMEIMG)
\r