X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fautomake.mk;h=f18df91743e9a3127a0b46a7e91960d582acd0bc;hb=279fb135892ad0cf2764a220ed8f660dee97c608;hp=73234bd03e2406cc692f89d8d3fd1271d6ef92a7;hpb=ec68790f6d522aae2a3d5d97f1974915a76e23cf;p=sliver-openvswitch.git diff --git a/lib/automake.mk b/lib/automake.mk index 73234bd03..f18df9174 100644 --- a/lib/automake.mk +++ b/lib/automake.mk @@ -10,6 +10,7 @@ noinst_LIBRARIES += lib/libopenvswitch.a lib_libopenvswitch_a_SOURCES = \ lib/aes128.c \ lib/aes128.h \ + lib/async-append.h \ lib/backtrace.c \ lib/backtrace.h \ lib/bfd.c \ @@ -71,6 +72,8 @@ lib_libopenvswitch_a_SOURCES = \ lib/jsonrpc.h \ lib/lacp.c \ lib/lacp.h \ + lib/latch.c \ + lib/latch.h \ lib/learn.c \ lib/learn.h \ lib/learning-switch.c \ @@ -121,6 +124,13 @@ lib_libopenvswitch_a_SOURCES = \ lib/ofp-version-opt.c \ lib/ofpbuf.c \ lib/ofpbuf.h \ + lib/ovs-atomic-c11.h \ + lib/ovs-atomic-gcc4+.c \ + lib/ovs-atomic-gcc4+.h \ + lib/ovs-atomic-gcc4.7+.h \ + lib/ovs-atomic-pthreads.c \ + lib/ovs-atomic-pthreads.h \ + lib/ovs-atomic.h \ lib/ovs-thread.c \ lib/ovs-thread.h \ lib/ovsdb-data.c \ @@ -175,8 +185,6 @@ lib_libopenvswitch_a_SOURCES = \ lib/stream-unix.c \ lib/stream.c \ lib/stream.h \ - lib/stress.c \ - lib/stress.h \ lib/string.c \ lib/string.h \ lib/svec.c \ @@ -213,9 +221,7 @@ lib_libopenvswitch_a_SOURCES = \ lib/vlog.c \ lib/vlog.h \ lib/vswitch-idl.c \ - lib/vswitch-idl.h \ - lib/worker.c \ - lib/worker.h + lib/vswitch-idl.h nodist_lib_libopenvswitch_a_SOURCES = \ lib/dirs.c @@ -254,6 +260,12 @@ lib_libopenvswitch_a_SOURCES += \ lib/route-table.h endif +if HAVE_POSIX_AIO +lib_libopenvswitch_a_SOURCES += lib/async-append-aio.c +else +lib_libopenvswitch_a_SOURCES += lib/async-append-sync.c +endif + if ESX lib_libopenvswitch_a_SOURCES += \ lib/route-table-stub.c @@ -301,7 +313,6 @@ MAN_FRAGMENTS += \ lib/ssl-peer-ca-cert.man \ lib/ssl.man \ lib/ssl-syn.man \ - lib/stress-unixctl.man \ lib/table.man \ lib/unixctl.man \ lib/unixctl-syn.man \ @@ -378,11 +389,6 @@ lib/coverage.def: $(DIST_SOURCES) sed -n 's|^COVERAGE_DEFINE(\([_a-zA-Z0-9]\{1,\}\)).*$$|COVERAGE_COUNTER(\1)|p' $(all_sources) | LC_ALL=C sort -u > $@ CLEANFILES += lib/coverage.def -lib/stress.$(OBJEXT): lib/stress.def -lib/stress.def: $(DIST_SOURCES) - sed -n '/^STRESS_OPTION(/,/);$$/{s/);$$/)/;p}' $(all_sources) > $@ -CLEANFILES += lib/stress.def - lib/vlog.$(OBJEXT): lib/vlog-modules.def lib/vlog-modules.def: $(DIST_SOURCES) sed -n 's|^VLOG_DEFINE_\(THIS_\)\{0,1\}MODULE(\([_a-zA-Z0-9]\{1,\}\)).*$$|VLOG_MODULE(\2)|p' $(all_sources) | LC_ALL=C sort -u > $@