Fix eol-style in Watcom files...

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4359 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet 2005-05-19 16:07:13 +00:00
parent 13d8286b8a
commit 067d8d2d16
7 changed files with 828 additions and 828 deletions

View File

@ -1,76 +1,76 @@
#
# "$Id: makefile.wat,v 1.1.2.3 2004/11/23 18:48:09 easysw Exp $"
#
# FLUID makefile for the Fast Light Tool Kit (FLTK).
#
# Copyright 1998-2004 by Bill Spitzak and others.
#
# 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.
#
# Please report all bugs and problems to "fltk-bugs@fltk.org".
#
OBJECTS = &
Fl_Function_Type.obj &
Fl_Menu_Type.obj &
Fl_Group_Type.obj &
Fl_Widget_Type.obj &
Fl_Type.obj &
Fl_Window_Type.obj &
Fluid_Image.obj &
code.obj &
factory.obj &
file.obj &
align_widget.obj &
about_panel.obj &
widget_panel.obj &
alignment_panel.obj &
function_panel.obj
# fluid.obj should not be in the list, because the watcom.mif file
# assumes an object file with the same name as the target executable
################################################################
!include ../watcom.mif
all: $(ODIR)/fluid$(EXEEXT)
$(ODIR)\fluid$(EXEEXT): $(OBJECTS) $(LIBS)
#
# Clean all directories
#
clean : .SYMBOLIC
@echo Cleaning up.
CLEANEXTS = exe map sym obj lk1
@for %a in ($(CLEANEXTS)) do -rm -f $(ODIR)\*.%a
-rm -f *.err
#
# Note: The rebuild target can only be used if you have the original .fl
# files. This is normally only used by the FLTK maintainers...
#
rebuild:
./fluid -c about_panel.fl
./fluid -c alignment_panel.fl
./fluid -c function_panel.fl
./fluid -c widget_panel.fl
#
# End of "$Id: makefile.wat,v 1.1.2.3 2004/11/23 18:48:09 easysw Exp $".
#
#
# "$Id$"
#
# FLUID makefile for the Fast Light Tool Kit (FLTK).
#
# Copyright 1998-2004 by Bill Spitzak and others.
#
# 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.
#
# Please report all bugs and problems to "fltk-bugs@fltk.org".
#
OBJECTS = &
Fl_Function_Type.obj &
Fl_Menu_Type.obj &
Fl_Group_Type.obj &
Fl_Widget_Type.obj &
Fl_Type.obj &
Fl_Window_Type.obj &
Fluid_Image.obj &
code.obj &
factory.obj &
file.obj &
align_widget.obj &
about_panel.obj &
widget_panel.obj &
alignment_panel.obj &
function_panel.obj
# fluid.obj should not be in the list, because the watcom.mif file
# assumes an object file with the same name as the target executable
################################################################
!include ../watcom.mif
all: $(ODIR)/fluid$(EXEEXT)
$(ODIR)\fluid$(EXEEXT): $(OBJECTS) $(LIBS)
#
# Clean all directories
#
clean : .SYMBOLIC
@echo Cleaning up.
CLEANEXTS = exe map sym obj lk1
@for %a in ($(CLEANEXTS)) do -rm -f $(ODIR)\*.%a
-rm -f *.err
#
# Note: The rebuild target can only be used if you have the original .fl
# files. This is normally only used by the FLTK maintainers...
#
rebuild:
./fluid -c about_panel.fl
./fluid -c alignment_panel.fl
./fluid -c function_panel.fl
./fluid -c widget_panel.fl
#
# End of "$Id$".
#

View File

@ -1,67 +1,67 @@
#
# "$Id: makefile.wat,v 1.1.2.1 2004/11/20 03:19:58 easysw Exp $"
#
# JPEG library makefile for the Fast Light Toolkit (FLTK).
#
# Copyright 1997-2004 by Easy Software Products.
#
# 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.
#
# Please report all bugs and problems to "fltk-bugs@fltk.org".
#
LIBNAMEROOT=ftlk_jpeg
!include ../watcom.mif
#
# Object files...
#
LIBOBJS = jmemnobs.obj &
jcapimin.obj jcapistd.obj jccoefct.obj jccolor.obj jcdctmgr.obj &
jchuff.obj jcinit.obj jcmainct.obj jcmarker.obj jcmaster.obj jcomapi.obj &
jcparam.obj jcphuff.obj jcprepct.obj jcsample.obj jctrans.obj &
jdapimin.obj jdapistd.obj jdatadst.obj jdatasrc.obj jdcoefct.obj &
jdcolor.obj jddctmgr.obj jdhuff.obj jdinput.obj jdmainct.obj jdmarker.obj &
jdmaster.obj jdmerge.obj jdphuff.obj jdpostct.obj jdsample.obj &
jdtrans.obj jerror.obj jfdctflt.obj jfdctfst.obj jfdctint.obj &
jidctflt.obj jidctfst.obj jidctint.obj jidctred.obj jquant1.obj &
jquant2.obj jutils.obj jmemmgr.obj
#
# Make all targets...
#
all: $(LIBNAME)
$(LIBNAME): $(LIBOBJS)
$(LIB) $(LIBOPTS) $@ $<
#
# Clean all directories
#
clean : .SYMBOLIC
@echo Cleaning up.
CLEANEXTS = obj
@for %a in ($(CLEANEXTS)) do -rm -f $(ODIR)\*.%a
-rm -f *.err
-rm -f $(LIBNAME)
#
# End of "$Id: makefile.wat,v 1.1.2.1 2004/11/20 03:19:58 easysw Exp $".
#
#
# "$Id$"
#
# JPEG library makefile for the Fast Light Toolkit (FLTK).
#
# Copyright 1997-2004 by Easy Software Products.
#
# 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.
#
# Please report all bugs and problems to "fltk-bugs@fltk.org".
#
LIBNAMEROOT=ftlk_jpeg
!include ../watcom.mif
#
# Object files...
#
LIBOBJS = jmemnobs.obj &
jcapimin.obj jcapistd.obj jccoefct.obj jccolor.obj jcdctmgr.obj &
jchuff.obj jcinit.obj jcmainct.obj jcmarker.obj jcmaster.obj jcomapi.obj &
jcparam.obj jcphuff.obj jcprepct.obj jcsample.obj jctrans.obj &
jdapimin.obj jdapistd.obj jdatadst.obj jdatasrc.obj jdcoefct.obj &
jdcolor.obj jddctmgr.obj jdhuff.obj jdinput.obj jdmainct.obj jdmarker.obj &
jdmaster.obj jdmerge.obj jdphuff.obj jdpostct.obj jdsample.obj &
jdtrans.obj jerror.obj jfdctflt.obj jfdctfst.obj jfdctint.obj &
jidctflt.obj jidctfst.obj jidctint.obj jidctred.obj jquant1.obj &
jquant2.obj jutils.obj jmemmgr.obj
#
# Make all targets...
#
all: $(LIBNAME)
$(LIBNAME): $(LIBOBJS)
$(LIB) $(LIBOPTS) $@ $<
#
# Clean all directories
#
clean : .SYMBOLIC
@echo Cleaning up.
CLEANEXTS = obj
@for %a in ($(CLEANEXTS)) do -rm -f $(ODIR)\*.%a
-rm -f *.err
-rm -f $(LIBNAME)
#
# End of "$Id$".
#

View File

@ -1,64 +1,64 @@
#
# "$Id: makefile.wat,v 1.1.2.1 2004/11/20 03:19:58 easysw Exp $"
#
# PNG library makefile for the Fast Light Toolkit (FLTK).
#
# Copyright 1997-2004 by Easy Software Products.
#
# 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.
#
# Please report all bugs and problems to "fltk-bugs@fltk.org".
#
LIBNAMEROOT=ftlk_png
# I ought to be able to do "EXTRA_INCLUDE_DIRS += ;../zlib" but it doesn't work for me (OW1.3)
!undef EXTRA_INCLUDE_DIRS
EXTRA_INCLUDE_DIRS=$(ROOT);../zlib
!include ../watcom.mif
#
# Object files...
#
LIBOBJS = png.obj pngset.obj pngget.obj pngrutil.obj pngtrans.obj pngwutil.obj &
pngread.obj pngrio.obj pngwio.obj pngwrite.obj pngrtran.obj &
pngwtran.obj pngmem.obj pngerror.obj pngpread.obj
#
# Make all targets...
#
all: $(LIBNAME)
$(LIBNAME): $(LIBOBJS)
$(LIB) $(LIBOPTS) $@ $<
#
# Clean all directories
#
clean : .SYMBOLIC
@echo Cleaning up.
CLEANEXTS = obj
@for %a in ($(CLEANEXTS)) do -rm -f $(ODIR)\*.%a
-rm -f *.err
-rm -f $(LIBNAME)
#
# End of "$Id: makefile.wat,v 1.1.2.1 2004/11/20 03:19:58 easysw Exp $".
#
#
# "$Id$"
#
# PNG library makefile for the Fast Light Toolkit (FLTK).
#
# Copyright 1997-2004 by Easy Software Products.
#
# 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.
#
# Please report all bugs and problems to "fltk-bugs@fltk.org".
#
LIBNAMEROOT=ftlk_png
# I ought to be able to do "EXTRA_INCLUDE_DIRS += ;../zlib" but it doesn't work for me (OW1.3)
!undef EXTRA_INCLUDE_DIRS
EXTRA_INCLUDE_DIRS=$(ROOT);../zlib
!include ../watcom.mif
#
# Object files...
#
LIBOBJS = png.obj pngset.obj pngget.obj pngrutil.obj pngtrans.obj pngwutil.obj &
pngread.obj pngrio.obj pngwio.obj pngwrite.obj pngrtran.obj &
pngwtran.obj pngmem.obj pngerror.obj pngpread.obj
#
# Make all targets...
#
all: $(LIBNAME)
$(LIBNAME): $(LIBOBJS)
$(LIB) $(LIBOPTS) $@ $<
#
# Clean all directories
#
clean : .SYMBOLIC
@echo Cleaning up.
CLEANEXTS = obj
@for %a in ($(CLEANEXTS)) do -rm -f $(ODIR)\*.%a
-rm -f *.err
-rm -f $(LIBNAME)
#
# End of "$Id$".
#

View File

@ -1,226 +1,226 @@
#
# "$Id: makefile.wat,v 1.1.2.1 2004/11/20 03:19:58 easysw Exp $"
#
# Library makefile for the Fast Light Tool Kit (FLTK).
#
# Copyright 1998-2004 by Bill Spitzak and others.
#
# 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.
#
# Please report all bugs and problems to "fltk-bugs@fltk.org".
#
CPPFILES = &
Fl.obj &
Fl_Adjuster.obj &
Fl_Bitmap.obj &
Fl_Browser.obj &
Fl_Browser_.obj &
Fl_Browser_load.obj &
Fl_Box.obj &
Fl_Button.obj &
Fl_Chart.obj &
Fl_Check_Browser.obj &
Fl_Check_Button.obj &
Fl_Choice.obj &
Fl_Clock.obj &
Fl_Color_Chooser.obj &
Fl_Counter.obj &
Fl_Dial.obj &
Fl_Double_Window.obj &
Fl_File_Browser.obj &
Fl_File_Chooser.obj &
Fl_File_Chooser2.obj &
Fl_File_Icon.obj &
Fl_File_Input.obj &
Fl_Group.obj &
Fl_Help_View.obj &
Fl_Image.obj &
Fl_Input.obj &
Fl_Input_.obj &
Fl_Light_Button.obj &
Fl_Menu.obj &
Fl_Menu_.obj &
Fl_Menu_Bar.obj &
Fl_Sys_Menu_Bar.obj &
Fl_Menu_Button.obj &
Fl_Menu_Window.obj &
Fl_Menu_add.obj &
Fl_Menu_global.obj &
Fl_Multi_Label.obj &
Fl_Overlay_Window.obj &
Fl_Pack.obj &
Fl_Pixmap.obj &
Fl_Positioner.obj &
Fl_Preferences.obj &
Fl_Progress.obj &
Fl_Repeat_Button.obj &
Fl_Return_Button.obj &
Fl_Roller.obj &
Fl_Round_Button.obj &
Fl_Scroll.obj &
Fl_Scrollbar.obj &
Fl_Shared_Image.obj &
Fl_Single_Window.obj &
Fl_Slider.obj &
Fl_Tabs.obj &
Fl_Text_Buffer.obj &
Fl_Text_Display.obj &
Fl_Text_Editor.obj &
Fl_Tile.obj &
Fl_Tiled_Image.obj &
Fl_Tooltip.obj &
Fl_Valuator.obj &
Fl_Value_Input.obj &
Fl_Value_Output.obj &
Fl_Value_Slider.obj &
Fl_Widget.obj &
Fl_Window.obj &
Fl_Window_fullscreen.obj &
Fl_Window_hotspot.obj &
Fl_Window_iconize.obj &
Fl_Wizard.obj &
Fl_XBM_Image.obj &
Fl_XPM_Image.obj &
Fl_abort.obj &
Fl_add_idle.obj &
Fl_arg.obj &
Fl_compose.obj &
Fl_display.obj &
Fl_get_key.obj &
Fl_get_system_colors.obj &
Fl_grab.obj &
Fl_lock.obj &
Fl_own_colormap.obj &
Fl_visual.obj &
Fl_x.obj &
filename_absolute.obj &
filename_expand.obj &
filename_ext.obj &
filename_isdir.obj &
filename_list.obj &
filename_match.obj &
filename_setext.obj &
fl_arc.obj &
fl_arci.obj &
fl_ask.obj &
fl_boxtype.obj &
fl_color.obj &
fl_cursor.obj &
fl_curve.obj &
fl_diamond_box.obj &
fl_dnd.obj &
fl_draw.obj &
fl_draw_image.obj &
fl_draw_pixmap.obj &
fl_engraved_label.obj &
fl_file_dir.obj &
fl_font.obj &
fl_labeltype.obj &
fl_line_style.obj &
fl_oval_box.obj &
fl_overlay.obj &
fl_overlay_visual.obj &
fl_plastic.obj &
fl_read_image.obj &
fl_rect.obj &
fl_round_box.obj &
fl_rounded_box.obj &
fl_set_font.obj &
fl_set_fonts.obj &
fl_scroll_area.obj &
fl_shadow_box.obj &
fl_shortcut.obj &
fl_show_colormap.obj &
fl_symbols.obj &
fl_vertex.obj
FLCPPFILES = &
forms_compatability.obj &
forms_bitmap.obj &
forms_free.obj &
forms_fselect.obj &
forms_pixmap.obj &
forms_timer.obj
GLCPPFILES = &
Fl_Gl_Choice.obj &
Fl_Gl_Overlay.obj &
Fl_Gl_Window.obj &
gl_draw.obj &
gl_start.obj &
glut_compatability.obj &
glut_font.obj
IMGCPPFILES = &
fl_images_core.obj &
Fl_BMP_Image.obj &
Fl_File_Icon2.obj &
Fl_GIF_Image.obj &
Fl_Help_Dialog.obj &
Fl_JPEG_Image.obj &
Fl_PNG_Image.obj &
Fl_PNM_Image.obj
CFILES = fl_call_main.obj flstring.obj scandir.obj numericsort.obj vsnprintf.obj
################################################################
!include ../watcom.mif
OBJECTS = $(CPPFILES) $(CFILES)
FLOBJECTS = $(FLCPPFILES)
GLOBJECTS = $(GLCPPFILES)
IMGOBJECTS = $(IMGCPPFILES)
# The four basic fltk libraries are defined in ../watcom.mif, so that appliactions
# can also use them.
all: $(LIBNAME) &
$(LIBNAMEFL) &
$(LIBNAMEGL) &
$(LIBNAMEIMG)
# $(DSONAME) &
# $(FLDSONAME) &
# $(GLDSONAME) &
# $(IMGDSONAME)
$(LIBNAME): $(OBJECTS)
$(LIB) $(LIBOPTS) $@ $<
$(LIBNAMEFL): $(FLOBJECTS)
$(LIB) $(LIBOPTS) $@ $<
$(LIBNAMEGL): $(GLOBJECTS)
$(LIB) $(LIBOPTS) $@ $<
$(LIBNAMEIMG): $(IMGOBJECTS)
$(LIB) $(LIBOPTS) $@ $<
#
# Clean all directories
#
clean : .SYMBOLIC
@echo Cleaning up.
CLEANEXTS = exe map sym obj lk1
@for %a in ($(CLEANEXTS)) do -rm -f $(ODIR)\*.%a
-rm -f *.err
-rm -f $(LIBNAME)
-rm -f $(LIBNAMEFL)
-rm -f $(LIBNAMEGL)
-rm -f $(LIBNAMEIMG)
#
# "$Id$"
#
# Library makefile for the Fast Light Tool Kit (FLTK).
#
# Copyright 1998-2004 by Bill Spitzak and others.
#
# 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.
#
# Please report all bugs and problems to "fltk-bugs@fltk.org".
#
CPPFILES = &
Fl.obj &
Fl_Adjuster.obj &
Fl_Bitmap.obj &
Fl_Browser.obj &
Fl_Browser_.obj &
Fl_Browser_load.obj &
Fl_Box.obj &
Fl_Button.obj &
Fl_Chart.obj &
Fl_Check_Browser.obj &
Fl_Check_Button.obj &
Fl_Choice.obj &
Fl_Clock.obj &
Fl_Color_Chooser.obj &
Fl_Counter.obj &
Fl_Dial.obj &
Fl_Double_Window.obj &
Fl_File_Browser.obj &
Fl_File_Chooser.obj &
Fl_File_Chooser2.obj &
Fl_File_Icon.obj &
Fl_File_Input.obj &
Fl_Group.obj &
Fl_Help_View.obj &
Fl_Image.obj &
Fl_Input.obj &
Fl_Input_.obj &
Fl_Light_Button.obj &
Fl_Menu.obj &
Fl_Menu_.obj &
Fl_Menu_Bar.obj &
Fl_Sys_Menu_Bar.obj &
Fl_Menu_Button.obj &
Fl_Menu_Window.obj &
Fl_Menu_add.obj &
Fl_Menu_global.obj &
Fl_Multi_Label.obj &
Fl_Overlay_Window.obj &
Fl_Pack.obj &
Fl_Pixmap.obj &
Fl_Positioner.obj &
Fl_Preferences.obj &
Fl_Progress.obj &
Fl_Repeat_Button.obj &
Fl_Return_Button.obj &
Fl_Roller.obj &
Fl_Round_Button.obj &
Fl_Scroll.obj &
Fl_Scrollbar.obj &
Fl_Shared_Image.obj &
Fl_Single_Window.obj &
Fl_Slider.obj &
Fl_Tabs.obj &
Fl_Text_Buffer.obj &
Fl_Text_Display.obj &
Fl_Text_Editor.obj &
Fl_Tile.obj &
Fl_Tiled_Image.obj &
Fl_Tooltip.obj &
Fl_Valuator.obj &
Fl_Value_Input.obj &
Fl_Value_Output.obj &
Fl_Value_Slider.obj &
Fl_Widget.obj &
Fl_Window.obj &
Fl_Window_fullscreen.obj &
Fl_Window_hotspot.obj &
Fl_Window_iconize.obj &
Fl_Wizard.obj &
Fl_XBM_Image.obj &
Fl_XPM_Image.obj &
Fl_abort.obj &
Fl_add_idle.obj &
Fl_arg.obj &
Fl_compose.obj &
Fl_display.obj &
Fl_get_key.obj &
Fl_get_system_colors.obj &
Fl_grab.obj &
Fl_lock.obj &
Fl_own_colormap.obj &
Fl_visual.obj &
Fl_x.obj &
filename_absolute.obj &
filename_expand.obj &
filename_ext.obj &
filename_isdir.obj &
filename_list.obj &
filename_match.obj &
filename_setext.obj &
fl_arc.obj &
fl_arci.obj &
fl_ask.obj &
fl_boxtype.obj &
fl_color.obj &
fl_cursor.obj &
fl_curve.obj &
fl_diamond_box.obj &
fl_dnd.obj &
fl_draw.obj &
fl_draw_image.obj &
fl_draw_pixmap.obj &
fl_engraved_label.obj &
fl_file_dir.obj &
fl_font.obj &
fl_labeltype.obj &
fl_line_style.obj &
fl_oval_box.obj &
fl_overlay.obj &
fl_overlay_visual.obj &
fl_plastic.obj &
fl_read_image.obj &
fl_rect.obj &
fl_round_box.obj &
fl_rounded_box.obj &
fl_set_font.obj &
fl_set_fonts.obj &
fl_scroll_area.obj &
fl_shadow_box.obj &
fl_shortcut.obj &
fl_show_colormap.obj &
fl_symbols.obj &
fl_vertex.obj
FLCPPFILES = &
forms_compatability.obj &
forms_bitmap.obj &
forms_free.obj &
forms_fselect.obj &
forms_pixmap.obj &
forms_timer.obj
GLCPPFILES = &
Fl_Gl_Choice.obj &
Fl_Gl_Overlay.obj &
Fl_Gl_Window.obj &
gl_draw.obj &
gl_start.obj &
glut_compatability.obj &
glut_font.obj
IMGCPPFILES = &
fl_images_core.obj &
Fl_BMP_Image.obj &
Fl_File_Icon2.obj &
Fl_GIF_Image.obj &
Fl_Help_Dialog.obj &
Fl_JPEG_Image.obj &
Fl_PNG_Image.obj &
Fl_PNM_Image.obj
CFILES = fl_call_main.obj flstring.obj scandir.obj numericsort.obj vsnprintf.obj
################################################################
!include ../watcom.mif
OBJECTS = $(CPPFILES) $(CFILES)
FLOBJECTS = $(FLCPPFILES)
GLOBJECTS = $(GLCPPFILES)
IMGOBJECTS = $(IMGCPPFILES)
# The four basic fltk libraries are defined in ../watcom.mif, so that appliactions
# can also use them.
all: $(LIBNAME) &
$(LIBNAMEFL) &
$(LIBNAMEGL) &
$(LIBNAMEIMG)
# $(DSONAME) &
# $(FLDSONAME) &
# $(GLDSONAME) &
# $(IMGDSONAME)
$(LIBNAME): $(OBJECTS)
$(LIB) $(LIBOPTS) $@ $<
$(LIBNAMEFL): $(FLOBJECTS)
$(LIB) $(LIBOPTS) $@ $<
$(LIBNAMEGL): $(GLOBJECTS)
$(LIB) $(LIBOPTS) $@ $<
$(LIBNAMEIMG): $(IMGOBJECTS)
$(LIB) $(LIBOPTS) $@ $<
#
# Clean all directories
#
clean : .SYMBOLIC
@echo Cleaning up.
CLEANEXTS = exe map sym obj lk1
@for %a in ($(CLEANEXTS)) do -rm -f $(ODIR)\*.%a
-rm -f *.err
-rm -f $(LIBNAME)
-rm -f $(LIBNAMEFL)
-rm -f $(LIBNAMEGL)
-rm -f $(LIBNAMEIMG)

View File

@ -1,289 +1,289 @@
#
# "$Id: makefile.wat,v 1.1.2.1 2004/11/29 14:57:23 easysw Exp $"
#
# Test/example program makefile for the Fast Light Tool Kit (FLTK).
#
# Copyright 1998-2004 by Bill Spitzak and others.
#
# 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.
#
# Please report all bugs and problems to "fltk-bugs@fltk.org".
#
!include ../watcom.mif
ALL = &
$(ODIR)/unittests$(EXEEXT) &
$(ODIR)/adjuster$(EXEEXT) &
$(ODIR)/arc$(EXEEXT) &
$(ODIR)/ask$(EXEEXT) &
$(ODIR)/bitmap$(EXEEXT) &
$(ODIR)/boxtype$(EXEEXT) &
$(ODIR)/browser$(EXEEXT) &
$(ODIR)/button$(EXEEXT) &
$(ODIR)/buttons$(EXEEXT) &
$(ODIR)/checkers$(EXEEXT) &
$(ODIR)/clock$(EXEEXT) &
$(ODIR)/colbrowser$(EXEEXT) &
$(ODIR)/color_chooser$(EXEEXT) &
$(ODIR)/cursor$(EXEEXT) &
$(ODIR)/curve$(EXEEXT) &
$(ODIR)/demo$(EXEEXT) &
$(ODIR)/doublebuffer$(EXEEXT) &
$(ODIR)/editor$(EXEEXT) &
$(ODIR)/fast_slow$(EXEEXT) &
$(ODIR)/file_chooser$(EXEEXT) &
$(ODIR)/fonts$(EXEEXT) &
$(ODIR)/forms$(EXEEXT) &
$(ODIR)/hello$(EXEEXT) &
$(ODIR)/help$(EXEEXT) &
$(ODIR)/iconize$(EXEEXT) &
$(ODIR)/image$(EXEEXT) &
$(ODIR)/inactive$(EXEEXT) &
$(ODIR)/input$(EXEEXT) &
$(ODIR)/keyboard$(EXEEXT) &
$(ODIR)/label$(EXEEXT) &
$(ODIR)/line_style$(EXEEXT) &
$(ODIR)/list_visuals$(EXEEXT) &
$(ODIR)/mandelbrot$(EXEEXT) &
$(ODIR)/menubar$(EXEEXT) &
$(ODIR)/message$(EXEEXT) &
$(ODIR)/minimum$(EXEEXT) &
$(ODIR)/navigation$(EXEEXT) &
$(ODIR)/output$(EXEEXT) &
$(ODIR)/overlay$(EXEEXT) &
$(ODIR)/pack$(EXEEXT) &
$(ODIR)/pixmap$(EXEEXT) &
$(ODIR)/pixmap_browser$(EXEEXT) &
$(ODIR)/preferences$(EXEEXT) &
$(ODIR)/radio$(EXEEXT) &
$(ODIR)/resize$(EXEEXT) &
$(ODIR)/resizebox$(EXEEXT) &
$(ODIR)/scroll$(EXEEXT) &
$(ODIR)/subwindow$(EXEEXT) &
$(ODIR)/symbols$(EXEEXT) &
$(ODIR)/tabs$(EXEEXT) &
$(ODIR)/threads$(EXEEXT) &
$(ODIR)/tile$(EXEEXT) &
$(ODIR)/tiled_image$(EXEEXT) &
$(ODIR)/valuators$(EXEEXT)
GLALL = &
$(ODIR)/cube$(EXEEXT) &
$(ODIR)/CubeView$(EXEEXT) &
$(ODIR)/fractals$(EXEEXT) &
$(ODIR)/fullscreen$(EXEEXT) &
$(ODIR)/gl_overlay$(EXEEXT) &
$(ODIR)/glpuzzle$(EXEEXT) &
$(ODIR)/shape$(EXEEXT)
all: $(ALL) $(GLALL)
gldemos: $(GLALL)
# FLUID file rules. We could put them in ../watcom.mif really, but that needs testing.
.fl.cxx:
echo Generating $<...
-..\fluid\$(ODIR)\fluid$(EXEEXT) -c $[@
.fl.h:
echo Generating $<...
-..\fluid\$(ODIR)\fluid$(EXEEXT) -c $[@
# All demos depend on the FLTK library...
$(ALL): $(LIBNAME)
# General demos..... Normally a executable depending on an object file of the same name
# shouldn't need a target line. But if different output directories are used, changes
# in sources files are not picked up, so we do need a line per target.
$(ODIR)/unittests$(EXEEXT) : $(ODIR)/unittests.obj
$(ODIR)/adjuster$(EXEEXT) : $(ODIR)/adjuster.obj
$(ODIR)/arc$(EXEEXT) : $(ODIR)/arc.obj
$(ODIR)/ask$(EXEEXT) : $(ODIR)/ask.obj
$(ODIR)/bitmap$(EXEEXT) : $(ODIR)/bitmap.obj
$(ODIR)/boxtype$(EXEEXT) : $(ODIR)/boxtype.obj
$(ODIR)/browser$(EXEEXT) : $(ODIR)/browser.obj
$(ODIR)/button$(EXEEXT) : $(ODIR)/button.obj
$(ODIR)/buttons$(EXEEXT) : $(ODIR)/buttons.obj
$(ODIR)/checkers$(EXEEXT) : $(ODIR)/checkers.obj
$(ODIR)/clock$(EXEEXT) : $(ODIR)/clock.obj
$(ODIR)/colbrowser$(EXEEXT) : $(ODIR)/colbrowser.obj
$(ODIR)/color_chooser$(EXEEXT) : $(ODIR)/color_chooser.obj
$(ODIR)/cursor$(EXEEXT) : $(ODIR)/cursor.obj
$(ODIR)/curve$(EXEEXT) : $(ODIR)/curve.obj
$(ODIR)/demo$(EXEEXT) : $(ODIR)/demo.obj
$(ODIR)/doublebuffer$(EXEEXT) : $(ODIR)/doublebuffer.obj
$(ODIR)/editor$(EXEEXT) : $(ODIR)/editor.obj
$(ODIR)/fast_slow$(EXEEXT) : $(ODIR)/fast_slow.obj
$(ODIR)/file_chooser$(EXEEXT) : $(ODIR)/file_chooser.obj
$(ODIR)/fonts$(EXEEXT) : $(ODIR)/fonts.obj
$(ODIR)/forms$(EXEEXT) : $(ODIR)/forms.obj
$(ODIR)/hello$(EXEEXT) : $(ODIR)/hello.obj
$(ODIR)/help$(EXEEXT) : $(ODIR)/help.obj
$(ODIR)/iconize$(EXEEXT) : $(ODIR)/iconize.obj
$(ODIR)/image$(EXEEXT) : $(ODIR)/image.obj
$(ODIR)/inactive$(EXEEXT) : $(ODIR)/inactive.obj
$(ODIR)/input$(EXEEXT) : $(ODIR)/input.obj
$(ODIR)/label$(EXEEXT) : $(ODIR)/label.obj
$(ODIR)/line_style$(EXEEXT) : $(ODIR)/line_style.obj
$(ODIR)/list_visuals$(EXEEXT) : $(ODIR)/list_visuals.obj
$(ODIR)/menubar$(EXEEXT) : $(ODIR)/menubar.obj
$(ODIR)/message$(EXEEXT) : $(ODIR)/message.obj
$(ODIR)/minimum$(EXEEXT) : $(ODIR)/minimum.obj
$(ODIR)/navigation$(EXEEXT) : $(ODIR)/navigation.obj
$(ODIR)/output$(EXEEXT) : $(ODIR)/output.obj
$(ODIR)/overlay$(EXEEXT) : $(ODIR)/overlay.obj
$(ODIR)/pack$(EXEEXT) : $(ODIR)/pack.obj
$(ODIR)/pixmap$(EXEEXT) : $(ODIR)/pixmap.obj
$(ODIR)/pixmap_browser$(EXEEXT) : $(ODIR)/pixmap_browser.obj
$(ODIR)/preferences$(EXEEXT) : $(ODIR)/preferences.obj
$(ODIR)/radio$(EXEEXT) : $(ODIR)/radio.obj
$(ODIR)/resize$(EXEEXT) : $(ODIR)/resize.obj
$(ODIR)/resizebox$(EXEEXT) : $(ODIR)/resizebox.obj
$(ODIR)/scroll$(EXEEXT) : $(ODIR)/scroll.obj
$(ODIR)/subwindow$(EXEEXT) : $(ODIR)/subwindow.obj
$(ODIR)/symbols$(EXEEXT) : $(ODIR)/symbols.obj
$(ODIR)/tabs$(EXEEXT) : $(ODIR)/tabs.obj
$(ODIR)/threads$(EXEEXT) : $(ODIR)/threads.obj
$(ODIR)/tile$(EXEEXT) : $(ODIR)/tile.obj
$(ODIR)/tiled_image$(EXEEXT) : $(ODIR)/tiled_image.obj
$(ODIR)/valuators$(EXEEXT) : $(ODIR)/valuators.obj
# Because keyboard_ui.obj is listed first, fluid will be used to generate the .cxx and .h file
# so that when keyboard.obj is built, keyboard_ui.h is there.
KBDOBJECTS=keyboard_ui.obj keyboard.obj
$(ODIR)/keyboard$(EXEEXT): $(KBDOBJECTS) keyboard_ui.h
@%create $^*.lk1
@for %i in ($(KBDOBJECTS)) do @%append $^*.lk1 F $(ODIR)/%i
@for %i in ($(LIBS)) do @%append $^*.lk1 L %i
@for %i in ($(EXTRA_LIBS)) do @%append $^*.lk1 L %i
@for %i in ($(SYSLIBS)) do @%append $^*.lk1 L %i
$(LN) $(LNOPTS) name $^@ op map=$^* @$^*.lk1
@del $^*.lk1
@set KBDOBJECTS=
MDLOBJECTS=mandelbrot_ui.obj mandelbrot.obj
$(ODIR)/mandelbrot$(EXEEXT): $(MDLOBJECTS)
@%create $^*.lk1
@for %i in ($(MDLOBJECTS)) do @%append $^*.lk1 F $(ODIR)/%i
@for %i in ($(LIBS)) do @%append $^*.lk1 L %i
@for %i in ($(EXTRA_LIBS)) do @%append $^*.lk1 L %i
@for %i in ($(SYSLIBS)) do @%append $^*.lk1 L %i
$(LN) $(LNOPTS) name $^@ op map=$^* @$^*.lk1
@del $^*.lk1
# All OpenGL demos depend on the FLTK and FLTK_GL libraries...
$(GLALL): $(LIBNAME) $(LIBNAMEGL)
# OpenGL demos...
$(ODIR)/cube$(EXEEXT) : $(ODIR)/cube.obj
$(ODIR)/fullscreen$(EXEEXT) : $(ODIR)/fullscreen.obj
$(ODIR)/gl_overlay$(EXEEXT) : $(ODIR)/gl_overlay.obj
$(ODIR)/glpuzzle$(EXEEXT) : $(ODIR)/glpuzzle.obj
$(ODIR)/shape$(EXEEXT) : $(ODIR)/shape.obj
CBVOBJECTS = CubeView.obj CubeViewUI.obj CubeMain.obj
$(ODIR)/CubeView$(EXEEXT): $(CBVOBJECTS)
@%create $^*.lk1
@for %i in ($(CBVOBJECTS)) do @%append $^*.lk1 F $(ODIR)/%i
@for %i in ($(LIBS)) do @%append $^*.lk1 L %i
@for %i in ($(EXTRA_LIBS)) do @%append $^*.lk1 L %i
@for %i in ($(SYSLIBS)) do @%append $^*.lk1 L %i
$(LN) $(LNOPTS) name $^@ op map=$^* @$^*.lk1
@del $^*.lk1
FRTOBJECTS = fractals.obj fracviewer.obj
$(ODIR)/fractals$(EXEEXT): $(FRTOBJECTS)
@%create $^*.lk1
@for %i in ($(FRTOBJECTS)) do @%append $^*.lk1 F $(ODIR)/%i
@for %i in ($(LIBS)) do @%append $^*.lk1 L %i
@for %i in ($(EXTRA_LIBS)) do @%append $^*.lk1 L %i
@for %i in ($(SYSLIBS)) do @%append $^*.lk1 L %i
$(LN) $(LNOPTS) name $^@ op map=$^* @$^*.lk1
@del $^*.lk1
#
# Clean all directories
#
clean : .SYMBOLIC
@echo Cleaning up.
CLEANEXTS = exe map sym obj lk1
@for %a in ($(CLEANEXTS)) do -rm -f $(ODIR)\*.%a
-rm -f *.err
FLUIDMADE = fastslow inactive keyboard_ui preferences radio resize tabs valuators
@for %a in ($(FLUIDMADE)) do -rm -f %a.cxx %a.h
#
# End of "$Id: makefile.wat,v 1.1.2.1 2004/11/29 14:57:23 easysw Exp $".
#
#
# "$Id$"
#
# Test/example program makefile for the Fast Light Tool Kit (FLTK).
#
# Copyright 1998-2004 by Bill Spitzak and others.
#
# 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.
#
# Please report all bugs and problems to "fltk-bugs@fltk.org".
#
!include ../watcom.mif
ALL = &
$(ODIR)/unittests$(EXEEXT) &
$(ODIR)/adjuster$(EXEEXT) &
$(ODIR)/arc$(EXEEXT) &
$(ODIR)/ask$(EXEEXT) &
$(ODIR)/bitmap$(EXEEXT) &
$(ODIR)/boxtype$(EXEEXT) &
$(ODIR)/browser$(EXEEXT) &
$(ODIR)/button$(EXEEXT) &
$(ODIR)/buttons$(EXEEXT) &
$(ODIR)/checkers$(EXEEXT) &
$(ODIR)/clock$(EXEEXT) &
$(ODIR)/colbrowser$(EXEEXT) &
$(ODIR)/color_chooser$(EXEEXT) &
$(ODIR)/cursor$(EXEEXT) &
$(ODIR)/curve$(EXEEXT) &
$(ODIR)/demo$(EXEEXT) &
$(ODIR)/doublebuffer$(EXEEXT) &
$(ODIR)/editor$(EXEEXT) &
$(ODIR)/fast_slow$(EXEEXT) &
$(ODIR)/file_chooser$(EXEEXT) &
$(ODIR)/fonts$(EXEEXT) &
$(ODIR)/forms$(EXEEXT) &
$(ODIR)/hello$(EXEEXT) &
$(ODIR)/help$(EXEEXT) &
$(ODIR)/iconize$(EXEEXT) &
$(ODIR)/image$(EXEEXT) &
$(ODIR)/inactive$(EXEEXT) &
$(ODIR)/input$(EXEEXT) &
$(ODIR)/keyboard$(EXEEXT) &
$(ODIR)/label$(EXEEXT) &
$(ODIR)/line_style$(EXEEXT) &
$(ODIR)/list_visuals$(EXEEXT) &
$(ODIR)/mandelbrot$(EXEEXT) &
$(ODIR)/menubar$(EXEEXT) &
$(ODIR)/message$(EXEEXT) &
$(ODIR)/minimum$(EXEEXT) &
$(ODIR)/navigation$(EXEEXT) &
$(ODIR)/output$(EXEEXT) &
$(ODIR)/overlay$(EXEEXT) &
$(ODIR)/pack$(EXEEXT) &
$(ODIR)/pixmap$(EXEEXT) &
$(ODIR)/pixmap_browser$(EXEEXT) &
$(ODIR)/preferences$(EXEEXT) &
$(ODIR)/radio$(EXEEXT) &
$(ODIR)/resize$(EXEEXT) &
$(ODIR)/resizebox$(EXEEXT) &
$(ODIR)/scroll$(EXEEXT) &
$(ODIR)/subwindow$(EXEEXT) &
$(ODIR)/symbols$(EXEEXT) &
$(ODIR)/tabs$(EXEEXT) &
$(ODIR)/threads$(EXEEXT) &
$(ODIR)/tile$(EXEEXT) &
$(ODIR)/tiled_image$(EXEEXT) &
$(ODIR)/valuators$(EXEEXT)
GLALL = &
$(ODIR)/cube$(EXEEXT) &
$(ODIR)/CubeView$(EXEEXT) &
$(ODIR)/fractals$(EXEEXT) &
$(ODIR)/fullscreen$(EXEEXT) &
$(ODIR)/gl_overlay$(EXEEXT) &
$(ODIR)/glpuzzle$(EXEEXT) &
$(ODIR)/shape$(EXEEXT)
all: $(ALL) $(GLALL)
gldemos: $(GLALL)
# FLUID file rules. We could put them in ../watcom.mif really, but that needs testing.
.fl.cxx:
echo Generating $<...
-..\fluid\$(ODIR)\fluid$(EXEEXT) -c $[@
.fl.h:
echo Generating $<...
-..\fluid\$(ODIR)\fluid$(EXEEXT) -c $[@
# All demos depend on the FLTK library...
$(ALL): $(LIBNAME)
# General demos..... Normally a executable depending on an object file of the same name
# shouldn't need a target line. But if different output directories are used, changes
# in sources files are not picked up, so we do need a line per target.
$(ODIR)/unittests$(EXEEXT) : $(ODIR)/unittests.obj
$(ODIR)/adjuster$(EXEEXT) : $(ODIR)/adjuster.obj
$(ODIR)/arc$(EXEEXT) : $(ODIR)/arc.obj
$(ODIR)/ask$(EXEEXT) : $(ODIR)/ask.obj
$(ODIR)/bitmap$(EXEEXT) : $(ODIR)/bitmap.obj
$(ODIR)/boxtype$(EXEEXT) : $(ODIR)/boxtype.obj
$(ODIR)/browser$(EXEEXT) : $(ODIR)/browser.obj
$(ODIR)/button$(EXEEXT) : $(ODIR)/button.obj
$(ODIR)/buttons$(EXEEXT) : $(ODIR)/buttons.obj
$(ODIR)/checkers$(EXEEXT) : $(ODIR)/checkers.obj
$(ODIR)/clock$(EXEEXT) : $(ODIR)/clock.obj
$(ODIR)/colbrowser$(EXEEXT) : $(ODIR)/colbrowser.obj
$(ODIR)/color_chooser$(EXEEXT) : $(ODIR)/color_chooser.obj
$(ODIR)/cursor$(EXEEXT) : $(ODIR)/cursor.obj
$(ODIR)/curve$(EXEEXT) : $(ODIR)/curve.obj
$(ODIR)/demo$(EXEEXT) : $(ODIR)/demo.obj
$(ODIR)/doublebuffer$(EXEEXT) : $(ODIR)/doublebuffer.obj
$(ODIR)/editor$(EXEEXT) : $(ODIR)/editor.obj
$(ODIR)/fast_slow$(EXEEXT) : $(ODIR)/fast_slow.obj
$(ODIR)/file_chooser$(EXEEXT) : $(ODIR)/file_chooser.obj
$(ODIR)/fonts$(EXEEXT) : $(ODIR)/fonts.obj
$(ODIR)/forms$(EXEEXT) : $(ODIR)/forms.obj
$(ODIR)/hello$(EXEEXT) : $(ODIR)/hello.obj
$(ODIR)/help$(EXEEXT) : $(ODIR)/help.obj
$(ODIR)/iconize$(EXEEXT) : $(ODIR)/iconize.obj
$(ODIR)/image$(EXEEXT) : $(ODIR)/image.obj
$(ODIR)/inactive$(EXEEXT) : $(ODIR)/inactive.obj
$(ODIR)/input$(EXEEXT) : $(ODIR)/input.obj
$(ODIR)/label$(EXEEXT) : $(ODIR)/label.obj
$(ODIR)/line_style$(EXEEXT) : $(ODIR)/line_style.obj
$(ODIR)/list_visuals$(EXEEXT) : $(ODIR)/list_visuals.obj
$(ODIR)/menubar$(EXEEXT) : $(ODIR)/menubar.obj
$(ODIR)/message$(EXEEXT) : $(ODIR)/message.obj
$(ODIR)/minimum$(EXEEXT) : $(ODIR)/minimum.obj
$(ODIR)/navigation$(EXEEXT) : $(ODIR)/navigation.obj
$(ODIR)/output$(EXEEXT) : $(ODIR)/output.obj
$(ODIR)/overlay$(EXEEXT) : $(ODIR)/overlay.obj
$(ODIR)/pack$(EXEEXT) : $(ODIR)/pack.obj
$(ODIR)/pixmap$(EXEEXT) : $(ODIR)/pixmap.obj
$(ODIR)/pixmap_browser$(EXEEXT) : $(ODIR)/pixmap_browser.obj
$(ODIR)/preferences$(EXEEXT) : $(ODIR)/preferences.obj
$(ODIR)/radio$(EXEEXT) : $(ODIR)/radio.obj
$(ODIR)/resize$(EXEEXT) : $(ODIR)/resize.obj
$(ODIR)/resizebox$(EXEEXT) : $(ODIR)/resizebox.obj
$(ODIR)/scroll$(EXEEXT) : $(ODIR)/scroll.obj
$(ODIR)/subwindow$(EXEEXT) : $(ODIR)/subwindow.obj
$(ODIR)/symbols$(EXEEXT) : $(ODIR)/symbols.obj
$(ODIR)/tabs$(EXEEXT) : $(ODIR)/tabs.obj
$(ODIR)/threads$(EXEEXT) : $(ODIR)/threads.obj
$(ODIR)/tile$(EXEEXT) : $(ODIR)/tile.obj
$(ODIR)/tiled_image$(EXEEXT) : $(ODIR)/tiled_image.obj
$(ODIR)/valuators$(EXEEXT) : $(ODIR)/valuators.obj
# Because keyboard_ui.obj is listed first, fluid will be used to generate the .cxx and .h file
# so that when keyboard.obj is built, keyboard_ui.h is there.
KBDOBJECTS=keyboard_ui.obj keyboard.obj
$(ODIR)/keyboard$(EXEEXT): $(KBDOBJECTS) keyboard_ui.h
@%create $^*.lk1
@for %i in ($(KBDOBJECTS)) do @%append $^*.lk1 F $(ODIR)/%i
@for %i in ($(LIBS)) do @%append $^*.lk1 L %i
@for %i in ($(EXTRA_LIBS)) do @%append $^*.lk1 L %i
@for %i in ($(SYSLIBS)) do @%append $^*.lk1 L %i
$(LN) $(LNOPTS) name $^@ op map=$^* @$^*.lk1
@del $^*.lk1
@set KBDOBJECTS=
MDLOBJECTS=mandelbrot_ui.obj mandelbrot.obj
$(ODIR)/mandelbrot$(EXEEXT): $(MDLOBJECTS)
@%create $^*.lk1
@for %i in ($(MDLOBJECTS)) do @%append $^*.lk1 F $(ODIR)/%i
@for %i in ($(LIBS)) do @%append $^*.lk1 L %i
@for %i in ($(EXTRA_LIBS)) do @%append $^*.lk1 L %i
@for %i in ($(SYSLIBS)) do @%append $^*.lk1 L %i
$(LN) $(LNOPTS) name $^@ op map=$^* @$^*.lk1
@del $^*.lk1
# All OpenGL demos depend on the FLTK and FLTK_GL libraries...
$(GLALL): $(LIBNAME) $(LIBNAMEGL)
# OpenGL demos...
$(ODIR)/cube$(EXEEXT) : $(ODIR)/cube.obj
$(ODIR)/fullscreen$(EXEEXT) : $(ODIR)/fullscreen.obj
$(ODIR)/gl_overlay$(EXEEXT) : $(ODIR)/gl_overlay.obj
$(ODIR)/glpuzzle$(EXEEXT) : $(ODIR)/glpuzzle.obj
$(ODIR)/shape$(EXEEXT) : $(ODIR)/shape.obj
CBVOBJECTS = CubeView.obj CubeViewUI.obj CubeMain.obj
$(ODIR)/CubeView$(EXEEXT): $(CBVOBJECTS)
@%create $^*.lk1
@for %i in ($(CBVOBJECTS)) do @%append $^*.lk1 F $(ODIR)/%i
@for %i in ($(LIBS)) do @%append $^*.lk1 L %i
@for %i in ($(EXTRA_LIBS)) do @%append $^*.lk1 L %i
@for %i in ($(SYSLIBS)) do @%append $^*.lk1 L %i
$(LN) $(LNOPTS) name $^@ op map=$^* @$^*.lk1
@del $^*.lk1
FRTOBJECTS = fractals.obj fracviewer.obj
$(ODIR)/fractals$(EXEEXT): $(FRTOBJECTS)
@%create $^*.lk1
@for %i in ($(FRTOBJECTS)) do @%append $^*.lk1 F $(ODIR)/%i
@for %i in ($(LIBS)) do @%append $^*.lk1 L %i
@for %i in ($(EXTRA_LIBS)) do @%append $^*.lk1 L %i
@for %i in ($(SYSLIBS)) do @%append $^*.lk1 L %i
$(LN) $(LNOPTS) name $^@ op map=$^* @$^*.lk1
@del $^*.lk1
#
# Clean all directories
#
clean : .SYMBOLIC
@echo Cleaning up.
CLEANEXTS = exe map sym obj lk1
@for %a in ($(CLEANEXTS)) do -rm -f $(ODIR)\*.%a
-rm -f *.err
FLUIDMADE = fastslow inactive keyboard_ui preferences radio resize tabs valuators
@for %a in ($(FLUIDMADE)) do -rm -f %a.cxx %a.h
#
# End of "$Id$".
#

View File

@ -1,46 +1,46 @@
Using Watcom to build and use FLTK 1.1.5
Supported targets: Win32 only, static builds (no DLLs). Can be used from any Watcom
supported host (DOS, OS/2, Windows).
1. To build fltk itself:
- set the environment variable fltk to the root directory of fltk
- go to the Watcom directory, run wmake.
Both debug and release versions of all libs, test programs and FLUID will be built.
2. To create you own programs using fluid:
- set the environment variable fltk to the root directory of fltk
- make a directory where you want to create the source of your program.
- from fltk's watcom directory, copy file "makefile.example" to "makefile" in your
directory.
- Start fluid, and create your program.
- You can either put in fluid's menu shell->execute command:
"cmd /k "wmake && hello && exit || pause && exit"
to compile and run the program (if you are running under Windows only),
- Or in Fluid do shift-Ctrl-C to create C+= code, and then in a cmd prompt
in your directory enter 'wmake", and then run the program.
I have been able to do most of the Fluid Flash tutorial (no time to do all,
but no error at all for the ones I did do.
3. Known errors:
- Fluid aborts when exiting.
Probably a lot more :-( . I cannot test/debug under NT or later, so I must
rely on the help of others to find and fix :-) Watcom-related bugs.
Questions about the OpenWatcom port please to the fltk.general newsgroup.
Questions related to Openwatcom itself please to the c/c++ users group at
new.openwatcom.org.
Mat Nieuwenhoven, Hilversum, 2004-11-22
Using Watcom to build and use FLTK 1.1.5
Supported targets: Win32 only, static builds (no DLLs). Can be used from any Watcom
supported host (DOS, OS/2, Windows).
1. To build fltk itself:
- set the environment variable fltk to the root directory of fltk
- go to the Watcom directory, run wmake.
Both debug and release versions of all libs, test programs and FLUID will be built.
2. To create you own programs using fluid:
- set the environment variable fltk to the root directory of fltk
- make a directory where you want to create the source of your program.
- from fltk's watcom directory, copy file "makefile.example" to "makefile" in your
directory.
- Start fluid, and create your program.
- You can either put in fluid's menu shell->execute command:
"cmd /k "wmake && hello && exit || pause && exit"
to compile and run the program (if you are running under Windows only),
- Or in Fluid do shift-Ctrl-C to create C+= code, and then in a cmd prompt
in your directory enter 'wmake", and then run the program.
I have been able to do most of the Fluid Flash tutorial (no time to do all,
but no error at all for the ones I did do.
3. Known errors:
- Fluid aborts when exiting.
Probably a lot more :-( . I cannot test/debug under NT or later, so I must
rely on the help of others to find and fix :-) Watcom-related bugs.
Questions about the OpenWatcom port please to the fltk.general newsgroup.
Questions related to Openwatcom itself please to the c/c++ users group at
new.openwatcom.org.
Mat Nieuwenhoven, Hilversum, 2004-11-22

View File

@ -1,60 +1,60 @@
#
# "$Id: makefile.wat,v 1.1.2.1 2004/11/20 03:19:59 easysw Exp $"
#
# GNU ZIP library makefile for the Fast Light Toolkit (FLTK).
#
# Copyright 1997-2004 by Easy Software Products.
#
# 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.
#
# Please report all bugs and problems to "fltk-bugs@fltk.org".
#
LIBNAMEROOT=ftlk_z
!include ../watcom.mif
#
# Object files...
#
LIBOBJS = adler32.obj compress.obj crc32.obj gzio.obj uncompr.obj deflate.obj &
trees.obj zutil.obj inflate.obj inftrees.obj inffast.obj
#
# Make all targets...
#
all: $(LIBNAME)
$(LIBNAME): $(LIBOBJS)
$(LIB) $(LIBOPTS) $@ $<
#
# Clean all directories
#
clean : .SYMBOLIC
@echo Cleaning up.
CLEANEXTS = obj
@for %a in ($(CLEANEXTS)) do -rm -f $(ODIR)\*.%a
-rm -f *.err
-rm -f $(LIBNAME)
#
# End of "$Id: makefile.wat,v 1.1.2.1 2004/11/20 03:19:59 easysw Exp $".
#
#
# "$Id$"
#
# GNU ZIP library makefile for the Fast Light Toolkit (FLTK).
#
# Copyright 1997-2004 by Easy Software Products.
#
# 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.
#
# Please report all bugs and problems to "fltk-bugs@fltk.org".
#
LIBNAMEROOT=ftlk_z
!include ../watcom.mif
#
# Object files...
#
LIBOBJS = adler32.obj compress.obj crc32.obj gzio.obj uncompr.obj deflate.obj &
trees.obj zutil.obj inflate.obj inftrees.obj inffast.obj
#
# Make all targets...
#
all: $(LIBNAME)
$(LIBNAME): $(LIBOBJS)
$(LIB) $(LIBOPTS) $@ $<
#
# Clean all directories
#
clean : .SYMBOLIC
@echo Cleaning up.
CLEANEXTS = obj
@for %a in ($(CLEANEXTS)) do -rm -f $(ODIR)\*.%a
-rm -f *.err
-rm -f $(LIBNAME)
#
# End of "$Id$".
#