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/>.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(top_srcdir)/Makefile.common
|
|
|
|
|
|
|
|
AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES)
|
|
|
|
AM_CXXFLAGS = -Wall -ldl -pthread
|
|
|
|
|
|
|
|
noinst_LTLIBRARIES = libgprs.la
|
|
|
|
|
|
|
|
libgprs_la_SOURCES = \
|
|
|
|
csn1.cpp \
|
2012-02-04 22:27:17 +00:00
|
|
|
gsm_rlcmac.cpp \
|
|
|
|
bssgp.cpp \
|
|
|
|
GPRSSocket.cpp
|
2011-12-21 10:17:53 +00:00
|
|
|
|
|
|
|
noinst_PROGRAMS = \
|
2012-02-04 22:27:17 +00:00
|
|
|
RLCMACTest \
|
|
|
|
RLCMAC
|
2011-12-21 10:17:53 +00:00
|
|
|
|
|
|
|
noinst_HEADERS = \
|
|
|
|
csn1.h \
|
2012-02-04 22:27:17 +00:00
|
|
|
gsm_rlcmac.h \
|
|
|
|
bssgp.h \
|
|
|
|
GPRSSocket.h
|
2011-12-21 10:17:53 +00:00
|
|
|
|
|
|
|
RLCMACTest_SOURCES = RLCMACTest.cpp
|
2012-01-05 19:37:20 +00:00
|
|
|
RLCMACTest_LDADD = \
|
|
|
|
libgprs.la \
|
|
|
|
$(COMMON_LA)
|
2011-12-21 10:17:53 +00:00
|
|
|
|
2012-02-04 22:27:17 +00:00
|
|
|
#OPENBSC_DIR = /path to OpenBSC dir
|
|
|
|
#OPENGGSN_DIR = /path to OpenGGGSN dir
|
|
|
|
|
|
|
|
RLCMAC_SOURCES = RLCMAC.cpp
|
|
|
|
RLCMAC_LDADD = \
|
|
|
|
libgprs.la \
|
|
|
|
$(OPENBSC_DIR)/src/libgb/gprs_ns.o \
|
|
|
|
$(OPENBSC_DIR)/src/libgb/gprs_bssgp.o \
|
|
|
|
$(OPENBSC_DIR)/src/libgb/gprs_bssgp_bss.o \
|
|
|
|
$(OPENBSC_DIR)/src/libgb/gprs_bssgp_util.o \
|
|
|
|
$(OPENBSC_DIR)/src/libgb/gprs_ns_frgre.o \
|
|
|
|
$(OPENGGSN_DIR)/gtp/queue.o \
|
|
|
|
$(OPENGGSN_DIR)/gtp/lookupa.o \
|
|
|
|
$(OPENGGSN_DIR)/gtp/pdp.o \
|
|
|
|
$(OPENGGSN_DIR)/gtp/gtpie.o \
|
|
|
|
$(OPENGGSN_DIR)/gtp/gtp.o \
|
|
|
|
$(OPENBSC_DIR)/src/gprs/sgsn_libgtp.o \
|
|
|
|
$(OPENBSC_DIR)/src/gprs/gprs_sndcp.o \
|
|
|
|
$(OPENBSC_DIR)/src/gprs/crc24.o \
|
|
|
|
$(OPENBSC_DIR)/src/gprs/gprs_llc.o \
|
|
|
|
$(OPENBSC_DIR)/src/gprs/gprs_gmm.o \
|
|
|
|
$(OPENBSC_DIR)/src/gprs/gprs_sgsn.o \
|
|
|
|
$(OPENBSC_DIR)/src/libcommon/socket.o \
|
|
|
|
$(OPENBSC_DIR)/src/libcommon/debug.o \
|
|
|
|
-losmocore \
|
|
|
|
-losmogsm \
|
|
|
|
$(COMMON_LA)
|
|
|
|
|
|
|
|
#MOSTLYCLEANFILES += testSource testDestination
|
2011-12-21 10:17:53 +00:00
|
|
|
|