root/branches/streaming-rework/src/Makefile.am

Revision 424, 7.6 kB (checked in by pieterpalmers, 16 years ago)

- The library can now be started in 'slave mode', creating a BounceSlaveDevice?.

On a discovering node, this slave device is discovered as a BounceDevice?.
Streaming does not work yet, something wrong with the timestamps.

- Implemented the 'snoop mode', that allows a client to 'snoop' the streams

between another host and a device. It is only implemented for BeBoB devices.
The channel numbers and stream configuration are automatically detected.
Note that it currently relies on a rather hackish support for reading the
{i,o}PCR plugs by using private functions of libiec61883

- changed jack backend to support these two new features

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