Use Fl_Double_Window for Fl_Menu_Window and get rid of obsolete fl_overlay_visual...
[ntk.git] / src / Makefile
blobcca4f02fe7ad11f655037bc6ffe2fa18601c2c65
2 # "$Id: Makefile 8389 2011-02-06 14:08:08Z manolo $"
4 # Library makefile for the Fast Light Tool Kit (FLTK).
6 # Copyright 1998-2010 by Bill Spitzak and others.
8 # This library is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU Library General Public
10 # License as published by the Free Software Foundation; either
11 # version 2 of the License, or (at your option) any later version.
13 # This library is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 # Library General Public License for more details.
18 # You should have received a copy of the GNU Library General Public
19 # License along with this library; if not, write to the Free Software
20 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
21 # USA.
23 # Please report all bugs and problems on the following page:
25 # http://www.fltk.org/str.php
28 CPPFILES = \
29 Fl_Cairo_Graphics_Driver.cxx \
30 Fl.cxx \
31 Fl_Adjuster.cxx \
32 Fl_Bitmap.cxx \
33 Fl_Browser.cxx \
34 Fl_Browser_.cxx \
35 Fl_Browser_load.cxx \
36 Fl_Box.cxx \
37 Fl_Button.cxx \
38 Fl_Chart.cxx \
39 Fl_Check_Browser.cxx \
40 Fl_Check_Button.cxx \
41 Fl_Choice.cxx \
42 Fl_Clock.cxx \
43 Fl_Color_Chooser.cxx \
44 Fl_Counter.cxx \
45 Fl_Dial.cxx \
46 Fl_Device.cxx \
47 Fl_Double_Window.cxx \
48 Fl_File_Browser.cxx \
49 Fl_File_Chooser.cxx \
50 Fl_File_Chooser2.cxx \
51 Fl_File_Icon.cxx \
52 Fl_File_Input.cxx \
53 Fl_Group.cxx \
54 Fl_Help_View.cxx \
55 Fl_Image.cxx \
56 Fl_Input.cxx \
57 Fl_Input_.cxx \
58 Fl_Light_Button.cxx \
59 Fl_Menu.cxx \
60 Fl_Menu_.cxx \
61 Fl_Menu_Bar.cxx \
62 Fl_Sys_Menu_Bar.cxx \
63 Fl_Menu_Button.cxx \
64 Fl_Menu_Window.cxx \
65 Fl_Menu_add.cxx \
66 Fl_Menu_global.cxx \
67 Fl_Multi_Label.cxx \
68 Fl_Native_File_Chooser.cxx \
69 Fl_Overlay_Window.cxx \
70 Fl_Pack.cxx \
71 Fl_Paged_Device.cxx \
72 Fl_Pixmap.cxx \
73 Fl_Positioner.cxx \
74 Fl_Preferences.cxx \
75 Fl_Printer.cxx \
76 Fl_Progress.cxx \
77 Fl_Repeat_Button.cxx \
78 Fl_Return_Button.cxx \
79 Fl_Roller.cxx \
80 Fl_Round_Button.cxx \
81 Fl_Scroll.cxx \
82 Fl_Scrollbar.cxx \
83 Fl_Shared_Image.cxx \
84 Fl_Single_Window.cxx \
85 Fl_Slider.cxx \
86 Fl_Table.cxx \
87 Fl_Table_Row.cxx \
88 Fl_Tabs.cxx \
89 Fl_Text_Buffer.cxx \
90 Fl_Text_Display.cxx \
91 Fl_Text_Editor.cxx \
92 Fl_Tile.cxx \
93 Fl_Tiled_Image.cxx \
94 Fl_Tree.cxx \
95 Fl_Tree_Item.cxx \
96 Fl_Tree_Item_Array.cxx \
97 Fl_Tree_Prefs.cxx \
98 Fl_Tooltip.cxx \
99 Fl_Valuator.cxx \
100 Fl_Value_Input.cxx \
101 Fl_Value_Output.cxx \
102 Fl_Value_Slider.cxx \
103 Fl_Widget.cxx \
104 Fl_Window.cxx \
105 Fl_Window_fullscreen.cxx \
106 Fl_Window_hotspot.cxx \
107 Fl_Window_iconize.cxx \
108 Fl_Wizard.cxx \
109 Fl_XBM_Image.cxx \
110 Fl_XPM_Image.cxx \
111 Fl_abort.cxx \
112 Fl_add_idle.cxx \
113 Fl_arg.cxx \
114 Fl_compose.cxx \
115 Fl_display.cxx \
116 Fl_get_key.cxx \
117 Fl_get_system_colors.cxx \
118 Fl_grab.cxx \
119 Fl_lock.cxx \
120 Fl_own_colormap.cxx \
121 Fl_visual.cxx \
122 Fl_x.cxx \
123 filename_absolute.cxx \
124 filename_expand.cxx \
125 filename_ext.cxx \
126 filename_isdir.cxx \
127 filename_list.cxx \
128 filename_match.cxx \
129 filename_setext.cxx \
130 fl_arc.cxx \
131 fl_arci.cxx \
132 fl_ask.cxx \
133 fl_boxtype.cxx \
134 fl_color.cxx \
135 fl_cursor.cxx \
136 fl_curve.cxx \
137 fl_diamond_box.cxx \
138 fl_dnd.cxx \
139 fl_draw.cxx \
140 Fl_Cairo.cxx \
141 fl_draw_image.cxx \
142 fl_draw_pixmap.cxx \
143 fl_encoding_latin1.cxx \
144 fl_encoding_mac_roman.cxx \
145 fl_engraved_label.cxx \
146 fl_file_dir.cxx \
147 fl_font.cxx \
148 fl_gtk.cxx \
149 fl_labeltype.cxx \
150 fl_line_style.cxx \
151 fl_open_uri.cxx \
152 fl_oval_box.cxx \
153 fl_overlay.cxx \
154 fl_plastic.cxx \
155 fl_read_image.cxx \
156 fl_rect.cxx \
157 fl_round_box.cxx \
158 fl_rounded_box.cxx \
159 fl_set_font.cxx \
160 fl_set_fonts.cxx \
161 fl_scroll_area.cxx \
162 fl_shadow_box.cxx \
163 fl_shortcut.cxx \
164 fl_show_colormap.cxx \
165 fl_symbols.cxx \
166 fl_vertex.cxx \
167 screen_xywh.cxx \
168 fl_utf8.cxx \
169 ps_image.cxx
171 OBJCPPFILES = \
172 Fl_cocoa.mm \
173 Fl_Quartz_Printer.mm \
174 Fl_Native_File_Chooser_MAC.mm
176 FLCPPFILES = \
177 forms_compatability.cxx \
178 forms_bitmap.cxx \
179 forms_free.cxx \
180 forms_fselect.cxx \
181 forms_pixmap.cxx \
182 forms_timer.cxx
184 GLCPPFILES = \
185 Fl_Gl_Choice.cxx \
186 Fl_Gl_Overlay.cxx \
187 Fl_Gl_Device_Plugin.cxx \
188 Fl_Gl_Window.cxx \
189 freeglut_geometry.cxx \
190 freeglut_stroke_mono_roman.cxx \
191 freeglut_stroke_roman.cxx \
192 freeglut_teapot.cxx \
193 gl_draw.cxx \
194 gl_start.cxx \
195 glut_compatability.cxx \
196 glut_font.cxx
198 IMGCPPFILES = \
199 fl_images_core.cxx \
200 Fl_BMP_Image.cxx \
201 Fl_File_Icon2.cxx \
202 Fl_GIF_Image.cxx \
203 Fl_Help_Dialog.cxx \
204 Fl_JPEG_Image.cxx \
205 Fl_PNG_Image.cxx \
206 Fl_PNM_Image.cxx
209 CFILES = fl_call_main.c flstring.c scandir.c numericsort.c vsnprintf.c fl_utf.c
211 UTF8CFILES = \
212 xutf8/case.c \
213 xutf8/is_right2left.c \
214 xutf8/is_spacing.c \
215 xutf8/keysym2Ucs.c \
216 xutf8/utf8Input.c \
217 xutf8/utf8Utils.c \
218 xutf8/utf8Wrap.c
220 ################################################################
221 FLTKFLAGS = -DFL_LIBRARY
222 include ../makeinclude
224 MMFILES = $(shell if test $(USEMMFILES) = Yes; then echo $(OBJCPPFILES); fi)
226 OBJECTS = $(MMFILES:.mm=.o) $(CPPFILES:.cxx=.o) $(CFILES:.c=.o) $(UTF8CFILES:.c=.o)
227 GLOBJECTS = $(GLCPPFILES:.cxx=.o)
228 FLOBJECTS = $(FLCPPFILES:.cxx=.o)
229 IMGOBJECTS = $(IMGCPPFILES:.cxx=.o)
231 all: $(LIBNAME) $(DSONAME) \
232 $(FLLIBNAME) $(FLDSONAME) \
233 $(GLLIBNAME) $(GLDSONAME) \
234 $(IMGLIBNAME) $(IMGDSONAME)
236 $(LIBNAME): $(OBJECTS)
237 echo $(LIBCOMMAND) $@ ...
238 $(RM) $@
239 $(LIBCOMMAND) $@ $(OBJECTS)
240 $(RANLIB) $@
242 libfltk.so.1.3: $(OBJECTS)
243 echo $(DSOCOMMAND) $@ ...
244 $(DSOCOMMAND) $@ $(OBJECTS)
245 $(RM) libfltk.so
246 $(LN) libfltk.so.1.3 libfltk.so
248 libfltk.sl.1.3: $(OBJECTS)
249 echo $(DSOCOMMAND) $@ ...
250 $(DSOCOMMAND) $@ $(OBJECTS)
251 $(RM) libfltk.sl
252 $(LN) libfltk.sl.1.3 libfltk.sl
254 libfltk.1.3.dylib: $(OBJECTS)
255 echo $(DSOCOMMAND) $@ ...
256 $(DSOCOMMAND) $@ \
257 -install_name $(libdir)/$@ \
258 -current_version 1.3.0 \
259 -compatibility_version 1.3.0 \
260 $(OBJECTS) $(LDLIBS)
261 $(RM) libfltk.dylib
262 $(LN) libfltk.1.3.dylib libfltk.dylib
264 libfltk_s.a: $(OBJECTS)
265 echo $(DSOCOMMAND) libfltk_s.o ...
266 $(DSOCOMMAND) libfltk_s.o $(OBJECTS) $(IMAGELIBS)
267 echo $(LIBCOMMAND) libfltk_s.a libfltk_s.o
268 $(RM) $@
269 $(LIBCOMMAND) libfltk_s.a libfltk_s.o
270 $(CHMOD) +x libfltk_s.a
272 $(FLLIBNAME): $(FLOBJECTS)
273 echo $(LIBCOMMAND) $@ ...
274 $(RM) $@
275 $(LIBCOMMAND) $@ $(FLOBJECTS)
276 $(RANLIB) $@
278 libfltk_forms.so.1.3: $(FLOBJECTS) libfltk.so.1.3
279 echo $(DSOCOMMAND) $@ ...
280 $(DSOCOMMAND) $@ $(FLOBJECTS) -L. -lfltk
281 $(RM) libfltk_forms.so
282 $(LN) libfltk_forms.so.1.3 libfltk_forms.so
284 libfltk_forms.sl.1.3: $(FLOBJECTS) libfltk.sl.1.3
285 echo $(DSOCOMMAND) $@ ...
286 $(DSOCOMMAND) $@ $(FLOBJECTS) -L. -lfltk
287 $(RM) libfltk_forms.sl
288 $(LN) libfltk_forms.sl.1.3 libfltk_forms.sl
290 libfltk_forms.1.3.dylib: $(FLOBJECTS) libfltk.1.3.dylib
291 echo $(DSOCOMMAND) $@ ...
292 $(DSOCOMMAND) $@ \
293 -install_name $(libdir)/$@ \
294 -current_version 1.3.0 \
295 -compatibility_version 1.3.0 \
296 $(FLOBJECTS) -L. $(LDLIBS) -lfltk
297 $(RM) libfltk_forms.dylib
298 $(LN) libfltk_forms.1.3.dylib libfltk_forms.dylib
300 libfltk_forms_s.a: $(FLOBJECTS)
301 echo $(DSOCOMMAND) libfltk_forms_s.o ...
302 $(DSOCOMMAND) libfltk_forms_s.o $(FLOBJECTS)
303 echo $(LIBCOMMAND) libfltk_forms_s.a libfltk_forms_s.o
304 $(RM) $@
305 $(LIBCOMMAND) libfltk_forms_s.a libfltk_forms_s.o
306 $(CHMOD) +x libfltk_forms_s.a
308 $(GLLIBNAME): $(GLOBJECTS)
309 echo $(LIBCOMMAND) $@ ...
310 $(RM) $@
311 $(LIBCOMMAND) $@ $(GLOBJECTS)
312 $(RANLIB) $@
314 libfltk_gl.so.1.3: $(GLOBJECTS) libfltk.so.1.3
315 echo $(DSOCOMMAND) $@ ...
316 $(DSOCOMMAND) $@ $(GLOBJECTS) -L. -lfltk
317 $(RM) libfltk_gl.so
318 $(LN) libfltk_gl.so.1.3 libfltk_gl.so
320 libfltk_gl.sl.1.3: $(GLOBJECTS) libfltk.sl.1.3
321 echo $(DSOCOMMAND) $@ ...
322 $(DSOCOMMAND) $@ $(GLOBJECTS) -L. -lfltk
323 $(RM) libfltk_gl.sl
324 $(LN) libfltk_gl.sl.1.3 libfltk_gl.sl
326 libfltk_gl.1.3.dylib: $(GLOBJECTS) libfltk.1.3.dylib
327 echo $(DSOCOMMAND) $@ ...
328 $(DSOCOMMAND) $@ \
329 -install_name $(libdir)/$@ \
330 -current_version 1.3.0 \
331 -compatibility_version 1.3.0 \
332 $(GLOBJECTS) -L. $(GLDLIBS) -lfltk
333 $(RM) libfltk_gl.dylib
334 $(LN) libfltk_gl.1.3.dylib libfltk_gl.dylib
336 libfltk_gl_s.a: $(GLOBJECTS)
337 echo $(DSOCOMMAND) libfltk_gl_s.o ...
338 $(DSOCOMMAND) libfltk_gl_s.o $(GLOBJECTS)
339 echo $(LIBCOMMAND) libfltk_gl_s.a libfltk_gl_s.o
340 $(RM) $@
341 $(LIBCOMMAND) libfltk_gl_s.a libfltk_gl_s.o
342 $(CHMOD) +x libfltk_gl_s.a
344 $(IMGLIBNAME): $(IMGOBJECTS)
345 echo $(LIBCOMMAND) $@ ...
346 $(RM) $@
347 $(LIBCOMMAND) $@ $(IMGOBJECTS)
348 $(RANLIB) $@
350 libfltk_images.so.1.3: $(IMGOBJECTS) libfltk.so.1.3
351 echo $(DSOCOMMAND) $@ ...
352 $(DSOCOMMAND) $@ $(IMGOBJECTS) -L. $(IMAGELIBS) -lfltk
353 $(RM) libfltk_images.so
354 $(LN) libfltk_images.so.1.3 libfltk_images.so
356 libfltk_images.sl.1.3: $(IMGOBJECTS) libfltk.sl.1.3
357 echo $(DSOCOMMAND) $@ ...
358 $(DSOCOMMAND) $@ $(IMGOBJECTS) -L. $(IMAGELIBS) -lfltk
359 $(RM) libfltk_images.sl
360 $(LN) libfltk_images.sl.1.3 libfltk_images.sl
362 libfltk_images.1.3.dylib: $(IMGOBJECTS) libfltk.1.3.dylib
363 echo $(DSOCOMMAND) $@ ...
364 $(DSOCOMMAND) $@ \
365 -install_name $(libdir)/$@ \
366 -current_version 1.3.0 \
367 -compatibility_version 1.3.0 \
368 $(IMGOBJECTS) -L. $(LDLIBS) $(IMAGELIBS) -lfltk
369 $(RM) libfltk_images.dylib
370 $(LN) libfltk_images.1.3.dylib libfltk_images.dylib
372 libfltk_images_s.a: $(IMGOBJECTS)
373 echo $(DSOCOMMAND) libfltk_images_s.o ...
374 $(DSOCOMMAND) libfltk_images_s.o $(IMGOBJECTS)
375 echo $(LIBCOMMAND) libfltk_images_s.a libfltk_images_s.o
376 $(RM) $@
377 $(LIBCOMMAND) libfltk_images_s.a libfltk_images_s.o
378 $(CHMOD) +x libfltk_images_s.a
380 #-----------------------------------------------------------------
381 # - the import libraries libfltk*.dll.a and the .dll files
382 # are created from the libfltk*.a files. They are built
383 # into the src dir.
384 # - The _images, _gl, _forms and dlls must be linked
385 # against the import libraries in the src dir.
386 #-----------------------------------------------------------------
388 #-----------------------------------------------------------------
389 # cygwin GDI shared libraries
390 #-----------------------------------------------------------------
392 cygfltknox-1.3.dll: $(LIBNAME)
393 echo $(DSOCOMMAND) $(LIBNAME) ...
394 $(DSOCOMMAND) $(LIBNAME) -Wl,--no-whole-archive \
395 -Wl,--out-implib=libfltk.dll.a $(LDLIBS)
397 cygfltknox_forms-1.3.dll: $(FLLIBNAME) cygfltknox-1.3.dll
398 echo $(DSOCOMMAND) $(FLLIBNAME) ...
399 $(DSOCOMMAND) $(FLLIBNAME) -Wl,--no-whole-archive \
400 -Wl,--out-implib=libfltk_forms.dll.a \
401 -L. -lfltk $(LDLIBS)
403 cygfltknox_gl-1.3.dll: $(GLLIBNAME) cygfltknox-1.3.dll
404 echo $(DSOCOMMAND) $(GLLIBNAME) ...
405 $(DSOCOMMAND) $(GLLIBNAME) -Wl,--no-whole-archive \
406 -Wl,--out-implib=libfltk_gl.dll.a \
407 -L. -lfltk $(GLDLIBS)
409 cygfltknox_images-1.3.dll: $(IMGLIBNAME) cygfltknox-1.3.dll
410 echo $(DSOCOMMAND) $(IMGLIBNAME) ...
411 $(DSOCOMMAND) $(IMGLIBNAME) -Wl,--no-whole-archive \
412 -Wl,--out-implib=libfltk_images.dll.a \
413 -L. -lfltk -Wl,--exclude-libs -Wl,libfltk_png.a \
414 $(IMAGELIBS) $(LDLIBS)
416 #-----------------------------------------------------------------
417 # cygwin X11 shared libraries
418 #-----------------------------------------------------------------
420 cygfltk-1.3.dll: $(LIBNAME)
421 echo $(DSOCOMMAND) $(LIBNAME) ...
422 $(DSOCOMMAND) $(LIBNAME) -Wl,--no-whole-archive \
423 -Wl,--out-implib=libfltk.dll.a $(LDLIBS)
425 cygfltk_forms-1.3.dll: $(FLLIBNAME) cygfltk-1.3.dll
426 echo $(DSOCOMMAND) $(FLLIBNAME) ...
427 $(DSOCOMMAND) $(FLLIBNAME) -Wl,--no-whole-archive \
428 -Wl,--out-implib=libfltk_forms.dll.a \
429 -L. -lfltk $(LDLIBS)
431 cygfltk_gl-1.3.dll: $(GLLIBNAME) cygfltk-1.3.dll
432 echo $(DSOCOMMAND) $(GLLIBNAME) ...
433 $(DSOCOMMAND) $(GLLIBNAME) -Wl,--no-whole-archive \
434 -Wl,--out-implib=libfltk_gl.dll.a \
435 -L. -lfltk $(GLDLIBS)
437 cygfltk_images-1.3.dll: $(IMGLIBNAME) cygfltk-1.3.dll
438 echo $(DSOCOMMAND) $(IMGLIBNAME) ...
439 $(DSOCOMMAND) $(IMGLIBNAME) -Wl,--no-whole-archive \
440 -Wl,--out-implib=libfltk_images.dll.a \
441 -L. -lfltk -Wl,--exclude-libs -Wl,libfltk_png.a \
442 $(IMAGELIBS) $(LDLIBS)
444 mgwfltknox-1.3.dll: $(LIBNAME)
445 echo $(DSOCOMMAND) $(LIBNAME) ...
446 $(DSOCOMMAND) $(LIBNAME) -Wl,--no-whole-archive \
447 -Wl,--out-implib=libfltk.dll.a $(LDLIBS)
449 mgwfltknox_forms-1.3.dll: $(FLLIBNAME) mgwfltknox-1.3.dll
450 echo $(DSOCOMMAND) $(FLLIBNAME) ...
451 $(DSOCOMMAND) $(FLLIBNAME) -Wl,--no-whole-archive \
452 -Wl,--out-implib=libfltk_forms.dll.a \
453 -L. -lfltk $(LDLIBS)
455 mgwfltknox_gl-1.3.dll: $(GLLIBNAME) mgwfltknox-1.3.dll
456 echo $(DSOCOMMAND) $(GLLIBNAME) ...
457 $(DSOCOMMAND) $(GLLIBNAME) -Wl,--no-whole-archive \
458 -Wl,--out-implib=libfltk_gl.dll.a \
459 -L. -lfltk $(GLDLIBS)
461 #-----------------------------------------------------
462 # See STR #1585 for --exclude-libs
463 #-----------------------------------------------------
465 mgwfltknox_images-1.3.dll: $(IMGLIBNAME) mgwfltknox-1.3.dll
466 echo $(DSOCOMMAND) $(IMGLIBNAME) ...
467 $(DSOCOMMAND) $(IMGLIBNAME) -Wl,--no-whole-archive \
468 -Wl,--out-implib=libfltk_images.dll.a \
469 -L. -lfltk -Wl,--exclude-libs -Wl,libfltk_png.a \
470 $(IMAGELIBS) $(LDLIBS)
472 clean:
473 -$(RM) *.o xutf8/*.o *.dll.a core.* *~ *.bak *.bck
474 -$(RM) $(DSONAME) $(FLDSONAME) $(GLDSONAME) $(IMGDSONAME) \
475 $(LIBNAME) $(FLLIBNAME) $(GLLIBNAME) \
476 $(IMGLIBNAME) \
477 libfltk.so libfltk_forms.so libfltk_gl.so libfltk_images.so \
478 libfltk.sl libfltk_forms.sl libfltk_gl.sl libfltk_images.sl \
479 libfltk.dylib libfltk_forms.dylib \
480 libfltk_gl.dylib libfltk_images.dylib \
481 cmap core
483 depend: $(CPPFILES) $(MMFILES) $(FLCPPFILES) $(GLCPPFILES) $(IMGCPPFILES) $(CFILES) $(UTF8CFILES)
484 makedepend -Y -I.. -f makedepend $(CPPFILES) $(MMFILES) $(FLCPPFILES) \
485 $(GLCPPFILES) $(IMGCPPFILES) $(CFILES) $(UTF8CFILES)
487 # Automatically generated dependencies... generated on a Linux/Unix host !
488 include makedepend
490 # These dependencies aren't part of the makedepend file since
491 # they are part of the WIN32 and MacOS code base...
492 # Please add only non-Linux/Unix files or such that are optional
493 # (like "*xft*") here:
494 Fl_get_key.o: Fl_get_key_mac.cxx Fl_get_key_win32.cxx
495 Fl_Native_File_Chooser.o : Fl_Native_File_Chooser_WIN32.cxx
496 Fl_Native_File_Chooser_MAC.o: Fl_Native_File_Chooser_MAC.mm
497 Fl.o: Fl_win32.cxx
498 Fl_cocoa.o: Fl_cocoa.mm
499 fl_color.o: fl_color_mac.cxx fl_color_win32.cxx
500 fl_dnd.o: fl_dnd_win32.cxx fl_dnd_x.cxx
501 fl_draw_image.o: fl_draw_image_mac.cxx fl_draw_image_win32.cxx
502 fl_font.o: fl_font_mac.cxx fl_font_x.cxx fl_font_xft.cxx fl_font_win32.cxx
503 fl_read_image.o: fl_read_image_mac.cxx fl_read_image_win32.cxx
504 fl_set_fonts.o: fl_set_fonts_mac.cxx fl_set_fonts_x.cxx \
505 fl_set_fonts_xft.cxx fl_set_fonts_win32.cxx
506 Fl_Printer.o: Fl_GDI_Printer.cxx Fl_PostScript.cxx
507 Fl_Quartz_Printer.o: Fl_Quartz_Printer.mm
508 fl_arci.o: ../FL/mac.H ../FL/win32.H
509 Fl_arg.o: ../FL/mac.H ../FL/win32.H
510 fl_ask.o: ../FL/mac.H ../FL/win32.H
511 Fl_Bitmap.o: ../FL/mac.H ../FL/win32.H
512 fl_color.o: ../FL/mac.H ../FL/win32.H
513 fl_cursor.o: ../FL/mac.H ../FL/win32.H
514 fl_dnd.o: ../FL/mac.H ../FL/win32.H
515 Fl.o: ../FL/mac.H ../FL/win32.H
516 Fl_Double_Window.o: ../FL/mac.H ../FL/win32.H
517 fl_draw_image.o: ../FL/mac.H ../FL/win32.H
518 fl_draw_image_mac.o: ../FL/mac.H ../FL/win32.H
519 fl_draw_image_win32.o: ../FL/mac.H ../FL/win32.H
520 fl_draw_pixmap.o: ../FL/mac.H ../FL/win32.H
521 fl_encoding_latin1.o: ../FL/mac.H ../FL/win32.H
522 fl_encoding_mac_roman.o: ../FL/mac.H ../FL/win32.H
523 Fl_File_Chooser2.o: ../FL/mac.H ../FL/win32.H
524 fl_font.o: ../FL/mac.H ../FL/win32.H
525 Fl_get_key.o: ../FL/mac.H ../FL/win32.H
526 Fl_get_system_colors.o: ../FL/mac.H ../FL/win32.H
527 Fl_Gl_Choice.o: ../FL/mac.H ../FL/win32.H
528 Fl_Gl_Overlay.o: ../FL/mac.H ../FL/win32.H
529 Fl_Gl_Window.o: ../FL/mac.H ../FL/win32.H
530 Fl_grab.o: ../FL/mac.H ../FL/win32.H
531 Fl_Image.o: ../FL/mac.H ../FL/win32.H
532 fl_line_style.o: ../FL/mac.H ../FL/win32.H
533 Fl_Menu_Window.o: ../FL/mac.H ../FL/win32.H
534 fl_overlay.o: ../FL/mac.H ../FL/win32.H
535 Fl_Overlay_Window.o: ../FL/mac.H ../FL/win32.H
536 Fl_own_colormap.o: ../FL/mac.H ../FL/win32.H
537 Fl_Pixmap.o: ../FL/mac.H ../FL/win32.H
538 Fl_Printer.o: ../FL/mac.H ../FL/win32.H
539 fl_read_image.o: ../FL/mac.H ../FL/win32.H
540 fl_read_image_mac.o: ../FL/mac.H ../FL/win32.H
541 fl_read_image_win32.o: ../FL/mac.H ../FL/win32.H
542 fl_rect.o: ../FL/mac.H ../FL/win32.H
543 fl_scroll_area.o: ../FL/mac.H ../FL/win32.H
544 fl_set_font.o: ../FL/mac.H ../FL/win32.H
545 fl_set_fonts.o: ../FL/mac.H ../FL/win32.H
546 fl_shortcut.o: ../FL/mac.H ../FL/win32.H
547 fl_vertex.o: ../FL/mac.H ../FL/win32.H
548 Fl_visual.o: ../FL/mac.H ../FL/win32.H
549 Fl_Window_fullscreen.o: ../FL/mac.H ../FL/win32.H
550 Fl_Window_iconize.o: ../FL/mac.H ../FL/win32.H
551 Fl_x.o: ../FL/mac.H ../FL/win32.H
552 gl_draw.o: ../FL/mac.H ../FL/win32.H
553 gl_start.o: ../FL/mac.H ../FL/win32.H
555 ################################################################
557 install: $(LIBNAME) $(DSONAME) \
558 $(FLLIBNAME) $(FLDSONAME) \
559 $(GLLIBNAME) $(GLDSONAME) \
560 $(IMGLIBNAME) $(IMGDSONAME)
561 echo "Installing libraries in $(DESTDIR)$(libdir)..."
562 -$(INSTALL_DIR) $(DESTDIR)$(libdir)
563 -$(INSTALL_DIR) $(DESTDIR)$(bindir)
564 $(RM) $(DESTDIR)$(libdir)/$(LIBBASENAME)
565 $(INSTALL_LIB) $(LIBNAME) $(DESTDIR)$(libdir)
566 $(INSTALL_LIB) $(FLLIBNAME) $(DESTDIR)$(libdir)
567 $(INSTALL_LIB) $(IMGLIBNAME) $(DESTDIR)$(libdir)
568 $(RANLIB) $(DESTDIR)$(libdir)/$(LIBBASENAME)
569 $(RANLIB) $(DESTDIR)$(libdir)/$(FLLIBBASENAME)
570 if test x$(GLLIBNAME) != x; then \
571 $(INSTALL_LIB) $(GLLIBNAME) $(DESTDIR)$(libdir); \
572 $(RANLIB) $(DESTDIR)$(libdir)/$(GLLIBBASENAME); \
574 $(RANLIB) $(DESTDIR)$(libdir)/$(IMGLIBBASENAME)
575 if test x$(DSONAME) = xlibfltk.so.1.3; then\
576 $(RM) $(DESTDIR)$(libdir)/libfltk.so*;\
577 $(INSTALL_LIB) libfltk.so.1.3 $(DESTDIR)$(libdir); \
578 $(LN) libfltk.so.1.3 $(DESTDIR)$(libdir)/libfltk.so;\
580 if test x$(DSONAME) = xlibfltk.sl.1.3; then\
581 $(RM) $(DESTDIR)$(libdir)/libfltk.sl*;\
582 $(INSTALL_LIB) libfltk.sl.1.3 $(DESTDIR)$(libdir); \
583 $(LN) libfltk.sl.1.3 $(DESTDIR)$(libdir)/libfltk.sl;\
585 if test x$(DSONAME) = xlibfltk.1.3.dylib; then\
586 $(RM) $(DESTDIR)$(libdir)/libfltk.*dylib;\
587 $(INSTALL_LIB) libfltk.1.3.dylib $(DESTDIR)$(libdir); \
588 $(LN) libfltk.1.3.dylib $(DESTDIR)$(libdir)/libfltk.dylib;\
590 if test x$(DSONAME) = xlibfltk_s.a; then\
591 $(RM) $(DESTDIR)$(libdir)/libfltk_s.a;\
592 $(INSTALL_LIB) libfltk_s.a $(DESTDIR)$(libdir); \
594 if test x$(DSONAME) = xcygfltknox-1.3.dll; then\
595 $(RM) $(DESTDIR)$(bindir)/$(DSONAME);\
596 $(INSTALL_LIB) $(DSONAME) $(DESTDIR)$(bindir); \
597 $(RM) $(DESTDIR)$(libdir)/libfltk.dll.a;\
598 $(INSTALL_LIB) libfltk.dll.a $(DESTDIR)$(libdir); \
600 if test x$(DSONAME) = xmgwfltknox-1.3.dll; then\
601 $(RM) $(DESTDIR)$(bindir)/$(DSONAME);\
602 $(INSTALL_LIB) $(DSONAME) $(DESTDIR)$(bindir); \
603 $(RM) $(DESTDIR)$(libdir)/libfltk.dll.a;\
604 $(INSTALL_LIB) libfltk.dll.a $(DESTDIR)$(libdir); \
606 if test x$(FLDSONAME) = xlibfltk_forms.so.1.3; then\
607 $(RM) $(DESTDIR)$(libdir)/libfltk_forms.so*;\
608 $(INSTALL_LIB) libfltk_forms.so.1.3 $(DESTDIR)$(libdir); \
609 $(LN) libfltk_forms.so.1.3 $(DESTDIR)$(libdir)/libfltk_forms.so;\
611 if test x$(FLDSONAME) = xlibfltk_forms.sl.1.3; then\
612 $(RM) $(DESTDIR)$(libdir)/libfltk_forms.sl*;\
613 $(INSTALL_LIB) libfltk_forms.sl.1.3 $(DESTDIR)$(libdir); \
614 $(LN) libfltk_forms.sl.1.3 $(DESTDIR)$(libdir)/libfltk_forms.sl;\
616 if test x$(FLDSONAME) = xlibfltk_forms.1.3.dylib; then\
617 $(RM) $(DESTDIR)$(libdir)/libfltk_forms.*dylib;\
618 $(INSTALL_LIB) libfltk_forms.1.3.dylib $(DESTDIR)$(libdir); \
619 $(LN) libfltk_forms.1.3.dylib $(DESTDIR)$(libdir)/libfltk_forms.dylib;\
621 if test x$(FLDSONAME) = xlibfltk_forms_s.a; then\
622 $(RM) $(DESTDIR)$(libdir)/libfltk_forms_s.a;\
623 $(INSTALL_LIB) libfltk_forms_s.a $(DESTDIR)$(libdir); \
625 if test x$(FLDSONAME) = xcygfltknox_forms-1.3.dll; then\
626 $(RM) $(DESTDIR)$(bindir)/$(FLDSONAME);\
627 $(INSTALL_LIB) $(FLDSONAME) $(DESTDIR)$(bindir); \
628 $(RM) $(DESTDIR)$(libdir)/libfltk_forms.dll.a;\
629 $(INSTALL_LIB) libfltk_forms.dll.a $(DESTDIR)$(libdir); \
631 if test x$(FLDSONAME) = xmgwfltknox_forms-1.3.dll; then\
632 $(RM) $(DESTDIR)$(bindir)/$(FLDSONAME);\
633 $(INSTALL_LIB) $(FLDSONAME) $(DESTDIR)$(bindir); \
634 $(RM) $(DESTDIR)$(libdir)/libfltk_forms.dll.a;\
635 $(INSTALL_LIB) libfltk_forms.dll.a $(DESTDIR)$(libdir); \
637 if test x$(GLDSONAME) = xlibfltk_gl.so.1.3; then\
638 $(RM) $(DESTDIR)$(libdir)/libfltk_gl.so*;\
639 $(INSTALL_LIB) libfltk_gl.so.1.3 $(DESTDIR)$(libdir); \
640 $(LN) libfltk_gl.so.1.3 $(DESTDIR)$(libdir)/libfltk_gl.so;\
642 if test x$(GLDSONAME) = xlibfltk_gl.sl.1.3; then\
643 $(RM) $(DESTDIR)$(libdir)/libfltk_gl.sl*;\
644 $(INSTALL_LIB) libfltk_gl.sl.1.3 $(DESTDIR)$(libdir); \
645 $(LN) libfltk_gl.sl.1.3 $(DESTDIR)$(libdir)/libfltk_gl.sl;\
647 if test x$(GLDSONAME) = xlibfltk_gl.1.3.dylib; then\
648 $(RM) $(DESTDIR)$(libdir)/libfltk_gl.*dylib;\
649 $(INSTALL_LIB) libfltk_gl.1.3.dylib $(DESTDIR)$(libdir); \
650 $(LN) libfltk_gl.1.3.dylib $(DESTDIR)$(libdir)/libfltk_gl.dylib;\
652 if test x$(GLDSONAME) = xlibfltk_gl_s.a; then\
653 $(RM) $(DESTDIR)$(libdir)/libfltk_gl_s.a;\
654 $(INSTALL_LIB) libfltk_gl_s.a $(DESTDIR)$(libdir); \
656 if test x$(GLDSONAME) = xcygfltknox_gl-1.3.dll; then\
657 $(RM) $(DESTDIR)$(bindir)/$(GLDSONAME);\
658 $(INSTALL_LIB) $(GLDSONAME) $(DESTDIR)$(bindir); \
659 $(RM) $(DESTDIR)$(libdir)/libfltk_gl.dll.a;\
660 $(INSTALL_LIB) libfltk_gl.dll.a $(DESTDIR)$(libdir); \
662 if test x$(GLDSONAME) = xmgwfltknox_gl-1.3.dll; then\
663 $(RM) $(DESTDIR)$(bindir)/$(GLDSONAME);\
664 $(INSTALL_LIB) $(GLDSONAME) $(DESTDIR)$(bindir); \
665 $(RM) $(DESTDIR)$(libdir)/libfltk_gl.dll.a;\
666 $(INSTALL_LIB) libfltk_gl.dll.a $(DESTDIR)$(libdir); \
668 if test x$(IMGDSONAME) = xlibfltk_images.so.1.3; then\
669 $(RM) $(DESTDIR)$(libdir)/libfltk_images.so*;\
670 $(INSTALL_LIB) libfltk_images.so.1.3 $(DESTDIR)$(libdir); \
671 $(LN) libfltk_images.so.1.3 $(DESTDIR)$(libdir)/libfltk_images.so;\
673 if test x$(IMGDSONAME) = xlibfltk_images.sl.1.3; then\
674 $(RM) $(DESTDIR)$(libdir)/libfltk_images.sl*;\
675 $(INSTALL_LIB) libfltk_images.sl.1.3 $(DESTDIR)$(libdir); \
676 $(LN) libfltk_images.sl.1.3 $(DESTDIR)$(libdir)/libfltk_images.sl;\
678 if test x$(IMGDSONAME) = xlibfltk_images.1.3.dylib; then\
679 $(RM) $(DESTDIR)$(libdir)/libfltk_images.*dylib;\
680 $(INSTALL_LIB) libfltk_images.1.3.dylib $(DESTDIR)$(libdir); \
681 $(LN) libfltk_images.1.3.dylib $(DESTDIR)$(libdir)/libfltk_images.dylib;\
683 if test x$(IMGDSONAME) = xlibfltk_images_s.a; then\
684 $(RM) $(DESTDIR)$(libdir)/libfltk_images_s.a;\
685 $(INSTALL_LIB) libfltk_images_s.a $(DESTDIR)$(libdir); \
687 if test x$(IMGDSONAME) = xcygfltknox_images-1.3.dll; then\
688 $(RM) $(DESTDIR)$(bindir)/$(IMGDSONAME); \
689 $(INSTALL_LIB) $(IMGDSONAME) $(DESTDIR)$(bindir); \
690 $(RM) $(DESTDIR)$(libdir)/libfltk_images.dll.a;\
691 $(INSTALL_LIB) libfltk_images.dll.a $(DESTDIR)$(libdir); \
693 if test x$(IMGDSONAME) = xmgwfltknox_images-1.3.dll; then\
694 $(RM) $(DESTDIR)$(bindir)/$(IMGDSONAME); \
695 $(INSTALL_LIB) $(IMGDSONAME) $(DESTDIR)$(bindir); \
696 $(RM) $(DESTDIR)$(libdir)/libfltk_images.dll.a;\
697 $(INSTALL_LIB) libfltk_images.dll.a $(DESTDIR)$(libdir); \
701 uninstall:
702 echo "Uninstalling libraries..."
703 $(RM) $(DESTDIR)$(libdir)/$(LIBBASENAME)
704 if test x$(DSONAME) = xlibfltk.so.1.3; then\
705 $(RM) $(DESTDIR)$(libdir)/libfltk.so*;\
707 if test x$(DSONAME) = xlibfltk.sl.1.3; then\
708 $(RM) $(DESTDIR)$(libdir)/libfltk.sl*;\
710 if test x$(DSONAME) = xlibfltk.1.3.dylib; then\
711 $(RM) $(DESTDIR)$(libdir)/libfltk.*dylib;\
713 if test x$(DSONAME) = xlibfltk_s.a; then\
714 $(RM) $(DESTDIR)$(libdir)/libfltk_s.a;\
716 if test x$(DSONAME) = xcygfltknox-1.3.dll; then\
717 $(RM) $(DESTDIR)$(bindir)/$(DSONAME); \
718 $(RM) $(DESTDIR)$(libdir)/libfltk.dll.a;\
720 if test x$(DSONAME) = xcygfltk-1.3.dll; then\
721 $(RM) $(DESTDIR)$(bindir)/$(DSONAME); \
722 $(RM) $(DESTDIR)$(libdir)/libfltk.dll.a;\
724 if test x$(DSONAME) = xmgwfltknox-1.3.dll; then\
725 $(RM) $(DESTDIR)$(bindir)/$(DSONAME); \
726 $(RM) $(DESTDIR)$(libdir)/libfltk.dll.a;\
728 $(RM) $(DESTDIR)$(libdir)/$(FLLIBBASENAME);
729 if test x$(FLDSONAME) = xlibfltk_forms.so.1.3; then\
730 $(RM) $(DESTDIR)$(libdir)/libfltk_forms.so*;\
732 if test x$(FLDSONAME) = xlibfltk_forms.sl.1.3; then\
733 $(RM) $(DESTDIR)$(libdir)/libfltk_forms.sl*;\
735 if test x$(FLDSONAME) = xlibfltk_forms.1.3.dylib; then\
736 $(RM) $(DESTDIR)$(libdir)/libfltk_forms.*dylib;\
738 if test x$(FLDSONAME) = xlibfltk_forms_s.a; then\
739 $(RM) $(DESTDIR)$(libdir)/libfltk_forms_s.a;\
741 if test x$(FLDSONAME) = xcygfltknox_forms-1.3.dll; then\
742 $(RM) $(DESTDIR)$(bindir)/$(FLDSONAME); \
743 $(RM) $(DESTDIR)$(libdir)/libfltk_forms.dll.a;\
745 if test x$(FLDSONAME) = xcygfltk_forms-1.3.dll; then\
746 $(RM) $(DESTDIR)$(bindir)/$(FLDSONAME); \
747 $(RM) $(DESTDIR)$(libdir)/libfltk_forms.dll.a;\
749 if test x$(FLDSONAME) = xmgwfltknox_forms-1.3.dll; then\
750 $(RM) $(DESTDIR)$(bindir)/$(FLDSONAME); \
751 $(RM) $(DESTDIR)$(libdir)/libfltk_forms.dll.a;\
753 if test x$(GLLIBNAME) != x; then\
754 $(RM) $(DESTDIR)$(libdir)/$(GLLIBBASENAME);\
756 if test x$(GLDSONAME) = xlibfltk_gl.so.1.3; then\
757 $(RM) $(DESTDIR)$(libdir)/libfltk_gl.so*;\
759 if test x$(GLDSONAME) = xlibfltk_gl.sl.1.3; then\
760 $(RM) $(DESTDIR)$(libdir)/libfltk_gl.sl*;\
762 if test x$(GLDSONAME) = xlibfltk_gl.1.3.dylib; then\
763 $(RM) $(DESTDIR)$(libdir)/libfltk_gl.*dylib;\
765 if test x$(GLDSONAME) = xlibfltk_gl_s.a; then\
766 $(RM) $(DESTDIR)$(libdir)/libfltk_gl_s.a;\
768 if test x$(GLDSONAME) = xcygfltknox_gl-1.3.dll; then\
769 $(RM) $(DESTDIR)$(bindir)/$(GLDSONAME); \
770 $(RM) $(DESTDIR)$(libdir)/libfltk_gl.dll.a;\
772 if test x$(GLDSONAME) = xcygfltk_gl-1.3.dll; then\
773 $(RM) $(DESTDIR)$(bindir)/$(GLDSONAME); \
774 $(RM) $(DESTDIR)$(libdir)/libfltk_gl.dll.a;\
776 if test x$(GLDSONAME) = xmgwfltknox_gl-1.3.dll; then\
777 $(RM) $(DESTDIR)$(bindir)/$(GLDSONAME); \
778 $(RM) $(DESTDIR)$(libdir)/libfltk_gl.dll.a;\
780 if test x$(IMGLIBNAME) != x; then\
781 $(RM) $(DESTDIR)$(libdir)/$(IMGLIBBASENAME);\
783 if test x$(IMGDSONAME) = xlibfltk_images.so.1.3; then\
784 $(RM) $(DESTDIR)$(libdir)/libfltk_images.so*;\
786 if test x$(IMGDSONAME) = xlibfltk_images.sl.1.3; then\
787 $(RM) $(DESTDIR)$(libdir)/libfltk_images.sl*;\
789 if test x$(IMGDSONAME) = xlibfltk_images.1.3.dylib; then\
790 $(RM) $(DESTDIR)$(libdir)/libfltk_images.*dylib;\
792 if test x$(IMGDSONAME) = xlibfltk_images_s.a; then\
793 $(RM) $(DESTDIR)$(libdir)/libfltk_images_s.a;\
795 if test x$(IMGDSONAME) = xcygfltknox_images-1.3.dll; then\
796 $(RM) $(DESTDIR)$(bindir)/$(IMGDSONAME); \
797 $(RM) $(DESTDIR)$(libdir)/libfltk_images.dll.a;\
799 if test x$(IMGDSONAME) = xcygfltk_images-1.3.dll; then\
800 $(RM) $(DESTDIR)$(bindir)/$(IMGDSONAME); \
801 $(RM) $(DESTDIR)$(libdir)/libfltk_images.dll.a;\
803 if test x$(IMGDSONAME) = xmgwfltknox_images-1.3.dll; then\
804 $(RM) $(DESTDIR)$(bindir)/$(IMGDSONAME); \
805 $(RM) $(DESTDIR)$(libdir)/libfltk_images.dll.a;\
809 # End of "$Id: Makefile 8389 2011-02-06 14:08:08Z manolo $".