]> git.proxmox.com Git - mirror_ovs.git/blame - ovsdb/automake.mk
ovsdb: Implement C bindings for IDL.
[mirror_ovs.git] / ovsdb / automake.mk
CommitLineData
f85f8ebb
BP
1# libovsdb
2noinst_LIBRARIES += ovsdb/libovsdb.a
3ovsdb_libovsdb_a_SOURCES = \
4 ovsdb/column.c \
5 ovsdb/column.h \
6 ovsdb/condition.c \
7 ovsdb/condition.h \
8 ovsdb/execution.c \
bd06962a
BP
9 ovsdb/file.c \
10 ovsdb/file.h \
f85f8ebb
BP
11 ovsdb/jsonrpc-server.c \
12 ovsdb/jsonrpc-server.h \
41709ccc
BP
13 ovsdb/log.c \
14 ovsdb/log.h \
f85f8ebb
BP
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
30bin_PROGRAMS += ovsdb/ovsdb-tool
31ovsdb_ovsdb_tool_SOURCES = ovsdb/ovsdb-tool.c
32ovsdb_ovsdb_tool_LDADD = ovsdb/libovsdb.a lib/libopenvswitch.a
f7f62235
BP
33# ovsdb-tool.1
34man_MANS += ovsdb/ovsdb-tool.1
35DISTCLEANFILES += ovsdb/ovsdb-tool.1
36EXTRA_DIST += ovsdb/ovsdb-tool.1.in
f85f8ebb 37
d0632593
BP
38# ovsdb-client
39bin_PROGRAMS += ovsdb/ovsdb-client
40ovsdb_ovsdb_client_SOURCES = ovsdb/ovsdb-client.c
41ovsdb_ovsdb_client_LDADD = ovsdb/libovsdb.a lib/libopenvswitch.a
42# ovsdb-client.1
43man_MANS += ovsdb/ovsdb-client.1
44DISTCLEANFILES += ovsdb/ovsdb-client.1
45EXTRA_DIST += ovsdb/ovsdb-client.1.in
46
f85f8ebb
BP
47# ovsdb-server
48sbin_PROGRAMS += ovsdb/ovsdb-server
49ovsdb_ovsdb_server_SOURCES = ovsdb/ovsdb-server.c
50ovsdb_ovsdb_server_LDADD = ovsdb/libovsdb.a lib/libopenvswitch.a $(FAULT_LIBS)
f7f62235
BP
51# ovsdb-server.1
52man_MANS += ovsdb/ovsdb-server.1
53DISTCLEANFILES += ovsdb/ovsdb-server.1
54EXTRA_DIST += ovsdb/ovsdb-server.1.in
d879a707
BP
55
56# ovsdb-idlc
57EXTRA_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
80noinst_SCRIPTS += ovsdb/ovsdb-idlc
81EXTRA_DIST += \
82 ovsdb/ovsdb-idlc.in \
83 ovsdb/ovsdb-idlc.1
84DISTCLEANFILES += ovsdb/ovsdb-idlc
c3bb4bd7
BP
85SUFFIXES += .ovsidl
86.ovsidl.c:
87 $(PYTHON) $(srcdir)/ovsdb/ovsdb-idlc.in c-idl-source $< > $@.tmp
88 mv $@.tmp $@
89.ovsidl.h:
90 $(PYTHON) $(srcdir)/ovsdb/ovsdb-idlc.in c-idl-header $< > $@.tmp
91 mv $@.tmp $@
92.ovsidl.ovsschema:
93 $(PYTHON) $(srcdir)/ovsdb/ovsdb-idlc.in ovsdb-schema $< > $@.tmp
94 mv $@.tmp $@