summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-09-26 17:54:50 +0900
committerMarcel Holtmann <marcel@holtmann.org>2010-09-26 17:54:50 +0900
commitcf7f4e347e2f964a772eae9743a14d34830c5b93 (patch)
treee8e3b104ce83a848b3b2da4a20586bd4c971c017
parenteeeeb11cba410f0341b3c6d8f79edcb1a772f5cf (diff)
downloadofono-cf7f4e347e2f964a772eae9743a14d34830c5b93.tar.bz2
tools: Add skeleton for Huawei audio utility
-rw-r--r--Makefile.am9
-rw-r--r--tools/huawei-audio.c29
2 files changed, 36 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index d4e27c99..13388047 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -391,13 +391,13 @@ EXTRA_DIST = src/genbuiltin plugins/example_history.c $(doc_files) \
dist_man_MANS = doc/ofonod.8
-unit_objects =
-
noinst_PROGRAMS = unit/test-common unit/test-util unit/test-idmap \
unit/test-sms unit/test-simutil \
unit/test-mux unit/test-caif \
unit/test-stkutil
+unit_objects =
+
unit_test_common_SOURCES = unit/test-common.c src/common.c src/util.c
unit_test_common_LDADD = @GLIB_LIBS@
unit_objects += $(unit_test_common_OBJECTS)
@@ -435,6 +435,11 @@ unit_test_caif_SOURCES = unit/test-caif.c $(gatchat_sources) \
unit_test_caif_LDADD = @GLIB_LIBS@
unit_objects += $(unit_test_caif_OBJECTS)
+noinst_PROGRAMS += tools/huawei-audio
+
+tools_huawei_audio_SOURCES = $(gdbus_sources) tools/huawei-audio.c
+tools_huawei_audio_LDADD = @GLIB_LIBS@ @DBUS_LIBS@
+
noinst_PROGRAMS += gatchat/gsmdial gatchat/test-server gatchat/test-qcdm
gatchat_gsmdial_SOURCES = gatchat/gsmdial.c $(gatchat_sources)
diff --git a/tools/huawei-audio.c b/tools/huawei-audio.c
new file mode 100644
index 00000000..ca304bcf
--- /dev/null
+++ b/tools/huawei-audio.c
@@ -0,0 +1,29 @@
+/*
+ *
+ * oFono - Open Source Telephony
+ *
+ * Copyright (C) 2008-2010 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;
+}