Merge branch 'master' of git+ssh://sandmann@git.freedesktop.org/git/pixman
[profile/ivi/pixman.git] / test / Makefile.am
1 TEST_LDADD = $(top_builddir)/pixman/libpixman-1.la
2 INCLUDES = -I$(top_srcdir)/pixman -I$(top_builddir)/pixman
3
4 TESTPROGRAMS =                  \
5         region-test             \
6         scaling-test            \
7         fetch-test              \
8         trap-crasher
9
10 fetch_test_LDADD = $(TEST_LDADD)
11 region_test_LDADD = $(TEST_LDADD)
12 scaling_test_LDADD = $(TEST_LDADD)
13 trap_crasher_LDADD = $(TEST_LDADD)
14
15 # GTK using test programs
16
17 if HAVE_GTK
18
19 GTK_LDADD = $(TEST_LDADD) $(GTK_LIBS)
20
21 TESTPROGRAMS +=                 \
22         clip-test               \
23         clip-in                 \
24         composite-test          \
25         gradient-test           \
26         trap-test
27
28 noinst_PROGRAMS = $(TESTPROGRAMS)
29
30 INCLUDES += $(GTK_CFLAGS)
31
32 gradient_test_LDADD = $(GTK_LDADD)
33 gradient_test_SOURCES = gradient-test.c utils.c utils.h
34
35 composite_test_LDADD = $(GTK_LDADD)
36 composite_test_SOURCES = composite-test.c utils.c utils.h
37
38 clip_test_LDADD = $(GTK_LDADD)
39 clip_test_SOURCES = clip-test.c utils.c utils.h
40
41 clip_in_LDADD = $(GTK_LDADD)
42 clip_in_SOURCES = clip-in.c utils.c utils.h
43
44 trap_test_LDADD = $(GTK_LDADD)
45 trap_test_SOURCES = trap-test.c utils.c utils.h
46
47 endif
48