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

Revision 404, 6.0 kB (checked in by pieterpalmers, 16 years ago)

- introduce support framework for DICE and Metric Halo
- change probe/discovery code to make adding devices easier
- made conditional compilation effectively work.

./configure now has the following switches:

--enable-bebob build BeBoB support (default=yes)
--enable-motu build Motu support (default=no)
--enable-dice build DICE support (default=no)
--enable-metric-halo build Metric Halo support (note: completely useless)

(default=no)

--enable-rme build RME support (note: completely useless)

(default=no)

--enable-bounce build Bounce device support (default=no)
--enable-all-devices build support for all supported devices (default=no)

these now turn on/off compilation effectively.

  • 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_LIBADD = -lrt
28
29 noinst_HEADERS = configrom.h csr1212.h debugmodule/debugmodule.h \
30         devicemanager.h fbtypes.h iavdevice.h threads.h bebob/bebob_avdevice.h \
31         bebob/bebob_avdevice_subunit.h bebob/bebob_avplug.h bebob/bebob_dl_bcd.h bebob/bebob_dl_codes.h \
32         bebob/bebob_dl_mgr.h bebob/bebob_functionblock.h bounce/bounce_avdevice.h \
33         maudio/maudio_avdevice.h motu/motu_avdevice.h rme/rme_avdevice.h \
34         metrichalo/mh_avdevice.h dice/dice_avdevice.h \
35         libfreebobavc/avc_connect.h \
36         libfreebobavc/avc_definitions.h libfreebobavc/avc_extended_cmd_generic.h \
37         libfreebobavc/avc_extended_plug_info.h libfreebobavc/avc_extended_stream_format.h \
38         libfreebobavc/avc_extended_subunit_info.h libfreebobavc/avc_function_block.h libfreebobavc/avc_generic.h \
39         libfreebobavc/avc_plug_info.h libfreebobavc/avc_serialize.h libfreebobavc/avc_signal_source.h \
40         libfreebobavc/avc_subunit_info.h libfreebobavc/avc_unit_info.h libfreebobavc/ieee1394service.h \
41         libstreaming/AmdtpPort.h libstreaming/AmdtpPortInfo.h libstreaming/AmdtpStreamProcessor.h \
42         libstreaming/cip.h libstreaming/cycletimer.h libstreaming/IsoHandler.h \
43         libstreaming/IsoHandlerManager.h libstreaming/IsoStream.h libstreaming/MotuPort.h \
44         libstreaming/MotuPortInfo.h libstreaming/MotuStreamProcessor.h \
45         libstreaming/Port.h libstreaming/PortManager.h \
46         libstreaming/StreamProcessor.h libstreaming/StreamProcessorManager.h \
47         libutil/Atomic.h libutil/cycles.h libutil/DelayLockedLoop.h libutil/PosixThread.h \
48         libutil/ringbuffer.h libutil/PacketBuffer.h libutil/StreamStatistics.h \
49         libutil/serialize.h libutil/SystemTimeSource.h libutil/Thread.h libutil/Time.h \
50         libutil/TimeSource.h libutil/TimestampedBuffer.h
51
52 libfreebob_la_SOURCES = \
53         configrom.cpp \
54         csr1212.c \
55         devicemanager.cpp \
56         freebob.cpp \
57         freebob_streaming.cpp \
58         xmlparser.c \
59         bebob/bebob_avdevice.cpp \
60         bebob/bebob_avdevice_subunit.cpp \
61         bebob/bebob_avdevice_xml.cpp \
62         bebob/bebob_avplug.cpp \
63         bebob/bebob_avplug_xml.cpp \
64         bebob/bebob_dl_bcd.cpp \
65         bebob/bebob_dl_codes.cpp \
66         bebob/bebob_dl_mgr.cpp \
67         bebob/bebob_functionblock.cpp \
68         bounce/bounce_avdevice.cpp \
69         dice/dice_avdevice.cpp \
70         maudio/maudio_avdevice.cpp \
71         metrichalo/mh_avdevice.cpp \
72         motu/motu_avdevice.cpp \
73         rme/rme_avdevice.cpp \
74         debugmodule/debugmodule.cpp \
75         libfreebobavc/avc_connect.cpp \
76         libfreebobavc/avc_definitions.cpp \
77         libfreebobavc/avc_extended_cmd_generic.cpp \
78         libfreebobavc/avc_extended_plug_info.cpp \
79         libfreebobavc/avc_extended_stream_format.cpp \
80         libfreebobavc/avc_extended_subunit_info.cpp \
81         libfreebobavc/avc_function_block.cpp \
82         libfreebobavc/avc_generic.cpp \
83         libfreebobavc/avc_plug_info.cpp \
84         libfreebobavc/avc_serialize.cpp \
85         libfreebobavc/avc_signal_source.cpp \
86         libfreebobavc/avc_subunit_info.cpp \
87         libfreebobavc/avc_unit_info.cpp \
88         libfreebobavc/ieee1394service.cpp \
89         libstreaming/AmdtpPort.cpp \
90         libstreaming/AmdtpPortInfo.cpp \
91         libstreaming/AmdtpStreamProcessor.cpp \
92         libstreaming/cip.c \
93         libstreaming/IsoHandler.cpp \
94         libstreaming/IsoHandlerManager.cpp \
95         libstreaming/IsoStream.cpp \
96         libstreaming/MotuPort.cpp \
97         libstreaming/MotuPortInfo.cpp \
98         libstreaming/MotuStreamProcessor.cpp \
99         libstreaming/Port.cpp \
100         libstreaming/PortManager.cpp \
101         libstreaming/StreamProcessor.cpp \
102         libstreaming/StreamProcessorManager.cpp \
103         libutil/DelayLockedLoop.cpp \
104         libutil/PacketBuffer.cpp \
105         libutil/PosixThread.cpp \
106         libutil/ringbuffer.c \
107         libutil/serialize.cpp \
108         libutil/StreamStatistics.cpp \
109         libutil/SystemTimeSource.cpp \
110         libutil/Time.c \
111         libutil/TimeSource.cpp \
112         libutil/TimestampedBuffer.cpp
113
114 libfreebob_la_LDFLAGS =                                 \
115         -version-info $(LT_VERSION) $(LIBRAW1394_LIBS)  \
116         $(LIBIEC61883_LIBS) $(LIBAVC1394_LIBS)          \
117         $(LIBXML_LIBS) $(LIBXMLCPP_LIBS) -lpthread -lrt
118
119 nobase_dist_pkgdata_DATA =                              \
120         maudio/refdesign.xml                            \
121         maudio/fw410.xml                                \
122         maudio/fwap.xml
123
124
125 ###############
126
127 bin_PROGRAMS = @BIN_PROGRAMS@
128
129 EXTRA_PROGRAMS = freebob-downloader freebob-sync
130 freebob_downloader_SOURCES = freebob-downloader.cpp
131 freebob_downloader_LDADD = $(top_builddir)/src/libfreebob.la
132
133 freebob_sync_SOURCES = freebob-sync.cpp
134 freebob_sync_LDADD = $(top_builddir)/src/libfreebob.la
135
136 ###############
137
138 noinst_PROGRAMS = test-dll test-debugmodule test-unittests test-ser
139
140 test_dll_SOURCES = libutil/test-dll.cpp
141 test_dll_LDADD = $(top_builddir)/src/libfreebob.la
142
143 test_debugmodule_SOURCES = debugmodule/test_debugmodule.cpp
144 test_debugmodule_LDADD = $(top_builddir)/src/libfreebob.la
145
146 test_unittests_SOURCES = libutil/unittests.cpp
147 test_unittests_LDADD = $(top_builddir)/src/libfreebob.la
148
149 test_ser_SOURCES = ser.cpp
150 test_ser_LDADD = $(top_builddir)/src/libfreebob.la
Note: See TracBrowser for help on using the browser.