From 2410b845fac780c0bc0d1c6af58b2c17705839eb Mon Sep 17 00:00:00 2001 From: PaulK Date: Tue, 1 Nov 2011 20:56:25 +0100 Subject: Fixed Makefile.am on tools/ (added defines while building) --- tools/Makefile.am | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'tools') 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 = -- cgit v1.1