JACK tools
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

177 lines
4.8KB

  1. AUTOMAKE_OPTIONS = subdir-objects
  2. MAINTAINERCLEANFILES = Makefile.in
  3. if HAVE_READLINE
  4. JACK_TRANSPORT = jack_transport
  5. dist-check-readline:
  6. else
  7. JACK_TRANSPORT =
  8. dist-check-readline:
  9. @echo
  10. @echo ' ******' You need readline installed to make dist.' ******'
  11. @echo
  12. @false
  13. endif
  14. NETJACK_TOOLS = jack_netsource
  15. EXTRA_TOOLS =
  16. if HAVE_SAMPLERATE
  17. if HAVE_ALSA
  18. EXTRA_TOOLS += alsa_in alsa_out
  19. endif
  20. dist-check-samplerate:
  21. else
  22. dist-check-samplerate:
  23. @echo
  24. @echo ' ******' You need libsamplerate installed to make dist.' ******'
  25. @echo
  26. @false
  27. endif
  28. bin_PROGRAMS = jack_load \
  29. jack_unload \
  30. jack_monitor_client \
  31. jack_connect \
  32. jack_disconnect \
  33. jack_lsp \
  34. jack_freewheel \
  35. jack_evmon \
  36. jack_alias \
  37. jack_bufsize \
  38. jack_samplerate \
  39. jack_session_notify \
  40. jack_wait \
  41. jack_midi_dump \
  42. jack_iodelay \
  43. jack_load_test \
  44. jack_property \
  45. $(EXTRA_TOOLS) \
  46. $(JACK_TRANSPORT) \
  47. $(NETJACK_TOOLS)
  48. noinst_PROGRAMS = jack_thread_wait
  49. if HAVE_SNDFILE
  50. # note! jackrec_CFLAGS syntax not supported by automake-1.4
  51. sndfile_cflags = @SNDFILE_CFLAGS@
  52. endif
  53. AM_CFLAGS = -I.. $(JACK_CFLAGS) $(sndfile_cflags)
  54. AM_CXXFLAGS = -I.. $(JACK_CFLAGS) $(sndfile_cflags)
  55. jack_property_SOURCES = property.c
  56. jack_property_LDFLAGS = @OS_LDFLAGS@
  57. jack_property_LDADD = $(top_builddir)/libjack/libjack.la
  58. jack_connect_SOURCES = connect.c
  59. jack_connect_LDFLAGS = @OS_LDFLAGS@
  60. jack_connect_LDADD = $(top_builddir)/libjack/libjack.la
  61. jack_disconnect_SOURCES = connect.c
  62. jack_disconnect_LDFLAGS = @OS_LDFLAGS@
  63. jack_disconnect_LDADD = $(top_builddir)/libjack/libjack.la
  64. jack_monitor_client_SOURCES = monitor_client.c
  65. jack_monitor_client_LDFLAGS = @OS_LDFLAGS@
  66. jack_monitor_client_LDADD = $(top_builddir)/libjack/libjack.la
  67. jack_thread_wait_SOURCES = tw.c
  68. jack_thread_wait_LDFLAGS = @OS_LDFLAGS@
  69. jack_thread_wait_LDADD = $(top_builddir)/libjack/libjack.la
  70. jack_wait_SOURCES = wait.c
  71. jack_wait_LDFLAGS = @OS_LDFLAGS@
  72. jack_wait_LDADD = $(top_builddir)/libjack/libjack.la
  73. jack_evmon_SOURCES = evmon.c
  74. jack_evmon_LDFLAGS = @OS_LDFLAGS@
  75. jack_evmon_LDADD = $(top_builddir)/libjack/libjack.la
  76. jack_alias_SOURCES = alias.c
  77. jack_alias_LDFLAGS = @OS_LDFLAGS@
  78. jack_alias_LDADD = $(top_builddir)/libjack/libjack.la
  79. jack_lsp_SOURCES = lsp.c
  80. jack_lsp_LDFLAGS = @OS_LDFLAGS@
  81. jack_lsp_LDADD = $(top_builddir)/libjack/libjack.la
  82. jack_freewheel_SOURCES = freewheel.c
  83. jack_freewheel_LDFLAGS = @OS_LDFLAGS@
  84. jack_freewheel_LDADD = $(top_builddir)/libjack/libjack.la
  85. jack_bufsize_SOURCES = bufsize.c
  86. jack_bufsize_LDFLAGS = @OS_LDFLAGS@
  87. jack_bufsize_LDADD = $(top_builddir)/libjack/libjack.la
  88. jack_samplerate_SOURCES = samplerate.c
  89. jack_samplerate_LDFLAGS = @OS_LDFLAGS@
  90. jack_samplerate_LDADD = $(top_builddir)/libjack/libjack.la
  91. jack_session_notify_SOURCES = session_notify.c
  92. jack_session_notify_LDFLAGS = @OS_LDFLAGS@
  93. jack_session_notify_LDADD = $(top_builddir)/libjack/libjack.la
  94. jack_midi_dump_SOURCES = midi_dump.c
  95. jack_midi_dump_LDFLAGS = @OS_LDFLAGS@
  96. jack_midi_dump_LDADD = $(top_builddir)/libjack/libjack.la
  97. jack_iodelay_SOURCES = iodelay.c
  98. jack_iodelay_LDFLAGS = @OS_LDFLAGS@
  99. jack_iodelay_LDADD = $(top_builddir)/libjack/libjack.la
  100. if HAVE_READLINE
  101. jack_transport_SOURCES = transport.c
  102. jack_transport_LDFLAGS = -lreadline @READLINE_DEPS@ @OS_LDFLAGS@
  103. jack_transport_LDADD = $(top_builddir)/libjack/libjack.la
  104. endif
  105. jack_load_test_SOURCES = load_test.c
  106. jack_load_test_LDFLAGS = @OS_LDFLAGS@
  107. jack_load_test_LDADD = $(top_builddir)/libjack/libjack.la
  108. #
  109. # General purpose in-process loader/unloader
  110. #
  111. jack_load_SOURCES = ipload.c
  112. jack_load_LDFLAGS = @OS_LDFLAGS@
  113. jack_load_LDADD = $(top_builddir)/libjack/libjack.la
  114. jack_unload_SOURCES = ipunload.c
  115. jack_unload_LDFLAGS = @OS_LDFLAGS@
  116. jack_unload_LDADD = $(top_builddir)/libjack/libjack.la
  117. #
  118. # Netjack slave tools
  119. #
  120. jack_netsource_SOURCES = netsource.c
  121. jack_netsource_CFLAGS = @NETJACK_CFLAGS@ -I$(top_srcdir)/drivers/netjack
  122. jack_netsource_LDFLAGS = @NETJACK_LIBS@ @OS_LDFLAGS@
  123. jack_netsource_LDADD = $(top_builddir)/libjack/libjack.la \
  124. $(top_builddir)/drivers/netjack/libnetjack_packet.la
  125. if HAVE_SAMPLERATE
  126. if HAVE_ALSA
  127. alsa_in_SOURCES = alsa_in.c
  128. alsa_in_CFLAGS = @NETJACK_CFLAGS@ -I$(top_builddir)/drivers/alsa
  129. alsa_in_LDFLAGS = -lasound -lsamplerate @OS_LDFLAGS@
  130. alsa_in_LDADD = $(top_builddir)/libjack/libjack.la \
  131. $(top_builddir)/drivers/alsa/libmemops.la
  132. alsa_out_SOURCES = alsa_out.c
  133. alsa_out_CFLAGS = @NETJACK_CFLAGS@ -I$(top_builddir)/drivers/alsa
  134. alsa_out_LDFLAGS = -lasound -lsamplerate @OS_LDFLAGS@
  135. alsa_out_LDADD = $(top_builddir)/libjack/libjack.la \
  136. $(top_builddir)/drivers/alsa/libmemops.la
  137. endif #HAVE_ALSA
  138. endif #HAVE_SAMPLERATE
  139. if HAVE_ZITA_BRIDGE_DEPS
  140. SUBDIRS = zalsa
  141. endif
  142. DIST_SUBDIRS = zalsa
  143. # XXX ? dist-hook: dist-check-sndfile dist-check-samplerate