1--------------------------------------------------------------------------
2-- Copyright (c) 2012, 2013, 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/term
11--
12--------------------------------------------------------------------------
13
14[
15    build library { target = "term_server",
16                    cFiles = [ "server/server.c" ],
17                    flounderBindings = [ "terminal",
18                                         "terminal_config",
19                                         "terminal_session" ],
20                    flounderDefs = [ "monitor" ],
21                    addLibraries = [ "collections" ]
22                  },
23
24    build library { target = "term_client",
25                    cFiles = [ "client/client.c",
26                               "client/client_blocking.c",
27                               "client/default_filters.c",
28                               "client/default_triggers.c",
29                               "client/filter.c",
30                               "client/session.c",
31                               "client/trigger.c" ],
32                    addIncludes = [ "client/" ],
33                    flounderBindings = [ "terminal",
34                                         "terminal_config",
35                                         "terminal_session" ],
36                    flounderExtraBindings = [ ( "octopus", [ "rpcclient" ] ) ],
37                    flounderDefs = [ "monitor", "octopus", "terminal_config" ]
38                  }
39]
40