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 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412
|
# ----------------------------------------------------------------------
# File: ecasound/libecasound/Makefile.am
# Description: Ecasound main library
# License: GPL (see ecasound/{AUTHORS,COPYING})
# ----------------------------------------------------------------------
EXTRA_DIST = ChangeLog
AUTOMAKE_OPTIONS = foreign
SUBDIRS = plugins
# ----------------------------------------------------------------------
# build targets and compiler options target defines
# ----------------------------------------------------------------------
if ECA_AM_DEBUG_MODE
lib_LTLIBRARIES = libecasound_debug.la
else
lib_LTLIBRARIES = libecasound.la
endif
TESTS = libecasound_tester
check_PROGRAMS = libecasound_tester
# ----------------------------------------------------------------------
# compiler and linker options
# ----------------------------------------------------------------------
# if ECA_AM_ALL_STATIC
# FIXME: always link ecasound-plugins statically
if ECA_AM_DEBUG_MODE
eca_libadd = $(top_builddir)/libecasound/plugins/libecasound_plugins_debug.la $(ECA_S_EXTRA_LIBS)
else
eca_libadd = $(top_builddir)/libecasound/plugins/libecasound_plugins.la $(ECA_S_EXTRA_LIBS)
endif
eca_ldflags = -version-info @LIBECASOUND_VERSION@:0:@LIBECASOUND_VERSION_AGE@
if ECA_AM_DEBUG_MODE
libecasound_tester_libs = $(top_builddir)/libecasound/libecasound_debug.la \
$(top_builddir)/kvutils/libkvutils_debug.la
else
libecasound_tester_libs = $(top_builddir)/libecasound/libecasound.la \
$(top_builddir)/kvutils/libkvutils.la
endif
# note! Automake >= 1.5 will install stripped libraries
# with "make install-strip". Older versions won't
# strip libraries even if INSTALL_STRIP_FLAG is set.
# also libtool 1.3.2 and older have problems
# with stripping libraries.
INCLUDES = -I$(srcdir) \
-I$(top_srcdir) \
-I$(top_srcdir)/kvutils \
$(ECA_S_EXTRA_CPPFLAGS)
# ----------------------------------------------------------------------
# header files
# ----------------------------------------------------------------------
ecasound_audiofx_include = \
audiofx.h \
audiofx_misc.h \
audiofx_amplitude.h \
audiofx_compressor.h \
audiofx_analysis.h \
audiofx_envelope_modulation.h \
audiofx_filter.h \
audiofx_rcfilter.h \
audiofx_reverb.h \
audiofx_timebased.h \
audiogate.h \
audiofx_mixing.h \
audiofx_ladspa.h \
audiofx_lv2.h \
audiofx_lv2_world.h \
audio-stamp.h
ecasound_preset_include = \
preset.h \
preset_impl.h \
file-preset.h \
global-preset.h
ecasound_audioio_include = \
audioio.h \
audioio-buffered.h \
audioio-device.h \
audioio-plugin.h \
audioio-manager.h \
audioio-cdr.h \
audioio-cdr_impl.h \
audioio-ewf.h \
audioio-mp3.h \
audioio-mp3_impl.h \
audioio-ogg.h \
audioio-wave.h \
audioio-raw.h \
audioio-oss.h \
audioio-oss_impl.h \
audioio-null.h \
audioio-rtnull.h \
audioio-mikmod.h \
audioio-loop.h \
audioio-forked-stream.h \
audioio-timidity.h \
audioio-db-server.h \
audioio-db-server_impl.h \
audioio-db-buffer.h \
audioio-db-client.h \
audioio-proxy.h \
audioio-typeselect.h \
audioio-resample.h \
audioio-reverse.h \
audioio-flac.h \
audioio-aac.h \
audioio-tone.h \
audioio-seqbase.h \
audioio-acseq.h \
audioio-barrier.h
ecasound_midi_include = \
midi-server.h \
midi-client.h \
midi-parser.h \
midiio.h \
midiio-raw.h \
midiio-aseq.h
ecasound_controller_include = \
ctrl-source.h \
midi-cc.h \
oscillator.h \
osc-gen.h \
osc-gen-file.h \
osc-sine.h \
linear-envelope.h \
two-stage-linear-envelope.h \
stamp-ctrl.h \
generic-linear-envelope.h
ecasound_general_include = \
eca-chain.h \
eca-chainop.h \
eca-chainsetup-edit.h \
eca-error.h \
eca-logger.h \
eca-logger-default.h \
eca-logger-interface.h \
eca-logger-wellformed.h \
eca-engine.h \
eca-engine-driver.h \
eca-engine_impl.h \
eca-session.h \
eca-resources.h \
resource-file.h \
layer.h \
eca-static-object-maps.h \
eca-object-map.h \
eca-preset-map.h \
samplebuffer.h \
samplebuffer_impl.h \
samplebuffer_functions.h \
samplebuffer_iterators.h \
sample-specs.h \
sample-ops_impl.h \
eca-sample-conversion.h \
eca-version.h \
eca-object-factory.h \
eca-chainsetup.h \
eca-chainsetup_impl.h \
eca-chainsetup-bufparams.h \
eca-chainsetup-parser.h \
eca-chainsetup-position.h \
eca-control.h \
eca-control-dump.h \
eca-control-main.h \
eca-control-mt.h \
eca-iamode-parser.h \
eca-iamode-parser_impl.h \
eca-audio-position.h \
eca-fileio.h \
eca-fileio-stream.h \
eca-fileio-mmap.h \
eca-osc.h \
dynamic-parameters.h \
dynamic-object.h \
eca-object.h \
eca-operator.h \
generic-controller.h \
eca-samplerate-aware.h \
eca-audio-format.h \
eca-audio-time.h \
jack-connections.h
ecasound_extra_include = \
ladspa.h
ecasound_test_framework_include = \
eca-test-repository.h \
eca-test-case.h \
audiofx_amplitude_test.h \
audioio_test.h \
audioio-device_test.h \
eca-audio-time_test.h \
eca-chainsetup_test.h \
eca-chainsetup-parser_test.h \
eca-control_test.h \
eca-session_test.h \
eca-object-factory_test.h \
eca-sample-conversion_test.h \
generic-linear-envelope_test.h \
samplebuffer_test.h
# note! also remembers to update install-data-local and
# uninstall-data targets
noinst_HEADERS = $(ecasound_audiofx_include) \
$(ecasound_preset_include) \
$(ecasound_audioio_include) \
$(ecasound_midi_include) \
$(ecasound_controller_include) \
$(ecasound_general_include) \
$(ecasound_extra_include) \
$(ecasound_test_framework_include)
# ----------------------------------------------------------------------
# source files
# ----------------------------------------------------------------------
ecasound_audiofx_src = audiofx.cpp \
audiofx_misc.cpp \
audiofx_amplitude.cpp \
audiofx_compressor.cpp \
audiofx_analysis.cpp \
audiofx_envelope_modulation.cpp \
audiofx_filter.cpp \
audiofx_rcfilter.cpp \
audiofx_reverb.cpp \
audiofx_timebased.cpp \
audiogate.cpp \
audiofx_mixing.cpp \
audiofx_ladspa.cpp \
audiofx_lv2.cpp \
audiofx_lv2_world.cpp \
audio-stamp.cpp
ecasound_preset_src = global-preset.cpp \
preset.cpp \
file-preset.cpp
ecasound_audioio1_src = audioio-cdr.cpp \
audioio-ewf.cpp \
audioio-mp3.cpp \
audioio-ogg.cpp \
audioio-wave.cpp \
audioio.cpp \
audioio-buffered.cpp \
audioio-device.cpp \
audioio-null.cpp \
audioio-raw.cpp \
audioio-mikmod.cpp \
audioio-rtnull.cpp \
audioio-loop.cpp \
audioio-forked-stream.cpp \
audioio-timidity.cpp \
audioio-db-server.cpp \
audioio-db-buffer.cpp \
audioio-db-client.cpp \
audioio-typeselect.cpp \
audioio-resample.cpp \
audioio-reverse.cpp \
audioio-proxy.cpp \
audioio-flac.cpp \
audioio-aac.cpp \
audioio-tone.cpp \
audioio-seqbase.cpp \
audioio-acseq.cpp
if ECA_AM_COMPILE_OSS
ecasound_audioio2_src = audioio-oss.cpp
else
ecasound_audioio2_src =
endif
if ECA_AM_COMPILE_JACK
jack_connections_src = jack-connections.cpp
else
jack_connections_src =
endif
ecasound_midi_src = \
midi-server.cpp \
midi-client.cpp \
midi-parser.cpp \
midiio.cpp \
midiio-raw.cpp \
midiio-aseq.cpp
ecasound_controller_src = \
midi-cc.cpp \
osc-gen.cpp \
osc-gen-file.cpp \
osc-sine.cpp \
linear-envelope.cpp \
two-stage-linear-envelope.cpp \
stamp-ctrl.cpp \
generic-linear-envelope.cpp
ecasound_general_src = eca-chain.cpp \
eca-engine.cpp \
samplebuffer.cpp \
samplebuffer_functions.cpp \
eca-session.cpp \
eca-resources.cpp \
resource-file.cpp \
eca-logger.cpp \
eca-logger-default.cpp \
eca-logger-interface.cpp \
eca-logger-wellformed.cpp \
layer.cpp \
samplebuffer_iterators.cpp \
eca-version.cpp \
eca-operator.cpp \
generic-controller.cpp \
eca-object-factory.cpp \
eca-chainsetup.cpp \
eca-chainsetup-bufparams.cpp \
eca-chainsetup-parser.cpp \
eca-chainsetup-position.cpp \
eca-control.cpp \
eca-control-base.cpp \
eca-control-dump.cpp \
eca-control-main.cpp \
eca-control-mt.cpp \
eca-control-objects.cpp \
eca-iamode-parser.cpp \
eca-samplerate-aware.cpp \
eca-audio-position.cpp \
eca-audio-format.cpp \
eca-audio-time.cpp \
eca-fileio-stream.cpp \
eca-fileio-mmap.cpp \
eca-osc.cpp \
eca-static-object-maps.cpp \
eca-object-map.cpp \
eca-preset-map.cpp
ecasound_common1_src = $(ecasound_audioio1_src) \
$(ecasound_audioio2_src) \
$(jack_connections_src) \
$(ecasound_midi_src) \
$(ecasound_general_src)
if ECA_AM_DISABLE_EFFECTS
ecasound_common2_src =
else
ecasound_common2_src = $(ecasound_audiofx_src) \
$(ecasound_preset_src) \
$(ecasound_controller_src)
endif
libecasound_tester_src = \
libecasound_tester.cpp \
eca-test-repository.cpp \
eca-test-case.cpp
libecasound_la_SOURCES = $(ecasound_common1_src) $(ecasound_common2_src)
libecasound_debug_la_SOURCES = $(ecasound_common1_src) $(ecasound_common2_src)
libecasound_la_LDFLAGS = -export-dynamic $(eca_ldflags) -static
libecasound_la_LIBADD = $(eca_libadd)
libecasound_debug_la_LDFLAGS = $(libecasound_la_LDFLAGS)
libecasound_debug_la_LIBADD = $(libecasound_la_LIBADD)
libecasound_tester_SOURCES = $(libecasound_tester_src)
#libecasound_tester_CFLAGS = $(AM_CFLAGS)
libecasound_tester_LDADD = $(libecasound_tester_libs)
# Pass pkgdatadir to CPPFLAGS
AM_CPPFLAGS += "-DECA_PKGDATADIR=\"${pkgdatadir}\""
# ---------------------------------------------------------------------
# Install targets - note! we don't install $ecasound_extra_include
# nor $ecasound_test_framework_include
install-data-local:
$(INSTALL) -d $(DESTDIR)$(includedir)/libecasound
cd $(srcdir) ; \
$(INSTALL_DATA) \
$(ecasound_audiofx_include) \
$(ecasound_preset_include) \
$(ecasound_audioio_include) \
$(ecasound_controller_include) \
$(ecasound_midi_include) \
$(ecasound_general_include) \
$(DESTDIR)$(includedir)/libecasound
$(INSTALL) -d $(DESTDIR)$(bindir)
$(INSTALL_SCRIPT) libecasound-config $(DESTDIR)$(bindir)/libecasound-config
# ---------------------------------------------------------------------
# Uninstall targets
uninstall-local:
cd $(DESTDIR)$(includedir)/libecasound && \
rm -f $(ecasound_audiofx_include) \
$(ecasound_preset_include) \
$(ecasound_audioio_include) \
$(ecasound_controller_include) \
$(ecasound_midi_include) \
$(ecasound_general_include)
rmdir $(DESTDIR)$(includedir)/libecasound || echo "Skipping"
rm -f $(DESTDIR)$(bindir)/libecasound-config
rmdir $(DESTDIR)$(bindir) || echo "Skipping"
|