From: Ben Pfaff Date: Wed, 26 May 2010 17:25:19 +0000 (-0700) Subject: Build ovs-wdt or nlmon utilities only on Linux. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7089685a9e9807d2c8bc37ec55e05142edddd7fa;p=openvswitch Build ovs-wdt or nlmon utilities only on Linux. These utilities are Linux-specific. --- 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