ovsdb: Add ovsdb IDL compiler to build system.
[cascardo/ovs.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/ovsdb-server.c \
16         ovsdb/ovsdb.c \
17         ovsdb/ovsdb.h \
18         ovsdb/query.c \
19         ovsdb/query.h \
20         ovsdb/row.c \
21         ovsdb/row.h \
22         ovsdb/table.c \
23         ovsdb/table.h \
24         ovsdb/trigger.c \
25         ovsdb/trigger.h \
26         ovsdb/transaction.c \
27         ovsdb/transaction.h
28
29 # ovsdb-tool
30 bin_PROGRAMS += ovsdb/ovsdb-tool
31 ovsdb_ovsdb_tool_SOURCES = ovsdb/ovsdb-tool.c
32 ovsdb_ovsdb_tool_LDADD = ovsdb/libovsdb.a lib/libopenvswitch.a
33 # ovsdb-tool.1
34 man_MANS += ovsdb/ovsdb-tool.1
35 DISTCLEANFILES += ovsdb/ovsdb-tool.1
36 EXTRA_DIST += ovsdb/ovsdb-tool.1.in
37
38 # ovsdb-client
39 bin_PROGRAMS += ovsdb/ovsdb-client
40 ovsdb_ovsdb_client_SOURCES = ovsdb/ovsdb-client.c
41 ovsdb_ovsdb_client_LDADD = ovsdb/libovsdb.a lib/libopenvswitch.a
42 # ovsdb-client.1
43 man_MANS += ovsdb/ovsdb-client.1
44 DISTCLEANFILES += ovsdb/ovsdb-client.1
45 EXTRA_DIST += ovsdb/ovsdb-client.1.in
46
47 # ovsdb-server
48 sbin_PROGRAMS += ovsdb/ovsdb-server
49 ovsdb_ovsdb_server_SOURCES = ovsdb/ovsdb-server.c
50 ovsdb_ovsdb_server_LDADD = ovsdb/libovsdb.a lib/libopenvswitch.a $(FAULT_LIBS)
51 # ovsdb-server.1
52 man_MANS += ovsdb/ovsdb-server.1
53 DISTCLEANFILES += ovsdb/ovsdb-server.1
54 EXTRA_DIST += ovsdb/ovsdb-server.1.in
55
56 # ovsdb-idlc
57 EXTRA_DIST += \
58         ovsdb/simplejson/__init__.py \
59         ovsdb/simplejson/_speedups.c                            \
60         ovsdb/simplejson/decoder.py                             \
61         ovsdb/simplejson/encoder.py                             \
62         ovsdb/simplejson/scanner.py                             \
63         ovsdb/simplejson/tests/__init__.py                      \
64         ovsdb/simplejson/tests/test_check_circular.py           \
65         ovsdb/simplejson/tests/test_decode.py                   \
66         ovsdb/simplejson/tests/test_default.py                  \
67         ovsdb/simplejson/tests/test_dump.py                     \
68         ovsdb/simplejson/tests/test_encode_basestring_ascii.py  \
69         ovsdb/simplejson/tests/test_fail.py                     \
70         ovsdb/simplejson/tests/test_float.py                    \
71         ovsdb/simplejson/tests/test_indent.py                   \
72         ovsdb/simplejson/tests/test_pass1.py                    \
73         ovsdb/simplejson/tests/test_pass2.py                    \
74         ovsdb/simplejson/tests/test_pass3.py                    \
75         ovsdb/simplejson/tests/test_recursion.py                \
76         ovsdb/simplejson/tests/test_scanstring.py               \
77         ovsdb/simplejson/tests/test_separators.py               \
78         ovsdb/simplejson/tests/test_unicode.py                  \
79         ovsdb/simplejson/tool.py
80 noinst_SCRIPTS += ovsdb/ovsdb-idlc
81 EXTRA_DIST += \
82         ovsdb/ovsdb-idlc.in \
83         ovsdb/ovsdb-idlc.1
84 DISTCLEANFILES += ovsdb/ovsdb-idlc