blob: 4321b7caf536feab01a7fcad6eaaadf3749aa4b4 [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 \
Andreas Eversbergfc1dfd82012-07-26 10:50:23 +020033 gprs_rlcmac_ctrl.cpp \
Andreas Eversberg5dac2f02012-06-27 15:52:04 +020034 gprs_rlcmac_sched.cpp \
Ivan Kluchnikov962f97b2012-04-30 17:51:23 +040035 gsm_timer.cpp \
Ivan Kluchnikovef7f28c2012-07-12 14:49:15 +040036 bitvector.cpp \
Andreas Eversbergebde64f2012-07-12 09:18:42 +020037 pcu_l1_if.cpp \
38 pcu_vty.c
Ivan Kluchnikov487a1412011-12-21 13:17:53 +030039
Andreas Eversberg0aed6542012-06-23 10:33:16 +020040if ENABLE_SYSMOBTS
41libgprs_la_SOURCES += \
Ivan Kluchnikovef7f28c2012-07-12 14:49:15 +040042 sysmo_sock.cpp
Andreas Eversberg0aed6542012-06-23 10:33:16 +020043else
44libgprs_la_SOURCES += \
Ivan Kluchnikovef7f28c2012-07-12 14:49:15 +040045 openbts_sock.cpp
Andreas Eversberg0aed6542012-06-23 10:33:16 +020046endif
47
Ivan Kluchnikov487a1412011-12-21 13:17:53 +030048noinst_PROGRAMS = \
Harald Welteda628592012-07-22 22:59:08 +020049 RLCMACTest
50
51bin_PROGRAMS = \
Harald Welte3022a702012-07-22 22:58:22 +020052 osmo-pcu
Ivan Kluchnikov487a1412011-12-21 13:17:53 +030053
54noinst_HEADERS = \
Ivan Kluchnikov60437182012-05-24 22:07:15 +040055 gprs_debug.h \
Ivan Kluchnikov487a1412011-12-21 13:17:53 +030056 csn1.h \
Ivan Kluchnikov5c2f9fb2012-02-05 02:27:17 +040057 gsm_rlcmac.h \
Ivan Kluchnikov8ee60512012-03-05 19:24:57 +040058 gprs_bssgp_pcu.h \
59 gprs_rlcmac.h \
Ivan Kluchnikovef7f28c2012-07-12 14:49:15 +040060 pcuif_proto.h \
Ivan Kluchnikovff447cd2012-04-12 15:16:23 +040061 pcu_l1_if.h \
Ivan Kluchnikov962f97b2012-04-30 17:51:23 +040062 gsm_timer.h \
Andreas Eversbergebde64f2012-07-12 09:18:42 +020063 bitvector.h \
64 pcu_vty.h
Ivan Kluchnikov487a1412011-12-21 13:17:53 +030065
66RLCMACTest_SOURCES = RLCMACTest.cpp
Ivan Kluchnikov9c2c6992012-01-05 22:37:20 +030067RLCMACTest_LDADD = \
68 libgprs.la \
Harald Welte57f6b022012-06-14 21:05:44 +080069 $(LIBOSMOCORE_LIBS) \
Ivan Kluchnikov60437182012-05-24 22:07:15 +040070 $(COMMON_LA)
Ivan Kluchnikov5c2f9fb2012-02-05 02:27:17 +040071
Harald Welte3022a702012-07-22 22:58:22 +020072osmo_pcu_SOURCES = pcu_main.cpp
73osmo_pcu_LDADD = \
Ivan Kluchnikov5c2f9fb2012-02-05 02:27:17 +040074 libgprs.la \
Harald Welte477e79e2012-06-18 12:21:03 +080075 $(LIBOSMOGB_LIBS) \
Harald Welte57f6b022012-06-14 21:05:44 +080076 $(LIBOSMOCORE_LIBS) \
77 $(LIBOSMOGSM_LIBS) \
Ivan Kluchnikov5c2f9fb2012-02-05 02:27:17 +040078 $(COMMON_LA)
79
80#MOSTLYCLEANFILES += testSource testDestination