From ed2870637f14fd9ef3b12d3040d89eec25194788 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sun, 11 Apr 2010 20:16:47 +0000 Subject: [PATCH] Fluid IDE support: rewrite all Makefiles. This has no smart parts inside yet. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7482 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- fltk.db | 3 + fluid/fluid.cxx | 7 + fluid/ide_maketools.cxx | 3039 ++++++++++++++++++++------------------- ide/Xcode3/config.h | 6 +- 4 files changed, 1595 insertions(+), 1460 deletions(-) diff --git a/fltk.db b/fltk.db index fb41724ad..5c20877ef 100644 --- a/fltk.db +++ b/fltk.db @@ -7886,3 +7886,6 @@ xcBuildConfigurationReleaseID:84BD0BC175085F13CFA6CC6B [./ide/VisualC] + +[./ide/Maketools] + diff --git a/fluid/fluid.cxx b/fluid/fluid.cxx index d099d05ff..e9414eb06 100644 --- a/fluid/fluid.cxx +++ b/fluid/fluid.cxx @@ -1599,6 +1599,12 @@ void dbvisualc_cb(Fl_Widget*, void*) { if (pi) pi->test("/Users/matt/dev/fltk-1.3.0/fltk.db", "/Users/matt/dev/fltk-1.3.0"); } +void dbmake_cb(Fl_Widget*, void*) { + Fl_Plugin_Manager pm("commandline"); + Fl_Commandline_Plugin *pi = (Fl_Commandline_Plugin*)pm.plugin("ideMaketools.fluid.fltk.org"); + if (pi) pi->test("/Users/matt/dev/fltk-1.3.0/fltk.db", "/Users/matt/dev/fltk-1.3.0"); +} + void show_dbmanager_cb(Fl_Widget*, void*) { Fl_Plugin_Manager pm("commandline"); Fl_Commandline_Plugin *pi = (Fl_Commandline_Plugin*)pm.plugin("FltkDB.fluid.fltk.org"); @@ -1700,6 +1706,7 @@ Fl_Menu_Item Main_Menu[] = { {"--fltkdb",0,(Fl_Callback *)fltkdb_cb}, {"--dbxcode3",0,(Fl_Callback *)dbxcode_cb}, {"--dbvisualc6",0,(Fl_Callback *)dbvisualc_cb}, + {"--dbmake",0,(Fl_Callback *)dbmake_cb}, #endif {0}, {"&Help",0,0,0,FL_SUBMENU}, diff --git a/fluid/ide_maketools.cxx b/fluid/ide_maketools.cxx index 26c829877..2d7ae3e36 100644 --- a/fluid/ide_maketools.cxx +++ b/fluid/ide_maketools.cxx @@ -89,1477 +89,1599 @@ public: ~Maketools_IDE() { if (rootDir) free(rootDir); } - -#if 0 - /* - * Write all files required during the actual build. - * These are actually forwarding links from the build setup into the - * files section. - */ - int writeBuildFiles(FILE *out, Fl_Preferences &targetDB) { - // FIXME: also write .app, .plist, and maybe headers - // --- write all references to sources from the given target - Fl_Preferences sourcesDB(targetDB, "sources"); - int i, n = sourcesDB.groups(); - for (i=0; i\"; };\n", - xcFileID, fullName, fullName, pathAndName ); - filetype = 0L; - } else if (strcmp(ext, ".framework")==0) { - fprintf(out, - "\t\t%s /* %s */ = {isa = PBXFileReference; " - "lastKnownFileType = \"wrapper.framework\"; " - "name = %s; path = %s; " - "sourceTree = \"\"; };\n", - xcFileID, fullName, fullName, pathAndName ); - filetype = 0L; - } else if (strcmp(ext, ".icns")==0) { - fprintf(out, - "\t\t%s /* %s */ = {isa = PBXFileReference; " - "lastKnownFileType = \"image.icns\"; " - "name = %s; path = %s; " - "sourceTree = \"\"; };\n", - xcFileID, fullName, fullName, pathAndName ); - filetype = 0L; - } else if (strcmp(ext, ".plist")==0) { - filetype = "text.plist.xml"; - } - if (filetype) - fprintf(out, - "\t\t%s /* %s */ = {isa = PBXFileReference; fileEncoding = 4; " - "lastKnownFileType = %s; name = %s; " - "path = ../../%s; sourceTree = SOURCE_ROOT; };\n", - xcFileID, fullName, filetype, fullName, pathAndName); - } - fprintf(out, "/* End PBXFileReference section */\n\n"); - return 0; - } - - /* - * List all framework build phases - */ - int writeFrameworksBuildPhase(FILE *out, Fl_Preferences &targetDB) { - MAKE_XCID(xcBuildFrameworksID, targetDB); - fprintf(out, "\t\t%s /* Frameworks */ = {\n", xcBuildFrameworksID); - fprintf(out, "\t\t\tisa = PBXFrameworksBuildPhase;\n"); - fprintf(out, "\t\t\tbuildActionMask = 2147483647;\n"); - fprintf(out, "\t\t\tfiles = (\n"); - Fl_Preferences libsDB(targetDB, "libs"); - int i, n = libsDB.groups(); - for (i=0; i\";\n"); - fprintf(out, "\t\t};\n"); - return 0; - } - - /* - * Groups define the folder hierarchy in the "Groups & Files" panel - */ - int writeGroupSection(FILE *out) { - int i; - char name[80]; - fprintf(out, "/* Begin PBXGroup section */\n"); - // --- FIXME: missing "icons" group - // --- main group - fprintf(out, "\t\t%s = {\n", xcMainGroupID); - fprintf(out, "\t\t\tisa = PBXGroup;\n"); - fprintf(out, "\t\t\tchildren = (\n"); - fprintf(out, "\t\t\t\t%s /* Applications */,\n", xcAppsGroupID); - fprintf(out, "\t\t\t\t%s /* Frameworks */,\n", xcLibsGroupID); - fprintf(out, "\t\t\t\t%s /* Tests */,\n", xcTestsGroupID); - fprintf(out, "\t\t\t\t%s /* Products */,\n", xcProductsGroupID); // link to "Products" group - fprintf(out, "\t\t\t);\n"); - fprintf(out, "\t\t\tsourceTree = \"\";\n"); - fprintf(out, "\t\t};\n"); - // --- "Products" group - fprintf(out, "\t\t%s /* Products */ = {\n", xcProductsGroupID); - fprintf(out, "\t\t\tisa = PBXGroup;\n"); - fprintf(out, "\t\t\tchildren = (\n"); - for (i=0; i\";\n"); - fprintf(out, "\t\t};\n"); - // --- FIXME: missing "plists" group - - // --- "Applications" group - fprintf(out, "\t\t%s /* Applications */ = {\n", xcAppsGroupID); - fprintf(out, "\t\t\tisa = PBXGroup;\n"); - fprintf(out, "\t\t\tchildren = (\n"); - for (i=0; i\";\n"); - fprintf(out, "\t\t};\n"); - for (i=0; i\";\n"); - fprintf(out, "\t\t};\n"); - for (i=0; i\";\n"); - fprintf(out, "\t\t};\n"); - for (i=0; i\n#endif\n\n", f); + int writeFluidMakefile(const char *filepath) { + FILE *f = fopen(filepath, "wb"); + fputs("#\n", f); + fputs("# \"$Id: Makefile 6614 2009-01-01 16:11:32Z matt $\"\n", f); + fputs("#\n", f); + fputs("# FLUID makefile for the Fast Light Tool Kit (FLTK).\n", f); + fputs("#\n", f); + fputs("# Copyright 1998-2009 by Bill Spitzak and others.\n", f); + fputs("#\n", f); + fputs("# This library is free software; you can redistribute it and/or\n", f); + fputs("# modify it under the terms of the GNU Library General Public\n", f); + fputs("# License as published by the Free Software Foundation; either\n", f); + fputs("# version 2 of the License, or (at your option) any later version.\n", f); + fputs("#\n", f); + fputs("# This library is distributed in the hope that it will be useful,\n", f); + fputs("# but WITHOUT ANY WARRANTY; without even the implied warranty of\n", f); + fputs("# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n", f); + fputs("# Library General Public License for more details.\n", f); + fputs("#\n", f); + fputs("# You should have received a copy of the GNU Library General Public\n", f); + fputs("# License along with this library; if not, write to the Free Software\n", f); + fputs("# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307\n", f); + fputs("# USA.\n", f); + fputs("#\n", f); + fputs("# Please report all bugs and problems on the following page:\n", f); + fputs("#\n", f); + fputs("# http://www.fltk.org/str.php\n", f); + fputs("#\n", f); + fputs("\n", f); + fputs("CPPFILES = \\\n", f); + fputs("\tCodeEditor.cxx \\\n", f); + fputs("\tFl_Function_Type.cxx \\\n", f); + fputs("\tFl_Group_Type.cxx \\\n", f); + fputs("\tFl_Menu_Type.cxx \\\n", f); + fputs("\tFl_Type.cxx \\\n", f); + fputs("\tFl_Widget_Type.cxx \\\n", f); + fputs("\tFl_Window_Type.cxx \\\n", f); + fputs("\tFluid_Image.cxx \\\n", f); + fputs("\tabout_panel.cxx \\\n", f); + fputs("\talign_widget.cxx \\\n", f); + fputs("\talignment_panel.cxx \\\n", f); + fputs("\tcode.cxx \\\n", f); + fputs("\tfactory.cxx \\\n", f); + fputs("\tfile.cxx \\\n", f); + fputs("\tfluid.cxx \\\n", f); + fputs("\tfunction_panel.cxx \\\n", f); + fputs("\ttemplate_panel.cxx \\\n", f); + fputs("\tundo.cxx \\\n", f); + fputs("\twidget_panel.cxx\n", f); + fputs("\n", f); + fputs("################################################################\n", f); + fputs("\n", f); + fputs("OBJECTS = $(CPPFILES:.cxx=.o)\n", f); + fputs("\n", f); + fputs("include ../makeinclude\n", f); + fputs("\n", f); + fputs("all:\t$(FLUID) fluid$(EXEEXT)\n", f); + fputs("\n", f); + fputs("fluid$(EXEEXT):\t\t$(OBJECTS) $(LIBNAME) $(FLLIBNAME) \\\n", f); + fputs("\t\t\t$(IMGLIBNAME)\n", f); + fputs("\techo Linking $@...\n", f); + fputs("\t$(CXX) $(ARCHFLAGS) $(LDFLAGS) -o $@ $(OBJECTS) $(LINKFLTKFORMS) $(LINKFLTKIMG) $(LDLIBS)\n", f); + fputs("\t$(OSX_ONLY) $(INSTALL_BIN) fluid fluid.app/Contents/MacOS\n", f); + fputs("\n", f); + fputs("fluid-shared$(EXEEXT):\t$(OBJECTS) ../src/$(DSONAME) ../src/$(FLDSONAME) \\\n", f); + fputs("\t\t\t../src/$(IMGDSONAME)\n", f); + fputs("\techo Linking $@...\n", f); + fputs("\t$(CXX) $(ARCHFLAGS) $(LDFLAGS) -o $@ $(OBJECTS) $(LINKSHARED) $(LDLIBS)\n", f); + fputs("\n", f); + fputs("clean:\n", f); + fputs("\t-$(RM) *.o core.* *~ *.bck *.bck\n", f); + fputs("\t-$(RM) core fluid$(EXEEXT) fluid-shared$(EXEEXT)\n", f); + fputs("\t-$(RM) fluid.app/Contents/MacOS/fluid$(EXEEXT)\n", f); + fputs("\n", f); + fputs("depend:\t$(CPPFILES)\n", f); + fputs("\tmakedepend -Y -I.. -f makedepend $(CPPFILES)\n", f); + fputs("\n", f); + fputs("# Automatically generated dependencies...\n", f); + fputs("include makedepend\n", f); + fputs("\n", f); + fputs("install: all\n", f); + fputs("\techo \"Installing FLUID in $(DESTDIR)$(bindir)...\"\n", f); + fputs("\t-$(INSTALL_DIR) $(DESTDIR)$(bindir)\n", f); + fputs("\t$(INSTALL_BIN) $(FLUID) $(DESTDIR)$(bindir)/fluid$(EXEEXT)\n", f); + fputs("\n", f); + fputs("install-linux:\n", f); + fputs("\t-$(INSTALL_DIR) $(DESTDIR)/usr/share/applications\n", f); + fputs("\t$(INSTALL_DATA) fluid.desktop $(DESTDIR)/usr/share/applications\n", f); + fputs("\tfor size in 16 32 48 64 128; do \\\n", f); + fputs("\t\tif test ! -d $(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}/apps; then \\\n", f); + fputs("\t\t\t$(INSTALL_DIR) $(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}/apps; \\\n", f); + fputs("\t\tfi; \\\n", f); + fputs("\t\t$(INSTALL_DATA) icons/fluid-$$size.png $(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}/apps/fluid.png; \\\n", f); + fputs("\tdone\n", f); + fputs("\t-$(INSTALL_DIR) $(DESTDIR)/usr/share/mimelnk/application\n", f); + fputs("\t$(INSTALL_DATA) x-fluid.desktop $(DESTDIR)/usr/share/mimelnk/application\n", f); + fputs("\n", f); + fputs("install-osx:\n", f); + fputs("\techo Installing Fluid in $(DESTDIR)/Applications...\n", f); + fputs("\t-$(INSTALL_DIR) $(DESTDIR)/Applications/fluid.app\n", f); + fputs("\t-$(INSTALL_DIR) $(DESTDIR)/Applications/fluid.app/Contents\n", f); + fputs("\t$(INSTALL_DATA) fluid.app/Contents/Info.plist $(DESTDIR)/Applications/fluid.app/Contents/Info.plist\n", f); + fputs("\t$(INSTALL_DATA) fluid.app/Contents/PkgInfo $(DESTDIR)/Applications/fluid.app/Contents/PkgInfo\n", f); + fputs("\t-$(INSTALL_DIR) $(DESTDIR)/Applications/fluid.app/Contents/MacOS\n", f); + fputs("\t$(RM) $(DESTDIR)/Applications/fluid.app/Contents/MacOS/fluid\n", f); + fputs("\t$(LN) $(bindir)/fluid $(DESTDIR)/Applications/fluid.app/Contents/MacOS/fluid\n", f); + fputs("\t-$(INSTALL_DIR) $(DESTDIR)/Applications/fluid.app/Contents/Resources\n", f); + fputs("\t$(INSTALL_DATA) fluid.app/Contents/Resources/fluid.icns $(DESTDIR)/Applications/fluid.app/Contents/Resources\n", f); + fputs("\n", f); + fputs("uninstall:\n", f); + fputs("\t$(RM) $(DESTDIR)$(bindir)/fluid$(EXEEXT)\n", f); + fputs("\n", f); + fputs("uninstall-linux:\n", f); + fputs("\t$(RM) $(DESTDIR)/usr/share/applications/fluid.desktop\n", f); + fputs("\t$(RM) $(DESTDIR)/usr/share/icons/hicolor/*/fluid.png\n", f); + fputs("\t$(RM) $(DESTDIR)/usr/share/mimelnk/application/x-fluid.desktop\n", f); + fputs("\n", f); + fputs("uninstall-osx:\n", f); + fputs("\t$(RM) -r $(DESTDIR)/Applications/fluid.app\n", f); + fputs("\n", f); + fputs("\n", f); + fputs("#\n", f); + fputs("# Note: The rebuild target can only be used if you have the original .fl\n", f); + fputs("# files. This is normally only used by the FLTK maintainers...\n", f); + fputs("#\n", f); + fputs("\n", f); + fputs("rebuild:\n", f); + fputs("\t./fluid -c about_panel.fl\n", f); + fputs("\t./fluid -c alignment_panel.fl\n", f); + fputs("\t./fluid -c function_panel.fl\n", f); + fputs("\t./fluid -c print_panel.fl\n", f); + fputs("\t./fluid -c template_panel.fl\n", f); + fputs("\t./fluid -c widget_panel.fl\n", f); + fputs("\n", f); + fputs("#\n", f); + fputs("# End of \"$Id: Makefile 6614 2009-01-01 16:11:32Z matt $\".\n", f); + fputs("#\n", f); fclose(f); return 0; } - int createIcons(const char *filepath) { - // FIXME: LATER: create a minimum set of icon files? - return 0; - } - - /* - * create a single plists/[name]-Info.plist - */ - int writePList(const char *filepath, Fl_Preferences &target_db, int fmwk=0) { - char name[80]; target_db.get("name", name, "DBERROR", 79); - char filename[2048]; - fl_snprintf(filename, 2047, "%s/%s-Info.plist", filepath, name); - FILE *f = fopen(filename, "wb"); - fprintf(f, "\n"); - fprintf(f, "\n"); - fprintf(f, "\n"); - fprintf(f, "\n"); - fprintf(f, "\tCFBundleDevelopmentRegion\n"); - fprintf(f, "\tEnglish\n"); - if (strcmp(name, "Fluid")==0) { // TODO: this option is not yet in the database - fprintf(f, "\tCFBundleDocumentTypes\n"); - fprintf(f, "\t\n"); - fprintf(f, "\t\t\n"); - fprintf(f, "\t\t\tCFBundleTypeExtensions\n"); - fprintf(f, "\t\t\t\n"); - fprintf(f, "\t\t\t\tfl\n"); - fprintf(f, "\t\t\t\n"); - fprintf(f, "\t\t\tCFBundleTypeIconFile\n"); - fprintf(f, "\t\t\tfluid_doc\n"); - fprintf(f, "\t\t\tCFBundleTypeName\n"); - fprintf(f, "\t\t\tFluid Documents\n"); - fprintf(f, "\t\t\tCFBundleTypeOSTypes\n"); - fprintf(f, "\t\t\t\n"); - fprintf(f, "\t\t\t\tflid\n"); - fprintf(f, "\t\t\t\n"); - fprintf(f, "\t\t\tCFBundleTypeRole\n"); - fprintf(f, "\t\t\tEditor\n"); - fprintf(f, "\t\t\tLSTypeIsPackage\n"); - fprintf(f, "\t\t\t\n"); - fprintf(f, "\t\t\tNSPersistentStoreTypeKey\n"); - fprintf(f, "\t\t\tBinary\n"); - fprintf(f, "\t\t\n"); - fprintf(f, "\t\n"); - } - fprintf(f, "\tCFBundleExecutable\n"); - fprintf(f, "\t${EXECUTABLE_NAME}\n"); - // find the first suitable icon file if there is one - Fl_Preferences extsDB(target_db, "externals"); - int i, n = extsDB.groups(); - for (i=0; iCFBundleIconFile\n\t%s", fileDB.fileName()); - break; - } - } - } - fprintf(f, "\tCFBundleIdentifier\n"); - fprintf(f, "\torg.fltk.%s\n", name); - fprintf(f, "\tCFBundleInfoDictionaryVersion\n"); - fprintf(f, "\t6.0\n"); - fprintf(f, "\tCFBundlePackageType\n"); - if (fmwk) - fprintf(f, "\tFMWK\n"); - else - fprintf(f, "\tAPPL\n"); - fprintf(f, "\tCFBundleSignature\n"); - fprintf(f, "\tFLTK\n"); - fprintf(f, "\tCFBundleVersion\n"); - fprintf(f, "\t1.0\n"); - fprintf(f, "\n"); - fprintf(f, "\t\n"); + int writeLibsMakefile(const char *filepath) { + FILE *f = fopen(filepath, "wb"); + fputs("#\n", f); + fputs("# \"$Id: Makefile 7333 2010-03-25 14:35:45Z manolo $\"\n", f); + fputs("#\n", f); + fputs("# Library makefile for the Fast Light Tool Kit (FLTK).\n", f); + fputs("#\n", f); + fputs("# Copyright 1998-2009 by Bill Spitzak and others.\n", f); + fputs("#\n", f); + fputs("# This library is free software; you can redistribute it and/or\n", f); + fputs("# modify it under the terms of the GNU Library General Public\n", f); + fputs("# License as published by the Free Software Foundation; either\n", f); + fputs("# version 2 of the License, or (at your option) any later version.\n", f); + fputs("#\n", f); + fputs("# This library is distributed in the hope that it will be useful,\n", f); + fputs("# but WITHOUT ANY WARRANTY; without even the implied warranty of\n", f); + fputs("# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n", f); + fputs("# Library General Public License for more details.\n", f); + fputs("#\n", f); + fputs("# You should have received a copy of the GNU Library General Public\n", f); + fputs("# License along with this library; if not, write to the Free Software\n", f); + fputs("# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307\n", f); + fputs("# USA.\n", f); + fputs("#\n", f); + fputs("# Please report all bugs and problems on the following page:\n", f); + fputs("#\n", f); + fputs("# http://www.fltk.org/str.php\n", f); + fputs("#\n", f); + fputs("\n", f); + fputs("CPPFILES = \\\n", f); + fputs("\tFl.cxx \\\n", f); + fputs("\tFl_Abstract_Printer.cxx \\\n", f); + fputs("\tFl_Adjuster.cxx \\\n", f); + fputs("\tFl_Bitmap.cxx \\\n", f); + fputs("\tFl_Browser.cxx \\\n", f); + fputs("\tFl_Browser_.cxx \\\n", f); + fputs("\tFl_Browser_load.cxx \\\n", f); + fputs("\tFl_Box.cxx \\\n", f); + fputs("\tFl_Button.cxx \\\n", f); + fputs("\tFl_Chart.cxx \\\n", f); + fputs("\tFl_Check_Browser.cxx \\\n", f); + fputs("\tFl_Check_Button.cxx \\\n", f); + fputs("\tFl_Choice.cxx \\\n", f); + fputs("\tFl_Clock.cxx \\\n", f); + fputs("\tFl_Color_Chooser.cxx \\\n", f); + fputs("\tFl_Counter.cxx \\\n", f); + fputs("\tFl_Dial.cxx \\\n", f); + fputs("\tFl_Device.cxx \\\n", f); + fputs("\tFl_Double_Window.cxx \\\n", f); + fputs("\tFl_File_Browser.cxx \\\n", f); + fputs("\tFl_File_Chooser.cxx \\\n", f); + fputs("\tFl_File_Chooser2.cxx \\\n", f); + fputs("\tFl_File_Icon.cxx \\\n", f); + fputs("\tFl_File_Input.cxx \\\n", f); + fputs("\tFl_Group.cxx \\\n", f); + fputs("\tFl_Help_View.cxx \\\n", f); + fputs("\tFl_Image.cxx \\\n", f); + fputs("\tFl_Input.cxx \\\n", f); + fputs("\tFl_Input_.cxx \\\n", f); + fputs("\tFl_Light_Button.cxx \\\n", f); + fputs("\tFl_Menu.cxx \\\n", f); + fputs("\tFl_Menu_.cxx \\\n", f); + fputs("\tFl_Menu_Bar.cxx \\\n", f); + fputs("\tFl_Sys_Menu_Bar.cxx \\\n", f); + fputs("\tFl_Menu_Button.cxx \\\n", f); + fputs("\tFl_Menu_Window.cxx \\\n", f); + fputs("\tFl_Menu_add.cxx \\\n", f); + fputs("\tFl_Menu_global.cxx \\\n", f); + fputs("\tFl_Multi_Label.cxx \\\n", f); + fputs("\tFl_Native_File_Chooser.cxx \\\n", f); + fputs("\tFl_Overlay_Window.cxx \\\n", f); + fputs("\tFl_Pack.cxx \\\n", f); + fputs("\tFl_Pixmap.cxx \\\n", f); + fputs("\tFl_Positioner.cxx \\\n", f); + fputs("\tFl_Preferences.cxx \\\n", f); + fputs("\tFl_Printer.cxx \\\n", f); + fputs("\tFl_Progress.cxx \\\n", f); + fputs("\tFl_Repeat_Button.cxx \\\n", f); + fputs("\tFl_Return_Button.cxx \\\n", f); + fputs("\tFl_Roller.cxx \\\n", f); + fputs("\tFl_Round_Button.cxx \\\n", f); + fputs("\tFl_Scroll.cxx \\\n", f); + fputs("\tFl_Scrollbar.cxx \\\n", f); + fputs("\tFl_Shared_Image.cxx \\\n", f); + fputs("\tFl_Single_Window.cxx \\\n", f); + fputs("\tFl_Slider.cxx \\\n", f); + fputs("\tFl_Table.cxx \\\n", f); + fputs("\tFl_Table_Row.cxx \\\n", f); + fputs("\tFl_Tabs.cxx \\\n", f); + fputs("\tFl_Text_Buffer.cxx \\\n", f); + fputs("\tFl_Text_Display.cxx \\\n", f); + fputs("\tFl_Text_Editor.cxx \\\n", f); + fputs("\tFl_Tile.cxx \\\n", f); + fputs("\tFl_Tiled_Image.cxx \\\n", f); + fputs("\tFl_Tree.cxx \\\n", f); + fputs("\tFl_Tree_Item.cxx \\\n", f); + fputs("\tFl_Tree_Item_Array.cxx \\\n", f); + fputs("\tFl_Tree_Prefs.cxx \\\n", f); + fputs("\tFl_Tooltip.cxx \\\n", f); + fputs("\tFl_Valuator.cxx \\\n", f); + fputs("\tFl_Value_Input.cxx \\\n", f); + fputs("\tFl_Value_Output.cxx \\\n", f); + fputs("\tFl_Value_Slider.cxx \\\n", f); + fputs("\tFl_Widget.cxx \\\n", f); + fputs("\tFl_Window.cxx \\\n", f); + fputs("\tFl_Window_fullscreen.cxx \\\n", f); + fputs("\tFl_Window_hotspot.cxx \\\n", f); + fputs("\tFl_Window_iconize.cxx \\\n", f); + fputs("\tFl_Wizard.cxx \\\n", f); + fputs("\tFl_XBM_Image.cxx \\\n", f); + fputs("\tFl_XPM_Image.cxx \\\n", f); + fputs("\tFl_abort.cxx \\\n", f); + fputs("\tFl_add_idle.cxx \\\n", f); + fputs("\tFl_arg.cxx \\\n", f); + fputs("\tFl_compose.cxx \\\n", f); + fputs("\tFl_display.cxx \\\n", f); + fputs("\tFl_get_key.cxx \\\n", f); + fputs("\tFl_get_system_colors.cxx \\\n", f); + fputs("\tFl_grab.cxx \\\n", f); + fputs("\tFl_lock.cxx \\\n", f); + fputs("\tFl_own_colormap.cxx \\\n", f); + fputs("\tFl_visual.cxx \\\n", f); + fputs("\tFl_x.cxx \\\n", f); + fputs("\tfilename_absolute.cxx \\\n", f); + fputs("\tfilename_expand.cxx \\\n", f); + fputs("\tfilename_ext.cxx \\\n", f); + fputs("\tfilename_isdir.cxx \\\n", f); + fputs("\tfilename_list.cxx \\\n", f); + fputs("\tfilename_match.cxx \\\n", f); + fputs("\tfilename_setext.cxx \\\n", f); + fputs("\tfl_arc.cxx \\\n", f); + fputs("\tfl_arci.cxx \\\n", f); + fputs("\tfl_ask.cxx \\\n", f); + fputs("\tfl_boxtype.cxx \\\n", f); + fputs("\tfl_color.cxx \\\n", f); + fputs("\tfl_cursor.cxx \\\n", f); + fputs("\tfl_curve.cxx \\\n", f); + fputs("\tfl_diamond_box.cxx \\\n", f); + fputs("\tfl_dnd.cxx \\\n", f); + fputs("\tfl_draw.cxx \\\n", f); + fputs("\tfl_draw_image.cxx \\\n", f); + fputs("\tfl_draw_pixmap.cxx \\\n", f); + fputs("\tfl_encoding_latin1.cxx \\\n", f); + fputs("\tfl_encoding_mac_roman.cxx \\\n", f); + fputs("\tfl_engraved_label.cxx \\\n", f); + fputs("\tfl_file_dir.cxx \\\n", f); + fputs("\tfl_font.cxx \\\n", f); + fputs("\tfl_gtk.cxx \\\n", f); + fputs("\tfl_labeltype.cxx \\\n", f); + fputs("\tfl_line_style.cxx \\\n", f); + fputs("\tfl_open_uri.cxx \\\n", f); + fputs("\tfl_oval_box.cxx \\\n", f); + fputs("\tfl_overlay.cxx \\\n", f); + fputs("\tfl_overlay_visual.cxx \\\n", f); + fputs("\tfl_plastic.cxx \\\n", f); + fputs("\tfl_read_image.cxx \\\n", f); + fputs("\tfl_rect.cxx \\\n", f); + fputs("\tfl_round_box.cxx \\\n", f); + fputs("\tfl_rounded_box.cxx \\\n", f); + fputs("\tfl_set_font.cxx \\\n", f); + fputs("\tfl_set_fonts.cxx \\\n", f); + fputs("\tfl_scroll_area.cxx \\\n", f); + fputs("\tfl_shadow_box.cxx \\\n", f); + fputs("\tfl_shortcut.cxx \\\n", f); + fputs("\tfl_show_colormap.cxx \\\n", f); + fputs("\tfl_symbols.cxx \\\n", f); + fputs("\tfl_vertex.cxx \\\n", f); + fputs("\tscreen_xywh.cxx \\\n", f); + fputs("\tfl_utf8.cxx \\\n", f); + fputs("\tps_image.cxx\n", f); + fputs("\n", f); + fputs("FLCPPFILES = \\\n", f); + fputs("\tforms_compatability.cxx \\\n", f); + fputs("\tforms_bitmap.cxx \\\n", f); + fputs("\tforms_free.cxx \\\n", f); + fputs("\tforms_fselect.cxx \\\n", f); + fputs("\tforms_pixmap.cxx \\\n", f); + fputs("\tforms_timer.cxx\n", f); + fputs("\n", f); + fputs("GLCPPFILES = \\\n", f); + fputs("\tFl_Gl_Choice.cxx \\\n", f); + fputs("\tFl_Gl_Overlay.cxx \\\n", f); + fputs("\tFl_Gl_Device_Plugin.cxx \\\n", f); + fputs("\tFl_Gl_Window.cxx \\\n", f); + fputs("\tfreeglut_geometry.cxx \\\n", f); + fputs("\tfreeglut_stroke_mono_roman.cxx \\\n", f); + fputs("\tfreeglut_stroke_roman.cxx \\\n", f); + fputs("\tfreeglut_teapot.cxx \\\n", f); + fputs("\tgl_draw.cxx \\\n", f); + fputs("\tgl_start.cxx \\\n", f); + fputs("\tglut_compatability.cxx \\\n", f); + fputs("\tglut_font.cxx\n", f); + fputs("\n", f); + fputs("IMGCPPFILES = \\\n", f); + fputs("\tfl_images_core.cxx \\\n", f); + fputs("\tFl_BMP_Image.cxx \\\n", f); + fputs("\tFl_File_Icon2.cxx \\\n", f); + fputs("\tFl_GIF_Image.cxx \\\n", f); + fputs("\tFl_Help_Dialog.cxx \\\n", f); + fputs("\tFl_JPEG_Image.cxx \\\n", f); + fputs("\tFl_PNG_Image.cxx \\\n", f); + fputs("\tFl_PNM_Image.cxx\n", f); + fputs("\n", f); + fputs("\n", f); + fputs("CFILES = fl_call_main.c flstring.c scandir.c numericsort.c vsnprintf.c fl_utf.c\n", f); + fputs("\n", f); + fputs("UTF8CFILES = \\\n", f); + fputs("\txutf8/case.c \\\n", f); + fputs("\txutf8/is_right2left.c \\\n", f); + fputs("\txutf8/is_spacing.c \\\n", f); + fputs("\txutf8/keysym2Ucs.c \\\n", f); + fputs("\txutf8/utf8Input.c \\\n", f); + fputs("\txutf8/utf8Utils.c \\\n", f); + fputs("\txutf8/utf8Wrap.c\n", f); + fputs("\n", f); + fputs("################################################################\n", f); + fputs("\n", f); + fputs("include ../makeinclude\n", f); + fputs("\n", f); + fputs("OBJECTS = $(CPPFILES:.cxx=.o) $(CFILES:.c=.o) $(UTF8CFILES:.c=.o)\n", f); + fputs("GLOBJECTS = $(GLCPPFILES:.cxx=.o)\n", f); + fputs("FLOBJECTS = $(FLCPPFILES:.cxx=.o)\n", f); + fputs("IMGOBJECTS = $(IMGCPPFILES:.cxx=.o)\n", f); + fputs("\n", f); + fputs("all:\t$(LIBNAME) $(DSONAME) \\\n", f); + fputs("\t$(FLLIBNAME) $(FLDSONAME) \\\n", f); + fputs("\t$(GLLIBNAME) $(GLDSONAME) \\\n", f); + fputs("\t$(IMGLIBNAME) $(IMGDSONAME) \n", f); + fputs("\n", f); + fputs("$(LIBNAME): $(OBJECTS)\n", f); + fputs("\techo $(LIBCOMMAND) $@ ...\n", f); + fputs("\t$(RM) $@\n", f); + fputs("\t$(LIBCOMMAND) $@ $(OBJECTS)\n", f); + fputs("\t$(RANLIB) $@\n", f); + fputs("\n", f); + fputs("libfltk.so.1.3: $(OBJECTS)\n", f); + fputs("\techo $(DSOCOMMAND) $@ ...\n", f); + fputs("\t$(DSOCOMMAND) $@ $(OBJECTS)\n", f); + fputs("\t$(RM) libfltk.so\n", f); + fputs("\t$(LN) libfltk.so.1.3 libfltk.so\n", f); + fputs("\n", f); + fputs("libfltk.sl.1.3: $(OBJECTS)\n", f); + fputs("\techo $(DSOCOMMAND) $@ ...\n", f); + fputs("\t$(DSOCOMMAND) $@ $(OBJECTS)\n", f); + fputs("\t$(RM) libfltk.sl\n", f); + fputs("\t$(LN) libfltk.sl.1.3 libfltk.sl\n", f); + fputs("\n", f); + fputs("libfltk.1.3.dylib: $(OBJECTS)\n", f); + fputs("\techo $(DSOCOMMAND) $@ ...\n", f); + fputs("\t$(DSOCOMMAND) $@ \\\n", f); + fputs("\t\t-install_name $(libdir)/$@ \\\n", f); + fputs("\t\t-current_version 1.3.0 \\\n", f); + fputs("\t\t-compatibility_version 1.3.0 \\\n", f); + fputs("\t\t$(OBJECTS) $(LDLIBS)\n", f); + fputs("\t$(RM) libfltk.dylib\n", f); + fputs("\t$(LN) libfltk.1.3.dylib libfltk.dylib\n", f); + fputs("\n", f); + fputs("libfltk_s.a: $(OBJECTS)\n", f); + fputs("\techo $(DSOCOMMAND) libfltk_s.o ...\n", f); + fputs("\t$(DSOCOMMAND) libfltk_s.o $(OBJECTS) $(IMAGELIBS)\n", f); + fputs("\techo $(LIBCOMMAND) libfltk_s.a libfltk_s.o\n", f); + fputs("\t$(RM) $@\n", f); + fputs("\t$(LIBCOMMAND) libfltk_s.a libfltk_s.o\n", f); + fputs("\t$(CHMOD) +x libfltk_s.a\n", f); + fputs("\n", f); + fputs("$(FLLIBNAME): $(FLOBJECTS)\n", f); + fputs("\techo $(LIBCOMMAND) $@ ...\n", f); + fputs("\t$(RM) $@\n", f); + fputs("\t$(LIBCOMMAND) $@ $(FLOBJECTS)\n", f); + fputs("\t$(RANLIB) $@\n", f); + fputs("\n", f); + fputs("libfltk_forms.so.1.3: $(FLOBJECTS) libfltk.so.1.3\n", f); + fputs("\techo $(DSOCOMMAND) $@ ...\n", f); + fputs("\t$(DSOCOMMAND) $@ $(FLOBJECTS) -L. -lfltk\n", f); + fputs("\t$(RM) libfltk_forms.so\n", f); + fputs("\t$(LN) libfltk_forms.so.1.3 libfltk_forms.so\n", f); + fputs("\n", f); + fputs("libfltk_forms.sl.1.3: $(FLOBJECTS) libfltk.sl.1.3\n", f); + fputs("\techo $(DSOCOMMAND) $@ ...\n", f); + fputs("\t$(DSOCOMMAND) $@ $(FLOBJECTS) -L. -lfltk\n", f); + fputs("\t$(RM) libfltk_forms.sl\n", f); + fputs("\t$(LN) libfltk_forms.sl.1.3 libfltk_forms.sl\n", f); + fputs("\n", f); + fputs("libfltk_forms.1.3.dylib: $(FLOBJECTS) libfltk.1.3.dylib\n", f); + fputs("\techo $(DSOCOMMAND) $@ ...\n", f); + fputs("\t$(DSOCOMMAND) $@ \\\n", f); + fputs("\t\t-install_name $(libdir)/$@ \\\n", f); + fputs("\t\t-current_version 1.3.0 \\\n", f); + fputs("\t\t-compatibility_version 1.3.0 \\\n", f); + fputs("\t\t$(FLOBJECTS) -L. $(LDLIBS) -lfltk\n", f); + fputs("\t$(RM) libfltk_forms.dylib\n", f); + fputs("\t$(LN) libfltk_forms.1.3.dylib libfltk_forms.dylib\n", f); + fputs("\n", f); + fputs("libfltk_forms_s.a: $(FLOBJECTS)\n", f); + fputs("\techo $(DSOCOMMAND) libfltk_forms_s.o ...\n", f); + fputs("\t$(DSOCOMMAND) libfltk_forms_s.o $(FLOBJECTS)\n", f); + fputs("\techo $(LIBCOMMAND) libfltk_forms_s.a libfltk_forms_s.o\n", f); + fputs("\t$(RM) $@\n", f); + fputs("\t$(LIBCOMMAND) libfltk_forms_s.a libfltk_forms_s.o\n", f); + fputs("\t$(CHMOD) +x libfltk_forms_s.a\n", f); + fputs("\n", f); + fputs("$(GLLIBNAME): $(GLOBJECTS)\n", f); + fputs("\techo $(LIBCOMMAND) $@ ...\n", f); + fputs("\t$(RM) $@\n", f); + fputs("\t$(LIBCOMMAND) $@ $(GLOBJECTS)\n", f); + fputs("\t$(RANLIB) $@\n", f); + fputs("\n", f); + fputs("libfltk_gl.so.1.3: $(GLOBJECTS) libfltk.so.1.3\n", f); + fputs("\techo $(DSOCOMMAND) $@ ...\n", f); + fputs("\t$(DSOCOMMAND) $@ $(GLOBJECTS) -L. -lfltk\n", f); + fputs("\t$(RM) libfltk_gl.so\n", f); + fputs("\t$(LN) libfltk_gl.so.1.3 libfltk_gl.so\n", f); + fputs("\n", f); + fputs("libfltk_gl.sl.1.3: $(GLOBJECTS) libfltk.sl.1.3\n", f); + fputs("\techo $(DSOCOMMAND) $@ ...\n", f); + fputs("\t$(DSOCOMMAND) $@ $(GLOBJECTS) -L. -lfltk\n", f); + fputs("\t$(RM) libfltk_gl.sl\n", f); + fputs("\t$(LN) libfltk_gl.sl.1.3 libfltk_gl.sl\n", f); + fputs("\n", f); + fputs("libfltk_gl.1.3.dylib: $(GLOBJECTS) libfltk.1.3.dylib\n", f); + fputs("\techo $(DSOCOMMAND) $@ ...\n", f); + fputs("\t$(DSOCOMMAND) $@ \\\n", f); + fputs("\t\t-install_name $(libdir)/$@ \\\n", f); + fputs("\t\t-current_version 1.3.0 \\\n", f); + fputs("\t\t-compatibility_version 1.3.0 \\\n", f); + fputs("\t\t$(GLOBJECTS) -L. $(GLDLIBS) -lfltk\n", f); + fputs("\t$(RM) libfltk_gl.dylib\n", f); + fputs("\t$(LN) libfltk_gl.1.3.dylib libfltk_gl.dylib\n", f); + fputs("\n", f); + fputs("libfltk_gl_s.a: $(GLOBJECTS)\n", f); + fputs("\techo $(DSOCOMMAND) libfltk_gl_s.o ...\n", f); + fputs("\t$(DSOCOMMAND) libfltk_gl_s.o $(GLOBJECTS)\n", f); + fputs("\techo $(LIBCOMMAND) libfltk_gl_s.a libfltk_gl_s.o\n", f); + fputs("\t$(RM) $@\n", f); + fputs("\t$(LIBCOMMAND) libfltk_gl_s.a libfltk_gl_s.o\n", f); + fputs("\t$(CHMOD) +x libfltk_gl_s.a\n", f); + fputs("\n", f); + fputs("$(IMGLIBNAME): $(IMGOBJECTS)\n", f); + fputs("\techo $(LIBCOMMAND) $@ ...\n", f); + fputs("\t$(RM) $@\n", f); + fputs("\t$(LIBCOMMAND) $@ $(IMGOBJECTS)\n", f); + fputs("\t$(RANLIB) $@\n", f); + fputs("\n", f); + fputs("libfltk_images.so.1.3: $(IMGOBJECTS) libfltk.so.1.3\n", f); + fputs("\techo $(DSOCOMMAND) $@ ...\n", f); + fputs("\t$(DSOCOMMAND) $@ $(IMGOBJECTS) -L. $(IMAGELIBS) -lfltk\n", f); + fputs("\t$(RM) libfltk_images.so\n", f); + fputs("\t$(LN) libfltk_images.so.1.3 libfltk_images.so\n", f); + fputs("\n", f); + fputs("libfltk_images.sl.1.3: $(IMGOBJECTS) libfltk.sl.1.3\n", f); + fputs("\techo $(DSOCOMMAND) $@ ...\n", f); + fputs("\t$(DSOCOMMAND) $@ $(IMGOBJECTS) -L. $(IMAGELIBS) -lfltk\n", f); + fputs("\t$(RM) libfltk_images.sl\n", f); + fputs("\t$(LN) libfltk_images.sl.1.3 libfltk_images.sl\n", f); + fputs("\n", f); + fputs("libfltk_images.1.3.dylib: $(IMGOBJECTS) libfltk.1.3.dylib\n", f); + fputs("\techo $(DSOCOMMAND) $@ ...\n", f); + fputs("\t$(DSOCOMMAND) $@ \\\n", f); + fputs("\t\t-install_name $(libdir)/$@ \\\n", f); + fputs("\t\t-current_version 1.3.0 \\\n", f); + fputs("\t\t-compatibility_version 1.3.0 \\\n", f); + fputs("\t\t$(IMGOBJECTS) -L. $(LDLIBS) $(IMAGELIBS) -lfltk\n", f); + fputs("\t$(RM) libfltk_images.dylib\n", f); + fputs("\t$(LN) libfltk_images.1.3.dylib libfltk_images.dylib\n", f); + fputs("\n", f); + fputs("libfltk_images_s.a: $(IMGOBJECTS)\n", f); + fputs("\techo $(DSOCOMMAND) libfltk_images_s.o ...\n", f); + fputs("\t$(DSOCOMMAND) libfltk_images_s.o $(IMGOBJECTS)\n", f); + fputs("\techo $(LIBCOMMAND) libfltk_images_s.a libfltk_images_s.o\n", f); + fputs("\t$(RM) $@\n", f); + fputs("\t$(LIBCOMMAND) libfltk_images_s.a libfltk_images_s.o\n", f); + fputs("\t$(CHMOD) +x libfltk_images_s.a\n", f); + fputs("\n", f); + fputs("#-----------------------------------------------------------------\n", f); + fputs("# - the import libraries libfltk*.dll.a and the .dll files\n", f); + fputs("# are created from the libfltk*.a files. They are built\n", f); + fputs("# into the src dir.\n", f); + fputs("# - The _images, _gl, _forms and dlls must be linked\n", f); + fputs("# against the import libraries in the src dir.\n", f); + fputs("#-----------------------------------------------------------------\n", f); + fputs("\n", f); + fputs("#-----------------------------------------------------------------\n", f); + fputs("# cygwin GDI shared libraries\n", f); + fputs("#-----------------------------------------------------------------\n", f); + fputs("\n", f); + fputs("cygfltknox-1.3.dll: $(LIBNAME)\n", f); + fputs("\techo $(DSOCOMMAND) $(LIBNAME) ...\n", f); + fputs("\t$(DSOCOMMAND) $(LIBNAME) -Wl,--no-whole-archive \\\n", f); + fputs("\t\t-Wl,--out-implib=libfltk.dll.a $(LDLIBS)\n", f); + fputs("\n", f); + fputs("cygfltknox_forms-1.3.dll: $(FLLIBNAME) cygfltknox-1.3.dll\n", f); + fputs("\techo $(DSOCOMMAND) $(FLLIBNAME) ...\n", f); + fputs("\t$(DSOCOMMAND) $(FLLIBNAME) -Wl,--no-whole-archive \\\n", f); + fputs("\t\t-Wl,--out-implib=libfltk_forms.dll.a \\\n", f); + fputs("\t\t-L. -lfltk $(LDLIBS)\n", f); + fputs("\n", f); + fputs("cygfltknox_gl-1.3.dll: $(GLLIBNAME) cygfltknox-1.3.dll\n", f); + fputs("\techo $(DSOCOMMAND) $(GLLIBNAME) ...\n", f); + fputs("\t$(DSOCOMMAND) $(GLLIBNAME) -Wl,--no-whole-archive \\\n", f); + fputs("\t\t-Wl,--out-implib=libfltk_gl.dll.a \\\n", f); + fputs("\t\t-L. -lfltk $(GLDLIBS)\n", f); + fputs("\n", f); + fputs("cygfltknox_images-1.3.dll: $(IMGLIBNAME) cygfltknox-1.3.dll\n", f); + fputs("\techo $(DSOCOMMAND) $(IMGLIBNAME) ...\n", f); + fputs("\t$(DSOCOMMAND) $(IMGLIBNAME) -Wl,--no-whole-archive \\\n", f); + fputs("\t\t-Wl,--out-implib=libfltk_images.dll.a \\\n", f); + fputs("\t\t-L. -lfltk -Wl,--exclude-libs -Wl,libfltk_png.a \\\n", f); + fputs("\t\t\t$(IMAGELIBS) $(LDLIBS)\n", f); + fputs("\n", f); + fputs("#-----------------------------------------------------------------\n", f); + fputs("# cygwin X11 shared libraries\n", f); + fputs("#-----------------------------------------------------------------\n", f); + fputs("\n", f); + fputs("cygfltk-1.3.dll: $(LIBNAME)\n", f); + fputs("\techo $(DSOCOMMAND) $(LIBNAME) ...\n", f); + fputs("\t$(DSOCOMMAND) $(LIBNAME) -Wl,--no-whole-archive \\\n", f); + fputs("\t\t-Wl,--out-implib=libfltk.dll.a $(LDLIBS)\n", f); + fputs("\n", f); + fputs("cygfltk_forms-1.3.dll: $(FLLIBNAME) cygfltk-1.3.dll\n", f); + fputs("\techo $(DSOCOMMAND) $(FLLIBNAME) ...\n", f); + fputs("\t$(DSOCOMMAND) $(FLLIBNAME) -Wl,--no-whole-archive \\\n", f); + fputs("\t\t-Wl,--out-implib=libfltk_forms.dll.a \\\n", f); + fputs("\t\t-L. -lfltk $(LDLIBS)\n", f); + fputs("\n", f); + fputs("cygfltk_gl-1.3.dll: $(GLLIBNAME) cygfltk-1.3.dll\n", f); + fputs("\techo $(DSOCOMMAND) $(GLLIBNAME) ...\n", f); + fputs("\t$(DSOCOMMAND) $(GLLIBNAME) -Wl,--no-whole-archive \\\n", f); + fputs("\t\t-Wl,--out-implib=libfltk_gl.dll.a \\\n", f); + fputs("\t\t-L. -lfltk $(GLDLIBS)\n", f); + fputs("\n", f); + fputs("cygfltk_images-1.3.dll: $(IMGLIBNAME) cygfltk-1.3.dll\n", f); + fputs("\techo $(DSOCOMMAND) $(IMGLIBNAME) ...\n", f); + fputs("\t$(DSOCOMMAND) $(IMGLIBNAME) -Wl,--no-whole-archive \\\n", f); + fputs("\t\t-Wl,--out-implib=libfltk_images.dll.a \\\n", f); + fputs("\t\t-L. -lfltk -Wl,--exclude-libs -Wl,libfltk_png.a \\\n", f); + fputs("\t\t\t$(IMAGELIBS) $(LDLIBS)\n", f); + fputs("\n", f); + fputs("mgwfltknox-1.3.dll: $(LIBNAME)\n", f); + fputs("\techo $(DSOCOMMAND) $(LIBNAME) ...\n", f); + fputs("\t$(DSOCOMMAND) $(LIBNAME) -Wl,--no-whole-archive \\\n", f); + fputs("\t\t-Wl,--out-implib=libfltk.dll.a $(LDLIBS)\n", f); + fputs("\n", f); + fputs("mgwfltknox_forms-1.3.dll: $(FLLIBNAME) mgwfltknox-1.3.dll\n", f); + fputs("\techo $(DSOCOMMAND) $(FLLIBNAME) ...\n", f); + fputs("\t$(DSOCOMMAND) $(FLLIBNAME) -Wl,--no-whole-archive \\\n", f); + fputs("\t\t-Wl,--out-implib=libfltk_forms.dll.a \\\n", f); + fputs("\t\t-L. -lfltk $(LDLIBS)\n", f); + fputs("\n", f); + fputs("mgwfltknox_gl-1.3.dll: $(GLLIBNAME) mgwfltknox-1.3.dll\n", f); + fputs("\techo $(DSOCOMMAND) $(GLLIBNAME) ...\n", f); + fputs("\t$(DSOCOMMAND) $(GLLIBNAME) -Wl,--no-whole-archive \\\n", f); + fputs("\t\t-Wl,--out-implib=libfltk_gl.dll.a \\\n", f); + fputs("\t\t-L. -lfltk $(GLDLIBS)\n", f); + fputs("\n", f); + fputs("#-----------------------------------------------------\n", f); + fputs("# See STR #1585 for --exclude-libs\n", f); + fputs("#-----------------------------------------------------\n", f); + fputs("\n", f); + fputs("mgwfltknox_images-1.3.dll: $(IMGLIBNAME) mgwfltknox-1.3.dll\n", f); + fputs("\techo $(DSOCOMMAND) $(IMGLIBNAME) ...\n", f); + fputs("\t$(DSOCOMMAND) $(IMGLIBNAME) -Wl,--no-whole-archive \\\n", f); + fputs("\t\t-Wl,--out-implib=libfltk_images.dll.a \\\n", f); + fputs("\t\t-L. -lfltk -Wl,--exclude-libs -Wl,libfltk_png.a \\\n", f); + fputs("\t\t\t$(IMAGELIBS) $(LDLIBS)\n", f); + fputs("\n", f); + fputs("clean:\n", f); + fputs("\t-$(RM) *.o xutf8/*.o *.dll.a core.* *~ *.bak *.bck\n", f); + fputs("\t-$(RM) $(DSONAME) $(FLDSONAME) $(GLDSONAME) $(IMGDSONAME) \\\n", f); + fputs("\t\t$(LIBNAME) $(FLLIBNAME) $(GLLIBNAME) \\\n", f); + fputs("\t\t$(IMGLIBNAME) \\\n", f); + fputs("\t\tlibfltk.so libfltk_forms.so libfltk_gl.so libfltk_images.so \\\n", f); + fputs("\t\tlibfltk.sl libfltk_forms.sl libfltk_gl.sl libfltk_images.sl \\\n", f); + fputs("\t\tlibfltk.dylib libfltk_forms.dylib \\\n", f); + fputs("\t\tlibfltk_gl.dylib libfltk_images.dylib \\\n", f); + fputs("\t\tcmap core\n", f); + fputs("\n", f); + fputs("depend:\t$(CPPFILES) $(FLCPPFILES) $(GLCPPFILES) $(IMGCPPFILES) $(CFILES) $(UTF8CFILES)\n", f); + fputs("\tmakedepend -Y -I.. -f makedepend $(CPPFILES) $(FLCPPFILES) \\\n", f); + fputs("\t\t$(GLCPPFILES) $(IMGCPPFILES) $(CFILES) $(UTF8CFILES)\n", f); + fputs("\n", f); + fputs("# Automatically generated dependencies... generated on a Linux/Unix host !\n", f); + fputs("include makedepend\n", f); + fputs("\n", f); + fputs("# These dependencies aren't part of the makedepend file since\n", f); + fputs("# they are part of the WIN32 and MacOS code base...\n", f); + fputs("# Please add only non-Linux/Unix files or such that are optional\n", f); + fputs("# (like \"*xft*\") here:\n", f); + fputs("Fl_get_key.o:\tFl_get_key_mac.cxx Fl_get_key_win32.cxx\n", f); + fputs("Fl_Native_File_Chooser.o : Fl_Native_File_Chooser_MAC.cxx Fl_Native_File_Chooser_WIN32.cxx\n", f); + fputs("Fl.o:\t\tFl_mac.cxx Fl_win32.cxx Fl_cocoa.mm\n", f); + fputs("fl_color.o:\tfl_color_mac.cxx fl_color_win32.cxx\n", f); + fputs("fl_dnd.o:\tfl_dnd_mac.cxx fl_dnd_win32.cxx fl_dnd_x.cxx\n", f); + fputs("fl_draw_image.o: fl_draw_image_mac.cxx fl_draw_image_win32.cxx\n", f); + fputs("fl_font.o:\tfl_font_mac.cxx fl_font_x.cxx fl_font_xft.cxx fl_font_win32.cxx\n", f); + fputs("fl_read_image.o: fl_read_image_mac.cxx fl_read_image_win32.cxx\n", f); + fputs("fl_set_fonts.o:\tfl_set_fonts_mac.cxx fl_set_fonts_x.cxx \\\n", f); + fputs("\t\tfl_set_fonts_xft.cxx fl_set_fonts_win32.cxx\n", f); + fputs("Fl_Printer.o:\tFl_Quartz_Printer.mm Fl_GDI_Printer.cxx Fl_PS_Printer.cxx\n", f); + fputs("\n", f); + fputs("fl_arci.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("Fl_arg.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("fl_ask.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("Fl_Bitmap.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("fl_color.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("fl_cursor.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("fl_dnd.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("Fl.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("Fl_Double_Window.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("fl_draw_image.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("fl_draw_image_mac.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("fl_draw_image_win32.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("fl_draw_pixmap.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("fl_encoding_latin1.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("fl_encoding_mac_roman.o: ../FL/mac.H ../FL/win32.H\n", f); + fputs("Fl_File_Chooser2.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("fl_font.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("Fl_get_key.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("Fl_get_system_colors.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("Fl_Gl_Choice.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("Fl_Gl_Overlay.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("Fl_Gl_Window.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("Fl_grab.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("Fl_Image.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("fl_line_style.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("Fl_Native_File_Chooser.o: ../FL/Fl_Native_File_Chooser_MAC.H ../FL/Fl_Native_File_Chooser_WIN32.H\n", f); + fputs("Fl_Menu_Window.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("fl_overlay.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("fl_overlay_visual.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("Fl_Overlay_Window.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("Fl_own_colormap.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("Fl_Pixmap.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("Fl_Printer.o: ../FL/mac.H ../FL/win32.H\n", f); + fputs("fl_read_image.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("fl_read_image_mac.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("fl_read_image_win32.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("fl_rect.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("fl_scroll_area.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("fl_set_font.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("fl_set_fonts.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("fl_shortcut.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("fl_vertex.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("Fl_visual.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("Fl_Window_fullscreen.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("Fl_Window_iconize.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("Fl_x.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("gl_draw.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("gl_start.o:\t../FL/mac.H ../FL/win32.H\n", f); + fputs("\n", f); + fputs("################################################################\n", f); + fputs("\n", f); + fputs("install: $(LIBNAME) $(DSONAME) \\\n", f); + fputs("\t$(FLLIBNAME) $(FLDSONAME) \\\n", f); + fputs("\t$(GLLIBNAME) $(GLDSONAME) \\\n", f); + fputs("\t$(IMGLIBNAME) $(IMGDSONAME) \n", f); + fputs("\techo \"Installing libraries in $(DESTDIR)$(libdir)...\"\n", f); + fputs("\t-$(INSTALL_DIR) $(DESTDIR)$(libdir)\n", f); + fputs("\t-$(INSTALL_DIR) $(DESTDIR)$(bindir)\n", f); + fputs("\t$(RM) $(DESTDIR)$(libdir)/$(LIBBASENAME)\n", f); + fputs("\t$(INSTALL_LIB) $(LIBNAME) $(DESTDIR)$(libdir)\n", f); + fputs("\t$(INSTALL_LIB) $(FLLIBNAME) $(DESTDIR)$(libdir)\n", f); + fputs("\t$(INSTALL_LIB) $(IMGLIBNAME) $(DESTDIR)$(libdir)\n", f); + fputs("\t$(RANLIB) $(DESTDIR)$(libdir)/$(LIBBASENAME)\n", f); + fputs("\t$(RANLIB) $(DESTDIR)$(libdir)/$(FLLIBBASENAME)\n", f); + fputs("\tif test x$(GLLIBNAME) != x; then \\\n", f); + fputs("\t\t$(INSTALL_LIB) $(GLLIBNAME) $(DESTDIR)$(libdir); \\\n", f); + fputs("\t\t$(RANLIB) $(DESTDIR)$(libdir)/$(GLLIBBASENAME); \\\n", f); + fputs("\tfi\n", f); + fputs("\t$(RANLIB) $(DESTDIR)$(libdir)/$(IMGLIBBASENAME)\n", f); + fputs("\tif test x$(DSONAME) = xlibfltk.so.1.3; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk.so*;\\\n", f); + fputs("\t\t$(INSTALL_LIB) libfltk.so.1.3 $(DESTDIR)$(libdir); \\\n", f); + fputs("\t\t$(LN) libfltk.so.1.3 $(DESTDIR)$(libdir)/libfltk.so;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(DSONAME) = xlibfltk.sl.1.3; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk.sl*;\\\n", f); + fputs("\t\t$(INSTALL_LIB) libfltk.sl.1.3 $(DESTDIR)$(libdir); \\\n", f); + fputs("\t\t$(LN) libfltk.sl.1.3 $(DESTDIR)$(libdir)/libfltk.sl;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(DSONAME) = xlibfltk.1.3.dylib; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk.*dylib;\\\n", f); + fputs("\t\t$(INSTALL_LIB) libfltk.1.3.dylib $(DESTDIR)$(libdir); \\\n", f); + fputs("\t\t$(LN) libfltk.1.3.dylib $(DESTDIR)$(libdir)/libfltk.dylib;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(DSONAME) = xlibfltk_s.a; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_s.a;\\\n", f); + fputs("\t\t$(INSTALL_LIB) libfltk_s.a $(DESTDIR)$(libdir); \\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(DSONAME) = xcygfltknox-1.3.dll; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(bindir)/$(DSONAME);\\\n", f); + fputs("\t\t$(INSTALL_LIB) $(DSONAME) $(DESTDIR)$(bindir); \\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk.dll.a;\\\n", f); + fputs("\t\t$(INSTALL_LIB) libfltk.dll.a $(DESTDIR)$(libdir); \\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(DSONAME) = xmgwfltknox-1.3.dll; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(bindir)/$(DSONAME);\\\n", f); + fputs("\t\t$(INSTALL_LIB) $(DSONAME) $(DESTDIR)$(bindir); \\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk.dll.a;\\\n", f); + fputs("\t\t$(INSTALL_LIB) libfltk.dll.a $(DESTDIR)$(libdir); \\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(FLDSONAME) = xlibfltk_forms.so.1.3; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_forms.so*;\\\n", f); + fputs("\t\t$(INSTALL_LIB) libfltk_forms.so.1.3 $(DESTDIR)$(libdir); \\\n", f); + fputs("\t\t$(LN) libfltk_forms.so.1.3 $(DESTDIR)$(libdir)/libfltk_forms.so;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(FLDSONAME) = xlibfltk_forms.sl.1.3; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_forms.sl*;\\\n", f); + fputs("\t\t$(INSTALL_LIB) libfltk_forms.sl.1.3 $(DESTDIR)$(libdir); \\\n", f); + fputs("\t\t$(LN) libfltk_forms.sl.1.3 $(DESTDIR)$(libdir)/libfltk_forms.sl;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(FLDSONAME) = xlibfltk_forms.1.3.dylib; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_forms.*dylib;\\\n", f); + fputs("\t\t$(INSTALL_LIB) libfltk_forms.1.3.dylib $(DESTDIR)$(libdir); \\\n", f); + fputs("\t\t$(LN) libfltk_forms.1.3.dylib $(DESTDIR)$(libdir)/libfltk_forms.dylib;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(FLDSONAME) = xlibfltk_forms_s.a; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_forms_s.a;\\\n", f); + fputs("\t\t$(INSTALL_LIB) libfltk_forms_s.a $(DESTDIR)$(libdir); \\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(FLDSONAME) = xcygfltknox_forms-1.3.dll; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(bindir)/$(FLDSONAME);\\\n", f); + fputs("\t\t$(INSTALL_LIB) $(FLDSONAME) $(DESTDIR)$(bindir); \\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_forms.dll.a;\\\n", f); + fputs("\t\t$(INSTALL_LIB) libfltk_forms.dll.a $(DESTDIR)$(libdir); \\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(FLDSONAME) = xmgwfltknox_forms-1.3.dll; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(bindir)/$(FLDSONAME);\\\n", f); + fputs("\t\t$(INSTALL_LIB) $(FLDSONAME) $(DESTDIR)$(bindir); \\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_forms.dll.a;\\\n", f); + fputs("\t\t$(INSTALL_LIB) libfltk_forms.dll.a $(DESTDIR)$(libdir); \\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(GLDSONAME) = xlibfltk_gl.so.1.3; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_gl.so*;\\\n", f); + fputs("\t\t$(INSTALL_LIB) libfltk_gl.so.1.3 $(DESTDIR)$(libdir); \\\n", f); + fputs("\t\t$(LN) libfltk_gl.so.1.3 $(DESTDIR)$(libdir)/libfltk_gl.so;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(GLDSONAME) = xlibfltk_gl.sl.1.3; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_gl.sl*;\\\n", f); + fputs("\t\t$(INSTALL_LIB) libfltk_gl.sl.1.3 $(DESTDIR)$(libdir); \\\n", f); + fputs("\t\t$(LN) libfltk_gl.sl.1.3 $(DESTDIR)$(libdir)/libfltk_gl.sl;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(GLDSONAME) = xlibfltk_gl.1.3.dylib; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_gl.*dylib;\\\n", f); + fputs("\t\t$(INSTALL_LIB) libfltk_gl.1.3.dylib $(DESTDIR)$(libdir); \\\n", f); + fputs("\t\t$(LN) libfltk_gl.1.3.dylib $(DESTDIR)$(libdir)/libfltk_gl.dylib;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(GLDSONAME) = xlibfltk_gl_s.a; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_gl_s.a;\\\n", f); + fputs("\t\t$(INSTALL_LIB) libfltk_gl_s.a $(DESTDIR)$(libdir); \\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(GLDSONAME) = xcygfltknox_gl-1.3.dll; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(bindir)/$(GLDSONAME);\\\n", f); + fputs("\t\t$(INSTALL_LIB) $(GLDSONAME) $(DESTDIR)$(bindir); \\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_gl.dll.a;\\\n", f); + fputs("\t\t$(INSTALL_LIB) libfltk_gl.dll.a $(DESTDIR)$(libdir); \\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(GLDSONAME) = xmgwfltknox_gl-1.3.dll; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(bindir)/$(GLDSONAME);\\\n", f); + fputs("\t\t$(INSTALL_LIB) $(GLDSONAME) $(DESTDIR)$(bindir); \\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_gl.dll.a;\\\n", f); + fputs("\t\t$(INSTALL_LIB) libfltk_gl.dll.a $(DESTDIR)$(libdir); \\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(IMGDSONAME) = xlibfltk_images.so.1.3; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_images.so*;\\\n", f); + fputs("\t\t$(INSTALL_LIB) libfltk_images.so.1.3 $(DESTDIR)$(libdir); \\\n", f); + fputs("\t\t$(LN) libfltk_images.so.1.3 $(DESTDIR)$(libdir)/libfltk_images.so;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(IMGDSONAME) = xlibfltk_images.sl.1.3; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_images.sl*;\\\n", f); + fputs("\t\t$(INSTALL_LIB) libfltk_images.sl.1.3 $(DESTDIR)$(libdir); \\\n", f); + fputs("\t\t$(LN) libfltk_images.sl.1.3 $(DESTDIR)$(libdir)/libfltk_images.sl;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(IMGDSONAME) = xlibfltk_images.1.3.dylib; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_images.*dylib;\\\n", f); + fputs("\t\t$(INSTALL_LIB) libfltk_images.1.3.dylib $(DESTDIR)$(libdir); \\\n", f); + fputs("\t\t$(LN) libfltk_images.1.3.dylib $(DESTDIR)$(libdir)/libfltk_images.dylib;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(IMGDSONAME) = xlibfltk_images_s.a; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_images_s.a;\\\n", f); + fputs("\t\t$(INSTALL_LIB) libfltk_images_s.a $(DESTDIR)$(libdir); \\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(IMGDSONAME) = xcygfltknox_images-1.3.dll; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(bindir)/$(IMGDSONAME); \\\n", f); + fputs("\t\t$(INSTALL_LIB) $(IMGDSONAME) $(DESTDIR)$(bindir); \\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_images.dll.a;\\\n", f); + fputs("\t\t$(INSTALL_LIB) libfltk_images.dll.a $(DESTDIR)$(libdir); \\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(IMGDSONAME) = xmgwfltknox_images-1.3.dll; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(bindir)/$(IMGDSONAME); \\\n", f); + fputs("\t\t$(INSTALL_LIB) $(IMGDSONAME) $(DESTDIR)$(bindir); \\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_images.dll.a;\\\n", f); + fputs("\t\t$(INSTALL_LIB) libfltk_images.dll.a $(DESTDIR)$(libdir); \\\n", f); + fputs("\tfi\n", f); + fputs("\n", f); + fputs("\n", f); + fputs("uninstall:\n", f); + fputs("\techo \"Uninstalling libraries...\"\n", f); + fputs("\t$(RM) $(DESTDIR)$(libdir)/$(LIBBASENAME)\n", f); + fputs("\tif test x$(DSONAME) = xlibfltk.so.1.3; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk.so*;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(DSONAME) = xlibfltk.sl.1.3; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk.sl*;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(DSONAME) = xlibfltk.1.3.dylib; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk.*dylib;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(DSONAME) = xlibfltk_s.a; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_s.a;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(DSONAME) = xcygfltknox-1.3.dll; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(bindir)/$(DSONAME); \\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk.dll.a;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(DSONAME) = xcygfltk-1.3.dll; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(bindir)/$(DSONAME); \\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk.dll.a;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(DSONAME) = xmgwfltknox-1.3.dll; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(bindir)/$(DSONAME); \\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk.dll.a;\\\n", f); + fputs("\tfi\n", f); + fputs("\t$(RM) $(DESTDIR)$(libdir)/$(FLLIBBASENAME);\n", f); + fputs("\tif test x$(FLDSONAME) = xlibfltk_forms.so.1.3; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_forms.so*;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(FLDSONAME) = xlibfltk_forms.sl.1.3; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_forms.sl*;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(FLDSONAME) = xlibfltk_forms.1.3.dylib; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_forms.*dylib;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(FLDSONAME) = xlibfltk_forms_s.a; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_forms_s.a;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(FLDSONAME) = xcygfltknox_forms-1.3.dll; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(bindir)/$(FLDSONAME); \\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_forms.dll.a;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(FLDSONAME) = xcygfltk_forms-1.3.dll; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(bindir)/$(FLDSONAME); \\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_forms.dll.a;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(FLDSONAME) = xmgwfltknox_forms-1.3.dll; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(bindir)/$(FLDSONAME); \\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_forms.dll.a;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(GLLIBNAME) != x; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/$(GLLIBBASENAME);\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(GLDSONAME) = xlibfltk_gl.so.1.3; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_gl.so*;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(GLDSONAME) = xlibfltk_gl.sl.1.3; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_gl.sl*;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(GLDSONAME) = xlibfltk_gl.1.3.dylib; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_gl.*dylib;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(GLDSONAME) = xlibfltk_gl_s.a; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_gl_s.a;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(GLDSONAME) = xcygfltknox_gl-1.3.dll; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(bindir)/$(GLDSONAME); \\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_gl.dll.a;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(GLDSONAME) = xcygfltk_gl-1.3.dll; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(bindir)/$(GLDSONAME); \\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_gl.dll.a;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(GLDSONAME) = xmgwfltknox_gl-1.3.dll; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(bindir)/$(GLDSONAME); \\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_gl.dll.a;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(IMGLIBNAME) != x; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/$(IMGLIBBASENAME);\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(IMGDSONAME) = xlibfltk_images.so.1.3; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_images.so*;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(IMGDSONAME) = xlibfltk_images.sl.1.3; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_images.sl*;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(IMGDSONAME) = xlibfltk_images.1.3.dylib; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_images.*dylib;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(IMGDSONAME) = xlibfltk_images_s.a; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_images_s.a;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(IMGDSONAME) = xcygfltknox_images-1.3.dll; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(bindir)/$(IMGDSONAME); \\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_images.dll.a;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(IMGDSONAME) = xcygfltk_images-1.3.dll; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(bindir)/$(IMGDSONAME); \\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_images.dll.a;\\\n", f); + fputs("\tfi\n", f); + fputs("\tif test x$(IMGDSONAME) = xmgwfltknox_images-1.3.dll; then\\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(bindir)/$(IMGDSONAME); \\\n", f); + fputs("\t\t$(RM) $(DESTDIR)$(libdir)/libfltk_images.dll.a;\\\n", f); + fputs("\tfi\n", f); + fputs("\n", f); + fputs("#\n", f); + fputs("# End of \"$Id: Makefile 7333 2010-03-25 14:35:45Z manolo $\".\n", f); + fputs("#\n", f); fclose(f); return 0; } - /* - * Create the plist files for all apps and tests - */ - int writePLists(const char *filepath) { - int i; - for (i=0; i