Move out gtphub to its own subdir
Change-Id: I707d5e9b775179e732d281ce3d245de83d648eea
This commit is contained in:
parent
9d016fd499
commit
ea05d5c5f8
|
@ -248,6 +248,7 @@ AC_OUTPUT(
|
|||
src/Makefile
|
||||
src/gprs/Makefile
|
||||
src/gbproxy/Makefile
|
||||
src/gtphub/Makefile
|
||||
tests/Makefile
|
||||
tests/atlocal
|
||||
tests/gprs/Makefile
|
||||
|
|
|
@ -104,9 +104,9 @@ Files: include/osmocom/sgsn/a_reset.h
|
|||
src/gprs/gprs_sndcp_vty.c
|
||||
src/gprs/gprs_sndcp_xid.c
|
||||
src/gprs/gprs_subscriber.c
|
||||
src/gprs/gtphub.c
|
||||
src/gprs/gtphub_main.c
|
||||
src/gprs/gtphub_vty.c
|
||||
src/gtphub/gtphub.c
|
||||
src/gtphub/gtphub_main.c
|
||||
src/gtphub/gtphub_vty.c
|
||||
src/gprs/sgsn_auth.c
|
||||
src/gprs/sgsn_cdr.c
|
||||
src/gprs/sgsn_ctrl.c
|
||||
|
@ -140,8 +140,8 @@ License: AGPL-3.0+
|
|||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Files: src/gprs/gtphub_ares.c
|
||||
src/gprs/gtphub_sock.c
|
||||
Files: src/gtphub/gtphub_ares.c
|
||||
src/gtphub/gtphub_sock.c
|
||||
tests/gbproxy/gbproxy_test.c
|
||||
Copyright: 2013 Jacob Erlbeck <jerlbeck@sysmocom.de>
|
||||
2013 sysmocom s.f.m.c. GmbH
|
||||
|
|
|
@ -59,7 +59,7 @@ The LD_LIBRARY_PATH below may be needed if OpenGGSN installed to /usr/local.
|
|||
2. GTPHub:
|
||||
|
||||
cd <your-test-dir>
|
||||
path/to/openbsc/openbsc/src/gprs/osmo-gtphub -c gtphub.conf #-e 1 #for DEBUG level
|
||||
path/to/openbsc/openbsc/src/gtphub/osmo-gtphub -c gtphub.conf #-e 1 #for DEBUG level
|
||||
|
||||
3. SGSN tests:
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ app_configs = {
|
|||
|
||||
apps = [(4246, "src/gbproxy/osmo-gbproxy", "OsmoGbProxy", "gbproxy"),
|
||||
(4245, "src/gprs/osmo-sgsn", "OsmoSGSN", "sgsn"),
|
||||
(4253, "src/gprs/osmo-gtphub", "OsmoGTPhub", "gtphub")
|
||||
(4253, "src/gtphub/osmo-gtphub", "OsmoGTPhub", "gtphub")
|
||||
]
|
||||
|
||||
vty_command = ["./src/gprs/osmo-sgsn", "-c",
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
SUBDIRS = \
|
||||
gprs \
|
||||
gbproxy \
|
||||
gtphub \
|
||||
$(NULL)
|
||||
|
|
|
@ -56,7 +56,6 @@ libcommon_la_LIBADD = \
|
|||
|
||||
bin_PROGRAMS = \
|
||||
osmo-sgsn \
|
||||
osmo-gtphub \
|
||||
$(NULL)
|
||||
|
||||
osmo_sgsn_SOURCES = \
|
||||
|
@ -103,21 +102,3 @@ osmo_sgsn_LDADD += \
|
|||
$(LIBASN1C_LIBS) \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
osmo_gtphub_SOURCES = \
|
||||
gtphub_main.c \
|
||||
gtphub.c \
|
||||
gtphub_sock.c \
|
||||
gtphub_ares.c \
|
||||
gtphub_vty.c \
|
||||
$(NULL)
|
||||
osmo_gtphub_LDADD = \
|
||||
libcommon.la \
|
||||
$(LIBOSMOCORE_LIBS) \
|
||||
$(LIBOSMOGSM_LIBS) \
|
||||
$(LIBOSMOVTY_LIBS) \
|
||||
$(LIBCARES_LIBS) \
|
||||
$(LIBGTP_LIBS) \
|
||||
$(LIBOSMOSIGTRAN_LIBS) \
|
||||
-lrt \
|
||||
$(NULL)
|
||||
|
|
|
@ -0,0 +1,45 @@
|
|||
AM_CPPFLAGS = \
|
||||
$(all_includes) \
|
||||
-I$(top_srcdir)/include \
|
||||
-I$(top_builddir) \
|
||||
$(NULL)
|
||||
|
||||
AM_CFLAGS = \
|
||||
-Wall \
|
||||
-fno-strict-aliasing \
|
||||
$(LIBOSMOCORE_CFLAGS) \
|
||||
$(LIBOSMOGSM_CFLAGS) \
|
||||
$(LIBOSMOVTY_CFLAGS) \
|
||||
$(LIBOSMOGSUPCLIENT_CFLAGS) \
|
||||
$(COVERAGE_CFLAGS) \
|
||||
$(LIBGTP_CFLAGS) \
|
||||
$(NULL)
|
||||
if BUILD_IU
|
||||
AM_CFLAGS += \
|
||||
$(LIBASN1C_CFLAGS) \
|
||||
$(LIBOSMOSIGTRAN_CFLAGS) \
|
||||
$(LIBOSMORANAP_CFLAGS) \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
bin_PROGRAMS = osmo-gtphub
|
||||
|
||||
osmo_gtphub_SOURCES = \
|
||||
gtphub_main.c \
|
||||
gtphub.c \
|
||||
gtphub_sock.c \
|
||||
gtphub_ares.c \
|
||||
gtphub_vty.c \
|
||||
$(NULL)
|
||||
|
||||
osmo_gtphub_LDADD = \
|
||||
$(top_builddir)/src/gprs/sgsn_ares.o \
|
||||
$(top_builddir)/src/gprs/gprs_utils.o \
|
||||
$(LIBOSMOCORE_LIBS) \
|
||||
$(LIBOSMOGSM_LIBS) \
|
||||
$(LIBOSMOVTY_LIBS) \
|
||||
$(LIBCARES_LIBS) \
|
||||
$(LIBGTP_LIBS) \
|
||||
$(LIBOSMOSIGTRAN_LIBS) \
|
||||
-lrt \
|
||||
$(NULL)
|
|
@ -31,7 +31,7 @@ gtphub_test_LDFLAGS = \
|
|||
$(NULL)
|
||||
|
||||
gtphub_test_LDADD = \
|
||||
$(top_builddir)/src/gprs/gtphub.o \
|
||||
$(top_builddir)/src/gtphub/gtphub.o \
|
||||
$(top_builddir)/src/gprs/gprs_utils.o \
|
||||
$(LIBOSMOCORE_LIBS) \
|
||||
$(LIBOSMOGSM_LIBS) \
|
||||
|
|
Loading…
Reference in New Issue