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
|
|
|
|
|
2016-04-29 11:05:59 +00:00
|
|
|
AM_CPPFLAGS = -Wall $(STD_DEFINES_AND_INCLUDES) -I${srcdir}/common
|
2018-01-16 11:43:46 +00:00
|
|
|
AM_CXXFLAGS = -lpthread
|
2013-08-20 23:31:14 +00:00
|
|
|
|
2013-10-31 01:18:55 +00:00
|
|
|
SUBDIRS = arm x86
|
2013-10-31 01:24:40 +00:00
|
|
|
|
2018-01-09 14:09:31 +00:00
|
|
|
if USRP1
|
2013-08-20 23:31:14 +00:00
|
|
|
AM_CPPFLAGS += $(USRP_CFLAGS)
|
2013-11-04 18:20:21 +00:00
|
|
|
else
|
|
|
|
AM_CPPFLAGS += $(UHD_CFLAGS)
|
2011-11-26 03:19:05 +00:00
|
|
|
endif
|
2011-10-12 07:44:40 +00:00
|
|
|
|
2011-11-26 03:19:31 +00:00
|
|
|
rev2dir = $(datadir)/usrp/rev2
|
|
|
|
rev4dir = $(datadir)/usrp/rev4
|
2011-10-12 07:44:40 +00:00
|
|
|
|
2011-11-26 03:19:31 +00:00
|
|
|
dist_rev2_DATA = std_inband.rbf
|
|
|
|
dist_rev4_DATA = std_inband.rbf
|
2011-10-12 07:44:40 +00:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
README \
|
|
|
|
README.Talgorithm
|
|
|
|
|
|
|
|
noinst_LTLIBRARIES = libtransceiver.la
|
|
|
|
|
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 \
|
|
|
|
Synthesis.cpp \
|
|
|
|
common/fft.c
|
2011-10-12 07:44:40 +00:00
|
|
|
|
2011-11-26 03:19:05 +00:00
|
|
|
libtransceiver_la_SOURCES = \
|
|
|
|
$(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
|
|
|
|
2013-11-16 02:14:33 +00:00
|
|
|
bin_PROGRAMS = osmo-trx
|
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 \
|
2011-10-12 07:44:40 +00:00
|
|
|
radioDevice.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 \
|
|
|
|
USRPDevice.h \
|
2013-08-21 00:54:54 +00:00
|
|
|
Resampler.h \
|
2016-06-22 23:16:30 +00:00
|
|
|
ChannelizerBase.h \
|
|
|
|
Channelizer.h \
|
|
|
|
Synthesis.h \
|
2013-10-31 01:24:40 +00:00
|
|
|
common/convolve.h \
|
2013-10-31 01:18:55 +00:00
|
|
|
common/convert.h \
|
2013-11-09 07:29:55 +00:00
|
|
|
common/scale.h \
|
2016-06-22 23:16:30 +00:00
|
|
|
common/mult.h \
|
|
|
|
common/fft.h
|
2011-10-12 07:44:40 +00:00
|
|
|
|
2013-11-16 02:14:33 +00:00
|
|
|
osmo_trx_SOURCES = osmo-trx.cpp
|
|
|
|
osmo_trx_LDADD = \
|
2011-10-12 07:44:40 +00:00
|
|
|
libtransceiver.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) \
|
|
|
|
$(FFTWF_LIBS)
|
2011-10-12 07:44:40 +00:00
|
|
|
|
2018-01-09 14:09:31 +00:00
|
|
|
if USRP1
|
2011-11-26 03:19:05 +00:00
|
|
|
libtransceiver_la_SOURCES += USRPDevice.cpp
|
2013-11-16 02:14:33 +00:00
|
|
|
osmo_trx_LDADD += $(USRP_LIBS)
|
2011-11-26 03:19:36 +00:00
|
|
|
else
|
2013-11-04 18:20:21 +00:00
|
|
|
libtransceiver_la_SOURCES += UHDDevice.cpp
|
2018-01-12 14:04:02 +00:00
|
|
|
osmo_trx_LDADD += $(UHD_LIBS)
|
2011-11-26 03:19:05 +00:00
|
|
|
endif
|