[RFC v2 1/7] STE-plugin: Add --disable-stemodem to makefiles.
sjur.brandeland at stericsson.com
sjur.brandeland at stericsson.com
Tue Jan 19 08:11:47 PST 2010
Added STE to makefiles with option to remove STE support by using --disable-stemodem.
---
Makefile.am | 18 ++++++++++++++++++
configure.ac | 5 +++++
2 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 276b478..353eb01 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -53,6 +53,8 @@ gatchat_sources = gatchat/gatchat.h gatchat/gatchat.c \
gatchat/gsm0710.h gatchat/gsm0710.c \
gatchat/gattty.h gatchat/gattty.c
+gcaif_sources = gcaif/caif_socket.h gcaif/if_caif.h
+
udev_files = plugins/ofono.rules
if UDEV
@@ -152,6 +154,16 @@ builtin_sources += drivers/atmodem/atutil.h \
builtin_modules += modemconf
builtin_sources += plugins/modemconf.c
+if STEMODEM
+builtin_modules += stemodem
+builtin_sources += $(gcaif_sources) \
+ drivers/atmodem/atutil.h \
+ drivers/stemodem/stemodem.h \
+ drivers/stemodem/stemodem.c \
+ drivers/stemodem/voicecall.c \
+ drivers/stemodem/gprs-context.c
+endif
+
if DATAFILES
conf_DATA += plugins/modem.conf
endif
@@ -185,6 +197,12 @@ builtin_sources += plugins/hfp.c
builtin_modules += palmpre
builtin_sources += plugins/palmpre.c
+
+if STEMODEM
+builtin_modules += ste
+builtin_sources += $(gcaif_sources) plugins/ste.c
+endif
+
endif
if MAINTAINER_MODE
diff --git a/configure.ac b/configure.ac
index c1770d9..105a405 100644
--- a/configure.ac
+++ b/configure.ac
@@ -131,6 +131,11 @@ AC_ARG_ENABLE(atmodem, AC_HELP_STRING([--disable-atmodem],
[enable_atmodem=${enableval}])
AM_CONDITIONAL(ATMODEM, test "${enable_atmodem}" != "no")
+AC_ARG_ENABLE(stemodem, AC_HELP_STRING([--disable-stemodem],
+ [disable STE (CAIF) AT modem support]),
+ [enable_stemodem=${enableval}])
+AM_CONDITIONAL(STEMODEM, test "${enable_stemodem}" != "no")
+
AC_ARG_ENABLE(datafiles, AC_HELP_STRING([--disable-datafiles],
[don't install configuration and data files]),
[enable_datafiles=${enableval}])
--
1.6.0.4
More information about the ofono
mailing list