summary refs log tree commit diff
path: root/src/generated/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/generated/Makefile.am')
-rw-r--r--src/generated/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/generated/Makefile.am b/src/generated/Makefile.am
index b7f13b88..252973cd 100644
--- a/src/generated/Makefile.am
+++ b/src/generated/Makefile.am
@@ -57,9 +57,12 @@ INCLUDES = \
 	-I$(top_srcdir)/src/firewall-manager \
 	-I$(top_srcdir)/src/settings \
 	-I$(top_srcdir)/src/wifi \
-	-I$(top_srcdir)/src/wimax \
 	-I$(top_srcdir)/libnm-util
 
+if WITH_WIMAX
+INCLUDES += -I$(top_srcdir)/src/wimax
+endif
+
 libnm_generated_la_CPPFLAGS = \
 	$(DBUS_CFLAGS) \
 	$(GLIB_CFLAGS) \