2010-02-16 13:43:26 +00:00
|
|
|
EXAMPLES =
|
|
|
|
|
|
|
|
if USE_X
|
|
|
|
|
|
|
|
if HAVE_GTK_X11
|
|
|
|
EXAMPLES += gtk-xoverlay
|
|
|
|
|
|
|
|
gtk_xoverlay_SOURCES = gtk-xoverlay.c
|
2010-03-19 01:00:36 +00:00
|
|
|
gtk_xoverlay_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(X_CFLAGS) $(GTK_CFLAGS)
|
2010-02-16 13:43:26 +00:00
|
|
|
gtk_xoverlay_LDADD = $(GST_LIBS) $(X_LIBS) $(LIBM) $(GTK_LIBS) \
|
|
|
|
$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-$(GST_MAJORMINOR).la
|
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_QT
|
|
|
|
EXAMPLES += qt-xoverlay
|
|
|
|
|
|
|
|
qt_xoverlay_SOURCES = qt-xoverlay.cpp
|
2010-03-19 01:00:36 +00:00
|
|
|
qt_xoverlay_CXXFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CXXFLAGS) $(X_CFLAGS) $(QT_CFLAGS)
|
2010-02-16 13:43:26 +00:00
|
|
|
qt_xoverlay_LDADD = $(GST_LIBS) $(X_LIBS) $(LIBM) $(QT_LIBS) \
|
|
|
|
$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-$(GST_MAJORMINOR).la
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_QT_GV
|
|
|
|
EXAMPLES += qtgv-xoverlay
|
|
|
|
|
2010-03-08 14:46:17 +00:00
|
|
|
qtgv_xoverlay_SOURCES = qtgv-xoverlay.cpp qtgv-xoverlay.h
|
2010-03-19 01:00:36 +00:00
|
|
|
qtgv_xoverlay_CXXFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CXXFLAGS) $(X_CFLAGS) $(QT_CFLAGS)
|
2010-02-16 13:43:26 +00:00
|
|
|
qtgv_xoverlay_LDADD = $(GST_LIBS) $(X_LIBS) $(LIBM) $(QT_LIBS) \
|
|
|
|
$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-$(GST_MAJORMINOR).la
|
|
|
|
|
|
|
|
# qt moc support, according to http://qtnode.net/wiki/Qt_with_autotools
|
|
|
|
|
|
|
|
nodist_qtgv_xoverlay_SOURCES = moc_qtgv-xoverlay.cpp
|
|
|
|
|
|
|
|
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
|
|
|
|
2010-03-08 14:46:17 +00:00
|
|
|
EXTRA_DIST = $(nodist_qtgv_xoverlay_SOURCES:moc_%.cpp=%.h)
|
2010-02-16 13:43:26 +00:00
|
|
|
CLEANFILES = $(nodist_qtgv_xoverlay_SOURCES)
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
noinst_PROGRAMS = $(EXAMPLES)
|
|
|
|
|