2011-12-21 10:17:53 +00:00
|
|
|
#
|
|
|
|
# Copyright 2008, 2009 Free Software Foundation, 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/>.
|
|
|
|
#
|
|
|
|
|
2012-07-23 08:47:33 +00:00
|
|
|
AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGB_CFLAGS) $(LIBOSMOGSM_CFLAGS)
|
2012-12-18 09:47:28 +00:00
|
|
|
|
|
|
|
if ENABLE_SYSMODSP
|
|
|
|
AM_CPPFLAGS += -DENABLE_SYSMODSP
|
|
|
|
endif
|
|
|
|
|
2012-06-18 04:21:03 +00:00
|
|
|
AM_CXXFLAGS = -Wall -ldl -pthread
|
2011-12-21 10:17:53 +00:00
|
|
|
|
|
|
|
noinst_LTLIBRARIES = libgprs.la
|
|
|
|
|
|
|
|
libgprs_la_SOURCES = \
|
2012-05-24 18:07:15 +00:00
|
|
|
gprs_debug.cpp \
|
2011-12-21 10:17:53 +00:00
|
|
|
csn1.cpp \
|
2012-02-04 22:27:17 +00:00
|
|
|
gsm_rlcmac.cpp \
|
2012-03-05 15:24:57 +00:00
|
|
|
gprs_bssgp_pcu.cpp \
|
|
|
|
gprs_rlcmac.cpp \
|
2012-06-27 13:52:04 +00:00
|
|
|
gprs_rlcmac_sched.cpp \
|
2013-03-16 15:22:02 +00:00
|
|
|
gprs_rlcmac_meas.cpp \
|
2013-09-29 05:37:40 +00:00
|
|
|
gprs_rlcmac_ts_alloc.cpp \
|
2012-04-30 13:51:23 +00:00
|
|
|
gsm_timer.cpp \
|
2012-07-12 10:49:15 +00:00
|
|
|
bitvector.cpp \
|
2012-07-12 07:18:42 +00:00
|
|
|
pcu_l1_if.cpp \
|
2013-08-24 16:31:27 +00:00
|
|
|
pcu_vty.c \
|
2013-10-17 17:41:11 +00:00
|
|
|
tbf.cpp \
|
2013-10-17 18:12:37 +00:00
|
|
|
bts.cpp \
|
2013-10-19 16:50:22 +00:00
|
|
|
poll_controller.cpp \
|
2013-10-19 17:50:00 +00:00
|
|
|
encoding.cpp \
|
2013-10-19 18:11:46 +00:00
|
|
|
ta.cpp \
|
2013-10-26 15:32:04 +00:00
|
|
|
sba.cpp \
|
2013-11-07 06:21:06 +00:00
|
|
|
decoding.cpp \
|
|
|
|
llc.cpp
|
2011-12-21 10:17:53 +00:00
|
|
|
|
2012-06-23 08:33:16 +00:00
|
|
|
if ENABLE_SYSMOBTS
|
|
|
|
libgprs_la_SOURCES += \
|
2012-07-12 10:49:15 +00:00
|
|
|
sysmo_sock.cpp
|
2012-06-23 08:33:16 +00:00
|
|
|
else
|
|
|
|
libgprs_la_SOURCES += \
|
2012-07-12 10:49:15 +00:00
|
|
|
openbts_sock.cpp
|
2012-06-23 08:33:16 +00:00
|
|
|
endif
|
|
|
|
|
2012-07-22 20:59:08 +00:00
|
|
|
bin_PROGRAMS = \
|
2012-07-22 20:58:22 +00:00
|
|
|
osmo-pcu
|
2011-12-21 10:17:53 +00:00
|
|
|
|
2013-07-28 14:45:54 +00:00
|
|
|
noinst_PROGRAMS =
|
|
|
|
|
2012-12-18 09:47:28 +00:00
|
|
|
if ENABLE_SYSMODSP
|
|
|
|
noinst_PROGRAMS += \
|
|
|
|
osmo-pcu-remote
|
|
|
|
endif
|
|
|
|
|
2011-12-21 10:17:53 +00:00
|
|
|
noinst_HEADERS = \
|
2012-05-24 18:07:15 +00:00
|
|
|
gprs_debug.h \
|
2011-12-21 10:17:53 +00:00
|
|
|
csn1.h \
|
2012-02-04 22:27:17 +00:00
|
|
|
gsm_rlcmac.h \
|
2012-03-05 15:24:57 +00:00
|
|
|
gprs_bssgp_pcu.h \
|
|
|
|
gprs_rlcmac.h \
|
2012-07-12 10:49:15 +00:00
|
|
|
pcuif_proto.h \
|
2012-04-12 11:16:23 +00:00
|
|
|
pcu_l1_if.h \
|
2012-04-30 13:51:23 +00:00
|
|
|
gsm_timer.h \
|
2012-07-12 07:18:42 +00:00
|
|
|
bitvector.h \
|
2012-12-18 09:47:28 +00:00
|
|
|
pcu_vty.h \
|
|
|
|
sysmo_l1_if.h \
|
2013-08-24 16:31:27 +00:00
|
|
|
femtobts.h \
|
2013-10-17 15:01:54 +00:00
|
|
|
tbf.h \
|
2013-10-17 18:12:37 +00:00
|
|
|
bts.h \
|
2013-10-19 17:04:03 +00:00
|
|
|
poll_controller.h \
|
2013-10-19 18:04:57 +00:00
|
|
|
encoding.h \
|
2013-10-19 18:47:12 +00:00
|
|
|
ta.h \
|
2013-10-26 15:32:04 +00:00
|
|
|
sba.h \
|
|
|
|
rlc.h \
|
2013-11-07 07:01:49 +00:00
|
|
|
decoding.h \
|
|
|
|
llc.h
|
2011-12-21 10:17:53 +00:00
|
|
|
|
2012-07-22 20:58:22 +00:00
|
|
|
osmo_pcu_SOURCES = pcu_main.cpp
|
2012-12-18 09:47:28 +00:00
|
|
|
|
|
|
|
if ENABLE_SYSMODSP
|
|
|
|
osmo_pcu_SOURCES += sysmo_l1_if.c \
|
|
|
|
sysmo_l1_hw.c \
|
|
|
|
femtobts.c
|
|
|
|
|
|
|
|
osmo_pcu_remote_SOURCES = pcu_main.cpp \
|
|
|
|
sysmo_l1_if.c \
|
|
|
|
sysmo_l1_fwd.c \
|
|
|
|
femtobts.c
|
|
|
|
endif
|
|
|
|
|
2012-07-22 20:58:22 +00:00
|
|
|
osmo_pcu_LDADD = \
|
2012-02-04 22:27:17 +00:00
|
|
|
libgprs.la \
|
2012-06-18 04:21:03 +00:00
|
|
|
$(LIBOSMOGB_LIBS) \
|
2012-06-14 13:05:44 +00:00
|
|
|
$(LIBOSMOCORE_LIBS) \
|
|
|
|
$(LIBOSMOGSM_LIBS) \
|
2012-02-04 22:27:17 +00:00
|
|
|
$(COMMON_LA)
|
|
|
|
|
2012-12-18 09:47:28 +00:00
|
|
|
if ENABLE_SYSMODSP
|
|
|
|
osmo_pcu_remote_LDADD = \
|
|
|
|
libgprs.la \
|
|
|
|
$(LIBOSMOGB_LIBS) \
|
|
|
|
$(LIBOSMOCORE_LIBS) \
|
|
|
|
$(LIBOSMOGSM_LIBS) \
|
|
|
|
$(COMMON_LA)
|
|
|
|
endif
|
|
|
|
|
2012-02-04 22:27:17 +00:00
|
|
|
#MOSTLYCLEANFILES += testSource testDestination
|