net: enabling DHCP
[barrelfish] / lib / posixcompat / Hakefile
1 --------------------------------------------------------------------------
2 -- Copyright (c) 2007-2009, 2011, 2012, 2013, 2014, 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, Universitaetstr. 6, CH-8092 Zurich,
8 -- Attn: Systems Group.
9 --
10 -- Hakefile for lib/posixcompat
11 --
12 --------------------------------------------------------------------------
13
14 let cFiles = [ "access.c",
15                "alarm.c",
16                "basename.c",
17                "chdir.c",
18                "chmod.c",
19                "chroot.c",
20                "close.c",
21                "creat.c",
22                "dirent.c",
23                "dirname.c",
24                "dlfcn.c",
25                "dup.c",
26                "_exit.c",
27                "fcntl.c",
28                "fstat.c",
29                "fsync.c",
30                "ftruncate.c",
31                "getcwd.c",
32                "geteuid.c",
33                "getgroups.c",
34                "gethostid.c",
35                "gethostname.c",
36                "getpid.c",
37                "getpwent.c",
38                "grp.c",
39                "inheritance.c",
40                "getpagesize.c",
41                "ioctl.c",
42                "isatty.c",
43                "kill.c",
44                "link.c",
45                "lseek.c",
46                "mmap.c",
47                "mkdir.c",
48                "open.c",
49                "pipe.c",
50                "popen.c",
51                "pty.c",
52                "random.c",
53                "read.c",
54                "readlink.c",
55                "readv.c",
56                "remove.c",
57                "rename.c",
58                "rmdir.c",
59                "sbrk.c",
60                "select.c",
61                "semaphore.c",
62                "setitimer.c",
63                "setsid.c",
64                "shm.c",
65                "signal.c",
66                "sockets.c",
67                "stat.c",
68                "sysconf.c",
69                "termios.c",
70                "time.c",
71                "timegm.c",
72                "ttyname.c",
73                "umask.c",
74                "unlink.c",
75                "utime.c",
76                "wait.c",
77                "write.c",
78                "mkfifo.c",
79                "setrlimit.c",
80                "pthreads.c",
81                "sleep.c",
82                "epoll.c",
83                "poll.c",
84                "inet_ntop.c",
85                "inet_pton.c",
86                "syslog.c",
87                "uname.c" ]
88 in
89 [ build library {
90         target = "posixcompat",
91         cFiles = cFiles,
92         flounderDefs = [ "unixsock", "octopus", "monitor", "terminal", "terminal_config", "terminal_session" ],
93         flounderBindings = [ "unixsock", "octopus" ],
94         flounderExtraBindings = [ ("octopus", [ "rpcclient" ]) ],
95         flounderTHCStubs = [ "octopus" ],
96         addLibraries = libDeps [ "vfs_nonfs",  "term_server", "octopus", "lwip" ],
97         architectures = [ "x86_64" ]
98     },
99     build library {
100         target = "posixcompat",
101         cFiles = cFiles,
102         flounderDefs = [ "unixsock", "octopus", "monitor", "terminal", "terminal_config", "terminal_session" ],
103         flounderBindings = [ "unixsock", "octopus" ],
104         flounderExtraBindings = [ ("octopus", [ "rpcclient" ]) ],
105         flounderTHCStubs = [ "octopus" ],
106         addLibraries = libDeps [ "vfs_ramfs",  "term_server", "octopus", "lwip" ],
107         architectures = [ "x86_32", "k1om", "armv7", "armv8" ]
108     }
109 ]