X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fautomake.mk;h=918e4bb42ae5aa6a640cca234a65aaa5aee8e454;hb=f85f8ebbfac946c19b3c6eb0f4170f579d0a4d25;hp=4d2924b6394b4d5f7d06ec7b0f20c56cd6cfc512;hpb=064af42167bf4fc9aaea2702d80ce08074b889c0;p=openvswitch diff --git a/lib/automake.mk b/lib/automake.mk index 4d2924b6..918e4bb4 100644 --- a/lib/automake.mk +++ b/lib/automake.mk @@ -1,10 +1,21 @@ +# Copyright (C) 2009 Nicira Networks, Inc. +# +# Copying and distribution of this file, with or without modification, +# are permitted in any medium without royalty provided the copyright +# notice and this notice are preserved. This file is offered as-is, +# without warranty of any kind. + noinst_LIBRARIES += lib/libopenvswitch.a lib_libopenvswitch_a_SOURCES = \ + lib/aes128.c \ + lib/aes128.h \ lib/backtrace.c \ lib/backtrace.h \ lib/bitmap.c \ lib/bitmap.h \ + lib/byteq.c \ + lib/byteq.h \ lib/cfg.c \ lib/cfg.h \ lib/classifier.c \ @@ -14,7 +25,6 @@ lib_libopenvswitch_a_SOURCES = \ lib/compiler.h \ lib/coverage.c \ lib/coverage.h \ - lib/coverage-counters.c \ lib/coverage-counters.h \ lib/csum.c \ lib/csum.h \ @@ -25,8 +35,12 @@ lib_libopenvswitch_a_SOURCES = \ lib/dhcp.c \ lib/dhcp.h \ lib/dhparams.h \ - lib/dirs.c \ lib/dirs.h \ + lib/dpif-linux.c \ + lib/dpif-netdev.c \ + lib/dpif-provider.h \ + lib/dpif.c \ + lib/dpif.h \ lib/dynamic-string.c \ lib/dynamic-string.h \ lib/fatal-signal.c \ @@ -39,14 +53,22 @@ lib_libopenvswitch_a_SOURCES = \ lib/hash.h \ lib/hmap.c \ lib/hmap.h \ + lib/json.c \ + lib/json.h \ + lib/jsonrpc.c \ + lib/jsonrpc.h \ lib/leak-checker.c \ lib/leak-checker.h \ lib/learning-switch.c \ lib/learning-switch.h \ lib/list.c \ lib/list.h \ + lib/lockfile.c \ + lib/lockfile.h \ lib/mac-learning.c \ lib/mac-learning.h \ + lib/netdev-linux.c \ + lib/netdev-provider.h \ lib/netdev.c \ lib/netdev.h \ lib/odp-util.c \ @@ -55,6 +77,16 @@ lib_libopenvswitch_a_SOURCES = \ lib/ofp-print.h \ lib/ofpbuf.c \ lib/ofpbuf.h \ + lib/ovsdb-client.h \ + lib/ovsdb-data.c \ + lib/ovsdb-data.h \ + lib/ovsdb-error.c \ + lib/ovsdb-error.h \ + lib/ovsdb-parser.c \ + lib/ovsdb-parser.h \ + lib/ovsdb-types.c \ + lib/ovsdb-types.h \ + lib/packets.c \ lib/packets.h \ lib/pcap.c \ lib/pcap.h \ @@ -70,6 +102,8 @@ lib_libopenvswitch_a_SOURCES = \ lib/random.h \ lib/rconn.c \ lib/rconn.h \ + lib/rtnetlink.c \ + lib/rtnetlink.h \ lib/sat-math.h \ lib/sha1.c \ lib/sha1.h \ @@ -79,8 +113,17 @@ lib_libopenvswitch_a_SOURCES = \ lib/signals.h \ lib/socket-util.c \ 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 \ + lib/stream-tcp.c \ + lib/stream-unix.c \ + lib/stream.c \ + lib/stream.h \ lib/svec.c \ lib/svec.h \ lib/tag.c \ @@ -88,8 +131,12 @@ lib_libopenvswitch_a_SOURCES = \ lib/timeval.c \ lib/timeval.h \ lib/type-props.h \ + lib/uuid.c \ + lib/uuid.h \ lib/unixctl.c \ lib/unixctl.h \ + lib/unicode.c \ + lib/unicode.h \ lib/util.c \ lib/util.h \ lib/valgrind.h \ @@ -105,11 +152,13 @@ lib_libopenvswitch_a_SOURCES = \ lib/vlog.c \ lib/vlog.h \ lib/xtoxll.h +nodist_lib_libopenvswitch_a_SOURCES = \ + lib/coverage-counters.c \ + lib/dirs.c +CLEANFILES += $(nodist_lib_libopenvswitch_a_SOURCES) if HAVE_NETLINK lib_libopenvswitch_a_SOURCES += \ - lib/dpif.c \ - lib/dpif.h \ lib/netlink-protocol.h \ lib/netlink.c \ lib/netlink.h @@ -118,7 +167,7 @@ endif if HAVE_OPENSSL lib_libopenvswitch_a_SOURCES += \ lib/vconn-ssl.c -nodist_lib_libopenvswitch_a_SOURCES = lib/dhparams.c +nodist_lib_libopenvswitch_a_SOURCES += lib/dhparams.c lib/dhparams.c: lib/dh1024.pem lib/dh2048.pem lib/dh4096.pem (echo '#include "lib/dhparams.h"' && \ openssl dhparam -C -in $(srcdir)/lib/dh1024.pem -noout && \ @@ -139,10 +188,10 @@ EXTRA_DIST += \ lib/daemon.man \ lib/dpif.man \ lib/leak-checker.man \ + lib/vlog-unixctl.man \ lib/vlog.man -CLEANFILES += lib/dirs.c lib/dirs.c: Makefile ($(ro_c) && \ echo 'const char ovs_pkgdatadir[] = "$(pkgdatadir)";' && \ @@ -158,23 +207,26 @@ install-data-local: # All the source files that have coverage counters. COVERAGE_FILES = \ - lib/cfg.c \ lib/dpif.c \ lib/flow.c \ + lib/lockfile.c \ lib/hmap.c \ lib/mac-learning.c \ lib/netdev.c \ + lib/netdev-linux.c \ lib/netlink.c \ lib/odp-util.c \ lib/poll-loop.c \ lib/process.c \ lib/rconn.c \ + lib/rtnetlink.c \ + lib/stream.c \ lib/timeval.c \ lib/unixctl.c \ lib/util.c \ lib/vconn.c \ - secchan/ofproto.c \ - secchan/pktbuf.c \ + ofproto/ofproto.c \ + ofproto/pktbuf.c \ vswitchd/bridge.c \ vswitchd/mgmt.c \ vswitchd/ovs-brcompatd.c