aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/Makefile.am10
1 files changed, 9 insertions, 1 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 2cfa871..5c98119 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -1,6 +1,6 @@
NULL =
-AM_CPPFLAGS = \
+AM_CFLAGS = \
-I$(top_srcdir)/include \
$(NULL)
@@ -10,5 +10,13 @@ modemctrl_SOURCES = \
modemctrl.c \
$(NULL)
+if WANT_PROTOCOL_VERISON_CRESPO
+AM_CFLAGS += -DDEVICE_CRESPO
+endif
+
+if WANT_PROTOCOL_VERISON_H1
+AM_CFLAGS += -DDEVICE_H1
+endif
+
modemctrl_LDADD = $(top_srcdir)/samsung-ipc/libsamsung-ipc.la
modemctrl_LDFLAGS =