1-------------------------------------------------------------------------- 2-- Copyright (c) 2017, 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, Universitaetstr. 6, CH-8092 Zurich. Attn: Systems Group. 8-- 9-- Hakefile for libm 10-- 11-------------------------------------------------------------------------- 12 13[ 14 build library { 15 target = "libc_inet", 16 cFiles = concat [ find cInDir "." ], 17 addIncludes = [ "../include", "../locale" ] ++ (case arch of 18 "x86_32" -> [ "../x86" ] 19 "x86_64" -> [ "../amd64" ] 20 "k1om" -> [ "../amd64" ] 21 "armv7" -> [ "../arm" ] 22 "armv8" -> [ "../aarch64" ]), 23 omitCFlags = [ "-std=c99", "-Wmissing-prototypes", "-Wmissing-declarations", "-Wimplicit-function-declaration", "-Werror" ], 24 architectures = [ arch ] 25 } | arch <- allArchitectures 26] 27