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
23 # Please report all bugs and problems on the following page:
25 # http://www.fltk.org/str.php
29 Fl_Cairo_Graphics_Driver.
cxx \
39 Fl_Check_Browser.
cxx \
43 Fl_Color_Chooser.
cxx \
47 Fl_Double_Window.
cxx \
50 Fl_File_Chooser2.
cxx \
68 Fl_Native_File_Chooser.
cxx \
69 Fl_Overlay_Window.
cxx \
77 Fl_Repeat_Button.
cxx \
78 Fl_Return_Button.
cxx \
84 Fl_Single_Window.
cxx \
96 Fl_Tree_Item_Array.
cxx \
101 Fl_Value_Output.
cxx \
102 Fl_Value_Slider.
cxx \
105 Fl_Window_fullscreen.
cxx \
106 Fl_Window_hotspot.
cxx \
107 Fl_Window_iconize.
cxx \
117 Fl_get_system_colors.
cxx \
120 Fl_own_colormap.
cxx \
123 filename_absolute.
cxx \
124 filename_expand.
cxx \
129 filename_setext.
cxx \
143 fl_encoding_latin1.
cxx \
144 fl_encoding_mac_roman.
cxx \
145 fl_engraved_label.
cxx \
164 fl_show_colormap.
cxx \
173 Fl_Quartz_Printer.mm \
174 Fl_Native_File_Chooser_MAC.mm
177 forms_compatability.
cxx \
187 Fl_Gl_Device_Plugin.
cxx \
189 freeglut_geometry.
cxx \
190 freeglut_stroke_mono_roman.
cxx \
191 freeglut_stroke_roman.
cxx \
192 freeglut_teapot.
cxx \
195 glut_compatability.
cxx \
209 CFILES
= fl_call_main.c flstring.c scandir.c numericsort.c vsnprintf.c fl_utf.c
213 xutf8
/is_right2left.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
) $@ ...
239 $(LIBCOMMAND
) $@
$(OBJECTS
)
242 libfltk.so
.1.3: $(OBJECTS
)
243 echo
$(DSOCOMMAND
) $@ ...
244 $(DSOCOMMAND
) $@
$(OBJECTS
)
246 $(LN
) libfltk.so
.1.3 libfltk.so
248 libfltk.sl
.1.3: $(OBJECTS
)
249 echo
$(DSOCOMMAND
) $@ ...
250 $(DSOCOMMAND
) $@
$(OBJECTS
)
252 $(LN
) libfltk.sl
.1.3 libfltk.sl
254 libfltk
.1.3.dylib
: $(OBJECTS
)
255 echo
$(DSOCOMMAND
) $@ ...
257 -install_name
$(libdir)/$@ \
258 -current_version
1.3.0 \
259 -compatibility_version
1.3.0 \
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
269 $(LIBCOMMAND
) libfltk_s.a libfltk_s.o
270 $(CHMOD
) +x libfltk_s.a
272 $(FLLIBNAME
): $(FLOBJECTS
)
273 echo
$(LIBCOMMAND
) $@ ...
275 $(LIBCOMMAND
) $@
$(FLOBJECTS
)
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
) $@ ...
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
305 $(LIBCOMMAND
) libfltk_forms_s.a libfltk_forms_s.o
306 $(CHMOD
) +x libfltk_forms_s.a
308 $(GLLIBNAME
): $(GLOBJECTS
)
309 echo
$(LIBCOMMAND
) $@ ...
311 $(LIBCOMMAND
) $@
$(GLOBJECTS
)
314 libfltk_gl.so
.1.3: $(GLOBJECTS
) libfltk.so
.1.3
315 echo
$(DSOCOMMAND
) $@ ...
316 $(DSOCOMMAND
) $@
$(GLOBJECTS
) -L.
-lfltk
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
324 $(LN
) libfltk_gl.sl
.1.3 libfltk_gl.sl
326 libfltk_gl
.1.3.dylib
: $(GLOBJECTS
) libfltk
.1.3.dylib
327 echo
$(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
341 $(LIBCOMMAND
) libfltk_gl_s.a libfltk_gl_s.o
342 $(CHMOD
) +x libfltk_gl_s.a
344 $(IMGLIBNAME
): $(IMGOBJECTS
)
345 echo
$(LIBCOMMAND
) $@ ...
347 $(LIBCOMMAND
) $@
$(IMGOBJECTS
)
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
) $@ ...
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
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
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 \
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 \
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 \
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
)
473 -$(RM
) *.o xutf8
/*.o
*.dll.a core.
* *~
*.bak
*.bck
474 -$(RM
) $(DSONAME
) $(FLDSONAME
) $(GLDSONAME
) $(IMGDSONAME
) \
475 $(LIBNAME
) $(FLLIBNAME
) $(GLLIBNAME
) \
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 \
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 !
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
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); \
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 $".