2010-05-24 02:42:16 +00:00
|
|
|
#
|
|
|
|
# Copyright 2008 Free Software Foundation, Inc.
|
|
|
|
#
|
2010-07-17 00:09:09 +00:00
|
|
|
# This software is distributed under the terms of the GNU Affero Public License.
|
2010-05-24 02:42:16 +00:00
|
|
|
# See the COPYING file in the main directory for details.
|
|
|
|
#
|
|
|
|
# This program is free software: you can redistribute it and/or modify
|
2010-07-04 22:28:06 +00:00
|
|
|
# it under the terms of the GNU Affero General Public License as published by
|
2010-05-24 02:42:16 +00:00
|
|
|
# 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
|
2010-07-04 22:28:06 +00:00
|
|
|
# GNU Affero General Public License for more details.
|
2010-05-24 02:42:16 +00:00
|
|
|
#
|
2010-07-04 22:28:06 +00:00
|
|
|
# You should have received a copy of the GNU Affero General Public License
|
2010-05-24 02:42:16 +00:00
|
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(top_srcdir)/Makefile.common
|
|
|
|
|
2010-11-11 03:21:19 +00:00
|
|
|
if UHD
|
|
|
|
AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) $(UHD_CFLAGS)
|
|
|
|
else
|
2010-05-24 02:42:16 +00:00
|
|
|
AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) $(USRP_CFLAGS)
|
2010-11-11 03:21:19 +00:00
|
|
|
endif
|
2010-07-14 19:52:43 +00:00
|
|
|
AM_CXXFLAGS = -Wall -O3 -g -pthread
|
2010-05-24 02:42:16 +00:00
|
|
|
|
|
|
|
rev2dir = $(datadir)/usrp/rev2
|
|
|
|
rev4dir = $(datadir)/usrp/rev4
|
|
|
|
|
|
|
|
dist_rev2_DATA = std_inband.rbf
|
|
|
|
dist_rev4_DATA = std_inband.rbf
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
README \
|
|
|
|
README.Talgorithm
|
|
|
|
|
|
|
|
noinst_LTLIBRARIES = libtransceiver.la
|
|
|
|
|
|
|
|
libtransceiver_la_SOURCES = \
|
|
|
|
radioInterface.cpp \
|
|
|
|
sigProcLib.cpp \
|
2010-11-11 03:21:19 +00:00
|
|
|
Transceiver.cpp
|
2010-05-24 02:42:16 +00:00
|
|
|
|
|
|
|
noinst_PROGRAMS = \
|
|
|
|
USRPping \
|
|
|
|
transceiver
|
|
|
|
|
|
|
|
noinst_HEADERS = \
|
|
|
|
Complex.h \
|
|
|
|
radioInterface.h \
|
|
|
|
rcvLPF_651.h \
|
|
|
|
sendLPF_961.h \
|
|
|
|
sigProcLib.h \
|
|
|
|
Transceiver.h \
|
2011-05-06 18:22:47 +00:00
|
|
|
USRPDevice.h
|
2010-05-24 02:42:16 +00:00
|
|
|
|
|
|
|
USRPping_SOURCES = USRPping.cpp
|
|
|
|
USRPping_LDADD = \
|
|
|
|
libtransceiver.la \
|
2010-11-11 03:21:19 +00:00
|
|
|
$(COMMON_LA)
|
2010-05-24 02:42:16 +00:00
|
|
|
|
|
|
|
transceiver_SOURCES = runTransceiver.cpp
|
|
|
|
transceiver_LDADD = \
|
|
|
|
libtransceiver.la \
|
|
|
|
$(GSM_LA) \
|
2010-11-11 03:21:19 +00:00
|
|
|
$(COMMON_LA)
|
2010-05-24 02:42:16 +00:00
|
|
|
|
2010-11-11 03:21:19 +00:00
|
|
|
if UHD
|
|
|
|
libtransceiver_la_SOURCES += UHDDevice.cpp
|
|
|
|
transceiver_LDADD += $(UHD_LIBS)
|
|
|
|
USRPping_LDADD += $(UHD_LIBS)
|
|
|
|
else
|
|
|
|
libtransceiver_la_SOURCES += USRPDevice.cpp
|
|
|
|
transceiver_LDADD += $(USRP_LIBS)
|
|
|
|
USRPping_LDADD += $(USRP_LIBS)
|
|
|
|
endif
|
2010-05-24 02:42:16 +00:00
|
|
|
|
|
|
|
MOSTLYCLEANFILES +=
|
|
|
|
|
|
|
|
#radioInterface.cpp
|
|
|
|
#ComplexTest.cpp
|
|
|
|
#sigProcLibTest.cpp
|
|
|
|
#sweepGenerator.cpp
|
|
|
|
#testRadio.cpp
|
|
|
|
|