[n900 PATCH 1/5] Include isimodem sources always in dist

Pekka.Pessi at nokia.com Pekka.Pessi at nokia.com
Wed Sep 15 09:59:30 PDT 2010


From: Pekka Pessi <ppessi at hamsa.research.nokia.com>

---
 Makefile.am |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 802e94b..79ef4e4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -94,9 +94,7 @@ if DATAFILES
 conf_DATA += plugins/modem.conf
 endif
 
-if ISIMODEM
-builtin_modules += isimodem
-builtin_sources += $(gisi_sources) \
+isimodem_sources = $(gisi_sources) \
 				drivers/isimodem/isimodem.h \
 				drivers/isimodem/isimodem.c \
 				drivers/isimodem/mtc.h \
@@ -130,8 +128,14 @@ builtin_sources += $(gisi_sources) \
 				drivers/isimodem/gprs-context.c \
 				drivers/isimodem/gpds.h
 
+usbpn_sources = plugins/usbpnmodem.c
+
+if ISIMODEM
+builtin_modules += isimodem
+builtin_sources += $(isimodem_sources)
+
 builtin_modules += usbpnmodem
-builtin_sources += plugins/usbpnmodem.c
+builtin_sources += $(usbpn_sources)
 endif
 
 if ATMODEM
@@ -377,6 +381,8 @@ endif
 conf_files = src/ofono.conf plugins/modem.conf
 
 EXTRA_DIST = src/genbuiltin plugins/example_history.c $(doc_files) \
+				$(isimodem_sources) \
+				$(usbpn_sources) \
 				$(test_scripts) $(conf_files) $(udev_files)
 
 dist_man_MANS = doc/ofonod.8
-- 
1.7.0.4



More information about the ofono mailing list