isbn 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (291) hide show
  1. data/.gitignore +4 -0
  2. data/README +9 -0
  3. data/Rakefile +13 -0
  4. data/VERSION +1 -0
  5. data/isbn.gemspec +329 -0
  6. data/lib/isbn.rb +90 -0
  7. data/src/gocr-0.48/.cvsignore +6 -0
  8. data/src/gocr-0.48/AUTHORS +7 -0
  9. data/src/gocr-0.48/BUGS +55 -0
  10. data/src/gocr-0.48/CREDITS +17 -0
  11. data/src/gocr-0.48/HISTORY +243 -0
  12. data/src/gocr-0.48/INSTALL +83 -0
  13. data/src/gocr-0.48/Makefile +193 -0
  14. data/src/gocr-0.48/Makefile.in +193 -0
  15. data/src/gocr-0.48/README +165 -0
  16. data/src/gocr-0.48/READMEde.txt +80 -0
  17. data/src/gocr-0.48/REMARK.txt +18 -0
  18. data/src/gocr-0.48/REVIEW +538 -0
  19. data/src/gocr-0.48/TODO +65 -0
  20. data/src/gocr-0.48/bin/.cvsignore +2 -0
  21. data/src/gocr-0.48/bin/create_db +38 -0
  22. data/src/gocr-0.48/bin/gocr.tcl +527 -0
  23. data/src/gocr-0.48/bin/gocr_chk.sh +44 -0
  24. data/src/gocr-0.48/configure +4689 -0
  25. data/src/gocr-0.48/configure.in +71 -0
  26. data/src/gocr-0.48/doc/.#Makefile.1.6 +39 -0
  27. data/src/gocr-0.48/doc/.cvsignore +2 -0
  28. data/src/gocr-0.48/doc/Makefile +39 -0
  29. data/src/gocr-0.48/doc/Makefile.in +39 -0
  30. data/src/gocr-0.48/doc/example.dtd +53 -0
  31. data/src/gocr-0.48/doc/example.xml +21 -0
  32. data/src/gocr-0.48/doc/examples.txt +67 -0
  33. data/src/gocr-0.48/doc/gocr.html +578 -0
  34. data/src/gocr-0.48/doc/unicode.txt +57 -0
  35. data/src/gocr-0.48/examples/.#Makefile.1.22 +166 -0
  36. data/src/gocr-0.48/examples/4x6.png +0 -0
  37. data/src/gocr-0.48/examples/4x6.txt +2 -0
  38. data/src/gocr-0.48/examples/5x7.png +0 -0
  39. data/src/gocr-0.48/examples/5x7.png.txt +2 -0
  40. data/src/gocr-0.48/examples/5x8.png +0 -0
  41. data/src/gocr-0.48/examples/5x8.png.txt +2 -0
  42. data/src/gocr-0.48/examples/Makefile +166 -0
  43. data/src/gocr-0.48/examples/color.fig +20 -0
  44. data/src/gocr-0.48/examples/ex.fig +16 -0
  45. data/src/gocr-0.48/examples/font.tex +22 -0
  46. data/src/gocr-0.48/examples/font1.tex +46 -0
  47. data/src/gocr-0.48/examples/font2.fig +27 -0
  48. data/src/gocr-0.48/examples/font_nw.tex +24 -0
  49. data/src/gocr-0.48/examples/handwrt1.jpg +0 -0
  50. data/src/gocr-0.48/examples/handwrt1.txt +10 -0
  51. data/src/gocr-0.48/examples/inverse.fig +20 -0
  52. data/src/gocr-0.48/examples/matrix.jpg +0 -0
  53. data/src/gocr-0.48/examples/ocr-a-subset.png +0 -0
  54. data/src/gocr-0.48/examples/ocr-a-subset.png.txt +4 -0
  55. data/src/gocr-0.48/examples/ocr-a.png +0 -0
  56. data/src/gocr-0.48/examples/ocr-a.txt +6 -0
  57. data/src/gocr-0.48/examples/ocr-b.png +0 -0
  58. data/src/gocr-0.48/examples/ocr-b.png.txt +4 -0
  59. data/src/gocr-0.48/examples/polish.tex +28 -0
  60. data/src/gocr-0.48/examples/rotate45.fig +14 -0
  61. data/src/gocr-0.48/examples/score +36 -0
  62. data/src/gocr-0.48/examples/text.tex +28 -0
  63. data/src/gocr-0.48/gocr.spec +143 -0
  64. data/src/gocr-0.48/gpl.html +537 -0
  65. data/src/gocr-0.48/include/.cvsignore +2 -0
  66. data/src/gocr-0.48/include/config.h +36 -0
  67. data/src/gocr-0.48/include/config.h.in +36 -0
  68. data/src/gocr-0.48/include/version.h +2 -0
  69. data/src/gocr-0.48/install-sh +3 -0
  70. data/src/gocr-0.48/make.bat +57 -0
  71. data/src/gocr-0.48/man/.cvsignore +2 -0
  72. data/src/gocr-0.48/man/Makefile +29 -0
  73. data/src/gocr-0.48/man/Makefile.in +29 -0
  74. data/src/gocr-0.48/man/man1/gocr.1 +166 -0
  75. data/src/gocr-0.48/src/.cvsignore +4 -0
  76. data/src/gocr-0.48/src/Makefile +132 -0
  77. data/src/gocr-0.48/src/Makefile.in +132 -0
  78. data/src/gocr-0.48/src/amiga.h +31 -0
  79. data/src/gocr-0.48/src/barcode.c +846 -0
  80. data/src/gocr-0.48/src/barcode.c.orig +593 -0
  81. data/src/gocr-0.48/src/barcode.h +11 -0
  82. data/src/gocr-0.48/src/box.c +372 -0
  83. data/src/gocr-0.48/src/database.c +462 -0
  84. data/src/gocr-0.48/src/detect.c +943 -0
  85. data/src/gocr-0.48/src/gocr.c +373 -0
  86. data/src/gocr-0.48/src/gocr.h +288 -0
  87. data/src/gocr-0.48/src/jconv.c +168 -0
  88. data/src/gocr-0.48/src/job.c +84 -0
  89. data/src/gocr-0.48/src/lines.c +350 -0
  90. data/src/gocr-0.48/src/list.c +334 -0
  91. data/src/gocr-0.48/src/list.h +90 -0
  92. data/src/gocr-0.48/src/ocr0.c +6756 -0
  93. data/src/gocr-0.48/src/ocr0.h +63 -0
  94. data/src/gocr-0.48/src/ocr0n.c +1475 -0
  95. data/src/gocr-0.48/src/ocr1.c +85 -0
  96. data/src/gocr-0.48/src/ocr1.h +3 -0
  97. data/src/gocr-0.48/src/otsu.c +289 -0
  98. data/src/gocr-0.48/src/otsu.h +23 -0
  99. data/src/gocr-0.48/src/output.c +289 -0
  100. data/src/gocr-0.48/src/output.h +37 -0
  101. data/src/gocr-0.48/src/pcx.c +153 -0
  102. data/src/gocr-0.48/src/pcx.h +9 -0
  103. data/src/gocr-0.48/src/pgm2asc.c +2893 -0
  104. data/src/gocr-0.48/src/pgm2asc.h +105 -0
  105. data/src/gocr-0.48/src/pixel.c +537 -0
  106. data/src/gocr-0.48/src/pnm.c +533 -0
  107. data/src/gocr-0.48/src/pnm.h +35 -0
  108. data/src/gocr-0.48/src/progress.c +87 -0
  109. data/src/gocr-0.48/src/progress.h +42 -0
  110. data/src/gocr-0.48/src/remove.c +703 -0
  111. data/src/gocr-0.48/src/tga.c +87 -0
  112. data/src/gocr-0.48/src/tga.h +6 -0
  113. data/src/gocr-0.48/src/unicode.c +1314 -0
  114. data/src/gocr-0.48/src/unicode.h +1257 -0
  115. data/src/jpeg-7/Makefile.am +133 -0
  116. data/src/jpeg-7/Makefile.in +1089 -0
  117. data/src/jpeg-7/README +322 -0
  118. data/src/jpeg-7/aclocal.m4 +8990 -0
  119. data/src/jpeg-7/ansi2knr.1 +36 -0
  120. data/src/jpeg-7/ansi2knr.c +739 -0
  121. data/src/jpeg-7/cderror.h +132 -0
  122. data/src/jpeg-7/cdjpeg.c +181 -0
  123. data/src/jpeg-7/cdjpeg.h +187 -0
  124. data/src/jpeg-7/change.log +270 -0
  125. data/src/jpeg-7/cjpeg.1 +325 -0
  126. data/src/jpeg-7/cjpeg.c +616 -0
  127. data/src/jpeg-7/ckconfig.c +402 -0
  128. data/src/jpeg-7/coderules.txt +118 -0
  129. data/src/jpeg-7/config.guess +1561 -0
  130. data/src/jpeg-7/config.sub +1686 -0
  131. data/src/jpeg-7/configure +17139 -0
  132. data/src/jpeg-7/configure.ac +317 -0
  133. data/src/jpeg-7/depcomp +630 -0
  134. data/src/jpeg-7/djpeg.1 +251 -0
  135. data/src/jpeg-7/djpeg.c +617 -0
  136. data/src/jpeg-7/example.c +433 -0
  137. data/src/jpeg-7/filelist.txt +215 -0
  138. data/src/jpeg-7/install-sh +520 -0
  139. data/src/jpeg-7/install.txt +1097 -0
  140. data/src/jpeg-7/jaricom.c +148 -0
  141. data/src/jpeg-7/jcapimin.c +282 -0
  142. data/src/jpeg-7/jcapistd.c +161 -0
  143. data/src/jpeg-7/jcarith.c +921 -0
  144. data/src/jpeg-7/jccoefct.c +453 -0
  145. data/src/jpeg-7/jccolor.c +459 -0
  146. data/src/jpeg-7/jcdctmgr.c +482 -0
  147. data/src/jpeg-7/jchuff.c +1612 -0
  148. data/src/jpeg-7/jcinit.c +65 -0
  149. data/src/jpeg-7/jcmainct.c +293 -0
  150. data/src/jpeg-7/jcmarker.c +667 -0
  151. data/src/jpeg-7/jcmaster.c +770 -0
  152. data/src/jpeg-7/jcomapi.c +106 -0
  153. data/src/jpeg-7/jconfig.bcc +48 -0
  154. data/src/jpeg-7/jconfig.cfg +45 -0
  155. data/src/jpeg-7/jconfig.dj +38 -0
  156. data/src/jpeg-7/jconfig.mac +43 -0
  157. data/src/jpeg-7/jconfig.manx +43 -0
  158. data/src/jpeg-7/jconfig.mc6 +52 -0
  159. data/src/jpeg-7/jconfig.sas +43 -0
  160. data/src/jpeg-7/jconfig.st +42 -0
  161. data/src/jpeg-7/jconfig.txt +155 -0
  162. data/src/jpeg-7/jconfig.vc +45 -0
  163. data/src/jpeg-7/jconfig.vms +37 -0
  164. data/src/jpeg-7/jconfig.wat +38 -0
  165. data/src/jpeg-7/jcparam.c +632 -0
  166. data/src/jpeg-7/jcprepct.c +358 -0
  167. data/src/jpeg-7/jcsample.c +545 -0
  168. data/src/jpeg-7/jctrans.c +381 -0
  169. data/src/jpeg-7/jdapimin.c +396 -0
  170. data/src/jpeg-7/jdapistd.c +275 -0
  171. data/src/jpeg-7/jdarith.c +762 -0
  172. data/src/jpeg-7/jdatadst.c +151 -0
  173. data/src/jpeg-7/jdatasrc.c +212 -0
  174. data/src/jpeg-7/jdcoefct.c +736 -0
  175. data/src/jpeg-7/jdcolor.c +396 -0
  176. data/src/jpeg-7/jdct.h +393 -0
  177. data/src/jpeg-7/jddctmgr.c +382 -0
  178. data/src/jpeg-7/jdhuff.c +1309 -0
  179. data/src/jpeg-7/jdinput.c +384 -0
  180. data/src/jpeg-7/jdmainct.c +512 -0
  181. data/src/jpeg-7/jdmarker.c +1360 -0
  182. data/src/jpeg-7/jdmaster.c +663 -0
  183. data/src/jpeg-7/jdmerge.c +400 -0
  184. data/src/jpeg-7/jdpostct.c +290 -0
  185. data/src/jpeg-7/jdsample.c +361 -0
  186. data/src/jpeg-7/jdtrans.c +136 -0
  187. data/src/jpeg-7/jerror.c +252 -0
  188. data/src/jpeg-7/jerror.h +304 -0
  189. data/src/jpeg-7/jfdctflt.c +174 -0
  190. data/src/jpeg-7/jfdctfst.c +230 -0
  191. data/src/jpeg-7/jfdctint.c +4348 -0
  192. data/src/jpeg-7/jidctflt.c +242 -0
  193. data/src/jpeg-7/jidctfst.c +368 -0
  194. data/src/jpeg-7/jidctint.c +5137 -0
  195. data/src/jpeg-7/jinclude.h +91 -0
  196. data/src/jpeg-7/jmemansi.c +167 -0
  197. data/src/jpeg-7/jmemdos.c +638 -0
  198. data/src/jpeg-7/jmemdosa.asm +379 -0
  199. data/src/jpeg-7/jmemmac.c +289 -0
  200. data/src/jpeg-7/jmemmgr.c +1118 -0
  201. data/src/jpeg-7/jmemname.c +276 -0
  202. data/src/jpeg-7/jmemnobs.c +109 -0
  203. data/src/jpeg-7/jmemsys.h +198 -0
  204. data/src/jpeg-7/jmorecfg.h +369 -0
  205. data/src/jpeg-7/jpegint.h +395 -0
  206. data/src/jpeg-7/jpeglib.h +1135 -0
  207. data/src/jpeg-7/jpegtran.1 +272 -0
  208. data/src/jpeg-7/jpegtran.c +546 -0
  209. data/src/jpeg-7/jquant1.c +856 -0
  210. data/src/jpeg-7/jquant2.c +1310 -0
  211. data/src/jpeg-7/jutils.c +179 -0
  212. data/src/jpeg-7/jversion.h +14 -0
  213. data/src/jpeg-7/libjpeg.map +4 -0
  214. data/src/jpeg-7/libjpeg.txt +3067 -0
  215. data/src/jpeg-7/ltmain.sh +8406 -0
  216. data/src/jpeg-7/makcjpeg.st +36 -0
  217. data/src/jpeg-7/makdjpeg.st +36 -0
  218. data/src/jpeg-7/makeadsw.vc6 +77 -0
  219. data/src/jpeg-7/makeasln.vc9 +33 -0
  220. data/src/jpeg-7/makecdep.vc6 +82 -0
  221. data/src/jpeg-7/makecdsp.vc6 +130 -0
  222. data/src/jpeg-7/makecmak.vc6 +159 -0
  223. data/src/jpeg-7/makecvcp.vc9 +186 -0
  224. data/src/jpeg-7/makeddep.vc6 +82 -0
  225. data/src/jpeg-7/makeddsp.vc6 +130 -0
  226. data/src/jpeg-7/makedmak.vc6 +159 -0
  227. data/src/jpeg-7/makedvcp.vc9 +186 -0
  228. data/src/jpeg-7/makefile.ansi +220 -0
  229. data/src/jpeg-7/makefile.bcc +291 -0
  230. data/src/jpeg-7/makefile.dj +226 -0
  231. data/src/jpeg-7/makefile.manx +220 -0
  232. data/src/jpeg-7/makefile.mc6 +255 -0
  233. data/src/jpeg-7/makefile.mms +224 -0
  234. data/src/jpeg-7/makefile.sas +258 -0
  235. data/src/jpeg-7/makefile.unix +234 -0
  236. data/src/jpeg-7/makefile.vc +217 -0
  237. data/src/jpeg-7/makefile.vms +142 -0
  238. data/src/jpeg-7/makefile.wat +239 -0
  239. data/src/jpeg-7/makejdep.vc6 +423 -0
  240. data/src/jpeg-7/makejdsp.vc6 +285 -0
  241. data/src/jpeg-7/makejdsw.vc6 +29 -0
  242. data/src/jpeg-7/makejmak.vc6 +425 -0
  243. data/src/jpeg-7/makejsln.vc9 +17 -0
  244. data/src/jpeg-7/makejvcp.vc9 +328 -0
  245. data/src/jpeg-7/makeproj.mac +213 -0
  246. data/src/jpeg-7/makerdep.vc6 +6 -0
  247. data/src/jpeg-7/makerdsp.vc6 +78 -0
  248. data/src/jpeg-7/makermak.vc6 +110 -0
  249. data/src/jpeg-7/makervcp.vc9 +133 -0
  250. data/src/jpeg-7/maketdep.vc6 +43 -0
  251. data/src/jpeg-7/maketdsp.vc6 +122 -0
  252. data/src/jpeg-7/maketmak.vc6 +131 -0
  253. data/src/jpeg-7/maketvcp.vc9 +178 -0
  254. data/src/jpeg-7/makewdep.vc6 +6 -0
  255. data/src/jpeg-7/makewdsp.vc6 +78 -0
  256. data/src/jpeg-7/makewmak.vc6 +110 -0
  257. data/src/jpeg-7/makewvcp.vc9 +133 -0
  258. data/src/jpeg-7/makljpeg.st +68 -0
  259. data/src/jpeg-7/maktjpeg.st +30 -0
  260. data/src/jpeg-7/makvms.opt +4 -0
  261. data/src/jpeg-7/missing +376 -0
  262. data/src/jpeg-7/rdbmp.c +439 -0
  263. data/src/jpeg-7/rdcolmap.c +253 -0
  264. data/src/jpeg-7/rdgif.c +38 -0
  265. data/src/jpeg-7/rdjpgcom.1 +63 -0
  266. data/src/jpeg-7/rdjpgcom.c +515 -0
  267. data/src/jpeg-7/rdppm.c +459 -0
  268. data/src/jpeg-7/rdrle.c +387 -0
  269. data/src/jpeg-7/rdswitch.c +365 -0
  270. data/src/jpeg-7/rdtarga.c +500 -0
  271. data/src/jpeg-7/structure.txt +945 -0
  272. data/src/jpeg-7/testimg.bmp +0 -0
  273. data/src/jpeg-7/testimg.jpg +0 -0
  274. data/src/jpeg-7/testimg.ppm +4 -0
  275. data/src/jpeg-7/testimgp.jpg +0 -0
  276. data/src/jpeg-7/testorig.jpg +0 -0
  277. data/src/jpeg-7/testprog.jpg +0 -0
  278. data/src/jpeg-7/transupp.c +1533 -0
  279. data/src/jpeg-7/transupp.h +205 -0
  280. data/src/jpeg-7/usage.txt +605 -0
  281. data/src/jpeg-7/wizard.txt +211 -0
  282. data/src/jpeg-7/wrbmp.c +442 -0
  283. data/src/jpeg-7/wrgif.c +399 -0
  284. data/src/jpeg-7/wrjpgcom.1 +103 -0
  285. data/src/jpeg-7/wrjpgcom.c +583 -0
  286. data/src/jpeg-7/wrppm.c +269 -0
  287. data/src/jpeg-7/wrrle.c +305 -0
  288. data/src/jpeg-7/wrtarga.c +253 -0
  289. data/test/isbn_test.rb +7 -0
  290. data/test/test_helper.rb +7 -0
  291. metadata +345 -0
@@ -0,0 +1,186 @@
1
+ <?xml version="1.0" encoding="Windows-1252"?>
2
+ <VisualStudioProject
3
+ ProjectType="Visual C++"
4
+ Version="9,00"
5
+ Name="djpeg"
6
+ ProjectGUID="{9B7E57AE-31CD-405E-8070-26A8303B9DC9}"
7
+ RootNamespace="djpeg"
8
+ Keyword="Win32Proj"
9
+ TargetFrameworkVersion="196613"
10
+ >
11
+ <Platforms>
12
+ <Platform
13
+ Name="Win32"
14
+ />
15
+ </Platforms>
16
+ <ToolFiles>
17
+ </ToolFiles>
18
+ <Configurations>
19
+ <Configuration
20
+ Name="Release|Win32"
21
+ OutputDirectory="$(ProjectName)\$(ConfigurationName)"
22
+ IntermediateDirectory="$(ProjectName)\$(ConfigurationName)"
23
+ ConfigurationType="1"
24
+ CharacterSet="0"
25
+ WholeProgramOptimization="1"
26
+ >
27
+ <Tool
28
+ Name="VCPreBuildEventTool"
29
+ />
30
+ <Tool
31
+ Name="VCCustomBuildTool"
32
+ />
33
+ <Tool
34
+ Name="VCXMLDataGeneratorTool"
35
+ />
36
+ <Tool
37
+ Name="VCWebServiceProxyGeneratorTool"
38
+ />
39
+ <Tool
40
+ Name="VCMIDLTool"
41
+ />
42
+ <Tool
43
+ Name="VCCLCompilerTool"
44
+ Optimization="3"
45
+ EnableIntrinsicFunctions="false"
46
+ EnableFiberSafeOptimizations="true"
47
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS"
48
+ RuntimeLibrary="2"
49
+ EnableFunctionLevelLinking="true"
50
+ UsePrecompiledHeader="0"
51
+ WarningLevel="3"
52
+ DebugInformationFormat="3"
53
+ CompileAs="0"
54
+ DisableSpecificWarnings="4996"
55
+ />
56
+ <Tool
57
+ Name="VCManagedResourceCompilerTool"
58
+ />
59
+ <Tool
60
+ Name="VCResourceCompilerTool"
61
+ />
62
+ <Tool
63
+ Name="VCPreLinkEventTool"
64
+ />
65
+ <Tool
66
+ Name="VCLinkerTool"
67
+ AdditionalDependencies="Release\jpeg.lib"
68
+ LinkIncremental="1"
69
+ GenerateDebugInformation="true"
70
+ SubSystem="1"
71
+ OptimizeReferences="2"
72
+ EnableCOMDATFolding="2"
73
+ TargetMachine="1"
74
+ />
75
+ <Tool
76
+ Name="VCALinkTool"
77
+ />
78
+ <Tool
79
+ Name="VCManifestTool"
80
+ />
81
+ <Tool
82
+ Name="VCXDCMakeTool"
83
+ />
84
+ <Tool
85
+ Name="VCBscMakeTool"
86
+ />
87
+ <Tool
88
+ Name="VCFxCopTool"
89
+ />
90
+ <Tool
91
+ Name="VCAppVerifierTool"
92
+ />
93
+ <Tool
94
+ Name="VCPostBuildEventTool"
95
+ />
96
+ </Configuration>
97
+ </Configurations>
98
+ <References>
99
+ </References>
100
+ <Files>
101
+ <Filter
102
+ Name="Quelldateien"
103
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
104
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
105
+ >
106
+ <File
107
+ RelativePath=".\cdjpeg.c"
108
+ >
109
+ </File>
110
+ <File
111
+ RelativePath=".\djpeg.c"
112
+ >
113
+ </File>
114
+ <File
115
+ RelativePath=".\rdcolmap.c"
116
+ >
117
+ </File>
118
+ <File
119
+ RelativePath=".\wrbmp.c"
120
+ >
121
+ </File>
122
+ <File
123
+ RelativePath=".\wrgif.c"
124
+ >
125
+ </File>
126
+ <File
127
+ RelativePath=".\wrppm.c"
128
+ >
129
+ </File>
130
+ <File
131
+ RelativePath=".\wrrle.c"
132
+ >
133
+ </File>
134
+ <File
135
+ RelativePath=".\wrtarga.c"
136
+ >
137
+ </File>
138
+ </Filter>
139
+ <Filter
140
+ Name="Headerdateien"
141
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
142
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
143
+ >
144
+ <File
145
+ RelativePath=".\cderror.h"
146
+ >
147
+ </File>
148
+ <File
149
+ RelativePath=".\cdjpeg.h"
150
+ >
151
+ </File>
152
+ <File
153
+ RelativePath=".\jconfig.h"
154
+ >
155
+ </File>
156
+ <File
157
+ RelativePath=".\jerror.h"
158
+ >
159
+ </File>
160
+ <File
161
+ RelativePath=".\jinclude.h"
162
+ >
163
+ </File>
164
+ <File
165
+ RelativePath=".\jmorecfg.h"
166
+ >
167
+ </File>
168
+ <File
169
+ RelativePath=".\jpeglib.h"
170
+ >
171
+ </File>
172
+ <File
173
+ RelativePath=".\jversion.h"
174
+ >
175
+ </File>
176
+ </Filter>
177
+ <Filter
178
+ Name="Ressourcendateien"
179
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
180
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
181
+ >
182
+ </Filter>
183
+ </Files>
184
+ <Globals>
185
+ </Globals>
186
+ </VisualStudioProject>
@@ -0,0 +1,220 @@
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 change.log
63
+ MKFILES= configure Makefile.in makefile.ansi makefile.unix makefile.bcc \
64
+ makefile.mc6 makefile.dj makefile.wat makefile.vc makejdsw.vc6 \
65
+ makeadsw.vc6 makejdep.vc6 makejdsp.vc6 makejmak.vc6 makecdep.vc6 \
66
+ makecdsp.vc6 makecmak.vc6 makeddep.vc6 makeddsp.vc6 makedmak.vc6 \
67
+ maketdep.vc6 maketdsp.vc6 maketmak.vc6 makerdep.vc6 makerdsp.vc6 \
68
+ makermak.vc6 makewdep.vc6 makewdsp.vc6 makewmak.vc6 makejsln.vc9 \
69
+ makeasln.vc9 makejvcp.vc9 makecvcp.vc9 makedvcp.vc9 maketvcp.vc9 \
70
+ makervcp.vc9 makewvcp.vc9 makeproj.mac makcjpeg.st makdjpeg.st \
71
+ makljpeg.st maktjpeg.st makefile.manx makefile.sas makefile.mms \
72
+ makefile.vms makvms.opt
73
+ CONFIGFILES= jconfig.cfg jconfig.bcc jconfig.mc6 jconfig.dj jconfig.wat \
74
+ jconfig.vc jconfig.mac jconfig.st jconfig.manx jconfig.sas \
75
+ jconfig.vms
76
+ CONFIGUREFILES= config.guess config.sub install-sh ltmain.sh depcomp missing
77
+ OTHERFILES= jconfig.txt ckconfig.c ansi2knr.c ansi2knr.1 jmemdosa.asm \
78
+ libjpeg.map
79
+ TESTFILES= testorig.jpg testimg.ppm testimg.bmp testimg.jpg testprog.jpg \
80
+ testimgp.jpg
81
+ DISTFILES= $(DOCS) $(MKFILES) $(CONFIGFILES) $(SOURCES) $(INCLUDES) \
82
+ $(CONFIGUREFILES) $(OTHERFILES) $(TESTFILES)
83
+ # library object files common to compression and decompression
84
+ COMOBJECTS= jaricom.o jcomapi.o jutils.o jerror.o jmemmgr.o $(SYSDEPMEM)
85
+ # compression library object files
86
+ CLIBOBJECTS= jcapimin.o jcapistd.o jcarith.o jctrans.o jcparam.o \
87
+ jdatadst.o jcinit.o jcmaster.o jcmarker.o jcmainct.o jcprepct.o \
88
+ jccoefct.o jccolor.o jcsample.o jchuff.o jcdctmgr.o jfdctfst.o \
89
+ jfdctflt.o jfdctint.o
90
+ # decompression library object files
91
+ DLIBOBJECTS= jdapimin.o jdapistd.o jdarith.o jdtrans.o jdatasrc.o \
92
+ jdmaster.o jdinput.o jdmarker.o jdhuff.o jdmainct.o \
93
+ jdcoefct.o jdpostct.o jddctmgr.o jidctfst.o jidctflt.o \
94
+ jidctint.o jdsample.o jdcolor.o jquant1.o jquant2.o jdmerge.o
95
+ # These objectfiles are included in libjpeg.a
96
+ LIBOBJECTS= $(CLIBOBJECTS) $(DLIBOBJECTS) $(COMOBJECTS)
97
+ # object files for sample applications (excluding library files)
98
+ COBJECTS= cjpeg.o rdppm.o rdgif.o rdtarga.o rdrle.o rdbmp.o rdswitch.o \
99
+ cdjpeg.o
100
+ DOBJECTS= djpeg.o wrppm.o wrgif.o wrtarga.o wrrle.o wrbmp.o rdcolmap.o \
101
+ cdjpeg.o
102
+ TROBJECTS= jpegtran.o rdswitch.o cdjpeg.o transupp.o
103
+
104
+
105
+ all: libjpeg.a cjpeg djpeg jpegtran rdjpgcom wrjpgcom
106
+
107
+ libjpeg.a: $(LIBOBJECTS)
108
+ $(RM) libjpeg.a
109
+ $(AR) libjpeg.a $(LIBOBJECTS)
110
+ $(AR2) libjpeg.a
111
+
112
+ cjpeg: $(COBJECTS) libjpeg.a
113
+ $(LN) $(LDFLAGS) -o cjpeg $(COBJECTS) libjpeg.a $(LDLIBS)
114
+
115
+ djpeg: $(DOBJECTS) libjpeg.a
116
+ $(LN) $(LDFLAGS) -o djpeg $(DOBJECTS) libjpeg.a $(LDLIBS)
117
+
118
+ jpegtran: $(TROBJECTS) libjpeg.a
119
+ $(LN) $(LDFLAGS) -o jpegtran $(TROBJECTS) libjpeg.a $(LDLIBS)
120
+
121
+ rdjpgcom: rdjpgcom.o
122
+ $(LN) $(LDFLAGS) -o rdjpgcom rdjpgcom.o $(LDLIBS)
123
+
124
+ wrjpgcom: wrjpgcom.o
125
+ $(LN) $(LDFLAGS) -o wrjpgcom wrjpgcom.o $(LDLIBS)
126
+
127
+ jconfig.h: jconfig.txt
128
+ echo You must prepare a system-dependent jconfig.h file.
129
+ echo Please read the installation directions in install.txt.
130
+ exit 1
131
+
132
+ clean:
133
+ $(RM) *.o cjpeg djpeg jpegtran libjpeg.a rdjpgcom wrjpgcom
134
+ $(RM) core testout*
135
+
136
+ test: cjpeg djpeg jpegtran
137
+ $(RM) testout*
138
+ ./djpeg -dct int -ppm -outfile testout.ppm testorig.jpg
139
+ ./djpeg -dct int -bmp -colors 256 -outfile testout.bmp testorig.jpg
140
+ ./cjpeg -dct int -outfile testout.jpg testimg.ppm
141
+ ./djpeg -dct int -ppm -outfile testoutp.ppm testprog.jpg
142
+ ./cjpeg -dct int -progressive -opt -outfile testoutp.jpg testimg.ppm
143
+ ./jpegtran -outfile testoutt.jpg testprog.jpg
144
+ cmp testimg.ppm testout.ppm
145
+ cmp testimg.bmp testout.bmp
146
+ cmp testimg.jpg testout.jpg
147
+ cmp testimg.ppm testoutp.ppm
148
+ cmp testimgp.jpg testoutp.jpg
149
+ cmp testorig.jpg testoutt.jpg
150
+
151
+
152
+ jaricom.o: jaricom.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
153
+ jcapimin.o: jcapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
154
+ jcapistd.o: jcapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
155
+ jcarith.o: jcarith.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
156
+ jccoefct.o: jccoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
157
+ jccolor.o: jccolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
158
+ jcdctmgr.o: jcdctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
159
+ jchuff.o: jchuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
160
+ jcinit.o: jcinit.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
161
+ jcmainct.o: jcmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
162
+ jcmarker.o: jcmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
163
+ jcmaster.o: jcmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
164
+ jcomapi.o: jcomapi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
165
+ jcparam.o: jcparam.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
166
+ jcprepct.o: jcprepct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
167
+ jcsample.o: jcsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
168
+ jctrans.o: jctrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
169
+ jdapimin.o: jdapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
170
+ jdapistd.o: jdapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
171
+ jdarith.o: jdarith.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
172
+ jdatadst.o: jdatadst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
173
+ jdatasrc.o: jdatasrc.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
174
+ jdcoefct.o: jdcoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
175
+ jdcolor.o: jdcolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
176
+ jddctmgr.o: jddctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
177
+ jdhuff.o: jdhuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
178
+ jdinput.o: jdinput.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
179
+ jdmainct.o: jdmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
180
+ jdmarker.o: jdmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
181
+ jdmaster.o: jdmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
182
+ jdmerge.o: jdmerge.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
183
+ jdpostct.o: jdpostct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
184
+ jdsample.o: jdsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
185
+ jdtrans.o: jdtrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
186
+ jerror.o: jerror.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jversion.h jerror.h
187
+ jfdctflt.o: jfdctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
188
+ jfdctfst.o: jfdctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
189
+ jfdctint.o: jfdctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
190
+ jidctflt.o: jidctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
191
+ jidctfst.o: jidctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
192
+ jidctint.o: jidctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
193
+ jquant1.o: jquant1.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
194
+ jquant2.o: jquant2.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
195
+ jutils.o: jutils.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
196
+ jmemmgr.o: jmemmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
197
+ jmemansi.o: jmemansi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
198
+ jmemname.o: jmemname.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
199
+ jmemnobs.o: jmemnobs.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
200
+ jmemdos.o: jmemdos.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
201
+ jmemmac.o: jmemmac.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
202
+ cjpeg.o: cjpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h
203
+ djpeg.o: djpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h
204
+ jpegtran.o: jpegtran.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h transupp.h jversion.h
205
+ rdjpgcom.o: rdjpgcom.c jinclude.h jconfig.h
206
+ wrjpgcom.o: wrjpgcom.c jinclude.h jconfig.h
207
+ cdjpeg.o: cdjpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
208
+ rdcolmap.o: rdcolmap.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
209
+ rdswitch.o: rdswitch.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
210
+ transupp.o: transupp.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h transupp.h
211
+ rdppm.o: rdppm.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
212
+ wrppm.o: wrppm.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
213
+ rdgif.o: rdgif.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
214
+ wrgif.o: wrgif.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
215
+ rdtarga.o: rdtarga.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
216
+ wrtarga.o: wrtarga.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
217
+ rdbmp.o: rdbmp.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
218
+ wrbmp.o: wrbmp.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
219
+ rdrle.o: rdrle.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
220
+ wrrle.o: wrrle.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
@@ -0,0 +1,291 @@
1
+ # Makefile for Independent JPEG Group's software
2
+
3
+ # This makefile is suitable for Borland C on MS-DOS or OS/2.
4
+ # It works with Borland C++ for DOS, revision 3.0 or later,
5
+ # and has been tested with Borland C++ for OS/2.
6
+ # Watch out for optimization bugs in the OS/2 compilers --- see notes below!
7
+ # Thanks to Tom Wright and Ge' Weijers (original DOS) and
8
+ # Ken Porter (OS/2) for this file.
9
+
10
+ # Read installation instructions before saying "make" !!
11
+
12
+ # Are we under DOS or OS/2?
13
+ !if !$d(DOS) && !$d(OS2)
14
+ !if $d(__OS2__)
15
+ OS2=1
16
+ !else
17
+ DOS=1
18
+ !endif
19
+ !endif
20
+
21
+ # The name of your C compiler:
22
+ CC= bcc
23
+
24
+ # You may need to adjust these cc options:
25
+ !if $d(DOS)
26
+ CFLAGS= -O2 -mm -w-par -w-stu -w-ccc -w-rch
27
+ !else
28
+ CFLAGS= -O1 -w-par -w-stu -w-ccc -w-rch
29
+ !endif
30
+ # -O2 enables full code optimization (for pre-3.0 Borland C++, use -O -G -Z).
31
+ # -O2 is buggy in Borland OS/2 C++ revision 2.0, so use -O1 there for now.
32
+ # If you have Borland OS/2 C++ revision 1.0, use -O or no optimization at all.
33
+ # -mm selects medium memory model (near data, far code pointers; DOS only!)
34
+ # -w-par suppresses warnings about unused function parameters
35
+ # -w-stu suppresses warnings about incomplete structures
36
+ # -w-ccc suppresses warnings about compile-time-constant conditions
37
+ # -w-rch suppresses warnings about unreachable code
38
+ # Generally, we recommend defining any configuration symbols in jconfig.h,
39
+ # NOT via -D switches here.
40
+
41
+ # Link-time cc options:
42
+ !if $d(DOS)
43
+ LDFLAGS= -mm
44
+ # memory model option here must match CFLAGS!
45
+ !else
46
+ LDFLAGS=
47
+ # -lai full-screen app
48
+ # -lc case-significant link
49
+ !endif
50
+
51
+ # Put here the object file name for the correct system-dependent memory
52
+ # manager file.
53
+ # For DOS, we recommend jmemdos.c and jmemdosa.asm.
54
+ # For OS/2, we recommend jmemnobs.c (flat memory!)
55
+ # SYSDEPMEMLIB must list the same files with "+" signs for the librarian.
56
+ !if $d(DOS)
57
+ SYSDEPMEM= jmemdos.obj jmemdosa.obj
58
+ SYSDEPMEMLIB= +jmemdos.obj +jmemdosa.obj
59
+ !else
60
+ SYSDEPMEM= jmemnobs.obj
61
+ SYSDEPMEMLIB= +jmemnobs.obj
62
+ !endif
63
+
64
+ # End of configurable options.
65
+
66
+
67
+ # source files: JPEG library proper
68
+ LIBSOURCES= jaricom.c jcapimin.c jcapistd.c jcarith.c jccoefct.c jccolor.c \
69
+ jcdctmgr.c jchuff.c jcinit.c jcmainct.c jcmarker.c jcmaster.c \
70
+ jcomapi.c jcparam.c jcprepct.c jcsample.c jctrans.c jdapimin.c \
71
+ jdapistd.c jdarith.c jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c \
72
+ jddctmgr.c jdhuff.c jdinput.c jdmainct.c jdmarker.c jdmaster.c \
73
+ jdmerge.c jdpostct.c jdsample.c jdtrans.c jerror.c jfdctflt.c \
74
+ jfdctfst.c jfdctint.c jidctflt.c jidctfst.c jidctint.c jquant1.c \
75
+ jquant2.c jutils.c jmemmgr.c
76
+ # memmgr back ends: compile only one of these into a working library
77
+ SYSDEPSOURCES= jmemansi.c jmemname.c jmemnobs.c jmemdos.c jmemmac.c
78
+ # source files: cjpeg/djpeg/jpegtran applications, also rdjpgcom/wrjpgcom
79
+ APPSOURCES= cjpeg.c djpeg.c jpegtran.c rdjpgcom.c wrjpgcom.c cdjpeg.c \
80
+ rdcolmap.c rdswitch.c transupp.c rdppm.c wrppm.c rdgif.c wrgif.c \
81
+ rdtarga.c wrtarga.c rdbmp.c wrbmp.c rdrle.c wrrle.c
82
+ SOURCES= $(LIBSOURCES) $(SYSDEPSOURCES) $(APPSOURCES)
83
+ # files included by source files
84
+ INCLUDES= jdct.h jerror.h jinclude.h jmemsys.h jmorecfg.h jpegint.h \
85
+ jpeglib.h jversion.h cdjpeg.h cderror.h transupp.h
86
+ # documentation, test, and support files
87
+ DOCS= README install.txt usage.txt cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 \
88
+ wrjpgcom.1 wizard.txt example.c libjpeg.txt structure.txt \
89
+ coderules.txt filelist.txt change.log
90
+ MKFILES= configure Makefile.in makefile.ansi makefile.unix makefile.bcc \
91
+ makefile.mc6 makefile.dj makefile.wat makefile.vc makejdsw.vc6 \
92
+ makeadsw.vc6 makejdep.vc6 makejdsp.vc6 makejmak.vc6 makecdep.vc6 \
93
+ makecdsp.vc6 makecmak.vc6 makeddep.vc6 makeddsp.vc6 makedmak.vc6 \
94
+ maketdep.vc6 maketdsp.vc6 maketmak.vc6 makerdep.vc6 makerdsp.vc6 \
95
+ makermak.vc6 makewdep.vc6 makewdsp.vc6 makewmak.vc6 makejsln.vc9 \
96
+ makeasln.vc9 makejvcp.vc9 makecvcp.vc9 makedvcp.vc9 maketvcp.vc9 \
97
+ makervcp.vc9 makewvcp.vc9 makeproj.mac makcjpeg.st makdjpeg.st \
98
+ makljpeg.st maktjpeg.st makefile.manx makefile.sas makefile.mms \
99
+ makefile.vms makvms.opt
100
+ CONFIGFILES= jconfig.cfg jconfig.bcc jconfig.mc6 jconfig.dj jconfig.wat \
101
+ jconfig.vc jconfig.mac jconfig.st jconfig.manx jconfig.sas \
102
+ jconfig.vms
103
+ CONFIGUREFILES= config.guess config.sub install-sh ltmain.sh depcomp missing
104
+ OTHERFILES= jconfig.txt ckconfig.c ansi2knr.c ansi2knr.1 jmemdosa.asm \
105
+ libjpeg.map
106
+ TESTFILES= testorig.jpg testimg.ppm testimg.bmp testimg.jpg testprog.jpg \
107
+ testimgp.jpg
108
+ DISTFILES= $(DOCS) $(MKFILES) $(CONFIGFILES) $(SOURCES) $(INCLUDES) \
109
+ $(CONFIGUREFILES) $(OTHERFILES) $(TESTFILES)
110
+ # library object files common to compression and decompression
111
+ COMOBJECTS= jaricom.obj jcomapi.obj jutils.obj jerror.obj jmemmgr.obj $(SYSDEPMEM)
112
+ # compression library object files
113
+ CLIBOBJECTS= jcapimin.obj jcapistd.obj jcarith.obj jctrans.obj jcparam.obj \
114
+ jdatadst.obj jcinit.obj jcmaster.obj jcmarker.obj jcmainct.obj \
115
+ jcprepct.obj jccoefct.obj jccolor.obj jcsample.obj jchuff.obj \
116
+ jcdctmgr.obj jfdctfst.obj jfdctflt.obj jfdctint.obj
117
+ # decompression library object files
118
+ DLIBOBJECTS= jdapimin.obj jdapistd.obj jdarith.obj jdtrans.obj jdatasrc.obj \
119
+ jdmaster.obj jdinput.obj jdmarker.obj jdhuff.obj jdmainct.obj \
120
+ jdcoefct.obj jdpostct.obj jddctmgr.obj jidctfst.obj jidctflt.obj \
121
+ jidctint.obj jdsample.obj jdcolor.obj jquant1.obj jquant2.obj \
122
+ jdmerge.obj
123
+ # These objectfiles are included in libjpeg.lib
124
+ LIBOBJECTS= $(CLIBOBJECTS) $(DLIBOBJECTS) $(COMOBJECTS)
125
+ # object files for sample applications (excluding library files)
126
+ COBJECTS= cjpeg.obj rdppm.obj rdgif.obj rdtarga.obj rdrle.obj rdbmp.obj \
127
+ rdswitch.obj cdjpeg.obj
128
+ DOBJECTS= djpeg.obj wrppm.obj wrgif.obj wrtarga.obj wrrle.obj wrbmp.obj \
129
+ rdcolmap.obj cdjpeg.obj
130
+ TROBJECTS= jpegtran.obj rdswitch.obj cdjpeg.obj transupp.obj
131
+
132
+
133
+ all: libjpeg.lib cjpeg.exe djpeg.exe jpegtran.exe rdjpgcom.exe wrjpgcom.exe
134
+
135
+ libjpeg.lib: $(LIBOBJECTS)
136
+ - del libjpeg.lib
137
+ tlib libjpeg.lib /E /C @&&|
138
+ +jcapimin.obj +jcapistd.obj +jcarith.obj +jctrans.obj +jcparam.obj &
139
+ +jdatadst.obj +jcinit.obj +jcmaster.obj +jcmarker.obj +jcmainct.obj &
140
+ +jcprepct.obj +jccoefct.obj +jccolor.obj +jcsample.obj +jchuff.obj &
141
+ +jcdctmgr.obj +jfdctfst.obj +jfdctflt.obj +jfdctint.obj +jdapimin.obj &
142
+ +jdapistd.obj +jdarith.obj +jdtrans.obj +jdatasrc.obj +jdmaster.obj &
143
+ +jdinput.obj +jdmarker.obj +jdhuff.obj +jdmainct.obj +jdcoefct.obj &
144
+ +jdpostct.obj +jddctmgr.obj +jidctfst.obj +jidctflt.obj +jidctint.obj &
145
+ +jdsample.obj +jdcolor.obj +jquant1.obj +jquant2.obj +jdmerge.obj &
146
+ +jaricom.obj +jcomapi.obj +jutils.obj +jerror.obj +jmemmgr.obj &
147
+ $(SYSDEPMEMLIB)
148
+ |
149
+
150
+ cjpeg.exe: $(COBJECTS) libjpeg.lib
151
+ $(CC) $(LDFLAGS) -ecjpeg.exe $(COBJECTS) libjpeg.lib
152
+
153
+ djpeg.exe: $(DOBJECTS) libjpeg.lib
154
+ $(CC) $(LDFLAGS) -edjpeg.exe $(DOBJECTS) libjpeg.lib
155
+
156
+ jpegtran.exe: $(TROBJECTS) libjpeg.lib
157
+ $(CC) $(LDFLAGS) -ejpegtran.exe $(TROBJECTS) libjpeg.lib
158
+
159
+ rdjpgcom.exe: rdjpgcom.c
160
+ !if $d(DOS)
161
+ $(CC) -ms -O rdjpgcom.c
162
+ !else
163
+ $(CC) $(CFLAGS) rdjpgcom.c
164
+ !endif
165
+
166
+ # On DOS, wrjpgcom needs large model so it can malloc a 64K chunk
167
+ wrjpgcom.exe: wrjpgcom.c
168
+ !if $d(DOS)
169
+ $(CC) -ml -O wrjpgcom.c
170
+ !else
171
+ $(CC) $(CFLAGS) wrjpgcom.c
172
+ !endif
173
+
174
+ # This "{}" syntax allows Borland Make to "batch" source files.
175
+ # In this way, each run of the compiler can build many modules.
176
+ .c.obj:
177
+ $(CC) $(CFLAGS) -c{ $<}
178
+
179
+ jconfig.h: jconfig.txt
180
+ echo You must prepare a system-dependent jconfig.h file.
181
+ echo Please read the installation directions in install.txt.
182
+ exit 1
183
+
184
+ clean:
185
+ - del *.obj
186
+ - del libjpeg.lib
187
+ - del cjpeg.exe
188
+ - del djpeg.exe
189
+ - del jpegtran.exe
190
+ - del rdjpgcom.exe
191
+ - del wrjpgcom.exe
192
+ - del testout*.*
193
+
194
+ test: cjpeg.exe djpeg.exe jpegtran.exe
195
+ - del testout*.*
196
+ djpeg -dct int -ppm -outfile testout.ppm testorig.jpg
197
+ djpeg -dct int -bmp -colors 256 -outfile testout.bmp testorig.jpg
198
+ cjpeg -dct int -outfile testout.jpg testimg.ppm
199
+ djpeg -dct int -ppm -outfile testoutp.ppm testprog.jpg
200
+ cjpeg -dct int -progressive -opt -outfile testoutp.jpg testimg.ppm
201
+ jpegtran -outfile testoutt.jpg testprog.jpg
202
+ !if $d(DOS)
203
+ fc /b testimg.ppm testout.ppm
204
+ fc /b testimg.bmp testout.bmp
205
+ fc /b testimg.jpg testout.jpg
206
+ fc /b testimg.ppm testoutp.ppm
207
+ fc /b testimgp.jpg testoutp.jpg
208
+ fc /b testorig.jpg testoutt.jpg
209
+ !else
210
+ echo n > n.tmp
211
+ comp testimg.ppm testout.ppm < n.tmp
212
+ comp testimg.bmp testout.bmp < n.tmp
213
+ comp testimg.jpg testout.jpg < n.tmp
214
+ comp testimg.ppm testoutp.ppm < n.tmp
215
+ comp testimgp.jpg testoutp.jpg < n.tmp
216
+ comp testorig.jpg testoutt.jpg < n.tmp
217
+ del n.tmp
218
+ !endif
219
+
220
+
221
+ jaricom.obj: jaricom.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
222
+ jcapimin.obj: jcapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
223
+ jcapistd.obj: jcapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
224
+ jcarith.obj: jcarith.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
225
+ jccoefct.obj: jccoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
226
+ jccolor.obj: jccolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
227
+ jcdctmgr.obj: jcdctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
228
+ jchuff.obj: jchuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
229
+ jcinit.obj: jcinit.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
230
+ jcmainct.obj: jcmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
231
+ jcmarker.obj: jcmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
232
+ jcmaster.obj: jcmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
233
+ jcomapi.obj: jcomapi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
234
+ jcparam.obj: jcparam.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
235
+ jcprepct.obj: jcprepct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
236
+ jcsample.obj: jcsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
237
+ jctrans.obj: jctrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
238
+ jdapimin.obj: jdapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
239
+ jdapistd.obj: jdapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
240
+ jdarith.obj: jdarith.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
241
+ jdatadst.obj: jdatadst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
242
+ jdatasrc.obj: jdatasrc.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
243
+ jdcoefct.obj: jdcoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
244
+ jdcolor.obj: jdcolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
245
+ jddctmgr.obj: jddctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
246
+ jdhuff.obj: jdhuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
247
+ jdinput.obj: jdinput.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
248
+ jdmainct.obj: jdmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
249
+ jdmarker.obj: jdmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
250
+ jdmaster.obj: jdmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
251
+ jdmerge.obj: jdmerge.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
252
+ jdpostct.obj: jdpostct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
253
+ jdsample.obj: jdsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
254
+ jdtrans.obj: jdtrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
255
+ jerror.obj: jerror.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jversion.h jerror.h
256
+ jfdctflt.obj: jfdctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
257
+ jfdctfst.obj: jfdctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
258
+ jfdctint.obj: jfdctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
259
+ jidctflt.obj: jidctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
260
+ jidctfst.obj: jidctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
261
+ jidctint.obj: jidctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
262
+ jquant1.obj: jquant1.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
263
+ jquant2.obj: jquant2.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
264
+ jutils.obj: jutils.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
265
+ jmemmgr.obj: jmemmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
266
+ jmemansi.obj: jmemansi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
267
+ jmemname.obj: jmemname.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
268
+ jmemnobs.obj: jmemnobs.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
269
+ jmemdos.obj: jmemdos.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
270
+ jmemmac.obj: jmemmac.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
271
+ cjpeg.obj: cjpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h
272
+ djpeg.obj: djpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h
273
+ jpegtran.obj: jpegtran.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h transupp.h jversion.h
274
+ rdjpgcom.obj: rdjpgcom.c jinclude.h jconfig.h
275
+ wrjpgcom.obj: wrjpgcom.c jinclude.h jconfig.h
276
+ cdjpeg.obj: cdjpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
277
+ rdcolmap.obj: rdcolmap.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
278
+ rdswitch.obj: rdswitch.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
279
+ transupp.obj: transupp.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h transupp.h
280
+ rdppm.obj: rdppm.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
281
+ wrppm.obj: wrppm.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
282
+ rdgif.obj: rdgif.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
283
+ wrgif.obj: wrgif.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
284
+ rdtarga.obj: rdtarga.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
285
+ wrtarga.obj: wrtarga.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
286
+ rdbmp.obj: rdbmp.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
287
+ wrbmp.obj: wrbmp.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
288
+ rdrle.obj: rdrle.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
289
+ wrrle.obj: wrrle.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
290
+ jmemdosa.obj: jmemdosa.asm
291
+ tasm /mx jmemdosa.asm