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