~baltix/+junk/irrlicht-test

« back to all changes in this revision

Viewing changes to source/Irrlicht/jpeglib/makefile.mc6

  • Committer: Mantas Kriaučiūnas
  • Date: 2011-07-18 13:06:25 UTC
  • Revision ID: mantas@akl.lt-20110718130625-c5pvifp61e7kj1ol
Included whole irrlicht SVN libraries to work around launchpad recipe issue with quilt, see https://answers.launchpad.net/launchpad/+question/165193

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Makefile for Independent JPEG Group's software
 
2
 
 
3
# This makefile is for Microsoft C for MS-DOS, version 6.00A and up.
 
4
# Use NMAKE, not Microsoft's brain-damaged MAKE.
 
5
# Thanks to Alan Wright and Chris Turner of Olivetti Research Ltd.
 
6
 
 
7
# Read installation instructions before saying "nmake" !!
 
8
 
 
9
# You may need to adjust these compiler options:
 
10
CFLAGS = -AM -Oecigt -Gs -W3
 
11
# -AM medium memory model (or use -AS for small model, if you remove features)
 
12
# -Oecigt -Gs  maximum safe optimisation (-Ol has bugs in MSC 6.00A)
 
13
# -W3 warning level 3
 
14
# You might also want to add -G2 if you have an 80286, etc.
 
15
# Generally, we recommend defining any configuration symbols in jconfig.h,
 
16
# NOT via -D switches here.
 
17
 
 
18
# Jan-Herman Buining suggests the following switches for MS C 8.0 and a 486:
 
19
# CFLAGS = /AM /f- /FPi87 /G3 /Gs /Gy /Ob1 /Oc /Oe /Og /Oi /Ol /On /Oo /Ot \
 
20
#          /OV4 /W3
 
21
# except for jquant1.c, which must be compiled with /Oo- to avoid a compiler
 
22
# crash.
 
23
 
 
24
# Ingar Steinsland suggests the following switches when building
 
25
# a 16-bit Windows DLL:
 
26
# CFLAGS = -ALw -Gsw -Zpe -W3 -O2 -Zi -Zd
 
27
 
 
28
# Put here the object file name for the correct system-dependent memory
 
29
# manager file.  For DOS, we recommend jmemdos.c and jmemdosa.asm.
 
30
# (But not for Windows; see install.txt if you use this makefile for Windows.)
 
31
SYSDEPMEM= jmemdos.obj jmemdosa.obj
 
32
# SYSDEPMEMLIB must list the same files with "+" signs for the librarian.
 
33
SYSDEPMEMLIB= +jmemdos.obj +jmemdosa.obj
 
34
 
 
35
# End of configurable options.
 
36
 
 
37
 
 
38
# source files: JPEG library proper
 
39
LIBSOURCES= jaricom.c jcapimin.c jcapistd.c jcarith.c jccoefct.c jccolor.c \
 
40
        jcdctmgr.c jchuff.c jcinit.c jcmainct.c jcmarker.c jcmaster.c \
 
41
        jcomapi.c jcparam.c jcprepct.c jcsample.c jctrans.c jdapimin.c \
 
42
        jdapistd.c jdarith.c jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c \
 
43
        jddctmgr.c jdhuff.c jdinput.c jdmainct.c jdmarker.c jdmaster.c \
 
44
        jdmerge.c jdpostct.c jdsample.c jdtrans.c jerror.c jfdctflt.c \
 
45
        jfdctfst.c jfdctint.c jidctflt.c jidctfst.c jidctint.c jquant1.c \
 
46
        jquant2.c jutils.c jmemmgr.c
 
47
# memmgr back ends: compile only one of these into a working library
 
48
SYSDEPSOURCES= jmemansi.c jmemname.c jmemnobs.c jmemdos.c jmemmac.c
 
49
# source files: cjpeg/djpeg/jpegtran applications, also rdjpgcom/wrjpgcom
 
50
APPSOURCES= cjpeg.c djpeg.c jpegtran.c rdjpgcom.c wrjpgcom.c cdjpeg.c \
 
51
        rdcolmap.c rdswitch.c transupp.c rdppm.c wrppm.c rdgif.c wrgif.c \
 
52
        rdtarga.c wrtarga.c rdbmp.c wrbmp.c rdrle.c wrrle.c
 
53
SOURCES= $(LIBSOURCES) $(SYSDEPSOURCES) $(APPSOURCES)
 
54
# files included by source files
 
55
INCLUDES= jdct.h jerror.h jinclude.h jmemsys.h jmorecfg.h jpegint.h \
 
56
        jpeglib.h jversion.h cdjpeg.h cderror.h transupp.h
 
57
# documentation, test, and support files
 
58
DOCS= README install.txt usage.txt cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 \
 
59
        wrjpgcom.1 wizard.txt example.c libjpeg.txt structure.txt \
 
60
        coderules.txt filelist.txt change.log
 
61
MKFILES= configure Makefile.in makefile.ansi makefile.unix makefile.bcc \
 
62
        makefile.mc6 makefile.dj makefile.wat makefile.vc makejdsw.vc6 \
 
63
        makeadsw.vc6 makejdep.vc6 makejdsp.vc6 makejmak.vc6 makecdep.vc6 \
 
64
        makecdsp.vc6 makecmak.vc6 makeddep.vc6 makeddsp.vc6 makedmak.vc6 \
 
65
        maketdep.vc6 maketdsp.vc6 maketmak.vc6 makerdep.vc6 makerdsp.vc6 \
 
66
        makermak.vc6 makewdep.vc6 makewdsp.vc6 makewmak.vc6 makejsln.v10 \
 
67
        makeasln.v10 makejvcx.v10 makejfil.v10 makecvcx.v10 makecfil.v10 \
 
68
        makedvcx.v10 makedfil.v10 maketvcx.v10 maketfil.v10 makervcx.v10 \
 
69
        makerfil.v10 makewvcx.v10 makewfil.v10 makeproj.mac makcjpeg.st \
 
70
        makdjpeg.st makljpeg.st maktjpeg.st makefile.manx makefile.sas \
 
71
        makefile.mms makefile.vms makvms.opt
 
72
CONFIGFILES= jconfig.cfg jconfig.bcc jconfig.mc6 jconfig.dj jconfig.wat \
 
73
        jconfig.vc jconfig.mac jconfig.st jconfig.manx jconfig.sas \
 
74
        jconfig.vms
 
75
CONFIGUREFILES= config.guess config.sub install-sh ltmain.sh depcomp missing
 
76
OTHERFILES= jconfig.txt ckconfig.c ansi2knr.c ansi2knr.1 jmemdosa.asm \
 
77
        libjpeg.map
 
78
TESTFILES= testorig.jpg testimg.ppm testimg.bmp testimg.jpg testprog.jpg \
 
79
        testimgp.jpg
 
80
DISTFILES= $(DOCS) $(MKFILES) $(CONFIGFILES) $(SOURCES) $(INCLUDES) \
 
81
        $(CONFIGUREFILES) $(OTHERFILES) $(TESTFILES)
 
82
# library object files common to compression and decompression
 
83
COMOBJECTS= jaricom.obj jcomapi.obj jutils.obj jerror.obj jmemmgr.obj $(SYSDEPMEM)
 
84
# compression library object files
 
85
CLIBOBJECTS= jcapimin.obj jcapistd.obj jcarith.obj jctrans.obj jcparam.obj \
 
86
        jdatadst.obj jcinit.obj jcmaster.obj jcmarker.obj jcmainct.obj \
 
87
        jcprepct.obj jccoefct.obj jccolor.obj jcsample.obj jchuff.obj \
 
88
        jcdctmgr.obj jfdctfst.obj jfdctflt.obj jfdctint.obj
 
89
# decompression library object files
 
90
DLIBOBJECTS= jdapimin.obj jdapistd.obj jdarith.obj jdtrans.obj jdatasrc.obj \
 
91
        jdmaster.obj jdinput.obj jdmarker.obj jdhuff.obj jdmainct.obj \
 
92
        jdcoefct.obj jdpostct.obj jddctmgr.obj jidctfst.obj jidctflt.obj \
 
93
        jidctint.obj jdsample.obj jdcolor.obj jquant1.obj jquant2.obj \
 
94
        jdmerge.obj
 
95
# These objectfiles are included in libjpeg.lib
 
96
LIBOBJECTS= $(CLIBOBJECTS) $(DLIBOBJECTS) $(COMOBJECTS)
 
97
# object files for sample applications (excluding library files)
 
98
COBJECTS= cjpeg.obj rdppm.obj rdgif.obj rdtarga.obj rdrle.obj rdbmp.obj \
 
99
        rdswitch.obj cdjpeg.obj
 
100
DOBJECTS= djpeg.obj wrppm.obj wrgif.obj wrtarga.obj wrrle.obj wrbmp.obj \
 
101
        rdcolmap.obj cdjpeg.obj
 
102
TROBJECTS= jpegtran.obj rdswitch.obj cdjpeg.obj transupp.obj
 
103
 
 
104
# need linker response file because file list > 128 chars
 
105
RFILE = libjpeg.ans
 
106
 
 
107
 
 
108
all: libjpeg.lib cjpeg.exe djpeg.exe jpegtran.exe rdjpgcom.exe wrjpgcom.exe
 
109
 
 
110
libjpeg.lib: $(LIBOBJECTS) $(RFILE)
 
111
        del libjpeg.lib
 
112
        lib @$(RFILE)
 
113
 
 
114
# linker response file for building libjpeg.lib
 
115
$(RFILE) : makefile
 
116
        del $(RFILE)
 
117
        echo libjpeg.lib >$(RFILE)
 
118
# silly want-to-create-it prompt:
 
119
        echo y >>$(RFILE)
 
120
        echo +jcapimin.obj +jcapistd.obj +jcarith.obj +jctrans.obj & >>$(RFILE)
 
121
        echo +jcparam.obj +jdatadst.obj +jcinit.obj +jcmaster.obj & >>$(RFILE)
 
122
        echo +jcmarker.obj +jcmainct.obj +jcprepct.obj & >>$(RFILE)
 
123
        echo +jccoefct.obj +jccolor.obj +jcsample.obj +jchuff.obj & >>$(RFILE)
 
124
        echo +jcdctmgr.obj +jfdctfst.obj +jfdctflt.obj & >>$(RFILE)
 
125
        echo +jfdctint.obj +jdapimin.obj +jdapistd.obj & >>$(RFILE)
 
126
        echo +jdarith.obj +jdtrans.obj +jdatasrc.obj +jdmaster.obj & >>$(RFILE)
 
127
        echo +jdinput.obj +jdmarker.obj +jdhuff.obj +jdmainct.obj & >>$(RFILE)
 
128
        echo +jdcoefct.obj +jdpostct.obj +jddctmgr.obj & >>$(RFILE)
 
129
        echo +jidctfst.obj +jidctflt.obj +jidctint.obj & >>$(RFILE)
 
130
        echo +jdsample.obj +jdcolor.obj +jquant1.obj & >>$(RFILE)
 
131
        echo +jquant2.obj +jdmerge.obj +jaricom.obj +jcomapi.obj & >>$(RFILE)
 
132
        echo +jutils.obj +jerror.obj +jmemmgr.obj & >>$(RFILE)
 
133
        echo $(SYSDEPMEMLIB) ; >>$(RFILE)
 
134
 
 
135
cjpeg.exe: $(COBJECTS) libjpeg.lib
 
136
        echo $(COBJECTS) >cjpeg.lst
 
137
        link /STACK:4096 /EXEPACK @cjpeg.lst, cjpeg.exe, , libjpeg.lib, ;
 
138
        del cjpeg.lst
 
139
 
 
140
djpeg.exe: $(DOBJECTS) libjpeg.lib
 
141
        echo $(DOBJECTS) >djpeg.lst
 
142
        link /STACK:4096 /EXEPACK @djpeg.lst, djpeg.exe, , libjpeg.lib, ;
 
143
        del djpeg.lst
 
144
 
 
145
jpegtran.exe: $(TROBJECTS) libjpeg.lib
 
146
        link /STACK:4096 /EXEPACK $(TROBJECTS), jpegtran.exe, , libjpeg.lib, ;
 
147
 
 
148
rdjpgcom.exe: rdjpgcom.c
 
149
        $(CC) -AS -O -W3 rdjpgcom.c
 
150
 
 
151
# wrjpgcom needs large model so it can malloc a 64K chunk
 
152
wrjpgcom.exe: wrjpgcom.c
 
153
        $(CC) -AL -O -W3 wrjpgcom.c
 
154
 
 
155
jconfig.h: jconfig.txt
 
156
        echo You must prepare a system-dependent jconfig.h file.
 
157
        echo Please read the installation directions in install.txt.
 
158
        exit 1
 
159
 
 
160
clean:
 
161
        del *.obj
 
162
        del libjpeg.lib
 
163
        del cjpeg.exe
 
164
        del djpeg.exe
 
165
        del jpegtran.exe
 
166
        del rdjpgcom.exe
 
167
        del wrjpgcom.exe
 
168
        del testout*.*
 
169
 
 
170
test: cjpeg.exe djpeg.exe jpegtran.exe
 
171
        del testout*.*
 
172
        djpeg -dct int -ppm -outfile testout.ppm  testorig.jpg
 
173
        djpeg -dct int -bmp -colors 256 -outfile testout.bmp  testorig.jpg
 
174
        cjpeg -dct int -outfile testout.jpg  testimg.ppm
 
175
        djpeg -dct int -ppm -outfile testoutp.ppm testprog.jpg
 
176
        cjpeg -dct int -progressive -opt -outfile testoutp.jpg testimg.ppm
 
177
        jpegtran -outfile testoutt.jpg testprog.jpg
 
178
        fc /b testimg.ppm testout.ppm
 
179
        fc /b testimg.bmp testout.bmp
 
180
        fc /b testimg.jpg testout.jpg
 
181
        fc /b testimg.ppm testoutp.ppm
 
182
        fc /b testimgp.jpg testoutp.jpg
 
183
        fc /b testorig.jpg testoutt.jpg
 
184
 
 
185
 
 
186
jaricom.obj: jaricom.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
 
187
jcapimin.obj: jcapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
 
188
jcapistd.obj: jcapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
 
189
jcarith.obj: jcarith.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
 
190
jccoefct.obj: jccoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
 
191
jccolor.obj: jccolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
 
192
jcdctmgr.obj: jcdctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
 
193
jchuff.obj: jchuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
 
194
jcinit.obj: jcinit.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
 
195
jcmainct.obj: jcmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
 
196
jcmarker.obj: jcmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
 
197
jcmaster.obj: jcmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
 
198
jcomapi.obj: jcomapi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
 
199
jcparam.obj: jcparam.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
 
200
jcprepct.obj: jcprepct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
 
201
jcsample.obj: jcsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
 
202
jctrans.obj: jctrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
 
203
jdapimin.obj: jdapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
 
204
jdapistd.obj: jdapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
 
205
jdarith.obj: jdarith.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
 
206
jdatadst.obj: jdatadst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
 
207
jdatasrc.obj: jdatasrc.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
 
208
jdcoefct.obj: jdcoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
 
209
jdcolor.obj: jdcolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
 
210
jddctmgr.obj: jddctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
 
211
jdhuff.obj: jdhuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
 
212
jdinput.obj: jdinput.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
 
213
jdmainct.obj: jdmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
 
214
jdmarker.obj: jdmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
 
215
jdmaster.obj: jdmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
 
216
jdmerge.obj: jdmerge.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
 
217
jdpostct.obj: jdpostct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
 
218
jdsample.obj: jdsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
 
219
jdtrans.obj: jdtrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
 
220
jerror.obj: jerror.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jversion.h jerror.h
 
221
jfdctflt.obj: jfdctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
 
222
jfdctfst.obj: jfdctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
 
223
jfdctint.obj: jfdctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
 
224
jidctflt.obj: jidctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
 
225
jidctfst.obj: jidctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
 
226
jidctint.obj: jidctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
 
227
jquant1.obj: jquant1.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
 
228
jquant2.obj: jquant2.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
 
229
jutils.obj: jutils.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
 
230
jmemmgr.obj: jmemmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
 
231
jmemansi.obj: jmemansi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
 
232
jmemname.obj: jmemname.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
 
233
jmemnobs.obj: jmemnobs.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
 
234
jmemdos.obj: jmemdos.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
 
235
jmemmac.obj: jmemmac.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
 
236
cjpeg.obj: cjpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h
 
237
djpeg.obj: djpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h
 
238
jpegtran.obj: jpegtran.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h transupp.h jversion.h
 
239
rdjpgcom.obj: rdjpgcom.c jinclude.h jconfig.h
 
240
wrjpgcom.obj: wrjpgcom.c jinclude.h jconfig.h
 
241
cdjpeg.obj: cdjpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
 
242
rdcolmap.obj: rdcolmap.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
 
243
rdswitch.obj: rdswitch.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
 
244
transupp.obj: transupp.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h transupp.h
 
245
rdppm.obj: rdppm.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
 
246
wrppm.obj: wrppm.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
 
247
rdgif.obj: rdgif.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
 
248
wrgif.obj: wrgif.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
 
249
rdtarga.obj: rdtarga.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
 
250
wrtarga.obj: wrtarga.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
 
251
rdbmp.obj: rdbmp.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
 
252
wrbmp.obj: wrbmp.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
 
253
rdrle.obj: rdrle.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
 
254
wrrle.obj: wrrle.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
 
255
jmemdosa.obj : jmemdosa.asm
 
256
        masm /mx $*;