From d1c9cac6beb88ff5e59d6d471280edac20d4d996 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 27 May 2012 14:52:43 +0200 Subject: [PATCH] build: Add skeleton for QMI utility --- .gitignore | 1 + Makefile.am | 7 +++++++ tools/qmi.c | 29 +++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+) create mode 100644 tools/qmi.c 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 +#endif + +int main(int argc, char **argv) +{ + return 0; +}