Dan Willemsen | 5b6ed49 | 2018-11-19 17:33:03 -0800 | [diff] [blame] | 1 | cc_library_shared { |
2 | name: "libdaemon", | ||||
3 | |||||
4 | srcs: [ | ||||
5 | "libdaemon/dexec.c", | ||||
6 | "libdaemon/dfork.c", | ||||
7 | "libdaemon/dlog.c", | ||||
8 | "libdaemon/dnonblock.c", | ||||
9 | "libdaemon/dpid.c", | ||||
10 | "libdaemon/dsignal.c", | ||||
11 | ], | ||||
12 | |||||
13 | export_include_dirs: ["."], | ||||
14 | |||||
15 | cflags: [ | ||||
16 | "-Wall", | ||||
17 | "-Werror", | ||||
18 | "-Wno-error=user-defined-warnings", | ||||
19 | "-Wno-unused-parameter", | ||||
20 | "-DHAVE_CONFIG_H", | ||||
21 | "-DLOCALSTATEDIR=\"/var\"", | ||||
22 | ], | ||||
23 | } |