source: trunk/third/firefox/jpeg/makefile.gen @ 21695

Revision 21695, 13.3 KB checked in by rbasch, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r21694, which included commits to RCS files with non-trunk default branches.
Line 
1# Generated automatically from makefile.cfg by configure.
2# Makefile for Independent JPEG Group's software
3
4# makefile.cfg is edited by configure to produce a custom Makefile.
5
6# Read installation instructions before saying "make" !!
7
8# For compiling with source and object files in different directories.
9srcdir = $(VPATH)
10
11# Where to install the programs and man pages.
12prefix = /usr/local
13exec_prefix = ${prefix}
14bindir = $(exec_prefix)/bin
15libdir = $(exec_prefix)/lib
16includedir = $(prefix)/include
17binprefix =
18manprefix =
19manext = 1
20mandir = $(prefix)/man/man$(manext)
21
22# The name of your C compiler:
23CC= cc
24
25# You may need to adjust these cc options:
26CFLAGS= -O3  -I$(srcdir)
27# Generally, we recommend defining any configuration symbols in jconfig.h,
28# NOT via -D switches here.
29# However, any special defines for ansi2knr.c may be included here:
30ANSI2KNRFLAGS=
31
32# Link-time cc options:
33LDFLAGS=
34
35# To link any special libraries, add the necessary -l commands here.
36LDLIBS=
37
38# Put here the object file name for the correct system-dependent memory
39# manager file.  For Unix this is usually jmemnobs.o, but you may want
40# to use jmemansi.o or jmemname.o if you have limited swap space.
41SYSDEPMEM= jmemnobs.o
42
43# miscellaneous OS-dependent stuff
44SHELL= /bin/sh
45# linker
46LN= $(CC)
47# file deletion command
48RM= rm -f
49# file rename command
50MV= mv
51# library (.a) file creation command
52AR= ar rc
53# second step in .a creation (use "touch" if not needed)
54AR2= ranlib
55# installation program
56INSTALL= cp
57INSTALL_PROGRAM= ${INSTALL}
58INSTALL_DATA= ${INSTALL}
59
60# End of configurable options.
61
62
63# source files: JPEG library proper
64LIBSOURCES= jcapimin.c jcapistd.c jccoefct.c jccolor.c jcdctmgr.c jchuff.c \
65        jcinit.c jcmainct.c jcmarker.c jcmaster.c jcomapi.c jcparam.c \
66        jcphuff.c jcprepct.c jcsample.c jctrans.c jdapimin.c jdapistd.c \
67        jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c jddctmgr.c jdhuff.c \
68        jdinput.c jdmainct.c jdmarker.c jdmaster.c jdmerge.c jdphuff.c \
69        jdpostct.c jdsample.c jdtrans.c jerror.c jfdctflt.c jfdctfst.c \
70        jfdctint.c jidctflt.c jidctfst.c jidctint.c jidctred.c jquant1.c \
71        jquant2.c jutils.c jmemmgr.c jmemansi.c jmemname.c jmemnobs.c \
72        jmemdos.c
73# source files: cjpeg/djpeg/jpegtran applications, also rdjpgcom/wrjpgcom
74APPSOURCES= cjpeg.c djpeg.c jpegtran.c cdjpeg.c rdcolmap.c rdswitch.c \
75        rdjpgcom.c wrjpgcom.c rdppm.c wrppm.c rdgif.c wrgif.c rdtarga.c \
76        wrtarga.c rdbmp.c wrbmp.c rdrle.c wrrle.c
77SOURCES= $(LIBSOURCES) $(APPSOURCES)
78# files included by source files
79INCLUDES= jchuff.h jdhuff.h jdct.h jerror.h jinclude.h jmemsys.h jmorecfg.h \
80        jpegint.h jpeglib.h jversion.h cdjpeg.h cderror.h
81# documentation, test, and support files
82DOCS= README install.doc usage.doc cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 \
83        wrjpgcom.1 wizard.doc example.c libjpeg.doc structure.doc \
84        coderules.doc filelist.doc change.log
85MKFILES= configure makefile.cfg makefile.ansi makefile.unix makefile.bcc \
86        makefile.mc6 makefile.dj makefile.wat makcjpeg.st makdjpeg.st \
87        makljpeg.st maktjpeg.st makefile.manx makefile.sas makefile.mms \
88        makefile.vms makvms.opt
89CONFIGFILES= jconfig.cfg jconfig.manx jconfig.sas jconfig.st jconfig.bcc \
90        jconfig.mc6 jconfig.dj jconfig.wat jconfig.vms
91OTHERFILES= jconfig.doc ckconfig.c ansi2knr.c ansi2knr.1 jmemdosa.asm
92TESTFILES= testorig.jpg testimg.ppm testimg.gif testimg.jpg testprog.jpg \
93        testimgp.jpg
94DISTFILES= $(DOCS) $(MKFILES) $(CONFIGFILES) $(SOURCES) $(INCLUDES) \
95        $(OTHERFILES) $(TESTFILES)
96# library object files common to compression and decompression
97COMOBJECTS= jcomapi.o jutils.o jerror.o jmemmgr.o $(SYSDEPMEM)
98# compression library object files
99CLIBOBJECTS= jcapimin.o jcapistd.o jctrans.o jcparam.o jdatadst.o jcinit.o \
100        jcmaster.o jcmarker.o jcmainct.o jcprepct.o jccoefct.o jccolor.o \
101        jcsample.o jchuff.o jcphuff.o jcdctmgr.o jfdctfst.o jfdctflt.o \
102        jfdctint.o
103# decompression library object files
104DLIBOBJECTS= jdapimin.o jdapistd.o jdatasrc.o jdmaster.o \
105        jdinput.o jdmarker.o jdhuff.o jdphuff.o jdmainct.o jdcoefct.o \
106        jdpostct.o jddctmgr.o jidctfst.o jidctflt.o jidctint.o jidctred.o \
107        jdsample.o jdcolor.o jquant1.o jquant2.o jdmerge.o
108# These objectfiles are included in libjpeg.a
109LIBOBJECTS= $(CLIBOBJECTS) $(DLIBOBJECTS) $(COMOBJECTS)
110# object files for sample applications (excluding library files)
111COBJECTS= cjpeg.o rdppm.o rdgif.o rdtarga.o rdrle.o rdbmp.o rdswitch.o \
112        cdjpeg.o
113DOBJECTS= djpeg.o wrppm.o wrgif.o wrtarga.o wrrle.o wrbmp.o rdcolmap.o \
114        cdjpeg.o
115TROBJECTS= jpegtran.o rdswitch.o cdjpeg.o
116
117all: libjpeg.a
118
119realall:  libjpeg.a cjpeg djpeg jpegtran rdjpgcom wrjpgcom
120
121# This rule causes ansi2knr to be invoked.
122# .c.o:
123#       ./ansi2knr $(srcdir)/$*.c T$*.c
124#       $(CC) $(CFLAGS) -c T$*.c
125#       $(RM) T$*.c $*.o
126#       $(MV) T$*.o $*.o
127
128ansi2knr: ansi2knr.c
129        $(CC) $(CFLAGS) $(ANSI2KNRFLAGS) -o ansi2knr ansi2knr.c
130
131# Decompression-only library
132libjpeg.a:  $(DLIBOBJECTS) $(COMOBJECTS)
133        $(RM) libjpeg.a
134        $(AR) libjpeg.a  $(DLIBOBJECTS) $(COMOBJECTS)
135        $(AR2) libjpeg.a
136
137cjpeg: $(COBJECTS) libjpeg.a
138        $(LN) $(LDFLAGS) -o cjpeg $(COBJECTS) libjpeg.a $(LDLIBS)
139
140djpeg: $(DOBJECTS) libjpeg.a
141        $(LN) $(LDFLAGS) -o djpeg $(DOBJECTS) libjpeg.a $(LDLIBS)
142
143jpegtran: $(TROBJECTS) libjpeg.a
144        $(LN) $(LDFLAGS) -o jpegtran $(TROBJECTS) libjpeg.a $(LDLIBS)
145
146rdjpgcom: rdjpgcom.o
147        $(LN) $(LDFLAGS) -o rdjpgcom rdjpgcom.o $(LDLIBS)
148
149wrjpgcom: wrjpgcom.o
150        $(LN) $(LDFLAGS) -o wrjpgcom wrjpgcom.o $(LDLIBS)
151
152jconfig.h: jconfig.doc
153        echo You must prepare a system-dependent jconfig.h file.
154        echo Please read the installation directions in install.doc.
155        exit 1
156
157install: cjpeg djpeg jpegtran rdjpgcom wrjpgcom
158        $(INSTALL_PROGRAM) cjpeg $(bindir)/$(binprefix)cjpeg
159        $(INSTALL_PROGRAM) djpeg $(bindir)/$(binprefix)djpeg
160        $(INSTALL_PROGRAM) jpegtran $(bindir)/$(binprefix)jpegtran
161        $(INSTALL_PROGRAM) rdjpgcom $(bindir)/$(binprefix)rdjpgcom
162        $(INSTALL_PROGRAM) wrjpgcom $(bindir)/$(binprefix)wrjpgcom
163        $(INSTALL_DATA) $(srcdir)/cjpeg.1 $(mandir)/$(manprefix)cjpeg.$(manext)
164        $(INSTALL_DATA) $(srcdir)/djpeg.1 $(mandir)/$(manprefix)djpeg.$(manext)
165        $(INSTALL_DATA) $(srcdir)/jpegtran.1 $(mandir)/$(manprefix)jpegtran.$(manext)
166        $(INSTALL_DATA) $(srcdir)/rdjpgcom.1 $(mandir)/$(manprefix)rdjpgcom.$(manext)
167        $(INSTALL_DATA) $(srcdir)/wrjpgcom.1 $(mandir)/$(manprefix)wrjpgcom.$(manext)
168
169install-lib: libjpeg.a install-headers
170        $(INSTALL_DATA) libjpeg.a $(libdir)/$(binprefix)libjpeg.a
171
172install-headers: jconfig.h
173        $(INSTALL_DATA) jconfig.h $(includedir)/jconfig.h
174        $(INSTALL_DATA) $(srcdir)/jpeglib.h $(includedir)/jpeglib.h
175        $(INSTALL_DATA) $(srcdir)/jmorecfg.h $(includedir)/jmorecfg.h
176        $(INSTALL_DATA) $(srcdir)/jerror.h $(includedir)/jerror.h
177
178clean:
179        $(RM) *.o cjpeg djpeg jpegtran libjpeg.a rdjpgcom wrjpgcom
180        $(RM) ansi2knr core testout* config.log config.status
181
182distribute:
183        $(RM) jpegsrc.tar*
184        tar cvf jpegsrc.tar $(DISTFILES)
185        compress -v jpegsrc.tar
186
187test: cjpeg djpeg jpegtran
188        $(RM) testout*
189        ./djpeg -dct int -ppm -outfile testout.ppm  $(srcdir)/testorig.jpg
190        ./djpeg -dct int -gif -outfile testout.gif  $(srcdir)/testorig.jpg
191        ./cjpeg -dct int -outfile testout.jpg  $(srcdir)/testimg.ppm
192        ./djpeg -dct int -ppm -outfile testoutp.ppm $(srcdir)/testprog.jpg
193        ./cjpeg -dct int -progressive -opt -outfile testoutp.jpg $(srcdir)/testimg.ppm
194        ./jpegtran -outfile testoutt.jpg $(srcdir)/testprog.jpg
195        cmp $(srcdir)/testimg.ppm testout.ppm
196        cmp $(srcdir)/testimg.gif testout.gif
197        cmp $(srcdir)/testimg.jpg testout.jpg
198        cmp $(srcdir)/testimg.ppm testoutp.ppm
199        cmp $(srcdir)/testimgp.jpg testoutp.jpg
200        cmp $(srcdir)/testorig.jpg testoutt.jpg
201
202check: test
203
204# GNU Make likes to know which target names are not really files to be made:
205.PHONY: all install install-lib install-headers clean distribute test check
206
207
208jcapimin.o: jcapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
209jcapistd.o: jcapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
210jccoefct.o: jccoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
211jccolor.o: jccolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
212jcdctmgr.o: jcdctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
213jchuff.o: jchuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jchuff.h
214jcinit.o: jcinit.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
215jcmainct.o: jcmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
216jcmarker.o: jcmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
217jcmaster.o: jcmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
218jcomapi.o: jcomapi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
219jcparam.o: jcparam.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
220jcphuff.o: jcphuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jchuff.h
221jcprepct.o: jcprepct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
222jcsample.o: jcsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
223jctrans.o: jctrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
224jdapimin.o: jdapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
225jdapistd.o: jdapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
226jdatadst.o: jdatadst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
227jdatasrc.o: jdatasrc.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
228jdcoefct.o: jdcoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
229jdcolor.o: jdcolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
230jddctmgr.o: jddctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
231jdhuff.o: jdhuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdhuff.h
232jdinput.o: jdinput.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
233jdmainct.o: jdmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
234jdmarker.o: jdmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
235jdmaster.o: jdmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
236jdmerge.o: jdmerge.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
237jdphuff.o: jdphuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdhuff.h
238jdpostct.o: jdpostct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
239jdsample.o: jdsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
240jdtrans.o: jdtrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
241jerror.o: jerror.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jversion.h jerror.h
242jfdctflt.o: jfdctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
243jfdctfst.o: jfdctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
244jfdctint.o: jfdctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
245jidctflt.o: jidctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
246jidctfst.o: jidctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
247jidctint.o: jidctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
248jidctred.o: jidctred.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
249jquant1.o: jquant1.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
250jquant2.o: jquant2.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
251jutils.o: jutils.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
252jmemmgr.o: jmemmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
253jmemansi.o: jmemansi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
254jmemname.o: jmemname.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
255jmemnobs.o: jmemnobs.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
256jmemdos.o: jmemdos.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
257cjpeg.o: cjpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h
258djpeg.o: djpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h
259jpegtran.o: jpegtran.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h
260cdjpeg.o: cdjpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
261rdcolmap.o: rdcolmap.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
262rdswitch.o: rdswitch.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
263rdjpgcom.o: rdjpgcom.c jinclude.h jconfig.h
264wrjpgcom.o: wrjpgcom.c jinclude.h jconfig.h
265rdppm.o: rdppm.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
266wrppm.o: wrppm.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
267rdgif.o: rdgif.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
268wrgif.o: wrgif.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
269rdtarga.o: rdtarga.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
270wrtarga.o: wrtarga.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
271rdbmp.o: rdbmp.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
272wrbmp.o: wrbmp.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
273rdrle.o: rdrle.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
274wrrle.o: wrrle.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
Note: See TracBrowser for help on using the repository browser.