build: Add skeleton for QMI utility
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 27 May 2012 12:52:43 +0000 (14:52 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 27 May 2012 12:52:43 +0000 (14:52 +0200)
.gitignore
Makefile.am
tools/qmi.c [new file with mode: 0644]

index d35fa57..f6e238a 100644 (file)
@@ -47,6 +47,7 @@ tools/auto-enable
 tools/get-location
 tools/lookup-apn
 tools/lookup-provider-name
+tools/qmi
 
 gatchat/gsmdial
 gatchat/test-server
index 2c897d0..151c770 100644 (file)
@@ -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 (file)
index 0000000..cb4ceb0
--- /dev/null
@@ -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;
+}