aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-07-21 20:43:35 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2021-07-23 13:35:22 +0200
commit8e3320ac4835aa4b7cbe71ac3b3ccd4a7c07f20e (patch)
tree9896a198fd6cdcd087c47bfec09835847b238149 /src/utils
parentc8edaad0bfb7d7cd2ce04405e13608c419e7c31c (diff)
Introduce libbsc to avoid linking long lists of .o files
Every time a new file is added in osmo-bsc, it ends up being a pain because its .o file has to be included to other tests/util binaries, or stubs need to be added. Let's instead bundle all .o files together in an .la file and pass that around. Change-Id: If91dc589ea1e476da105b58846d1c3e720a439e1
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/Makefile.am39
1 files changed, 2 insertions, 37 deletions
diff --git a/src/utils/Makefile.am b/src/utils/Makefile.am
index 39d24173f..1d6c48e55 100644
--- a/src/utils/Makefile.am
+++ b/src/utils/Makefile.am
@@ -47,26 +47,7 @@ bs11_config_SOURCES = \
$(NULL)
bs11_config_LDADD = \
- $(top_builddir)/src/osmo-bsc/abis_nm.o \
- $(top_builddir)/src/osmo-bsc/abis_osmo.o \
- $(top_builddir)/src/osmo-bsc/acc.o \
- $(top_builddir)/src/osmo-bsc/bts.o \
- $(top_builddir)/src/osmo-bsc/bts_sm.o \
- $(top_builddir)/src/osmo-bsc/bts_trx.o \
- $(top_builddir)/src/osmo-bsc/bts_siemens_bs11.o \
- $(top_builddir)/src/osmo-bsc/bts_ipaccess_nanobts_omlattr.o \
- $(top_builddir)/src/osmo-bsc/e1_config.o \
- $(top_builddir)/src/osmo-bsc/gsm_data.o \
- $(top_builddir)/src/osmo-bsc/net_init.o \
- $(top_builddir)/src/osmo-bsc/nm_common_fsm.o \
- $(top_builddir)/src/osmo-bsc/nm_bts_sm_fsm.o \
- $(top_builddir)/src/osmo-bsc/nm_bts_fsm.o \
- $(top_builddir)/src/osmo-bsc/nm_bb_transc_fsm.o \
- $(top_builddir)/src/osmo-bsc/nm_channel_fsm.o \
- $(top_builddir)/src/osmo-bsc/nm_gprs_cell_fsm.o \
- $(top_builddir)/src/osmo-bsc/nm_gprs_nse_fsm.o \
- $(top_builddir)/src/osmo-bsc/nm_gprs_nsvc_fsm.o \
- $(top_builddir)/src/osmo-bsc/nm_rcarrier_fsm.o \
+ $(top_builddir)/src/osmo-bsc/libbsc.la \
$(LIBOSMOCORE_LIBS) \
$(LIBOSMOGSM_LIBS) \
$(LIBOSMOABIS_LIBS) \
@@ -132,23 +113,7 @@ meas_json_SOURCES = \
$(NULL)
meas_json_LDADD = \
- $(top_builddir)/src/osmo-bsc/abis_nm.o \
- $(top_builddir)/src/osmo-bsc/abis_osmo.o \
- $(top_builddir)/src/osmo-bsc/acc.o \
- $(top_builddir)/src/osmo-bsc/bts.o \
- $(top_builddir)/src/osmo-bsc/bts_sm.o \
- $(top_builddir)/src/osmo-bsc/bts_ipaccess_nanobts_omlattr.o \
- $(top_builddir)/src/osmo-bsc/bts_trx.o \
- $(top_builddir)/src/osmo-bsc/gsm_data.o \
- $(top_builddir)/src/osmo-bsc/nm_common_fsm.o \
- $(top_builddir)/src/osmo-bsc/nm_bts_sm_fsm.o \
- $(top_builddir)/src/osmo-bsc/nm_bts_fsm.o \
- $(top_builddir)/src/osmo-bsc/nm_bb_transc_fsm.o \
- $(top_builddir)/src/osmo-bsc/nm_channel_fsm.o \
- $(top_builddir)/src/osmo-bsc/nm_gprs_cell_fsm.o \
- $(top_builddir)/src/osmo-bsc/nm_gprs_nse_fsm.o \
- $(top_builddir)/src/osmo-bsc/nm_gprs_nsvc_fsm.o \
- $(top_builddir)/src/osmo-bsc/nm_rcarrier_fsm.o \
+ $(top_builddir)/src/osmo-bsc/libbsc.la \
$(LIBOSMOCORE_LIBS) \
$(LIBOSMOGSM_LIBS) \
$(LIBOSMOABIS_LIBS) \