From c9a341b248a87c53e9e28ee2cde00e8071b5535e Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 4 May 2010 07:47:54 +0200 Subject: [PATCH] move ipaccess tools into their own subdirectory They will now be built fully inside src/ipaccess, using their own Makefile.am --- openbsc/configure.in | 1 + openbsc/src/Makefile.am | 12 ++---------- openbsc/src/ipaccess/Makefile.am | 12 ++++++++++++ 3 files changed, 15 insertions(+), 10 deletions(-) create mode 100644 openbsc/src/ipaccess/Makefile.am diff --git a/openbsc/configure.in b/openbsc/configure.in index 98a93fc6b..8201983f2 100644 --- a/openbsc/configure.in +++ b/openbsc/configure.in @@ -48,6 +48,7 @@ AC_OUTPUT( include/sccp/Makefile include/Makefile src/Makefile + src/ipaccess/Makefile src/gprs/Makefile tests/Makefile tests/debug/Makefile diff --git a/openbsc/src/Makefile.am b/openbsc/src/Makefile.am index 9dcdea02f..9dc02575c 100644 --- a/openbsc/src/Makefile.am +++ b/openbsc/src/Makefile.am @@ -3,10 +3,9 @@ AM_CFLAGS=-Wall $(LIBOSMOCORE_CFLAGS) AM_LDFLAGS = $(LIBOSMOCORE_LIBS) # build current directory before building gprs -SUBDIRS = . gprs +SUBDIRS = . ipaccess gprs -sbin_PROGRAMS = bsc_hack bs11_config ipaccess-find ipaccess-config \ - isdnsync bsc_mgcp ipaccess-proxy +sbin_PROGRAMS = bsc_hack bs11_config isdnsync bsc_mgcp noinst_LIBRARIES = libbsc.a libmsc.a libvty.a libsccp.a noinst_HEADERS = vty/cardshell.h @@ -38,15 +37,8 @@ bsc_hack_LDADD = libmsc.a libbsc.a libmsc.a libvty.a -ldl -ldbi $(LIBCRYPT) bs11_config_SOURCES = bs11_config.c abis_nm.c gsm_data.c debug.c \ rs232.c bts_siemens_bs11.c -ipaccess_find_SOURCES = ipaccess/ipaccess-find.c - -ipaccess_config_SOURCES = ipaccess/ipaccess-config.c ipaccess/ipaccess-firmware.c -ipaccess_config_LDADD = libbsc.a libmsc.a libbsc.a libvty.a -ldl -ldbi $(LIBCRYPT) - isdnsync_SOURCES = isdnsync.c bsc_mgcp_SOURCES = mgcp/mgcp_main.c mgcp/mgcp_protocol.c mgcp/mgcp_network.c mgcp/mgcp_vty.c \ debug.c bsc_mgcp_LDADD = libvty.a - -ipaccess_proxy_SOURCES = ipaccess/ipaccess-proxy.c debug.c diff --git a/openbsc/src/ipaccess/Makefile.am b/openbsc/src/ipaccess/Makefile.am new file mode 100644 index 000000000..7a13ee175 --- /dev/null +++ b/openbsc/src/ipaccess/Makefile.am @@ -0,0 +1,12 @@ +INCLUDES = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir) +AM_CFLAGS=-Wall $(LIBOSMOCORE_CFLAGS) +AM_LDFLAGS = $(LIBOSMOCORE_LIBS) + +sbin_PROGRAMS = ipaccess-find ipaccess-config ipaccess-proxy + +ipaccess_find_SOURCES = ipaccess-find.c + +ipaccess_config_SOURCES = ipaccess-config.c ipaccess-firmware.c +ipaccess_config_LDADD = ../libbsc.a ../libmsc.a ../libbsc.a ../libvty.a -ldl -ldbi $(LIBCRYPT) + +ipaccess_proxy_SOURCES = ipaccess-proxy.c ../debug.c