From: Ben Pfaff Date: Wed, 26 May 2010 17:35:20 +0000 (-0700) Subject: vswitchd: Build ovs-brcompatd only on Linux systems. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e75e8930d35a286270b33a746c2b61b5f2185b8b;p=openvswitch vswitchd: Build ovs-brcompatd only on Linux systems. This feature is Linux-specific. --- diff --git a/vswitchd/automake.mk b/vswitchd/automake.mk index 2cff64bc..8067159c 100644 --- a/vswitchd/automake.mk +++ b/vswitchd/automake.mk @@ -1,4 +1,4 @@ -sbin_PROGRAMS += vswitchd/ovs-vswitchd vswitchd/ovs-brcompatd +sbin_PROGRAMS += vswitchd/ovs-vswitchd man_MANS += \ vswitchd/ovs-vswitchd.8 \ vswitchd/ovs-brcompatd.8 @@ -21,17 +21,17 @@ vswitchd_ovs_vswitchd_LDADD = \ lib/libsflow.a \ lib/libopenvswitch.a \ $(SSL_LIBS) +EXTRA_DIST += vswitchd/ovs-vswitchd.8.in +if HAVE_NETLINK +sbin_PROGRAMS += vswitchd/ovs-brcompatd vswitchd_ovs_brcompatd_SOURCES = \ vswitchd/ovs-brcompatd.c \ vswitchd/vswitch-idl.c \ vswitchd/vswitch-idl.h - vswitchd_ovs_brcompatd_LDADD = lib/libopenvswitch.a $(SSL_LIBS) - -EXTRA_DIST += \ - vswitchd/ovs-vswitchd.8.in \ - vswitchd/ovs-brcompatd.8.in +endif +EXTRA_DIST += vswitchd/ovs-brcompatd.8.in # vswitch schema and IDL OVSIDL_BUILT += \