aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am1
-rw-r--r--configure.ac1
-rw-r--r--tools/Makefile.am14
-rw-r--r--tools/modemctrl.c (renamed from samsung-ipc/test.c)0
4 files changed, 16 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 696453e..9b76dc2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,6 +3,7 @@ NULL =
SUBDIRS = \
samsung-ipc \
include \
+ tools \
$(NULL)
pkgconfigdir = $(libdir)/pkgconfig
diff --git a/configure.ac b/configure.ac
index b6af7bb..6d3f578 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,5 +35,6 @@ AC_CONFIG_FILES([
samsung-ipc-1.0.pc
include/Makefile
samsung-ipc/Makefile
+ tools/Makefile
])
AC_OUTPUT
diff --git a/tools/Makefile.am b/tools/Makefile.am
new file mode 100644
index 0000000..2cfa871
--- /dev/null
+++ b/tools/Makefile.am
@@ -0,0 +1,14 @@
+NULL =
+
+AM_CPPFLAGS = \
+ -I$(top_srcdir)/include \
+ $(NULL)
+
+bin_PROGRAMS = modemctrl
+
+modemctrl_SOURCES = \
+ modemctrl.c \
+ $(NULL)
+
+modemctrl_LDADD = $(top_srcdir)/samsung-ipc/libsamsung-ipc.la
+modemctrl_LDFLAGS =
diff --git a/samsung-ipc/test.c b/tools/modemctrl.c
index ddfc530..ddfc530 100644
--- a/samsung-ipc/test.c
+++ b/tools/modemctrl.c