1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
|
# ----------------------------------------------------------------------
# File: ecasound/libecasound/plugins/Makefile.am
# Description: Audio I/O implementations that depend on external
# libraries
# License: GPL (see ecasound/{AUTHORS,COPYING})
# ----------------------------------------------------------------------
AUTOMAKE_OPTIONS = foreign
# ----------------------------------------------------------------------
# defines
# ----------------------------------------------------------------------
#common_clags = -DECA_ENABLE_AUDIOIO_PLUGINS
all_arts_src = audioio_arts.cpp
if ECA_AM_COMPILE_ARTS
arts_src = $(all_arts_src)
arts_target = libaudioio_arts.la
else
arts_target =
endif
all_alsa_src = audioio_alsa.cpp audioio_alsa_named.cpp
if ECA_AM_COMPILE_ALSA
alsa_src = $(all_alsa_src)
alsa_target = libaudioio_alsa.la \
libaudioio_alsa_named.la
else
alsa_target =
endif
all_af_src = audioio_af.cpp
if ECA_AM_COMPILE_AUDIOFILE
af_src = $(all_af_src)
af_target = libaudioio_af.la
else
af_target =
endif
all_sndfile_src = audioio_sndfile.cpp
if ECA_AM_COMPILE_SNDFILE
sndfile_src = $(all_sndfile_src)
sndfile_target = libaudioio_sndfile.la
else
sndfile_target =
endif
all_jack_src = audioio_jack.cpp audioio_jack_manager.cpp
if ECA_AM_COMPILE_JACK
jack_src = $(all_jack_src)
jack_target = libaudioio_jack.la
else
jack_target =
endif
AM_CPPFLAGS = -I$(srcdir) \
-I$(top_srcdir) \
-I$(top_srcdir)/libecasound \
-I$(top_srcdir)/kvutils \
$(ECA_S_EXTRA_CPPFLAGS)
#libdir = $(exec_prefix)/lib/libecasound@LIBECASOUND_VERSION@-plugins
# ----------------------------------------------------------------------
# header files
# ----------------------------------------------------------------------
plugin_includes = \
audioio_af.h \
audioio_alsa.h \
audioio_alsa_named.h \
audioio_arts.h \
audioio_jack.h \
audioio_jack_manager.h \
audioio_sndfile.h
noinst_HEADERS = $(plugin_includes)
# ----------------------------------------------------------------------
# build targets and compiler options target defines
# ----------------------------------------------------------------------
if ECA_AM_DEBUG_MODE
noinst_LTLIBRARIES = libecasound_plugins_debug.la
else
noinst_LTLIBRARIES = libecasound_plugins.la
endif
plugin_cond_sources = $(af_src) \
$(alsa_src) \
$(arts_src) \
$(jack_src) \
$(sndfile_src)
plugin_all_sources = $(all_af_src) \
$(all_alsa_src) \
$(all_arts_src) \
$(all_jack_src) \
$(all_sndfile_src)
# ----------------------------------------------------------------------
# source files
# ----------------------------------------------------------------------
libecasound_plugins_la_SOURCES = audioio_dummy.cpp $(plugin_cond_sources)
EXTRA_libecasound_plugins_la_SOURCES = $(plugin_all_sources)
libecasound_plugins_la_LIBADD = $(ECA_S_EXTRA_LIBS)
libecasound_plugins_la_LDFLAGS = -static
libecasound_plugins_debug_la_SOURCES = $(libecasound_plugins_la_SOURCES)
EXTRA_libecasound_plugins_debug_la_SOURCES = $(EXTRA_libecasound_plugins_la_SOURCES)
libecasound_plugins_debug_la_LIBADD = $(libecasound_plugins_la_LIBADD)
libecasound_plugins_debug_la_LDFLAGS = $(libecasound_plugins_la_LDFLAGS)
# ----------------------------------------------------------------------
# separate rules for compiling non-libtool plugins
# ----------------------------------------------------------------------
|