@@ -28,6 +28,12 @@ INCLUDES= -I +compiler-libs -I stubs -I ext -I common -I syntax -I depends -I co
28
28
.mll.ml :
29
29
$(OCAMLLEX ) $< -o $@ || (rm $@ && exit 2)
30
30
31
+ ext/string_hash_set.ml : ext/hash_set.cppo.ml
32
+ cppo -D TYPE_STRING $< -o $@
33
+ ext/int_hash_set.ml : ext/hash_set.cppo.ml
34
+ cppo -D TYPE_INT $< -o $@
35
+ ext/ident_hash_set.ml : ext/hash_set.cppo.ml
36
+ cppo -D TYPE_IDENT $< -o $@
31
37
32
38
# # Stubs
33
39
.c.o :
@@ -64,6 +70,7 @@ common/bs_version.ml: build_version.js ../package.json
64
70
65
71
66
72
# ## list files
73
+ STUB_SRCS = bs_hash_stubs
67
74
OUNIT_SRCS = oUnit oUnitDiff oUnitLogger oUnitTypes oUnitUtils oUnitChooser
68
75
OUNIT_CMXS = $(addprefix ounit/, $(addsuffix .cmx, $(OUNIT_SRCS ) ) )
69
76
OUNIT_TESTS_SRCS = ounit_tests_util ounit_array_tests ounit_list_test ounit_bal_tree_tests ounit_path_tests ounit_union_find_tests ounit_hash_set_tests ounit_scc_tests ounit_json_tests ounit_vec_test ounit_tests_main
@@ -82,11 +89,13 @@ EXT_SRCS = ext_util\
82
89
ext_list ext_map \
83
90
ext_marshal ext_option \
84
91
ext_pervasives ext_pp ext_ref ext_sys \
85
- hash_set_gen hash_set string_hash_set int_hash_set ordered_hash_set ordered_hash_map union_find \
92
+ hash_set_gen hash_set string_hash_set int_hash_set \
93
+ ordered_hash_set ordered_hash_map union_find \
86
94
ident_set int_map literals string_map \
87
95
string_set ext_scc ext_pp_scope\
88
96
ext_io\
89
97
ext_ident\
98
+ ident_hash_set\
90
99
ident_hashtbl\
91
100
int_hashtbl\
92
101
ext_filename
@@ -163,7 +172,28 @@ bin/jsgen.exe:ext.cmxa jsgen_main.cmx
163
172
164
173
165
174
depend :
166
- $(CAMLDEP ) -native -I stubs -I ext -I common -I syntax -I depends -I core -I ounit -I ounit_tests -I bsb stubs/* .ml stubs/* .mli ext/* .ml ext/* .mli common/* .ml common/* .mli syntax/* .ml syntax/* .mli * .ml * .mli depends/* .ml depends/* .mli core/* .ml core/* .mli bsb/* .ml bsb/* .mli ounit/* .mli ounit/* .ml ounit_tests/* .ml ounit_tests/* .mli > all.depend
175
+ $(CAMLDEP ) -native -I stubs -I ext -I common -I syntax -I depends -I core -I ounit -I ounit_tests -I bsb \
176
+ $(addprefix stubs/, $(addsuffix .ml, $(STUB_SRCS ) ) ) \
177
+ $(addprefix stubs/, $(addsuffix .mli, $(STUB_SRCS ) ) ) \
178
+ $(addprefix ext/, $(addsuffix .ml, $(EXT_SRCS ) ) ) \
179
+ $(addprefix ext/, $(addsuffix .mli, $(EXT_SRCS ) ) ) \
180
+ $(addprefix common/, $(addsuffix .ml, $(COMMON_SRCS ) ) ) \
181
+ $(addprefix common/, $(addsuffix .mli, $(COMMON_SRCS ) ) ) \
182
+ $(addprefix syntax/, $(addsuffix .ml, $(SYNTAX_SRCS ) ) ) \
183
+ $(addprefix syntax/, $(addsuffix .mli, $(SYNTAX_SRCS ) ) ) \
184
+ $(addprefix depends/, $(addsuffix .mli, $(DEPENDS_SRCS ) ) ) \
185
+ $(addprefix depends/, $(addsuffix .ml, $(DEPENDS_SRCS ) ) ) \
186
+ $(addprefix core/, $(addsuffix .mli, $(CORE_SRCS ) ) ) \
187
+ $(addprefix core/, $(addsuffix .ml, $(CORE_SRCS ) ) ) \
188
+ $(addprefix core/, $(addsuffix .mli, $(OTHER_CORE_SRCS ) ) ) \
189
+ $(addprefix core/, $(addsuffix .ml, $(OTHER_CORE_SRCS ) ) ) \
190
+ $(addprefix ounit/, $(addsuffix .mli, $(OUNIT_SRCS ) ) ) \
191
+ $(addprefix ounit/, $(addsuffix .ml, $(OUNIT_SRCS ) ) ) \
192
+ $(addprefix ounit_tests/, $(addsuffix .mli, $(OUNIT_TESTS_SRCS ) ) ) \
193
+ $(addprefix ounit_tests/, $(addsuffix .ml, $(OUNIT_TESTS_SRCS ) ) ) \
194
+ bsb/* .ml bsb/* .mli * .ml * .mli > all.depend
195
+ # $(addprefix bsb/, $(addsuffix .mli, $(BSB_SRCS))) \
196
+ # $(addprefix bsb/, $(addsuffix .ml, $(BSB_SRCS))) \
167
197
168
198
169
199
0 commit comments