themes: Workaround for bug where a background color of RGB 0,0,0 in Black color schem...
[ntk.git] / src / makefile.wat
blob03f04b8a8fe05812387d3a4f5ab374bb297f3109
1 #\r
2 # "$Id: makefile.wat 7913 2010-11-29 18:18:27Z greg.ercolano $"\r
3 #\r
4 # Library makefile for the Fast Light Tool Kit (FLTK).\r
5 #\r
6 # Copyright 1998-2010 by Bill Spitzak and others.\r
7 #\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
12 #\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
17 #\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
21 # USA.\r
22 #\r
23 # Please report all bugs and problems on the following page:\r
24 #\r
25 #     http://www.fltk.org/str.php\r
26 #\r
28 CPPFILES = &\r
29     Fl.obj &\r
30     Fl_Adjuster.obj &\r
31     Fl_Bitmap.obj &\r
32     Fl_Browser.obj &\r
33     Fl_Browser_.obj &\r
34     Fl_Browser_load.obj &\r
35     Fl_Box.obj &\r
36     Fl_Button.obj &\r
37     Fl_Chart.obj &\r
38     Fl_Check_Browser.obj &\r
39     Fl_Check_Button.obj &\r
40     Fl_Choice.obj &\r
41     Fl_Clock.obj &\r
42     Fl_Color_Chooser.obj &\r
43     Fl_Counter.obj &\r
44     Fl_Dial.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
49     Fl_File_Icon.obj &\r
50     Fl_File_Input.obj &\r
51     Fl_Group.obj &\r
52     Fl_Help_View.obj &\r
53     Fl_Image.obj &\r
54     Fl_Input.obj &\r
55     Fl_Input_.obj &\r
56     Fl_Light_Button.obj &\r
57     Fl_Menu.obj &\r
58     Fl_Menu_.obj &\r
59     Fl_Menu_Bar.obj &\r
60     Fl_Sys_Menu_Bar.obj &\r
61     Fl_Menu_Button.obj &\r
62     Fl_Menu_Window.obj &\r
63     Fl_Menu_add.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
68     Fl_Pack.obj &\r
69     Fl_Pixmap.obj &\r
70     Fl_Positioner.obj &\r
71     Fl_Preferences.obj &\r
72     Fl_Progress.obj &\r
73     Fl_Repeat_Button.obj &\r
74     Fl_Return_Button.obj &\r
75     Fl_Roller.obj &\r
76     Fl_Round_Button.obj &\r
77     Fl_Scroll.obj &\r
78     Fl_Scrollbar.obj &\r
79     Fl_Shared_Image.obj &\r
80     Fl_Single_Window.obj &\r
81     Fl_Slider.obj &\r
82     Fl_Tabs.obj &\r
83     Fl_Text_Buffer.obj &\r
84     Fl_Text_Display.obj &\r
85     Fl_Text_Editor.obj &\r
86     Fl_Tile.obj &\r
87     Fl_Tiled_Image.obj &\r
88     Fl_Tooltip.obj &\r
89     Fl_Valuator.obj &\r
90     Fl_Value_Input.obj &\r
91     Fl_Value_Output.obj &\r
92     Fl_Value_Slider.obj &\r
93     Fl_Widget.obj &\r
94     Fl_Window.obj &\r
95     Fl_Window_fullscreen.obj &\r
96     Fl_Window_hotspot.obj &\r
97     Fl_Window_iconize.obj &\r
98     Fl_Wizard.obj &\r
99     Fl_XBM_Image.obj &\r
100     Fl_XPM_Image.obj &\r
101     Fl_abort.obj &\r
102     Fl_add_idle.obj &\r
103     Fl_arg.obj &\r
104     Fl_compose.obj &\r
105     Fl_display.obj &\r
106     Fl_get_key.obj &\r
107     Fl_get_system_colors.obj &\r
108     Fl_grab.obj &\r
109     Fl_lock.obj &\r
110     Fl_own_colormap.obj &\r
111     Fl_visual.obj &\r
112     Fl_x.obj &\r
113     filename_absolute.obj &\r
114     filename_expand.obj &\r
115     filename_ext.obj &\r
116     filename_isdir.obj &\r
117     filename_list.obj &\r
118     filename_match.obj &\r
119     filename_setext.obj &\r
120     fl_arc.obj &\r
121     fl_arci.obj &\r
122     fl_ask.obj &\r
123     fl_boxtype.obj &\r
124     fl_color.obj &\r
125     fl_cursor.obj &\r
126     fl_curve.obj &\r
127     fl_diamond_box.obj &\r
128     fl_dnd.obj &\r
129     fl_draw.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
135     fl_file_dir.obj &\r
136     fl_font.obj &\r
137     fl_gtk.obj &\r
138     fl_labeltype.obj &\r
139     fl_line_style.obj &\r
140     fl_open_uri.obj &\r
141     fl_oval_box.obj &\r
142     fl_overlay.obj &\r
143     fl_overlay_visual.obj &\r
144     fl_plastic.obj &\r
145     fl_read_image.obj &\r
146     fl_rect.obj &\r
147     fl_round_box.obj &\r
148     fl_rounded_box.obj &\r
149     fl_set_font.obj &\r
150     fl_set_fonts.obj &\r
151     fl_scroll_area.obj &\r
152     fl_shadow_box.obj &\r
153     fl_shortcut.obj &\r
154     fl_show_colormap.obj &\r
155     fl_symbols.obj &\r
156     fl_vertex.obj &\r
157     screen_xywh.obj\r
159 FLCPPFILES = &\r
160     forms_compatability.obj &\r
161     forms_bitmap.obj &\r
162     forms_free.obj &\r
163     forms_fselect.obj &\r
164     forms_pixmap.obj &\r
165     forms_timer.obj\r
167 GLCPPFILES = &\r
168     Fl_Gl_Choice.obj &\r
169     Fl_Gl_Overlay.obj &\r
170     Fl_Gl_Window.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
175     gl_draw.obj &\r
176     gl_start.obj &\r
177     glut_compatability.obj &\r
178     glut_font.obj\r
180 IMGCPPFILES = &\r
181     fl_images_core.obj &\r
182     Fl_BMP_Image.obj &\r
183     Fl_File_Icon2.obj &\r
184     Fl_GIF_Image.obj &\r
185     Fl_Help_Dialog.obj &\r
186     Fl_JPEG_Image.obj &\r
187     Fl_PNG_Image.obj &\r
188     Fl_PNM_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
203 all: $(LIBNAME) &\r
204      $(LIBNAMEFL) &\r
205      $(LIBNAMEGL) &\r
206      $(LIBNAMEIMG)\r
208 # $(DSONAME) &\r
209 # $(FLDSONAME) &\r
210 # $(GLDSONAME) &\r
211 # $(IMGDSONAME)\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
229 clean : .SYMBOLIC\r
230     @echo Cleaning up.\r
231 CLEANEXTS = exe map sym obj lk1\r
232     @for %a in ($(CLEANEXTS)) do -rm -f $(ODIR)\*.%a\r
233     -rm -f *.err\r
234     -rm -f $(LIBNAME)\r
235     -rm -f $(LIBNAMEFL)\r
236     -rm -f $(LIBNAMEGL)\r
237     -rm -f $(LIBNAMEIMG)\r