[gprs] Move all GPRS related code to src/gprs subdirectory

changes/88/3188/1
Harald Welte 13 years ago
parent ce662943f3
commit e236596bf4
  1. 1
      openbsc/configure.in
  2. 18
      openbsc/src/Makefile.am
  3. 17
      openbsc/src/gprs/Makefile.am
  4. 0
      openbsc/src/gprs/crc24.c
  5. 0
      openbsc/src/gprs/gb_proxy.c
  6. 2
      openbsc/src/gprs/gb_proxy_main.c
  7. 0
      openbsc/src/gprs/gb_proxy_vty.c
  8. 0
      openbsc/src/gprs/gprs_bssgp.c
  9. 0
      openbsc/src/gprs/gprs_llc.c
  10. 0
      openbsc/src/gprs/gprs_ns.c
  11. 0
      openbsc/src/gprs/gprs_sgsn.c
  12. 0
      openbsc/src/gprs/gprs_sndcp.c
  13. 0
      openbsc/src/gprs/gsm_04_08_gprs.c
  14. 0
      openbsc/src/gprs/osmo_gbproxy.cfg
  15. 0
      openbsc/src/gprs/osmo_sgsn.cfg
  16. 2
      openbsc/src/gprs/sgsn_main.c
  17. 0
      openbsc/src/gprs/sgsn_vty.c

@ -48,6 +48,7 @@ AC_OUTPUT(
include/sccp/Makefile
include/Makefile
src/Makefile
src/gprs/Makefile
tests/Makefile
tests/debug/Makefile
tests/gsm0408/Makefile

@ -2,9 +2,12 @@ INCLUDES = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir)
AM_CFLAGS=-Wall $(LIBOSMOCORE_CFLAGS)
AM_LDFLAGS = $(LIBOSMOCORE_LIBS)
# build current directory before building gprs
SUBDIRS = . gprs
sbin_PROGRAMS = bsc_hack bs11_config ipaccess-find ipaccess-config \
isdnsync bsc_mgcp ipaccess-proxy osmo-gbproxy osmo-sgsn
noinst_LIBRARIES = libbsc.a libmsc.a libvty.a libsccp.a libsgsn.a
isdnsync bsc_mgcp ipaccess-proxy
noinst_LIBRARIES = libbsc.a libmsc.a libvty.a libsccp.a
noinst_HEADERS = vty/cardshell.h
bscdir = $(libdir)
@ -19,9 +22,6 @@ libbsc_a_SOURCES = abis_rsl.c abis_nm.c gsm_data.c gsm_04_08_utils.c \
rtp_proxy.c bts_siemens_bs11.c bts_ipaccess_nanobts.c \
bts_unknown.c bsc_version.c bsc_api.c
libsgsn_a_SOURCES = gprs_ns.c gprs_bssgp.c gprs_llc.c gsm_04_08_gprs.c \
crc24.c gprs_sgsn.c
libmsc_a_SOURCES = gsm_subscriber.c db.c \
mncc.c gsm_04_08.c gsm_04_11.c transaction.c \
token_auth.c rrlp.c gsm_04_80.c ussd.c silent_call.c \
@ -50,11 +50,3 @@ bsc_mgcp_SOURCES = mgcp/mgcp_main.c mgcp/mgcp_protocol.c mgcp/mgcp_network.c mgc
bsc_mgcp_LDADD = libvty.a
ipaccess_proxy_SOURCES = ipaccess/ipaccess-proxy.c debug.c
osmo_gbproxy_SOURCES = gb_proxy.c gb_proxy_main.c gb_proxy_vty.c \
gprs_ns.c socket.c debug.c
osmo_gbproxy_LDADD = libvty.a
osmo_sgsn_SOURCES = sgsn_main.c sgsn_vty.c \
socket.c debug.c
osmo_sgsn_LDADD = libvty.a libsgsn.a

@ -0,0 +1,17 @@
INCLUDES = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir)
AM_CFLAGS=-Wall $(LIBOSMOCORE_CFLAGS)
AM_LDFLAGS = $(LIBOSMOCORE_LIBS)
sbin_PROGRAMS = osmo-gbproxy osmo-sgsn
noinst_LIBRARIES = libsgsn.a
libsgsn_a_SOURCES = gprs_ns.c gprs_bssgp.c gprs_llc.c gsm_04_08_gprs.c \
crc24.c gprs_sgsn.c
osmo_gbproxy_SOURCES = gb_proxy.c gb_proxy_main.c gb_proxy_vty.c \
gprs_ns.c ../socket.c ../debug.c
osmo_gbproxy_LDADD = ../libvty.a
osmo_sgsn_SOURCES = sgsn_main.c sgsn_vty.c \
../socket.c ../debug.c
osmo_sgsn_LDADD = ../libvty.a libsgsn.a

@ -43,7 +43,7 @@
#include <openbsc/vty.h>
#include <openbsc/gb_proxy.h>
#include "../bscconfig.h"
#include "../../bscconfig.h"
/* this is here for the vty... it will never be called */
void subscr_put() { abort(); }

@ -44,7 +44,7 @@
#include <openbsc/gprs_ns.h>
#include <openbsc/gprs_bssgp.h>
#include "../bscconfig.h"
#include "../../bscconfig.h"
/* this is here for the vty... it will never be called */
void subscr_put() { abort(); }
Loading…
Cancel
Save