]> matita.cs.unibo.it Git - helm.git/blob - helm/ocaml/paramodulation/Makefile
moved term indexing (in both discrimination and path tree forms) from paramodulation...
[helm.git] / helm / ocaml / paramodulation / Makefile
1 PACKAGE = paramodulation
2
3 INTERFACE_FILES = \
4         utils.mli \
5         inference.mli\
6         equality_indexing.mli
7
8 IMPLEMENTATION_FILES = $(INTERFACE_FILES:%.mli=%.ml) \
9         indexing.ml \
10         saturation.ml 
11
12 include ../Makefile.common
13
14 paramodulation.cmo: $(IMPLEMENTATION_FILES:%.ml=%.cmo)
15         $(OCAMLC) -pack -o $@ $(IMPLEMENTATION_FILES:%.ml=%.cmo)
16
17 paramodulation.cmx: $(IMPLEMENTATION_FILES:%.ml=%.cmx)
18         $(OCAMLOPT) -pack -o $@ $(IMPLEMENTATION_FILES:%.ml=%.cmx)
19
20
21 $(ARCHIVE): paramodulation.cmo $(LIBRARIES)
22         $(OCAMLC) $(OCAMLARCHIVEOPTIONS) -a -o $@ \
23                 paramodulation.cmo
24
25 $(ARCHIVE_OPT): paramodulation.cmx $(LIBRARIES_OPT)
26         $(OCAMLOPT) $(OCAMLARCHIVEOPTIONS) -a -o $@ \
27                 paramodulation.cmx
28
29 PARAMOD_OBJS = $(IMPLEMENTATION_FILES:%.ml=%.cmo)
30 PARAMOD_OBJS_OPT = $(IMPLEMENTATION_FILES:%.ml=%.cmx)
31
32 LOCALLINKOPTS = -package helm-cic_disambiguation,helm-content_pres,helm-grafite,helm-grafite_parser
33 saturate: saturate_main.ml $(PARAMOD_OBJS) $(LIBRARIES)
34         $(OCAMLC) $(LOCALLINKOPTS) -thread -linkpkg -o $@ $(PARAMOD_OBJS) $<
35 saturate.opt: saturate_main.ml $(PARAMOD_OBJS_OPT) $(LIBRARIES)
36         $(OCAMLOPT) $(LOCALLINKOPTS) -thread -linkpkg -o $@ $(PARAMOD_OBJS_OPT) $<