diff options
author | Max <msuraev@sysmocom.de> | 2017-10-30 13:55:37 +0100 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2017-10-30 13:56:11 +0100 |
commit | 38a49f62760a832dcc15c7a47e1c678402ea02da (patch) | |
tree | c5aae4c832d3d953987a3c3f0b5c5af0276508cc | |
parent | ba1059c173ac8f4845464c4f91d1890898f729a0 (diff) |
utils: move linked libraries into common variable
Change-Id: I54f4e439cc232d926b42ddba9648d4f5e7487c3e
-rw-r--r-- | utils/Makefile.am | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/utils/Makefile.am b/utils/Makefile.am index 51af3d8c..d4999bde 100644 --- a/utils/Makefile.am +++ b/utils/Makefile.am @@ -1,21 +1,20 @@ if ENABLE_UTILITIES AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include $(TALLOC_CFLAGS) AM_CFLAGS = -Wall +LDADD = $(top_builddir)/src/libosmocore.la $(top_builddir)/src/gsm/libosmogsm.la EXTRA_DIST = conv_gen.py conv_codes_gsm.py bin_PROGRAMS = osmo-arfcn osmo-auc-gen osmo_arfcn_SOURCES = osmo-arfcn.c -osmo_arfcn_LDADD = $(top_builddir)/src/libosmocore.la $(top_builddir)/src/gsm/libosmogsm.la osmo_auc_gen_SOURCES = osmo-auc-gen.c -osmo_auc_gen_LDADD = $(top_builddir)/src/libosmocore.la $(top_builddir)/src/gsm/libosmogsm.la if ENABLE_PCSC noinst_PROGRAMS = osmo-sim-test osmo_sim_test_SOURCES = osmo-sim-test.c -osmo_sim_test_LDADD = $(top_builddir)/src/libosmocore.la $(top_builddir)/src/gsm/libosmogsm.la $(top_builddir)/src/sim/libosmosim.la $(PCSC_LIBS) +osmo_sim_test_LDADD = $(LDADD) $(top_builddir)/src/sim/libosmosim.la $(PCSC_LIBS) osmo_sim_test_CFLAGS = $(PCSC_CFLAGS) endif endif |