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 \
33 ovsdb/remote-active.man \
34 ovsdb/remote-passive.man
37 bin_PROGRAMS += ovsdb/ovsdb-tool
38 ovsdb_ovsdb_tool_SOURCES = ovsdb/ovsdb-tool.c
39 ovsdb_ovsdb_tool_LDADD = ovsdb/libovsdb.a lib/libopenvswitch.a
41 man_MANS += ovsdb/ovsdb-tool.1
42 DISTCLEANFILES += ovsdb/ovsdb-tool.1
43 EXTRA_DIST += ovsdb/ovsdb-tool.1.in
46 bin_PROGRAMS += ovsdb/ovsdb-client
47 ovsdb_ovsdb_client_SOURCES = ovsdb/ovsdb-client.c
48 ovsdb_ovsdb_client_LDADD = ovsdb/libovsdb.a lib/libopenvswitch.a $(SSL_LIBS)
50 man_MANS += ovsdb/ovsdb-client.1
51 DISTCLEANFILES += ovsdb/ovsdb-client.1
52 EXTRA_DIST += ovsdb/ovsdb-client.1.in
55 sbin_PROGRAMS += ovsdb/ovsdb-server
56 ovsdb_ovsdb_server_SOURCES = ovsdb/ovsdb-server.c
57 ovsdb_ovsdb_server_LDADD = ovsdb/libovsdb.a lib/libopenvswitch.a $(SSL_LIBS)
59 man_MANS += ovsdb/ovsdb-server.1
60 DISTCLEANFILES += ovsdb/ovsdb-server.1
61 EXTRA_DIST += ovsdb/ovsdb-server.1.in
64 EXTRA_DIST += ovsdb/SPECS
65 noinst_SCRIPTS += ovsdb/ovsdb-idlc
69 DISTCLEANFILES += ovsdb/ovsdb-idlc
71 OVSDB_IDLC = $(run_python) $(srcdir)/ovsdb/ovsdb-idlc.in
73 $(OVSDB_IDLC) c-idl-source $< > $@.tmp
76 $(OVSDB_IDLC) c-idl-header $< > $@.tmp
79 EXTRA_DIST += $(OVSIDL_BUILT)
80 BUILT_SOURCES += $(OVSIDL_BUILT)
82 # This must be done late: macros in targets are expanded when the
83 # target line is read, so if this file were to be included before some
84 # other file that added to OVSIDL_BUILT, then those files wouldn't get
87 # However, current versions of Automake seem to output all variable
88 # assignments before any targets, so it doesn't seem to be a problem,
90 $(OVSIDL_BUILT): ovsdb/ovsdb-idlc.in
93 EXTRA_DIST += ovsdb/ovsdb-doc.in
94 noinst_SCRIPTS += ovsdb/ovsdb-doc
95 DISTCLEANFILES += ovsdb/ovsdb-doc
96 OVSDB_DOC = $(run_python) $(srcdir)/ovsdb/ovsdb-doc.in
99 EXTRA_DIST += ovsdb/ovsdb-dot.in ovsdb/dot2pic
100 noinst_SCRIPTS += ovsdb/ovsdb-dot
101 DISTCLEANFILES += ovsdb/ovsdb-dot
102 OVSDB_DOT = $(run_python) $(srcdir)/ovsdb/ovsdb-dot.in
104 include ovsdb/ovsdbmonitor/automake.mk