Merge remote-tracking branch 'origin/master' into 0.11
[platform/upstream/gst-plugins-good.git] / tests / icles / Makefile.am
1 if HAVE_GTK
2 GTK_TESTS = gdkpixbufsink-test
3 gdkpixbufsink_test_SOURCES = gdkpixbufsink-test.c
4 gdkpixbufsink_test_CFLAGS  = $(GST_CFLAGS) $(GTK_CFLAGS)
5 gdkpixbufsink_test_LDADD   = $(GST_LIBS) $(GTK_LIBS)
6 else
7 GTK_TESTS =
8 endif
9
10 if USE_GST_V4L2
11 V4L2_TESTS = v4l2src-test
12
13 v4l2src_test_SOURCES = v4l2src-test.c
14 v4l2src_test_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
15 v4l2src_test_LDADD = $(GST_PLUGINS_BASE_LIBS) \
16                      -lgstvideo-$(GST_MAJORMINOR) \
17                      -lgstinterfaces-$(GST_MAJORMINOR) $(GST_LIBS)
18
19 else
20 V4L2_TESTS =
21 endif
22
23 if USE_OSS4
24 OSS4_TESTS=test-oss4
25
26 test_oss4_SOURCES = test-oss4.c
27 test_oss4_CFLAGS  = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
28 test_oss4_LDADD   = $(GST_PLUGINS_BASE_LIBS) -lgstinterfaces-$(GST_MAJORMINOR) $(GST_LIBS)
29 test_oss4_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
30 else
31 OSS4_TESTS=
32 endif
33
34 if USE_X
35 X_TESTS = ximagesrc-test
36
37 ximagesrc_test_SOURCES = ximagesrc-test.c
38 ximagesrc_test_CFLAGS = $(GST_CFLAGS)
39 ximagesrc_test_LDADD = $(GST_LIBS)
40 else
41 X_TESTS =
42 endif
43
44 equalizer_test_SOURCES = equalizer-test.c
45 equalizer_test_CFLAGS  = $(GST_CFLAGS)
46 equalizer_test_LDADD   = $(GST_LIBS)
47
48 videocrop_test_SOURCES = videocrop-test.c
49 videocrop_test_CFLAGS  = $(GST_CFLAGS)
50 videocrop_test_LDADD   = $(GST_LIBS)
51
52 videobox_test_SOURCES = videobox-test.c
53 videobox_test_CFLAGS  = $(GST_CFLAGS)
54 videobox_test_LDADD   = $(GST_LIBS)
55
56 videocrop2_test_SOURCES = videocrop2-test.c
57 videocrop2_test_CFLAGS  = $(GST_CFLAGS)
58 videocrop2_test_LDADD   = $(GST_LIBS)
59
60 noinst_PROGRAMS = $(GTK_TESTS) $(OSS4_TESTS) $(V4L2_TESTS) $(X_TESTS) equalizer-test videocrop-test videobox-test videocrop2-test
61