~ubuntu-branches/ubuntu/wily/ecasound/wily-proposed

« back to all changes in this revision

Viewing changes to libecasound/plugins/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghedini
  • Date: 2011-05-12 17:58:03 UTC
  • Revision ID: james.westby@ubuntu.com-20110512175803-zy3lodjecabt9r3v
Tags: upstream-2.8.0
ImportĀ upstreamĀ versionĀ 2.8.0

Show diffs side-by-side

added added

removed removed

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