~ubuntu-branches/ubuntu/karmic/fltk1.1/karmic

« back to all changes in this revision

Viewing changes to jpeg/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Aaron M. Ucko
  • Date: 2005-05-22 13:57:06 UTC
  • mfrom: (2.1.1 hoary)
  • Revision ID: james.westby@ubuntu.com-20050522135706-mchag24yf42lu7bu
Tags: 1.1.6-5
* Revert previous change, which seems to have been ineffective for some
  reason, in favor of commenting out the problematic Makefile rule
  altogether.  (Closes: #310151.)
* debian/control: Go back to specifying the URL as part of the
  description rather than via a non-standard field that doesn't seem to
  have caught on.  (Closes: #310240.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# "$Id: Makefile,v 1.1.2.5 2004/09/06 11:20:53 easysw Exp $"
 
3
#
 
4
# JPEG library makefile for the Fast Light Toolkit (FLTK).
 
5
#
 
6
# Copyright 1997-2004 by Easy Software Products.
 
7
#
 
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.
 
12
#
 
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.
 
17
#
 
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
 
21
# USA.
 
22
#
 
23
# Please report all bugs and problems to "fltk-bugs@fltk.org".
 
24
#
 
25
 
 
26
include ../makeinclude
 
27
 
 
28
 
 
29
#
 
30
# Object files...
 
31
#
 
32
 
 
33
OBJS    =       jmemnobs.o \
 
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
 
43
 
 
44
LIBJPEG =       ../lib/libfltk_jpeg$(LIBEXT)
 
45
 
 
46
 
 
47
#
 
48
# Make all targets...
 
49
#
 
50
 
 
51
all:    $(LIBJPEG)
 
52
 
 
53
 
 
54
#
 
55
# Clean all targets and object files...
 
56
#
 
57
 
 
58
clean:
 
59
        $(RM) $(OBJS)
 
60
        $(RM) $(LIBJPEG)
 
61
 
 
62
 
 
63
#
 
64
# Install everything...
 
65
#
 
66
 
 
67
install:
 
68
        echo "Installing libfltk_jpeg$(LIBEXT) in $(libdir)..."
 
69
        -$(MKDIR) $(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
 
75
 
 
76
 
 
77
#
 
78
# Uninstall everything...
 
79
#
 
80
 
 
81
uninstall:
 
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
 
89
 
 
90
 
 
91
#
 
92
# libfltk_jpeg.a
 
93
#
 
94
 
 
95
$(LIBJPEG):     $(OBJS)
 
96
        echo Archiving $@...
 
97
        $(RM) $@
 
98
        $(LIBCOMMAND) $@ $(OBJS)
 
99
        $(RANLIB) $@
 
100
 
 
101
 
 
102
#
 
103
# Make dependencies...
 
104
#
 
105
 
 
106
depend: $(OBJS:.o=.c)
 
107
        makedepend -Y -I.. -f makedepend $(OBJS:.o=.c)
 
108
 
 
109
include makedepend
 
110
 
 
111
$(OBJS):        ../makeinclude
 
112
 
 
113
#
 
114
# End of "$Id: Makefile,v 1.1.2.5 2004/09/06 11:20:53 easysw Exp $".
 
115
#