# # 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 . # 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 \ gsm_rlcmac.cpp \ bssgp.cpp \ GPRSSocket.cpp noinst_PROGRAMS = \ RLCMACTest \ RLCMAC noinst_HEADERS = \ csn1.h \ gsm_rlcmac.h \ bssgp.h \ GPRSSocket.h RLCMACTest_SOURCES = RLCMACTest.cpp RLCMACTest_LDADD = \ libgprs.la \ $(COMMON_LA) #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