summaryrefslogtreecommitdiffstats
path: root/test/Makefile.am
blob: ff6e8f2ce27d69beee55fdaa078a1f5ac4aa7252 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# TurboJPEG wrapper tests

noinst_PROGRAMS=tjunittest tjbench

tjunittest_SOURCES=tjunittest.c ../common/turbojpeg.c ../common/turbojpeg.h \
	tjutil.c tjutil.h

tjbench_SOURCES=tjbench.c ../common/turbojpeg.c ../common/turbojpeg.h \
	tjutil.c tjutil.h bmp.c bmp.h
tjbench_LDADD=$(LDADD) -lm

INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/common
LDADD = ../libvncserver/libvncserver.la ../libvncclient/libvncclient.la @WSOCKLIB@

if HAVE_LIBPTHREAD
BACKGROUND_TEST=blooptest
ENCODINGS_TEST=encodingstest
endif

copyrecttest_LDADD=$(LDADD) -lm

check_PROGRAMS=$(ENCODINGS_TEST) cargstest copyrecttest $(BACKGROUND_TEST) \
	cursortest

test: encodingstest$(EXEEXT) cargstest$(EXEEXT) copyrecttest$(EXEEXT)
	./encodingstest && ./cargstest