summaryrefslogtreecommitdiff
path: root/png
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2004-09-06 11:20:53 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2004-09-06 11:20:53 +0000
commitd7fe9245b4f976d220469f321b100ffc217ccc59 (patch)
treee95f1b3a5c7020f3ffca79bf4af6428f41bafdce /png
parent98a0be39654892de753912045a36bd7f66eac31c (diff)
Install image header files in FL/images so that FLTK apps will use the
same headers as the image libraries FLTK uses. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3804 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'png')
-rw-r--r--png/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/png/Makefile b/png/Makefile
index 7f17d77cc..540f9a430 100644
--- a/png/Makefile
+++ b/png/Makefile
@@ -1,5 +1,5 @@
#
-# "$Id: Makefile,v 1.1.2.4 2004/07/29 18:13:11 easysw Exp $"
+# "$Id: Makefile,v 1.1.2.5 2004/09/06 11:20:53 easysw Exp $"
#
# PNG library makefile for the Fast Light Toolkit (FLTK).
#
@@ -62,6 +62,9 @@ install: $(LIBPNG)
$(RM) $(libdir)/libfltk_png$(LIBEXT)
$(CP) $(LIBPNG) $(libdir)
$(RANLIB) $(libdir)/libfltk_png$(LIBEXT)
+ echo "Installing png headers in $(includedir)/FL/images..."
+ -$(MKDIR) $(includedir)/FL/images
+ $(CP) png.h pngconf.h $(includedir)/FL/images
#
@@ -71,6 +74,9 @@ install: $(LIBPNG)
uninstall:
echo "Uninstalling libfltk_png$(LIBEXT) in $(libdir)..."
$(RM) $(libdir)/libfltk_png$(LIBEXT)
+ echo "Uninstalling png headers in $(includedir)/FL/images..."
+ $(RM) $(includedir)/FL/images/png.h
+ $(RM) $(includedir)/FL/images/pngconf.h
#
@@ -97,5 +103,5 @@ $(OBJS): ../makeinclude
#
-# End of "$Id: Makefile,v 1.1.2.4 2004/07/29 18:13:11 easysw Exp $".
+# End of "$Id: Makefile,v 1.1.2.5 2004/09/06 11:20:53 easysw Exp $".
#