Implement initial Python bindings for Open vSwitch database.
[sliver-openvswitch.git] / lib / automake.mk
index 71e4d61..efb84c5 100644 (file)
@@ -40,6 +40,8 @@ lib_libopenvswitch_a_SOURCES = \
        lib/dpif.h \
        lib/dynamic-string.c \
        lib/dynamic-string.h \
+       lib/entropy.c \
+       lib/entropy.h \
        lib/fatal-signal.c \
        lib/fatal-signal.h \
        lib/flow.c \
@@ -67,6 +69,8 @@ lib_libopenvswitch_a_SOURCES = \
        lib/netdev.h \
        lib/odp-util.c \
        lib/odp-util.h \
+       lib/ofp-parse.c \
+       lib/ofp-parse.h \
        lib/ofp-print.c \
        lib/ofp-print.h \
        lib/ofp-util.c \
@@ -113,8 +117,6 @@ lib_libopenvswitch_a_SOURCES = \
        lib/socket-util.h \
        lib/sort.c \
        lib/sort.h \
-       lib/stp.c \
-       lib/stp.h \
        lib/stream-fd.c \
        lib/stream-fd.h \
        lib/stream-provider.h \
@@ -166,13 +168,16 @@ lib_libsflow_a_CFLAGS = $(AM_CFLAGS)
 if HAVE_WNO_UNUSED
 lib_libsflow_a_CFLAGS += -Wno-unused
 endif
+if HAVE_WNO_UNUSED_PARAMETER
+lib_libsflow_a_CFLAGS += -Wno-unused-parameter
+endif
 
 if HAVE_NETLINK
 lib_libopenvswitch_a_SOURCES += \
        lib/dpif-linux.c \
-       lib/netdev-gre.c \
        lib/netdev-linux.c \
        lib/netdev-patch.c \
+       lib/netdev-tunnel.c \
        lib/netdev-vport.c \
        lib/netdev-vport.h \
        lib/netlink-protocol.h \
@@ -229,7 +234,8 @@ lib/dirs.c: Makefile
         echo 'const char ovs_bindir[] = "$(bindir)";') > lib/dirs.c.tmp
        mv lib/dirs.c.tmp lib/dirs.c
 
-install-data-local:
+install-data-local: lib-install-data-local
+lib-install-data-local:
        $(MKDIR_P) $(DESTDIR)$(RUNDIR)
        $(MKDIR_P) $(DESTDIR)$(PKIDIR)
        $(MKDIR_P) $(DESTDIR)$(LOGDIR)
@@ -250,6 +256,7 @@ COVERAGE_FILES = \
        lib/rconn.c \
        lib/rtnetlink.c \
        lib/stream.c \
+       lib/stream-ssl.c \
        lib/timeval.c \
        lib/unixctl.c \
        lib/util.c \
@@ -263,30 +270,8 @@ lib/coverage-counters.c: $(COVERAGE_FILES) lib/coverage-scan.pl
        mv $@.tmp $@
 EXTRA_DIST += lib/coverage-scan.pl
 
-
-# Make sure that every vlog module listed in vlog-modules.def is
-# actually used somewhere.
-ALL_LOCAL += check-for-unused-vlog-modules
-check-for-unused-vlog-modules:
-       if test -e $(srcdir)/.git && (git --version) >/dev/null 2>&1; then    \
-         cd $(srcdir);                                                       \
-         decl_vlog=`sed -n 's/^VLOG_MODULE(\([_a-z0-9]\{1,\}\)).*$$/\1/p'    \
-                    lib/vlog-modules.def |                                   \
-                     LC_ALL=C sort -u |                                              \
-                     xargs echo`;                                            \
-         used_vlog=`git grep VLM_ |                                          \
-                    sed -n 's/.*VLM_\([a-z_0-9]\{1,\}\).*/\1/p' |            \
-                    LC_ALL=C sort -u |                                       \
-                     xargs echo`;                                            \
-         rc=0;                                                               \
-         for decl in $$decl_vlog; do                                         \
-            case " $$used_vlog " in                                          \
-             *" $$decl "*) ;;                                                \
-             *) echo "vlog module $$decl is declared in lib/vlog-modules.def \
-but not used by any source file";                                            \
-                 rc=1 ;;                                                     \
-            esac                                                             \
-          done;                                                                      \
-         exit $$rc;                                                          \
-       fi
-.PHONY: check-for-unused-vlog-modules
+ALL_LOCAL += check-vlog-modules
+check-vlog-modules:
+       cd $(srcdir) && build-aux/check-vlog-modules
+.PHONY: check-vlog-modules
+EXTRA_DIST += build-aux/check-vlog-modules