2010-01-16 05:57:26 +00:00
|
|
|
GST_CAMERABIN_UI_FILES = gst-camera.ui
|
2009-06-12 07:40:48 +00:00
|
|
|
|
|
|
|
if HAVE_GTK
|
|
|
|
|
|
|
|
GST_CAMERABIN_GTK_EXAMPLES = gst-camera
|
|
|
|
|
2010-03-21 21:46:00 +00:00
|
|
|
gst_camera_SOURCES = gst-camera.h gst-camera.c
|
2009-06-12 07:40:48 +00:00
|
|
|
gst_camera_CFLAGS = \
|
2010-05-20 00:12:55 +00:00
|
|
|
$(GST_PLUGINS_BAD_CFLAGS) \
|
2010-01-16 05:57:26 +00:00
|
|
|
$(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) \
|
2010-01-16 10:41:20 +00:00
|
|
|
$(GTK_CFLAGS) \
|
|
|
|
$(GMODULE_EXPORT_CFLAGS) \
|
2009-06-12 07:40:48 +00:00
|
|
|
-DGST_USE_UNSTABLE_API
|
|
|
|
gst_camera_LDADD = \
|
2012-04-04 12:41:22 +00:00
|
|
|
$(top_builddir)/gst-libs/gst/interfaces/libgstphotography-@GST_API_VERSION@.la \
|
2009-06-12 07:40:48 +00:00
|
|
|
$(GST_PLUGINS_BASE_LIBS) \
|
2012-04-04 12:41:22 +00:00
|
|
|
-lgstvideo-@GST_API_VERSION@ \
|
2010-01-16 10:41:20 +00:00
|
|
|
$(GST_LIBS) \
|
|
|
|
$(GTK_LIBS) \
|
|
|
|
$(GMODULE_EXPORT_LIBS)
|
2009-06-12 07:40:48 +00:00
|
|
|
|
2010-08-30 13:20:08 +00:00
|
|
|
noinst_DATA = $(GST_CAMERABIN_UI_FILES)
|
2009-06-12 07:40:48 +00:00
|
|
|
|
2011-01-12 15:13:07 +00:00
|
|
|
INCLUDES = -DCAMERA_APPS_UIDIR=\""$(srcdir)"\"
|
2009-06-12 07:40:48 +00:00
|
|
|
|
|
|
|
else
|
|
|
|
GST_CAMERABIN_GTK_EXAMPLES =
|
|
|
|
endif
|
|
|
|
|
|
|
|
gst_camera_perf_SOURCES = gst-camera-perf.c
|
|
|
|
gst_camera_perf_CFLAGS = $(GST_CFLAGS)
|
2011-01-12 15:13:07 +00:00
|
|
|
gst_camera_perf_LDADD = $(GST_LIBS)
|
2009-06-12 07:40:48 +00:00
|
|
|
|
2009-11-26 10:12:06 +00:00
|
|
|
if HAVE_X11
|
|
|
|
|
|
|
|
GST_CAMERABIN_X11_EXAMPLES = gst-camerabin-test
|
|
|
|
|
|
|
|
gst_camerabin_test_SOURCES = gst-camerabin-test.c
|
2010-04-22 14:46:59 +00:00
|
|
|
gst_camerabin_test_CFLAGS = $(GST_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_PLUGINS_BAD_CFLAGS)
|
|
|
|
gst_camerabin_test_LDADD = \
|
2012-04-04 12:41:22 +00:00
|
|
|
$(top_builddir)/gst-libs/gst/interfaces/libgstphotography-@GST_API_VERSION@.la \
|
|
|
|
-lgstvideo-@GST_API_VERSION@ \
|
2010-04-22 14:46:59 +00:00
|
|
|
$(GST_LIBS) \
|
|
|
|
$(GST_PLUGINS_BASE_LIBS) \
|
|
|
|
$(X11_LIBS)
|
2009-11-26 10:12:06 +00:00
|
|
|
|
|
|
|
else
|
|
|
|
GST_CAMERABIN_X11_EXAMPLES =
|
|
|
|
endif
|
|
|
|
|
2010-05-14 23:18:52 +00:00
|
|
|
noinst_PROGRAMS = gst-camera-perf $(GST_CAMERABIN_X11_EXAMPLES) $(GST_CAMERABIN_GTK_EXAMPLES)
|
2009-06-12 07:40:48 +00:00
|
|
|
|
2010-01-16 05:57:26 +00:00
|
|
|
EXTRA_DIST = $(GST_CAMERABIN_UI_FILES)
|
2009-06-12 07:40:48 +00:00
|
|
|
|