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 /src/Makefile | |
| 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 'src/Makefile')
| -rw-r--r-- | src/Makefile | 44 |
1 files changed, 26 insertions, 18 deletions
diff --git a/src/Makefile b/src/Makefile index 44b851c84..af00130da 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,5 +1,5 @@ # -# "$Id: Makefile,v 1.18.2.14.2.17 2001/11/19 01:06:45 easysw Exp $" +# "$Id: Makefile,v 1.18.2.14.2.18 2001/11/19 21:25:35 easysw Exp $" # # Library makefile for the Fast Light Tool Kit (FLTK). # @@ -253,23 +253,31 @@ install: $(LIBNAME) $(DSONAME) $(GLLIBNAME) $(GLDSONAME) rm -f $(libdir)/libfltk_gl_s.a;\ cp libfltk_gl_s.a $(libdir); \ fi - echo "Installing include files..." - -mkdir -p $(includedir) - rm -rf $(includedir)/FL - mkdir $(includedir)/FL - cp ../FL/*.[hH] $(includedir)/FL - cd $(includedir)/FL;\ - for file in *.H; do\ - rm -f "`basename $$file H`h";\ - ln -s $$file "`basename $$file H`h";\ - done - rm -f $(includedir)/FL/fl_file_chooser.H - ln -s Fl_File_Chooser.H $(includedir)/FL/fl_file_chooser.H - rm -f $(includedir)/FL/fl_file_chooser.h - ln -s Fl_File_Chooser.H $(includedir)/FL/fl_file_chooser.h - rm -f $(includedir)/Fl - ln -s FL $(includedir)/Fl + + +uninstall: + echo "Uninstalling libraries..." + rm -f $(libdir)/$(LIBNAME) + if test x$(DSONAME) = xlibfltk.so.1.1; then\ + rm -f $(libdir)/libfltk.so*;\ + fi + if test x$(DSONAME) = xlibfltk.sl.1.1; then\ + rm -f $(libdir)/libfltk.sl*;\ + fi + if test x$(DSONAME) = xlibfltk_s.a; then\ + rm -f $(libdir)/libfltk_s.a;\ + fi + if test x$(GLDSONAME) = xlibfltk_gl.so.1.1; then\ + rm -f $(libdir)/libfltk_gl.so*;\ + fi + if test x$(GLDSONAME) = xlibfltk_gl.sl.1.1; then\ + rm -f $(libdir)/libfltk_gl.sl*;\ + fi + if test x$(GLDSONAME) = xlibfltk_gl_s.a; then\ + rm -f $(libdir)/libfltk_gl_s.a;\ + fi + # -# End of "$Id: Makefile,v 1.18.2.14.2.17 2001/11/19 01:06:45 easysw Exp $". +# End of "$Id: Makefile,v 1.18.2.14.2.18 2001/11/19 21:25:35 easysw Exp $". # |
