root/trunk/libffado/src/Makefile.am

Revision 517, 8.0 kB (checked in by wagi, 15 years ago)

remove de/serialize test program

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