gstreamer/tests/examples/seek/Makefile.am
Tim-Philipp Müller 7d1c889956 examples: build silly joystick seek example only on linux
jsseek depends on linux headers and should therefore only be built
on linux.

Fixes #614764.
2010-04-04 12:15:04 +01:00

17 lines
439 B
Makefile

if HAVE_GTK_X11
if HAVE_LINUX_JOYSTICK_HEADERS
GTK_EXAMPLES=seek scrubby jsseek
else
GTK_EXAMPLES=seek scrubby
endif
endif
examples = $(GTK_EXAMPLES) stepping stepping2
noinst_PROGRAMS = $(examples)
LDADD = \
$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-@GST_MAJORMINOR@.la \
$(GST_LIBS) $(GTK_LIBS) $(LIBM)
AM_CFLAGS = -I$(top_builddir)/gst-libs $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GTK_CFLAGS)