tizen 2.0 init
[framework/multimedia/gst-plugins-bad0.10.git] / tests / examples / camerabin2 / Makefile.am
1 GST_CAMERABIN_UI_FILES = gst-camera2.ui
2
3 if HAVE_GTK
4
5 GST_CAMERABIN_GTK_EXAMPLES = gst-camera2
6
7 gst_camera2_SOURCES = gst-camera2.h gst-camera2.c
8 gst_camera2_CFLAGS  = \
9         $(GST_PLUGINS_BAD_CFLAGS) \
10         $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) \
11         $(GTK_CFLAGS) \
12         $(GMODULE_EXPORT_CFLAGS) \
13         -DGST_USE_UNSTABLE_API
14 gst_camera2_LDADD   = \
15         $(top_builddir)/gst-libs/gst/interfaces/libgstphotography-@GST_MAJORMINOR@.la \
16         $(GST_PLUGINS_BASE_LIBS) \
17         -lgstinterfaces-@GST_MAJORMINOR@ \
18         -lgstpbutils-@GST_MAJORMINOR@ \
19         $(GST_LIBS) \
20         $(GTK_LIBS) \
21         $(GMODULE_EXPORT_LIBS)
22
23 noinst_DATA = $(GST_CAMERABIN_UI_FILES)
24
25 INCLUDES = -DCAMERA_APPS_UIDIR=\""$(srcdir)"\"
26
27 else
28 GST_CAMERABIN_GTK_EXAMPLES =
29 endif
30
31 if HAVE_X11
32
33 GST_CAMERABIN_X11_EXAMPLES = gst-camerabin2-test
34
35 gst_camerabin2_test_SOURCES = gst-camerabin2-test.c
36 gst_camerabin2_test_CFLAGS  = $(GST_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_PLUGINS_BAD_CFLAGS)
37 gst_camerabin2_test_LDADD   = \
38         $(top_builddir)/gst-libs/gst/interfaces/libgstphotography-@GST_MAJORMINOR@.la \
39         $(GST_PLUGINS_BASE_LIBS) \
40         -lgstinterfaces-@GST_MAJORMINOR@ \
41         -lgstpbutils-@GST_MAJORMINOR@ \
42         -lgstvideo-@GST_MAJORMINOR@ \
43         $(GST_BASE_LIBS) \
44         $(GST_LIBS) \
45         $(X11_LIBS)
46
47 else
48 GST_CAMERABIN_X11_EXAMPLES =
49 endif
50
51 noinst_PROGRAMS = $(GST_CAMERABIN_GTK_EXAMPLES) $(GST_CAMERABIN_X11_EXAMPLES)
52
53 EXTRA_DIST = $(GST_CAMERABIN_UI_FILES)
54