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.ntk.org/str.php
29 Fl_Cairo_Graphics_Driver.
cxx \
39 Fl_Check_Browser.
cxx \
42 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 \
83 Fl_Single_Window.
cxx \
95 Fl_Tree_Item_Array.
cxx \
100 Fl_Value_Output.
cxx \
101 Fl_Value_Slider.
cxx \
104 Fl_Window_fullscreen.
cxx \
105 Fl_Window_hotspot.
cxx \
106 Fl_Window_iconize.
cxx \
116 Fl_get_system_colors.
cxx \
119 Fl_own_colormap.
cxx \
122 filename_absolute.
cxx \
123 filename_expand.
cxx \
128 filename_setext.
cxx \
142 fl_encoding_latin1.
cxx \
143 fl_encoding_mac_roman.
cxx \
144 fl_engraved_label.
cxx \
161 fl_show_colormap.
cxx \
167 Fl_Theme_Chooser.
cxx \
178 Fl_Quartz_Printer.mm \
179 Fl_Native_File_Chooser_MAC.mm
184 Fl_Gl_Device_Plugin.
cxx \
186 freeglut_geometry.
cxx \
187 freeglut_stroke_mono_roman.
cxx \
188 freeglut_stroke_roman.
cxx \
189 freeglut_teapot.
cxx \
192 glut_compatability.
cxx \
206 CFILES
= fl_call_main.c flstring.c scandir.c numericsort.c vsnprintf.c fl_utf.c
210 xutf8
/is_right2left.c \
217 ################################################################
218 FLTKFLAGS
= -DFL_LIBRARY
219 include ..
/makeinclude
221 MMFILES
= $(shell if
test $(USEMMFILES
) = Yes
; then echo
$(OBJCPPFILES
); fi
)
223 OBJECTS
= $(MMFILES
:.mm
=.o
) $(CPPFILES
:.
cxx=.o
) $(CFILES
:.c
=.o
) $(UTF8CFILES
:.c
=.o
)
224 GLOBJECTS
= $(GLCPPFILES
:.
cxx=.o
)
225 IMGOBJECTS
= $(IMGCPPFILES
:.
cxx=.o
)
227 all: $(LIBNAME
) $(DSONAME
) \
228 $(GLLIBNAME
) $(GLDSONAME
) \
229 $(IMGLIBNAME
) $(IMGDSONAME
)
231 $(LIBNAME
): $(OBJECTS
)
232 echo
$(LIBCOMMAND
) $@ ...
234 $(LIBCOMMAND
) $@
$(OBJECTS
)
237 libntk.so
.1.3: $(OBJECTS
)
238 echo
$(DSOCOMMAND
) $@ ...
239 $(DSOCOMMAND
) $@
$(OBJECTS
)
241 $(LN
) libntk.so
.1.3 libntk.so
243 libntk.sl
.1.3: $(OBJECTS
)
244 echo
$(DSOCOMMAND
) $@ ...
245 $(DSOCOMMAND
) $@
$(OBJECTS
)
247 $(LN
) libntk.sl
.1.3 libntk.sl
249 libntk
.1.3.dylib
: $(OBJECTS
)
250 echo
$(DSOCOMMAND
) $@ ...
252 -install_name
$(libdir)/$@ \
253 -current_version
1.3.0 \
254 -compatibility_version
1.3.0 \
257 $(LN
) libntk
.1.3.dylib libntk.dylib
259 libntk_s.a
: $(OBJECTS
)
260 echo
$(DSOCOMMAND
) libntk_s.o ...
261 $(DSOCOMMAND
) libntk_s.o
$(OBJECTS
) $(IMAGELIBS
)
262 echo
$(LIBCOMMAND
) libntk_s.a libntk_s.o
264 $(LIBCOMMAND
) libntk_s.a libntk_s.o
265 $(CHMOD
) +x libntk_s.a
267 $(GLLIBNAME
): $(GLOBJECTS
)
268 echo
$(LIBCOMMAND
) $@ ...
270 $(LIBCOMMAND
) $@
$(GLOBJECTS
)
273 libntk_gl.so
.1.3: $(GLOBJECTS
) libntk.so
.1.3
274 echo
$(DSOCOMMAND
) $@ ...
275 $(DSOCOMMAND
) $@
$(GLOBJECTS
) -L.
-lntk
277 $(LN
) libntk_gl.so
.1.3 libntk_gl.so
279 libntk_gl.sl
.1.3: $(GLOBJECTS
) libntk.sl
.1.3
280 echo
$(DSOCOMMAND
) $@ ...
281 $(DSOCOMMAND
) $@
$(GLOBJECTS
) -L.
-lntk
283 $(LN
) libntk_gl.sl
.1.3 libntk_gl.sl
285 libntk_gl
.1.3.dylib
: $(GLOBJECTS
) libntk
.1.3.dylib
286 echo
$(DSOCOMMAND
) $@ ...
288 -install_name
$(libdir)/$@ \
289 -current_version
1.3.0 \
290 -compatibility_version
1.3.0 \
291 $(GLOBJECTS
) -L.
$(GLDLIBS
) -lntk
292 $(RM
) libntk_gl.dylib
293 $(LN
) libntk_gl
.1.3.dylib libntk_gl.dylib
295 libntk_gl_s.a
: $(GLOBJECTS
)
296 echo
$(DSOCOMMAND
) libntk_gl_s.o ...
297 $(DSOCOMMAND
) libntk_gl_s.o
$(GLOBJECTS
)
298 echo
$(LIBCOMMAND
) libntk_gl_s.a libntk_gl_s.o
300 $(LIBCOMMAND
) libntk_gl_s.a libntk_gl_s.o
301 $(CHMOD
) +x libntk_gl_s.a
303 $(IMGLIBNAME
): $(IMGOBJECTS
)
304 echo
$(LIBCOMMAND
) $@ ...
306 $(LIBCOMMAND
) $@
$(IMGOBJECTS
)
309 libntk_images.so
.1.3: $(IMGOBJECTS
) libntk.so
.1.3
310 echo
$(DSOCOMMAND
) $@ ...
311 $(DSOCOMMAND
) $@
$(IMGOBJECTS
) -L.
$(IMAGELIBS
) -lntk
312 $(RM
) libntk_images.so
313 $(LN
) libntk_images.so
.1.3 libntk_images.so
315 libntk_images.sl
.1.3: $(IMGOBJECTS
) libntk.sl
.1.3
316 echo
$(DSOCOMMAND
) $@ ...
317 $(DSOCOMMAND
) $@
$(IMGOBJECTS
) -L.
$(IMAGELIBS
) -lntk
318 $(RM
) libntk_images.sl
319 $(LN
) libntk_images.sl
.1.3 libntk_images.sl
321 libntk_images
.1.3.dylib
: $(IMGOBJECTS
) libntk
.1.3.dylib
322 echo
$(DSOCOMMAND
) $@ ...
324 -install_name
$(libdir)/$@ \
325 -current_version
1.3.0 \
326 -compatibility_version
1.3.0 \
327 $(IMGOBJECTS
) -L.
$(LDLIBS
) $(IMAGELIBS
) -lntk
328 $(RM
) libntk_images.dylib
329 $(LN
) libntk_images
.1.3.dylib libntk_images.dylib
331 libntk_images_s.a
: $(IMGOBJECTS
)
332 echo
$(DSOCOMMAND
) libntk_images_s.o ...
333 $(DSOCOMMAND
) libntk_images_s.o
$(IMGOBJECTS
)
334 echo
$(LIBCOMMAND
) libntk_images_s.a libntk_images_s.o
336 $(LIBCOMMAND
) libntk_images_s.a libntk_images_s.o
337 $(CHMOD
) +x libntk_images_s.a
339 #-----------------------------------------------------------------
340 # - the import libraries libntk*.dll.a and the .dll files
341 # are created from the libntk*.a files. They are built
343 # - The _images, _gl, _forms and dlls must be linked
344 # against the import libraries in the src dir.
345 #-----------------------------------------------------------------
347 #-----------------------------------------------------------------
348 # cygwin GDI shared libraries
349 #-----------------------------------------------------------------
351 cygntknox-1.3.dll
: $(LIBNAME
)
352 echo
$(DSOCOMMAND
) $(LIBNAME
) ...
353 $(DSOCOMMAND
) $(LIBNAME
) -Wl
,--no-whole-archive \
354 -Wl
,--out-implib
=libntk.dll.a
$(LDLIBS
)
356 cygntknox_gl-1.3.dll
: $(GLLIBNAME
) cygntknox-1.3.dll
357 echo
$(DSOCOMMAND
) $(GLLIBNAME
) ...
358 $(DSOCOMMAND
) $(GLLIBNAME
) -Wl
,--no-whole-archive \
359 -Wl
,--out-implib
=libntk_gl.dll.a \
362 cygntknox_images-1.3.dll
: $(IMGLIBNAME
) cygntknox-1.3.dll
363 echo
$(DSOCOMMAND
) $(IMGLIBNAME
) ...
364 $(DSOCOMMAND
) $(IMGLIBNAME
) -Wl
,--no-whole-archive \
365 -Wl
,--out-implib
=libntk_images.dll.a \
366 -L.
-lntk
-Wl
,--exclude-libs
-Wl
,libntk_png.a \
367 $(IMAGELIBS
) $(LDLIBS
)
369 #-----------------------------------------------------------------
370 # cygwin X11 shared libraries
371 #-----------------------------------------------------------------
373 cygntk-1.3.dll
: $(LIBNAME
)
374 echo
$(DSOCOMMAND
) $(LIBNAME
) ...
375 $(DSOCOMMAND
) $(LIBNAME
) -Wl
,--no-whole-archive \
376 -Wl
,--out-implib
=libntk.dll.a
$(LDLIBS
)
378 cygntk_gl-1.3.dll
: $(GLLIBNAME
) cygntk-1.3.dll
379 echo
$(DSOCOMMAND
) $(GLLIBNAME
) ...
380 $(DSOCOMMAND
) $(GLLIBNAME
) -Wl
,--no-whole-archive \
381 -Wl
,--out-implib
=libntk_gl.dll.a \
384 cygntk_images-1.3.dll
: $(IMGLIBNAME
) cygntk-1.3.dll
385 echo
$(DSOCOMMAND
) $(IMGLIBNAME
) ...
386 $(DSOCOMMAND
) $(IMGLIBNAME
) -Wl
,--no-whole-archive \
387 -Wl
,--out-implib
=libntk_images.dll.a \
388 -L.
-lntk
-Wl
,--exclude-libs
-Wl
,libntk_png.a \
389 $(IMAGELIBS
) $(LDLIBS
)
391 mgwntknox-1.3.dll
: $(LIBNAME
)
392 echo
$(DSOCOMMAND
) $(LIBNAME
) ...
393 $(DSOCOMMAND
) $(LIBNAME
) -Wl
,--no-whole-archive \
394 -Wl
,--out-implib
=libntk.dll.a
$(LDLIBS
)
396 mgwntknox_gl-1.3.dll
: $(GLLIBNAME
) mgwntknox-1.3.dll
397 echo
$(DSOCOMMAND
) $(GLLIBNAME
) ...
398 $(DSOCOMMAND
) $(GLLIBNAME
) -Wl
,--no-whole-archive \
399 -Wl
,--out-implib
=libntk_gl.dll.a \
402 #-----------------------------------------------------
403 # See STR #1585 for --exclude-libs
404 #-----------------------------------------------------
406 mgwntknox_images-1.3.dll
: $(IMGLIBNAME
) mgwntknox-1.3.dll
407 echo
$(DSOCOMMAND
) $(IMGLIBNAME
) ...
408 $(DSOCOMMAND
) $(IMGLIBNAME
) -Wl
,--no-whole-archive \
409 -Wl
,--out-implib
=libntk_images.dll.a \
410 -L.
-lntk
-Wl
,--exclude-libs
-Wl
,libntk_png.a \
411 $(IMAGELIBS
) $(LDLIBS
)
414 -$(RM
) *.o xutf8
/*.o
*.dll.a core.
* *~
*.bak
*.bck
415 -$(RM
) $(DSONAME
) $(FLDSONAME
) $(GLDSONAME
) $(IMGDSONAME
) \
416 $(LIBNAME
) $(GLLIBNAME
) \
418 libntk.so libntk_gl.so libntk_images.so \
419 libntk.sl libntk_gl.sl libntk_images.sl \
421 libntk_gl.dylib libntk_images.dylib \
424 depend
: $(CPPFILES
) $(MMFILES
) $(FLCPPFILES
) $(GLCPPFILES
) $(IMGCPPFILES
) $(CFILES
) $(UTF8CFILES
)
425 makedepend
-Y
-I..
-f makedepend
$(CPPFILES
) $(MMFILES
) $(FLCPPFILES
) \
426 $(GLCPPFILES
) $(IMGCPPFILES
) $(CFILES
) $(UTF8CFILES
)
428 # Automatically generated dependencies... generated on a Linux/Unix host !
431 # These dependencies aren't part of the makedepend file since
432 # they are part of the WIN32 and MacOS code base...
433 # Please add only non-Linux/Unix files or such that are optional
434 # (like "*xft*") here:
435 Fl_get_key.o
: Fl_get_key_mac.
cxx Fl_get_key_win32.
cxx
436 Fl_Native_File_Chooser.o
: Fl_Native_File_Chooser_WIN32.
cxx
437 Fl_Theme_Chooser.o
: Fl_Theme_Chooser.
cxx
438 Fl_Native_File_Chooser_MAC.o
: Fl_Native_File_Chooser_MAC.mm
440 Fl_cocoa.o
: Fl_cocoa.mm
441 fl_color.o
: fl_color_mac.
cxx fl_color_win32.
cxx
442 fl_dnd.o
: fl_dnd_win32.
cxx fl_dnd_x.
cxx
443 fl_draw_image.o
: fl_draw_image_mac.
cxx fl_draw_image_win32.
cxx
444 fl_font.o
: fl_font_mac.
cxx fl_font_x.
cxx fl_font_xft.
cxx fl_font_win32.
cxx
445 fl_read_image.o
: fl_read_image_mac.
cxx fl_read_image_win32.
cxx
446 fl_set_fonts.o
: fl_set_fonts_mac.
cxx fl_set_fonts_x.
cxx \
447 fl_set_fonts_xft.
cxx fl_set_fonts_win32.
cxx
448 Fl_Printer.o
: Fl_GDI_Printer.
cxx Fl_PostScript.
cxx
449 Fl_Quartz_Printer.o
: Fl_Quartz_Printer.mm
450 fl_arci.o
: ..
/FL
/mac.H ..
/FL
/win32.H
451 Fl_arg.o
: ..
/FL
/mac.H ..
/FL
/win32.H
452 fl_ask.o
: ..
/FL
/mac.H ..
/FL
/win32.H
453 Fl_Bitmap.o
: ..
/FL
/mac.H ..
/FL
/win32.H
454 fl_color.o
: ..
/FL
/mac.H ..
/FL
/win32.H
455 fl_cursor.o
: ..
/FL
/mac.H ..
/FL
/win32.H
456 fl_dnd.o
: ..
/FL
/mac.H ..
/FL
/win32.H
457 Fl.o
: ..
/FL
/mac.H ..
/FL
/win32.H
458 Fl_Double_Window.o
: ..
/FL
/mac.H ..
/FL
/win32.H
459 fl_draw_image.o
: ..
/FL
/mac.H ..
/FL
/win32.H
460 fl_draw_image_mac.o
: ..
/FL
/mac.H ..
/FL
/win32.H
461 fl_draw_image_win32.o
: ..
/FL
/mac.H ..
/FL
/win32.H
462 fl_draw_pixmap.o
: ..
/FL
/mac.H ..
/FL
/win32.H
463 fl_encoding_latin1.o
: ..
/FL
/mac.H ..
/FL
/win32.H
464 fl_encoding_mac_roman.o
: ..
/FL
/mac.H ..
/FL
/win32.H
465 Fl_File_Chooser2.o
: ..
/FL
/mac.H ..
/FL
/win32.H
466 fl_font.o
: ..
/FL
/mac.H ..
/FL
/win32.H
467 Fl_get_key.o
: ..
/FL
/mac.H ..
/FL
/win32.H
468 Fl_get_system_colors.o
: ..
/FL
/mac.H ..
/FL
/win32.H
469 Fl_Gl_Choice.o
: ..
/FL
/mac.H ..
/FL
/win32.H
470 Fl_Gl_Overlay.o
: ..
/FL
/mac.H ..
/FL
/win32.H
471 Fl_Gl_Window.o
: ..
/FL
/mac.H ..
/FL
/win32.H
472 Fl_grab.o
: ..
/FL
/mac.H ..
/FL
/win32.H
473 Fl_Image.o
: ..
/FL
/mac.H ..
/FL
/win32.H
474 fl_line_style.o
: ..
/FL
/mac.H ..
/FL
/win32.H
475 Fl_Menu_Window.o
: ..
/FL
/mac.H ..
/FL
/win32.H
476 fl_overlay.o
: ..
/FL
/mac.H ..
/FL
/win32.H
477 Fl_Overlay_Window.o
: ..
/FL
/mac.H ..
/FL
/win32.H
478 Fl_own_colormap.o
: ..
/FL
/mac.H ..
/FL
/win32.H
479 Fl_Pixmap.o
: ..
/FL
/mac.H ..
/FL
/win32.H
480 Fl_Printer.o
: ..
/FL
/mac.H ..
/FL
/win32.H
481 fl_read_image.o
: ..
/FL
/mac.H ..
/FL
/win32.H
482 fl_read_image_mac.o
: ..
/FL
/mac.H ..
/FL
/win32.H
483 fl_read_image_win32.o
: ..
/FL
/mac.H ..
/FL
/win32.H
484 fl_rect.o
: ..
/FL
/mac.H ..
/FL
/win32.H
485 fl_scroll_area.o
: ..
/FL
/mac.H ..
/FL
/win32.H
486 fl_set_font.o
: ..
/FL
/mac.H ..
/FL
/win32.H
487 fl_set_fonts.o
: ..
/FL
/mac.H ..
/FL
/win32.H
488 fl_shortcut.o
: ..
/FL
/mac.H ..
/FL
/win32.H
489 fl_vertex.o
: ..
/FL
/mac.H ..
/FL
/win32.H
490 Fl_visual.o
: ..
/FL
/mac.H ..
/FL
/win32.H
491 Fl_Window_fullscreen.o
: ..
/FL
/mac.H ..
/FL
/win32.H
492 Fl_Window_iconize.o
: ..
/FL
/mac.H ..
/FL
/win32.H
493 Fl_x.o
: ..
/FL
/mac.H ..
/FL
/win32.H
494 gl_draw.o
: ..
/FL
/mac.H ..
/FL
/win32.H
495 gl_start.o
: ..
/FL
/mac.H ..
/FL
/win32.H
497 ################################################################
499 install: $(LIBNAME
) $(DSONAME
) \
500 $(GLLIBNAME
) $(GLDSONAME
) \
501 $(IMGLIBNAME
) $(IMGDSONAME
)
502 echo
"Installing libraries in $(DESTDIR)$(libdir)..."
503 -$(INSTALL_DIR
) $(DESTDIR
)$(libdir)
504 -$(INSTALL_DIR
) $(DESTDIR
)$(bindir)
505 $(RM
) $(DESTDIR
)$(libdir)/$(LIBBASENAME
)
506 $(INSTALL_LIB
) $(LIBNAME
) $(DESTDIR
)$(libdir)
507 $(INSTALL_LIB
) $(IMGLIBNAME
) $(DESTDIR
)$(libdir)
508 $(RANLIB
) $(DESTDIR
)$(libdir)/$(LIBBASENAME
)
509 if
test x
$(GLLIBNAME
) != x
; then \
510 $(INSTALL_LIB
) $(GLLIBNAME
) $(DESTDIR
)$(libdir); \
511 $(RANLIB
) $(DESTDIR
)$(libdir)/$(GLLIBBASENAME
); \
513 $(RANLIB
) $(DESTDIR
)$(libdir)/$(IMGLIBBASENAME
)
514 if
test x
$(DSONAME
) = xlibntk.so
.1.3; then\
515 $(RM
) $(DESTDIR
)$(libdir)/libntk.so
*;\
516 $(INSTALL_LIB
) libntk.so
.1.3 $(DESTDIR
)$(libdir); \
517 $(LN
) libntk.so
.1.3 $(DESTDIR
)$(libdir)/libntk.so
;\
519 if
test x
$(DSONAME
) = xlibntk.sl
.1.3; then\
520 $(RM
) $(DESTDIR
)$(libdir)/libntk.sl
*;\
521 $(INSTALL_LIB
) libntk.sl
.1.3 $(DESTDIR
)$(libdir); \
522 $(LN
) libntk.sl
.1.3 $(DESTDIR
)$(libdir)/libntk.sl
;\
524 if
test x
$(DSONAME
) = xlibntk
.1.3.dylib
; then\
525 $(RM
) $(DESTDIR
)$(libdir)/libntk.
*dylib
;\
526 $(INSTALL_LIB
) libntk
.1.3.dylib
$(DESTDIR
)$(libdir); \
527 $(LN
) libntk
.1.3.dylib
$(DESTDIR
)$(libdir)/libntk.dylib
;\
529 if
test x
$(DSONAME
) = xlibntk_s.a
; then\
530 $(RM
) $(DESTDIR
)$(libdir)/libntk_s.a
;\
531 $(INSTALL_LIB
) libntk_s.a
$(DESTDIR
)$(libdir); \
533 if
test x
$(DSONAME
) = xcygntknox-1.3.dll
; then\
534 $(RM
) $(DESTDIR
)$(bindir)/$(DSONAME
);\
535 $(INSTALL_LIB
) $(DSONAME
) $(DESTDIR
)$(bindir); \
536 $(RM
) $(DESTDIR
)$(libdir)/libntk.dll.a
;\
537 $(INSTALL_LIB
) libntk.dll.a
$(DESTDIR
)$(libdir); \
539 if
test x
$(DSONAME
) = xmgwntknox-1.3.dll
; then\
540 $(RM
) $(DESTDIR
)$(bindir)/$(DSONAME
);\
541 $(INSTALL_LIB
) $(DSONAME
) $(DESTDIR
)$(bindir); \
542 $(RM
) $(DESTDIR
)$(libdir)/libntk.dll.a
;\
543 $(INSTALL_LIB
) libntk.dll.a
$(DESTDIR
)$(libdir); \
545 if
test x
$(GLDSONAME
) = xlibntk_gl.so
.1.3; then\
546 $(RM
) $(DESTDIR
)$(libdir)/libntk_gl.so
*;\
547 $(INSTALL_LIB
) libntk_gl.so
.1.3 $(DESTDIR
)$(libdir); \
548 $(LN
) libntk_gl.so
.1.3 $(DESTDIR
)$(libdir)/libntk_gl.so
;\
550 if
test x
$(GLDSONAME
) = xlibntk_gl.sl
.1.3; then\
551 $(RM
) $(DESTDIR
)$(libdir)/libntk_gl.sl
*;\
552 $(INSTALL_LIB
) libntk_gl.sl
.1.3 $(DESTDIR
)$(libdir); \
553 $(LN
) libntk_gl.sl
.1.3 $(DESTDIR
)$(libdir)/libntk_gl.sl
;\
555 if
test x
$(GLDSONAME
) = xlibntk_gl
.1.3.dylib
; then\
556 $(RM
) $(DESTDIR
)$(libdir)/libntk_gl.
*dylib
;\
557 $(INSTALL_LIB
) libntk_gl
.1.3.dylib
$(DESTDIR
)$(libdir); \
558 $(LN
) libntk_gl
.1.3.dylib
$(DESTDIR
)$(libdir)/libntk_gl.dylib
;\
560 if
test x
$(GLDSONAME
) = xlibntk_gl_s.a
; then\
561 $(RM
) $(DESTDIR
)$(libdir)/libntk_gl_s.a
;\
562 $(INSTALL_LIB
) libntk_gl_s.a
$(DESTDIR
)$(libdir); \
564 if
test x
$(GLDSONAME
) = xcygntknox_gl-1.3.dll
; then\
565 $(RM
) $(DESTDIR
)$(bindir)/$(GLDSONAME
);\
566 $(INSTALL_LIB
) $(GLDSONAME
) $(DESTDIR
)$(bindir); \
567 $(RM
) $(DESTDIR
)$(libdir)/libntk_gl.dll.a
;\
568 $(INSTALL_LIB
) libntk_gl.dll.a
$(DESTDIR
)$(libdir); \
570 if
test x
$(GLDSONAME
) = xmgwntknox_gl-1.3.dll
; then\
571 $(RM
) $(DESTDIR
)$(bindir)/$(GLDSONAME
);\
572 $(INSTALL_LIB
) $(GLDSONAME
) $(DESTDIR
)$(bindir); \
573 $(RM
) $(DESTDIR
)$(libdir)/libntk_gl.dll.a
;\
574 $(INSTALL_LIB
) libntk_gl.dll.a
$(DESTDIR
)$(libdir); \
576 if
test x
$(IMGDSONAME
) = xlibntk_images.so
.1.3; then\
577 $(RM
) $(DESTDIR
)$(libdir)/libntk_images.so
*;\
578 $(INSTALL_LIB
) libntk_images.so
.1.3 $(DESTDIR
)$(libdir); \
579 $(LN
) libntk_images.so
.1.3 $(DESTDIR
)$(libdir)/libntk_images.so
;\
581 if
test x
$(IMGDSONAME
) = xlibntk_images.sl
.1.3; then\
582 $(RM
) $(DESTDIR
)$(libdir)/libntk_images.sl
*;\
583 $(INSTALL_LIB
) libntk_images.sl
.1.3 $(DESTDIR
)$(libdir); \
584 $(LN
) libntk_images.sl
.1.3 $(DESTDIR
)$(libdir)/libntk_images.sl
;\
586 if
test x
$(IMGDSONAME
) = xlibntk_images
.1.3.dylib
; then\
587 $(RM
) $(DESTDIR
)$(libdir)/libntk_images.
*dylib
;\
588 $(INSTALL_LIB
) libntk_images
.1.3.dylib
$(DESTDIR
)$(libdir); \
589 $(LN
) libntk_images
.1.3.dylib
$(DESTDIR
)$(libdir)/libntk_images.dylib
;\
591 if
test x
$(IMGDSONAME
) = xlibntk_images_s.a
; then\
592 $(RM
) $(DESTDIR
)$(libdir)/libntk_images_s.a
;\
593 $(INSTALL_LIB
) libntk_images_s.a
$(DESTDIR
)$(libdir); \
595 if
test x
$(IMGDSONAME
) = xcygntknox_images-1.3.dll
; then\
596 $(RM
) $(DESTDIR
)$(bindir)/$(IMGDSONAME
); \
597 $(INSTALL_LIB
) $(IMGDSONAME
) $(DESTDIR
)$(bindir); \
598 $(RM
) $(DESTDIR
)$(libdir)/libntk_images.dll.a
;\
599 $(INSTALL_LIB
) libntk_images.dll.a
$(DESTDIR
)$(libdir); \
601 if
test x
$(IMGDSONAME
) = xmgwntknox_images-1.3.dll
; then\
602 $(RM
) $(DESTDIR
)$(bindir)/$(IMGDSONAME
); \
603 $(INSTALL_LIB
) $(IMGDSONAME
) $(DESTDIR
)$(bindir); \
604 $(RM
) $(DESTDIR
)$(libdir)/libntk_images.dll.a
;\
605 $(INSTALL_LIB
) libntk_images.dll.a
$(DESTDIR
)$(libdir); \
610 echo
"Uninstalling libraries..."
611 $(RM
) $(DESTDIR
)$(libdir)/$(LIBBASENAME
)
612 if
test x
$(DSONAME
) = xlibntk.so
.1.3; then\
613 $(RM
) $(DESTDIR
)$(libdir)/libntk.so
*;\
615 if
test x
$(DSONAME
) = xlibntk.sl
.1.3; then\
616 $(RM
) $(DESTDIR
)$(libdir)/libntk.sl
*;\
618 if
test x
$(DSONAME
) = xlibntk
.1.3.dylib
; then\
619 $(RM
) $(DESTDIR
)$(libdir)/libntk.
*dylib
;\
621 if
test x
$(DSONAME
) = xlibntk_s.a
; then\
622 $(RM
) $(DESTDIR
)$(libdir)/libntk_s.a
;\
624 if
test x
$(DSONAME
) = xcygntknox-1.3.dll
; then\
625 $(RM
) $(DESTDIR
)$(bindir)/$(DSONAME
); \
626 $(RM
) $(DESTDIR
)$(libdir)/libntk.dll.a
;\
628 if
test x
$(DSONAME
) = xcygntk-1.3.dll
; then\
629 $(RM
) $(DESTDIR
)$(bindir)/$(DSONAME
); \
630 $(RM
) $(DESTDIR
)$(libdir)/libntk.dll.a
;\
632 if
test x
$(DSONAME
) = xmgwntknox-1.3.dll
; then\
633 $(RM
) $(DESTDIR
)$(bindir)/$(DSONAME
); \
634 $(RM
) $(DESTDIR
)$(libdir)/libntk.dll.a
;\
636 if
test x
$(GLLIBNAME
) != x
; then\
637 $(RM
) $(DESTDIR
)$(libdir)/$(GLLIBBASENAME
);\
639 if
test x
$(GLDSONAME
) = xlibntk_gl.so
.1.3; then\
640 $(RM
) $(DESTDIR
)$(libdir)/libntk_gl.so
*;\
642 if
test x
$(GLDSONAME
) = xlibntk_gl.sl
.1.3; then\
643 $(RM
) $(DESTDIR
)$(libdir)/libntk_gl.sl
*;\
645 if
test x
$(GLDSONAME
) = xlibntk_gl
.1.3.dylib
; then\
646 $(RM
) $(DESTDIR
)$(libdir)/libntk_gl.
*dylib
;\
648 if
test x
$(GLDSONAME
) = xlibntk_gl_s.a
; then\
649 $(RM
) $(DESTDIR
)$(libdir)/libntk_gl_s.a
;\
651 if
test x
$(GLDSONAME
) = xcygntknox_gl-1.3.dll
; then\
652 $(RM
) $(DESTDIR
)$(bindir)/$(GLDSONAME
); \
653 $(RM
) $(DESTDIR
)$(libdir)/libntk_gl.dll.a
;\
655 if
test x
$(GLDSONAME
) = xcygntk_gl-1.3.dll
; then\
656 $(RM
) $(DESTDIR
)$(bindir)/$(GLDSONAME
); \
657 $(RM
) $(DESTDIR
)$(libdir)/libntk_gl.dll.a
;\
659 if
test x
$(GLDSONAME
) = xmgwntknox_gl-1.3.dll
; then\
660 $(RM
) $(DESTDIR
)$(bindir)/$(GLDSONAME
); \
661 $(RM
) $(DESTDIR
)$(libdir)/libntk_gl.dll.a
;\
663 if
test x
$(IMGLIBNAME
) != x
; then\
664 $(RM
) $(DESTDIR
)$(libdir)/$(IMGLIBBASENAME
);\
666 if
test x
$(IMGDSONAME
) = xlibntk_images.so
.1.3; then\
667 $(RM
) $(DESTDIR
)$(libdir)/libntk_images.so
*;\
669 if
test x
$(IMGDSONAME
) = xlibntk_images.sl
.1.3; then\
670 $(RM
) $(DESTDIR
)$(libdir)/libntk_images.sl
*;\
672 if
test x
$(IMGDSONAME
) = xlibntk_images
.1.3.dylib
; then\
673 $(RM
) $(DESTDIR
)$(libdir)/libntk_images.
*dylib
;\
675 if
test x
$(IMGDSONAME
) = xlibntk_images_s.a
; then\
676 $(RM
) $(DESTDIR
)$(libdir)/libntk_images_s.a
;\
678 if
test x
$(IMGDSONAME
) = xcygntknox_images-1.3.dll
; then\
679 $(RM
) $(DESTDIR
)$(bindir)/$(IMGDSONAME
); \
680 $(RM
) $(DESTDIR
)$(libdir)/libntk_images.dll.a
;\
682 if
test x
$(IMGDSONAME
) = xcygntk_images-1.3.dll
; then\
683 $(RM
) $(DESTDIR
)$(bindir)/$(IMGDSONAME
); \
684 $(RM
) $(DESTDIR
)$(libdir)/libntk_images.dll.a
;\
686 if
test x
$(IMGDSONAME
) = xmgwntknox_images-1.3.dll
; then\
687 $(RM
) $(DESTDIR
)$(bindir)/$(IMGDSONAME
); \
688 $(RM
) $(DESTDIR
)$(libdir)/libntk_images.dll.a
;\
692 # End of "$Id: Makefile 8389 2011-02-06 14:08:08Z manolo $".