1998-10-21 01:06:19 +04:00
|
|
|
#
|
2005-02-25 00:55:12 +03:00
|
|
|
# "$Id$"
|
1998-10-21 01:06:19 +04:00
|
|
|
#
|
|
|
|
# Library makefile for the Fast Light Tool Kit (FLTK).
|
|
|
|
#
|
2006-09-17 18:58:25 +04:00
|
|
|
# Copyright 1998-2006 by Bill Spitzak and others.
|
1998-10-21 01:06:19 +04:00
|
|
|
#
|
|
|
|
# This library is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU Library General Public
|
|
|
|
# License as published by the Free Software Foundation; either
|
|
|
|
# version 2 of the License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This library is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
# Library General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU Library General Public
|
|
|
|
# License along with this library; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
|
|
|
# USA.
|
|
|
|
#
|
2005-04-16 04:13:17 +04:00
|
|
|
# Please report all bugs and problems on the following page:
|
|
|
|
#
|
|
|
|
# http://www.fltk.org/str.php
|
1998-10-21 01:06:19 +04:00
|
|
|
#
|
|
|
|
|
1998-10-06 22:21:25 +04:00
|
|
|
CPPFILES = \
|
1998-12-06 17:59:14 +03:00
|
|
|
Fl.cxx \
|
|
|
|
Fl_Adjuster.cxx \
|
|
|
|
Fl_Bitmap.cxx \
|
|
|
|
Fl_Browser.cxx \
|
|
|
|
Fl_Browser_.cxx \
|
|
|
|
Fl_Browser_load.cxx \
|
|
|
|
Fl_Box.cxx \
|
|
|
|
Fl_Button.cxx \
|
|
|
|
Fl_Chart.cxx \
|
2001-08-11 18:49:51 +04:00
|
|
|
Fl_Check_Browser.cxx \
|
1998-12-06 17:59:14 +03:00
|
|
|
Fl_Check_Button.cxx \
|
|
|
|
Fl_Choice.cxx \
|
|
|
|
Fl_Clock.cxx \
|
|
|
|
Fl_Color_Chooser.cxx \
|
|
|
|
Fl_Counter.cxx \
|
|
|
|
Fl_Dial.cxx \
|
|
|
|
Fl_Double_Window.cxx \
|
2001-09-29 18:38:59 +04:00
|
|
|
Fl_File_Browser.cxx \
|
|
|
|
Fl_File_Chooser.cxx \
|
|
|
|
Fl_File_Chooser2.cxx \
|
|
|
|
Fl_File_Icon.cxx \
|
2002-05-01 01:50:16 +04:00
|
|
|
Fl_File_Input.cxx \
|
1998-12-06 17:59:14 +03:00
|
|
|
Fl_Group.cxx \
|
2001-09-29 18:38:59 +04:00
|
|
|
Fl_Help_View.cxx \
|
1998-12-06 17:59:14 +03:00
|
|
|
Fl_Image.cxx \
|
|
|
|
Fl_Input.cxx \
|
|
|
|
Fl_Input_.cxx \
|
|
|
|
Fl_Light_Button.cxx \
|
|
|
|
Fl_Menu.cxx \
|
|
|
|
Fl_Menu_.cxx \
|
|
|
|
Fl_Menu_Bar.cxx \
|
2004-03-11 08:17:12 +03:00
|
|
|
Fl_Sys_Menu_Bar.cxx \
|
1998-12-06 17:59:14 +03:00
|
|
|
Fl_Menu_Button.cxx \
|
|
|
|
Fl_Menu_Window.cxx \
|
|
|
|
Fl_Menu_add.cxx \
|
|
|
|
Fl_Menu_global.cxx \
|
|
|
|
Fl_Multi_Label.cxx \
|
|
|
|
Fl_Overlay_Window.cxx \
|
|
|
|
Fl_Pack.cxx \
|
|
|
|
Fl_Pixmap.cxx \
|
|
|
|
Fl_Positioner.cxx \
|
2002-04-28 20:41:17 +04:00
|
|
|
Fl_Preferences.cxx \
|
2001-08-11 18:49:51 +04:00
|
|
|
Fl_Progress.cxx \
|
1998-12-06 17:59:14 +03:00
|
|
|
Fl_Repeat_Button.cxx \
|
|
|
|
Fl_Return_Button.cxx \
|
|
|
|
Fl_Roller.cxx \
|
|
|
|
Fl_Round_Button.cxx \
|
|
|
|
Fl_Scroll.cxx \
|
|
|
|
Fl_Scrollbar.cxx \
|
2001-11-24 05:46:19 +03:00
|
|
|
Fl_Shared_Image.cxx \
|
1998-12-06 17:59:14 +03:00
|
|
|
Fl_Single_Window.cxx \
|
|
|
|
Fl_Slider.cxx \
|
|
|
|
Fl_Tabs.cxx \
|
2001-08-04 16:21:34 +04:00
|
|
|
Fl_Text_Buffer.cxx \
|
|
|
|
Fl_Text_Display.cxx \
|
|
|
|
Fl_Text_Editor.cxx \
|
1998-12-06 17:59:14 +03:00
|
|
|
Fl_Tile.cxx \
|
2001-11-24 21:07:58 +03:00
|
|
|
Fl_Tiled_Image.cxx \
|
2001-08-02 01:24:49 +04:00
|
|
|
Fl_Tooltip.cxx \
|
1998-12-06 17:59:14 +03:00
|
|
|
Fl_Valuator.cxx \
|
|
|
|
Fl_Value_Input.cxx \
|
|
|
|
Fl_Value_Output.cxx \
|
|
|
|
Fl_Value_Slider.cxx \
|
|
|
|
Fl_Widget.cxx \
|
|
|
|
Fl_Window.cxx \
|
|
|
|
Fl_Window_fullscreen.cxx \
|
|
|
|
Fl_Window_hotspot.cxx \
|
|
|
|
Fl_Window_iconize.cxx \
|
2001-08-02 22:39:01 +04:00
|
|
|
Fl_Wizard.cxx \
|
2001-11-24 21:07:58 +03:00
|
|
|
Fl_XBM_Image.cxx \
|
|
|
|
Fl_XPM_Image.cxx \
|
1998-12-06 17:59:14 +03:00
|
|
|
Fl_abort.cxx \
|
|
|
|
Fl_add_idle.cxx \
|
|
|
|
Fl_arg.cxx \
|
2000-02-21 13:30:00 +03:00
|
|
|
Fl_compose.cxx \
|
1998-12-06 17:59:14 +03:00
|
|
|
Fl_display.cxx \
|
|
|
|
Fl_get_key.cxx \
|
|
|
|
Fl_get_system_colors.cxx \
|
1999-02-03 11:43:35 +03:00
|
|
|
Fl_grab.cxx \
|
2001-12-07 01:16:49 +03:00
|
|
|
Fl_lock.cxx \
|
1998-12-06 17:59:14 +03:00
|
|
|
Fl_own_colormap.cxx \
|
|
|
|
Fl_visual.cxx \
|
|
|
|
Fl_x.cxx \
|
|
|
|
filename_absolute.cxx \
|
|
|
|
filename_expand.cxx \
|
|
|
|
filename_ext.cxx \
|
|
|
|
filename_isdir.cxx \
|
|
|
|
filename_list.cxx \
|
|
|
|
filename_match.cxx \
|
|
|
|
filename_setext.cxx \
|
|
|
|
fl_arc.cxx \
|
|
|
|
fl_arci.cxx \
|
|
|
|
fl_ask.cxx \
|
|
|
|
fl_boxtype.cxx \
|
|
|
|
fl_color.cxx \
|
|
|
|
fl_cursor.cxx \
|
|
|
|
fl_curve.cxx \
|
|
|
|
fl_diamond_box.cxx \
|
2002-02-26 03:34:55 +03:00
|
|
|
fl_dnd.cxx \
|
1998-12-06 17:59:14 +03:00
|
|
|
fl_draw.cxx \
|
|
|
|
fl_draw_image.cxx \
|
|
|
|
fl_draw_pixmap.cxx \
|
2006-04-18 17:07:42 +04:00
|
|
|
fl_encoding_latin1.cxx \
|
|
|
|
fl_encoding_mac_roman.cxx \
|
1998-12-06 17:59:14 +03:00
|
|
|
fl_engraved_label.cxx \
|
2001-09-30 16:30:13 +04:00
|
|
|
fl_file_dir.cxx \
|
1998-12-06 17:59:14 +03:00
|
|
|
fl_font.cxx \
|
2006-09-17 18:58:25 +04:00
|
|
|
fl_gtk.cxx \
|
1998-12-06 17:59:14 +03:00
|
|
|
fl_labeltype.cxx \
|
2000-05-14 00:03:20 +04:00
|
|
|
fl_line_style.cxx \
|
1998-12-06 17:59:14 +03:00
|
|
|
fl_oval_box.cxx \
|
|
|
|
fl_overlay.cxx \
|
|
|
|
fl_overlay_visual.cxx \
|
2001-11-29 00:37:35 +03:00
|
|
|
fl_plastic.cxx \
|
2002-05-30 19:09:03 +04:00
|
|
|
fl_read_image.cxx \
|
1998-12-06 17:59:14 +03:00
|
|
|
fl_rect.cxx \
|
|
|
|
fl_round_box.cxx \
|
|
|
|
fl_rounded_box.cxx \
|
|
|
|
fl_set_font.cxx \
|
|
|
|
fl_set_fonts.cxx \
|
|
|
|
fl_scroll_area.cxx \
|
|
|
|
fl_shadow_box.cxx \
|
|
|
|
fl_shortcut.cxx \
|
|
|
|
fl_show_colormap.cxx \
|
|
|
|
fl_symbols.cxx \
|
2005-03-31 20:01:24 +04:00
|
|
|
fl_vertex.cxx \
|
|
|
|
screen_xywh.cxx
|
2002-03-26 00:39:01 +03:00
|
|
|
|
|
|
|
FLCPPFILES = \
|
1998-12-06 17:59:14 +03:00
|
|
|
forms_compatability.cxx \
|
|
|
|
forms_bitmap.cxx \
|
|
|
|
forms_free.cxx \
|
|
|
|
forms_fselect.cxx \
|
|
|
|
forms_pixmap.cxx \
|
2001-08-02 22:08:36 +04:00
|
|
|
forms_timer.cxx
|
|
|
|
|
|
|
|
GLCPPFILES = \
|
|
|
|
Fl_Gl_Choice.cxx \
|
|
|
|
Fl_Gl_Overlay.cxx \
|
|
|
|
Fl_Gl_Window.cxx \
|
1998-12-06 17:59:14 +03:00
|
|
|
gl_draw.cxx \
|
|
|
|
gl_start.cxx \
|
|
|
|
glut_compatability.cxx \
|
|
|
|
glut_font.cxx
|
1998-10-06 22:21:25 +04:00
|
|
|
|
2002-06-29 01:04:37 +04:00
|
|
|
IMGCPPFILES = \
|
|
|
|
fl_images_core.cxx \
|
2002-08-09 05:09:49 +04:00
|
|
|
Fl_BMP_Image.cxx \
|
2002-06-29 01:04:37 +04:00
|
|
|
Fl_File_Icon2.cxx \
|
2002-08-09 05:09:49 +04:00
|
|
|
Fl_GIF_Image.cxx \
|
2002-09-16 05:35:34 +04:00
|
|
|
Fl_Help_Dialog.cxx \
|
2002-06-29 01:04:37 +04:00
|
|
|
Fl_JPEG_Image.cxx \
|
2002-08-09 05:09:49 +04:00
|
|
|
Fl_PNG_Image.cxx \
|
|
|
|
Fl_PNM_Image.cxx
|
2002-06-29 01:04:37 +04:00
|
|
|
|
2002-05-16 16:47:44 +04:00
|
|
|
CFILES = fl_call_main.c flstring.c scandir.c numericsort.c vsnprintf.c
|
1998-10-06 22:21:25 +04:00
|
|
|
|
|
|
|
################################################################
|
|
|
|
|
|
|
|
include ../makeinclude
|
|
|
|
|
1998-12-06 17:59:14 +03:00
|
|
|
OBJECTS = $(CPPFILES:.cxx=.o) $(CFILES:.c=.o)
|
2001-08-02 22:08:36 +04:00
|
|
|
GLOBJECTS = $(GLCPPFILES:.cxx=.o)
|
2002-03-26 00:39:01 +03:00
|
|
|
FLOBJECTS = $(FLCPPFILES:.cxx=.o)
|
2002-06-29 01:04:37 +04:00
|
|
|
IMGOBJECTS = $(IMGCPPFILES:.cxx=.o)
|
1998-10-06 22:21:25 +04:00
|
|
|
|
2002-06-29 01:04:37 +04:00
|
|
|
all: $(LIBNAME) $(DSONAME) \
|
|
|
|
$(FLLIBNAME) $(FLDSONAME) \
|
|
|
|
$(GLLIBNAME) $(GLDSONAME) \
|
|
|
|
$(IMGLIBNAME) $(IMGDSONAME)
|
1999-03-09 21:32:44 +03:00
|
|
|
|
2001-08-02 22:08:36 +04:00
|
|
|
$(LIBNAME): $(OBJECTS)
|
2000-04-26 02:17:00 +04:00
|
|
|
echo $(LIBCOMMAND) $@ ...
|
2004-07-23 23:26:27 +04:00
|
|
|
$(RM) $@
|
2000-04-26 02:17:00 +04:00
|
|
|
$(LIBCOMMAND) $@ $(OBJECTS)
|
|
|
|
$(RANLIB) $@
|
1999-03-09 21:32:44 +03:00
|
|
|
|
2002-07-14 21:03:31 +04:00
|
|
|
libfltk.so.1.1: $(OBJECTS)
|
2000-04-26 02:17:00 +04:00
|
|
|
echo $(DSOCOMMAND) $@ ...
|
2003-06-15 09:37:32 +04:00
|
|
|
$(DSOCOMMAND) $@ $(OBJECTS)
|
2004-07-23 23:26:27 +04:00
|
|
|
$(RM) libfltk.so
|
2002-07-14 21:03:31 +04:00
|
|
|
$(LN) libfltk.so.1.1 libfltk.so
|
|
|
|
|
|
|
|
libfltk.sl.1.1: $(OBJECTS)
|
|
|
|
echo $(DSOCOMMAND) $@ ...
|
2003-06-15 09:37:32 +04:00
|
|
|
$(DSOCOMMAND) $@ $(OBJECTS)
|
2004-07-23 23:26:27 +04:00
|
|
|
$(RM) libfltk.sl
|
2002-07-14 21:03:31 +04:00
|
|
|
$(LN) libfltk.sl.1.1 libfltk.sl
|
|
|
|
|
|
|
|
libfltk.1.1.dylib: $(OBJECTS)
|
|
|
|
echo $(DSOCOMMAND) $@ ...
|
2003-06-15 09:37:32 +04:00
|
|
|
$(DSOCOMMAND) $@ \
|
|
|
|
-install_name $(libdir)/$@ \
|
|
|
|
-current_version 1.1.4 \
|
|
|
|
-compatibility_version 1.1.0 \
|
|
|
|
$(OBJECTS) $(LDLIBS)
|
2004-07-23 23:26:27 +04:00
|
|
|
$(RM) libfltk.dylib
|
2002-07-14 21:03:31 +04:00
|
|
|
$(LN) libfltk.1.1.dylib libfltk.dylib
|
1998-10-06 22:21:25 +04:00
|
|
|
|
2001-08-02 22:08:36 +04:00
|
|
|
libfltk_s.a: $(OBJECTS)
|
|
|
|
echo $(DSOCOMMAND) libfltk_s.o ...
|
2001-08-02 23:43:49 +04:00
|
|
|
$(DSOCOMMAND) libfltk_s.o $(OBJECTS) $(IMAGELIBS)
|
2001-08-02 22:08:36 +04:00
|
|
|
echo $(LIBCOMMAND) libfltk_s.a libfltk_s.o
|
2004-07-23 23:26:27 +04:00
|
|
|
$(RM) $@
|
2001-08-02 22:08:36 +04:00
|
|
|
$(LIBCOMMAND) libfltk_s.a libfltk_s.o
|
2002-07-14 21:03:31 +04:00
|
|
|
$(CHMOD) +x libfltk_s.a
|
2001-08-02 22:08:36 +04:00
|
|
|
|
2002-03-26 00:39:01 +03:00
|
|
|
$(FLLIBNAME): $(FLOBJECTS)
|
|
|
|
echo $(LIBCOMMAND) $@ ...
|
2004-07-23 23:26:27 +04:00
|
|
|
$(RM) $@
|
2002-03-26 00:39:01 +03:00
|
|
|
$(LIBCOMMAND) $@ $(FLOBJECTS)
|
|
|
|
$(RANLIB) $@
|
|
|
|
|
2003-08-24 17:09:06 +04:00
|
|
|
libfltk_forms.so.1.1: $(FLOBJECTS) libfltk.so.1.1
|
2002-07-14 21:03:31 +04:00
|
|
|
echo $(DSOCOMMAND) $@ ...
|
2003-08-24 17:09:06 +04:00
|
|
|
$(DSOCOMMAND) $@ $(FLOBJECTS) -L. -lfltk
|
2004-07-23 23:26:27 +04:00
|
|
|
$(RM) libfltk_forms.so
|
2002-07-14 21:03:31 +04:00
|
|
|
$(LN) libfltk_forms.so.1.1 libfltk_forms.so
|
|
|
|
|
2003-08-24 17:09:06 +04:00
|
|
|
libfltk_forms.sl.1.1: $(FLOBJECTS) libfltk.sl.1.1
|
2002-07-14 21:03:31 +04:00
|
|
|
echo $(DSOCOMMAND) $@ ...
|
2003-08-24 17:09:06 +04:00
|
|
|
$(DSOCOMMAND) $@ $(FLOBJECTS) -L. -lfltk
|
2004-07-23 23:26:27 +04:00
|
|
|
$(RM) libfltk_forms.sl
|
2002-07-14 21:03:31 +04:00
|
|
|
$(LN) libfltk_forms.sl.1.1 libfltk_forms.sl
|
|
|
|
|
2003-08-24 17:09:06 +04:00
|
|
|
libfltk_forms.1.1.dylib: $(FLOBJECTS) libfltk.1.1.dylib
|
2002-03-26 00:39:01 +03:00
|
|
|
echo $(DSOCOMMAND) $@ ...
|
2003-06-15 09:37:32 +04:00
|
|
|
$(DSOCOMMAND) $@ \
|
|
|
|
-install_name $(libdir)/$@ \
|
|
|
|
-current_version 1.1.4 \
|
|
|
|
-compatibility_version 1.1.0 \
|
2004-11-20 06:19:59 +03:00
|
|
|
$(FLOBJECTS) -L. $(LDLIBS) -lfltk
|
2004-07-23 23:26:27 +04:00
|
|
|
$(RM) libfltk_forms.dylib
|
2002-07-14 21:03:31 +04:00
|
|
|
$(LN) libfltk_forms.1.1.dylib libfltk_forms.dylib
|
2002-03-26 00:39:01 +03:00
|
|
|
|
|
|
|
libfltk_forms_s.a: $(FLOBJECTS)
|
|
|
|
echo $(DSOCOMMAND) libfltk_forms_s.o ...
|
|
|
|
$(DSOCOMMAND) libfltk_forms_s.o $(FLOBJECTS)
|
|
|
|
echo $(LIBCOMMAND) libfltk_forms_s.a libfltk_forms_s.o
|
2004-07-23 23:26:27 +04:00
|
|
|
$(RM) $@
|
2002-03-26 00:39:01 +03:00
|
|
|
$(LIBCOMMAND) libfltk_forms_s.a libfltk_forms_s.o
|
2002-07-14 21:03:31 +04:00
|
|
|
$(CHMOD) +x libfltk_forms_s.a
|
2002-03-26 00:39:01 +03:00
|
|
|
|
2001-08-02 22:08:36 +04:00
|
|
|
$(GLLIBNAME): $(GLOBJECTS)
|
|
|
|
echo $(LIBCOMMAND) $@ ...
|
2004-07-23 23:26:27 +04:00
|
|
|
$(RM) $@
|
2001-08-02 22:08:36 +04:00
|
|
|
$(LIBCOMMAND) $@ $(GLOBJECTS)
|
|
|
|
$(RANLIB) $@
|
|
|
|
|
2003-08-24 17:09:06 +04:00
|
|
|
libfltk_gl.so.1.1: $(GLOBJECTS) libfltk.so.1.1
|
2001-08-02 22:08:36 +04:00
|
|
|
echo $(DSOCOMMAND) $@ ...
|
2003-08-24 17:09:06 +04:00
|
|
|
$(DSOCOMMAND) $@ $(GLOBJECTS) -L. -lfltk
|
2004-07-23 23:26:27 +04:00
|
|
|
$(RM) libfltk_gl.so
|
2002-07-14 21:03:31 +04:00
|
|
|
$(LN) libfltk_gl.so.1.1 libfltk_gl.so
|
|
|
|
|
2003-08-24 17:09:06 +04:00
|
|
|
libfltk_gl.sl.1.1: $(GLOBJECTS) libfltk.sl.1.1
|
2002-07-14 21:03:31 +04:00
|
|
|
echo $(DSOCOMMAND) $@ ...
|
2003-08-24 17:09:06 +04:00
|
|
|
$(DSOCOMMAND) $@ $(GLOBJECTS) -L. -lfltk
|
2004-07-23 23:26:27 +04:00
|
|
|
$(RM) libfltk_gl.sl
|
2002-07-14 21:03:31 +04:00
|
|
|
$(LN) libfltk_gl.sl.1.1 libfltk_gl.sl
|
|
|
|
|
2003-08-24 17:09:06 +04:00
|
|
|
libfltk_gl.1.1.dylib: $(GLOBJECTS) libfltk.1.1.dylib
|
2002-07-14 21:03:31 +04:00
|
|
|
echo $(DSOCOMMAND) $@ ...
|
2003-06-15 09:37:32 +04:00
|
|
|
$(DSOCOMMAND) $@ \
|
|
|
|
-install_name $(libdir)/$@ \
|
|
|
|
-current_version 1.1.4 \
|
|
|
|
-compatibility_version 1.1.0 \
|
2004-11-20 06:19:59 +03:00
|
|
|
$(GLOBJECTS) -L. $(GLDLIBS) -lfltk
|
2004-07-23 23:26:27 +04:00
|
|
|
$(RM) libfltk_gl.dylib
|
2002-07-14 21:03:31 +04:00
|
|
|
$(LN) libfltk_gl.1.1.dylib libfltk_gl.dylib
|
2001-08-02 22:08:36 +04:00
|
|
|
|
2001-09-29 19:57:32 +04:00
|
|
|
libfltk_gl_s.a: $(GLOBJECTS)
|
|
|
|
echo $(DSOCOMMAND) libfltk_gl_s.o ...
|
|
|
|
$(DSOCOMMAND) libfltk_gl_s.o $(GLOBJECTS)
|
|
|
|
echo $(LIBCOMMAND) libfltk_gl_s.a libfltk_gl_s.o
|
2004-07-23 23:26:27 +04:00
|
|
|
$(RM) $@
|
2001-09-29 19:57:32 +04:00
|
|
|
$(LIBCOMMAND) libfltk_gl_s.a libfltk_gl_s.o
|
2002-07-14 21:03:31 +04:00
|
|
|
$(CHMOD) +x libfltk_gl_s.a
|
2001-08-02 22:08:36 +04:00
|
|
|
|
2002-06-29 01:04:37 +04:00
|
|
|
$(IMGLIBNAME): $(IMGOBJECTS)
|
|
|
|
echo $(LIBCOMMAND) $@ ...
|
2004-07-23 23:26:27 +04:00
|
|
|
$(RM) $@
|
2002-06-29 01:04:37 +04:00
|
|
|
$(LIBCOMMAND) $@ $(IMGOBJECTS)
|
|
|
|
$(RANLIB) $@
|
|
|
|
|
2003-08-24 17:09:06 +04:00
|
|
|
libfltk_images.so.1.1: $(IMGOBJECTS) libfltk.so.1.1
|
2002-07-14 21:03:31 +04:00
|
|
|
echo $(DSOCOMMAND) $@ ...
|
2005-08-08 04:44:38 +04:00
|
|
|
$(DSOCOMMAND) $@ $(IMGOBJECTS) -L. $(IMAGELIBS) -lfltk
|
2004-07-23 23:26:27 +04:00
|
|
|
$(RM) libfltk_images.so
|
2002-07-14 21:03:31 +04:00
|
|
|
$(LN) libfltk_images.so.1.1 libfltk_images.so
|
|
|
|
|
2003-08-24 17:09:06 +04:00
|
|
|
libfltk_images.sl.1.1: $(IMGOBJECTS) libfltk.sl.1.1
|
2002-07-14 21:03:31 +04:00
|
|
|
echo $(DSOCOMMAND) $@ ...
|
2005-08-08 04:44:38 +04:00
|
|
|
$(DSOCOMMAND) $@ $(IMGOBJECTS) -L. $(IMAGELIBS) -lfltk
|
2004-07-23 23:26:27 +04:00
|
|
|
$(RM) libfltk_images.sl
|
2002-07-14 21:03:31 +04:00
|
|
|
$(LN) libfltk_images.sl.1.1 libfltk_images.sl
|
|
|
|
|
2003-08-24 17:09:06 +04:00
|
|
|
libfltk_images.1.1.dylib: $(IMGOBJECTS) libfltk.1.1.dylib
|
2002-06-29 01:04:37 +04:00
|
|
|
echo $(DSOCOMMAND) $@ ...
|
2003-06-15 09:37:32 +04:00
|
|
|
$(DSOCOMMAND) $@ \
|
|
|
|
-install_name $(libdir)/$@ \
|
|
|
|
-current_version 1.1.4 \
|
|
|
|
-compatibility_version 1.1.0 \
|
2006-08-12 15:05:04 +04:00
|
|
|
$(IMGOBJECTS) -L. $(LDLIBS) $(IMAGELIBS) -lfltk
|
2004-07-23 23:26:27 +04:00
|
|
|
$(RM) libfltk_images.dylib
|
2002-07-14 21:03:31 +04:00
|
|
|
$(LN) libfltk_images.1.1.dylib libfltk_images.dylib
|
2002-06-29 01:04:37 +04:00
|
|
|
|
|
|
|
libfltk_images_s.a: $(IMGOBJECTS)
|
|
|
|
echo $(DSOCOMMAND) libfltk_images_s.o ...
|
|
|
|
$(DSOCOMMAND) libfltk_images_s.o $(IMGOBJECTS)
|
|
|
|
echo $(LIBCOMMAND) libfltk_images_s.a libfltk_images_s.o
|
2004-07-23 23:26:27 +04:00
|
|
|
$(RM) $@
|
2002-06-29 01:04:37 +04:00
|
|
|
$(LIBCOMMAND) libfltk_images_s.a libfltk_images_s.o
|
2002-07-14 21:03:31 +04:00
|
|
|
$(CHMOD) +x libfltk_images_s.a
|
2002-06-29 01:04:37 +04:00
|
|
|
|
2005-08-08 04:54:30 +04:00
|
|
|
cygfltknox-1.1.dll:
|
|
|
|
echo $(DSOCOMMAND) ../lib/libfltk.a ...
|
|
|
|
$(DSOCOMMAND) ../lib/libfltk.a -Wl,--no-whole-archive \
|
|
|
|
-Wl,--out-implib=libfltk.dll.a $(LDLIBS)
|
|
|
|
|
|
|
|
cygfltknox_forms-1.1.dll:
|
|
|
|
echo $(DSOCOMMAND) ../lib/libfltk_forms.a ...
|
|
|
|
$(DSOCOMMAND) ../lib/libfltk_forms.a -Wl,--no-whole-archive \
|
|
|
|
-Wl,--out-implib=libfltk_forms.dll.a \
|
|
|
|
-L../lib -lfltk $(LDLIBS)
|
|
|
|
|
|
|
|
cygfltknox_gl-1.1.dll:
|
|
|
|
echo $(DSOCOMMAND) ../lib/libfltk_gl.a ...
|
|
|
|
$(DSOCOMMAND) ../lib/libfltk_gl.a -Wl,--no-whole-archive \
|
|
|
|
-Wl,--out-implib=libfltk_gl.dll.a \
|
|
|
|
-L../lib -lfltk $(GLDLIBS)
|
|
|
|
|
|
|
|
cygfltknox_images-1.1.dll:
|
|
|
|
echo $(DSOCOMMAND) ../lib/libfltk_images ...
|
|
|
|
$(DSOCOMMAND) ../lib/libfltk_images.a -Wl,--no-whole-archive \
|
|
|
|
-Wl,--out-implib=libfltk_images.dll.a \
|
|
|
|
-L../lib -lfltk -ljpeg -lpng -lz $(LDLIBS)
|
|
|
|
|
|
|
|
mgwfltknox-1.1.dll:
|
|
|
|
echo $(DSOCOMMAND) ../lib/libfltk.a ...
|
|
|
|
$(DSOCOMMAND) ../lib/libfltk.a -Wl,--no-whole-archive \
|
|
|
|
-Wl,--out-implib=libfltk.dll.a $(LDLIBS)
|
|
|
|
|
|
|
|
mgwfltknox_forms-1.1.dll:
|
|
|
|
echo $(DSOCOMMAND) ../lib/libfltk_forms.a ...
|
|
|
|
$(DSOCOMMAND) ../lib/libfltk_forms.a -Wl,--no-whole-archive \
|
|
|
|
-Wl,--out-implib=libfltk_forms.dll.a \
|
|
|
|
-L../lib -lfltk $(LDLIBS)
|
|
|
|
|
|
|
|
mgwfltknox_gl-1.1.dll:
|
|
|
|
echo $(DSOCOMMAND) ../lib/libfltk_gl.a ...
|
|
|
|
$(DSOCOMMAND) ../lib/libfltk_gl.a -Wl,--no-whole-archive \
|
|
|
|
-Wl,--out-implib=libfltk_gl.dll.a \
|
|
|
|
-L../lib -lfltk $(GLDLIBS)
|
|
|
|
|
|
|
|
mgwfltknox_images-1.1.dll:
|
|
|
|
echo $(DSOCOMMAND) ../lib/libfltk_images ...
|
|
|
|
$(DSOCOMMAND) ../lib/libfltk_images.a -Wl,--no-whole-archive \
|
|
|
|
-Wl,--out-implib=libfltk_images.dll.a \
|
|
|
|
-L../lib -lfltk -ljpeg -lpng -lz $(LDLIBS)
|
2002-06-29 01:04:37 +04:00
|
|
|
|
2005-04-16 04:01:49 +04:00
|
|
|
clean:
|
|
|
|
-$(RM) *.o core.* *~ *.bck *.bck
|
|
|
|
-$(RM) $(DSONAME) $(FLDSONAME) $(GLDSONAME) $(IMGDSONAME) \
|
2002-05-08 16:44:52 +04:00
|
|
|
../lib/$(LIBNAME) ../lib/$(FLLIBNAME) ../lib/$(GLLIBNAME) \
|
2002-07-14 21:03:31 +04:00
|
|
|
../lib/$(IMGLIBNAME) \
|
2002-06-29 01:04:37 +04:00
|
|
|
libfltk.so libfltk_forms.so libfltk_gl.so libfltk_images.so \
|
|
|
|
libfltk.sl libfltk_forms.sl libfltk_gl.sl libfltk_images.sl \
|
2002-07-14 21:03:31 +04:00
|
|
|
libfltk.dylib libfltk_forms.dylib \
|
|
|
|
libfltk_gl.dylib libfltk_images.dylib \
|
2005-04-16 04:01:49 +04:00
|
|
|
cmap core
|
1998-10-06 22:21:25 +04:00
|
|
|
|
2003-01-12 04:22:21 +03:00
|
|
|
depend: $(CPPFILES) $(FLCPPFILES) $(GLCPPFILES) $(IMGCPPFILES) $(CFILES)
|
|
|
|
makedepend -Y -I.. -f makedepend $(CPPFILES) $(FLCPPFILES) \
|
|
|
|
$(GLCPPFILES) $(IMGCPPFILES) $(CFILES)
|
2000-04-26 02:17:00 +04:00
|
|
|
|
2001-11-27 20:44:08 +03:00
|
|
|
# Automatically generated dependencies...
|
1998-10-06 22:21:25 +04:00
|
|
|
include makedepend
|
|
|
|
|
2001-11-27 20:44:08 +03:00
|
|
|
# These dependencies aren't part of the makedepend file since
|
|
|
|
# they are part of the WIN32 and MacOS code base...
|
|
|
|
Fl_get_key.o: Fl_get_key_mac.cxx Fl_get_key_win32.cxx
|
2006-04-20 07:02:37 +04:00
|
|
|
Fl.o: Fl_mac.cxx Fl_win32.cxx
|
2001-11-27 20:44:08 +03:00
|
|
|
fl_color.o: fl_color_mac.cxx fl_color_win32.cxx
|
2002-03-26 00:39:01 +03:00
|
|
|
fl_dnd.o: fl_dnd_mac.cxx fl_dnd_win32.cxx fl_dnd_x.cxx
|
2002-03-06 21:11:01 +03:00
|
|
|
fl_draw_image.o: fl_draw_image_mac.cxx fl_draw_image_win32.cxx
|
|
|
|
fl_font.o: fl_font_mac.cxx fl_font_x.cxx fl_font_xft.cxx fl_font_win32.cxx
|
2002-05-30 19:09:03 +04:00
|
|
|
fl_read_image.o: fl_read_image_mac.cxx fl_read_image_win32.cxx
|
2002-03-06 21:11:01 +03:00
|
|
|
fl_set_fonts.o: fl_set_fonts_mac.cxx fl_set_fonts_x.cxx \
|
|
|
|
fl_set_fonts_xft.cxx fl_set_fonts_win32.cxx
|
2001-11-27 20:44:08 +03:00
|
|
|
|
2001-12-09 23:26:24 +03:00
|
|
|
fl_arci.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
Fl_arg.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
fl_ask.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
Fl_Bitmap.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
fl_color.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
fl_cursor.o: ../FL/mac.H ../FL/win32.H
|
2002-03-26 00:39:01 +03:00
|
|
|
fl_dnd.o: ../FL/mac.H ../FL/win32.H
|
2001-12-09 23:26:24 +03:00
|
|
|
Fl.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
Fl_Double_Window.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
fl_draw_image.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
fl_draw_image_mac.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
fl_draw_image_win32.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
fl_draw_pixmap.o: ../FL/mac.H ../FL/win32.H
|
2006-04-18 17:07:42 +04:00
|
|
|
fl_encoding_latin1.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
fl_encoding_mac_roman.o: ../FL/mac.H ../FL/win32.H
|
2001-12-09 23:26:24 +03:00
|
|
|
Fl_File_Chooser2.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
fl_font.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
Fl_get_key.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
Fl_get_system_colors.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
Fl_Gl_Choice.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
Fl_Gl_Overlay.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
Fl_Gl_Window.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
Fl_grab.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
Fl_Image.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
fl_line_style.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
Fl_mac.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
Fl_Menu_Window.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
fl_overlay.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
fl_overlay_visual.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
Fl_Overlay_Window.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
Fl_own_colormap.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
Fl_Pixmap.o: ../FL/mac.H ../FL/win32.H
|
2002-05-30 19:09:03 +04:00
|
|
|
fl_read_image.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
fl_read_image_mac.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
fl_read_image_win32.o: ../FL/mac.H ../FL/win32.H
|
2001-12-09 23:26:24 +03:00
|
|
|
fl_rect.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
fl_scroll_area.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
fl_set_font.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
fl_set_fonts.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
fl_shortcut.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
fl_vertex.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
Fl_visual.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
Fl_Window_fullscreen.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
Fl_Window_iconize.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
Fl_x.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
gl_draw.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
gl_start.o: ../FL/mac.H ../FL/win32.H
|
2001-11-27 20:44:08 +03:00
|
|
|
|
1998-10-06 22:21:25 +04:00
|
|
|
################################################################
|
|
|
|
|
2002-06-29 01:04:37 +04:00
|
|
|
install: $(LIBNAME) $(DSONAME) \
|
|
|
|
$(FLLIBNAME) $(FLDSONAME) \
|
|
|
|
$(GLLIBNAME) $(GLDSONAME) \
|
|
|
|
$(IMGLIBNAME) $(IMGDSONAME)
|
2004-10-19 00:22:25 +04:00
|
|
|
echo "Installing libraries in $(DESTDIR)$(libdir)..."
|
|
|
|
-$(MKDIR) $(DESTDIR)$(libdir)
|
2005-08-08 04:54:30 +04:00
|
|
|
-$(MKDIR) $(DESTDIR)$(bindir)
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/$(LIBNAME)
|
|
|
|
-$(CP) $(LIBNAME) $(FLLIBNAME) $(GLLIBNAME) $(IMGLIBNAME) $(DESTDIR)$(libdir)
|
|
|
|
$(RANLIB) $(DESTDIR)$(libdir)/$(LIBNAME)
|
|
|
|
$(RANLIB) $(DESTDIR)$(libdir)/$(FLLIBNAME)
|
2002-01-18 02:43:49 +03:00
|
|
|
if test x$(GLLIBNAME) != x; then \
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RANLIB) $(DESTDIR)$(libdir)/$(GLLIBNAME); \
|
2002-01-18 02:43:49 +03:00
|
|
|
fi
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RANLIB) $(DESTDIR)$(libdir)/$(IMGLIBNAME)
|
2001-08-02 22:08:36 +04:00
|
|
|
if test x$(DSONAME) = xlibfltk.so.1.1; then\
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk.so*;\
|
|
|
|
$(CP) libfltk.so.1.1 $(DESTDIR)$(libdir); \
|
|
|
|
$(CHMOD) 755 $(DESTDIR)$(libdir)/libfltk.so.1.1; \
|
|
|
|
$(LN) libfltk.so.1.1 $(DESTDIR)$(libdir)/libfltk.so;\
|
1999-02-22 21:05:20 +03:00
|
|
|
fi
|
2001-08-02 22:08:36 +04:00
|
|
|
if test x$(DSONAME) = xlibfltk.sl.1.1; then\
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk.sl*;\
|
|
|
|
$(CP) libfltk.sl.1.1 $(DESTDIR)$(libdir); \
|
|
|
|
$(CHMOD) 755 $(DESTDIR)$(libdir)/libfltk.sl.1.1; \
|
|
|
|
$(LN) libfltk.sl.1.1 $(DESTDIR)$(libdir)/libfltk.sl;\
|
2001-08-02 22:08:36 +04:00
|
|
|
fi
|
2002-03-26 00:39:01 +03:00
|
|
|
if test x$(DSONAME) = xlibfltk.1.1.dylib; then\
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk.*dylib;\
|
|
|
|
$(CP) libfltk.1.1.dylib $(DESTDIR)$(libdir); \
|
|
|
|
$(CHMOD) 755 $(DESTDIR)$(libdir)/libfltk.1.1.dylib; \
|
|
|
|
$(LN) libfltk.1.1.dylib $(DESTDIR)$(libdir)/libfltk.dylib;\
|
2002-03-26 00:39:01 +03:00
|
|
|
fi
|
2001-08-02 22:08:36 +04:00
|
|
|
if test x$(DSONAME) = xlibfltk_s.a; then\
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_s.a;\
|
|
|
|
$(CP) libfltk_s.a $(DESTDIR)$(libdir); \
|
|
|
|
$(CHMOD) 755 $(DESTDIR)$(libdir)/libfltk_s.a; \
|
2001-08-02 22:08:36 +04:00
|
|
|
fi
|
2005-08-08 04:54:30 +04:00
|
|
|
if test x$(DSONAME) = xcygfltknox-1.1.dll; then\
|
|
|
|
$(RM) $(DESTDIR)$(bindir)/$(DSONAME);\
|
|
|
|
$(CP) $(DSONAME) $(DESTDIR)$(bindir); \
|
|
|
|
$(CHMOD) 755 $(DESTDIR)$(bindir)/$(DSONAME); \
|
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk.dll.a;\
|
|
|
|
$(CP) libfltk.dll.a $(DESTDIR)$(libdir); \
|
|
|
|
$(CHMOD) 755 $(DESTDIR)$(libdir)/libfltk.dll.a; \
|
|
|
|
fi
|
|
|
|
if test x$(DSONAME) = xmgwfltknox-1.1.dll; then\
|
|
|
|
$(RM) $(DESTDIR)$(bindir)/$(DSONAME);\
|
|
|
|
$(CP) $(DSONAME) $(DESTDIR)$(bindir); \
|
|
|
|
$(CHMOD) 755 $(DESTDIR)$(bindir)/$(DSONAME); \
|
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk.dll.a;\
|
|
|
|
$(CP) libfltk.dll.a $(DESTDIR)$(libdir); \
|
|
|
|
$(CHMOD) 755 $(DESTDIR)$(libdir)/libfltk.dll.a; \
|
|
|
|
fi
|
2002-03-26 00:39:01 +03:00
|
|
|
if test x$(FLDSONAME) = xlibfltk_forms.so.1.1; then\
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_forms.so*;\
|
|
|
|
$(CP) libfltk_forms.so.1.1 $(DESTDIR)$(libdir); \
|
|
|
|
$(CHMOD) 755 $(DESTDIR)$(libdir)/libfltk_forms.so.1.1; \
|
|
|
|
$(LN) libfltk_forms.so.1.1 $(DESTDIR)$(libdir)/libfltk_forms.so;\
|
2002-03-26 00:39:01 +03:00
|
|
|
fi
|
|
|
|
if test x$(FLDSONAME) = xlibfltk_forms.sl.1.1; then\
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_forms.sl*;\
|
|
|
|
$(CP) libfltk_forms.sl.1.1 $(DESTDIR)$(libdir); \
|
|
|
|
$(CHMOD) 755 $(DESTDIR)$(libdir)/libfltk_forms.sl.1.1; \
|
|
|
|
$(LN) libfltk_forms.sl.1.1 $(DESTDIR)$(libdir)/libfltk_forms.sl;\
|
2002-03-26 00:39:01 +03:00
|
|
|
fi
|
|
|
|
if test x$(FLDSONAME) = xlibfltk_forms.1.1.dylib; then\
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_forms.*dylib;\
|
|
|
|
$(CP) libfltk_forms.1.1.dylib $(DESTDIR)$(libdir); \
|
|
|
|
$(CHMOD) 755 $(DESTDIR)$(libdir)/libfltk_forms.1.1.dylib; \
|
|
|
|
$(LN) libfltk_forms.1.1.dylib $(DESTDIR)$(libdir)/libfltk_forms.dylib;\
|
2002-03-26 00:39:01 +03:00
|
|
|
fi
|
|
|
|
if test x$(FLDSONAME) = xlibfltk_forms_s.a; then\
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_forms_s.a;\
|
|
|
|
$(CP) libfltk_forms_s.a $(DESTDIR)$(libdir); \
|
|
|
|
$(CHMOD) 755 $(DESTDIR)$(libdir)/libfltk_forms.a; \
|
2002-03-26 00:39:01 +03:00
|
|
|
fi
|
2005-08-08 04:54:30 +04:00
|
|
|
if test x$(FLDSONAME) = xcygfltknox_forms-1.1.dll; then\
|
|
|
|
$(RM) $(DESTDIR)$(bindir)/$(FLDSONAME);\
|
|
|
|
$(CP) $(FLDSONAME) $(DESTDIR)$(bindir); \
|
|
|
|
$(CHMOD) 755 $(DESTDIR)$(bindir)/$(FLDSONAME); \
|
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_forms.dll.a;\
|
|
|
|
$(CP) libfltk_forms.dll.a $(DESTDIR)$(libdir); \
|
|
|
|
$(CHMOD) 755 $(DESTDIR)$(libdir)/libfltk_forms.dll.a; \
|
|
|
|
fi
|
|
|
|
if test x$(FLDSONAME) = xmgwfltknox_forms-1.1.dll; then\
|
|
|
|
$(RM) $(DESTDIR)$(bindir)/$(FLDSONAME);\
|
|
|
|
$(CP) $(FLDSONAME) $(DESTDIR)$(bindir); \
|
|
|
|
$(CHMOD) 755 $(DESTDIR)$(bindir)/$(FLDSONAME); \
|
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_forms.dll.a;\
|
|
|
|
$(CP) libfltk_forms.dll.a $(DESTDIR)$(libdir); \
|
|
|
|
$(CHMOD) 755 $(DESTDIR)$(libdir)/libfltk_forms.dll.a; \
|
|
|
|
fi
|
2001-09-29 19:57:32 +04:00
|
|
|
if test x$(GLDSONAME) = xlibfltk_gl.so.1.1; then\
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_gl.so*;\
|
|
|
|
$(CP) libfltk_gl.so.1.1 $(DESTDIR)$(libdir); \
|
|
|
|
$(CHMOD) 755 $(DESTDIR)$(libdir)/libfltk_gl.so.1.1; \
|
|
|
|
$(LN) libfltk_gl.so.1.1 $(DESTDIR)$(libdir)/libfltk_gl.so;\
|
2001-08-02 22:08:36 +04:00
|
|
|
fi
|
2001-09-29 19:57:32 +04:00
|
|
|
if test x$(GLDSONAME) = xlibfltk_gl.sl.1.1; then\
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_gl.sl*;\
|
|
|
|
$(CP) libfltk_gl.sl.1.1 $(DESTDIR)$(libdir); \
|
|
|
|
$(CHMOD) 755 $(DESTDIR)$(libdir)/libfltk_gl.sl.1.1; \
|
|
|
|
$(LN) libfltk_gl.sl.1.1 $(DESTDIR)$(libdir)/libfltk_gl.sl;\
|
2001-08-02 22:08:36 +04:00
|
|
|
fi
|
2002-03-26 00:39:01 +03:00
|
|
|
if test x$(GLDSONAME) = xlibfltk_gl.1.1.dylib; then\
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_gl.*dylib;\
|
|
|
|
$(CP) libfltk_gl.1.1.dylib $(DESTDIR)$(libdir); \
|
|
|
|
$(CHMOD) 755 $(DESTDIR)$(libdir)/libfltk_gl.1.1.dylib; \
|
|
|
|
$(LN) libfltk_gl.1.1.dylib $(DESTDIR)$(libdir)/libfltk_gl.dylib;\
|
2002-03-26 00:39:01 +03:00
|
|
|
fi
|
2001-09-29 19:57:32 +04:00
|
|
|
if test x$(GLDSONAME) = xlibfltk_gl_s.a; then\
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_gl_s.a;\
|
|
|
|
$(CP) libfltk_gl_s.a $(DESTDIR)$(libdir); \
|
|
|
|
$(CHMOD) 755 $(DESTDIR)$(libdir)/libfltk_gl.a; \
|
1999-02-22 21:05:20 +03:00
|
|
|
fi
|
2005-08-08 04:54:30 +04:00
|
|
|
if test x$(GLDSONAME) = xcygfltknox_gl-1.1.dll; then\
|
|
|
|
$(RM) $(DESTDIR)$(bindir)/$(GLDSONAME);\
|
|
|
|
$(CP) $(GLDSONAME) $(DESTDIR)$(bindir); \
|
|
|
|
$(CHMOD) 755 $(DESTDIR)$(bindir)/$(GLDSONAME); \
|
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_gl.dll.a;\
|
|
|
|
$(CP) libfltk_gl.dll.a $(DESTDIR)$(libdir); \
|
|
|
|
$(CHMOD) 755 $(DESTDIR)$(libdir)/libfltk_gl.dll.a; \
|
|
|
|
fi
|
|
|
|
if test x$(GLDSONAME) = xmgwfltknox_gl-1.1.dll; then\
|
|
|
|
$(RM) $(DESTDIR)$(bindir)/$(GLDSONAME);\
|
|
|
|
$(CP) $(GLDSONAME) $(DESTDIR)$(bindir); \
|
|
|
|
$(CHMOD) 755 $(DESTDIR)$(bindir)/$(GLDSONAME); \
|
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_gl.dll.a;\
|
|
|
|
$(CP) libfltk_gl.dll.a $(DESTDIR)$(libdir); \
|
|
|
|
$(CHMOD) 755 $(DESTDIR)$(libdir)/libfltk_gl.dll.a; \
|
|
|
|
fi
|
2002-06-29 01:04:37 +04:00
|
|
|
if test x$(IMGDSONAME) = xlibfltk_images.so.1.1; then\
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_images.so*;\
|
|
|
|
$(CP) libfltk_images.so.1.1 $(DESTDIR)$(libdir); \
|
|
|
|
$(CHMOD) 755 $(DESTDIR)$(libdir)/libfltk_images.so.1.1; \
|
|
|
|
$(LN) libfltk_images.so.1.1 $(DESTDIR)$(libdir)/libfltk_images.so;\
|
2002-06-29 01:04:37 +04:00
|
|
|
fi
|
|
|
|
if test x$(IMGDSONAME) = xlibfltk_images.sl.1.1; then\
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_images.sl*;\
|
|
|
|
$(CP) libfltk_images.sl.1.1 $(DESTDIR)$(libdir); \
|
|
|
|
$(CHMOD) 755 $(DESTDIR)$(libdir)/libfltk_images.sl.1.1; \
|
|
|
|
$(LN) libfltk_images.sl.1.1 $(DESTDIR)$(libdir)/libfltk_images.sl;\
|
2002-06-29 01:04:37 +04:00
|
|
|
fi
|
|
|
|
if test x$(IMGDSONAME) = xlibfltk_images.1.1.dylib; then\
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_images.*dylib;\
|
|
|
|
$(CP) libfltk_images.1.1.dylib $(DESTDIR)$(libdir); \
|
|
|
|
$(CHMOD) 755 $(DESTDIR)$(libdir)/libfltk_images.1.1.dylib; \
|
|
|
|
$(LN) libfltk_images.1.1.dylib $(DESTDIR)$(libdir)/libfltk_images.dylib;\
|
2002-06-29 01:04:37 +04:00
|
|
|
fi
|
|
|
|
if test x$(IMGDSONAME) = xlibfltk_images_s.a; then\
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_images_s.a;\
|
|
|
|
$(CP) libfltk_images_s.a $(DESTDIR)$(libdir); \
|
|
|
|
$(CHMOD) 755 $(DESTDIR)$(libdir)/libfltk_images.a; \
|
2002-06-29 01:04:37 +04:00
|
|
|
fi
|
2005-08-08 04:54:30 +04:00
|
|
|
if test x$(IMGDSONAME) = xcygfltknox_images-1.1.dll; then\
|
|
|
|
$(RM) $(DESTDIR)$(bindir)/$(IMGDSONAME); \
|
|
|
|
$(CP) $(IMGDSONAME) $(DESTDIR)$(bindir); \
|
|
|
|
$(CHMOD) 755 $(DESTDIR)$(bindir)/$(IMGDSONAME); \
|
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_images.dll.a;\
|
|
|
|
$(CP) libfltk_images.dll.a $(DESTDIR)$(libdir); \
|
|
|
|
$(CHMOD) 755 $(DESTDIR)$(libdir)/libfltk_images.dll.a; \
|
|
|
|
fi
|
|
|
|
if test x$(IMGDSONAME) = xmgwfltknox_images-1.1.dll; then\
|
|
|
|
$(RM) $(DESTDIR)$(bindir)/$(IMGDSONAME); \
|
|
|
|
$(CP) $(IMGDSONAME) $(DESTDIR)$(bindir); \
|
|
|
|
$(CHMOD) 755 $(DESTDIR)$(bindir)/$(IMGDSONAME); \
|
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_images.dll.a;\
|
|
|
|
$(CP) libfltk_images.dll.a $(DESTDIR)$(libdir); \
|
|
|
|
$(CHMOD) 755 $(DESTDIR)$(libdir)/libfltk_images.dll.a; \
|
|
|
|
fi
|
2001-11-20 00:25:35 +03:00
|
|
|
|
|
|
|
uninstall:
|
|
|
|
echo "Uninstalling libraries..."
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/$(LIBNAME)
|
2001-11-20 00:25:35 +03:00
|
|
|
if test x$(DSONAME) = xlibfltk.so.1.1; then\
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk.so*;\
|
2001-11-20 00:25:35 +03:00
|
|
|
fi
|
|
|
|
if test x$(DSONAME) = xlibfltk.sl.1.1; then\
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk.sl*;\
|
2001-11-20 00:25:35 +03:00
|
|
|
fi
|
2002-03-26 00:39:01 +03:00
|
|
|
if test x$(DSONAME) = xlibfltk.1.1.dylib; then\
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk.*dylib;\
|
2002-03-26 00:39:01 +03:00
|
|
|
fi
|
2001-11-20 00:25:35 +03:00
|
|
|
if test x$(DSONAME) = xlibfltk_s.a; then\
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_s.a;\
|
2001-11-20 00:25:35 +03:00
|
|
|
fi
|
2005-08-08 04:54:30 +04:00
|
|
|
if test x$(DSONAME) = xcygfltknox-1.1.dll; then\
|
|
|
|
$(RM) $(DESTDIR)$(bindir)/$(DSONAME); \
|
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk.dll.a;\
|
|
|
|
fi
|
|
|
|
if test x$(DSONAME) = xmgwfltknox-1.1.dll; then\
|
|
|
|
$(RM) $(DESTDIR)$(bindir)/$(DSONAME); \
|
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk.dll.a;\
|
|
|
|
fi
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/$(FLLIBNAME);
|
2002-03-26 00:39:01 +03:00
|
|
|
if test x$(FLDSONAME) = xlibfltk_forms.so.1.1; then\
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_forms.so*;\
|
2002-03-26 00:39:01 +03:00
|
|
|
fi
|
|
|
|
if test x$(FLDSONAME) = xlibfltk_forms.sl.1.1; then\
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_forms.sl*;\
|
2002-03-26 00:39:01 +03:00
|
|
|
fi
|
|
|
|
if test x$(FLDSONAME) = xlibfltk_forms.1.1.dylib; then\
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_forms.*dylib;\
|
2002-03-26 00:39:01 +03:00
|
|
|
fi
|
|
|
|
if test x$(FLDSONAME) = xlibfltk_forms_s.a; then\
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_forms_s.a;\
|
2002-03-26 00:39:01 +03:00
|
|
|
fi
|
2005-08-08 04:54:30 +04:00
|
|
|
if test x$(FLDSONAME) = xcygfltknox_forms-1.1.dll; then\
|
|
|
|
$(RM) $(DESTDIR)$(bindir)/$(FLDSONAME); \
|
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_forms.dll.a;\
|
|
|
|
fi
|
|
|
|
if test x$(FLDSONAME) = xmgwfltknox_forms-1.1.dll; then\
|
|
|
|
$(RM) $(DESTDIR)$(bindir)/$(FLDSONAME); \
|
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_forms.dll.a;\
|
|
|
|
fi
|
2001-12-10 17:46:04 +03:00
|
|
|
if test x$(GLLIBNAME) != x; then\
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/$(GLLIBNAME);\
|
2001-12-10 17:46:04 +03:00
|
|
|
fi
|
2001-11-20 00:25:35 +03:00
|
|
|
if test x$(GLDSONAME) = xlibfltk_gl.so.1.1; then\
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_gl.so*;\
|
2001-11-20 00:25:35 +03:00
|
|
|
fi
|
|
|
|
if test x$(GLDSONAME) = xlibfltk_gl.sl.1.1; then\
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_gl.sl*;\
|
2001-11-20 00:25:35 +03:00
|
|
|
fi
|
2002-03-26 00:39:01 +03:00
|
|
|
if test x$(GLDSONAME) = xlibfltk_gl.1.1.dylib; then\
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_gl.*dylib;\
|
2002-03-26 00:39:01 +03:00
|
|
|
fi
|
2001-11-20 00:25:35 +03:00
|
|
|
if test x$(GLDSONAME) = xlibfltk_gl_s.a; then\
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_gl_s.a;\
|
2001-11-20 00:25:35 +03:00
|
|
|
fi
|
2005-08-08 04:54:30 +04:00
|
|
|
if test x$(GLDSONAME) = xcygfltknox_gl-1.1.dll; then\
|
|
|
|
$(RM) $(DESTDIR)$(bindir)/$(GLDSONAME); \
|
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_gl.dll.a;\
|
|
|
|
fi
|
|
|
|
if test x$(GLDSONAME) = xmgwfltknox_gl-1.1.dll; then\
|
|
|
|
$(RM) $(DESTDIR)$(bindir)/$(GLDSONAME); \
|
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_gl.dll.a;\
|
|
|
|
fi
|
2002-06-29 01:04:37 +04:00
|
|
|
if test x$(IMGLIBNAME) != x; then\
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/$(IMGLIBNAME);\
|
2002-06-29 01:04:37 +04:00
|
|
|
fi
|
|
|
|
if test x$(IMGDSONAME) = xlibfltk_images.so.1.1; then\
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_images.so*;\
|
2002-06-29 01:04:37 +04:00
|
|
|
fi
|
|
|
|
if test x$(IMGDSONAME) = xlibfltk_images.sl.1.1; then\
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_images.sl*;\
|
2002-06-29 01:04:37 +04:00
|
|
|
fi
|
|
|
|
if test x$(IMGDSONAME) = xlibfltk_images.1.1.dylib; then\
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_images.*dylib;\
|
2002-06-29 01:04:37 +04:00
|
|
|
fi
|
|
|
|
if test x$(IMGDSONAME) = xlibfltk_images_s.a; then\
|
2004-10-19 00:22:25 +04:00
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_images_s.a;\
|
2002-06-29 01:04:37 +04:00
|
|
|
fi
|
2005-08-08 04:54:30 +04:00
|
|
|
if test x$(IMGDSONAME) = xcygfltknox_images-1.1.dll; then\
|
|
|
|
$(RM) $(DESTDIR)$(bindir)/$(IMGDSONAME); \
|
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_images.dll.a;\
|
|
|
|
fi
|
|
|
|
if test x$(IMGDSONAME) = xmgwfltknox_images-1.1.dll; then\
|
|
|
|
$(RM) $(DESTDIR)$(bindir)/$(IMGDSONAME); \
|
|
|
|
$(RM) $(DESTDIR)$(libdir)/libfltk_images.dll.a;\
|
|
|
|
fi
|
2001-11-20 00:25:35 +03:00
|
|
|
|
1998-10-06 22:21:25 +04:00
|
|
|
|
1998-10-21 01:06:19 +04:00
|
|
|
#
|
2005-02-25 00:55:12 +03:00
|
|
|
# End of "$Id$".
|
1998-10-21 01:06:19 +04:00
|
|
|
#
|