-
Notifications
You must be signed in to change notification settings - Fork 35
/
Makefile.am
217 lines (200 loc) · 6.39 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
# Copyright (C) 2008, 2009 Her Majesty the Queen in Right of Canada
# (Communications Research Center Canada)
#
# Copyright (C) 2024 Matthias P. Braendli
# http://opendigitalradio.org
# This file is part of ODR-DabMux.
#
# ODR-DabMux is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# ODR-DabMux is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with ODR-DabMux. If not, see <http://www.gnu.org/licenses/>.
if IS_GIT_REPO
GITVERSION_FLAGS = -DGITVERSION="\"`git describe --dirty`\""
else
GITVERSION_FLAGS =
endif
bin_PROGRAMS=odr-dabmux zmqinput-keygen
if HAVE_OUTPUT_RAW_TEST
bin_PROGRAMS+=odr-zmq2farsync
endif
FARSYNC_DIR=lib/farsync/linux
INCLUDE=-I$(FARSYNC_DIR) -Ilib/charset -Ilib -Isrc
lib_fec_sources = lib/fec/char.h \
lib/fec/rs-common.h \
lib/fec/decode_rs_char.c \
lib/fec/decode_rs.h \
lib/fec/encode_rs_char.c \
lib/fec/encode_rs.h \
lib/fec/fec.h \
lib/fec/init_rs_char.c \
lib/fec/init_rs.h
lib_charset_sources = lib/charset/charset.cpp \
lib/charset/charset.h \
lib/charset/utf8/checked.h \
lib/charset/utf8/core.h \
lib/charset/utf8/unchecked.h \
lib/charset/utf8/cpp11.h \
lib/charset/utf8/cpp17.h \
lib/charset/utf8/cpp20.h \
lib/charset/utf8.h
odr_dabmux_CFLAGS =-Wall $(INCLUDE) $(PTHREAD_CFLAGS) $(GITVERSION_FLAGS)
odr_dabmux_CXXFLAGS =-Wall $(PTHREAD_CXXFLAGS) $(INCLUDE) $(GITVERSION_FLAGS) $(BOOST_CPPFLAGS) $(ZMQ_CPPFLAGS)
odr_dabmux_LDADD =$(ZMQ_LIBS) $(BOOST_LDFLAGS) \
$(PTHREAD_CFLAGS) $(PTHREAD_LIBS) $(BOOST_SYSTEM_LIB)
odr_dabmux_SOURCES =src/DabMux.cpp \
src/DabMux.h \
src/DabMultiplexer.cpp \
src/DabMultiplexer.h \
src/input/inputs.h \
src/input/Prbs.cpp \
src/input/Prbs.h \
src/input/Zmq.cpp \
src/input/Zmq.h \
src/input/File.cpp \
src/input/File.h \
src/input/Udp.cpp \
src/input/Udp.h \
src/input/Edi.cpp \
src/input/Edi.h \
src/dabOutput/dabOutput.h \
src/dabOutput/dabOutputFile.cpp \
src/dabOutput/dabOutputFifo.cpp \
src/dabOutput/dabOutputRaw.cpp \
src/dabOutput/dabOutputSimul.cpp \
src/dabOutput/dabOutputTcp.cpp \
src/dabOutput/dabOutputUdp.cpp \
src/dabOutput/dabOutputZMQ.cpp \
src/dabOutput/metadata.h \
src/dabOutput/metadata.cpp \
src/ConfigParser.cpp \
src/ConfigParser.h \
src/Eti.h \
src/Eti.cpp \
src/ManagementServer.h \
src/ManagementServer.cpp \
src/MuxElements.cpp \
src/MuxElements.h \
src/PcDebug.h \
src/fig/FIG.h \
src/fig/FIG.cpp \
src/fig/FIG0.h \
src/fig/FIG0structs.h \
src/fig/FIG0_0.cpp \
src/fig/FIG0_0.h \
src/fig/FIG0_1.cpp \
src/fig/FIG0_1.h \
src/fig/FIG0_2.cpp \
src/fig/FIG0_2.h \
src/fig/FIG0_3.cpp \
src/fig/FIG0_3.h \
src/fig/FIG0_5.cpp \
src/fig/FIG0_5.h \
src/fig/FIG0_6.cpp \
src/fig/FIG0_6.h \
src/fig/FIG0_7.cpp \
src/fig/FIG0_7.h \
src/fig/FIG0_8.cpp \
src/fig/FIG0_8.h \
src/fig/FIG0_9.cpp \
src/fig/FIG0_9.h \
src/fig/FIG0_10.cpp \
src/fig/FIG0_10.h \
src/fig/FIG0_13.cpp \
src/fig/FIG0_13.h \
src/fig/FIG0_14.cpp \
src/fig/FIG0_14.h \
src/fig/FIG0_17.cpp \
src/fig/FIG0_17.h \
src/fig/FIG0_18.cpp \
src/fig/FIG0_18.h \
src/fig/FIG0_19.cpp \
src/fig/FIG0_19.h \
src/fig/FIG0_21.cpp \
src/fig/FIG0_21.h \
src/fig/FIG0_24.cpp \
src/fig/FIG0_24.h \
src/fig/FIG1.cpp \
src/fig/FIG1.h \
src/fig/FIG2.cpp \
src/fig/FIG2.h \
src/fig/FIGCarousel.cpp \
src/fig/FIGCarousel.h \
src/fig/TransitionHandler.h \
src/mpeg.h \
src/mpeg.c \
src/PrbsGenerator.cpp \
src/PrbsGenerator.h \
src/utils.cpp \
src/utils.h \
lib/crc.h \
lib/crc.c \
lib/ClockTAI.h \
lib/ClockTAI.cpp \
lib/Globals.cpp \
lib/Log.h \
lib/Log.cpp \
lib/RemoteControl.cpp \
lib/RemoteControl.h \
lib/Json.h \
lib/Json.cpp \
lib/edi/STIDecoder.cpp \
lib/edi/STIDecoder.hpp \
lib/edi/STIWriter.cpp \
lib/edi/STIWriter.hpp \
lib/edi/PFT.cpp \
lib/edi/PFT.hpp \
lib/edi/common.cpp \
lib/edi/common.hpp \
lib/edi/buffer_unpack.hpp \
lib/edioutput/AFPacket.cpp \
lib/edioutput/AFPacket.h \
lib/edioutput/EDIConfig.h \
lib/edioutput/PFT.cpp \
lib/edioutput/PFT.h \
lib/edioutput/TagItems.cpp \
lib/edioutput/TagItems.h \
lib/edioutput/TagPacket.cpp \
lib/edioutput/TagPacket.h \
lib/edioutput/Transport.cpp \
lib/edioutput/Transport.h \
lib/ReedSolomon.h \
lib/ReedSolomon.cpp \
lib/Socket.h \
lib/Socket.cpp \
lib/ThreadsafeQueue.h \
lib/zmq.hpp \
$(lib_fec_sources) \
$(lib_charset_sources)
zmqinput_keygen_SOURCES = src/zmqinput-keygen.c
zmqinput_keygen_LDADD = $(ZMQ_LIBS)
zmqinput_keygen_CFLAGS = -Wall $(GITVERSION_FLAGS) $(ZMQ_CPPFLAGS)
odr_zmq2farsync_SOURCES = src/zmq2farsync/zmq2farsync.cpp \
src/dabOutput/dabOutput.h \
src/dabOutput/dabOutputRaw.cpp \
lib/Globals.cpp \
lib/Log.h \
lib/Log.cpp \
lib/RemoteControl.cpp \
lib/RemoteControl.h \
lib/Json.h \
lib/Json.cpp \
lib/Socket.h \
lib/Socket.cpp \
lib/zmq.hpp
odr_zmq2farsync_LDADD = $(ZMQ_LIBS)
odr_zmq2farsync_CFLAGS = -Wall $(ZMQ_CPPFLAGS) $(PTHREAD_CFLAGS) $(GITVERSION_FLAGS) $(INCLUDE)
odr_zmq2farsync_CXXFLAGS = -Wall $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) $(ZMQ_CPPFLAGS) $(GITVERSION_FLAGS) $(INCLUDE)
man_MANS = man/odr-dabmux.1
EXTRA_DIST = COPYING NEWS README.md INSTALL.md LICENCE AUTHORS ChangeLog TODO.md doc \
lib/fec/README.md lib/fec/LICENSE \
lib/farsync/linux lib/farsync/windows \
lib/charset/README