2011-10-12 07:44:40 +00:00
|
|
|
#
|
|
|
|
# Copyright 2008 Free Software Foundation, Inc.
|
|
|
|
# Copyright 2010 Range Networks, Inc.
|
|
|
|
#
|
|
|
|
# This software is distributed under the terms of the GNU Public License.
|
|
|
|
# See the COPYING file in the main directory for details.
|
|
|
|
#
|
|
|
|
# This program 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.
|
|
|
|
#
|
|
|
|
# This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(top_srcdir)/Makefile.common
|
|
|
|
|
2018-04-24 14:16:06 +00:00
|
|
|
SUBDIRS = arch device
|
2013-08-20 23:31:14 +00:00
|
|
|
|
2019-05-03 19:08:40 +00:00
|
|
|
AM_CPPFLAGS = -Wall $(STD_DEFINES_AND_INCLUDES) -I${srcdir}/arch/common -I${srcdir}/device/common
|
2018-04-24 13:22:57 +00:00
|
|
|
AM_CXXFLAGS = -lpthread $(LIBOSMOCORE_CFLAGS) $(LIBOSMOCTRL_CFLAGS) $(LIBOSMOVTY_CFLAGS)
|
2019-06-28 11:27:24 +00:00
|
|
|
AM_CFLAGS = -lpthread $(LIBOSMOCORE_CFLAGS) $(LIBOSMOCTRL_CFLAGS) $(LIBOSMOVTY_CFLAGS)
|
2013-10-31 01:24:40 +00:00
|
|
|
|
2018-04-24 14:16:06 +00:00
|
|
|
noinst_LTLIBRARIES = libtransceiver_common.la
|
2011-10-12 07:44:40 +00:00
|
|
|
|
2011-11-26 03:18:30 +00:00
|
|
|
COMMON_SOURCES = \
|
2011-10-12 07:44:40 +00:00
|
|
|
radioInterface.cpp \
|
2011-11-26 03:18:30 +00:00
|
|
|
radioVector.cpp \
|
|
|
|
radioClock.cpp \
|
2015-08-22 02:32:58 +00:00
|
|
|
radioBuffer.cpp \
|
2011-10-12 07:44:40 +00:00
|
|
|
sigProcLib.cpp \
|
2013-11-09 19:30:41 +00:00
|
|
|
signalVector.cpp \
|
2016-06-22 23:16:30 +00:00
|
|
|
Transceiver.cpp \
|
|
|
|
ChannelizerBase.cpp \
|
|
|
|
Channelizer.cpp \
|
2019-07-01 18:41:55 +00:00
|
|
|
Synthesis.cpp \
|
|
|
|
proto_trxd.c
|
2011-10-12 07:44:40 +00:00
|
|
|
|
2018-04-24 14:16:06 +00:00
|
|
|
libtransceiver_common_la_SOURCES = \
|
2011-11-26 03:19:05 +00:00
|
|
|
$(COMMON_SOURCES) \
|
2013-08-21 00:54:54 +00:00
|
|
|
Resampler.cpp \
|
2013-11-14 04:38:09 +00:00
|
|
|
radioInterfaceResamp.cpp \
|
2017-03-31 00:22:58 +00:00
|
|
|
radioInterfaceMulti.cpp
|
2011-11-26 03:18:30 +00:00
|
|
|
|
2011-10-12 07:44:40 +00:00
|
|
|
noinst_HEADERS = \
|
|
|
|
Complex.h \
|
|
|
|
radioInterface.h \
|
2011-11-26 03:18:30 +00:00
|
|
|
radioVector.h \
|
|
|
|
radioClock.h \
|
2015-08-22 02:32:58 +00:00
|
|
|
radioBuffer.h \
|
2011-10-12 07:44:40 +00:00
|
|
|
sigProcLib.h \
|
2013-11-09 19:30:41 +00:00
|
|
|
signalVector.h \
|
2011-10-12 07:44:40 +00:00
|
|
|
Transceiver.h \
|
2013-08-21 00:54:54 +00:00
|
|
|
Resampler.h \
|
2016-06-22 23:16:30 +00:00
|
|
|
ChannelizerBase.h \
|
|
|
|
Channelizer.h \
|
2019-06-28 11:27:24 +00:00
|
|
|
Synthesis.h \
|
|
|
|
proto_trxd.h
|
2011-10-12 07:44:40 +00:00
|
|
|
|
2018-04-24 14:16:06 +00:00
|
|
|
COMMON_LDADD = \
|
|
|
|
libtransceiver_common.la \
|
2013-10-31 01:24:40 +00:00
|
|
|
$(ARCH_LA) \
|
2011-10-12 07:44:40 +00:00
|
|
|
$(GSM_LA) \
|
2018-01-12 14:04:02 +00:00
|
|
|
$(COMMON_LA) \
|
2018-02-20 13:44:39 +00:00
|
|
|
$(FFTWF_LIBS) \
|
2018-02-20 15:48:15 +00:00
|
|
|
$(LIBOSMOCORE_LIBS) \
|
|
|
|
$(LIBOSMOCTRL_LIBS) \
|
|
|
|
$(LIBOSMOVTY_LIBS)
|
2011-10-12 07:44:40 +00:00
|
|
|
|
2018-04-24 16:49:03 +00:00
|
|
|
bin_PROGRAMS =
|
|
|
|
|
|
|
|
if DEVICE_UHD
|
|
|
|
bin_PROGRAMS += osmo-trx-uhd
|
|
|
|
osmo_trx_uhd_SOURCES = osmo-trx.cpp
|
|
|
|
osmo_trx_uhd_LDADD = \
|
2018-04-27 22:20:19 +00:00
|
|
|
$(builddir)/device/uhd/libdevice.la \
|
2018-04-24 16:49:03 +00:00
|
|
|
$(COMMON_LDADD) \
|
2018-04-27 22:20:19 +00:00
|
|
|
$(UHD_LIBS)
|
2018-04-24 16:49:03 +00:00
|
|
|
osmo_trx_uhd_CPPFLAGS = $(AM_CPPFLAGS) $(UHD_CFLAGS)
|
|
|
|
endif
|
2018-04-24 14:16:06 +00:00
|
|
|
|
2018-04-24 14:29:05 +00:00
|
|
|
if DEVICE_USRP1
|
2018-04-24 16:49:03 +00:00
|
|
|
bin_PROGRAMS += osmo-trx-usrp1
|
|
|
|
osmo_trx_usrp1_SOURCES = osmo-trx.cpp
|
|
|
|
osmo_trx_usrp1_LDADD = \
|
2018-04-27 22:20:19 +00:00
|
|
|
$(builddir)/device/usrp1/libdevice.la \
|
2018-04-24 14:16:06 +00:00
|
|
|
$(COMMON_LDADD) \
|
2018-04-27 22:20:19 +00:00
|
|
|
$(USRP_LIBS)
|
2018-04-24 16:49:03 +00:00
|
|
|
osmo_trx_usrp1_CPPFLAGS = $(AM_CPPFLAGS) $(USRP_CFLAGS)
|
2011-11-26 03:19:05 +00:00
|
|
|
endif
|
2018-04-25 09:12:06 +00:00
|
|
|
|
|
|
|
if DEVICE_LMS
|
|
|
|
bin_PROGRAMS += osmo-trx-lms
|
|
|
|
osmo_trx_lms_SOURCES = osmo-trx.cpp
|
|
|
|
osmo_trx_lms_LDADD = \
|
2018-05-08 18:29:32 +00:00
|
|
|
$(builddir)/device/lms/libdevice.la \
|
2018-04-25 09:12:06 +00:00
|
|
|
$(COMMON_LDADD) \
|
2018-05-08 18:29:32 +00:00
|
|
|
$(LMS_LIBS)
|
2018-04-25 09:12:06 +00:00
|
|
|
osmo_trx_lms_CPPFLAGS = $(AM_CPPFLAGS) $(LMS_CFLAGS)
|
|
|
|
endif
|
2020-03-24 16:19:27 +00:00
|
|
|
|
|
|
|
if DEVICE_IPC
|
|
|
|
bin_PROGRAMS += osmo-trx-ipc
|
|
|
|
osmo_trx_ipc_SOURCES = osmo-trx.cpp
|
|
|
|
osmo_trx_ipc_LDADD = \
|
|
|
|
$(builddir)/device/ipc/libdevice.la \
|
|
|
|
$(COMMON_LDADD)
|
|
|
|
osmo_trx_ipc_CPPFLAGS = $(AM_CPPFLAGS)
|
|
|
|
endif
|
|
|
|
|