ovs-vsctl: Add commands for modifying controller settings
[openvswitch] / ovsdb / automake.mk
index b996a306fbf0abf53ce7c277df38eeaf16dec19a..2732c53908ffb6c235a6d44d465be4c696c4beac 100644 (file)
@@ -6,10 +6,14 @@ ovsdb_libovsdb_a_SOURCES = \
        ovsdb/condition.c \
        ovsdb/condition.h \
        ovsdb/execution.c \
+       ovsdb/file.c \
+       ovsdb/file.h \
        ovsdb/jsonrpc-server.c \
        ovsdb/jsonrpc-server.h \
        ovsdb/log.c \
        ovsdb/log.h \
+       ovsdb/mutation.c \
+       ovsdb/mutation.h \
        ovsdb/ovsdb-server.c \
        ovsdb/ovsdb.c \
        ovsdb/ovsdb.h \
@@ -50,3 +54,46 @@ ovsdb_ovsdb_server_LDADD = ovsdb/libovsdb.a lib/libopenvswitch.a $(FAULT_LIBS)
 man_MANS += ovsdb/ovsdb-server.1
 DISTCLEANFILES += ovsdb/ovsdb-server.1
 EXTRA_DIST += ovsdb/ovsdb-server.1.in
+
+# ovsdb-idlc
+EXTRA_DIST += \
+       ovsdb/simplejson/__init__.py \
+       ovsdb/simplejson/_speedups.c                            \
+       ovsdb/simplejson/decoder.py                             \
+       ovsdb/simplejson/encoder.py                             \
+       ovsdb/simplejson/scanner.py                             \
+       ovsdb/simplejson/tests/__init__.py                      \
+       ovsdb/simplejson/tests/test_check_circular.py           \
+       ovsdb/simplejson/tests/test_decode.py                   \
+       ovsdb/simplejson/tests/test_default.py                  \
+       ovsdb/simplejson/tests/test_dump.py                     \
+       ovsdb/simplejson/tests/test_encode_basestring_ascii.py  \
+       ovsdb/simplejson/tests/test_fail.py                     \
+       ovsdb/simplejson/tests/test_float.py                    \
+       ovsdb/simplejson/tests/test_indent.py                   \
+       ovsdb/simplejson/tests/test_pass1.py                    \
+       ovsdb/simplejson/tests/test_pass2.py                    \
+       ovsdb/simplejson/tests/test_pass3.py                    \
+       ovsdb/simplejson/tests/test_recursion.py                \
+       ovsdb/simplejson/tests/test_scanstring.py               \
+       ovsdb/simplejson/tests/test_separators.py               \
+       ovsdb/simplejson/tests/test_unicode.py                  \
+       ovsdb/simplejson/tool.py
+noinst_SCRIPTS += ovsdb/ovsdb-idlc
+EXTRA_DIST += \
+       ovsdb/ovsdb-idlc.in \
+       ovsdb/ovsdb-idlc.1
+DISTCLEANFILES += ovsdb/ovsdb-idlc
+SUFFIXES += .ovsidl .txt
+.ovsidl.c:
+       $(PYTHON) $(srcdir)/ovsdb/ovsdb-idlc.in c-idl-source $< > $@.tmp
+       mv $@.tmp $@
+.ovsidl.h:
+       $(PYTHON) $(srcdir)/ovsdb/ovsdb-idlc.in c-idl-header $< > $@.tmp
+       mv $@.tmp $@
+.ovsidl.ovsschema:
+       $(PYTHON) $(srcdir)/ovsdb/ovsdb-idlc.in ovsdb-schema $< > $@.tmp
+       mv $@.tmp $@
+.ovsidl.txt:
+       $(PYTHON) $(srcdir)/ovsdb/ovsdb-idlc.in doc $< | fmt -s > $@.tmp
+       mv $@.tmp $@