summaryrefslogtreecommitdiffstats
path: root/include/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'include/Makefile.am')
-rw-r--r--include/Makefile.am26
1 files changed, 15 insertions, 11 deletions
diff --git a/include/Makefile.am b/include/Makefile.am
index 515c237..db6862d 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -3,17 +3,6 @@
libnlincludedir = $(includedir)/libnl@MAJ_VERSION@
nobase_libnlinclude_HEADERS = \
- netlink/cli/addr.h \
- netlink/cli/class.h \
- netlink/cli/cls.h \
- netlink/cli/ct.h \
- netlink/cli/link.h \
- netlink/cli/neigh.h \
- netlink/cli/qdisc.h \
- netlink/cli/route.h \
- netlink/cli/rule.h \
- netlink/cli/tc.h \
- netlink/cli/utils.h \
netlink/fib_lookup/lookup.h \
netlink/fib_lookup/request.h \
netlink/genl/ctrl.h \
@@ -84,6 +73,21 @@ nobase_libnlinclude_HEADERS = \
netlink/utils.h \
netlink/version.h
+if ENABLE_CLI
+nobase_libnlinclude_HEADERS += \
+ netlink/cli/addr.h \
+ netlink/cli/class.h \
+ netlink/cli/cls.h \
+ netlink/cli/ct.h \
+ netlink/cli/link.h \
+ netlink/cli/neigh.h \
+ netlink/cli/qdisc.h \
+ netlink/cli/route.h \
+ netlink/cli/rule.h \
+ netlink/cli/tc.h \
+ netlink/cli/utils.h
+endif
+
noinst_HEADERS = \
linux/fib_rules.h \
linux/genetlink.h \