X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fautomake.mk;h=740f33f5b2a07c74d68ddf0a490fb5dce590eeee;hb=df67d7ae92f98e18d2478162fc7850b11530f0c0;hp=1d404c2c2eb39fa257d093d57e36dd5bbbc8e4fb;hpb=0d085684619be0baef309957a3d7410a23cb5f27;p=sliver-openvswitch.git diff --git a/lib/automake.mk b/lib/automake.mk index 1d404c2c2..740f33f5b 100644 --- a/lib/automake.mk +++ b/lib/automake.mk @@ -79,6 +79,8 @@ lib_libopenvswitch_a_SOURCES = \ lib/lockfile.h \ lib/mac-learning.c \ lib/mac-learning.h \ + lib/match.c \ + lib/match.h \ lib/memory.c \ lib/memory.h \ lib/meta-flow.c \ @@ -96,8 +98,12 @@ lib_libopenvswitch_a_SOURCES = \ lib/nx-match.h \ lib/odp-util.c \ lib/odp-util.h \ + lib/ofp-actions.c \ + lib/ofp-actions.h \ lib/ofp-errors.c \ lib/ofp-errors.h \ + lib/ofp-msgs.c \ + lib/ofp-msgs.h \ lib/ofp-parse.c \ lib/ofp-parse.h \ lib/ofp-print.c \ @@ -105,6 +111,8 @@ lib_libopenvswitch_a_SOURCES = \ lib/ofp-util.c \ lib/ofp-util.def \ lib/ofp-util.h \ + lib/ofp-version-opt.h \ + lib/ofp-version-opt.c \ lib/ofpbuf.c \ lib/ofpbuf.h \ lib/ovsdb-data.c \ @@ -141,6 +149,8 @@ lib_libopenvswitch_a_SOURCES = \ lib/simap.h \ lib/signals.c \ lib/signals.h \ + lib/smap.c \ + lib/smap.h \ lib/socket-util.c \ lib/socket-util.h \ lib/sort.c \ @@ -171,6 +181,8 @@ lib_libopenvswitch_a_SOURCES = \ lib/timer.h \ lib/timeval.c \ lib/timeval.h \ + lib/token-bucket.c \ + lib/token-bucket.h \ lib/type-props.h \ lib/unaligned.h \ lib/unicode.c \ @@ -193,7 +205,9 @@ lib_libopenvswitch_a_SOURCES = \ lib/vlog.c \ lib/vlog.h \ lib/vswitch-idl.c \ - lib/vswitch-idl.h + lib/vswitch-idl.h \ + lib/worker.c \ + lib/worker.h nodist_lib_libopenvswitch_a_SOURCES = \ lib/dirs.c @@ -215,7 +229,7 @@ if HAVE_WNO_UNUSED_PARAMETER lib_libsflow_a_CFLAGS += -Wno-unused-parameter endif -if HAVE_NETLINK +if LINUX_DATAPATH lib_libopenvswitch_a_SOURCES += \ lib/dpif-linux.c \ lib/dpif-linux.h \ @@ -234,6 +248,19 @@ lib_libopenvswitch_a_SOURCES += \ lib/route-table.h endif +if ESX +lib_libopenvswitch_a_SOURCES += \ + lib/route-table-stub.c +endif + +if HAVE_IF_DL +lib_libopenvswitch_a_SOURCES += \ + lib/netdev-bsd.c \ + lib/rtbsd.c \ + lib/rtbsd.h \ + lib/route-table-bsd.c +endif + if HAVE_OPENSSL lib_libopenvswitch_a_SOURCES += lib/stream-ssl.c nodist_lib_libopenvswitch_a_SOURCES += lib/dhparams.c @@ -261,6 +288,8 @@ MAN_FRAGMENTS += \ lib/daemon.man \ lib/daemon-syn.man \ lib/leak-checker.man \ + lib/memory-unixctl.man \ + lib/ofp-version.man \ lib/ovs.tmac \ lib/ssl-bootstrap.man \ lib/ssl-bootstrap-syn.man \ @@ -279,14 +308,16 @@ MAN_FRAGMENTS += \ # vswitch IDL OVSIDL_BUILT += \ - lib/vswitch-idl.c \ - lib/vswitch-idl.h \ - lib/vswitch-idl.ovsidl + $(srcdir)/lib/vswitch-idl.c \ + $(srcdir)/lib/vswitch-idl.h \ + $(srcdir)/lib/vswitch-idl.ovsidl -EXTRA_DIST += lib/vswitch-idl.ann -VSWITCH_IDL_FILES = vswitchd/vswitch.ovsschema lib/vswitch-idl.ann -lib/vswitch-idl.ovsidl: $(VSWITCH_IDL_FILES) - $(OVSDB_IDLC) -C $(srcdir) annotate $(VSWITCH_IDL_FILES) > $@.tmp +EXTRA_DIST += $(srcdir)/lib/vswitch-idl.ann +VSWITCH_IDL_FILES = \ + $(srcdir)/vswitchd/vswitch.ovsschema \ + $(srcdir)/lib/vswitch-idl.ann +$(srcdir)/lib/vswitch-idl.ovsidl: $(VSWITCH_IDL_FILES) + $(OVSDB_IDLC) annotate $(VSWITCH_IDL_FILES) > $@.tmp mv $@.tmp $@ lib/dirs.c: lib/dirs.c.in Makefile @@ -294,6 +325,7 @@ lib/dirs.c: lib/dirs.c.in Makefile -e 's,[@]srcdir[@],$(srcdir),g' \ -e 's,[@]LOGDIR[@],"$(LOGDIR)",g' \ -e 's,[@]RUNDIR[@],"$(RUNDIR)",g' \ + -e 's,[@]DBDIR[@],"$(DBDIR)",g' \ -e 's,[@]bindir[@],"$(bindir)",g' \ -e 's,[@]sysconfdir[@],"$(sysconfdir)",g' \ -e 's,[@]pkgdatadir[@],"$(pkgdatadir)",g') \ @@ -307,11 +339,19 @@ $(srcdir)/lib/ofp-errors.inc: \ $(srcdir)/lib/ofp-errors.c: $(srcdir)/lib/ofp-errors.inc EXTRA_DIST += build-aux/extract-ofp-errors lib/ofp-errors.inc +$(srcdir)/lib/ofp-msgs.inc: \ + lib/ofp-msgs.h $(srcdir)/build-aux/extract-ofp-msgs + $(run_python) $(srcdir)/build-aux/extract-ofp-msgs \ + $(srcdir)/lib/ofp-msgs.h $@ > $@.tmp && mv $@.tmp $@ +$(srcdir)/lib/ofp-msgs.c: $(srcdir)/lib/ofp-msgs.inc +EXTRA_DIST += build-aux/extract-ofp-msgs lib/ofp-msgs.inc + INSTALL_DATA_LOCAL += lib-install-data-local lib-install-data-local: $(MKDIR_P) $(DESTDIR)$(RUNDIR) $(MKDIR_P) $(DESTDIR)$(PKIDIR) $(MKDIR_P) $(DESTDIR)$(LOGDIR) + $(MKDIR_P) $(DESTDIR)$(DBDIR) if !USE_LINKER_SECTIONS # All distributed sources, with names adjust properly for referencing