root/trunk/libffado/src/Makefile.am

Revision 451, 8.0 kB (checked in by ppalmers, 17 years ago)

- First attempt at a OSC controlled mixer. The level of

abstraction is very low, meaning that you have to know
how the function blocks work. It however allows control
applications to be written and to experiment with them.

- This version only does Selector function blocks.

The following message switches the phase88 input to the

  • front (or is is back?)
    /devicemanager/dev0/GenericMixer set selector 10 0
  • back (or is it front?)
    /devicemanager/dev0/GenericMixer set selector 10 1

  • 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 iavdevice.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         libavc/avc_connect.h \
58         libavc/avc_definitions.h libavc/avc_extended_cmd_generic.h \
59         libavc/avc_extended_plug_info.h libavc/avc_extended_stream_format.h \
60         libavc/avc_extended_subunit_info.h libavc/avc_function_block.h libavc/avc_generic.h \
61         libavc/avc_plug_info.h libavc/avc_serialize.h libavc/avc_signal_source.h \
62         libavc/avc_subunit_info.h libavc/avc_unit_info.h \
63         libosc/OscArgument.h libosc/OscNode.h libosc/OscResponse.h libosc/OscServer.h libosc/OscMessage.h \
64         libstreaming/AmdtpPort.h libstreaming/AmdtpPortInfo.h libstreaming/AmdtpStreamProcessor.h \
65         libstreaming/AmdtpSlaveStreamProcessor.h \
66         libstreaming/cip.h libstreaming/cycletimer.h libstreaming/IsoHandler.h \
67         libstreaming/IsoHandlerManager.h libstreaming/IsoStream.h libstreaming/MotuPort.h \
68         libstreaming/MotuPortInfo.h libstreaming/MotuStreamProcessor.h \
69         libstreaming/Port.h libstreaming/PortManager.h \
70         libstreaming/StreamProcessor.h libstreaming/StreamProcessorManager.h \
71         libutil/Atomic.h libutil/cycles.h libutil/DelayLockedLoop.h libutil/PosixThread.h \
72         libutil/ringbuffer.h libutil/OptionContainer.h \
73         libutil/PacketBuffer.h libutil/StreamStatistics.h \
74         libutil/serialize.h libutil/SystemTimeSource.h libutil/Thread.h libutil/Time.h \
75         libutil/TimeSource.h libutil/TimestampedBuffer.h
76
77 # common sources
78 libffado_la_SOURCES = \
79             devicemanager.cpp \
80             ffado.cpp \
81             ffado_streaming.cpp \
82             iavdevice.cpp \
83             debugmodule/debugmodule.cpp \
84             libavc/avc_connect.cpp \
85             libavc/avc_definitions.cpp \
86             libavc/avc_extended_cmd_generic.cpp \
87             libavc/avc_extended_plug_info.cpp \
88             libavc/avc_extended_stream_format.cpp \
89             libavc/avc_extended_subunit_info.cpp \
90             libavc/avc_function_block.cpp \
91             libavc/avc_generic.cpp \
92             libavc/avc_plug_info.cpp \
93             libavc/avc_serialize.cpp \
94             libavc/avc_signal_source.cpp \
95             libavc/avc_subunit_info.cpp \
96             libavc/avc_unit_info.cpp \
97             libieee1394/ARMHandler.cpp \
98             libieee1394/configrom.cpp \
99             libieee1394/csr1212.c \
100             libieee1394/ieee1394service.cpp \
101             libieee1394/IEC61883.cpp \
102             libosc/OscArgument.cpp \
103             libosc/OscMessage.cpp \
104             libosc/OscNode.cpp \
105             libosc/OscResponse.cpp \
106             libosc/OscServer.cpp \
107             libstreaming/cip.c \
108             libstreaming/IsoHandler.cpp \
109             libstreaming/IsoHandlerManager.cpp \
110             libstreaming/IsoStream.cpp \
111             libstreaming/Port.cpp \
112             libstreaming/PortManager.cpp \
113             libstreaming/StreamProcessor.cpp \
114             libstreaming/StreamProcessorManager.cpp \
115             libutil/DelayLockedLoop.cpp \
116             libutil/PacketBuffer.cpp \
117             libutil/OptionContainer.cpp \
118             libutil/PosixThread.cpp \
119             libutil/ringbuffer.c \
120             libutil/serialize.cpp \
121             libutil/StreamStatistics.cpp \
122             libutil/SystemTimeSource.cpp \
123             libutil/Time.c \
124             libutil/TimeSource.cpp \
125             libutil/TimestampedBuffer.cpp
126
127 # class specific sources
128 bebob_src = \
129             bebob/bebob_avdevice.cpp \
130             bebob/bebob_avdevice_subunit.cpp \
131             bebob/bebob_avplug.cpp \
132             bebob/bebob_dl_bcd.cpp \
133             bebob/bebob_dl_codes.cpp \
134             bebob/bebob_dl_mgr.cpp \
135             bebob/bebob_functionblock.cpp \
136             bebob/GenericMixer.cpp \
137             maudio/maudio_avdevice.cpp
138
139 motu_src = \
140             motu/motu_avdevice.cpp \
141             libstreaming/MotuPort.cpp \
142             libstreaming/MotuPortInfo.cpp \
143             libstreaming/MotuStreamProcessor.cpp
144
145 dice_src = \
146             dice/dice_avdevice.cpp
147
148 bounce_src = \
149             bounce/bounce_avdevice.cpp \
150             bounce/bounce_slave_avdevice.cpp \
151             libstreaming/AmdtpSlaveStreamProcessor.cpp
152
153 metric_halo_src = \
154             metrichalo/mh_avdevice.cpp
155
156 rme_src = \
157             rme/rme_avdevice.cpp
158
159 amdtp_src = \
160             libstreaming/AmdtpPort.cpp \
161             libstreaming/AmdtpPortInfo.cpp \
162             libstreaming/AmdtpStreamProcessor.cpp
163
164 # data
165 #  generic
166 nobase_dist_pkgdata_DATA =
167 #  bebob specific
168 bebob_pkgdata =                                 \
169         maudio/refdesign.xml                            \
170         maudio/fw410.xml                                \
171         maudio/fwap.xml
172
173 # programs intended for installation in the 'bin' directory
174 #  generic
175 bin_PROGRAMS =
176
177 #  class specific
178 bebob_bin = bridgeco-downloader bebob-sync
179
180 bridgeco_downloader_SOURCES = bridgeco-downloader.cpp
181 bridgeco_downloader_LDADD = $(top_builddir)/src/libffado.la
182
183 bebob_sync_SOURCES = bebob-sync.cpp
184 bebob_sync_LDADD = $(top_builddir)/src/libffado.la
185
186 # programs not intended for installation
187 # generic
188 noinst_PROGRAMS = test-dll test-debugmodule \
189                       test-unittests-util test-unittests-osc \
190                       test-ser
191
192 test_dll_SOURCES = libutil/test-dll.cpp
193 test_dll_LDADD = $(top_builddir)/src/libffado.la
194
195 test_debugmodule_SOURCES = debugmodule/test_debugmodule.cpp
196 test_debugmodule_LDADD = $(top_builddir)/src/libffado.la
197
198 test_unittests_util_SOURCES = libutil/unittests.cpp
199 test_unittests_util_LDADD = $(top_builddir)/src/libffado.la
200
201 test_unittests_osc_SOURCES = libosc/unittests.cpp
202 test_unittests_osc_LDADD = $(top_builddir)/src/libffado.la
203
204 test_ser_SOURCES = ser.cpp
205 test_ser_LDADD = $(top_builddir)/src/libffado.la
206
207 # build customisation
208
209 if BUILD_BEBOB
210 libffado_la_SOURCES += $(bebob_src)
211 bin_PROGRAMS += $(bebob_bin)
212 noinst_PROGRAMS += $(bebob_noinst)
213 nobase_dist_pkgdata_DATA += $(bebob_pkgdata)
214 endif
215
216 if BUILD_BOUNCE
217 libffado_la_SOURCES += $(bounce_src)
218 bin_PROGRAMS += $(bounce_bin)
219 noinst_PROGRAMS += $(bounce_noinst)
220 nobase_dist_pkgdata_DATA += $(bounce_pkgdata)
221 endif
222
223 if BUILD_DICE
224 libffado_la_SOURCES += $(dice_src)
225 bin_PROGRAMS += $(dice_bin)
226 noinst_PROGRAMS += $(dice_noinst)
227 nobase_dist_pkgdata_DATA += $(dice_pkgdata)
228 endif
229
230 if BUILD_MOTU
231 libffado_la_SOURCES += $(motu_src)
232 bin_PROGRAMS += $(motu_bin)
233 noinst_PROGRAMS += $(motu_noinst)
234 nobase_dist_pkgdata_DATA += $(motu_pkgdata)
235 endif
236
237 if BUILD_METRIC_HALO
238 libffado_la_SOURCES += $(metric_halo_src)
239 bin_PROGRAMS += $(metric_halo_bin)
240 noinst_PROGRAMS += $(metric_halo_noinst)
241 nobase_dist_pkgdata_DATA += $(metric_halo_pkgdata)
242 endif
243
244 if BUILD_RME
245 libffado_la_SOURCES += $(rme_src)
246 bin_PROGRAMS += $(rme_bin)
247 noinst_PROGRAMS += $(rme_noinst)
248 nobase_dist_pkgdata_DATA += $(rme_pkgdata)
249 endif
250
251 if BUILD_AMDTP
252 libffado_la_SOURCES += $(amdtp_src)
253 bin_PROGRAMS += $(amdtp_bin)
254 noinst_PROGRAMS += $(amdtp_noinst)
255 nobase_dist_pkgdata_DATA += $(amdtp_pkgdata)
256 endif
Note: See TracBrowser for help on using the browser.