Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/libjpeg/makefile.wat @ 2:b50eed0cc0ef upstream
ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4.
The directory name has changed: no version number in the expanded directory now.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:43:07 +0200 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1:1d09e1dec1d9 | 2:b50eed0cc0ef |
|---|---|
| 1 # Makefile for Independent JPEG Group's software | |
| 2 | |
| 3 # This makefile is suitable for Watcom C/C++ 10.0 on MS-DOS (using | |
| 4 # dos4g extender), OS/2, and Windows NT console mode. | |
| 5 # Thanks to Janos Haide, jhaide@btrvtech.com. | |
| 6 | |
| 7 # Read installation instructions before saying "wmake" !! | |
| 8 | |
| 9 # Uncomment line for desired system | |
| 10 SYSTEM=DOS | |
| 11 #SYSTEM=OS2 | |
| 12 #SYSTEM=NT | |
| 13 | |
| 14 # The name of your C compiler: | |
| 15 CC= wcl386 | |
| 16 | |
| 17 # You may need to adjust these cc options: | |
| 18 CFLAGS= -4r -ort -wx -zq -bt=$(SYSTEM) | |
| 19 # Caution: avoid -ol or -ox; these generate bad code with 10.0 or 10.0a. | |
| 20 # Generally, we recommend defining any configuration symbols in jconfig.h, | |
| 21 # NOT via -D switches here. | |
| 22 | |
| 23 # Link-time cc options: | |
| 24 !ifeq SYSTEM DOS | |
| 25 LDFLAGS= -zq -l=dos4g | |
| 26 !else ifeq SYSTEM OS2 | |
| 27 LDFLAGS= -zq -l=os2v2 | |
| 28 !else ifeq SYSTEM NT | |
| 29 LDFLAGS= -zq -l=nt | |
| 30 !endif | |
| 31 | |
| 32 # Put here the object file name for the correct system-dependent memory | |
| 33 # manager file. jmemnobs should work fine for dos4g or OS/2 environment. | |
| 34 SYSDEPMEM= jmemnobs.obj | |
| 35 | |
| 36 # End of configurable options. | |
| 37 | |
| 38 | |
| 39 # source files: JPEG library proper | |
| 40 LIBSOURCES= jaricom.c jcapimin.c jcapistd.c jcarith.c jccoefct.c jccolor.c & | |
| 41 jcdctmgr.c jchuff.c jcinit.c jcmainct.c jcmarker.c jcmaster.c & | |
| 42 jcomapi.c jcparam.c jcprepct.c jcsample.c jctrans.c jdapimin.c & | |
| 43 jdapistd.c jdarith.c jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c & | |
| 44 jddctmgr.c jdhuff.c jdinput.c jdmainct.c jdmarker.c jdmaster.c & | |
| 45 jdmerge.c jdpostct.c jdsample.c jdtrans.c jerror.c jfdctflt.c & | |
| 46 jfdctfst.c jfdctint.c jidctflt.c jidctfst.c jidctint.c jquant1.c & | |
| 47 jquant2.c jutils.c jmemmgr.c | |
| 48 # memmgr back ends: compile only one of these into a working library | |
| 49 SYSDEPSOURCES= jmemansi.c jmemname.c jmemnobs.c jmemdos.c jmemmac.c | |
| 50 # source files: cjpeg/djpeg/jpegtran applications, also rdjpgcom/wrjpgcom | |
| 51 APPSOURCES= cjpeg.c djpeg.c jpegtran.c rdjpgcom.c wrjpgcom.c cdjpeg.c & | |
| 52 rdcolmap.c rdswitch.c transupp.c rdppm.c wrppm.c rdgif.c wrgif.c & | |
| 53 rdtarga.c wrtarga.c rdbmp.c wrbmp.c rdrle.c wrrle.c | |
| 54 SOURCES= $(LIBSOURCES) $(SYSDEPSOURCES) $(APPSOURCES) | |
| 55 # files included by source files | |
| 56 INCLUDES= jdct.h jerror.h jinclude.h jmemsys.h jmorecfg.h jpegint.h & | |
| 57 jpeglib.h jversion.h cdjpeg.h cderror.h transupp.h | |
| 58 # documentation, test, and support files | |
| 59 DOCS= README install.txt usage.txt cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 & | |
| 60 wrjpgcom.1 wizard.txt example.c libjpeg.txt structure.txt & | |
| 61 coderules.txt filelist.txt cdaltui.txt change.log | |
| 62 MKFILES= configure Makefile.in makefile.ansi makefile.unix makefile.xc & | |
| 63 makefile.bcc makefile.b32 makefile.c32 makefile.d32 makefile.x32 & | |
| 64 makefile.b64 makefile.mc6 makefile.dj makefile.wat makefile.vc & | |
| 65 makefile.vs makejdsw.vc6 makeadsw.vc6 makejdep.vc6 makejdsp.vc6 & | |
| 66 makejmak.vc6 makecdep.vc6 makecdsp.vc6 makecmak.vc6 makeddep.vc6 & | |
| 67 makeddsp.vc6 makedmak.vc6 maketdep.vc6 maketdsp.vc6 maketmak.vc6 & | |
| 68 makerdep.vc6 makerdsp.vc6 makermak.vc6 makewdep.vc6 makewdsp.vc6 & | |
| 69 makewmak.vc6 makejsln.v16 makeasln.v16 makejvcx.v16 makejfil.v16 & | |
| 70 makecvcx.v16 makecfil.v16 makedvcx.v16 makedfil.v16 maketvcx.v16 & | |
| 71 maketfil.v16 makervcx.v16 makerfil.v16 makewvcx.v16 makewfil.v16 & | |
| 72 makajpeg.bcb makcjpeg.bcb makdjpeg.bcb makljpeg.bcb makrjpeg.bcb & | |
| 73 maktjpeg.bcb makwjpeg.bcb makcjpeg.st makdjpeg.st makljpeg.st & | |
| 74 maktjpeg.st makeproj.mac makefile.manx makefile.sas makefile.mms & | |
| 75 makefile.vms makvms.opt | |
| 76 CONFIGFILES= jconfig.cfg jconfig.xc jconfig.bcc jconfig.mc6 jconfig.dj & | |
| 77 jconfig.wat jconfig.vc jconfig.mac jconfig.st jconfig.manx & | |
| 78 jconfig.sas jconfig.vms | |
| 79 CONFIGUREFILES= config.guess config.sub install-sh ltmain.sh depcomp & | |
| 80 missing ar-lib | |
| 81 OTHERFILES= jconfig.txt ckconfig.c jmemdosa.asm libjpeg.map libjpeg.pc.in & | |
| 82 cjpegalt.c djpegalt.c | |
| 83 TESTFILES= testorig.jpg testimg.ppm testimg.gif testimg.bmp testimg.jpg & | |
| 84 testprog.jpg testimgp.jpg | |
| 85 DISTFILES= $(DOCS) $(MKFILES) $(CONFIGFILES) $(SOURCES) $(INCLUDES) & | |
| 86 $(CONFIGUREFILES) $(OTHERFILES) $(TESTFILES) | |
| 87 # library object files common to compression and decompression | |
| 88 COMOBJECTS= jaricom.obj jcomapi.obj jutils.obj jerror.obj jmemmgr.obj $(SYSDEPMEM) | |
| 89 # compression library object files | |
| 90 CLIBOBJECTS= jcapimin.obj jcapistd.obj jcarith.obj jctrans.obj jcparam.obj & | |
| 91 jdatadst.obj jcinit.obj jcmaster.obj jcmarker.obj jcmainct.obj & | |
| 92 jcprepct.obj jccoefct.obj jccolor.obj jcsample.obj jchuff.obj & | |
| 93 jcdctmgr.obj jfdctfst.obj jfdctflt.obj jfdctint.obj | |
| 94 # decompression library object files | |
| 95 DLIBOBJECTS= jdapimin.obj jdapistd.obj jdarith.obj jdtrans.obj jdatasrc.obj & | |
| 96 jdmaster.obj jdinput.obj jdmarker.obj jdhuff.obj jdmainct.obj & | |
| 97 jdcoefct.obj jdpostct.obj jddctmgr.obj jidctfst.obj jidctflt.obj & | |
| 98 jidctint.obj jdsample.obj jdcolor.obj jquant1.obj jquant2.obj & | |
| 99 jdmerge.obj | |
| 100 # These objectfiles are included in libjpeg.lib | |
| 101 LIBOBJECTS= $(CLIBOBJECTS) $(DLIBOBJECTS) $(COMOBJECTS) | |
| 102 # object files for sample applications (excluding library files) | |
| 103 COBJECTS= cjpeg.obj rdppm.obj rdgif.obj rdtarga.obj rdrle.obj rdbmp.obj & | |
| 104 rdswitch.obj cdjpeg.obj | |
| 105 DOBJECTS= djpeg.obj wrppm.obj wrgif.obj wrtarga.obj wrrle.obj wrbmp.obj & | |
| 106 rdcolmap.obj cdjpeg.obj | |
| 107 TROBJECTS= jpegtran.obj rdswitch.obj cdjpeg.obj transupp.obj | |
| 108 | |
| 109 | |
| 110 all: libjpeg.lib cjpeg.exe djpeg.exe jpegtran.exe rdjpgcom.exe wrjpgcom.exe | |
| 111 | |
| 112 libjpeg.lib: $(LIBOBJECTS) | |
| 113 - del libjpeg.lib | |
| 114 * wlib -n libjpeg.lib $(LIBOBJECTS) | |
| 115 | |
| 116 cjpeg.exe: $(COBJECTS) libjpeg.lib | |
| 117 $(CC) $(LDFLAGS) $(COBJECTS) libjpeg.lib | |
| 118 | |
| 119 djpeg.exe: $(DOBJECTS) libjpeg.lib | |
| 120 $(CC) $(LDFLAGS) $(DOBJECTS) libjpeg.lib | |
| 121 | |
| 122 jpegtran.exe: $(TROBJECTS) libjpeg.lib | |
| 123 $(CC) $(LDFLAGS) $(TROBJECTS) libjpeg.lib | |
| 124 | |
| 125 rdjpgcom.exe: rdjpgcom.c | |
| 126 $(CC) $(CFLAGS) $(LDFLAGS) rdjpgcom.c | |
| 127 | |
| 128 wrjpgcom.exe: wrjpgcom.c | |
| 129 $(CC) $(CFLAGS) $(LDFLAGS) wrjpgcom.c | |
| 130 | |
| 131 .c.obj: | |
| 132 $(CC) $(CFLAGS) -c $< | |
| 133 | |
| 134 jconfig.h: jconfig.txt | |
| 135 echo You must prepare a system-dependent jconfig.h file. | |
| 136 echo Please read the installation directions in install.txt. | |
| 137 exit 1 | |
| 138 | |
| 139 clean: .SYMBOLIC | |
| 140 - del *.obj | |
| 141 - del libjpeg.lib | |
| 142 - del cjpeg.exe | |
| 143 - del djpeg.exe | |
| 144 - del jpegtran.exe | |
| 145 - del rdjpgcom.exe | |
| 146 - del wrjpgcom.exe | |
| 147 - del testout*.* | |
| 148 | |
| 149 test: cjpeg.exe djpeg.exe jpegtran.exe .SYMBOLIC | |
| 150 - del testout*.* | |
| 151 djpeg -dct int -ppm -outfile testout.ppm testorig.jpg | |
| 152 djpeg -dct int -gif -outfile testout.gif testorig.jpg | |
| 153 djpeg -dct int -bmp -colors 256 -outfile testout.bmp testorig.jpg | |
| 154 cjpeg -dct int -outfile testout.jpg testimg.ppm | |
| 155 djpeg -dct int -ppm -outfile testoutp.ppm testprog.jpg | |
| 156 cjpeg -dct int -progressive -opt -outfile testoutp.jpg testimg.ppm | |
| 157 jpegtran -outfile testoutt.jpg testprog.jpg | |
| 158 !ifeq SYSTEM DOS | |
| 159 fc /b testimg.ppm testout.ppm | |
| 160 fc /b testimg.gif testout.gif | |
| 161 fc /b testimg.bmp testout.bmp | |
| 162 fc /b testimg.jpg testout.jpg | |
| 163 fc /b testimg.ppm testoutp.ppm | |
| 164 fc /b testimgp.jpg testoutp.jpg | |
| 165 fc /b testorig.jpg testoutt.jpg | |
| 166 !else | |
| 167 echo n > n.tmp | |
| 168 comp testimg.ppm testout.ppm < n.tmp | |
| 169 comp testimg.gif testout.gif < n.tmp | |
| 170 comp testimg.bmp testout.bmp < n.tmp | |
| 171 comp testimg.jpg testout.jpg < n.tmp | |
| 172 comp testimg.ppm testoutp.ppm < n.tmp | |
| 173 comp testimgp.jpg testoutp.jpg < n.tmp | |
| 174 comp testorig.jpg testoutt.jpg < n.tmp | |
| 175 del n.tmp | |
| 176 !endif | |
| 177 | |
| 178 | |
| 179 jaricom.obj: jaricom.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 180 jcapimin.obj: jcapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 181 jcapistd.obj: jcapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 182 jcarith.obj: jcarith.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 183 jccoefct.obj: jccoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 184 jccolor.obj: jccolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 185 jcdctmgr.obj: jcdctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h | |
| 186 jchuff.obj: jchuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 187 jcinit.obj: jcinit.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 188 jcmainct.obj: jcmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 189 jcmarker.obj: jcmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 190 jcmaster.obj: jcmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 191 jcomapi.obj: jcomapi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 192 jcparam.obj: jcparam.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 193 jcprepct.obj: jcprepct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 194 jcsample.obj: jcsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 195 jctrans.obj: jctrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 196 jdapimin.obj: jdapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 197 jdapistd.obj: jdapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 198 jdarith.obj: jdarith.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 199 jdatadst.obj: jdatadst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h | |
| 200 jdatasrc.obj: jdatasrc.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h | |
| 201 jdcoefct.obj: jdcoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 202 jdcolor.obj: jdcolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 203 jddctmgr.obj: jddctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h | |
| 204 jdhuff.obj: jdhuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 205 jdinput.obj: jdinput.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 206 jdmainct.obj: jdmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 207 jdmarker.obj: jdmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 208 jdmaster.obj: jdmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 209 jdmerge.obj: jdmerge.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 210 jdpostct.obj: jdpostct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 211 jdsample.obj: jdsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 212 jdtrans.obj: jdtrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 213 jerror.obj: jerror.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jversion.h jerror.h | |
| 214 jfdctflt.obj: jfdctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h | |
| 215 jfdctfst.obj: jfdctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h | |
| 216 jfdctint.obj: jfdctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h | |
| 217 jidctflt.obj: jidctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h | |
| 218 jidctfst.obj: jidctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h | |
| 219 jidctint.obj: jidctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h | |
| 220 jquant1.obj: jquant1.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 221 jquant2.obj: jquant2.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 222 jutils.obj: jutils.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 223 jmemmgr.obj: jmemmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h | |
| 224 jmemansi.obj: jmemansi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h | |
| 225 jmemname.obj: jmemname.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h | |
| 226 jmemnobs.obj: jmemnobs.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h | |
| 227 jmemdos.obj: jmemdos.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h | |
| 228 jmemmac.obj: jmemmac.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h | |
| 229 cjpeg.obj: cjpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h | |
| 230 djpeg.obj: djpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h | |
| 231 jpegtran.obj: jpegtran.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h transupp.h jversion.h | |
| 232 rdjpgcom.obj: rdjpgcom.c jinclude.h jconfig.h | |
| 233 wrjpgcom.obj: wrjpgcom.c jinclude.h jconfig.h | |
| 234 cdjpeg.obj: cdjpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h | |
| 235 rdcolmap.obj: rdcolmap.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h | |
| 236 rdswitch.obj: rdswitch.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h | |
| 237 transupp.obj: transupp.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h transupp.h | |
| 238 rdppm.obj: rdppm.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h | |
| 239 wrppm.obj: wrppm.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h | |
| 240 rdgif.obj: rdgif.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h | |
| 241 wrgif.obj: wrgif.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h | |
| 242 rdtarga.obj: rdtarga.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h | |
| 243 wrtarga.obj: wrtarga.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h | |
| 244 rdbmp.obj: rdbmp.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h | |
| 245 wrbmp.obj: wrbmp.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h | |
| 246 rdrle.obj: rdrle.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h | |
| 247 wrrle.obj: wrrle.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h |
