gstreamer/tests/icles/Makefile.am
Tim-Philipp Müller 3a5db6a932 configure.ac: Check for libglade-2.0, for the metadata-editor example.
Original commit message from CVS:
* configure.ac:
Check for libglade-2.0, for the metadata-editor example.
* tests/icles/Makefile.am:
Only try to build the metadata-editor example if we have gtk and
glade (otherwise the build would just fail ...); fix build in
uninstalled setup.
* tests/icles/metadata_editor.c: (on_cell_edited), (ui_add_columns):
Fix compiler warnings (use GLib macros to cast pointer <-> int).
2008-01-26 12:11:47 +00:00

42 lines
961 B
Makefile

if USE_SOUNDTOUCH
GST_SOUNDTOUCH_TESTS = pitch-test
pitch_test_SOURCES = pitch-test.c
pitch_test_CFLAGS = $(GST_CONTROLLER_CFLAGS)
pitch_test_LDADD = $(GST_CONTROLLER_LIBS)
pitch_test_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
else
GST_SOUNDTOUCH_TESTS =
endif
if USE_METADATA
if HAVE_GLADE
if HAVE_GTK
GST_METADATA_TESTS = metadata_editor
metadata_editor_SOURCES = metadata_editor.c
metadata_editor_CFLAGS = \
$(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(GLADE_CFLAGS)
metadata_editor_LDADD = \
$(GST_PLUGINS_BASE_LIBS) -lgstinterfaces-0.10 $(GST_LIBS) $(GLADE_LIBS)
metadata_editor_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
else
GST_METADATA_TESTS =
endif
else
GST_METADATA_TESTS =
endif
else
GST_METADATA_TESTS =
endif
equalizer_test_SOURCES = equalizer-test.c
equalizer_test_CFLAGS = $(GST_CFLAGS)
equalizer_test_LDADD = $(GST_LIBS)
equalizer_test_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
noinst_PROGRAMS = $(GST_SOUNDTOUCH_TESTS) $(GST_METADATA_TESTS) equalizer-test