]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/gTopLevel/Makefile
* temporarily removed hbugs dependency
[helm.git] / helm / gTopLevel / Makefile
index 076fef910c0d4fcc4726f376b1c1ce1657e09030..6c2e311d5d8e6350d6c79047d6f753823b03b4eb 100644 (file)
@@ -1,8 +1,9 @@
 BIN_DIR = /usr/local/bin
+#helm-tactics threads hbugs-client mathml-editor
 REQUIRES = lablgtkmathview helm-cic_textual_parser helm-tex_cic_textual_parser \
            helm-cic_proof_checking helm-xml gdome2-xslt helm-cic_unification \
            helm-mathql helm-mathql_interpreter helm-mathql_generator \
-                helm-tactics threads hbugs-client mathml-editor \
+                helm-tactics threads mathml-editor \
            helm-cic_transformations
 PREDICATES = "gnome,init,glade"
 OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)" -pp camlp4o
@@ -17,17 +18,23 @@ LIBRARIES_OPT = $(shell $(OCAMLFIND) query -recursive -predicates "native $(PRED
 all: styles gTopLevel
 opt: styles gTopLevel.opt
 
-DEPOBJS = \
-        proofEngine.ml proofEngine.mli logicalOperations.ml \
-        logicalOperations.mli disambiguate.ml disambiguate.mli termEditor.ml \
-        termEditor.mli texTermEditor.ml texTermEditor.mli xmlDiff.ml \
-        xmlDiff.mli termViewer.ml termViewer.mli invokeTactics.ml \
-        invokeTactics.mli hbugs.ml hbugs.mli gTopLevel.ml
-
-TOPLEVELOBJS = \
-            proofEngine.cmo logicalOperations.cmo \
-       disambiguate.cmo termEditor.cmo texTermEditor.cmo xmlDiff.cmo \
-       termViewer.cmo invokeTactics.cmo hbugs.cmo gTopLevel.cmo
+start:
+       echo $(MAKE) -C ../hbugs/ start
+stop:
+       echo $(MAKE) -C ../hbugs/ stop
+
+# invokeTactics.mli hbugs.mli
+INTERFACE_FILES = \
+       proofEngine.mli logicalOperations.mli disambiguate.mli \
+       termEditor.mli texTermEditor.mli xmlDiff.mli termViewer.mli \
+       invokeTactics.mli
+
+DEPOBJS = $(INTERFACE_FILES) $(INTERFACE_FILES:%.mli=%.ml) gTopLevel.ml
+
+TOPLEVELOBJS = $(INTERFACE_FILES:%.mli=%.cmo) gTopLevel.cmo
+
+$(INTERFACE_FILES:%.mli=%.cmo): $(LIBRARIES)
+$(INTERFACE_FILES:%.mli=%.cmx): $(LIBRARIES_OPT)
 
 styles:
        @echo "***********************************************************************"