From 7089685a9e9807d2c8bc37ec55e05142edddd7fa Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 26 May 2010 10:25:19 -0700 Subject: [PATCH] Build ovs-wdt or nlmon utilities only on Linux. These utilities are Linux-specific. --- utilities/automake.mk | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/utilities/automake.mk b/utilities/automake.mk index 5feb01cd..c5bf98f5 100644 --- a/utilities/automake.mk +++ b/utilities/automake.mk @@ -6,9 +6,7 @@ bin_PROGRAMS += \ utilities/ovs-kill \ utilities/ovs-ofctl \ utilities/ovs-openflowd \ - utilities/ovs-vsctl \ - utilities/ovs-wdt -noinst_PROGRAMS += utilities/nlmon + utilities/ovs-vsctl bin_SCRIPTS += utilities/ovs-pki utilities/ovs-vsctl noinst_SCRIPTS += utilities/ovs-pki-cgi utilities/ovs-parse-leaks dist_sbin_SCRIPTS += utilities/ovs-monitor @@ -79,7 +77,11 @@ utilities_ovs_openflowd_LDADD = \ utilities_ovs_vsctl_SOURCES = utilities/ovs-vsctl.c vswitchd/vswitch-idl.c utilities_ovs_vsctl_LDADD = lib/libopenvswitch.a $(SSL_LIBS) +if HAVE_NETLINK +bin_PROGRAMS += utilities/ovs-wdt utilities_ovs_wdt_SOURCES = utilities/ovs-wdt.c +noinst_PROGRAMS += utilities/nlmon utilities_nlmon_SOURCES = utilities/nlmon.c utilities_nlmon_LDADD = lib/libopenvswitch.a +endif -- 2.30.2