2 lib_LTLIBRARIES += ovsdb/libovsdb.la
3 ovsdb_libovsdb_la_LDFLAGS = -release $(VERSION)
4 ovsdb_libovsdb_la_SOURCES = \
12 ovsdb/jsonrpc-server.c \
13 ovsdb/jsonrpc-server.h \
18 ovsdb/ovsdb-server.c \
33 ovsdb_libovsdb_la_CFLAGS = $(AM_CFLAGS)
34 ovsdb_libovsdb_la_CPPFLAGS = $(AM_CPPFLAGS)
37 ovsdb/remote-active.man \
38 ovsdb/remote-passive.man
41 bin_PROGRAMS += ovsdb/ovsdb-tool
42 ovsdb_ovsdb_tool_SOURCES = ovsdb/ovsdb-tool.c
43 ovsdb_ovsdb_tool_LDADD = ovsdb/libovsdb.la lib/libopenvswitch.la $(SSL_LIBS)
45 man_MANS += ovsdb/ovsdb-tool.1
46 DISTCLEANFILES += ovsdb/ovsdb-tool.1
47 MAN_ROOTS += ovsdb/ovsdb-tool.1.in
50 bin_PROGRAMS += ovsdb/ovsdb-client
51 ovsdb_ovsdb_client_SOURCES = ovsdb/ovsdb-client.c
52 ovsdb_ovsdb_client_LDADD = ovsdb/libovsdb.la lib/libopenvswitch.la $(SSL_LIBS)
54 man_MANS += ovsdb/ovsdb-client.1
55 DISTCLEANFILES += ovsdb/ovsdb-client.1
56 MAN_ROOTS += ovsdb/ovsdb-client.1.in
59 sbin_PROGRAMS += ovsdb/ovsdb-server
60 ovsdb_ovsdb_server_SOURCES = ovsdb/ovsdb-server.c
61 ovsdb_ovsdb_server_LDADD = ovsdb/libovsdb.la lib/libopenvswitch.la $(SSL_LIBS)
63 man_MANS += ovsdb/ovsdb-server.1
64 DISTCLEANFILES += ovsdb/ovsdb-server.1
65 MAN_ROOTS += ovsdb/ovsdb-server.1.in
68 EXTRA_DIST += ovsdb/SPECS
69 noinst_SCRIPTS += ovsdb/ovsdb-idlc
70 EXTRA_DIST += ovsdb/ovsdb-idlc.in
71 MAN_ROOTS += ovsdb/ovsdb-idlc.1
72 DISTCLEANFILES += ovsdb/ovsdb-idlc
73 SUFFIXES += .ovsidl .ovsschema
74 OVSDB_IDLC = $(run_python) $(srcdir)/ovsdb/ovsdb-idlc.in
76 $(OVSDB_IDLC) c-idl-source $< > $@.tmp
79 $(OVSDB_IDLC) c-idl-header $< > $@.tmp
82 EXTRA_DIST += $(OVSIDL_BUILT)
83 BUILT_SOURCES += $(OVSIDL_BUILT)
85 # This must be done late: macros in targets are expanded when the
86 # target line is read, so if this file were to be included before some
87 # other file that added to OVSIDL_BUILT, then those files wouldn't get
90 # However, current versions of Automake seem to output all variable
91 # assignments before any targets, so it doesn't seem to be a problem,
93 $(OVSIDL_BUILT): ovsdb/ovsdb-idlc.in
96 EXTRA_DIST += ovsdb/ovsdb-doc
97 OVSDB_DOC = $(run_python) $(srcdir)/ovsdb/ovsdb-doc
100 EXTRA_DIST += ovsdb/ovsdb-dot.in ovsdb/dot2pic
101 noinst_SCRIPTS += ovsdb/ovsdb-dot
102 DISTCLEANFILES += ovsdb/ovsdb-dot
103 OVSDB_DOT = $(run_python) $(srcdir)/ovsdb/ovsdb-dot.in