]> git.proxmox.com Git - mirror_ovs.git/blame - vswitchd/automake.mk
userspace: Add GTP-U support.
[mirror_ovs.git] / vswitchd / automake.mk
CommitLineData
e75e8930 1sbin_PROGRAMS += vswitchd/ovs-vswitchd
d8965755 2man_MANS += vswitchd/ovs-vswitchd.8
70969b09 3CLEANFILES += \
5ca1ba48 4 vswitchd/ovs-vswitchd.8
064af421
BP
5
6vswitchd_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
14vswitchd_ovs_vswitchd_LDADD = \
38b7a52b
HS
15 ofproto/libofproto.la \
16 lib/libsflow.la \
96d87817 17 lib/libopenvswitch.la
9475dfeb 18vswitchd_ovs_vswitchd_LDFLAGS = $(AM_LDFLAGS) $(DPDK_vswitchd_LDFLAGS)
6ca37677 19MAN_ROOTS += vswitchd/ovs-vswitchd.8.in
064af421 20
00732bf5 21# vswitch schema and IDL
6e037e3c 22EXTRA_DIST += vswitchd/vswitch.ovsschema
9c16ed64 23pkgdata_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.
a5ae88ff
AA
29if HAVE_DOT
30vswitchd/vswitch.gv: ovsdb/ovsdb-dot.in vswitchd/vswitch.ovsschema
ef44aa50 31 $(AM_V_GEN)$(OVSDB_DOT) --no-arrows $(srcdir)/vswitchd/vswitch.ovsschema > $@
9e3c9532 32vswitchd/vswitch.pic: vswitchd/vswitch.gv ovsdb/dot2pic
1ca0323e 33 $(AM_V_GEN)(dot -T plain < vswitchd/vswitch.gv | $(PYTHON3) $(srcdir)/ovsdb/dot2pic -f 3) > $@.tmp && \
88aff48d 34 mv $@.tmp $@
a5ae88ff 35VSWITCH_PIC = vswitchd/vswitch.pic
29894c88 36VSWITCH_DOT_DIAGRAM_ARG = --er-diagram=$(VSWITCH_PIC)
70969b09 37CLEANFILES += vswitchd/vswitch.gv vswitchd/vswitch.pic
7c9b0073 38endif
f8d739a9 39
89365653
BP
40# vswitch schema documentation
41EXTRA_DIST += vswitchd/vswitch.xml
70969b09 42CLEANFILES += vswitchd/ovs-vswitchd.conf.db.5
a5ae88ff
AA
43man_MANS += vswitchd/ovs-vswitchd.conf.db.5
44vswitchd/ovs-vswitchd.conf.db.5: \
e627259a 45 ovsdb/ovsdb-doc vswitchd/vswitch.xml vswitchd/vswitch.ovsschema \
a5ae88ff 46 $(VSWITCH_PIC)
ef44aa50 47 $(AM_V_GEN)$(OVSDB_DOC) \
29894c88 48 $(VSWITCH_DOT_DIAGRAM_ARG) \
54c18b66 49 --version=$(VERSION) \
89365653 50 $(srcdir)/vswitchd/vswitch.ovsschema \
ef44aa50 51 $(srcdir)/vswitchd/vswitch.xml > $@.tmp && \
89365653 52 mv $@.tmp $@
8159b984
BP
53
54# Version checking for vswitch.ovsschema.
55ALL_LOCAL += vswitchd/vswitch.ovsschema.stamp
56vswitchd/vswitch.ovsschema.stamp: vswitchd/vswitch.ovsschema
abc67c1e 57 $(srcdir)/build-aux/cksum-schema-check $? $@
a87c35f1 58CLEANFILES += vswitchd/vswitch.ovsschema.stamp
eaa67ba8
BP
59
60# Clean up generated files from older OVS versions. (This is important so that
61# #include "vswitch-idl.h" doesn't get the wrong copy.)
62CLEANFILES += vswitchd/vswitch-idl.c vswitchd/vswitch-idl.h