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

Revision 438, 8.5 kB (checked in by pieterpalmers, 17 years ago)

- introduced generic setting of the samplerate, removed AVC depency for other IAvDevices.

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