1 --------------------------------------------------------------------------
2 -- Copyright (c) 2007-2012, ETH Zurich.
3 -- All rights reserved.
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, Haldeneggsteig 4, CH-8092 Zurich. Attn: Systems Group.
9 -- Hakefile for /lib/net
11 --------------------------------------------------------------------------
15 cFiles = [ "net.c", "netbufs.c", "netif.c", "pbuf.c", "dhcp.c",
16 "net_filter.c", "arp.c", "net_queue.c"],
17 flounderBindings = [ "net_filter", "net_ARP"],
18 flounderDefs = [ "net_filter", "octopus", "net_ARP" ],
19 flounderExtraDefs = [ ("net_filter",["rpcclient"]) ],
20 addLibraries = libDeps [ "lwip2", "devif", "devif_backend_idc",
21 "devif_backend_solarflare", "devif_backend_e10k",
22 "devif_backend_loopback", "devif_backend_e1000", "debug_log",
23 "octopus", "octopus_parser" ]
27 target = "net_udp_echo",
28 cFiles = [ "test/udp_echo.c" ],
29 addLibraries = libDeps [ "net", "lwip2" ]
34 cFiles = [ "test/ping.c" ],
35 addLibraries = libDeps [ "net", "lwip2" ]
40 cFiles = [ "test/udp_ping.c" ],
41 addLibraries = libDeps [ "net", "lwip2" ]
45 cFiles = [ "test/dhcp.c" ],
46 addLibraries = libDeps [ "net", "lwip2" ]
50 cFiles = [ "test/arp.c" ],
51 addLibraries = libDeps [ "net", "lwip2" ]