Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/libjpeg/Makefile.am @ 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 ## Process this file with automake to produce Makefile.in | |
| 2 # | |
| 3 # Automake Makefile for the JPEG library | |
| 4 # | |
| 5 # This file is written by Bob Friesenhahn, Guido Vollbeding | |
| 6 # | |
| 7 | |
| 8 # Sources to build library | |
| 9 LIBSOURCES = jaricom.c jcapimin.c jcapistd.c jcarith.c jccoefct.c jccolor.c \ | |
| 10 jcdctmgr.c jchuff.c jcinit.c jcmainct.c jcmarker.c jcmaster.c \ | |
| 11 jcomapi.c jcparam.c jcprepct.c jcsample.c jctrans.c jdapimin.c \ | |
| 12 jdapistd.c jdarith.c jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c \ | |
| 13 jddctmgr.c jdhuff.c jdinput.c jdmainct.c jdmarker.c jdmaster.c \ | |
| 14 jdmerge.c jdpostct.c jdsample.c jdtrans.c jerror.c jfdctflt.c \ | |
| 15 jfdctfst.c jfdctint.c jidctflt.c jidctfst.c jidctint.c jquant1.c \ | |
| 16 jquant2.c jutils.c jmemmgr.c @MEMORYMGR@.c | |
| 17 | |
| 18 # System dependent sources | |
| 19 SYSDEPSOURCES = jmemansi.c jmemname.c jmemnobs.c jmemdos.c jmemmac.c | |
| 20 | |
| 21 # Headers which are installed to support the library | |
| 22 INSTINCLUDES = jerror.h jmorecfg.h jpeglib.h | |
| 23 | |
| 24 # Headers which are not installed | |
| 25 OTHERINCLUDES = cderror.h cdjpeg.h jdct.h jinclude.h jmemsys.h jpegint.h \ | |
| 26 jversion.h transupp.h | |
| 27 | |
| 28 # Manual pages (Automake uses 'MANS' for itself) | |
| 29 DISTMANS= cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 wrjpgcom.1 | |
| 30 | |
| 31 # Other documentation files | |
| 32 DOCS= README install.txt usage.txt wizard.txt example.c libjpeg.txt \ | |
| 33 structure.txt coderules.txt filelist.txt cdaltui.txt change.log | |
| 34 | |
| 35 # Makefiles for various systems | |
| 36 MKFILES= configure Makefile.in makefile.ansi makefile.unix makefile.xc \ | |
| 37 makefile.bcc makefile.b32 makefile.c32 makefile.d32 makefile.x32 \ | |
| 38 makefile.b64 makefile.mc6 makefile.dj makefile.wat makefile.vc \ | |
| 39 makefile.vs makejdsw.vc6 makeadsw.vc6 makejdep.vc6 makejdsp.vc6 \ | |
| 40 makejmak.vc6 makecdep.vc6 makecdsp.vc6 makecmak.vc6 makeddep.vc6 \ | |
| 41 makeddsp.vc6 makedmak.vc6 maketdep.vc6 maketdsp.vc6 maketmak.vc6 \ | |
| 42 makerdep.vc6 makerdsp.vc6 makermak.vc6 makewdep.vc6 makewdsp.vc6 \ | |
| 43 makewmak.vc6 makejsln.v16 makeasln.v16 makejvcx.v16 makejfil.v16 \ | |
| 44 makecvcx.v16 makecfil.v16 makedvcx.v16 makedfil.v16 maketvcx.v16 \ | |
| 45 maketfil.v16 makervcx.v16 makerfil.v16 makewvcx.v16 makewfil.v16 \ | |
| 46 makajpeg.bcb makcjpeg.bcb makdjpeg.bcb makljpeg.bcb makrjpeg.bcb \ | |
| 47 maktjpeg.bcb makwjpeg.bcb makcjpeg.st makdjpeg.st makljpeg.st \ | |
| 48 maktjpeg.st makeproj.mac makefile.manx makefile.sas makefile.mms \ | |
| 49 makefile.vms makvms.opt | |
| 50 | |
| 51 # Configuration files | |
| 52 CONFIGFILES= jconfig.cfg jconfig.xc jconfig.bcc jconfig.mc6 jconfig.dj \ | |
| 53 jconfig.wat jconfig.vc jconfig.mac jconfig.st jconfig.manx \ | |
| 54 jconfig.sas jconfig.vms | |
| 55 | |
| 56 # Support scripts for configure | |
| 57 CONFIGUREFILES= config.guess config.sub install-sh ltmain.sh depcomp \ | |
| 58 missing ar-lib | |
| 59 | |
| 60 # Miscellaneous support files | |
| 61 OTHERFILES= jconfig.txt ckconfig.c jmemdosa.asm libjpeg.map libjpeg.pc.in \ | |
| 62 cjpegalt.c djpegalt.c | |
| 63 | |
| 64 # Test support files | |
| 65 TESTFILES= testorig.jpg testimg.ppm testimg.gif testimg.bmp testimg.jpg \ | |
| 66 testprog.jpg testimgp.jpg | |
| 67 | |
| 68 # libtool libraries to build | |
| 69 lib_LTLIBRARIES = libjpeg.la | |
| 70 | |
| 71 # Library sources for libjpeg.la | |
| 72 libjpeg_la_SOURCES = $(LIBSOURCES) | |
| 73 | |
| 74 # LDFLAGS for libjpeg.la | |
| 75 libjpeg_la_LDFLAGS = -no-undefined \ | |
| 76 -version-info $(JPEG_LIB_VERSION) | |
| 77 | |
| 78 if HAVE_LD_VERSION_SCRIPT | |
| 79 libjpeg_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libjpeg.map | |
| 80 endif | |
| 81 | |
| 82 # Executables to build | |
| 83 bin_PROGRAMS = cjpeg djpeg jpegtran rdjpgcom wrjpgcom | |
| 84 | |
| 85 # Executable sources & libs | |
| 86 cjpeg_SOURCES = cjpeg.c rdppm.c rdgif.c rdtarga.c rdrle.c rdbmp.c \ | |
| 87 rdswitch.c cdjpeg.c | |
| 88 cjpeg_LDADD = libjpeg.la | |
| 89 djpeg_SOURCES = djpeg.c wrppm.c wrgif.c wrtarga.c wrrle.c wrbmp.c \ | |
| 90 rdcolmap.c cdjpeg.c | |
| 91 djpeg_LDADD = libjpeg.la | |
| 92 jpegtran_SOURCES = jpegtran.c rdswitch.c cdjpeg.c transupp.c | |
| 93 jpegtran_LDADD = libjpeg.la | |
| 94 rdjpgcom_SOURCES = rdjpgcom.c | |
| 95 wrjpgcom_SOURCES = wrjpgcom.c | |
| 96 | |
| 97 # Manual pages to install | |
| 98 man_MANS = $(DISTMANS) | |
| 99 | |
| 100 # Headers to install | |
| 101 include_HEADERS = $(INSTINCLUDES) | |
| 102 | |
| 103 # Other distributed headers | |
| 104 noinst_HEADERS = $(OTHERINCLUDES) | |
| 105 | |
| 106 # Other distributed files | |
| 107 EXTRA_DIST = $(DOCS) $(DISTMANS) $(MKFILES) $(CONFIGFILES) $(SYSDEPSOURCES) \ | |
| 108 $(OTHERFILES) $(TESTFILES) | |
| 109 | |
| 110 # pkg-config file | |
| 111 pkgconfigdir = $(libdir)/pkgconfig | |
| 112 nodist_pkgconfig_DATA = libjpeg.pc | |
| 113 | |
| 114 # Files to be cleaned | |
| 115 CLEANFILES = testout.ppm testout.gif testout.bmp testout.jpg testoutp.ppm \ | |
| 116 testoutp.jpg testoutt.jpg | |
| 117 | |
| 118 # Install jconfig.h | |
| 119 install-data-local: | |
| 120 $(mkinstalldirs) $(DESTDIR)$(includedir) | |
| 121 $(INSTALL_HEADER) jconfig.h $(DESTDIR)$(includedir)/jconfig.h | |
| 122 | |
| 123 # Uninstall jconfig.h | |
| 124 uninstall-local: | |
| 125 rm -f $(DESTDIR)$(includedir)/jconfig.h | |
| 126 | |
| 127 # Run tests | |
| 128 test: check-local | |
| 129 check-local: | |
| 130 rm -f testout* | |
| 131 ./djpeg -dct int -ppm -outfile testout.ppm $(srcdir)/testorig.jpg | |
| 132 ./djpeg -dct int -gif -outfile testout.gif $(srcdir)/testorig.jpg | |
| 133 ./djpeg -dct int -bmp -colors 256 -outfile testout.bmp $(srcdir)/testorig.jpg | |
| 134 ./cjpeg -dct int -outfile testout.jpg $(srcdir)/testimg.ppm | |
| 135 ./djpeg -dct int -ppm -outfile testoutp.ppm $(srcdir)/testprog.jpg | |
| 136 ./cjpeg -dct int -progressive -opt -outfile testoutp.jpg $(srcdir)/testimg.ppm | |
| 137 ./jpegtran -outfile testoutt.jpg $(srcdir)/testprog.jpg | |
| 138 cmp $(srcdir)/testimg.ppm testout.ppm | |
| 139 cmp $(srcdir)/testimg.gif testout.gif | |
| 140 cmp $(srcdir)/testimg.bmp testout.bmp | |
| 141 cmp $(srcdir)/testimg.jpg testout.jpg | |
| 142 cmp $(srcdir)/testimg.ppm testoutp.ppm | |
| 143 cmp $(srcdir)/testimgp.jpg testoutp.jpg | |
| 144 cmp $(srcdir)/testorig.jpg testoutt.jpg |
