Permalink
Browse files

Imported from jpegsrc.v7.tar.gz.

  • Loading branch information...
ijd.org
ijd.org committed Jun 27, 2009
1 parent e423fe1 commit acc9a4f1ce4a05de8343c33d1f1e90c08237004b
Showing with 58,741 additions and 12,630 deletions.
  1. +133 −0 Makefile.am
  2. +1,089 −0 Makefile.in
  3. +102 −165 README
  4. +8,990 −0 aclocal.m4
  5. +280 −234 ansi2knr.c
  6. +4 −1 cdjpeg.h
  7. +53 −0 change.log
  8. +46 −13 cjpeg.1
  9. +27 −17 cjpeg.c
  10. +1 −1 ckconfig.c
  11. +1 −1 coderules.doc → coderules.txt
  12. +1,108 −430 config.guess
  13. +845 −113 config.sub
  14. +16,673 −1,545 configure
  15. +317 −0 configure.ac
  16. +630 −0 depcomp
  17. +7 −9 djpeg.1
  18. +2 −1 djpeg.c
  19. +6 −6 example.c
  20. +21 −16 filelist.doc → filelist.txt
  21. +471 −201 install-sh
  22. +75 −41 install.doc → install.txt
  23. +148 −0 jaricom.c
  24. +3 −1 jcapimin.c
  25. +921 −0 jcarith.c
  26. +14 −10 jccoefct.c
  27. +292 −197 jcdctmgr.c
  28. +881 −178 jchuff.c
  29. +0 −47 jchuff.h
  30. +4 −11 jcinit.c
  31. +7 −7 jcmainct.c
  32. +8 −5 jcmarker.c
  33. +199 −19 jcmaster.c
  34. +1 −1 jconfig.bcc
  35. +2 −1 jconfig.cfg
  36. +1 −1 jconfig.dj
  37. +1 −1 jconfig.mac
  38. +1 −1 jconfig.manx
  39. +1 −1 jconfig.mc6
  40. +1 −1 jconfig.sas
  41. +1 −1 jconfig.st
  42. +2 −2 jconfig.doc → jconfig.txt
  43. +1 −1 jconfig.vc
  44. +1 −1 jconfig.vms
  45. +1 −1 jconfig.wat
  46. +47 −25 jcparam.c
  47. +0 −833 jcphuff.c
  48. +9 −5 jcprepct.c
  49. +60 −34 jcsample.c
  50. +2 −9 jctrans.c
  51. +3 −2 jdapimin.c
  52. +1 −1 jdapistd.c
  53. +762 −0 jdarith.c
  54. +7 −7 jdcoefct.c
  55. +228 −11 jdct.h
  56. +122 −9 jddctmgr.c
  57. +801 −143 jdhuff.c
  58. +0 −201 jdhuff.h
  59. +8 −5 jdinput.c
  60. +21 −21 jdmainct.c
  61. +133 −27 jdmaster.c
  62. +0 −668 jdphuff.c
  63. +15 −132 jdsample.c
  64. +4 −11 jdtrans.c
  65. +16 −3 jerror.h
  66. +27 −21 jfdctflt.c
  67. +27 −21 jfdctfst.c
  68. +4,167 −102 jfdctint.c
  69. +4,851 −103 jidctint.c
  70. +0 −398 jidctred.c
  71. +11 −5 jmorecfg.h
  72. +13 −10 jpegint.h
  73. +58 −19 jpeglib.h
  74. +47 −13 jpegtran.1
  75. +68 −26 jpegtran.c
  76. +3 −3 jversion.h
  77. +4 −0 libjpeg.map
  78. +85 −24 libjpeg.doc → libjpeg.txt
  79. +0 −1,512 ltconfig
  80. +7,977 −2,024 ltmain.sh
  81. +6 −8 makcjpeg.st
  82. +6 −8 makdjpeg.st
  83. +77 −0 makeadsw.vc6
  84. +0 −828 makeapps.ds
  85. +33 −0 makeasln.vc9
  86. +82 −0 makecdep.vc6
  87. +130 −0 makecdsp.vc6
  88. +159 −0 makecmak.vc6
  89. +186 −0 makecvcp.vc9
  90. +82 −0 makeddep.vc6
  91. +130 −0 makeddsp.vc6
  92. +159 −0 makedmak.vc6
  93. +186 −0 makedvcp.vc9
  94. +41 −35 makefile.ansi
  95. +48 −42 makefile.bcc
  96. +0 −319 makefile.cfg
  97. +41 −35 makefile.dj
  98. +41 −35 makefile.manx
  99. +51 −45 makefile.mc6
  100. +47 −41 makefile.mms
  101. +41 −35 makefile.sas
  102. +41 −35 makefile.unix
  103. +39 −33 makefile.vc
  104. +11 −11 makefile.vms
  105. +41 −35 makefile.wat
  106. +423 −0 makejdep.vc6
  107. +285 −0 makejdsp.vc6
  108. +29 −0 makejdsw.vc6
  109. +425 −0 makejmak.vc6
  110. +17 −0 makejsln.vc9
  111. +328 −0 makejvcp.vc9
  112. +0 −1,046 makelib.ds
  113. +3 −3 makeproj.mac
  114. +6 −0 makerdep.vc6
  115. +78 −0 makerdsp.vc6
  116. +110 −0 makermak.vc6
  117. +133 −0 makervcp.vc9
  118. +43 −0 maketdep.vc6
  119. +122 −0 maketdsp.vc6
  120. +131 −0 maketmak.vc6
  121. +178 −0 maketvcp.vc9
  122. +6 −0 makewdep.vc6
  123. +78 −0 makewdsp.vc6
  124. +110 −0 makewmak.vc6
  125. +133 −0 makewvcp.vc9
  126. +6 −8 makljpeg.st
  127. +1 −3 maktjpeg.st
  128. +376 −0 missing
  129. +10 −1 rdjpgcom.1
  130. +26 −7 rdjpgcom.c
  131. +9 −8 rdppm.c
  132. +36 −3 rdswitch.c
  133. +16 −19 structure.doc → structure.txt
  134. BIN testimg.bmp
  135. BIN testimg.jpg
  136. +1 −1 testimg.ppm
  137. BIN testimgp.jpg
  138. +824 −219 transupp.c
  139. +98 −28 transupp.h
  140. +70 −27 usage.doc → usage.txt
  141. 0 wizard.doc → wizard.txt
  142. +3 −2 wrppm.c
View
@@ -0,0 +1,133 @@
+## Process this file with automake to produce Makefile.in
+#
+# Automake Makefile for the JPEG library
+#
+# This file is written by Bob Friesenhahn, Guido Vollbeding
+#
+
+# Sources to build library
+LIBSOURCES = jaricom.c jcapimin.c jcapistd.c jcarith.c jccoefct.c jccolor.c \
+ jcdctmgr.c jchuff.c jcinit.c jcmainct.c jcmarker.c jcmaster.c \
+ jcomapi.c jcparam.c jcprepct.c jcsample.c jctrans.c jdapimin.c \
+ jdapistd.c jdarith.c jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c \
+ jddctmgr.c jdhuff.c jdinput.c jdmainct.c jdmarker.c jdmaster.c \
+ jdmerge.c jdpostct.c jdsample.c jdtrans.c jerror.c jfdctflt.c \
+ jfdctfst.c jfdctint.c jidctflt.c jidctfst.c jidctint.c jquant1.c \
+ jquant2.c jutils.c jmemmgr.c @MEMORYMGR@.c
+
+# System dependent sources
+SYSDEPSOURCES = jmemansi.c jmemname.c jmemnobs.c jmemdos.c jmemmac.c
+
+# Headers which are installed to support the library
+INSTINCLUDES = jerror.h jmorecfg.h jpeglib.h
+
+# Headers which are not installed
+OTHERINCLUDES = cderror.h cdjpeg.h jdct.h jinclude.h jmemsys.h jpegint.h \
+ jversion.h transupp.h
+
+# Manual pages (Automake uses 'MANS' for itself)
+DISTMANS= cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 wrjpgcom.1
+
+# Other documentation files
+DOCS= README install.txt usage.txt wizard.txt example.c libjpeg.txt \
+ structure.txt coderules.txt filelist.txt change.log
+
+# Makefiles for various systems
+MKFILES= configure Makefile.in makefile.ansi makefile.unix makefile.bcc \
+ makefile.mc6 makefile.dj makefile.wat makefile.vc makejdsw.vc6 \
+ makeadsw.vc6 makejdep.vc6 makejdsp.vc6 makejmak.vc6 makecdep.vc6 \
+ makecdsp.vc6 makecmak.vc6 makeddep.vc6 makeddsp.vc6 makedmak.vc6 \
+ maketdep.vc6 maketdsp.vc6 maketmak.vc6 makerdep.vc6 makerdsp.vc6 \
+ makermak.vc6 makewdep.vc6 makewdsp.vc6 makewmak.vc6 makejsln.vc9 \
+ makeasln.vc9 makejvcp.vc9 makecvcp.vc9 makedvcp.vc9 maketvcp.vc9 \
+ makervcp.vc9 makewvcp.vc9 makeproj.mac makcjpeg.st makdjpeg.st \
+ makljpeg.st maktjpeg.st makefile.manx makefile.sas makefile.mms \
+ makefile.vms makvms.opt
+
+# Configuration files
+CONFIGFILES= jconfig.cfg jconfig.bcc jconfig.mc6 jconfig.dj jconfig.wat \
+ jconfig.vc jconfig.mac jconfig.st jconfig.manx jconfig.sas \
+ jconfig.vms
+
+# Support scripts for configure
+CONFIGUREFILES= config.guess config.sub install-sh ltmain.sh depcomp missing
+
+# Miscellaneous support files
+OTHERFILES= jconfig.txt ckconfig.c ansi2knr.c ansi2knr.1 jmemdosa.asm \
+ libjpeg.map
+
+# Test support files
+TESTFILES= testorig.jpg testimg.ppm testimg.bmp testimg.jpg testprog.jpg \
+ testimgp.jpg
+
+# libtool libraries to build
+lib_LTLIBRARIES = libjpeg.la
+
+# Library sources for libjpeg.la
+libjpeg_la_SOURCES = $(LIBSOURCES)
+
+# LDFLAGS for libjpeg.la
+libjpeg_la_LDFLAGS = -no-undefined \
+ -version-info $(JPEG_LIB_VERSION)
+
+if HAVE_LD_VERSION_SCRIPT
+ libjpeg_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libjpeg.map
+endif
+
+# Executables to build
+bin_PROGRAMS = cjpeg djpeg jpegtran rdjpgcom wrjpgcom
+
+# Executable sources & libs
+cjpeg_SOURCES = cjpeg.c rdppm.c rdgif.c rdtarga.c rdrle.c rdbmp.c \
+ rdswitch.c cdjpeg.c
+cjpeg_LDADD = libjpeg.la
+djpeg_SOURCES = djpeg.c wrppm.c wrgif.c wrtarga.c wrrle.c wrbmp.c \
+ rdcolmap.c cdjpeg.c
+djpeg_LDADD = libjpeg.la
+jpegtran_SOURCES = jpegtran.c rdswitch.c cdjpeg.c transupp.c
+jpegtran_LDADD = libjpeg.la
+rdjpgcom_SOURCES = rdjpgcom.c
+wrjpgcom_SOURCES = wrjpgcom.c
+
+# Manual pages to install
+man_MANS = $(DISTMANS)
+
+# Headers to install
+include_HEADERS = $(INSTINCLUDES)
+
+# Other distributed headers
+noinst_HEADERS = $(OTHERINCLUDES)
+
+# Other distributed files
+EXTRA_DIST = $(DOCS) $(DISTMANS) $(MKFILES) $(CONFIGFILES) $(SYSDEPSOURCES) \
+ $(OTHERFILES) $(TESTFILES)
+
+# Files to be cleaned
+CLEANFILES = testout.ppm testout.bmp testout.jpg testoutp.ppm testoutp.jpg \
+ testoutt.jpg
+
+# Install jconfig.h
+install-data-local:
+ $(mkinstalldirs) $(DESTDIR)$(includedir)
+ $(INSTALL_HEADER) jconfig.h $(DESTDIR)$(includedir)/jconfig.h
+
+# Uninstall jconfig.h
+uninstall-local:
+ rm -f $(DESTDIR)$(includedir)/jconfig.h
+
+# Run tests
+test: check-local
+check-local:
+ $(RM) testout*
+ ./djpeg -dct int -ppm -outfile testout.ppm $(srcdir)/testorig.jpg
+ ./djpeg -dct int -bmp -colors 256 -outfile testout.bmp $(srcdir)/testorig.jpg
+ ./cjpeg -dct int -outfile testout.jpg $(srcdir)/testimg.ppm
+ ./djpeg -dct int -ppm -outfile testoutp.ppm $(srcdir)/testprog.jpg
+ ./cjpeg -dct int -progressive -opt -outfile testoutp.jpg $(srcdir)/testimg.ppm
+ ./jpegtran -outfile testoutt.jpg $(srcdir)/testprog.jpg
+ cmp $(srcdir)/testimg.ppm testout.ppm
+ cmp $(srcdir)/testimg.bmp testout.bmp
+ cmp $(srcdir)/testimg.jpg testout.jpg
+ cmp $(srcdir)/testimg.ppm testoutp.ppm
+ cmp $(srcdir)/testimgp.jpg testoutp.jpg
+ cmp $(srcdir)/testorig.jpg testoutt.jpg
Oops, something went wrong.

0 comments on commit acc9a4f

Please sign in to comment.