X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FgTopLevel%2FMakefile;h=437e41c21f6b49dfa75893ec1e805f9461de0fe4;hb=e7e2a523299d807370b292b44e77f46fad1638c9;hp=e449673058fbdb9d8d9aa028f2e9ff0f2dd6a527;hpb=96134b9ec1030ed15cea00d751dd4d744463f62c;p=helm.git diff --git a/helm/gTopLevel/Makefile b/helm/gTopLevel/Makefile index e44967305..437e41c21 100644 --- a/helm/gTopLevel/Makefile +++ b/helm/gTopLevel/Makefile @@ -2,7 +2,7 @@ BIN_DIR = /usr/local/bin 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 hbugs-client mathml-editor \ helm-cic_transformations PREDICATES = "gnome,init,glade" OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)" -pp camlp4o @@ -11,25 +11,28 @@ OCAMLC = $(OCAMLFIND) ocamlc -thread $(OCAMLOPTIONS) OCAMLOPT = $(OCAMLFIND) ocamlopt -thread $(OCAMLOPTIONS) OCAMLDEP = ocamldep -pp camlp4o -LIBRARIES = $(shell ocamlfind query -recursive -predicates "byte $(PREDICATES)" -format "%d/%a" $(REQUIRES)) -LIBRARIES_OPT = $(shell ocamlfind query -recursive -predicates "native $(PREDICATES)" -format "%d/%a" $(REQUIRES)) +LIBRARIES = $(shell $(OCAMLFIND) query -recursive -predicates "byte $(PREDICATES)" -format "%d/%a" $(REQUIRES)) +LIBRARIES_OPT = $(shell $(OCAMLFIND) query -recursive -predicates "native $(PREDICATES)" -format "%d/%a" $(REQUIRES)) all: styles gTopLevel opt: styles gTopLevel.opt -DEPOBJS = \ - proofEngine.ml proofEngine.mli eta_fixing.ml eta_fixing.mli \ - content2cic.ml content2cic.mli logicalOperations.ml \ - logicalOperations.mli disambiguate.ml disambiguate.mli termEditor.ml \ - termEditor.mli texTermEditor.ml texTermEditor.mli termViewer.ml \ - termViewer.mli invokeTactics.ml invokeTactics.mli hbugs.ml hbugs.mli \ - gTopLevel.ml +start: + $(MAKE) -C ../hbugs/ start +stop: + $(MAKE) -C ../hbugs/ stop -TOPLEVELOBJS = \ - eta_fixing.cmo content2cic.cmo \ - proofEngine.cmo logicalOperations.cmo \ - disambiguate.cmo termEditor.cmo texTermEditor.cmo termViewer.cmo \ - invokeTactics.cmo hbugs.cmo gTopLevel.cmo +INTERFACE_FILES = \ + proofEngine.mli logicalOperations.mli disambiguate.mli \ + termEditor.mli texTermEditor.mli xmlDiff.mli termViewer.mli \ + invokeTactics.mli hbugs.mli ui_logger.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 "***********************************************************************" @@ -74,11 +77,3 @@ uninstall: ifneq ($(MAKECMDGOALS), depend) include .depend endif - - - - - - - -