summaryrefslogtreecommitdiff
path: root/jpeg/Makefile
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 /jpeg/Makefile
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 'jpeg/Makefile')
-rw-r--r--jpeg/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/jpeg/Makefile b/jpeg/Makefile
index 31a5ac70b..9d2ec89f7 100644
--- a/jpeg/Makefile
+++ b/jpeg/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 $"
#
# JPEG library makefile for the Fast Light Toolkit (FLTK).
#
@@ -69,6 +69,9 @@ install:
-$(MKDIR) $(libdir)
$(RM) $(libdir)/libfltk_jpeg$(LIBEXT)
$(CP) $(LIBJPEG) $(libdir)
+ echo "Installing jpeg headers in $(includedir)/FL/images..."
+ -$(MKDIR) $(includedir)/FL/images
+ $(CP) jconfig.h jerror.h jmorecfg.h jpeglib.h $(includedir)/FL/images
#
@@ -78,6 +81,11 @@ install:
uninstall:
echo "Uninstalling libfltk_jpeg$(LIBEXT) in $(libdir)..."
$(RM) $(libdir)/libfltk_jpeg$(LIBEXT)
+ echo "Uninstalling jpeg headers in $(includedir)/FL/images..."
+ $(RM) $(includedir)/FL/images/jconfig.h
+ $(RM) $(includedir)/FL/images/jerror.h
+ $(RM) $(includedir)/FL/images/jmorecfg.h
+ $(RM) $(includedir)/FL/images/jpeglib.h
#
@@ -103,5 +111,5 @@ include makedepend
$(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 $".
#