2010-05-26 10:35:20 -07:00
|
|
|
sbin_PROGRAMS += vswitchd/ovs-vswitchd
|
2009-07-08 13:19:16 -07:00
|
|
|
man_MANS += \
|
|
|
|
vswitchd/ovs-vswitchd.8 \
|
|
|
|
vswitchd/ovs-brcompatd.8
|
|
|
|
DISTCLEANFILES += \
|
|
|
|
vswitchd/ovs-vswitchd.8 \
|
|
|
|
vswitchd/ovs-brcompatd.8
|
|
|
|
|
|
|
|
vswitchd_ovs_vswitchd_SOURCES = \
|
|
|
|
vswitchd/bridge.c \
|
|
|
|
vswitchd/bridge.h \
|
|
|
|
vswitchd/proc-net-compat.c \
|
|
|
|
vswitchd/proc-net-compat.h \
|
|
|
|
vswitchd/ovs-vswitchd.c \
|
2010-09-22 16:45:30 -07:00
|
|
|
vswitchd/system-stats.c \
|
2010-09-23 11:56:36 -07:00
|
|
|
vswitchd/system-stats.h \
|
2009-12-02 11:26:15 -08:00
|
|
|
vswitchd/vswitch-idl.c \
|
2009-11-23 16:07:36 -08:00
|
|
|
vswitchd/vswitch-idl.h \
|
2009-07-08 13:19:16 -07:00
|
|
|
vswitchd/xenserver.c \
|
|
|
|
vswitchd/xenserver.h
|
|
|
|
vswitchd_ovs_vswitchd_LDADD = \
|
2009-07-08 10:30:42 -07:00
|
|
|
ofproto/libofproto.a \
|
2010-01-04 13:08:37 -08:00
|
|
|
lib/libsflow.a \
|
2009-07-08 13:19:16 -07:00
|
|
|
lib/libopenvswitch.a \
|
2010-02-23 15:48:28 -08:00
|
|
|
$(SSL_LIBS)
|
2010-05-26 14:05:23 -07:00
|
|
|
EXTRA_DIST += \
|
|
|
|
vswitchd/ovs-vswitchd.8.in \
|
|
|
|
vswitchd/INTERNALS
|
2009-07-08 13:19:16 -07:00
|
|
|
|
2010-05-26 10:35:20 -07:00
|
|
|
if HAVE_NETLINK
|
|
|
|
sbin_PROGRAMS += vswitchd/ovs-brcompatd
|
2009-07-08 13:19:16 -07:00
|
|
|
vswitchd_ovs_brcompatd_SOURCES = \
|
2009-12-10 00:08:39 -08:00
|
|
|
vswitchd/ovs-brcompatd.c \
|
|
|
|
vswitchd/vswitch-idl.c \
|
|
|
|
vswitchd/vswitch-idl.h
|
2010-02-23 15:48:28 -08:00
|
|
|
vswitchd_ovs_brcompatd_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
|
2010-05-26 10:35:20 -07:00
|
|
|
endif
|
|
|
|
EXTRA_DIST += vswitchd/ovs-brcompatd.8.in
|
2009-11-23 16:07:36 -08:00
|
|
|
|
2010-01-07 15:52:58 -08:00
|
|
|
# vswitch schema and IDL
|
|
|
|
OVSIDL_BUILT += \
|
2009-12-11 14:12:50 -08:00
|
|
|
vswitchd/vswitch-idl.c \
|
|
|
|
vswitchd/vswitch-idl.h \
|
2010-01-07 15:52:58 -08:00
|
|
|
vswitchd/vswitch-idl.ovsidl
|
|
|
|
VSWITCH_IDL_FILES = vswitchd/vswitch.ovsschema vswitchd/vswitch-idl.ann
|
2010-03-03 14:47:46 -08:00
|
|
|
EXTRA_DIST += $(VSWITCH_IDL_FILES)
|
2010-01-07 15:52:58 -08:00
|
|
|
vswitchd/vswitch-idl.ovsidl: $(VSWITCH_IDL_FILES)
|
|
|
|
$(OVSDB_IDLC) -C $(srcdir) annotate $(VSWITCH_IDL_FILES) > $@.tmp
|
|
|
|
mv $@.tmp $@
|
2010-03-03 14:47:46 -08:00
|
|
|
|
2010-06-23 09:41:09 -07:00
|
|
|
# vswitch E-R diagram
|
|
|
|
if BUILD_ER_DIAGRAMS
|
2010-11-03 10:01:38 -07:00
|
|
|
$(srcdir)/vswitchd/vswitch.pic: ovsdb/ovsdb-dot.in ovsdb/dot2pic \
|
|
|
|
vswitchd/vswitch.ovsschema
|
2010-06-23 09:41:09 -07:00
|
|
|
$(OVSDB_DOT) $(srcdir)/vswitchd/vswitch.ovsschema \
|
2010-11-03 10:01:38 -07:00
|
|
|
| dot -T plain \
|
|
|
|
| $(srcdir)/ovsdb/dot2pic \
|
2010-06-23 09:41:09 -07:00
|
|
|
> $@.tmp
|
|
|
|
mv $@.tmp $@
|
|
|
|
else
|
|
|
|
$(srcdir)/vswitchd/vswitch.pic: ovsdb/ovsdb-dot.in vswitchd/vswitch.ovsschema
|
|
|
|
touch $@
|
|
|
|
endif
|
|
|
|
EXTRA_DIST += vswitchd/vswitch.pic
|
|
|
|
|
2010-03-03 14:47:46 -08:00
|
|
|
# vswitch schema documentation
|
|
|
|
EXTRA_DIST += vswitchd/vswitch.xml
|
|
|
|
dist_man_MANS += vswitchd/ovs-vswitchd.conf.db.5
|
|
|
|
vswitchd/ovs-vswitchd.conf.db.5: \
|
2010-06-23 09:41:09 -07:00
|
|
|
ovsdb/ovsdb-doc.in vswitchd/vswitch.xml vswitchd/vswitch.ovsschema \
|
|
|
|
$(srcdir)/vswitchd/vswitch.pic
|
2010-03-03 14:47:46 -08:00
|
|
|
$(OVSDB_DOC) \
|
|
|
|
--title="ovs-vswitchd.conf.db" \
|
2010-06-23 09:41:09 -07:00
|
|
|
--er-diagram=$(srcdir)/vswitchd/vswitch.pic \
|
2010-03-03 14:47:46 -08:00
|
|
|
$(srcdir)/vswitchd/vswitch.ovsschema \
|
|
|
|
$(srcdir)/vswitchd/vswitch.xml > $@.tmp
|
|
|
|
mv $@.tmp $@
|