1 ###############################################################################
2 # Automake targets and declarations
3 ###############################################################################
5 AUTOMAKE_OPTIONS = subdir-objects
7 ###############################################################################
9 ###############################################################################
13 test_libvlc_media_list \
14 test_libvlc_media_list_player \
15 test_libvlc_media_player \
17 check_DATA = samples/test.sample
19 TESTS = $(check_PROGRAMS)
21 DISTCLEANFILES = samples/test.sample
24 SAMPLES_SERVER=http://streams.videolan.org/streams-videolan/reference
28 curl $(SAMPLES_SERVER)/avi/Hero-Div3.avi > $@
30 CFLAGS_tests = `$(VLC_CONFIG) --cflags libvlc`
32 test_libvlc_core_SOURCES = libvlc/core.c
33 test_libvlc_core_LDADD = $(top_builddir)/src/libvlc-control.la
34 test_libvlc_core_CFLAGS = $(CFLAGS_tests)
36 test_libvlc_events_SOURCES = libvlc/events.c
37 test_libvlc_events_LDADD = $(top_builddir)/src/libvlc-control.la
38 test_libvlc_events_CFLAGS = $(CFLAGS_tests)
40 test_libvlc_media_list_player_SOURCES = libvlc/media_list_player.c
41 test_libvlc_media_list_player_LDADD = $(top_builddir)/src/libvlc-control.la
42 test_libvlc_media_list_player_CFLAGS = $(CFLAGS_tests)
44 test_libvlc_media_list_SOURCES = libvlc/media_list.c
45 test_libvlc_media_list_LDADD = $(top_builddir)/src/libvlc-control.la
46 test_libvlc_media_list_CFLAGS = $(CFLAGS_tests)
48 test_libvlc_media_player_SOURCES = libvlc/media_player.c
49 test_libvlc_media_player_LDADD = $(top_builddir)/src/libvlc-control.la
50 test_libvlc_media_player_CFLAGS = $(CFLAGS_tests)
53 @echo "Generated source cannot be phony. Go away." >&2