2009-11-04 15:11:44 -08:00
|
|
|
# libovsdb
|
2013-12-13 18:54:28 +01:00
|
|
|
lib_LTLIBRARIES += ovsdb/libovsdb.la
|
2014-11-07 19:02:09 -08:00
|
|
|
ovsdb_libovsdb_la_LDFLAGS = \
|
2017-01-16 14:06:27 -05:00
|
|
|
$(OVS_LTINFO) \
|
2014-11-12 15:05:59 +01:00
|
|
|
-Wl,--version-script=$(top_builddir)/ovsdb/libovsdb.sym \
|
|
|
|
$(AM_LDFLAGS)
|
2013-12-13 18:54:28 +01:00
|
|
|
ovsdb_libovsdb_la_SOURCES = \
|
2009-11-04 15:11:44 -08:00
|
|
|
ovsdb/column.c \
|
|
|
|
ovsdb/column.h \
|
|
|
|
ovsdb/condition.c \
|
|
|
|
ovsdb/condition.h \
|
|
|
|
ovsdb/execution.c \
|
2009-11-13 13:37:55 -08:00
|
|
|
ovsdb/file.c \
|
|
|
|
ovsdb/file.h \
|
2009-11-04 15:11:44 -08:00
|
|
|
ovsdb/jsonrpc-server.c \
|
|
|
|
ovsdb/jsonrpc-server.h \
|
2009-11-13 13:23:35 -08:00
|
|
|
ovsdb/log.c \
|
|
|
|
ovsdb/log.h \
|
2009-12-16 10:49:31 -08:00
|
|
|
ovsdb/mutation.c \
|
|
|
|
ovsdb/mutation.h \
|
2009-11-04 15:11:44 -08:00
|
|
|
ovsdb/ovsdb.c \
|
|
|
|
ovsdb/ovsdb.h \
|
2015-03-11 21:20:44 -07:00
|
|
|
ovsdb/monitor.c \
|
|
|
|
ovsdb/monitor.h \
|
2009-11-04 15:11:44 -08:00
|
|
|
ovsdb/query.c \
|
|
|
|
ovsdb/query.h \
|
2016-06-24 17:13:06 -07:00
|
|
|
ovsdb/replication.c \
|
|
|
|
ovsdb/replication.h \
|
2009-11-04 15:11:44 -08:00
|
|
|
ovsdb/row.c \
|
|
|
|
ovsdb/row.h \
|
2011-07-26 10:17:36 -07:00
|
|
|
ovsdb/server.c \
|
|
|
|
ovsdb/server.h \
|
2009-11-04 15:11:44 -08:00
|
|
|
ovsdb/table.c \
|
|
|
|
ovsdb/table.h \
|
|
|
|
ovsdb/trigger.c \
|
|
|
|
ovsdb/trigger.h \
|
|
|
|
ovsdb/transaction.c \
|
|
|
|
ovsdb/transaction.h
|
2013-12-13 18:54:28 +01:00
|
|
|
ovsdb_libovsdb_la_CFLAGS = $(AM_CFLAGS)
|
|
|
|
ovsdb_libovsdb_la_CPPFLAGS = $(AM_CPPFLAGS)
|
|
|
|
|
2014-11-13 12:28:43 +01:00
|
|
|
pkgconfig_DATA += \
|
2017-01-26 14:07:00 -05:00
|
|
|
ovsdb/libovsdb.pc
|
2014-11-13 12:28:43 +01:00
|
|
|
|
2011-08-24 10:45:32 -07:00
|
|
|
MAN_FRAGMENTS += \
|
2009-12-21 13:13:48 -08:00
|
|
|
ovsdb/remote-active.man \
|
2016-06-24 17:13:06 -07:00
|
|
|
ovsdb/remote-passive.man \
|
|
|
|
ovsdb/replication.man \
|
|
|
|
ovsdb/replication-syn.man
|
2009-11-04 15:11:44 -08:00
|
|
|
|
2017-04-24 14:57:11 -04:00
|
|
|
EXTRA_DIST += \
|
|
|
|
ovsdb/remote-active.xml \
|
|
|
|
ovsdb/remote-passive.xml
|
|
|
|
|
2009-11-04 15:11:44 -08:00
|
|
|
# ovsdb-tool
|
|
|
|
bin_PROGRAMS += ovsdb/ovsdb-tool
|
|
|
|
ovsdb_ovsdb_tool_SOURCES = ovsdb/ovsdb-tool.c
|
2014-03-04 13:23:53 -08:00
|
|
|
ovsdb_ovsdb_tool_LDADD = ovsdb/libovsdb.la lib/libopenvswitch.la
|
2009-11-06 15:35:10 -08:00
|
|
|
# ovsdb-tool.1
|
|
|
|
man_MANS += ovsdb/ovsdb-tool.1
|
2017-02-13 17:20:56 -08:00
|
|
|
CLEANFILES += ovsdb/ovsdb-tool.1
|
2011-10-26 16:06:37 -07:00
|
|
|
MAN_ROOTS += ovsdb/ovsdb-tool.1.in
|
2009-11-04 15:11:44 -08:00
|
|
|
|
2009-11-06 15:35:34 -08:00
|
|
|
# ovsdb-client
|
|
|
|
bin_PROGRAMS += ovsdb/ovsdb-client
|
|
|
|
ovsdb_ovsdb_client_SOURCES = ovsdb/ovsdb-client.c
|
2014-03-04 13:23:53 -08:00
|
|
|
ovsdb_ovsdb_client_LDADD = ovsdb/libovsdb.la lib/libopenvswitch.la
|
2009-11-06 15:35:34 -08:00
|
|
|
# ovsdb-client.1
|
|
|
|
man_MANS += ovsdb/ovsdb-client.1
|
2017-02-13 17:20:56 -08:00
|
|
|
CLEANFILES += ovsdb/ovsdb-client.1
|
2011-10-26 16:06:37 -07:00
|
|
|
MAN_ROOTS += ovsdb/ovsdb-client.1.in
|
2009-11-06 15:35:34 -08:00
|
|
|
|
2009-11-04 15:11:44 -08:00
|
|
|
# ovsdb-server
|
|
|
|
sbin_PROGRAMS += ovsdb/ovsdb-server
|
|
|
|
ovsdb_ovsdb_server_SOURCES = ovsdb/ovsdb-server.c
|
2014-03-04 13:23:53 -08:00
|
|
|
ovsdb_ovsdb_server_LDADD = ovsdb/libovsdb.la lib/libopenvswitch.la
|
2009-11-06 15:35:10 -08:00
|
|
|
# ovsdb-server.1
|
|
|
|
man_MANS += ovsdb/ovsdb-server.1
|
2017-02-13 17:20:56 -08:00
|
|
|
CLEANFILES += ovsdb/ovsdb-server.1
|
2011-10-26 16:06:37 -07:00
|
|
|
MAN_ROOTS += ovsdb/ovsdb-server.1.in
|
2009-11-23 16:07:36 -08:00
|
|
|
|
|
|
|
# ovsdb-idlc
|
2010-11-24 01:57:45 -08:00
|
|
|
noinst_SCRIPTS += ovsdb/ovsdb-idlc
|
2011-10-26 16:06:37 -07:00
|
|
|
EXTRA_DIST += ovsdb/ovsdb-idlc.in
|
|
|
|
MAN_ROOTS += ovsdb/ovsdb-idlc.1
|
2017-02-13 17:20:56 -08:00
|
|
|
CLEANFILES += ovsdb/ovsdb-idlc
|
2011-10-18 09:29:54 -07:00
|
|
|
SUFFIXES += .ovsidl .ovsschema
|
2010-08-25 10:26:40 -07:00
|
|
|
OVSDB_IDLC = $(run_python) $(srcdir)/ovsdb/ovsdb-idlc.in
|
2009-12-02 11:26:15 -08:00
|
|
|
.ovsidl.c:
|
2014-09-29 14:34:11 -07:00
|
|
|
$(AM_V_GEN)$(OVSDB_IDLC) c-idl-source $< > $@.tmp && mv $@.tmp $@
|
2009-12-02 11:26:15 -08:00
|
|
|
.ovsidl.h:
|
2014-09-29 14:34:11 -07:00
|
|
|
$(AM_V_GEN)$(OVSDB_IDLC) c-idl-header $< > $@.tmp && mv $@.tmp $@
|
2010-01-07 15:52:58 -08:00
|
|
|
|
|
|
|
BUILT_SOURCES += $(OVSIDL_BUILT)
|
2015-07-21 11:15:06 -07:00
|
|
|
CLEANFILES += $(OVSIDL_BUILT)
|
2010-01-07 15:52:58 -08:00
|
|
|
|
|
|
|
# This must be done late: macros in targets are expanded when the
|
|
|
|
# target line is read, so if this file were to be included before some
|
|
|
|
# other file that added to OVSIDL_BUILT, then those files wouldn't get
|
|
|
|
# the dependency.
|
|
|
|
#
|
|
|
|
# However, current versions of Automake seem to output all variable
|
|
|
|
# assignments before any targets, so it doesn't seem to be a problem,
|
|
|
|
# at least for now.
|
|
|
|
$(OVSIDL_BUILT): ovsdb/ovsdb-idlc.in
|
2010-03-03 14:47:46 -08:00
|
|
|
|
|
|
|
# ovsdb-doc
|
2013-07-31 09:24:46 -07:00
|
|
|
EXTRA_DIST += ovsdb/ovsdb-doc
|
|
|
|
OVSDB_DOC = $(run_python) $(srcdir)/ovsdb/ovsdb-doc
|
2010-05-11 11:46:52 -07:00
|
|
|
|
2010-06-23 09:41:09 -07:00
|
|
|
# ovsdb-dot
|
2010-11-09 10:33:17 -08:00
|
|
|
EXTRA_DIST += ovsdb/ovsdb-dot.in ovsdb/dot2pic
|
2010-06-23 09:41:09 -07:00
|
|
|
noinst_SCRIPTS += ovsdb/ovsdb-dot
|
2017-02-13 17:20:56 -08:00
|
|
|
CLEANFILES += ovsdb/ovsdb-dot
|
2010-08-25 10:26:40 -07:00
|
|
|
OVSDB_DOT = $(run_python) $(srcdir)/ovsdb/ovsdb-dot.in
|