1998-10-21 01:06:19 +04:00
|
|
|
#
|
2002-01-18 02:43:49 +03:00
|
|
|
# "$Id: Makefile,v 1.18.2.14.2.32 2002/01/17 23:43:49 easysw Exp $"
|
1998-10-21 01:06:19 +04:00
|
|
|
#
|
|
|
|
# Library makefile for the Fast Light Tool Kit (FLTK).
|
|
|
|
#
|
2002-01-01 18:11:33 +03:00
|
|
|
# Copyright 1998-2002 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.
|
|
|
|
#
|
2000-06-06 01:21:24 +04:00
|
|
|
# Please report all bugs and problems to "fltk-bugs@fltk.org".
|
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 \
|
2002-01-06 20:51:12 +03:00
|
|
|
Fl_BMP_Image.cxx \
|
1998-12-06 17:59:14 +03:00
|
|
|
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 \
|
2001-11-17 18:27:15 +03:00
|
|
|
Fl_File_Icon2.cxx \
|
OK, lots of changes to the Fl_Image, Fl_Bitmap, Fl_Pixmap, and Fl_RGB_Image
classes: new copy(), copy(w,h), desaturate(), color_average(), and
inactive() methods, alloc_xyz member for copied data, etc.
Updated test programs to use inactive() and copy() methods to create
inactive images for the test buttons, plus the inactive button to toggle
it...
Added start of separate image classes, a la 2.0, for various image formats.
FLUID will also be updated for it...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1703 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-19 04:06:45 +03:00
|
|
|
Fl_GIF_Image.cxx \
|
1998-12-06 17:59:14 +03:00
|
|
|
Fl_Group.cxx \
|
2001-09-29 18:38:59 +04:00
|
|
|
Fl_Help_Dialog.cxx \
|
|
|
|
Fl_Help_View.cxx \
|
1998-12-06 17:59:14 +03:00
|
|
|
Fl_Image.cxx \
|
|
|
|
Fl_Input.cxx \
|
|
|
|
Fl_Input_.cxx \
|
OK, lots of changes to the Fl_Image, Fl_Bitmap, Fl_Pixmap, and Fl_RGB_Image
classes: new copy(), copy(w,h), desaturate(), color_average(), and
inactive() methods, alloc_xyz member for copied data, etc.
Updated test programs to use inactive() and copy() methods to create
inactive images for the test buttons, plus the inactive button to toggle
it...
Added start of separate image classes, a la 2.0, for various image formats.
FLUID will also be updated for it...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1703 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-19 04:06:45 +03:00
|
|
|
Fl_JPEG_Image.cxx \
|
1998-12-06 17:59:14 +03:00
|
|
|
Fl_Light_Button.cxx \
|
|
|
|
Fl_Menu.cxx \
|
|
|
|
Fl_Menu_.cxx \
|
|
|
|
Fl_Menu_Bar.cxx \
|
|
|
|
Fl_Menu_Button.cxx \
|
|
|
|
Fl_Menu_Window.cxx \
|
|
|
|
Fl_Menu_add.cxx \
|
|
|
|
Fl_Menu_global.cxx \
|
|
|
|
Fl_Multi_Label.cxx \
|
|
|
|
Fl_Output.cxx \
|
|
|
|
Fl_Overlay_Window.cxx \
|
|
|
|
Fl_Pack.cxx \
|
|
|
|
Fl_Pixmap.cxx \
|
OK, lots of changes to the Fl_Image, Fl_Bitmap, Fl_Pixmap, and Fl_RGB_Image
classes: new copy(), copy(w,h), desaturate(), color_average(), and
inactive() methods, alloc_xyz member for copied data, etc.
Updated test programs to use inactive() and copy() methods to create
inactive images for the test buttons, plus the inactive button to toggle
it...
Added start of separate image classes, a la 2.0, for various image formats.
FLUID will also be updated for it...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1703 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-19 04:06:45 +03:00
|
|
|
Fl_PNG_Image.cxx \
|
2001-11-24 21:07:58 +03:00
|
|
|
Fl_PNM_Image.cxx \
|
1998-12-06 17:59:14 +03:00
|
|
|
Fl_Positioner.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_cutpaste.cxx \
|
|
|
|
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 \
|
|
|
|
fl_draw.cxx \
|
|
|
|
fl_draw_image.cxx \
|
|
|
|
fl_draw_pixmap.cxx \
|
|
|
|
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 \
|
|
|
|
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 \
|
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 \
|
|
|
|
fl_vertex.cxx \
|
|
|
|
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
|
|
|
|
1999-03-29 21:39:46 +04:00
|
|
|
CFILES = fl_call_main.c scandir.c numericsort.c vsnprintf.c
|
1998-10-06 22:21:25 +04:00
|
|
|
|
2001-12-19 22:23:32 +03:00
|
|
|
CLEAN = core cmap
|
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)
|
1998-10-06 22:21:25 +04:00
|
|
|
|
2001-08-02 22:08:36 +04:00
|
|
|
all: $(LIBNAME) $(DSONAME) $(GLLIBNAME) $(GLDSONAME)
|
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) $@ ...
|
2001-10-27 07:33:25 +04:00
|
|
|
-$(RM) $@
|
2000-04-26 02:17:00 +04:00
|
|
|
$(LIBCOMMAND) $@ $(OBJECTS)
|
|
|
|
$(RANLIB) $@
|
1999-03-09 21:32:44 +03:00
|
|
|
|
2001-08-02 22:08:36 +04:00
|
|
|
libfltk.so.1.1 libfltk.sl.1.1: $(OBJECTS)
|
2000-04-26 02:17:00 +04:00
|
|
|
echo $(DSOCOMMAND) $@ ...
|
2001-08-02 23:43:49 +04:00
|
|
|
$(DSOCOMMAND) $@ $(OBJECTS) $(IMAGELIBS)
|
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
|
2001-10-27 07:33:25 +04:00
|
|
|
-$(RM) $@
|
2001-08-02 22:08:36 +04:00
|
|
|
$(LIBCOMMAND) libfltk_s.a libfltk_s.o
|
|
|
|
chmod +x libfltk_s.a
|
|
|
|
|
|
|
|
$(GLLIBNAME): $(GLOBJECTS)
|
|
|
|
echo $(LIBCOMMAND) $@ ...
|
2001-10-27 07:33:25 +04:00
|
|
|
-$(RM) $@
|
2001-08-02 22:08:36 +04:00
|
|
|
$(LIBCOMMAND) $@ $(GLOBJECTS)
|
|
|
|
$(RANLIB) $@
|
|
|
|
|
2001-09-29 19:57:32 +04:00
|
|
|
libfltk_gl.so.1.1 libfltk_gl.sl.1.1: $(GLOBJECTS)
|
2001-08-02 22:08:36 +04:00
|
|
|
echo $(DSOCOMMAND) $@ ...
|
|
|
|
$(DSOCOMMAND) $@ $(GLOBJECTS)
|
|
|
|
|
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
|
2001-10-27 07:33:25 +04:00
|
|
|
-$(RM) $@
|
2001-09-29 19:57:32 +04:00
|
|
|
$(LIBCOMMAND) libfltk_gl_s.a libfltk_gl_s.o
|
|
|
|
chmod +x libfltk_gl_s.a
|
2001-08-02 22:08:36 +04:00
|
|
|
|
1998-10-06 22:21:25 +04:00
|
|
|
clean :
|
2002-01-15 05:17:19 +03:00
|
|
|
-@ rm -f *.o $(DSONAME) $(GLDSONAME) $(LIBRARY) $(CLEAN) libfltk.so libfltk_gl.so
|
1998-10-06 22:21:25 +04:00
|
|
|
|
2001-12-19 22:23:32 +03:00
|
|
|
depend: $(CPPFILES) $(GLCPPFILES) $(CFILES)
|
2001-08-02 22:15:44 +04:00
|
|
|
makedepend -Y -I.. -f makedepend $(CPPFILES) $(GLCPPFILES) $(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_cutpaste.o: Fl_cutpaste_mac.cxx Fl_cutpaste_win32.cxx
|
|
|
|
Fl_get_key.o: Fl_get_key_mac.cxx Fl_get_key_win32.cxx
|
|
|
|
Fl_x.o: Fl_mac.cxx Fl_win32.cxx
|
|
|
|
fl_color.o: fl_color_mac.cxx fl_color_win32.cxx
|
|
|
|
fl_draw_image.o: fl_draw_image_mac.cxx fl_draw_image_win32.cxx
|
|
|
|
fl_font.o: fl_font_mac.cxx fl_font_win32.cxx
|
|
|
|
fl_set_fonts.o: fl_set_fonts_mac.cxx fl_set_fonts_win32.cxx
|
|
|
|
|
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
|
|
|
|
Fl_cutpaste.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
Fl_cutpaste_win32.o: ../FL/mac.H ../FL/win32.H
|
|
|
|
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
|
|
|
|
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
|
|
|
|
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
|
|
|
################################################################
|
|
|
|
|
2001-08-02 22:08:36 +04:00
|
|
|
install: $(LIBNAME) $(DSONAME) $(GLLIBNAME) $(GLDSONAME)
|
2000-04-26 02:17:00 +04:00
|
|
|
echo "Installing libraries..."
|
|
|
|
-mkdir -p $(libdir)
|
|
|
|
rm -f $(libdir)/$(LIBNAME)
|
2001-08-02 22:08:36 +04:00
|
|
|
-cp $(LIBNAME) $(GLLIBNAME) $(libdir)
|
2001-12-06 21:23:29 +03:00
|
|
|
$(RANLIB) $(libdir)/$(LIBNAME)
|
2002-01-18 02:43:49 +03:00
|
|
|
if test x$(GLLIBNAME) != x; then \
|
|
|
|
$(RANLIB) $(libdir)/$(GLLIBNAME); \
|
|
|
|
fi
|
2001-08-02 22:08:36 +04:00
|
|
|
if test x$(DSONAME) = xlibfltk.so.1.1; then\
|
1999-03-25 18:26:44 +03:00
|
|
|
rm -f $(libdir)/libfltk.so*;\
|
2001-08-02 22:08:36 +04:00
|
|
|
cp libfltk.so.1.1 $(libdir); \
|
2002-01-06 16:40:32 +03:00
|
|
|
chmod 755 $(libdir)/libfltk.so.1.1; \
|
2001-08-02 22:08:36 +04:00
|
|
|
ln -s libfltk.so.1.1 $(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\
|
1999-03-25 18:26:44 +03:00
|
|
|
rm -f $(libdir)/libfltk.sl*;\
|
2001-08-02 22:08:36 +04:00
|
|
|
cp libfltk.sl.1.1 $(libdir); \
|
2002-01-06 16:40:32 +03:00
|
|
|
chmod 755 $(libdir)/libfltk.sl.1.1; \
|
2001-08-02 22:08:36 +04:00
|
|
|
ln -s libfltk.sl.1.1 $(libdir)/libfltk.sl;\
|
|
|
|
fi
|
|
|
|
if test x$(DSONAME) = xlibfltk_s.a; then\
|
|
|
|
rm -f $(libdir)/libfltk_s.a;\
|
|
|
|
cp libfltk_s.a $(libdir); \
|
2002-01-06 16:40:32 +03:00
|
|
|
chmod 755 $(libdir)/libfltk_s.a; \
|
2001-08-02 22:08:36 +04:00
|
|
|
fi
|
2001-09-29 19:57:32 +04:00
|
|
|
if test x$(GLDSONAME) = xlibfltk_gl.so.1.1; then\
|
|
|
|
rm -f $(libdir)/libfltk_gl.so*;\
|
|
|
|
cp libfltk_gl.so.1.1 $(libdir); \
|
2002-01-06 16:40:32 +03:00
|
|
|
chmod 755 $(libdir)/libfltk_gl.so.1.1; \
|
2001-09-29 19:57:32 +04:00
|
|
|
ln -s libfltk_gl.so.1.1 $(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\
|
|
|
|
rm -f $(libdir)/libfltk_gl.sl*;\
|
|
|
|
cp libfltk_gl.sl.1.1 $(libdir); \
|
2002-01-06 16:40:32 +03:00
|
|
|
chmod 755 $(libdir)/libfltk_gl.sl.1.1; \
|
2001-09-29 19:57:32 +04:00
|
|
|
ln -s libfltk_gl.sl.1.1 $(libdir)/libfltk_gl.sl;\
|
2001-08-02 22:08:36 +04:00
|
|
|
fi
|
2001-09-29 19:57:32 +04:00
|
|
|
if test x$(GLDSONAME) = xlibfltk_gl_s.a; then\
|
|
|
|
rm -f $(libdir)/libfltk_gl_s.a;\
|
|
|
|
cp libfltk_gl_s.a $(libdir); \
|
2002-01-06 16:40:32 +03:00
|
|
|
chmod 755 $(libdir)/libfltk_gl.a; \
|
1999-02-22 21:05:20 +03:00
|
|
|
fi
|
2001-11-20 00:25:35 +03:00
|
|
|
|
|
|
|
|
|
|
|
uninstall:
|
|
|
|
echo "Uninstalling libraries..."
|
|
|
|
rm -f $(libdir)/$(LIBNAME)
|
|
|
|
if test x$(DSONAME) = xlibfltk.so.1.1; then\
|
|
|
|
rm -f $(libdir)/libfltk.so*;\
|
|
|
|
fi
|
|
|
|
if test x$(DSONAME) = xlibfltk.sl.1.1; then\
|
|
|
|
rm -f $(libdir)/libfltk.sl*;\
|
|
|
|
fi
|
|
|
|
if test x$(DSONAME) = xlibfltk_s.a; then\
|
|
|
|
rm -f $(libdir)/libfltk_s.a;\
|
|
|
|
fi
|
2001-12-10 17:46:04 +03:00
|
|
|
if test x$(GLLIBNAME) != x; then\
|
|
|
|
rm -f $(libdir)/$(GLLIBNAME);\
|
|
|
|
fi
|
2001-11-20 00:25:35 +03:00
|
|
|
if test x$(GLDSONAME) = xlibfltk_gl.so.1.1; then\
|
|
|
|
rm -f $(libdir)/libfltk_gl.so*;\
|
|
|
|
fi
|
|
|
|
if test x$(GLDSONAME) = xlibfltk_gl.sl.1.1; then\
|
|
|
|
rm -f $(libdir)/libfltk_gl.sl*;\
|
|
|
|
fi
|
|
|
|
if test x$(GLDSONAME) = xlibfltk_gl_s.a; then\
|
|
|
|
rm -f $(libdir)/libfltk_gl_s.a;\
|
|
|
|
fi
|
|
|
|
|
1998-10-06 22:21:25 +04:00
|
|
|
|
1998-10-21 01:06:19 +04:00
|
|
|
#
|
2002-01-18 02:43:49 +03:00
|
|
|
# End of "$Id: Makefile,v 1.18.2.14.2.32 2002/01/17 23:43:49 easysw Exp $".
|
1998-10-21 01:06:19 +04:00
|
|
|
#
|