1--------------------------------------------------------------------------
2-- Copyright (c) 2007-2009, 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, Universitaetstrasse 6, CH-8092 Zurich. Attn: Systems Group.
8--
9-- Hakefile for lib/bomp
10-- 
11--------------------------------------------------------------------------
12
13[ build library { 
14    target = "bomp_new", 
15    cFiles = concat [ find cInDir dir | dir <- ["."] ], 
16    addLibraries = [ 
17      "bench",        -- for basic benchmarking
18      "numa", -- get topology information
19      "bitmap"
20    ],
21    addIncludes = [
22      "include"
23    ],
24    flounderDefs = [
25        "bomp"
26    ],
27    flounderBindings = [
28        "bomp"
29    ],
30    architectures = [
31      "x86_64", 
32      "k1om"
33    ]
34  }  ,
35  
36  build application {
37    target = "bomp_new_test",
38    cFiles = ["test/test.c"],
39    addCFlags = ["-fopenmp"],
40    addLibraries = ["bomp_new"],
41    architectures = [
42      "x86_64", 
43      "k1om"
44    ]
45  }          
46] 
47
48