diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2015-02-06 17:11:52 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2015-02-16 17:30:38 +0100 |
commit | 5a268430c4c89e21d977403ec764c59b86498af8 (patch) | |
tree | 55d7622421a88f2abd03090405891c56510badcc | |
parent | 299280166301d00c2b0e2b8868a96013388b2a3f (diff) |
mbm: build a common non-inst library with the core Ericsson modem support
-rw-r--r-- | plugins/Makefile.am | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am index af2f1f30..99fa7a83 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am @@ -211,10 +211,9 @@ test_modem_helpers_huawei_LDADD = \ $(top_builddir)/src/libmodem-helpers.la test_modem_helpers_huawei_LDFLAGS = $(PLUGIN_COMMON_LINKER_FLAGS) -# MBM -libmm_plugin_mbm_la_SOURCES = \ - mbm/mm-plugin-mbm.c \ - mbm/mm-plugin-mbm.h \ +# Common Mbm modem support library +noinst_LTLIBRARIES += libmm-utils-mbm.la +libmm_utils_mbm_la_SOURCES = \ mbm/mm-broadband-modem-mbm.c \ mbm/mm-broadband-modem-mbm.h \ mbm/mm-broadband-bearer-mbm.c \ @@ -223,8 +222,20 @@ libmm_plugin_mbm_la_SOURCES = \ mbm/mm-modem-helpers-mbm.h \ mbm/mm-sim-mbm.c \ mbm/mm-sim-mbm.h -libmm_plugin_mbm_la_CPPFLAGS = $(PLUGIN_COMMON_COMPILER_FLAGS) +libmm_utils_mbm_la_CPPFLAGS = $(PLUGIN_COMMON_COMPILER_FLAGS) +libmm_utils_mbm_la_LIBADD = $(GUDEV_LIBS) $(MM_LIBS) + +MBM_COMMON_COMPILER_FLAGS = -I$(top_srcdir)/plugins/mbm +MBM_COMMON_LIBADD_FLAGS = $(builddir)/libmm-utils-mbm.la + +# MBM +libmm_plugin_mbm_la_SOURCES = \ + mbm/mm-plugin-mbm.c \ + mbm/mm-plugin-mbm.h +libmm_plugin_mbm_la_CPPFLAGS = $(PLUGIN_COMMON_COMPILER_FLAGS) $(MBM_COMMON_COMPILER_FLAGS) libmm_plugin_mbm_la_LDFLAGS = $(PLUGIN_COMMON_LINKER_FLAGS) +libmm_plugin_mbm_la_LIBADD = $(MBM_COMMON_LIBADD_FLAGS) + udevrules_DATA += mbm/77-mm-ericsson-mbm.rules noinst_PROGRAMS += test-modem-helpers-mbm |