Ivan Kluchnikov | 487a141 | 2011-12-21 13:17:53 +0300 | [diff] [blame] | 1 | # |
| 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 | |
| 21 | include $(top_srcdir)/Makefile.common |
| 22 | |
| 23 | AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) |
| 24 | AM_CXXFLAGS = -Wall -ldl -pthread |
| 25 | |
| 26 | noinst_LTLIBRARIES = libgprs.la |
| 27 | |
| 28 | libgprs_la_SOURCES = \ |
| 29 | csn1.cpp \ |
Ivan Kluchnikov | 5c2f9fb | 2012-02-05 02:27:17 +0400 | [diff] [blame] | 30 | gsm_rlcmac.cpp \ |
Ivan Kluchnikov | 8ee6051 | 2012-03-05 19:24:57 +0400 | [diff] [blame] | 31 | gprs_bssgp_pcu.cpp \ |
| 32 | gprs_rlcmac.cpp \ |
Ivan Kluchnikov | ff447cd | 2012-04-12 15:16:23 +0400 | [diff] [blame^] | 33 | pcu_l1_if.cpp \ |
| 34 | gsm_timer.cpp |
Ivan Kluchnikov | 487a141 | 2011-12-21 13:17:53 +0300 | [diff] [blame] | 35 | |
| 36 | noinst_PROGRAMS = \ |
Ivan Kluchnikov | 5c2f9fb | 2012-02-05 02:27:17 +0400 | [diff] [blame] | 37 | RLCMACTest \ |
Ivan Kluchnikov | 8ee6051 | 2012-03-05 19:24:57 +0400 | [diff] [blame] | 38 | pcu |
Ivan Kluchnikov | 487a141 | 2011-12-21 13:17:53 +0300 | [diff] [blame] | 39 | |
| 40 | noinst_HEADERS = \ |
| 41 | csn1.h \ |
Ivan Kluchnikov | 5c2f9fb | 2012-02-05 02:27:17 +0400 | [diff] [blame] | 42 | gsm_rlcmac.h \ |
Ivan Kluchnikov | 8ee6051 | 2012-03-05 19:24:57 +0400 | [diff] [blame] | 43 | gprs_bssgp_pcu.h \ |
| 44 | gprs_rlcmac.h \ |
Ivan Kluchnikov | ff447cd | 2012-04-12 15:16:23 +0400 | [diff] [blame^] | 45 | pcu_l1_if.h \ |
| 46 | gsm_timer.h |
Ivan Kluchnikov | 487a141 | 2011-12-21 13:17:53 +0300 | [diff] [blame] | 47 | |
| 48 | RLCMACTest_SOURCES = RLCMACTest.cpp |
Ivan Kluchnikov | 9c2c699 | 2012-01-05 22:37:20 +0300 | [diff] [blame] | 49 | RLCMACTest_LDADD = \ |
| 50 | libgprs.la \ |
| 51 | $(COMMON_LA) |
Ivan Kluchnikov | 487a141 | 2011-12-21 13:17:53 +0300 | [diff] [blame] | 52 | |
Ivan Kluchnikov | 8ee6051 | 2012-03-05 19:24:57 +0400 | [diff] [blame] | 53 | OPENBSC_DIR = /home/ivan/work/openbsc/openbsc/openbsc |
| 54 | OPENGGSN_DIR = /home/ivan/work/openbsc/openggsn |
Ivan Kluchnikov | 5c2f9fb | 2012-02-05 02:27:17 +0400 | [diff] [blame] | 55 | |
Ivan Kluchnikov | 8ee6051 | 2012-03-05 19:24:57 +0400 | [diff] [blame] | 56 | pcu_SOURCES = pcu_main.cpp |
| 57 | pcu_LDADD = \ |
Ivan Kluchnikov | 5c2f9fb | 2012-02-05 02:27:17 +0400 | [diff] [blame] | 58 | libgprs.la \ |
| 59 | $(OPENBSC_DIR)/src/libgb/gprs_ns.o \ |
| 60 | $(OPENBSC_DIR)/src/libgb/gprs_bssgp.o \ |
| 61 | $(OPENBSC_DIR)/src/libgb/gprs_bssgp_bss.o \ |
| 62 | $(OPENBSC_DIR)/src/libgb/gprs_bssgp_util.o \ |
| 63 | $(OPENBSC_DIR)/src/libgb/gprs_ns_frgre.o \ |
| 64 | $(OPENGGSN_DIR)/gtp/queue.o \ |
| 65 | $(OPENGGSN_DIR)/gtp/lookupa.o \ |
| 66 | $(OPENGGSN_DIR)/gtp/pdp.o \ |
| 67 | $(OPENGGSN_DIR)/gtp/gtpie.o \ |
| 68 | $(OPENGGSN_DIR)/gtp/gtp.o \ |
| 69 | $(OPENBSC_DIR)/src/gprs/sgsn_libgtp.o \ |
| 70 | $(OPENBSC_DIR)/src/gprs/gprs_sndcp.o \ |
| 71 | $(OPENBSC_DIR)/src/gprs/crc24.o \ |
| 72 | $(OPENBSC_DIR)/src/gprs/gprs_llc.o \ |
| 73 | $(OPENBSC_DIR)/src/gprs/gprs_gmm.o \ |
| 74 | $(OPENBSC_DIR)/src/gprs/gprs_sgsn.o \ |
| 75 | $(OPENBSC_DIR)/src/libcommon/socket.o \ |
| 76 | $(OPENBSC_DIR)/src/libcommon/debug.o \ |
| 77 | -losmocore \ |
| 78 | -losmogsm \ |
| 79 | $(COMMON_LA) |
| 80 | |
| 81 | #MOSTLYCLEANFILES += testSource testDestination |
Ivan Kluchnikov | 487a141 | 2011-12-21 13:17:53 +0300 | [diff] [blame] | 82 | |