459da2d7c6c04eb82d5e6cf27718973506f25c1d
[barrelfish] / usr / mem_serv_dist / Hakefile
1 --------------------------------------------------------------------------
2 -- Copyright (c) 2007-2011, 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/mem_serv_dist
10 --
11 --------------------------------------------------------------------------
12
13 [
14 -- no stealing
15   build application { target = "mem_serv_dist_ns",
16                       cFiles = [ "mem_serv.c", "no_steal.c", "hybrid_support.c", "skb.c", "args.c", "memtest_trace.c" ],
17                       flounderDefs = [ "monitor", "mem" ],
18                       flounderExtraBindings = [ ("mem", ["rpcclient"]) ],
19                       addLibraries = [ "mm", "trace", "skb", "dist" ]
20                     },
21 -- hybrid thc
22   build application { target = "mem_serv_dist",
23                       cFiles = [ "mem_serv.c", "steal.c", "hybrid_support.c", "skb.c", "args.c", "memtest_trace.c" ],
24                       flounderDefs = [ "monitor", "mem" ],
25                       flounderTHCStubs = [ "mem" ],
26                       flounderExtraBindings = [ ("mem", ["rpcclient"]) ],
27                       addLibraries = [ "mm", "trace", "skb", "dist", "thc" ],
28                       architectures = [ "x86_64", "x86_32", "scc", "beehive" ]
29                     },
30
31 -- fully thc
32   build application { target = "mem_serv_dist_thc",
33                       cFiles = [ "mem_serv.c", "steal.c", "thc_support.c", "skb.c", "args.c", "memtest_trace.c" ],
34                       flounderDefs = [ "monitor", "mem" ],
35                       flounderTHCStubs = [ "mem" ],
36                       flounderExtraBindings = [ ("mem", ["rpcclient"]) ],
37                       addLibraries = [ "mm", "trace", "skb", "dist", "thc" ],
38                       architectures = [ "x86_64", "x86_32", "scc", "beehive" ]
39                     },
40   build application { target = "mem_bench",
41                       cFiles = [ "mem_bench.c", "memtest_trace.c" ],
42                       addLibraries = [ "trace" ]
43                     },          
44   build application { target = "mem_bench_2",
45                       cFiles = [ "mem_bench_2.c", "memtest_trace.c" ],
46                       addLibraries = [ "trace" ]
47                     },          
48   build application { target = "mem_bench_3",
49                       cFiles = [ "mem_bench_3.c", "sleep.c", "memtest_trace.c" ],
50                       addLibraries = [ "trace", "bench" ]
51                     },
52   build application { target = "mem_bench_4",
53                       cFiles = [ "mem_bench_4.c", "sleep.c", "memtest_trace.c" ],
54                       addLibraries = [ "trace", "bench" ]
55                     },
56   build application { target = "mem_bench_5",
57                       cFiles = [ "mem_bench_5.c", "sleep.c", "memtest_trace.c" ],
58                       addLibraries = [ "trace", "bench" ]
59                     },
60   build application { target = "mem_bench_6",
61                       cFiles = [ "mem_bench_6.c", "sleep.c", "memtest_trace.c" ],
62                       addLibraries = [ "trace", "bench" ]
63                     }
64 ]