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

Revision 420, 7.4 kB (checked in by pieterpalmers, 15 years ago)

moved src/libfreebobavc to src/libavc

  • 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     debugmodule/debugmodule.h \
38         devicemanager.h fbtypes.h iavdevice.h threads.h bebob/bebob_avdevice.h \
39         bebob/bebob_avdevice_subunit.h bebob/bebob_avplug.h bebob/bebob_dl_bcd.h bebob/bebob_dl_codes.h \
40         bebob/bebob_dl_mgr.h bebob/bebob_functionblock.h bounce/bounce_avdevice.h \
41         maudio/maudio_avdevice.h motu/motu_avdevice.h rme/rme_avdevice.h \
42         metrichalo/mh_avdevice.h dice/dice_avdevice.h \
43         libavc/avc_connect.h \
44         libavc/avc_definitions.h libavc/avc_extended_cmd_generic.h \
45         libavc/avc_extended_plug_info.h libavc/avc_extended_stream_format.h \
46         libavc/avc_extended_subunit_info.h libavc/avc_function_block.h libavc/avc_generic.h \
47         libavc/avc_plug_info.h libavc/avc_serialize.h libavc/avc_signal_source.h \
48         libavc/avc_subunit_info.h libavc/avc_unit_info.h \
49         libstreaming/AmdtpPort.h libstreaming/AmdtpPortInfo.h libstreaming/AmdtpStreamProcessor.h \
50         libstreaming/cip.h libstreaming/cycletimer.h libstreaming/IsoHandler.h \
51         libstreaming/IsoHandlerManager.h libstreaming/IsoStream.h libstreaming/MotuPort.h \
52         libstreaming/MotuPortInfo.h libstreaming/MotuStreamProcessor.h \
53         libstreaming/Port.h libstreaming/PortManager.h \
54         libstreaming/StreamProcessor.h libstreaming/StreamProcessorManager.h \
55         libutil/Atomic.h libutil/cycles.h libutil/DelayLockedLoop.h libutil/PosixThread.h \
56         libutil/ringbuffer.h libutil/OptionContainer.h \
57         libutil/PacketBuffer.h libutil/StreamStatistics.h \
58         libutil/serialize.h libutil/SystemTimeSource.h libutil/Thread.h libutil/Time.h \
59         libutil/TimeSource.h libutil/TimestampedBuffer.h
60
61 # common sources
62 libfreebob_la_SOURCES = \
63         devicemanager.cpp \
64         freebob.cpp \
65         freebob_streaming.cpp \
66         xmlparser.c \
67         debugmodule/debugmodule.cpp \
68         libavc/avc_connect.cpp \
69         libavc/avc_definitions.cpp \
70         libavc/avc_extended_cmd_generic.cpp \
71         libavc/avc_extended_plug_info.cpp \
72         libavc/avc_extended_stream_format.cpp \
73         libavc/avc_extended_subunit_info.cpp \
74         libavc/avc_function_block.cpp \
75         libavc/avc_generic.cpp \
76         libavc/avc_plug_info.cpp \
77         libavc/avc_serialize.cpp \
78         libavc/avc_signal_source.cpp \
79         libavc/avc_subunit_info.cpp \
80         libavc/avc_unit_info.cpp \
81         libieee1394/ARMHandler.cpp \
82         libieee1394/configrom.cpp \
83         libieee1394/csr1212.c \
84         libieee1394/ieee1394service.cpp \
85         libstreaming/cip.c \
86         libstreaming/IsoHandler.cpp \
87         libstreaming/IsoHandlerManager.cpp \
88         libstreaming/IsoStream.cpp \
89         libstreaming/Port.cpp \
90         libstreaming/PortManager.cpp \
91         libstreaming/StreamProcessor.cpp \
92         libstreaming/StreamProcessorManager.cpp \
93         libutil/DelayLockedLoop.cpp \
94         libutil/PacketBuffer.cpp \
95         libutil/OptionContainer.cpp \
96         libutil/PosixThread.cpp \
97         libutil/ringbuffer.c \
98         libutil/serialize.cpp \
99         libutil/StreamStatistics.cpp \
100         libutil/SystemTimeSource.cpp \
101         libutil/Time.c \
102         libutil/TimeSource.cpp \
103         libutil/TimestampedBuffer.cpp
104
105 # class specific sources
106 bebob_src = \
107         bebob/bebob_avdevice.cpp \
108         bebob/bebob_avdevice_subunit.cpp \
109         bebob/bebob_avdevice_xml.cpp \
110         bebob/bebob_avplug.cpp \
111         bebob/bebob_avplug_xml.cpp \
112         bebob/bebob_dl_bcd.cpp \
113         bebob/bebob_dl_codes.cpp \
114         bebob/bebob_dl_mgr.cpp \
115         bebob/bebob_functionblock.cpp \
116         maudio/maudio_avdevice.cpp
117
118 motu_src = \
119         motu/motu_avdevice.cpp \
120         libstreaming/MotuPort.cpp \
121         libstreaming/MotuPortInfo.cpp \
122         libstreaming/MotuStreamProcessor.cpp
123
124 dice_src = \
125         dice/dice_avdevice.cpp
126
127 bounce_src = \
128         bounce/bounce_avdevice.cpp
129
130 metric_halo_src = \
131         metrichalo/mh_avdevice.cpp
132
133 rme_src = \
134         rme/rme_avdevice.cpp
135
136 amdtp_src = \
137         libstreaming/AmdtpPort.cpp \
138         libstreaming/AmdtpPortInfo.cpp \
139         libstreaming/AmdtpStreamProcessor.cpp
140
141 # data
142 #  generic
143 nobase_dist_pkgdata_DATA =
144 #  bebob specific
145 bebob_pkgdata =                                 \
146         maudio/refdesign.xml                            \
147         maudio/fw410.xml                                \
148         maudio/fwap.xml
149
150 # programs intended for installation in the 'bin' directory
151 #  generic
152 bin_PROGRAMS =
153
154 #  class specific
155 bebob_bin = freebob-downloader freebob-sync
156
157 freebob_downloader_SOURCES = freebob-downloader.cpp
158 freebob_downloader_LDADD = $(top_builddir)/src/libfreebob.la
159
160 freebob_sync_SOURCES = freebob-sync.cpp
161 freebob_sync_LDADD = $(top_builddir)/src/libfreebob.la
162
163 # programs not intended for installation
164 # generic
165 noinst_PROGRAMS = test-dll test-debugmodule test-unittests test-ser
166
167 test_dll_SOURCES = libutil/test-dll.cpp
168 test_dll_LDADD = $(top_builddir)/src/libfreebob.la
169
170 test_debugmodule_SOURCES = debugmodule/test_debugmodule.cpp
171 test_debugmodule_LDADD = $(top_builddir)/src/libfreebob.la
172
173 test_unittests_SOURCES = libutil/unittests.cpp
174 test_unittests_LDADD = $(top_builddir)/src/libfreebob.la
175
176 test_ser_SOURCES = ser.cpp
177 test_ser_LDADD = $(top_builddir)/src/libfreebob.la
178
179 # build customisation
180
181 if BUILD_BEBOB
182 libfreebob_la_SOURCES += $(bebob_src)
183 bin_PROGRAMS += $(bebob_bin)
184 noinst_PROGRAMS += $(bebob_noinst)
185 nobase_dist_pkgdata_DATA += $(bebob_pkgdata)
186 endif
187
188 if BUILD_BOUNCE
189 libfreebob_la_SOURCES += $(bounce_src)
190 bin_PROGRAMS += $(bounce_bin)
191 noinst_PROGRAMS += $(bounce_noinst)
192 nobase_dist_pkgdata_DATA += $(bounce_pkgdata)
193 endif
194
195 if BUILD_DICE
196 libfreebob_la_SOURCES += $(dice_src)
197 bin_PROGRAMS += $(dice_bin)
198 noinst_PROGRAMS += $(dice_noinst)
199 nobase_dist_pkgdata_DATA += $(dice_pkgdata)
200 endif
201
202 if BUILD_MOTU
203 libfreebob_la_SOURCES += $(motu_src)
204 bin_PROGRAMS += $(motu_bin)
205 noinst_PROGRAMS += $(motu_noinst)
206 nobase_dist_pkgdata_DATA += $(motu_pkgdata)
207 endif
208
209 if BUILD_METRIC_HALO
210 libfreebob_la_SOURCES += $(metric_halo_src)
211 bin_PROGRAMS += $(metric_halo_bin)
212 noinst_PROGRAMS += $(metric_halo_noinst)
213 nobase_dist_pkgdata_DATA += $(metric_halo_pkgdata)
214 endif
215
216 if BUILD_RME
217 libfreebob_la_SOURCES += $(rme_src)
218 bin_PROGRAMS += $(rme_bin)
219 noinst_PROGRAMS += $(rme_noinst)
220 nobase_dist_pkgdata_DATA += $(rme_pkgdata)
221 endif
222
223 if BUILD_AMDTP
224 libfreebob_la_SOURCES += $(amdtp_src)
225 bin_PROGRAMS += $(amdtp_bin)
226 noinst_PROGRAMS += $(amdtp_noinst)
227 nobase_dist_pkgdata_DATA += $(amdtp_pkgdata)
228 endif
Note: See TracBrowser for help on using the browser.