Makefile.am
上传用户:kjfoods
上传日期:2020-07-06
资源大小:29949k
文件大小:2k
源码类别:

midi

开发平台:

Unix_Linux

  1. ###############################################################################
  2. # Automake targets and declarations
  3. ###############################################################################
  4. AUTOMAKE_OPTIONS = subdir-objects
  5. ###############################################################################
  6. # Unit/regression test
  7. ###############################################################################
  8. check_PROGRAMS = 
  9. test_libvlc_core 
  10. test_libvlc_events 
  11. test_libvlc_media_list 
  12. test_libvlc_media_list_player 
  13. $(NULL)
  14. EXTRA_PROGRAMS = 
  15. test_libvlc_media_player 
  16. test_libvlc_meta 
  17. $(NULL)
  18. #check_DATA = samples/test.sample samples/meta.sample
  19. EXTRA_DIST = samples/empty.voc
  20. check_HEADERS = libvlc/test.h
  21. TESTS = $(check_PROGRAMS)
  22. DISTCLEANFILES = samples/test.sample samples/meta.sample
  23. # Samples server
  24. SAMPLES_SERVER=http://streams.videolan.org/streams-videolan/reference
  25. samples/test.sample:
  26. mkdir -p `dirname $@`
  27. curl $(SAMPLES_SERVER)/avi/Hero-Div3.avi > $@
  28. samples/meta.sample:
  29. mkdir -p `dirname $@`
  30. curl $(SAMPLES_SERVER)/metadata/id3tag/Wesh-Bonneville.mp3 > $@
  31. CFLAGS_tests = `$(VLC_CONFIG) --cflags libvlc` -DSRCDIR="$(srcdir)"
  32. test_libvlc_core_SOURCES = libvlc/core.c
  33. test_libvlc_core_LDADD = $(top_builddir)/src/libvlc.la
  34. test_libvlc_core_CFLAGS = $(CFLAGS_tests)
  35. test_libvlc_events_SOURCES = libvlc/events.c
  36. test_libvlc_events_LDADD = $(top_builddir)/src/libvlc.la
  37. test_libvlc_events_CFLAGS = $(CFLAGS_tests)
  38. test_libvlc_media_list_player_SOURCES = libvlc/media_list_player.c
  39. test_libvlc_media_list_player_LDADD = $(top_builddir)/src/libvlc.la
  40. test_libvlc_media_list_player_CFLAGS = $(CFLAGS_tests)
  41. test_libvlc_media_list_SOURCES = libvlc/media_list.c
  42. test_libvlc_media_list_LDADD = $(top_builddir)/src/libvlc.la
  43. test_libvlc_media_list_CFLAGS = $(CFLAGS_tests)
  44. test_libvlc_media_player_SOURCES = libvlc/media_player.c
  45. test_libvlc_media_player_LDADD = $(top_builddir)/src/libvlc.la
  46. test_libvlc_media_player_CFLAGS = $(CFLAGS_tests)
  47. test_libvlc_meta_SOURCES = libvlc/meta.c
  48. test_libvlc_meta_LDADD = $(top_builddir)/src/libvlc.la
  49. test_libvlc_meta_CFLAGS = $(CFLAGS_tests)
  50. checkall:
  51. $(MAKE) check_PROGRAMS="$(check_PROGRAMS) $(EXTRA_PROGRAMS)" check
  52. FORCE:
  53. @echo "Generated source cannot be phony. Go away." >&2
  54. @exit 1
  55. .PHONY: FORCE