blob: e52a597baf42d381df9baea0b70da6a8c66cdedd [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
Holger Hans Peter Freyther0b0f2c02012-07-23 10:47:33 +020021AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGB_CFLAGS) $(LIBOSMOGSM_CFLAGS)
Harald Welted6790092012-06-18 12:21:03 +080022AM_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 \
Andreas Eversbergebde64f2012-07-12 09:18:42 +020036 pcu_l1_if.cpp \
37 pcu_vty.c
Ivan Kluchnikov487a1412011-12-21 13:17:53 +030038
Andreas Eversberg0aed6542012-06-23 10:33:16 +020039if ENABLE_SYSMOBTS
40libgprs_la_SOURCES += \
Ivan Kluchnikovef7f28c2012-07-12 14:49:15 +040041 sysmo_sock.cpp
Andreas Eversberg0aed6542012-06-23 10:33:16 +020042else
43libgprs_la_SOURCES += \
Ivan Kluchnikovef7f28c2012-07-12 14:49:15 +040044 openbts_sock.cpp
Andreas Eversberg0aed6542012-06-23 10:33:16 +020045endif
46
Ivan Kluchnikov487a1412011-12-21 13:17:53 +030047noinst_PROGRAMS = \
Harald Welteda628592012-07-22 22:59:08 +020048 RLCMACTest
49
50bin_PROGRAMS = \
Harald Welte3022a702012-07-22 22:58:22 +020051 osmo-pcu
Ivan Kluchnikov487a1412011-12-21 13:17:53 +030052
53noinst_HEADERS = \
Ivan Kluchnikov60437182012-05-24 22:07:15 +040054 gprs_debug.h \
Ivan Kluchnikov487a1412011-12-21 13:17:53 +030055 csn1.h \
Ivan Kluchnikov5c2f9fb2012-02-05 02:27:17 +040056 gsm_rlcmac.h \
Ivan Kluchnikov8ee60512012-03-05 19:24:57 +040057 gprs_bssgp_pcu.h \
58 gprs_rlcmac.h \
Ivan Kluchnikovef7f28c2012-07-12 14:49:15 +040059 pcuif_proto.h \
Ivan Kluchnikovff447cd2012-04-12 15:16:23 +040060 pcu_l1_if.h \
Ivan Kluchnikov962f97b2012-04-30 17:51:23 +040061 gsm_timer.h \
Andreas Eversbergebde64f2012-07-12 09:18:42 +020062 bitvector.h \
63 pcu_vty.h
Ivan Kluchnikov487a1412011-12-21 13:17:53 +030064
65RLCMACTest_SOURCES = RLCMACTest.cpp
Ivan Kluchnikov9c2c6992012-01-05 22:37:20 +030066RLCMACTest_LDADD = \
67 libgprs.la \
Harald Welte57f6b022012-06-14 21:05:44 +080068 $(LIBOSMOCORE_LIBS) \
Ivan Kluchnikov60437182012-05-24 22:07:15 +040069 $(COMMON_LA)
Ivan Kluchnikov5c2f9fb2012-02-05 02:27:17 +040070
Harald Welte3022a702012-07-22 22:58:22 +020071osmo_pcu_SOURCES = pcu_main.cpp
72osmo_pcu_LDADD = \
Ivan Kluchnikov5c2f9fb2012-02-05 02:27:17 +040073 libgprs.la \
Harald Welte477e79e2012-06-18 12:21:03 +080074 $(LIBOSMOGB_LIBS) \
Harald Welte57f6b022012-06-14 21:05:44 +080075 $(LIBOSMOCORE_LIBS) \
76 $(LIBOSMOGSM_LIBS) \
Ivan Kluchnikov5c2f9fb2012-02-05 02:27:17 +040077 $(COMMON_LA)
78
79#MOSTLYCLEANFILES += testSource testDestination