diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-11-19 21:25:35 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-11-19 21:25:35 +0000 |
| commit | 84e38d4d91dbad1f7793172d70b7aa04ef846484 (patch) | |
| tree | 3cdef2b2623545199c7874d188118b587c583e07 /FL | |
| parent | 13e7d7639729cc0fb9b778ecd2e45d407d45d393 (diff) | |
Move header installs to new FL/Makefile, which is generated by
configure.
Comment out symlink stuff for Cygwin, and (hopefully) soon for OSX, too.
Add uninstall targets where needed.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1707 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Makefile.in | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/FL/Makefile.in b/FL/Makefile.in new file mode 100644 index 000000000..b71b1c57e --- /dev/null +++ b/FL/Makefile.in @@ -0,0 +1,56 @@ +# +# "$Id: Makefile.in,v 1.1.2.1 2001/11/19 21:25:35 easysw Exp $" +# +# Header makefile for the Fast Light Tool Kit (FLTK). +# +# Copyright 1998-2001 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 ../makeinclude + +all: + +install: + echo "Installing include files..." + -mkdir -p $(includedir) + rm -rf $(includedir)/FL + mkdir $(includedir)/FL + cp ../FL/*.[hH] $(includedir)/FL +@HLINKS@ cd $(includedir)/FL;\ +@HLINKS@ for file in *.H; do\ +@HLINKS@ rm -f "`basename $$file H`h";\ +@HLINKS@ ln -s $$file "`basename $$file H`h";\ +@HLINKS@ done +@HLINKS@ rm -f $(includedir)/FL/fl_file_chooser.H +@HLINKS@ ln -s Fl_File_Chooser.H $(includedir)/FL/fl_file_chooser.H +@HLINKS@ rm -f $(includedir)/FL/fl_file_chooser.h +@HLINKS@ ln -s Fl_File_Chooser.H $(includedir)/FL/fl_file_chooser.h +@HLINKS@ rm -f $(includedir)/Fl +@HLINKS@ ln -s FL $(includedir)/Fl + +uninstall: + echo "Uninstalling include files..." + rm -rf $(includedir)/FL +@HLINKS@ rm -f $(includedir)/Fl + + +# +# End of "$Id: Makefile.in,v 1.1.2.1 2001/11/19 21:25:35 easysw Exp $". +# |
