42a99fa9d229f9570110e4879a3441081a47b838
[barrelfish] / usr / drivers / e10k / Hakefile
1 --------------------------------------------------------------------------
2 -- Copyright (c) 2007-2011, 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, Haldeneggsteig 4, CH-8092 Zurich. Attn: Systems Group.
8 --
9 -- Hakefile for /usr/drivers/e10k
10 --
11 --------------------------------------------------------------------------
12
13 [ build application { target = "e10k_queue",
14                       cFiles = [ "e10k_qdriver.c", "helper.c"],
15                       flounderBindings = [ "net_queue_manager", "net_soft_filters", "e10k"  ],
16                       mackerelDevices = [ "e10k", "e10k_q" ],
17                       addLibraries = libDeps [ "netQmng", "trace", "skb",
18                                                "pci" ]
19                     },
20
21   build application { target = "e10k_monolithic",
22                       cFiles = [ "e10k_cdriver.c", "e10k_phy.c", "sleep.c",
23                                  "e10k_qdriver.c", "helper.c"],
24                       flounderBindings = [ "net_queue_manager",
25                                            "net_soft_filters",
26                                            "e10k", "e10k_vf" ],
27                       flounderDefs = [ "e10k_vf" ],
28                       mackerelDevices = [ "e10k", "e10k_q" ],
29                       addLibraries = libDeps [ "netQmng", "pci", "contmng",
30                                                "net_device_manager", "bench",
31                                                "trace", "skb" ]
32                     },
33   
34   build library { target = "e10k",
35                       cFiles = [ "e10k_cdriver.c", "e10k_phy.c", "sleep.c",
36                                  "e10k_qdriver.c", "helper.c"],
37                       mackerelDevices = [ "e10k", "e10k_q" ],
38                       flounderBindings = [ "e10k", "e10k_vf" ],
39                       flounderDefs = [ "e10k_vf" ],
40                       addLibraries = libDeps [ "pci", "bench", "trace", "skb" ],
41                       addCFlags = [ "-DLIBRARY" ]
42                     },
43
44   build library { target = "e10k_vf",
45                       cFiles = [ "e10k_vf.c", "e10k_phy.c", "sleep.c",
46                                  "e10k_qdriver.c", "helper.c"],
47                       mackerelDevices = [ "e10k", "e10k_q", "e10k_vf" ],
48                       flounderBindings = [ "e10k_vf" ],
49                       flounderExtraBindings = [ ("e10k_vf", ["rpcclient"]) ],
50                       flounderDefs = [ "e10k_vf" ],
51                       flounderExtraDefs = [ ("e10k_vf",["rpcclient"]) ],
52                       addLibraries = libDeps [ "pci", "bench", "trace", "skb" ],
53                       addCFlags = [ "-DLIBRARY", "-DVF" ]
54                     },
55
56   build application { target = "e10k_vf",
57                       cFiles = [ "e10k_vf.c", "e10k_phy.c", "sleep.c",
58                                  "e10k_qdriver.c", "helper.c"],
59                       flounderBindings = [ "net_queue_manager",
60                                            "net_soft_filters",
61                                            "e10k", "e10k_vf" ],
62                       flounderExtraBindings = [ ("e10k_vf", ["rpcclient"]) ],
63                       flounderDefs = [ "e10k_vf" ],
64                       flounderExtraDefs = [ ("e10k_vf",["rpcclient"]) ],
65                       mackerelDevices = [ "e10k", "e10k_q", "e10k_vf" ],
66                       addLibraries = libDeps [ "netQmng", "pci", "contmng",
67                                                "net_device_manager", "bench",
68                                                "trace", "skb" ],
69                       addCFlags = [ "-DVF" ]
70                     },
71
72   build application { target = "e10k",
73                       cFiles = [ "e10k_cdriver.c", "e10k_phy.c", "sleep.c",
74                                  "helper.c"],
75                       flounderBindings = [ "net_queue_manager", "net_soft_filters", "e10k", "e10k_vf" ],
76                       flounderDefs = [ "e10k_vf" ],
77                       --flounderBindings = [ "e10k"],
78                       mackerelDevices = [ "e10k" ],
79                       addLibraries = [ "pci", "contmng", "net_device_manager",
80                                        "bench", "trace", "skb" ]
81                     },
82
83   build application { target = "e10k_queue_elb",
84                       cFiles = [ "e10k_qdriver.c", "helper.c" ],
85                       flounderBindings = [ "net_queue_manager", "net_soft_filters", "e10k" ],
86                       --flounderBindings = [ "e10k" ],
87                       mackerelDevices = [ "e10k", "e10k_q" ],
88                       addLibraries = libDeps ["ethernet_latency_benchmark", "bench",
89                                               "trace", "skb", "pci" ] },
90
91   build application { target = "e10k_mono_elb",
92                       cFiles = [ "e10k_cdriver.c", "e10k_phy.c", "sleep.c",
93                                  "e10k_qdriver.c", "helper.c"],
94                       flounderBindings = [ "net_queue_manager", "net_soft_filters", "e10k" ],
95                       --flounderBindings = [ "net_queue_manager", "e10k" ],
96                       mackerelDevices = [ "e10k", "e10k_q" ],
97                       addLibraries = libDeps [ "ethernet_latency_benchmark",
98                                                "pci", "contmng", "trace",
99                                                "net_device_manager", "bench",
100                                                "skb", "pci" ]
101                     },
102
103   build application { target = "e10k_queue_tlb",
104                       cFiles = [ "e10k_qdriver.c", "helper.c"],
105                       flounderBindings = [ "net_queue_manager", "net_soft_filters", "e10k" ],
106                       --flounderBindings = [ "e10k" ],
107                       mackerelDevices = [ "e10k", "e10k_q" ],
108                       addLibraries = [ "tcp_latency_benchmark", "trace", "bench",
109                                        "lwip", "skb", "pci" ]
110                     }
111
112 ]
113