nat: Add the OSMO NAT to the build process.

This commit is contained in:
Holger Hans Peter Freyther 2010-06-15 20:21:44 +08:00
parent 434a1fd84e
commit 28e2988ce2
5 changed files with 18 additions and 3 deletions

View File

@ -54,10 +54,12 @@ AC_OUTPUT(
src/Makefile src/Makefile
src/ipaccess/Makefile src/ipaccess/Makefile
src/gprs/Makefile src/gprs/Makefile
src/nat/Makefile
tests/Makefile tests/Makefile
tests/debug/Makefile tests/debug/Makefile
tests/gsm0408/Makefile tests/gsm0408/Makefile
tests/db/Makefile tests/db/Makefile
tests/channel/Makefile tests/channel/Makefile
tests/sccp/Makefile tests/sccp/Makefile
tests/bsc-nat/Makefile
Makefile) Makefile)

View File

@ -9,7 +9,7 @@ noinst_HEADERS = abis_nm.h abis_rsl.h db.h gsm_04_08.h gsm_data.h \
vty.h socket.h \ vty.h socket.h \
crc24.h gprs_bssgp.h gprs_llc.h gprs_ns.h gprs_gmm.h \ crc24.h gprs_bssgp.h gprs_llc.h gprs_ns.h gprs_gmm.h \
gb_proxy.h gprs_sgsn.h gsm_04_08_gprs.h sgsn.h \ gb_proxy.h gprs_sgsn.h gsm_04_08_gprs.h sgsn.h \
gprs_ns_frgre.h auth.h osmo_msc.h gprs_ns_frgre.h auth.h osmo_msc.h bsc_msc.h bsc_nat.h
openbsc_HEADERS = gsm_04_08.h meas_rep.h bsc_api.h openbsc_HEADERS = gsm_04_08.h meas_rep.h bsc_api.h
openbscdir = $(includedir)/openbsc openbscdir = $(includedir)/openbsc

View File

@ -3,7 +3,7 @@ AM_CFLAGS=-Wall $(LIBOSMOCORE_CFLAGS) $(LIBOSMOVTY_CFLAGS)
AM_LDFLAGS = $(LIBOSMOCORE_LIBS) AM_LDFLAGS = $(LIBOSMOCORE_LIBS)
# build current directory before building gprs # build current directory before building gprs
SUBDIRS = . ipaccess gprs SUBDIRS = . ipaccess gprs nat
sbin_PROGRAMS = bsc_hack bs11_config isdnsync bsc_mgcp sbin_PROGRAMS = bsc_hack bs11_config isdnsync bsc_mgcp
noinst_LIBRARIES = libbsc.a libmsc.a libvty.a libsccp.a libmgcp.a noinst_LIBRARIES = libbsc.a libmsc.a libvty.a libsccp.a libmgcp.a

View File

@ -0,0 +1,13 @@
INCLUDES = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir)
AM_CFLAGS=-Wall $(LIBOSMOCORE_CFLAGS) $(LIBOSMOVTY_CFLAGS)
AM_LDFLAGS = $(LIBOSMOCORE_LIBS) $(LIBOSMOVTY_LIBS)
bin_PROGRAMS = bsc_nat
bsc_nat_SOURCES = bsc_filter.c bsc_mgcp_utils.c bsc_nat.c bsc_nat_utils.c \
bsc_nat_vty.c bsc_sccp.c \
$(top_srcdir)/src/debug.c $(top_srcdir)/src/bsc_msc.c
bsc_nat_LDADD = $(top_builddir)/src/libvty.a $(top_builddir)/src/libsccp.a \
$(top_builddir)/src/libmgcp.a $(top_builddir)/src/libbsc.a \
-lrt

View File

@ -1 +1 @@
SUBDIRS = debug gsm0408 db channel sccp SUBDIRS = debug gsm0408 db channel sccp bsc-nat