build: Add skeleton for QMI utility

This commit is contained in:
Marcel Holtmann 2012-05-27 14:52:43 +02:00
parent 09194a1da5
commit d1c9cac6be
3 changed files with 37 additions and 0 deletions

1
.gitignore vendored
View 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

View 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

29
tools/qmi.c Normal file
View File

@ -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;
}