-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathdune
84 lines (76 loc) · 1.66 KB
/
dune
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
(library
(name yaml_c)
(public_name yaml.c)
(preprocess no_preprocessing)
(flags
(:standard -safe-string))
(foreign_archives yaml_c_stubs))
(rule
(targets libyaml_c_stubs%{ext_lib} dllyaml_c_stubs%{ext_dll})
(deps api%{ext_obj} emitter%{ext_obj} loader%{ext_obj} parser%{ext_obj}
reader%{ext_obj} scanner%{ext_obj} writer%{ext_obj})
(action
(run ocamlmklib -o yaml_c_stubs %{deps})))
(rule
(targets api%{ext_obj})
(deps
(:c api.c)
yaml.h
config.h
yaml_private.h)
(action
(run %{cc} %{read-lines:../config/cflags} -Wall -DHAVE_CONFIG_H -I. -c %{c})))
(rule
(targets emitter%{ext_obj})
(deps
(:c emitter.c)
yaml.h
config.h
yaml_private.h)
(action
(run %{cc} %{read-lines:../config/cflags} -Wall -DHAVE_CONFIG_H -I. -c %{c})))
(rule
(targets loader%{ext_obj})
(deps
(:c loader.c)
yaml.h
config.h
yaml_private.h)
(action
(run %{cc} %{read-lines:../config/cflags} -Wall -DHAVE_CONFIG_H -I. -c %{c})))
(rule
(targets parser%{ext_obj})
(deps
(:c parser.c)
yaml.h
config.h
yaml_private.h)
(action
(run %{cc} %{read-lines:../config/cflags} -Wall -DHAVE_CONFIG_H -I. -c %{c})))
(rule
(targets reader%{ext_obj})
(deps
(:c reader.c)
yaml.h
config.h
yaml_private.h)
(action
(run %{cc} %{read-lines:../config/cflags} -Wall -DHAVE_CONFIG_H -I. -c %{c})))
(rule
(targets scanner%{ext_obj})
(deps
(:c scanner.c)
yaml.h
config.h
yaml_private.h)
(action
(run %{cc} %{read-lines:../config/cflags} -Wall -DHAVE_CONFIG_H -I. -c %{c})))
(rule
(targets writer%{ext_obj})
(deps
(:c writer.c)
yaml.h
config.h
yaml_private.h)
(action
(run %{cc} %{read-lines:../config/cflags} -Wall -DHAVE_CONFIG_H -I. -c %{c})))