1
2--------------------------------------------------------------------------
3-- Copyright (c) 2007-2012, ETH Zurich.
4-- All rights reserved.
5--
6-- This file is distributed under the terms in the attached LICENSE file.
7-- If you do not find this file, copies can be found by writing to:
8-- ETH Zurich D-INFK, Haldeneggsteig 4, CH-8092 Zurich. Attn: Systems Group.
9--
10-- Hakefile for lib/ahci
11-- 
12--------------------------------------------------------------------------
13
14[ build library { target = "ahci",
15                      cFiles = [ "ahci.c", "ahci_util.c", "sata_fis.c", "ahci_dma_pool.c" ],
16                      flounderDefs = [ "ata_rw28" ],
17                      flounderBindings = [ "ahci_mgmt", "ata_rw28" ],
18                      flounderExtraBindings = [ ("ahci_mgmt", ["rpcclient"]),
19                                                ("ata_rw28", ["ahci", "rpcclient"]) ],
20                      mackerelDevices = [ "ata_identify", "ahci_port", "ahci_hba" ],
21                      addLibraries = [ ]
22                },
23  build library { target = "ahci_vsic",
24                      cFiles = [ "ahci.c", "ahci_util.c", "sata_fis.c", "ahci_dma_pool.c", "storage_vsic.c" ],
25                      flounderDefs = [ "ata_rw28" ],
26                      flounderBindings = [ "ahci_mgmt", "ata_rw28" ],
27                      flounderExtraBindings = [ ("ahci_mgmt", ["rpcclient"]),
28                                                ("ata_rw28", ["ahci", "rpcclient"]) ],
29                      mackerelDevices = [ "ata_identify", "ahci_port", "ahci_hba" ],
30                      addLibraries = [ ]
31                }
32]
33