root/branches/echoaudio/src/Makefile.am

Revision 500, 8.5 kB (checked in by ppalmers, 17 years ago)

- renamed the IAvDevice to FFADODevice since it's not a pure 'AvDevice?' anymore and it also isn't an interface anymore.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 # Makefile.am
2 #
3 # Copyright (C) 2005-2007 by Daniel Wagner.
4 # Copyright (C) 2005-2007 by Pieter Palmers.
5 #
6 # This file is part of FFADO.
7 # FFADO = Free Firewire (pro-)audio drivers for linux
8 #
9 # FFADO is based upon FreeBoB.
10 #
11 # FFADO is free software.
12 #
13 # you can redistribute and/or modify the library code
14 # under the terms of the GNU Lesser General Public License
15 # version 2.1, as published by the Free Software Foundation
16 #
17 # you can redistribute and/or modify the applications
18 # under the terms of the GNU General Public License
19 # version 2, as published by the Free Software Foundation
20 #
21 # FFADO is distributed in the hope that it will be useful,
22 # but WITHOUT ANY WARRANTY; without even the implied warranty of
23 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
24 # GNU (Lesser) General Public License for more details.
25 #
26 # You should have received a copy of the GNU (Lesser) General Public License
27 # along with FFADO; if not, write to the Free Software
28 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
29
30 INCLUDES =                                              \
31         $(LIBRAW1394_CFLAGS) $(LIBIEC61883_CFLAGS)      \
32         $(LIBAVC1394_CFLAGS)    \
33         $(LIBXMLCPP_CFLAGS)     $(LIBLO_CFLAGS)                 \
34         -I$(top_srcdir) -I$(top_srcdir)/src
35
36 lib_LTLIBRARIES = libffado.la
37
38 libffado_la_LDFLAGS =                           \
39         -version-info $(LT_VERSION) $(LIBRAW1394_LIBS)  \
40         $(LIBIEC61883_LIBS) $(LIBAVC1394_LIBS)          \
41         $(LIBXMLCPP_LIBS) $(LIBLO_LIBS) \
42         -lpthread -lrt
43
44 libffado_la_LIBADD = -lrt
45
46 noinst_HEADERS = \
47         libieee1394/configrom.h libieee1394/csr1212.h \
48         libieee1394/ieee1394service.h libieee1394/ARMHandler.h \
49         libieee1394/IEC61883.h \
50         debugmodule/debugmodule.h \
51         devicemanager.h fbtypes.h ffadodevice.h threads.h bebob/bebob_avdevice.h \
52         bebob/bebob_avdevice_subunit.h bebob/bebob_avplug.h bebob/bebob_dl_bcd.h bebob/bebob_dl_codes.h \
53         bebob/bebob_dl_mgr.h bebob/bebob_functionblock.h bounce/bounce_avdevice.h bounce/bounce_slave_avdevice.h \
54         bebob/GenericMixer.h \
55         maudio/maudio_avdevice.h motu/motu_avdevice.h rme/rme_avdevice.h \
56         metrichalo/mh_avdevice.h dice/dice_avdevice.h \
57         genericavc/avc_avdevice.h \
58         libavc/avc_connect.h \
59         libavc/avc_definitions.h libavc/avc_extended_cmd_generic.h \
60         libavc/avc_extended_plug_info.h libavc/avc_extended_stream_format.h \
61         libavc/avc_extended_subunit_info.h libavc/avc_function_block.h libavc/avc_generic.h \
62         libavc/avc_plug_info.h libavc/avc_serialize.h libavc/avc_signal_source.h \
63         libavc/avc_subunit_info.h libavc/avc_unit_info.h \
64         libavc/avc_descriptor.h libavc/avc_descriptor_cmd.h libavc/avc_descriptor_music.h \
65         libosc/OscArgument.h libosc/OscNode.h libosc/OscResponse.h libosc/OscServer.h libosc/OscMessage.h \
66         libosc/OscClient.h \
67         libstreaming/AmdtpPort.h libstreaming/AmdtpPortInfo.h libstreaming/AmdtpStreamProcessor.h \
68         libstreaming/AmdtpSlaveStreamProcessor.h \
69         libstreaming/cip.h libstreaming/cycletimer.h libstreaming/IsoHandler.h \
70         libstreaming/IsoHandlerManager.h libstreaming/IsoStream.h libstreaming/MotuPort.h \
71         libstreaming/MotuPortInfo.h libstreaming/MotuStreamProcessor.h \
72         libstreaming/Port.h libstreaming/PortManager.h \
73         libstreaming/StreamProcessor.h libstreaming/StreamProcessorManager.h \
74         libutil/Atomic.h libutil/cycles.h libutil/DelayLockedLoop.h libutil/PosixThread.h \
75         libutil/ringbuffer.h libutil/OptionContainer.h \
76         libutil/PacketBuffer.h libutil/StreamStatistics.h \
77         libutil/serialize.h libutil/SystemTimeSource.h libutil/Thread.h libutil/Time.h \
78         libutil/TimeSource.h libutil/TimestampedBuffer.h
79
80 # common sources
81 libffado_la_SOURCES = \
82             devicemanager.cpp \
83             ffado.cpp \
84             ffado_streaming.cpp \
85             ffadodevice.cpp \
86             debugmodule/debugmodule.cpp \
87             libavc/avc_connect.cpp \
88             libavc/avc_definitions.cpp \
89             libavc/avc_descriptor.cpp \
90             libavc/avc_descriptor_cmd.cpp \
91             libavc/avc_descriptor_music.cpp \
92             libavc/avc_extended_cmd_generic.cpp \
93             libavc/avc_extended_plug_info.cpp \
94             libavc/avc_extended_stream_format.cpp \
95             libavc/avc_extended_subunit_info.cpp \
96             libavc/avc_function_block.cpp \
97             libavc/avc_generic.cpp \
98             libavc/avc_plug_info.cpp \
99             libavc/avc_serialize.cpp \
100             libavc/avc_signal_source.cpp \
101             libavc/avc_subunit_info.cpp \
102             libavc/avc_unit_info.cpp \
103             libieee1394/ARMHandler.cpp \
104             libieee1394/configrom.cpp \
105             libieee1394/csr1212.c \
106             libieee1394/ieee1394service.cpp \
107             libieee1394/IEC61883.cpp \
108             libosc/OscArgument.cpp \
109             libosc/OscClient.cpp \
110             libosc/OscMessage.cpp \
111             libosc/OscNode.cpp \
112             libosc/OscResponse.cpp \
113             libosc/OscServer.cpp \
114             libstreaming/cip.c \
115             libstreaming/IsoHandler.cpp \
116             libstreaming/IsoHandlerManager.cpp \
117             libstreaming/IsoStream.cpp \
118             libstreaming/Port.cpp \
119             libstreaming/PortManager.cpp \
120             libstreaming/StreamProcessor.cpp \
121             libstreaming/StreamProcessorManager.cpp \
122             libutil/DelayLockedLoop.cpp \
123             libutil/PacketBuffer.cpp \
124             libutil/OptionContainer.cpp \
125             libutil/PosixThread.cpp \
126             libutil/ringbuffer.c \
127             libutil/serialize.cpp \
128             libutil/StreamStatistics.cpp \
129             libutil/SystemTimeSource.cpp \
130             libutil/Time.c \
131             libutil/TimeSource.cpp \
132             libutil/TimestampedBuffer.cpp
133
134 # class specific sources
135 bebob_src = \
136             bebob/bebob_avdevice.cpp \
137             bebob/bebob_avdevice_subunit.cpp \
138             bebob/bebob_avplug.cpp \
139             bebob/bebob_dl_bcd.cpp \
140             bebob/bebob_dl_codes.cpp \
141             bebob/bebob_dl_mgr.cpp \
142             bebob/bebob_functionblock.cpp \
143             bebob/GenericMixer.cpp \
144             maudio/maudio_avdevice.cpp
145
146 genericavc_src = \
147             genericavc/avc_avdevice.cpp
148
149 motu_src = \
150             motu/motu_avdevice.cpp \
151             libstreaming/MotuPort.cpp \
152             libstreaming/MotuPortInfo.cpp \
153             libstreaming/MotuStreamProcessor.cpp
154
155 dice_src = \
156             dice/dice_avdevice.cpp
157
158 bounce_src = \
159             bounce/bounce_avdevice.cpp \
160             bounce/bounce_slave_avdevice.cpp \
161             libstreaming/AmdtpSlaveStreamProcessor.cpp
162
163 metric_halo_src = \
164             metrichalo/mh_avdevice.cpp
165
166 rme_src = \
167             rme/rme_avdevice.cpp
168
169 amdtp_src = \
170             libstreaming/AmdtpPort.cpp \
171             libstreaming/AmdtpPortInfo.cpp \
172             libstreaming/AmdtpStreamProcessor.cpp
173
174 # data
175 #  generic
176 nobase_dist_pkgdata_DATA =
177 #  bebob specific
178 bebob_pkgdata =                                 \
179         maudio/refdesign.xml                            \
180         maudio/fw410.xml                                \
181         maudio/fwap.xml
182
183 # programs intended for installation in the 'bin' directory
184 #  generic
185 bin_PROGRAMS =
186
187 #  class specific
188 bebob_bin = bridgeco-downloader bebob-sync
189
190 bridgeco_downloader_SOURCES = bridgeco-downloader.cpp
191 bridgeco_downloader_LDADD = $(top_builddir)/src/libffado.la
192
193 bebob_sync_SOURCES = bebob-sync.cpp
194 bebob_sync_LDADD = $(top_builddir)/src/libffado.la
195
196 # programs not intended for installation
197 # generic
198 noinst_PROGRAMS = test-dll test-debugmodule \
199                       test-unittests-util test-unittests-osc \
200                       test-ser
201
202 test_dll_SOURCES = libutil/test-dll.cpp
203 test_dll_LDADD = $(top_builddir)/src/libffado.la
204
205 test_debugmodule_SOURCES = debugmodule/test_debugmodule.cpp
206 test_debugmodule_LDADD = $(top_builddir)/src/libffado.la
207
208 test_unittests_util_SOURCES = libutil/unittests.cpp
209 test_unittests_util_LDADD = $(top_builddir)/src/libffado.la
210
211 test_unittests_osc_SOURCES = libosc/unittests.cpp
212 test_unittests_osc_LDADD = $(top_builddir)/src/libffado.la
213
214 test_ser_SOURCES = ser.cpp
215 test_ser_LDADD = $(top_builddir)/src/libffado.la
216
217 # build customisation
218
219 if BUILD_BEBOB
220 libffado_la_SOURCES += $(bebob_src)
221 bin_PROGRAMS += $(bebob_bin)
222 noinst_PROGRAMS += $(bebob_noinst)
223 nobase_dist_pkgdata_DATA += $(bebob_pkgdata)
224 endif
225
226 if BUILD_GENERICAVC
227 libffado_la_SOURCES += $(genericavc_src)
228 bin_PROGRAMS += $(genericavc_bin)
229 noinst_PROGRAMS += $(genericavc_noinst)
230 nobase_dist_pkgdata_DATA += $(genericavc_pkgdata)
231 endif
232
233 if BUILD_BOUNCE
234 libffado_la_SOURCES += $(bounce_src)
235 bin_PROGRAMS += $(bounce_bin)
236 noinst_PROGRAMS += $(bounce_noinst)
237 nobase_dist_pkgdata_DATA += $(bounce_pkgdata)
238 endif
239
240 if BUILD_DICE
241 libffado_la_SOURCES += $(dice_src)
242 bin_PROGRAMS += $(dice_bin)
243 noinst_PROGRAMS += $(dice_noinst)
244 nobase_dist_pkgdata_DATA += $(dice_pkgdata)
245 endif
246
247 if BUILD_MOTU
248 libffado_la_SOURCES += $(motu_src)
249 bin_PROGRAMS += $(motu_bin)
250 noinst_PROGRAMS += $(motu_noinst)
251 nobase_dist_pkgdata_DATA += $(motu_pkgdata)
252 endif
253
254 if BUILD_METRIC_HALO
255 libffado_la_SOURCES += $(metric_halo_src)
256 bin_PROGRAMS += $(metric_halo_bin)
257 noinst_PROGRAMS += $(metric_halo_noinst)
258 nobase_dist_pkgdata_DATA += $(metric_halo_pkgdata)
259 endif
260
261 if BUILD_RME
262 libffado_la_SOURCES += $(rme_src)
263 bin_PROGRAMS += $(rme_bin)
264 noinst_PROGRAMS += $(rme_noinst)
265 nobase_dist_pkgdata_DATA += $(rme_pkgdata)
266 endif
267
268 if BUILD_AMDTP
269 libffado_la_SOURCES += $(amdtp_src)
270 bin_PROGRAMS += $(amdtp_bin)
271 noinst_PROGRAMS += $(amdtp_noinst)
272 nobase_dist_pkgdata_DATA += $(amdtp_pkgdata)
273 endif
Note: See TracBrowser for help on using the browser.