Permalink
Browse files

Added all files to git.

  • Loading branch information...
0 parents commit cba8773e5ad234e7a98b9d2684f582374c9647fb Thomas Richter committed Jul 27, 2012
Showing with 56,336 additions and 0 deletions.
  1. +27 −0 CVS/Entries
  2. +1 −0 CVS/Repository
  3. +1 −0 CVS/Root
  4. +326 −0 Makefile
  5. +218 −0 Makefile.template
  6. +35 −0 Makefile_Settings.gcc
  7. +94 −0 README
  8. +47 −0 README.history
  9. +674 −0 README.license
  10. +31 −0 automakefile.in
  11. +4 −0 cmd/CVS/Entries
  12. +1 −0 cmd/CVS/Repository
  13. +1 −0 cmd/CVS/Root
  14. +18 −0 cmd/Makefile
  15. +898 −0 cmd/main.cpp
  16. +57 −0 cmd/main.hpp
  17. +46 −0 codestream/CVS/Entries
  18. +1 −0 codestream/CVS/Repository
  19. +1 −0 codestream/CVS/Root
  20. +23 −0 codestream/Makefile
  21. +571 −0 codestream/acdifferentiallosslessscan.cpp
  22. +203 −0 codestream/acdifferentiallosslessscan.hpp
  23. +642 −0 codestream/acdifferentialsequentialscan.cpp
  24. +327 −0 codestream/acdifferentialsequentialscan.hpp
  25. +661 −0 codestream/aclosslessscan.cpp
  26. +205 −0 codestream/aclosslessscan.hpp
  27. +434 −0 codestream/acrefinementscan.cpp
  28. +197 −0 codestream/acrefinementscan.hpp
  29. +651 −0 codestream/acsequentialscan.cpp
  30. +330 −0 codestream/acsequentialscan.hpp
  31. +117 −0 codestream/decoder.cpp
  32. +98 −0 codestream/decoder.hpp
  33. +463 −0 codestream/differentiallosslessscan.cpp
  34. +161 −0 codestream/differentiallosslessscan.hpp
  35. +644 −0 codestream/differentialscan.cpp
  36. +178 −0 codestream/differentialscan.hpp
  37. +185 −0 codestream/encoder.cpp
  38. +97 −0 codestream/encoder.hpp
  39. +228 −0 codestream/entropyparser.cpp
  40. +214 −0 codestream/entropyparser.hpp
  41. +725 −0 codestream/image.cpp
  42. +224 −0 codestream/image.hpp
  43. +283 −0 codestream/jpeglsscan.cpp
  44. +666 −0 codestream/jpeglsscan.hpp
  45. +382 −0 codestream/lineinterleavedlsscan.cpp
  46. +83 −0 codestream/lineinterleavedlsscan.hpp
  47. +568 −0 codestream/losslessscan.cpp
  48. +163 −0 codestream/losslessscan.hpp
  49. +248 −0 codestream/rectanglerequest.cpp
  50. +158 −0 codestream/rectanglerequest.hpp
  51. +698 −0 codestream/refinementscan.cpp
  52. +181 −0 codestream/refinementscan.hpp
  53. +557 −0 codestream/residualhuffmanscan.cpp
  54. +206 −0 codestream/residualhuffmanscan.hpp
  55. +630 −0 codestream/residualscan.cpp
  56. +274 −0 codestream/residualscan.hpp
  57. +426 −0 codestream/sampleinterleavedlsscan.cpp
  58. +86 −0 codestream/sampleinterleavedlsscan.hpp
  59. +660 −0 codestream/sequentialscan.cpp
  60. +180 −0 codestream/sequentialscan.hpp
  61. +348 −0 codestream/singlecomponentlsscan.cpp
  62. +82 −0 codestream/singlecomponentlsscan.hpp
  63. +1,055 −0 codestream/tables.cpp
  64. +230 −0 codestream/tables.hpp
  65. +24 −0 coding/CVS/Entries
  66. +1 −0 coding/CVS/Repository
  67. +1 −0 coding/CVS/Root
  68. +18 −0 coding/Makefile
  69. +122 −0 coding/actemplate.cpp
  70. +116 −0 coding/actemplate.hpp
  71. +76 −0 coding/arithmetictemplate.cpp
  72. +80 −0 coding/arithmetictemplate.hpp
  73. +339 −0 coding/arthdeco.cpp
  74. +150 −0 coding/arthdeco.hpp
  75. +97 −0 coding/blockrow.cpp
  76. +128 −0 coding/blockrow.hpp
  77. +52 −0 coding/decodertemplate.cpp
  78. +83 −0 coding/decodertemplate.hpp
  79. +83 −0 coding/huffmancoder.cpp
  80. +98 −0 coding/huffmancoder.hpp
  81. +52 −0 coding/huffmandecoder.cpp
  82. +128 −0 coding/huffmandecoder.hpp
  83. +184 −0 coding/huffmanstatistics.cpp
  84. +97 −0 coding/huffmanstatistics.hpp
  85. +369 −0 coding/huffmantemplate.cpp
  86. +164 −0 coding/huffmantemplate.hpp
  87. +547 −0 coding/qmcoder.cpp
  88. +267 −0 coding/qmcoder.hpp
  89. +53 −0 coding/quantizedrow.cpp
  90. +78 −0 coding/quantizedrow.hpp
  91. +12 −0 colortrafo/CVS/Entries
  92. +1 −0 colortrafo/CVS/Repository
  93. +1 −0 colortrafo/CVS/Root
  94. +18 −0 colortrafo/Makefile
  95. +76 −0 colortrafo/colortrafo.cpp
  96. +144 −0 colortrafo/colortrafo.hpp
  97. +511 −0 colortrafo/lslosslesstrafo.cpp
  98. +146 −0 colortrafo/lslosslesstrafo.hpp
  99. +266 −0 colortrafo/rcttrafo.cpp
  100. +102 −0 colortrafo/rcttrafo.hpp
  101. +286 −0 colortrafo/trivialtrafo.cpp
  102. +103 −0 colortrafo/trivialtrafo.hpp
  103. +287 −0 colortrafo/ycbcrtrafo.cpp
  104. +101 −0 colortrafo/ycbcrtrafo.hpp
  105. +375 −0 config.h
  106. +1,004 −0 configure.in
  107. +26 −0 control/CVS/Entries
  108. +1 −0 control/CVS/Repository
  109. +1 −0 control/CVS/Root
  110. +21 −0 control/Makefile
  111. +163 −0 control/bitmapctrl.cpp
  112. +174 −0 control/bitmapctrl.hpp
  113. +680 −0 control/blockbitmaprequester.cpp
  114. +194 −0 control/blockbitmaprequester.hpp
  115. +403 −0 control/blockbuffer.cpp
  116. +191 −0 control/blockbuffer.hpp
  117. +404 −0 control/blocklineadapter.cpp
  118. +220 −0 control/blocklineadapter.hpp
  119. +57 −0 control/bufferctrl.cpp
  120. +103 −0 control/bufferctrl.hpp
  121. +871 −0 control/hierarchicalbitmaprequester.cpp
  122. +213 −0 control/hierarchicalbitmaprequester.hpp
  123. +164 −0 control/lineadapter.cpp
  124. +178 −0 control/lineadapter.hpp
  125. +611 −0 control/linebitmaprequester.cpp
  126. +183 −0 control/linebitmaprequester.hpp
  127. +331 −0 control/linebuffer.cpp
  128. +187 −0 control/linebuffer.hpp
  129. +269 −0 control/linelineadapter.cpp
  130. +200 −0 control/linelineadapter.hpp
  131. +601 −0 control/linemerger.cpp
  132. +253 −0 control/linemerger.hpp
  133. +551 −0 control/residualblockhelper.cpp
  134. +143 −0 control/residualblockhelper.hpp
  135. +7 −0 cptosvn
  136. +4 −0 ctrafo/CVS/Entries
  137. +1 −0 ctrafo/CVS/Repository
  138. +1 −0 ctrafo/CVS/Root
  139. +16 −0 ctrafo/Makefile
  140. +129 −0 ctrafo/YCbCr444ToRGB.cpp
  141. +82 −0 ctrafo/YCbCr444ToRGB.hpp
  142. +19 −0 cutheader.pl
  143. +14 −0 dct/CVS/Entries
  144. +1 −0 dct/CVS/Repository
  145. +1 −0 dct/CVS/Root
  146. +16 −0 dct/Makefile
  147. +79 −0 dct/dct.cpp
  148. +95 −0 dct/dct.hpp
  149. +316 −0 dct/fdct.cpp
  150. +102 −0 dct/fdct.hpp
  151. +276 −0 dct/hadamard.cpp
  152. +122 −0 dct/hadamard.hpp
  153. +345 −0 dct/idct.cpp
  154. +134 −0 dct/idct.hpp
  155. +907 −0 dct/idct_alt.cpp
  156. +148 −0 dct/idct_alt.hpp
  157. +242 −0 dct/sermsdct.cpp
  158. +131 −0 dct/sermsdct.hpp
  159. +1,219 −0 doxyconfig
  160. +43 −0 doxyfilter.py
  161. +18 −0 interface/CVS/Entries
  162. +1 −0 interface/CVS/Repository
  163. +1 −0 interface/CVS/Root
  164. +17 −0 interface/Makefile
  165. +242 −0 interface/bitmaphook.cpp
  166. +149 −0 interface/bitmaphook.hpp
  167. +58 −0 interface/hooks.cpp
  168. +182 −0 interface/hooks.hpp
  169. +203 −0 interface/imagebitmap.cpp
  170. +201 −0 interface/imagebitmap.hpp
  171. +589 −0 interface/jpeg.cpp
  172. +190 −0 interface/jpeg.hpp
  173. +55 −0 interface/jpgtypes.cpp
  174. +114 −0 interface/jpgtypes.hpp
  175. +59 −0 interface/parameters.cpp
  176. +826 −0 interface/parameters.hpp
  177. +305 −0 interface/tagitem.cpp
  178. +317 −0 interface/tagitem.hpp
  179. +60 −0 interface/types.cpp
  180. +263 −0 interface/types.hpp
  181. +14 −0 io/CVS/Entries
  182. +1 −0 io/CVS/Repository
  183. +1 −0 io/CVS/Root
  184. +17 −0 io/Makefile
  185. +52 −0 io/bitstream.cpp
  186. +320 −0 io/bitstream.hpp
  187. +289 −0 io/bytestream.cpp
  188. +320 −0 io/bytestream.hpp
  189. +622 −0 io/iostream.cpp
  190. +178 −0 io/iostream.hpp
  191. +428 −0 io/memorystream.cpp
  192. +175 −0 io/memorystream.hpp
  193. +104 −0 io/randomaccessstream.cpp
  194. +124 −0 io/randomaccessstream.hpp
  195. +51 −0 io/staticstream.cpp
  196. +116 −0 io/staticstream.hpp
  197. +34 −0 marker/CVS/Entries
  198. +1 −0 marker/CVS/Repository
  199. +1 −0 marker/CVS/Root
  200. +20 −0 marker/Makefile
  201. +177 −0 marker/actable.cpp
  202. +92 −0 marker/actable.hpp
  203. +124 −0 marker/adobemarker.cpp
  204. +116 −0 marker/adobemarker.hpp
  205. +114 −0 marker/component.cpp
  206. +186 −0 marker/component.hpp
  207. +134 −0 marker/exifmarker.cpp
  208. +89 −0 marker/exifmarker.hpp
  209. +893 −0 marker/frame.cpp
  210. +303 −0 marker/frame.hpp
  211. +209 −0 marker/huffmantable.cpp
  212. +95 −0 marker/huffmantable.hpp
  213. +136 −0 marker/jfifmarker.cpp
  214. +106 −0 marker/jfifmarker.hpp
  215. +104 −0 marker/losslessmarker.cpp
  216. +91 −0 marker/losslessmarker.hpp
  217. +228 −0 marker/lscolortrafo.cpp
  218. +166 −0 marker/lscolortrafo.hpp
  219. +296 −0 marker/quantization.cpp
  220. +96 −0 marker/quantization.hpp
  221. +192 −0 marker/residualmarker.cpp
  222. +203 −0 marker/residualmarker.hpp
  223. +93 −0 marker/restartintervalmarker.cpp
  224. +101 −0 marker/restartintervalmarker.hpp
  225. +877 −0 marker/scan.cpp
  226. +266 −0 marker/scan.hpp
  227. +53 −0 marker/scantypes.cpp
  228. +76 −0 marker/scantypes.hpp
  229. +133 −0 marker/thresholds.cpp
  230. +133 −0 marker/thresholds.hpp
  231. +281 −0 marker/tonemappingmarker.cpp
  232. +147 −0 marker/tonemappingmarker.hpp
  233. +61 −0 newheader
  234. +24 −0 std/CVS/Entries
  235. +1 −0 std/CVS/Repository
  236. +1 −0 std/CVS/Root
  237. +20 −0 std/Makefile
  238. +52 −0 std/assert.cpp
  239. +71 −0 std/assert.hpp
  240. +55 −0 std/ctype.cpp
  241. +65 −0 std/ctype.hpp
  242. +50 −0 std/errno.cpp
  243. +68 −0 std/errno.hpp
  244. +45 −0 std/math.cpp
  245. +82 −0 std/math.hpp
  246. +45 −0 std/setjmp.cpp
  247. +69 −0 std/setjmp.hpp
  248. +45 −0 std/stdarg.cpp
  249. +65 −0 std/stdarg.hpp
  250. +45 −0 std/stddef.cpp
  251. +65 −0 std/stddef.hpp
  252. +69 −0 std/stdio.cpp
  253. +80 −0 std/stdio.hpp
  254. +45 −0 std/stdlib.cpp
  255. +88 −0 std/stdlib.hpp
  256. +45 −0 std/string.cpp
  257. +224 −0 std/string.hpp
  258. +102 −0 std/unistd.cpp
  259. +115 −0 std/unistd.hpp
  260. +12 −0 tools/CVS/Entries
  261. +1 −0 tools/CVS/Repository
  262. +1 −0 tools/CVS/Root
  263. +20 −0 tools/Makefile
  264. +52 −0 tools/debug.cpp
  265. +68 −0 tools/debug.hpp
  266. +919 −0 tools/environment.cpp
  267. +1,065 −0 tools/environment.hpp
  268. +53 −0 tools/line.cpp
  269. +83 −0 tools/line.hpp
  270. +55 −0 tools/rectangle.cpp
  271. +214 −0 tools/rectangle.hpp
  272. +45 −0 tools/traits.cpp
  273. +468 −0 tools/traits.hpp
  274. +10 −0 upsampling/CVS/Entries
  275. +1 −0 upsampling/CVS/Repository
  276. +1 −0 upsampling/CVS/Root
  277. +16 −0 upsampling/Makefile
  278. +170 −0 upsampling/downsampler.cpp
  279. +84 −0 upsampling/downsampler.hpp
  280. +303 −0 upsampling/downsamplerbase.cpp
  281. +137 −0 upsampling/downsamplerbase.hpp
  282. +411 −0 upsampling/upsampler.cpp
  283. +83 −0 upsampling/upsampler.hpp
  284. +299 −0 upsampling/upsamplerbase.cpp
  285. +134 −0 upsampling/upsamplerbase.hpp
@@ -0,0 +1,27 @@
+/Makefile/1.3/Sun May 20 16:36:08 2012//
+/Makefile.template/1.9/Sun May 20 16:17:27 2012//
+/Makefile_Settings.gcc/1.2/Wed Feb 8 17:29:28 2012//
+/README/1.4/Thu Jul 26 19:40:31 2012//
+/README.history/1.3/Thu Jul 26 19:40:31 2012//
+/README.license/1.1/Sat Jun 2 10:27:13 2012//
+/automakefile.in/1.2/Sun May 20 16:17:27 2012//
+/config.h/1.5/Sat Jun 2 12:13:49 2012//
+/configure.in/1.5/Sat Jun 2 18:24:12 2012//
+/cptosvn/1.1/Sat Jun 2 18:50:30 2012//
+/cutheader.pl/1.1/Sat Jun 2 10:27:13 2012//
+/doxyconfig/1.2/Sat Jun 2 18:50:30 2012//
+/doxyfilter.py/1.1/Sun May 20 16:36:08 2012//
+/newheader/1.1/Sat Jun 2 10:27:13 2012//
+D/cmd////
+D/codestream////
+D/coding////
+D/colortrafo////
+D/control////
+D/ctrafo////
+D/dct////
+D/interface////
+D/io////
+D/marker////
+D/std////
+D/tools////
+D/upsampling////
@@ -0,0 +1 @@
+jpeg
@@ -0,0 +1 @@
+/var/cvs
326 Makefile
@@ -0,0 +1,326 @@
+#######################################################################
+##
+## $Id: Makefile,v 1.3 2012-05-20 16:36:08 thor Exp $
+##
+#######################################################################
+## Makefile for the jpeg project,
+## THOR Software, May 20, 2012, Thomas Richter for Accusoft/Pegasus
+#######################################################################
+##
+##
+.PHONY: clean debug final valgrind valfinal coverage all install doc dox distrib \
+ verbose profile profgen profuse Distrib.zip view realclean \
+ uninstall link linkglobal linkprofuse linkprofgen linkprof \
+ lib libstatic libdebug tar help
+
+all: debug
+
+help:
+ @ echo "JPEG Linux/Solaris/AIX Edition. Available make targets:"
+ @ echo "clean : cleanup directories, remove object code"
+ @ echo " a second clean will remove autoconf generated files"
+ @ echo "debug : debug-build target without optimizations and "
+ @ echo " debugger support (default)"
+ @ echo "final : final build with optimizer enabled and no debugging"
+ @ echo "valgrind : debug build without internal memory munger, allows"
+ @ echo " to detect memory leaks with valgrind"
+ @ echo "valfinal : final build for valgrind with debug symbols"
+ @ echo "coverage : build for coverage check tools"
+ @ echo "doc : build the documentation"
+ @ echo "distrib : build distribution zip archive"
+ @ echo "tar : build distribution tar archive"
+ @ echo "verbose : debug build with verbose logging"
+ @ echo "profile : build with profiler support"
+ @ echo "profgen : ICC build target for collecting profiling information"
+ @ echo "profuse : second stage optimizer, uses profiling information"
+ @ echo " collected with 'make profgen' generated target"
+ @ echo "lib : generate libjpeg.so"
+ @ echo "libdebug : generate debug-able libjpeg.so"
+ @ echo "libstatic : generate libjpeg.a"
+ @ echo "install : install jpeg into ~/bin/wavelet"
+ @ echo "uninstall : remove jpeg from ~/bin/wavelet"
+
+#####################################################################
+## Varous Autoconf related settings ##
+#####################################################################
+
+configure: configure.in
+ @ rm -f automakefile autoconfig.h autoconfig.h.in
+ @ autoconf
+ @ autoheader
+
+autoconfig.h.in: configure.in
+ @ autoheader
+
+autoconfig.h: autoconfig.h.in configure
+ @ touch autoconfig.h
+ @ ./configure
+
+##
+## faked rule for the automake file to shut up
+## realclean and clean targets. All others depend
+## on autoconfig.h and thus on this file anyhow.
+automakefile:
+ @ echo "" >automakefile
+
+##
+##
+## Include autoconf settings as soon as we have them
+## will be included by recursive make process
+##
+-include automakefile
+
+#####################################################################
+#####################################################################
+##
+## Build up the absolute path for the makefile containing the
+## compiler specific definitions
+##
+ifdef SETTINGS
+##
+## Autoconf selection
+COMPILER_SETTINGS= $(shell pwd)/Makefile_Settings.$(SETTINGS)
+else
+##
+## Fallback for realclean, clean
+COMPILER_SETTINGS= $(shell pwd)/Makefile_Settings.gcc
+endif
+AUTOMAKEFILE= $(shell pwd)/automakefile
+
+##
+## Include the project specific definitions
+
+include Makefile.template
+
+#####################################################################
+#####################################################################
+
+ifdef PREFIX
+INSTALLDIR = $(PREFIX)
+else
+INSTALLDIR = $(HOME)/wavelet/bin
+endif
+
+##
+##
+
+##
+## sub-directory libraries, automatically computed
+##
+
+DIRLIBS = $(foreach dir,$(DIRS),$(dir).dir)
+BUILDLIBS = $(foreach dir,$(DIRS),$(dir).build)
+FINALLIBS = $(foreach dir,$(DIRS),$(dir)/lib$(dir).a)
+SHAREDLIBS = $(foreach dir,$(DIRS),$(dir)/lib_$(dir).a)
+OBJECTLIST = $(foreach dir,$(DIRS),$(dir)/objects.list)
+LIBOBJECTLIST = $(foreach dir,$(DIRS),$(dir)/libobjects.list)
+
+%.dir:
+ @ $(MAKE) COMPILER_SETTINGS=$(COMPILER_SETTINGS) AUTOMAKEFILE=$(AUTOMAKEFILE) \
+ --no-print-directory -C $* sub$(TARGET)
+
+%.build:
+ @ $(MAKE) COMPILER_SETTINGS=$(COMPILER_SETTINGS) AUTOMAKEFILE=$(AUTOMAKEFILE) \
+ MAKEFILE=$(shell if test -f $*/Makefile.$(HWTYPE); then echo Makefile.$(HWTYPE); else echo Makefile;fi) \
+ --no-print-directory -C $* -f \
+ $(shell if test -f $*/Makefile.$(HWTYPE); then echo Makefile.$(HWTYPE); else echo Makefile;fi) \
+ sub$(TARGET)
+
+echo_settings:
+ @ $(ECHO) "Using $(CXX) $(OPTIMIZER) $(CFLAGS) $(PTHREADCFLAGS)"
+
+#####################################################################
+#####################################################################
+##
+## Various link targets
+##
+
+link:
+ @ $(ECHO) "Linking..."
+ @ $(CAT) $(OBJECTLIST) >objects.list
+ @ $(LD) $(LDFLAGS) $(PTHREADLDFLAGS) `cat objects.list` \
+ $(LDLIBS) $(PTHREADLIBS) $(SDL_LDFLAGS) -o jpeg
+
+linkglobal:
+ @ $(ECHO) "Linking..."
+ @ $(CAT) $(OBJECTLIST) >objects.list
+ @ $(LD) $(LDFLAGS) $(PTHREADLDFLAGS) $(GLOBFLAGS) `cat objects.list` \
+ $(LDLIBS) $(PTHREADLIBS) $(SDL_LDFLAGS) -o jpeg
+
+linkprofgen:
+ @ $(ECHO) "Linking..."
+ @ $(CAT) $(OBJECTLIST) >objects.list
+ @ $(LD) $(LDFLAGS) $(PTHREADLDFLAGS) $(PROFGEN) `cat objects.list` \
+ $(LDLIBS) $(PTHREADLIBS) $(SDL_LDFLAGS) -o jpeg
+linkprofuse:
+ @ $(ECHO) "Linking..."
+ @ $(CAT) $(OBJECTLIST) >objects.list
+ @ $(LD) $(LDFLAGS) $(PTHREADLDFLAGS) $(GLOBFLAGS) $(PROFUSE) `cat objects.list` \
+ $(LDLIBS) $(PTHREADLIBS) $(SDL_LDFLAGS) -o jpeg
+
+linkprof:
+ @ $(ECHO) "Linking..."
+ @ $(CAT) $(OBJECTLIST) >objects.list
+ @ $(LD) $(LDFLAGS) $(PTHREADLDFLAGS) $(LDPROF) `cat objects.list` \
+ $(LDLIBS) $(PTHREADLIBS) $(SDL_LDFLAGS) -o jpeg
+
+linkcoverage:
+ @ $(ECHO) "Linking..."
+ @ $(CAT) $(OBJECTLIST) >objects.list
+ @ $(LD) $(LDFLAGS) $(PTHREADLDFLAGS) $(LDCOVERAGE) `cat objects.list` \
+ $(LDLIBS) $(PTHREADLIBS) $(SDL_LDFLAGS) -o jpeg
+
+linklib:
+ @ $(ECHO) "Linking..."
+ @ $(CAT) $(LIBOBJECTLIST) >libobjects.list
+ @ $(CC_ONLY) $(LDFLAGS) `cat libobjects.list | sed 's/std\/unistd.o//'` \
+ $(LDLIBS) $(PTHREADLIBS) $(LD_OPTS) -shared --strip-all --no-undefined -o libjpeg.so
+
+linklibstatic:
+ @ $(ECHO) "Linking..."
+ @ $(CAT) $(LIBOBJECTLIST) >libobjects.list
+ @ $(AR) $(AROPTS) libjpeg.a `cat libobjects.list | sed 's/std\/unistd.o//'`
+
+linklibdebug:
+ @ $(ECHO) "Linking..."
+ @ $(CAT) $(LIBOBJECTLIST) >libobjects.list
+ @ $(LD) $(LDFLAGS) `cat libobjects.list` \
+ $(LDLIBS) $(PTHREADLIBS) $(LD_OPTS) -shared --no-undefined -o libjpeg.so
+
+#####################################################################
+#####################################################################
+##
+## Various make targets
+##
+
+debug : autoconfig.h
+ @ $(MAKE) --no-print-directory echo_settings $(BUILDLIBS) \
+ TARGET="$@"
+ @ $(MAKE) --no-print-directory link
+
+verbose : autoconfig.h
+ @ $(MAKE) --no-print-directory echo_settings $(BUILDLIBS) \
+ TARGET="$@"
+ @ $(MAKE) --no-print-directory link
+
+final : autoconfig.h
+ @ $(MAKE) --no-print-directory echo_settings $(BUILDLIBS) \
+ TARGET="$@"
+ @ $(MAKE) --no-print-directory link
+
+global : autoconfig.h
+ @ $(MAKE) --no-print-directory echo_settings $(BUILDLIBS) \
+ TARGET="$@"
+ @ $(MAKE) --no-print-directory linkglobal
+
+profgen : autoconfig.h
+ @ $(MAKE) --no-print-directory echo_settings $(BUILDLIBS) \
+ TARGET="$@"
+ @ $(MAKE) --no-print-directory linkprofgen
+
+profuse : autoconfig.h
+ @ $(MAKE) --no-print-directory echo_settings $(BUILDLIBS) \
+ TARGET="$@"
+ @ $(MAKE) --no-print-directory linkprofuse
+
+profile : autoconfig.h
+ @ $(MAKE) --no-print-directory echo_settings $(BUILDLIBS) \
+ TARGET="$@"
+ @ $(MAKE) --no-print-directory linkprof
+
+valgrind: autoconfig.h
+ @ $(MAKE) --no-print-directory echo_settings $(BUILDLIBS) \
+ TARGET="$@"
+ @ $(MAKE) --no-print-directory link
+
+valfinal: autoconfig.h
+ @ $(MAKE) --no-print-directory echo_settings $(BUILDLIBS) \
+ TARGET="$@"
+ @ $(MAKE) --no-print-directory link
+
+coverage: autoconfig.h
+ @ $(MAKE) --no-print-directory echo_settings $(BUILDLIBS) \
+ TARGET="$@"
+ @ $(MAKE) --no-print-directory linkcoverage
+
+lib: autoconfig.h
+ @ $(MAKE) --no-print-directory echo_settings $(BUILDLIBS) \
+ TARGET="$@"
+ @ $(MAKE) --no-print-directory linklib
+
+libstatic: autoconfig.h
+ @ $(MAKE) --no-print-directory echo_settings $(BUILDLIBS) \
+ TARGET="$@"
+ @ $(MAKE) --no-print-directory linklibstatic
+
+libdebug: autoconfig.h
+ @ $(MAKE) --no-print-directory echo_settings $(BUILDLIBS) \
+ TARGET="$@"
+ @ $(MAKE) --no-print-directory linklibdebug
+
+clean :
+ @ find . -name "*.d" -exec rm {} \;
+ @ $(MAKE) --no-print-directory $(BUILDLIBS) \
+ TARGET="$@"
+ @ rm -rf *.dpi *.so jpeg gmon.out core Distrib.zip objects.list libobjects.list libjpeg.so
+ @ if test -f "doc/Makefile"; then $(MAKE) --no-print-directory -C doc clean; fi
+ @ rm -rf dox/html
+
+distclean : realclean
+ @ $(MAKE) configure
+ @ $(MAKE) autoconfig.h.in
+
+realclean : clean
+ @ rm -f *.jpeg *.ppm *.pgm *.bmp *.pgx *.pgx_?.h *.pgx_?.raw *.jp2 *.jpc cachegrind.out* gmon.out *.zip *.tgz
+ @ find . -name "*.da" -exec rm {} \;
+ @ find . -name "*.bb" -exec rm {} \;
+ @ find . -name "*.bbg" -exec rm {} \;
+ @ find . -name "*.gcov" -exec rm {} \;
+ @ find . -name "*.dyn" -exec rm {} \;
+ @ find . -name "*.dpi" -exec rm {} \;
+ @ rm -rf /tmp/*.dyn /tmp/*.dpi
+ @ rm -rf automakefile autoconfig.h configure
+
+distrib : Distrib.zip
+
+Distrib.zip : doc dox configure autoconfig.h.in
+ @ touch interface/jpeg.hpp
+ @ sleep 2
+ @ touch configure.in
+ @ sleep 2
+ @ touch autoconfig.h.in
+ @ sleep 2
+ @ touch configure
+ @ $(MAKE) --no-print-directory $(DIRLIBS) TARGET="zip"
+ @ $(ZIPASCII) -r Distrib.zip README Compile.txt config.h
+ @ $(ZIP) -r Distrib.zip Makefile Makefile.template Makefile_Settings.*
+ @ $(ZIP) -r Distrib.zip configure configure.in automakefile.in autoconfig.h.in
+ @ $(ZIP) -r Distrib.zip dox/html
+
+tar : distrib.tgz
+
+distrib.tgz : doc configure autoconfig.h.in
+ @ touch interface/jpeg.hpp
+ @ sleep 2
+ @ touch configure.in
+ @ sleep 2
+ @ touch autoconfig.h.in
+ @ sleep 2
+ @ touch configure
+ @ tar cf distrib.tar --exclude="CVS" --exclude=".*" --exclude="*~" --exclude="*.s" --exclude="*.d" --exclude="*.o" --exclude="*.list" --exclude="*.a" $(DIRS)
+ @ tar rf distrib.tar README Compile.txt config.h
+ @ tar rf distrib.tar Makefile Makefile.template Makefile_Settings.*
+ @ tar rf distrib.tar configure configure.in automakefile.in autoconfig.h.in
+ @ gzip distrib.tar
+ @ mv distrib.tar.gz distrib.tgz
+
+install :
+ @ mkdir -p $(INSTALLDIR)
+ @ cp jpeg $(INSTALLDIR)
+
+uninstall :
+ @ rm -rf $(INSTALLDIR)/jpeg
+
+dox :
+ @ doxygen doxyconfig
+
Oops, something went wrong.

0 comments on commit cba8773

Please sign in to comment.