2 noinst_LIBRARIES += ovsdb/libovsdb.a
3 ovsdb_libovsdb_a_SOURCES = \
11 ovsdb/jsonrpc-server.c \
12 ovsdb/jsonrpc-server.h \
17 ovsdb/ovsdb-server.c \
31 ovsdb/remote-active.man \
32 ovsdb/remote-passive.man
35 bin_PROGRAMS += ovsdb/ovsdb-tool
36 ovsdb_ovsdb_tool_SOURCES = ovsdb/ovsdb-tool.c
37 ovsdb_ovsdb_tool_LDADD = ovsdb/libovsdb.a lib/libopenvswitch.a
39 man_MANS += ovsdb/ovsdb-tool.1
40 DISTCLEANFILES += ovsdb/ovsdb-tool.1
41 EXTRA_DIST += ovsdb/ovsdb-tool.1.in
44 bin_PROGRAMS += ovsdb/ovsdb-client
45 ovsdb_ovsdb_client_SOURCES = ovsdb/ovsdb-client.c
46 ovsdb_ovsdb_client_LDADD = ovsdb/libovsdb.a lib/libopenvswitch.a $(SSL_LIBS)
48 man_MANS += ovsdb/ovsdb-client.1
49 DISTCLEANFILES += ovsdb/ovsdb-client.1
50 EXTRA_DIST += ovsdb/ovsdb-client.1.in
53 sbin_PROGRAMS += ovsdb/ovsdb-server
54 ovsdb_ovsdb_server_SOURCES = ovsdb/ovsdb-server.c
55 ovsdb_ovsdb_server_LDADD = ovsdb/libovsdb.a lib/libopenvswitch.a $(SSL_LIBS)
57 man_MANS += ovsdb/ovsdb-server.1
58 DISTCLEANFILES += ovsdb/ovsdb-server.1
59 EXTRA_DIST += ovsdb/ovsdb-server.1.in
62 EXTRA_DIST += ovsdb/SPECS
63 noinst_SCRIPTS += ovsdb/ovsdb-idlc
67 DISTCLEANFILES += ovsdb/ovsdb-idlc
69 OVSDB_IDLC = $(run_python) $(srcdir)/ovsdb/ovsdb-idlc.in
71 $(OVSDB_IDLC) c-idl-source $< > $@.tmp
74 $(OVSDB_IDLC) c-idl-header $< > $@.tmp
77 EXTRA_DIST += $(OVSIDL_BUILT)
78 BUILT_SOURCES += $(OVSIDL_BUILT)
80 # This must be done late: macros in targets are expanded when the
81 # target line is read, so if this file were to be included before some
82 # other file that added to OVSIDL_BUILT, then those files wouldn't get
85 # However, current versions of Automake seem to output all variable
86 # assignments before any targets, so it doesn't seem to be a problem,
88 $(OVSIDL_BUILT): ovsdb/ovsdb-idlc.in
91 EXTRA_DIST += ovsdb/ovsdb-doc.in
92 noinst_SCRIPTS += ovsdb/ovsdb-doc
93 DISTCLEANFILES += ovsdb/ovsdb-doc
94 OVSDB_DOC = $(run_python) $(srcdir)/ovsdb/ovsdb-doc.in
97 EXTRA_DIST += ovsdb/ovsdb-dot.in
98 noinst_SCRIPTS += ovsdb/ovsdb-dot
99 DISTCLEANFILES += ovsdb/ovsdb-dot
100 OVSDB_DOT = $(run_python) $(srcdir)/ovsdb/ovsdb-dot.in
102 include ovsdb/ovsdbmonitor/automake.mk