2
# "$Id: Makefile,v 1.1.2.5 2004/09/06 11:20:53 easysw Exp $"
4
# JPEG library makefile for the Fast Light Toolkit (FLTK).
6
# Copyright 1997-2004 by Easy Software Products.
8
# This library is free software; you can redistribute it and/or
9
# modify it under the terms of the GNU Library General Public
10
# License as published by the Free Software Foundation; either
11
# version 2 of the License, or (at your option) any later version.
13
# This library is distributed in the hope that it will be useful,
14
# but WITHOUT ANY WARRANTY; without even the implied warranty of
15
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
# Library General Public License for more details.
18
# You should have received a copy of the GNU Library General Public
19
# License along with this library; if not, write to the Free Software
20
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
23
# Please report all bugs and problems to "fltk-bugs@fltk.org".
26
include ../makeinclude
34
jcapimin.o jcapistd.o jccoefct.o jccolor.o jcdctmgr.o \
35
jchuff.o jcinit.o jcmainct.o jcmarker.o jcmaster.o jcomapi.o \
36
jcparam.o jcphuff.o jcprepct.o jcsample.o jctrans.o \
37
jdapimin.o jdapistd.o jdatadst.o jdatasrc.o jdcoefct.o \
38
jdcolor.o jddctmgr.o jdhuff.o jdinput.o jdmainct.o jdmarker.o \
39
jdmaster.o jdmerge.o jdphuff.o jdpostct.o jdsample.o \
40
jdtrans.o jerror.o jfdctflt.o jfdctfst.o jfdctint.o \
41
jidctflt.o jidctfst.o jidctint.o jidctred.o jquant1.o \
42
jquant2.o jutils.o jmemmgr.o
44
LIBJPEG = ../lib/libfltk_jpeg$(LIBEXT)
55
# Clean all targets and object files...
64
# Install everything...
68
echo "Installing libfltk_jpeg$(LIBEXT) in $(libdir)..."
70
$(RM) $(libdir)/libfltk_jpeg$(LIBEXT)
71
$(CP) $(LIBJPEG) $(libdir)
72
echo "Installing jpeg headers in $(includedir)/FL/images..."
73
-$(MKDIR) $(includedir)/FL/images
74
$(CP) jconfig.h jerror.h jmorecfg.h jpeglib.h $(includedir)/FL/images
78
# Uninstall everything...
82
echo "Uninstalling libfltk_jpeg$(LIBEXT) in $(libdir)..."
83
$(RM) $(libdir)/libfltk_jpeg$(LIBEXT)
84
echo "Uninstalling jpeg headers in $(includedir)/FL/images..."
85
$(RM) $(includedir)/FL/images/jconfig.h
86
$(RM) $(includedir)/FL/images/jerror.h
87
$(RM) $(includedir)/FL/images/jmorecfg.h
88
$(RM) $(includedir)/FL/images/jpeglib.h
98
$(LIBCOMMAND) $@ $(OBJS)
103
# Make dependencies...
106
depend: $(OBJS:.o=.c)
107
makedepend -Y -I.. -f makedepend $(OBJS:.o=.c)
111
$(OBJS): ../makeinclude
114
# End of "$Id: Makefile,v 1.1.2.5 2004/09/06 11:20:53 easysw Exp $".