1--------------------------------------------------------------------------
2-- Copyright (c) 2007-2012, 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, CAB F.78, Universitaetstrasse 6, CH-8092 Zurich,
8-- Attn: Systems Group.
9--
10-- Hakefile for if/
11--
12--------------------------------------------------------------------------
13
14let
15    ifs = map takeBaseName $ find inDir "." ".if"
16in
17[ flounderGenIfTypes (options arch) ifs | arch <- allArchitectures ] ++
18-- whereas these are using the new-style bindings
19[ flounderGenDefs (options arch) f | f <- ifs, arch <- allArchitectures ] ++
20-- these are for THC stubs
21[ flounderTHCFile (options arch) f
22      | f <- [ "ata_rw28",
23               "bench",
24               "mem",
25               "octopus",
26               "omap_sdma",
27               "ping_pong",
28               "xmplthc",
29               "ddomain",
30               "dcontrol" ],
31             arch <- allArchitectures
32]
33