1--------------------------------------------------------------------------
2-- Copyright (c) 2013, ETH Zurich.
3-- All rights reserved.
4--
5-- This file is distributed under the terms in the attached LICENSE file.
6-- If you do not find this file, copies can be found by writing to:
7-- ETH Zurich D-INFK, Universitaetstr. 6, CH-8092 Zurich. Attn: Systems Group.
8--
9-- Hakefile for lib/bulk_transfer
10--
11--
12--------------------------------------------------------------------------
13
14[
15    build library {
16        target = "bulk_transfer",
17        cFiles = [ "bulk_allocator.c",
18                   "bulk_transfer.c",
19                   "bulk_buffer.c",
20                   "bulk_channel.c",
21                   "bulk_endpoint.c",
22                   "control_channel.c",
23                   "bulk_pool.c",
24                   "backends/sm/flounder_helpers.c",
25                   "backends/sm/ws_helpers.c",
26                   "backends/sm/endpoint.c",
27                   "backends/sm/channel.c",
28                   "backends/sm/pool.c",
29                   "backends/sm/buffers.c",
30                   "backends/sm/pending_msg.c",
31                   "backends/net/bulk_net_endpoint.c",
32                   "backends/net/bulk_net_e10k.c",
33                   "backends/net/bulk_net_transfer.c",
34                   "backends/net/bulk_net_proxy.c",
35                   "backends/net/bulk_net_transparent.c",
36                   "backends/net/bulk_net_no_copy.c",
37                   "backends/net/stack_allocator.c",
38                   "backends/local/control_channel.c"
39                 ],
40        flounderDefs = [ "bulk_ctrl" ],
41        flounderBindings = [ "bulk_ctrl", "net_ports", "net_ARP", "e10k" ],
42        flounderExtraBindings = [ ("net_ports", ["rpcclient"]),
43            ("net_ARP", ["rpcclient"]) ],
44        mackerelDevices = [ "e10k", "e10k_q" ],
45        addLibraries = [ "pci", "lwip" ]
46    }
47]
48