2010-02-16 13:43:26 +00:00
|
|
|
EXAMPLES =
|
|
|
|
|
|
|
|
if USE_X
|
|
|
|
|
|
|
|
if HAVE_GTK_X11
|
2011-08-08 12:55:21 +00:00
|
|
|
EXAMPLES += gtk-videooverlay
|
2010-02-16 13:43:26 +00:00
|
|
|
|
2011-08-08 12:55:21 +00:00
|
|
|
gtk_videooverlay_SOURCES = gtk-videooverlay.c
|
|
|
|
gtk_videooverlay_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(X_CFLAGS) $(GTK_CFLAGS)
|
2011-08-08 13:16:39 +00:00
|
|
|
gtk_videooverlay_LDADD = \
|
|
|
|
$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-$(GST_MAJORMINOR).la \
|
|
|
|
$(GST_LIBS) $(X_LIBS) $(LIBM) $(GTK_LIBS)
|
2010-02-16 13:43:26 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_QT
|
2011-08-08 12:55:21 +00:00
|
|
|
EXAMPLES += qt-videooverlay
|
2010-02-16 13:43:26 +00:00
|
|
|
|
2011-08-08 12:55:21 +00:00
|
|
|
qt_videooverlay_SOURCES = qt-videooverlay.cpp
|
|
|
|
qt_videooverlay_CXXFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CXXFLAGS) $(X_CFLAGS) $(QT_CFLAGS)
|
2011-08-08 13:16:39 +00:00
|
|
|
qt_videooverlay_LDADD = \
|
|
|
|
$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-$(GST_MAJORMINOR).la \
|
|
|
|
$(GST_LIBS) $(X_LIBS) $(LIBM) $(QT_LIBS)
|
2010-02-16 13:43:26 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_QT_GV
|
2011-08-08 12:55:21 +00:00
|
|
|
EXAMPLES += qtgv-videooverlay
|
2010-02-16 13:43:26 +00:00
|
|
|
|
2011-08-08 12:55:21 +00:00
|
|
|
qtgv_videooverlay_SOURCES = qtgv-videooverlay.cpp qtgv-videooverlay.h
|
|
|
|
qtgv_videooverlay_CXXFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CXXFLAGS) $(X_CFLAGS) $(QT_CFLAGS)
|
2011-08-08 13:16:39 +00:00
|
|
|
qtgv_videooverlay_LDADD = \
|
|
|
|
$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-$(GST_MAJORMINOR).la \
|
|
|
|
$(GST_LIBS) $(X_LIBS) $(LIBM) $(QT_LIBS)
|
2010-02-16 13:43:26 +00:00
|
|
|
|
|
|
|
# qt moc support, according to http://qtnode.net/wiki/Qt_with_autotools
|
|
|
|
|
2011-08-08 12:55:21 +00:00
|
|
|
nodist_qtgv_videooverlay_SOURCES = moc_qtgv-videooverlay.cpp
|
2010-02-16 13:43:26 +00:00
|
|
|
|
|
|
|
moc_%.cpp:%.h
|
2010-06-01 12:00:22 +00:00
|
|
|
$(AM_V_GEN)$(QT4_MOC) $< -o $@
|
2010-02-16 13:43:26 +00:00
|
|
|
|
2011-08-08 12:55:21 +00:00
|
|
|
EXTRA_DIST = $(nodist_qtgv_videooverlay_SOURCES:moc_%.cpp=%.h)
|
|
|
|
CLEANFILES = $(nodist_qtgv_videooverlay_SOURCES)
|
2010-02-16 13:43:26 +00:00
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
noinst_PROGRAMS = $(EXAMPLES)
|
|
|
|
|