]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/components/content_pres/Makefile
On-going porting to lablgtk3
[helm.git] / matita / components / content_pres / Makefile
index 7501004fbc5f679019691ea2f63fcc25abb89602..1f4ede959fdfff29a0a9aab3121673d5512883a8 100644 (file)
@@ -12,7 +12,6 @@ INTERFACE_FILES =              \
        boxPp.mli                \
        cicNotationPres.mli      \
        content2pres.mli         \
-       sequent2pres.mli         \
        $(NULL)
 IMPLEMENTATION_FILES =          \
        $(INTERFACE_FILES:%.mli=%.ml)
@@ -21,17 +20,10 @@ cicNotationPres.cmi: OCAMLOPTIONS += -rectypes
 cicNotationPres.cmo: OCAMLOPTIONS += -rectypes
 cicNotationPres.cmx: OCAMLOPTIONS += -rectypes
 
-all: test_lexer
-clean: clean_tests
+all:
+clean:
 
 LOCAL_LINKOPTS = -package helm-content_pres -linkpkg
-test: test_lexer
-test_lexer: test_lexer.ml $(PACKAGE).cma
-       @echo "  OCAMLC $<"
-       @$(OCAMLC) $(LOCAL_LINKOPTS) -o $@ $<
-
-clean_tests:
-       rm -f test_lexer{,.opt}
 
 cicNotationLexer.cmo: OCAMLC = $(OCAMLC_P4)
 cicNotationParser.cmo: OCAMLC = $(OCAMLC_P4)
@@ -47,7 +39,7 @@ include ../Makefile.common
 # soon as we have ocaml 3.09 everywhere and "loc" occurrences are replaced by
 # "_loc" occurrences
 UTF8DIR := $(shell $(OCAMLFIND) query helm-syntax_extensions)
-ULEXDIR := $(shell $(OCAMLFIND) query ulex08)
+ULEXDIR := $(shell $(OCAMLFIND) query ulex-camlp5)
 MY_SYNTAXOPTIONS = -pp "camlp5o -I $(UTF8DIR) -I $(ULEXDIR) pa_extend.cmo pa_ulex.cma pa_unicode_macro.cma -loc loc"
 cicNotationLexer.cmo: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)
 cicNotationParser.cmo: SYNTAXOPTIONS = $(MY_SYNTAXOPTIONS)