]>
Commit | Line | Data |
---|---|---|
e75e8930 | 1 | sbin_PROGRAMS += vswitchd/ovs-vswitchd |
d8965755 | 2 | man_MANS += vswitchd/ovs-vswitchd.8 |
70969b09 | 3 | CLEANFILES += \ |
5ca1ba48 | 4 | vswitchd/ovs-vswitchd.8 |
064af421 BP |
5 | |
6 | vswitchd_ovs_vswitchd_SOURCES = \ | |
7 | vswitchd/bridge.c \ | |
8 | vswitchd/bridge.h \ | |
064af421 | 9 | vswitchd/ovs-vswitchd.c \ |
ce887677 | 10 | vswitchd/system-stats.c \ |
fca426ef | 11 | vswitchd/system-stats.h \ |
064af421 BP |
12 | vswitchd/xenserver.c \ |
13 | vswitchd/xenserver.h | |
14 | vswitchd_ovs_vswitchd_LDADD = \ | |
38b7a52b HS |
15 | ofproto/libofproto.la \ |
16 | lib/libsflow.la \ | |
96d87817 | 17 | lib/libopenvswitch.la |
9475dfeb | 18 | vswitchd_ovs_vswitchd_LDFLAGS = $(AM_LDFLAGS) $(DPDK_vswitchd_LDFLAGS) |
6ca37677 | 19 | MAN_ROOTS += vswitchd/ovs-vswitchd.8.in |
064af421 | 20 | |
00732bf5 | 21 | # vswitch schema and IDL |
6e037e3c | 22 | EXTRA_DIST += vswitchd/vswitch.ovsschema |
9c16ed64 | 23 | pkgdata_DATA += vswitchd/vswitch.ovsschema |
89365653 | 24 | |
f8d739a9 | 25 | # vswitch E-R diagram |
7c9b0073 | 26 | # |
a5ae88ff AA |
27 | # If "python" or "dot" is not available, then we do not add graphical diagram |
28 | # to the documentation. | |
7c9b0073 | 29 | if HAVE_PYTHON |
a5ae88ff AA |
30 | if HAVE_DOT |
31 | vswitchd/vswitch.gv: ovsdb/ovsdb-dot.in vswitchd/vswitch.ovsschema | |
ef44aa50 | 32 | $(AM_V_GEN)$(OVSDB_DOT) --no-arrows $(srcdir)/vswitchd/vswitch.ovsschema > $@ |
9e3c9532 | 33 | vswitchd/vswitch.pic: vswitchd/vswitch.gv ovsdb/dot2pic |
ef44aa50 | 34 | $(AM_V_GEN)(dot -T plain < vswitchd/vswitch.gv | $(PERL) $(srcdir)/ovsdb/dot2pic -f 3) > $@.tmp && \ |
88aff48d | 35 | mv $@.tmp $@ |
a5ae88ff | 36 | VSWITCH_PIC = vswitchd/vswitch.pic |
29894c88 | 37 | VSWITCH_DOT_DIAGRAM_ARG = --er-diagram=$(VSWITCH_PIC) |
70969b09 | 38 | CLEANFILES += vswitchd/vswitch.gv vswitchd/vswitch.pic |
7c9b0073 | 39 | endif |
f8d739a9 | 40 | endif |
f8d739a9 | 41 | |
89365653 BP |
42 | # vswitch schema documentation |
43 | EXTRA_DIST += vswitchd/vswitch.xml | |
70969b09 | 44 | CLEANFILES += vswitchd/ovs-vswitchd.conf.db.5 |
a5ae88ff AA |
45 | man_MANS += vswitchd/ovs-vswitchd.conf.db.5 |
46 | vswitchd/ovs-vswitchd.conf.db.5: \ | |
e627259a | 47 | ovsdb/ovsdb-doc vswitchd/vswitch.xml vswitchd/vswitch.ovsschema \ |
a5ae88ff | 48 | $(VSWITCH_PIC) |
ef44aa50 | 49 | $(AM_V_GEN)$(OVSDB_DOC) \ |
29894c88 | 50 | $(VSWITCH_DOT_DIAGRAM_ARG) \ |
54c18b66 | 51 | --version=$(VERSION) \ |
89365653 | 52 | $(srcdir)/vswitchd/vswitch.ovsschema \ |
ef44aa50 | 53 | $(srcdir)/vswitchd/vswitch.xml > $@.tmp && \ |
89365653 | 54 | mv $@.tmp $@ |
8159b984 BP |
55 | |
56 | # Version checking for vswitch.ovsschema. | |
57 | ALL_LOCAL += vswitchd/vswitch.ovsschema.stamp | |
58 | vswitchd/vswitch.ovsschema.stamp: vswitchd/vswitch.ovsschema | |
abc67c1e | 59 | $(srcdir)/build-aux/cksum-schema-check $? $@ |
a87c35f1 | 60 | CLEANFILES += vswitchd/vswitch.ovsschema.stamp |
eaa67ba8 BP |
61 | |
62 | # Clean up generated files from older OVS versions. (This is important so that | |
63 | # #include "vswitch-idl.h" doesn't get the wrong copy.) | |
64 | CLEANFILES += vswitchd/vswitch-idl.c vswitchd/vswitch-idl.h |