summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-05-27 14:52:43 +0200
committerMarcel Holtmann <marcel@holtmann.org>2012-05-27 14:52:43 +0200
commitd1c9cac6beb88ff5e59d6d471280edac20d4d996 (patch)
tree3bd47a6455ea5cdab8d89d6f260693dfd3670077
parent09194a1da533675e1d60508d7b70fd779f9b3126 (diff)
downloadofono-d1c9cac6beb88ff5e59d6d471280edac20d4d996.tar.bz2
build: Add skeleton for QMI utility
-rw-r--r--.gitignore1
-rw-r--r--Makefile.am7
-rw-r--r--tools/qmi.c29
3 files changed, 37 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index d35fa57f..f6e238a5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -47,6 +47,7 @@ tools/auto-enable
tools/get-location
tools/lookup-apn
tools/lookup-provider-name
+tools/qmi
gatchat/gsmdial
gatchat/test-server
diff --git a/Makefile.am b/Makefile.am
index 2c897d06..151c770b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -687,6 +687,13 @@ tools_lookup_apn_LDADD = @GLIB_LIBS@
tools_lookup_provider_name_SOURCES = plugins/mbpi.c plugins/mbpi.h \
tools/lookup-provider-name.c
tools_lookup_provider_name_LDADD = @GLIB_LIBS@
+
+if QMIMODEM
+noinst_PROGRAMS += tools/qmi
+
+tools_qmi_SOURCES = $(qmi_sources) tools/qmi.c
+tools_qmi_LDADD = @GLIB_LIBS@
+endif
endif
if DUNDEE
diff --git a/tools/qmi.c b/tools/qmi.c
new file mode 100644
index 00000000..cb4ceb00
--- /dev/null
+++ b/tools/qmi.c
@@ -0,0 +1,29 @@
+/*
+ *
+ * oFono - Open Source Telephony
+ *
+ * Copyright (C) 2008-2011 Intel Corporation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+int main(int argc, char **argv)
+{
+ return 0;
+}