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
This commit is contained in:
Michael R Sweet
2001-11-19 21:25:35 +00:00
parent 13e7d76397
commit 84e38d4d91
8 changed files with 122 additions and 33 deletions
+10 -4
View File
@@ -1,5 +1,5 @@
#
# "$Id: Makefile,v 1.12.2.6.2.6 2001/09/30 12:30:13 easysw Exp $"
# "$Id: Makefile,v 1.12.2.6.2.7 2001/11/19 21:25:34 easysw Exp $"
#
# Top-level makefile for the Fast Light Tool Kit (FLTK).
#
@@ -35,16 +35,22 @@ all: makeinclude
done
install: makeinclude
@for dir in $(DIRS); do\
@for dir in FL $(DIRS) documentation; do\
echo "=== installing $$dir ===";\
(cd $$dir; $(MAKE) $(MFLAGS) install) || break;\
done
(cd documentation; $(MAKE) $(MFLAGS) install)
-mkdir -p $(bindir)
rm -f $(bindir)/fltk-config
-cp fltk-config $(bindir)
-chmod +x $(bindir)/fltk-config
uninstall: makeinclude
@for dir in FL $(DIRS) documentation; do\
echo "=== uninstalling $$dir ===";\
(cd $$dir; $(MAKE) $(MFLAGS) uninstall) || break;\
done
rm -f $(bindir)/fltk-config
depend: makeinclude
@for dir in $(DIRS); do\
echo "=== making dependencies in $$dir ===";\
@@ -73,5 +79,5 @@ configure: configure.in
autoconf
#
# End of "$Id: Makefile,v 1.12.2.6.2.6 2001/09/30 12:30:13 easysw Exp $".
# End of "$Id: Makefile,v 1.12.2.6.2.7 2001/11/19 21:25:34 easysw Exp $".
#