Follow up to bug 451392, add hgToolsTag to older configs
[mozilla-1.9.git] / jpeg / makefile.gen
blob6692479e045a082ffbfe92c8cda7077f0f15cced
1 # Generated automatically from makefile.cfg by configure.
2 # Makefile for Independent JPEG Group's software
4 # makefile.cfg is edited by configure to produce a custom Makefile.
6 # Read installation instructions before saying "make" !!
8 # For compiling with source and object files in different directories.
9 srcdir = $(VPATH)
11 # Where to install the programs and man pages.
12 prefix = /usr/local
13 exec_prefix = ${prefix}
14 bindir = $(exec_prefix)/bin
15 libdir = $(exec_prefix)/lib
16 includedir = $(prefix)/include
17 binprefix =
18 manprefix =
19 manext = 1
20 mandir = $(prefix)/man/man$(manext)
22 # The name of your C compiler:
23 CC= cc
25 # You may need to adjust these cc options:
26 CFLAGS= -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:
30 ANSI2KNRFLAGS= 
32 # Link-time cc options:
33 LDFLAGS= 
35 # To link any special libraries, add the necessary -l commands here.
36 LDLIBS= 
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.
41 SYSDEPMEM= jmemnobs.o
43 # miscellaneous OS-dependent stuff
44 SHELL= /bin/sh
45 # linker
46 LN= $(CC)
47 # file deletion command
48 RM= rm -f
49 # file rename command
50 MV= mv
51 # library (.a) file creation command
52 AR= ar rc
53 # second step in .a creation (use "touch" if not needed)
54 AR2= ranlib
55 # installation program
56 INSTALL= cp
57 INSTALL_PROGRAM= ${INSTALL}
58 INSTALL_DATA= ${INSTALL}
60 # End of configurable options.
63 # source files: JPEG library proper
64 LIBSOURCES= 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
74 APPSOURCES= 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
77 SOURCES= $(LIBSOURCES) $(APPSOURCES)
78 # files included by source files
79 INCLUDES= 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
82 DOCS= 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
85 MKFILES= 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
89 CONFIGFILES= jconfig.cfg jconfig.manx jconfig.sas jconfig.st jconfig.bcc \
90         jconfig.mc6 jconfig.dj jconfig.wat jconfig.vms
91 OTHERFILES= jconfig.doc ckconfig.c ansi2knr.c ansi2knr.1 jmemdosa.asm
92 TESTFILES= testorig.jpg testimg.ppm testimg.gif testimg.jpg testprog.jpg \
93         testimgp.jpg
94 DISTFILES= $(DOCS) $(MKFILES) $(CONFIGFILES) $(SOURCES) $(INCLUDES) \
95         $(OTHERFILES) $(TESTFILES)
96 # library object files common to compression and decompression
97 COMOBJECTS= jcomapi.o jutils.o jerror.o jmemmgr.o $(SYSDEPMEM)
98 # compression library object files
99 CLIBOBJECTS= 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
104 DLIBOBJECTS= 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
109 LIBOBJECTS= $(CLIBOBJECTS) $(DLIBOBJECTS) $(COMOBJECTS)
110 # object files for sample applications (excluding library files)
111 COBJECTS= cjpeg.o rdppm.o rdgif.o rdtarga.o rdrle.o rdbmp.o rdswitch.o \
112         cdjpeg.o
113 DOBJECTS= djpeg.o wrppm.o wrgif.o wrtarga.o wrrle.o wrbmp.o rdcolmap.o \
114         cdjpeg.o
115 TROBJECTS= jpegtran.o rdswitch.o cdjpeg.o
117 all: libjpeg.a
119 realall:  libjpeg.a cjpeg djpeg jpegtran rdjpgcom wrjpgcom
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
128 ansi2knr: ansi2knr.c
129         $(CC) $(CFLAGS) $(ANSI2KNRFLAGS) -o ansi2knr ansi2knr.c
131 # Decompression-only library
132 libjpeg.a:  $(DLIBOBJECTS) $(COMOBJECTS)
133         $(RM) libjpeg.a
134         $(AR) libjpeg.a  $(DLIBOBJECTS) $(COMOBJECTS)
135         $(AR2) libjpeg.a
137 cjpeg: $(COBJECTS) libjpeg.a
138         $(LN) $(LDFLAGS) -o cjpeg $(COBJECTS) libjpeg.a $(LDLIBS)
140 djpeg: $(DOBJECTS) libjpeg.a
141         $(LN) $(LDFLAGS) -o djpeg $(DOBJECTS) libjpeg.a $(LDLIBS)
143 jpegtran: $(TROBJECTS) libjpeg.a
144         $(LN) $(LDFLAGS) -o jpegtran $(TROBJECTS) libjpeg.a $(LDLIBS)
146 rdjpgcom: rdjpgcom.o
147         $(LN) $(LDFLAGS) -o rdjpgcom rdjpgcom.o $(LDLIBS)
149 wrjpgcom: wrjpgcom.o
150         $(LN) $(LDFLAGS) -o wrjpgcom wrjpgcom.o $(LDLIBS)
152 jconfig.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
157 install: 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)
169 install-lib: libjpeg.a install-headers
170         $(INSTALL_DATA) libjpeg.a $(libdir)/$(binprefix)libjpeg.a
172 install-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
178 clean:
179         $(RM) *.o cjpeg djpeg jpegtran libjpeg.a rdjpgcom wrjpgcom
180         $(RM) ansi2knr core testout* config.log config.status
182 distribute:
183         $(RM) jpegsrc.tar*
184         tar cvf jpegsrc.tar $(DISTFILES)
185         compress -v jpegsrc.tar
187 test: 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
202 check: test
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
208 jcapimin.o: jcapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
209 jcapistd.o: jcapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
210 jccoefct.o: jccoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
211 jccolor.o: jccolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
212 jcdctmgr.o: jcdctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
213 jchuff.o: jchuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jchuff.h
214 jcinit.o: jcinit.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
215 jcmainct.o: jcmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
216 jcmarker.o: jcmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
217 jcmaster.o: jcmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
218 jcomapi.o: jcomapi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
219 jcparam.o: jcparam.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
220 jcphuff.o: jcphuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jchuff.h
221 jcprepct.o: jcprepct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
222 jcsample.o: jcsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
223 jctrans.o: jctrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
224 jdapimin.o: jdapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
225 jdapistd.o: jdapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
226 jdatadst.o: jdatadst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
227 jdatasrc.o: jdatasrc.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
228 jdcoefct.o: jdcoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
229 jdcolor.o: jdcolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
230 jddctmgr.o: jddctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
231 jdhuff.o: jdhuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdhuff.h
232 jdinput.o: jdinput.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
233 jdmainct.o: jdmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
234 jdmarker.o: jdmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
235 jdmaster.o: jdmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
236 jdmerge.o: jdmerge.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
237 jdphuff.o: jdphuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdhuff.h
238 jdpostct.o: jdpostct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
239 jdsample.o: jdsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
240 jdtrans.o: jdtrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
241 jerror.o: jerror.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jversion.h jerror.h
242 jfdctflt.o: jfdctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
243 jfdctfst.o: jfdctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
244 jfdctint.o: jfdctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
245 jidctflt.o: jidctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
246 jidctfst.o: jidctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
247 jidctint.o: jidctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
248 jidctred.o: jidctred.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
249 jquant1.o: jquant1.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
250 jquant2.o: jquant2.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
251 jutils.o: jutils.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
252 jmemmgr.o: jmemmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
253 jmemansi.o: jmemansi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
254 jmemname.o: jmemname.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
255 jmemnobs.o: jmemnobs.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
256 jmemdos.o: jmemdos.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
257 cjpeg.o: cjpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h
258 djpeg.o: djpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h
259 jpegtran.o: jpegtran.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h
260 cdjpeg.o: cdjpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
261 rdcolmap.o: rdcolmap.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
262 rdswitch.o: rdswitch.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
263 rdjpgcom.o: rdjpgcom.c jinclude.h jconfig.h
264 wrjpgcom.o: wrjpgcom.c jinclude.h jconfig.h
265 rdppm.o: rdppm.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
266 wrppm.o: wrppm.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
267 rdgif.o: rdgif.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
268 wrgif.o: wrgif.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
269 rdtarga.o: rdtarga.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
270 wrtarga.o: wrtarga.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
271 rdbmp.o: rdbmp.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
272 wrbmp.o: wrbmp.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
273 rdrle.o: rdrle.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
274 wrrle.o: wrrle.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h