Makefile.am 1.37 KB
Newer Older
1
2
3
if HAVE_GTK
GTK_TESTS = gdkpixbufsink-test
gdkpixbufsink_test_SOURCES = gdkpixbufsink-test.c
4
5
gdkpixbufsink_test_CFLAGS  = $(GST_CFLAGS) $(GTK_CFLAGS)
gdkpixbufsink_test_LDADD   = $(GST_LIBS) $(GTK_LIBS)
6
7
8
9
else
GTK_TESTS =
endif

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
10
11
12
13
if USE_GST_V4L2
V4L2_TESTS = v4l2src-test

v4l2src_test_SOURCES = v4l2src-test.c
Jan Schmidt's avatar
Jan Schmidt committed
14
15
v4l2src_test_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
v4l2src_test_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstinterfaces-$(GST_MAJORMINOR) $(GST_LIBS)
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
16
17
18
19
20

else
V4L2_TESTS =
endif

21
22
23
24
25
26
27
28
29
30
31
if USE_OSS4
OSS4_TESTS=test-oss4

test_oss4_SOURCES = test-oss4.c
test_oss4_CFLAGS  = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
test_oss4_LDADD   = $(GST_PLUGINS_BASE_LIBS) -lgstinterfaces-0.10 $(GST_LIBS)
test_oss4_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
else
OSS4_TESTS=
endif

32
if USE_X
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
33
X_TESTS = ximagesrc-test
34
35
36

ximagesrc_test_SOURCES = ximagesrc-test.c
ximagesrc_test_CFLAGS = $(GST_CFLAGS)
37
ximagesrc_test_LDADD = $(GST_LIBS)
38
39
40
41
else
X_TESTS =
endif

42
43
44
45
videocrop_test_SOURCES = videocrop-test.c
videocrop_test_CFLAGS  = $(GST_CFLAGS)
videocrop_test_LDADD   = $(GST_LIBS)

46
47
48
49
videobox_test_SOURCES = videobox-test.c
videobox_test_CFLAGS  = $(GST_CFLAGS)
videobox_test_LDADD   = $(GST_LIBS)

50
51
52
53
videocrop2_test_SOURCES = videocrop2-test.c
videocrop2_test_CFLAGS  = $(GST_CFLAGS)
videocrop2_test_LDADD   = $(GST_LIBS)

54
noinst_PROGRAMS = $(GTK_TESTS) $(OSS4_TESTS) $(V4L2_TESTS) $(X_TESTS) videocrop-test videobox-test videocrop2-test
55