2009-06-05 14:14:27 -06:00
|
|
|
TEST_LDADD = $(top_builddir)/pixman/libpixman-1.la
|
|
|
|
INCLUDES = -I$(top_srcdir)/pixman -I$(top_builddir)/pixman
|
|
|
|
|
2008-09-23 13:11:40 -06:00
|
|
|
TESTPROGRAMS = \
|
2010-10-03 12:30:04 -06:00
|
|
|
a1-trap-test \
|
2009-06-05 14:14:27 -06:00
|
|
|
region-test \
|
|
|
|
fetch-test \
|
2010-03-25 15:58:52 -06:00
|
|
|
oob-test \
|
|
|
|
window-test \
|
2010-10-03 12:30:04 -06:00
|
|
|
trap-crasher \
|
|
|
|
alphamap \
|
|
|
|
blitters-test \
|
|
|
|
scaling-test \
|
|
|
|
composite
|
2009-06-05 14:14:27 -06:00
|
|
|
|
2010-10-03 12:30:04 -06:00
|
|
|
a1_trap_test_LDADD = $(TEST_LDADD)
|
2009-06-05 14:14:27 -06:00
|
|
|
fetch_test_LDADD = $(TEST_LDADD)
|
2010-10-03 12:30:04 -06:00
|
|
|
composite_LDADD = $(TEST_LDADD)
|
2009-06-05 14:14:27 -06:00
|
|
|
trap_crasher_LDADD = $(TEST_LDADD)
|
2010-03-25 15:58:52 -06:00
|
|
|
oob_test_LDADD = $(TEST_LDADD)
|
|
|
|
window_test_LDADD = $(TEST_LDADD)
|
2009-06-05 14:14:27 -06:00
|
|
|
|
2010-10-03 12:30:04 -06:00
|
|
|
region_test_LDADD = $(TEST_LDADD)
|
|
|
|
region_test_SOURCES = region-test.c utils.c utils.h
|
|
|
|
|
|
|
|
blitters_test_LDADD = $(TEST_LDADD)
|
|
|
|
blitters_test_SOURCES = blitters-test.c utils.c utils.h
|
|
|
|
|
|
|
|
scaling_test_LDADD = $(TEST_LDADD)
|
|
|
|
scaling_test_SOURCES = scaling-test.c utils.c utils.h
|
|
|
|
|
|
|
|
alphamap_LDADD = $(TEST_LDADD)
|
|
|
|
alphamap_SOURCES = alphamap.c utils.c utils.h
|
|
|
|
|
2009-06-05 14:14:27 -06:00
|
|
|
# GTK using test programs
|
|
|
|
|
|
|
|
if HAVE_GTK
|
|
|
|
|
|
|
|
GTK_LDADD = $(TEST_LDADD) $(GTK_LIBS)
|
2010-10-03 12:30:04 -06:00
|
|
|
GTK_UTILS = gtk-utils.c gtk-utils.h
|
2009-06-05 14:14:27 -06:00
|
|
|
|
2010-10-03 12:30:04 -06:00
|
|
|
TESTPROGRAMS_GTK = \
|
2008-09-23 13:11:40 -06:00
|
|
|
clip-test \
|
2009-06-05 14:14:27 -06:00
|
|
|
clip-in \
|
2007-10-03 14:48:33 -06:00
|
|
|
composite-test \
|
2008-04-08 13:00:25 -06:00
|
|
|
gradient-test \
|
2009-06-05 14:14:27 -06:00
|
|
|
alpha-test \
|
2010-03-25 15:58:52 -06:00
|
|
|
screen-test \
|
|
|
|
convolution-test \
|
2010-10-03 12:30:04 -06:00
|
|
|
trap-test \
|
|
|
|
alphamap
|
2007-10-03 14:48:33 -06:00
|
|
|
|
2009-06-05 14:14:27 -06:00
|
|
|
INCLUDES += $(GTK_CFLAGS)
|
|
|
|
|
|
|
|
gradient_test_LDADD = $(GTK_LDADD)
|
2010-10-03 12:30:04 -06:00
|
|
|
gradient_test_SOURCES = gradient-test.c $(GTK_UTILS)
|
2009-06-05 14:14:27 -06:00
|
|
|
|
|
|
|
alpha_test_LDADD = $(GTK_LDADD)
|
2010-10-03 12:30:04 -06:00
|
|
|
alpha_test_SOURCES = alpha-test.c $(GTK_UTILS)
|
2007-10-03 14:48:33 -06:00
|
|
|
|
2009-06-05 14:14:27 -06:00
|
|
|
composite_test_LDADD = $(GTK_LDADD)
|
2010-10-03 12:30:04 -06:00
|
|
|
composite_test_SOURCES = composite-test.c $(GTK_UTILS)
|
2009-06-05 14:14:27 -06:00
|
|
|
|
|
|
|
clip_test_LDADD = $(GTK_LDADD)
|
2010-10-03 12:30:04 -06:00
|
|
|
clip_test_SOURCES = clip-test.c $(GTK_UTILS)
|
2009-06-05 14:14:27 -06:00
|
|
|
|
|
|
|
clip_in_LDADD = $(GTK_LDADD)
|
2010-10-03 12:30:04 -06:00
|
|
|
clip_in_SOURCES = clip-in.c $(GTK_UTILS)
|
2009-06-05 14:14:27 -06:00
|
|
|
|
|
|
|
trap_test_LDADD = $(GTK_LDADD)
|
2010-10-03 12:30:04 -06:00
|
|
|
trap_test_SOURCES = trap-test.c $(GTK_UTILS)
|
2007-10-03 14:48:33 -06:00
|
|
|
|
2010-03-25 15:58:52 -06:00
|
|
|
screen_test_LDADD = $(GTK_LDADD)
|
2010-10-03 12:30:04 -06:00
|
|
|
screen_test_SOURCES = screen-test.c $(GTK_UTILS)
|
2010-03-25 15:58:52 -06:00
|
|
|
|
|
|
|
convolution_test_LDADD = $(GTK_LDADD)
|
2010-10-03 12:30:04 -06:00
|
|
|
convolution_test_SOURCES = convolution-test.c $(GTK_UTILS)
|
2010-03-25 15:58:52 -06:00
|
|
|
|
2008-04-08 13:00:25 -06:00
|
|
|
endif
|
2009-06-05 14:14:27 -06:00
|
|
|
|
2010-10-03 12:30:04 -06:00
|
|
|
noinst_PROGRAMS = $(TESTPROGRAMS) $(TESTPROGRAMS_GTK)
|
|
|
|
|
|
|
|
TESTS = $(TESTPROGRAMS)
|
2010-03-25 15:58:52 -06:00
|
|
|
|