Refactored jpegut to test the new TurboJPEG API.  There is no legacy code remaining, so the refactored version of the program has been re-licensed under a BSD-style license.


git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@618 632fc199-4ca6-4c93-a231-07263d6284db
diff --git a/Makefile.am b/Makefile.am
index 9237233..8ba8185 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -81,7 +81,7 @@
 
 jpgtest_LDADD = libturbojpeg.la -lm
 
-jpegut_SOURCES = $(TSTHDRS) jpegut.c bmp.h bmp.c
+jpegut_SOURCES = $(TSTHDRS) jpegut.c bmp.h bmp.c tjutil.h tjutil.c
 
 jpegut_LDADD = libturbojpeg.la
 
@@ -144,6 +144,7 @@
 	$(JAVA) -cp java/turbojpeg.jar -Djava.library.path=.libs TJUnitTest -yuv -bi
 endif
 	./jpegut
+	./jpegut -alloc
 	./jpegut -yuv
 	./cjpeg -dct int -outfile testoutint.jpg $(srcdir)/testorig.ppm
 	cmp $(srcdir)/testimgint.jpg testoutint.jpg