Fixed bug in the Glossary Haskell source (don't close stdout!).
[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", "monitor_blocking", "mem", "spawn" ],
18                       flounderExtraBindings = [ ("mem", ["rpcclient"]), 
19                                                 ("spawn", ["rpcclient"]),
20                                                 ("monitor_blocking", ["rpcclient"])],
21                       addLibraries = [ "mm", "trace", "skb", "dist" ]
22                     },
23 -- hybrid thc
24   build application { target = "mem_serv_dist",
25                       cFiles = [ "mem_serv.c", "steal.c", "hybrid_support.c", "skb.c", "args.c", "memtest_trace.c" ],
26                       flounderDefs = [ "monitor", "monitor_blocking", "mem", "spawn" ],
27                       flounderTHCStubs = [ "mem" ],
28                       flounderExtraBindings = [ ("mem", ["rpcclient"]),
29                                                 ("spawn", ["rpcclient"]), 
30                                                 ("monitor_blocking", ["rpcclient"])],
31                       addLibraries = [ "mm", "trace", "skb", "dist", "thc" ],
32                       architectures = [ "x86_64", "x86_32", "scc", "beehive" ]
33                     },
34
35 -- fully thc
36   build application { target = "mem_serv_dist_thc",
37                       cFiles = [ "mem_serv.c", "steal.c", "thc_support.c", "skb.c", "args.c", "memtest_trace.c" ],
38                       flounderDefs = [ "monitor", "monitor_blocking", "mem", "spawn" ],
39                       flounderTHCStubs = [ "mem" ],
40                       flounderExtraBindings = [ ("mem", ["rpcclient"]),
41                                                 ("spawn", ["rpcclient"]),
42                                                 ("monitor_blocking", ["rpcclient"])],
43                       addLibraries = [ "mm", "trace", "skb", "dist", "thc" ],
44                       architectures = [ "x86_64", "x86_32", "scc", "beehive" ]
45                     },
46   build application { target = "mem_bench",
47                       cFiles = [ "mem_bench.c", "memtest_trace.c" ],
48                       addLibraries = [ "trace" ]
49                     },          
50   build application { target = "mem_bench_2",
51                       cFiles = [ "mem_bench_2.c", "memtest_trace.c" ],
52                       addLibraries = [ "trace" ]
53                     },          
54   build application { target = "mem_bench_3",
55                       cFiles = [ "mem_bench_3.c", "sleep.c", "memtest_trace.c" ],
56                       addLibraries = [ "trace", "bench" ]
57                     },
58   build application { target = "mem_bench_4",
59                       cFiles = [ "mem_bench_4.c", "sleep.c", "memtest_trace.c" ],
60                       addLibraries = [ "trace", "bench" ]
61                     },
62   build application { target = "mem_bench_5",
63                       cFiles = [ "mem_bench_5.c", "sleep.c", "memtest_trace.c" ],
64                       addLibraries = [ "trace", "bench" ]
65                     },
66   build application { target = "mem_bench_6",
67                       cFiles = [ "mem_bench_6.c", "sleep.c", "memtest_trace.c" ],
68                       addLibraries = [ "trace", "bench" ]
69                     }
70 ]