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 $(SSL_LIBS)
41 man_MANS += ovsdb/ovsdb-tool.1
42 DISTCLEANFILES += ovsdb/ovsdb-tool.1
43 MAN_ROOTS += 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 MAN_ROOTS += 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 MAN_ROOTS += ovsdb/ovsdb-server.1.in
64 EXTRA_DIST += ovsdb/SPECS
65 noinst_SCRIPTS += ovsdb/ovsdb-idlc
66 EXTRA_DIST += ovsdb/ovsdb-idlc.in
67 MAN_ROOTS += ovsdb/ovsdb-idlc.1
68 DISTCLEANFILES += ovsdb/ovsdb-idlc
69 SUFFIXES += .ovsidl .ovsschema
70 OVSDB_IDLC = $(run_python) $(srcdir)/ovsdb/ovsdb-idlc.in
72 $(OVSDB_IDLC) c-idl-source $< > $@.tmp
75 $(OVSDB_IDLC) c-idl-header $< > $@.tmp
78 EXTRA_DIST += $(OVSIDL_BUILT)
79 BUILT_SOURCES += $(OVSIDL_BUILT)
81 # This must be done late: macros in targets are expanded when the
82 # target line is read, so if this file were to be included before some
83 # other file that added to OVSIDL_BUILT, then those files wouldn't get
86 # However, current versions of Automake seem to output all variable
87 # assignments before any targets, so it doesn't seem to be a problem,
89 $(OVSIDL_BUILT): ovsdb/ovsdb-idlc.in
92 EXTRA_DIST += ovsdb/ovsdb-doc.in
93 noinst_SCRIPTS += ovsdb/ovsdb-doc
94 DISTCLEANFILES += ovsdb/ovsdb-doc
95 OVSDB_DOC = $(run_python) $(srcdir)/ovsdb/ovsdb-doc.in
98 EXTRA_DIST += ovsdb/ovsdb-dot.in ovsdb/dot2pic
99 noinst_SCRIPTS += ovsdb/ovsdb-dot
100 DISTCLEANFILES += ovsdb/ovsdb-dot
101 OVSDB_DOT = $(run_python) $(srcdir)/ovsdb/ovsdb-dot.in
103 include ovsdb/ovsdbmonitor/automake.mk