blob: ca586fda1f6258ff4b99800f67da1c522d2a5f11 [file] [log] [blame]
Ivan Kluchnikov487a1412011-12-21 13:17:53 +03001#
2# Copyright 2008, 2009 Free Software Foundation, Inc.
3#
4# This software is distributed under the terms of the GNU Public License.
5# See the COPYING file in the main directory for details.
6#
7# This program is free software: you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation, either version 3 of the License, or
10# (at your option) any later version.
11#
12# This program is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License
18# along with this program. If not, see <http://www.gnu.org/licenses/>.
19#
20
Harald Welted6790092012-06-18 12:21:03 +080021AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES)
22AM_CXXFLAGS = -Wall -ldl -pthread
Ivan Kluchnikov487a1412011-12-21 13:17:53 +030023
24noinst_LTLIBRARIES = libgprs.la
25
26libgprs_la_SOURCES = \
Ivan Kluchnikov60437182012-05-24 22:07:15 +040027 gprs_debug.cpp \
Ivan Kluchnikov487a1412011-12-21 13:17:53 +030028 csn1.cpp \
Ivan Kluchnikov5c2f9fb2012-02-05 02:27:17 +040029 gsm_rlcmac.cpp \
Ivan Kluchnikov8ee60512012-03-05 19:24:57 +040030 gprs_bssgp_pcu.cpp \
31 gprs_rlcmac.cpp \
Andreas Eversberg5dac2f02012-06-27 15:52:04 +020032 gprs_rlcmac_data.cpp \
33 gprs_rlcmac_sched.cpp \
Ivan Kluchnikov962f97b2012-04-30 17:51:23 +040034 gsm_timer.cpp \
Ivan Kluchnikovef7f28c2012-07-12 14:49:15 +040035 bitvector.cpp \
36 pcu_l1_if.cpp
Ivan Kluchnikov487a1412011-12-21 13:17:53 +030037
Andreas Eversberg0aed6542012-06-23 10:33:16 +020038if ENABLE_SYSMOBTS
39libgprs_la_SOURCES += \
Ivan Kluchnikovef7f28c2012-07-12 14:49:15 +040040 sysmo_sock.cpp
Andreas Eversberg0aed6542012-06-23 10:33:16 +020041else
42libgprs_la_SOURCES += \
Ivan Kluchnikovef7f28c2012-07-12 14:49:15 +040043 openbts_sock.cpp
Andreas Eversberg0aed6542012-06-23 10:33:16 +020044endif
45
Ivan Kluchnikov487a1412011-12-21 13:17:53 +030046noinst_PROGRAMS = \
Ivan Kluchnikov5c2f9fb2012-02-05 02:27:17 +040047 RLCMACTest \
Ivan Kluchnikov8ee60512012-03-05 19:24:57 +040048 pcu
Ivan Kluchnikov487a1412011-12-21 13:17:53 +030049
50noinst_HEADERS = \
Ivan Kluchnikov60437182012-05-24 22:07:15 +040051 gprs_debug.h \
Ivan Kluchnikov487a1412011-12-21 13:17:53 +030052 csn1.h \
Ivan Kluchnikov5c2f9fb2012-02-05 02:27:17 +040053 gsm_rlcmac.h \
Ivan Kluchnikov8ee60512012-03-05 19:24:57 +040054 gprs_bssgp_pcu.h \
55 gprs_rlcmac.h \
Ivan Kluchnikovef7f28c2012-07-12 14:49:15 +040056 pcuif_proto.h \
Ivan Kluchnikovff447cd2012-04-12 15:16:23 +040057 pcu_l1_if.h \
Ivan Kluchnikov962f97b2012-04-30 17:51:23 +040058 gsm_timer.h \
59 bitvector.h
Ivan Kluchnikov487a1412011-12-21 13:17:53 +030060
61RLCMACTest_SOURCES = RLCMACTest.cpp
Ivan Kluchnikov9c2c6992012-01-05 22:37:20 +030062RLCMACTest_LDADD = \
63 libgprs.la \
Harald Welte57f6b022012-06-14 21:05:44 +080064 $(LIBOSMOCORE_LIBS) \
Ivan Kluchnikov60437182012-05-24 22:07:15 +040065 $(COMMON_LA)
Ivan Kluchnikov5c2f9fb2012-02-05 02:27:17 +040066
Ivan Kluchnikov8ee60512012-03-05 19:24:57 +040067pcu_SOURCES = pcu_main.cpp
68pcu_LDADD = \
Ivan Kluchnikov5c2f9fb2012-02-05 02:27:17 +040069 libgprs.la \
Harald Welte477e79e2012-06-18 12:21:03 +080070 $(LIBOSMOGB_LIBS) \
Harald Welte57f6b022012-06-14 21:05:44 +080071 $(LIBOSMOCORE_LIBS) \
72 $(LIBOSMOGSM_LIBS) \
Ivan Kluchnikov5c2f9fb2012-02-05 02:27:17 +040073 $(COMMON_LA)
74
75#MOSTLYCLEANFILES += testSource testDestination