summaryrefslogtreecommitdiffstats
path: root/include/Makefile.am
diff options
context:
space:
mode:
authorMichael Altizer <xiche@verizon.net>2011-10-09 21:02:35 (GMT)
committerThomas Graf <tgraf@redhat.com>2011-10-10 09:44:07 (GMT)
commit6c70cf7d72db62b65de6d5ee810f0c606313fbce (patch)
treed5813ff1935d683610b8a7d0748bcd4ea7759745 /include/Makefile.am
parentd17379d1950df679d5560608b2e54aaaa10ab54e (diff)
downloadlibnl-6c70cf7d72db62b65de6d5ee810f0c606313fbce.zip
libnl-6c70cf7d72db62b65de6d5ee810f0c606313fbce.tar.gz
libnl-6c70cf7d72db62b65de6d5ee810f0c606313fbce.tar.bz2
Don't install CLI header files when --disable-cli has been configured.
Signed-off-by: Michael Altizer <xiche@verizon.net>
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 \