Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/libjpeg/makefile.ansi @ 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 Unix-like systems with ANSI-capable compilers. | |
| 4 # If you have a non-ANSI compiler, makefile.unix is a better starting point. | |
| 5 | |
| 6 # Read installation instructions before saying "make" !! | |
| 7 | |
| 8 # The name of your C compiler: | |
| 9 CC= cc | |
| 10 | |
| 11 # You may need to adjust these cc options: | |
| 12 CFLAGS= -O | |
| 13 # Generally, we recommend defining any configuration symbols in jconfig.h, | |
| 14 # NOT via -D switches here. | |
| 15 | |
| 16 # Link-time cc options: | |
| 17 LDFLAGS= | |
| 18 | |
| 19 # To link any special libraries, add the necessary -l commands here. | |
| 20 LDLIBS= | |
| 21 | |
| 22 # Put here the object file name for the correct system-dependent memory | |
| 23 # manager file. For Unix this is usually jmemnobs.o, but you may want | |
| 24 # to use jmemansi.o or jmemname.o if you have limited swap space. | |
| 25 SYSDEPMEM= jmemnobs.o | |
| 26 | |
| 27 # miscellaneous OS-dependent stuff | |
| 28 # linker | |
| 29 LN= $(CC) | |
| 30 # file deletion command | |
| 31 RM= rm -f | |
| 32 # library (.a) file creation command | |
| 33 AR= ar rc | |
| 34 # second step in .a creation (use "touch" if not needed) | |
| 35 AR2= ranlib | |
| 36 | |
| 37 # End of configurable options. | |
| 38 | |
| 39 | |
| 40 # source files: JPEG library proper | |
| 41 LIBSOURCES= jaricom.c jcapimin.c jcapistd.c jcarith.c jccoefct.c jccolor.c \ | |
| 42 jcdctmgr.c jchuff.c jcinit.c jcmainct.c jcmarker.c jcmaster.c \ | |
| 43 jcomapi.c jcparam.c jcprepct.c jcsample.c jctrans.c jdapimin.c \ | |
| 44 jdapistd.c jdarith.c jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c \ | |
| 45 jddctmgr.c jdhuff.c jdinput.c jdmainct.c jdmarker.c jdmaster.c \ | |
| 46 jdmerge.c jdpostct.c jdsample.c jdtrans.c jerror.c jfdctflt.c \ | |
| 47 jfdctfst.c jfdctint.c jidctflt.c jidctfst.c jidctint.c jquant1.c \ | |
| 48 jquant2.c jutils.c jmemmgr.c | |
| 49 # memmgr back ends: compile only one of these into a working library | |
| 50 SYSDEPSOURCES= jmemansi.c jmemname.c jmemnobs.c jmemdos.c jmemmac.c | |
| 51 # source files: cjpeg/djpeg/jpegtran applications, also rdjpgcom/wrjpgcom | |
| 52 APPSOURCES= cjpeg.c djpeg.c jpegtran.c rdjpgcom.c wrjpgcom.c cdjpeg.c \ | |
| 53 rdcolmap.c rdswitch.c transupp.c rdppm.c wrppm.c rdgif.c wrgif.c \ | |
| 54 rdtarga.c wrtarga.c rdbmp.c wrbmp.c rdrle.c wrrle.c | |
| 55 SOURCES= $(LIBSOURCES) $(SYSDEPSOURCES) $(APPSOURCES) | |
| 56 # files included by source files | |
| 57 INCLUDES= jdct.h jerror.h jinclude.h jmemsys.h jmorecfg.h jpegint.h \ | |
| 58 jpeglib.h jversion.h cdjpeg.h cderror.h transupp.h | |
| 59 # documentation, test, and support files | |
| 60 DOCS= README install.txt usage.txt cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 \ | |
| 61 wrjpgcom.1 wizard.txt example.c libjpeg.txt structure.txt \ | |
| 62 coderules.txt filelist.txt cdaltui.txt change.log | |
| 63 MKFILES= configure Makefile.in makefile.ansi makefile.unix makefile.xc \ | |
| 64 makefile.bcc makefile.b32 makefile.c32 makefile.d32 makefile.x32 \ | |
| 65 makefile.b64 makefile.mc6 makefile.dj makefile.wat makefile.vc \ | |
| 66 makefile.vs makejdsw.vc6 makeadsw.vc6 makejdep.vc6 makejdsp.vc6 \ | |
| 67 makejmak.vc6 makecdep.vc6 makecdsp.vc6 makecmak.vc6 makeddep.vc6 \ | |
| 68 makeddsp.vc6 makedmak.vc6 maketdep.vc6 maketdsp.vc6 maketmak.vc6 \ | |
| 69 makerdep.vc6 makerdsp.vc6 makermak.vc6 makewdep.vc6 makewdsp.vc6 \ | |
| 70 makewmak.vc6 makejsln.v16 makeasln.v16 makejvcx.v16 makejfil.v16 \ | |
| 71 makecvcx.v16 makecfil.v16 makedvcx.v16 makedfil.v16 maketvcx.v16 \ | |
| 72 maketfil.v16 makervcx.v16 makerfil.v16 makewvcx.v16 makewfil.v16 \ | |
| 73 makajpeg.bcb makcjpeg.bcb makdjpeg.bcb makljpeg.bcb makrjpeg.bcb \ | |
| 74 maktjpeg.bcb makwjpeg.bcb makcjpeg.st makdjpeg.st makljpeg.st \ | |
| 75 maktjpeg.st makeproj.mac makefile.manx makefile.sas makefile.mms \ | |
| 76 makefile.vms makvms.opt | |
| 77 CONFIGFILES= jconfig.cfg jconfig.xc jconfig.bcc jconfig.mc6 jconfig.dj \ | |
| 78 jconfig.wat jconfig.vc jconfig.mac jconfig.st jconfig.manx \ | |
| 79 jconfig.sas jconfig.vms | |
| 80 CONFIGUREFILES= config.guess config.sub install-sh ltmain.sh depcomp \ | |
| 81 missing ar-lib | |
| 82 OTHERFILES= jconfig.txt ckconfig.c jmemdosa.asm libjpeg.map libjpeg.pc.in \ | |
| 83 cjpegalt.c djpegalt.c | |
| 84 TESTFILES= testorig.jpg testimg.ppm testimg.gif testimg.bmp testimg.jpg \ | |
| 85 testprog.jpg testimgp.jpg | |
| 86 DISTFILES= $(DOCS) $(MKFILES) $(CONFIGFILES) $(SOURCES) $(INCLUDES) \ | |
| 87 $(CONFIGUREFILES) $(OTHERFILES) $(TESTFILES) | |
| 88 # library object files common to compression and decompression | |
| 89 COMOBJECTS= jaricom.o jcomapi.o jutils.o jerror.o jmemmgr.o $(SYSDEPMEM) | |
| 90 # compression library object files | |
| 91 CLIBOBJECTS= jcapimin.o jcapistd.o jcarith.o jctrans.o jcparam.o \ | |
| 92 jdatadst.o jcinit.o jcmaster.o jcmarker.o jcmainct.o jcprepct.o \ | |
| 93 jccoefct.o jccolor.o jcsample.o jchuff.o jcdctmgr.o jfdctfst.o \ | |
| 94 jfdctflt.o jfdctint.o | |
| 95 # decompression library object files | |
| 96 DLIBOBJECTS= jdapimin.o jdapistd.o jdarith.o jdtrans.o jdatasrc.o \ | |
| 97 jdmaster.o jdinput.o jdmarker.o jdhuff.o jdmainct.o \ | |
| 98 jdcoefct.o jdpostct.o jddctmgr.o jidctfst.o jidctflt.o \ | |
| 99 jidctint.o jdsample.o jdcolor.o jquant1.o jquant2.o jdmerge.o | |
| 100 # These objectfiles are included in libjpeg.a | |
| 101 LIBOBJECTS= $(CLIBOBJECTS) $(DLIBOBJECTS) $(COMOBJECTS) | |
| 102 # object files for sample applications (excluding library files) | |
| 103 COBJECTS= cjpeg.o rdppm.o rdgif.o rdtarga.o rdrle.o rdbmp.o rdswitch.o \ | |
| 104 cdjpeg.o | |
| 105 DOBJECTS= djpeg.o wrppm.o wrgif.o wrtarga.o wrrle.o wrbmp.o rdcolmap.o \ | |
| 106 cdjpeg.o | |
| 107 TROBJECTS= jpegtran.o rdswitch.o cdjpeg.o transupp.o | |
| 108 | |
| 109 | |
| 110 all: libjpeg.a cjpeg djpeg jpegtran rdjpgcom wrjpgcom | |
| 111 | |
| 112 libjpeg.a: $(LIBOBJECTS) | |
| 113 $(RM) libjpeg.a | |
| 114 $(AR) libjpeg.a $(LIBOBJECTS) | |
| 115 $(AR2) libjpeg.a | |
| 116 | |
| 117 cjpeg: $(COBJECTS) libjpeg.a | |
| 118 $(LN) $(LDFLAGS) -o cjpeg $(COBJECTS) libjpeg.a $(LDLIBS) | |
| 119 | |
| 120 djpeg: $(DOBJECTS) libjpeg.a | |
| 121 $(LN) $(LDFLAGS) -o djpeg $(DOBJECTS) libjpeg.a $(LDLIBS) | |
| 122 | |
| 123 jpegtran: $(TROBJECTS) libjpeg.a | |
| 124 $(LN) $(LDFLAGS) -o jpegtran $(TROBJECTS) libjpeg.a $(LDLIBS) | |
| 125 | |
| 126 rdjpgcom: rdjpgcom.o | |
| 127 $(LN) $(LDFLAGS) -o rdjpgcom rdjpgcom.o $(LDLIBS) | |
| 128 | |
| 129 wrjpgcom: wrjpgcom.o | |
| 130 $(LN) $(LDFLAGS) -o wrjpgcom wrjpgcom.o $(LDLIBS) | |
| 131 | |
| 132 jconfig.h: jconfig.txt | |
| 133 echo You must prepare a system-dependent jconfig.h file. | |
| 134 echo Please read the installation directions in install.txt. | |
| 135 exit 1 | |
| 136 | |
| 137 clean: | |
| 138 $(RM) *.o cjpeg djpeg jpegtran libjpeg.a rdjpgcom wrjpgcom | |
| 139 $(RM) core testout* | |
| 140 | |
| 141 test: cjpeg djpeg jpegtran | |
| 142 $(RM) testout* | |
| 143 ./djpeg -dct int -ppm -outfile testout.ppm testorig.jpg | |
| 144 ./djpeg -dct int -gif -outfile testout.gif testorig.jpg | |
| 145 ./djpeg -dct int -bmp -colors 256 -outfile testout.bmp testorig.jpg | |
| 146 ./cjpeg -dct int -outfile testout.jpg testimg.ppm | |
| 147 ./djpeg -dct int -ppm -outfile testoutp.ppm testprog.jpg | |
| 148 ./cjpeg -dct int -progressive -opt -outfile testoutp.jpg testimg.ppm | |
| 149 ./jpegtran -outfile testoutt.jpg testprog.jpg | |
| 150 cmp testimg.ppm testout.ppm | |
| 151 cmp testimg.gif testout.gif | |
| 152 cmp testimg.bmp testout.bmp | |
| 153 cmp testimg.jpg testout.jpg | |
| 154 cmp testimg.ppm testoutp.ppm | |
| 155 cmp testimgp.jpg testoutp.jpg | |
| 156 cmp testorig.jpg testoutt.jpg | |
| 157 | |
| 158 | |
| 159 jaricom.o: jaricom.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 160 jcapimin.o: jcapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 161 jcapistd.o: jcapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 162 jcarith.o: jcarith.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 163 jccoefct.o: jccoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 164 jccolor.o: jccolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 165 jcdctmgr.o: jcdctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h | |
| 166 jchuff.o: jchuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 167 jcinit.o: jcinit.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 168 jcmainct.o: jcmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 169 jcmarker.o: jcmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 170 jcmaster.o: jcmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 171 jcomapi.o: jcomapi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 172 jcparam.o: jcparam.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 173 jcprepct.o: jcprepct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 174 jcsample.o: jcsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 175 jctrans.o: jctrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 176 jdapimin.o: jdapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 177 jdapistd.o: jdapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 178 jdarith.o: jdarith.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 179 jdatadst.o: jdatadst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h | |
| 180 jdatasrc.o: jdatasrc.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h | |
| 181 jdcoefct.o: jdcoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 182 jdcolor.o: jdcolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 183 jddctmgr.o: jddctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h | |
| 184 jdhuff.o: jdhuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 185 jdinput.o: jdinput.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 186 jdmainct.o: jdmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 187 jdmarker.o: jdmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 188 jdmaster.o: jdmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 189 jdmerge.o: jdmerge.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 190 jdpostct.o: jdpostct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 191 jdsample.o: jdsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 192 jdtrans.o: jdtrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 193 jerror.o: jerror.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jversion.h jerror.h | |
| 194 jfdctflt.o: jfdctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h | |
| 195 jfdctfst.o: jfdctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h | |
| 196 jfdctint.o: jfdctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h | |
| 197 jidctflt.o: jidctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h | |
| 198 jidctfst.o: jidctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h | |
| 199 jidctint.o: jidctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h | |
| 200 jquant1.o: jquant1.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 201 jquant2.o: jquant2.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 202 jutils.o: jutils.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h | |
| 203 jmemmgr.o: jmemmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h | |
| 204 jmemansi.o: jmemansi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h | |
| 205 jmemname.o: jmemname.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h | |
| 206 jmemnobs.o: jmemnobs.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h | |
| 207 jmemdos.o: jmemdos.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h | |
| 208 jmemmac.o: jmemmac.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h | |
| 209 cjpeg.o: cjpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h | |
| 210 djpeg.o: djpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h | |
| 211 jpegtran.o: jpegtran.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h transupp.h jversion.h | |
| 212 rdjpgcom.o: rdjpgcom.c jinclude.h jconfig.h | |
| 213 wrjpgcom.o: wrjpgcom.c jinclude.h jconfig.h | |
| 214 cdjpeg.o: cdjpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h | |
| 215 rdcolmap.o: rdcolmap.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h | |
| 216 rdswitch.o: rdswitch.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h | |
| 217 transupp.o: transupp.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h transupp.h | |
| 218 rdppm.o: rdppm.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h | |
| 219 wrppm.o: wrppm.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h | |
| 220 rdgif.o: rdgif.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h | |
| 221 wrgif.o: wrgif.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h | |
| 222 rdtarga.o: rdtarga.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h | |
| 223 wrtarga.o: wrtarga.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h | |
| 224 rdbmp.o: rdbmp.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h | |
| 225 wrbmp.o: wrbmp.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h | |
| 226 rdrle.o: rdrle.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h | |
| 227 wrrle.o: wrrle.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h |
