ovsdb: Add new "mutation" operation to transactions.
[sliver-openvswitch.git] / ovsdb / automake.mk
1 # libovsdb
2 noinst_LIBRARIES += ovsdb/libovsdb.a
3 ovsdb_libovsdb_a_SOURCES = \
4         ovsdb/column.c \
5         ovsdb/column.h \
6         ovsdb/condition.c \
7         ovsdb/condition.h \
8         ovsdb/execution.c \
9         ovsdb/file.c \
10         ovsdb/file.h \
11         ovsdb/jsonrpc-server.c \
12         ovsdb/jsonrpc-server.h \
13         ovsdb/log.c \
14         ovsdb/log.h \
15         ovsdb/mutation.c \
16         ovsdb/mutation.h \
17         ovsdb/ovsdb-server.c \
18         ovsdb/ovsdb.c \
19         ovsdb/ovsdb.h \
20         ovsdb/query.c \
21         ovsdb/query.h \
22         ovsdb/row.c \
23         ovsdb/row.h \
24         ovsdb/table.c \
25         ovsdb/table.h \
26         ovsdb/trigger.c \
27         ovsdb/trigger.h \
28         ovsdb/transaction.c \
29         ovsdb/transaction.h
30
31 # ovsdb-tool
32 bin_PROGRAMS += ovsdb/ovsdb-tool
33 ovsdb_ovsdb_tool_SOURCES = ovsdb/ovsdb-tool.c
34 ovsdb_ovsdb_tool_LDADD = ovsdb/libovsdb.a lib/libopenvswitch.a
35 # ovsdb-tool.1
36 man_MANS += ovsdb/ovsdb-tool.1
37 DISTCLEANFILES += ovsdb/ovsdb-tool.1
38 EXTRA_DIST += ovsdb/ovsdb-tool.1.in
39
40 # ovsdb-client
41 bin_PROGRAMS += ovsdb/ovsdb-client
42 ovsdb_ovsdb_client_SOURCES = ovsdb/ovsdb-client.c
43 ovsdb_ovsdb_client_LDADD = ovsdb/libovsdb.a lib/libopenvswitch.a
44 # ovsdb-client.1
45 man_MANS += ovsdb/ovsdb-client.1
46 DISTCLEANFILES += ovsdb/ovsdb-client.1
47 EXTRA_DIST += ovsdb/ovsdb-client.1.in
48
49 # ovsdb-server
50 sbin_PROGRAMS += ovsdb/ovsdb-server
51 ovsdb_ovsdb_server_SOURCES = ovsdb/ovsdb-server.c
52 ovsdb_ovsdb_server_LDADD = ovsdb/libovsdb.a lib/libopenvswitch.a $(FAULT_LIBS)
53 # ovsdb-server.1
54 man_MANS += ovsdb/ovsdb-server.1
55 DISTCLEANFILES += ovsdb/ovsdb-server.1
56 EXTRA_DIST += ovsdb/ovsdb-server.1.in
57
58 # ovsdb-idlc
59 EXTRA_DIST += \
60         ovsdb/simplejson/__init__.py \
61         ovsdb/simplejson/_speedups.c                            \
62         ovsdb/simplejson/decoder.py                             \
63         ovsdb/simplejson/encoder.py                             \
64         ovsdb/simplejson/scanner.py                             \
65         ovsdb/simplejson/tests/__init__.py                      \
66         ovsdb/simplejson/tests/test_check_circular.py           \
67         ovsdb/simplejson/tests/test_decode.py                   \
68         ovsdb/simplejson/tests/test_default.py                  \
69         ovsdb/simplejson/tests/test_dump.py                     \
70         ovsdb/simplejson/tests/test_encode_basestring_ascii.py  \
71         ovsdb/simplejson/tests/test_fail.py                     \
72         ovsdb/simplejson/tests/test_float.py                    \
73         ovsdb/simplejson/tests/test_indent.py                   \
74         ovsdb/simplejson/tests/test_pass1.py                    \
75         ovsdb/simplejson/tests/test_pass2.py                    \
76         ovsdb/simplejson/tests/test_pass3.py                    \
77         ovsdb/simplejson/tests/test_recursion.py                \
78         ovsdb/simplejson/tests/test_scanstring.py               \
79         ovsdb/simplejson/tests/test_separators.py               \
80         ovsdb/simplejson/tests/test_unicode.py                  \
81         ovsdb/simplejson/tool.py
82 noinst_SCRIPTS += ovsdb/ovsdb-idlc
83 EXTRA_DIST += \
84         ovsdb/ovsdb-idlc.in \
85         ovsdb/ovsdb-idlc.1
86 DISTCLEANFILES += ovsdb/ovsdb-idlc
87 SUFFIXES += .ovsidl .txt
88 .ovsidl.c:
89         $(PYTHON) $(srcdir)/ovsdb/ovsdb-idlc.in c-idl-source $< > $@.tmp
90         mv $@.tmp $@
91 .ovsidl.h:
92         $(PYTHON) $(srcdir)/ovsdb/ovsdb-idlc.in c-idl-header $< > $@.tmp
93         mv $@.tmp $@
94 .ovsidl.ovsschema:
95         $(PYTHON) $(srcdir)/ovsdb/ovsdb-idlc.in ovsdb-schema $< > $@.tmp
96         mv $@.tmp $@
97 .ovsidl.txt:
98         $(PYTHON) $(srcdir)/ovsdb/ovsdb-idlc.in doc $< | fmt -s > $@.tmp
99         mv $@.tmp $@