Commit d0376109 authored by bguillaum's avatar bguillaum

remove checker (now integrated in other files)


git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/semagramme/libcaml-grew/trunk@6692 7838e531-6607-4d57-9587-6c381814729c
parent 82c97dcc
...@@ -13,10 +13,10 @@ PARSER_CMI = $(PARSER_DEP:%=%.cmi) ...@@ -13,10 +13,10 @@ PARSER_CMI = $(PARSER_DEP:%=%.cmi)
PARSER_CMO = $(PARSER_DEP:%=%.cmo) PARSER_CMO = $(PARSER_DEP:%=%.cmo)
PARSER_CMX = $(PARSER_DEP:%=%.cmx) PARSER_CMX = $(PARSER_DEP:%=%.cmx)
.PHONY: parser HTMLer checker .PHONY: parser HTMLer
all: utils.cmx ast.cmx parser checker HTMLer grew test all: utils.cmx ast.cmx parser HTMLer grew test
byte: utils.cmo ast.cmo parser.byte checker.byte HTMLer.byte grew.byte test.byte byte: utils.cmo ast.cmo parser.byte HTMLer.byte grew.byte test.byte
include ../config/Makefile include ../config/Makefile
...@@ -25,24 +25,24 @@ include ../config/Makefile ...@@ -25,24 +25,24 @@ include ../config/Makefile
#executables #executables
grew.byte: $(FILES_CMO) parser/parser_global.cmo parser_byte parser/grew_parser.cmo checker/checker.cmo HTMLer/HTMLer.cmo grew.ml grew.byte: $(FILES_CMO) parser/parser_global.cmo parser_byte parser/grew_parser.cmo HTMLer/HTMLer.cmo grew.ml
ocamlc $(BYTE_FLAGS) -o grew.byte $(ANSITERMINAL_BYTE) $(LOG_BYTE) \ ocamlc $(BYTE_FLAGS) -o grew.byte $(ANSITERMINAL_BYTE) $(LOG_BYTE) \
$(FILES_CMO) -I parser $(PARSER_CMO) -I HTMLer HTMLer.cmo -I checker checker.cmo \ $(FILES_CMO) -I parser $(PARSER_CMO) -I HTMLer HTMLer.cmo \
grew.ml grew.ml
grew: $(FILES_CMX) parser/parser_global.cmx parser_opt parser/grew_parser.cmx checker/checker.cmx HTMLer/HTMLer.cmx grew.ml grew: $(FILES_CMX) parser/parser_global.cmx parser_opt parser/grew_parser.cmx HTMLer/HTMLer.cmx grew.ml
ocamlopt $(OPT_FLAGS) -o grew str.cmxa unix.cmxa $(ANSITERMINAL_OPT) $(LOG_OPT) \ ocamlopt $(OPT_FLAGS) -o grew str.cmxa unix.cmxa $(ANSITERMINAL_OPT) $(LOG_OPT) \
$(FILES_CMX) -I parser $(PARSER_CMX) -I HTMLer HTMLer.cmx -I checker checker.cmx \ $(FILES_CMX) -I parser $(PARSER_CMX) -I HTMLer HTMLer.cmx \
grew.ml grew.ml
test.byte: parser/parser_global.cmo parser_byte parser/grew_parser.cmo checker/checker.cmo HTMLer/HTMLer.cmo $(FILES_CMO) $(FILES_CMI) test.ml test.byte: parser/parser_global.cmo parser_byte parser/grew_parser.cmo HTMLer/HTMLer.cmo $(FILES_CMO) $(FILES_CMI) test.ml
ocamlc $(BYTE_FLAGS) -o test.byte $(ANSITERMINAL_BYTE) $(LOG_BYTE) \ ocamlc $(BYTE_FLAGS) -o test.byte $(ANSITERMINAL_BYTE) $(LOG_BYTE) \
$(FILES_CMO) -I parser $(PARSER_CMO) -I HTMLer HTMLer.cmo -I checker checker.cmo \ $(FILES_CMO) -I parser $(PARSER_CMO) -I HTMLer HTMLer.cmo \
test.ml test.ml
test: parser/parser_global.cmx parser_opt parser/grew_parser.cmx checker/checker.cmx HTMLer/HTMLer.cmx $(FILES_CMX) $(FILES_CMI) test.ml test: parser/parser_global.cmx parser_opt parser/grew_parser.cmx HTMLer/HTMLer.cmx $(FILES_CMX) $(FILES_CMI) test.ml
ocamlopt $(OPT_FLAGS) -o test str.cmxa unix.cmxa $(ANSITERMINAL_OPT) $(LOG_OPT) \ ocamlopt $(OPT_FLAGS) -o test str.cmxa unix.cmxa $(ANSITERMINAL_OPT) $(LOG_OPT) \
$(FILES_CMX) -I parser $(PARSER_CMX) -I HTMLer HTMLer.cmx -I checker checker.cmx \ $(FILES_CMX) -I parser $(PARSER_CMX) -I HTMLer HTMLer.cmx \
test.ml test.ml
#parser #parser
...@@ -52,13 +52,6 @@ parser_opt: ...@@ -52,13 +52,6 @@ parser_opt:
parser_byte: parser_byte:
@make -C parser byte @make -C parser byte
#checker
checker_opt:
@make -C checker
checker_byte:
@make -C checker byte
#HTMLer #HTMLer
HTMLer_opt: HTMLer_opt:
@make -C HTMLer @make -C HTMLer
...@@ -82,29 +75,29 @@ libgrew.mli : grew_types.mli ...@@ -82,29 +75,29 @@ libgrew.mli : grew_types.mli
echo "" >> libgrew.mli echo "" >> libgrew.mli
cat libgrew_.mli >> libgrew.mli cat libgrew_.mli >> libgrew.mli
libgrew.cma : $(FILES_CMO) parser_byte checker_byte HTMLer_byte libgrew.mli libgrew.ml libgrew.cma : $(FILES_CMO) parser_byte HTMLer_byte libgrew.mli libgrew.ml
rm libgrew.mli rm libgrew.mli
@make libgrew.mli @make libgrew.mli
ifeq (@DEP2PICT@,no) ifeq (@DEP2PICT@,no)
ocamlc -c -pp 'camlp4o pa_macro.cmo' $(BYPE_FLAGS) $(FILES_CMO) str.cma -I parser $(PARSER_CMO) -I HTMLer HTMLer.cmo -I checker checker.cmo libgrew.mli ocamlc -c -pp 'camlp4o pa_macro.cmo' $(BYPE_FLAGS) $(FILES_CMO) str.cma -I parser $(PARSER_CMO) -I HTMLer HTMLer.cmo libgrew.mli
ocamlc -a -o libgrew.cma $(BYPE_FLAGS) -pp 'camlp4o pa_macro.cmo -DDATA_DIR=\"$(DATA_DIR)\"' -linkall $(FILES_CMO) -I parser $(PARSER_CMO) -I HTMLer HTMLer.cmo -I checker checker.cmo libgrew.ml ocamlc -a -o libgrew.cma $(BYPE_FLAGS) -pp 'camlp4o pa_macro.cmo -DDATA_DIR=\"$(DATA_DIR)\"' -linkall $(FILES_CMO) -I parser $(PARSER_CMO) -I HTMLer HTMLer.cmo libgrew.ml
else else
ocamlc -c -pp 'camlp4o pa_macro.cmo -DDEP2PICT' $(FILES_CMO) str.cma -I parser $(PARSER_CMO) -I HTMLer HTMLer.cmo -I checker checker.cmo libgrew.mli ocamlc -c -pp 'camlp4o pa_macro.cmo -DDEP2PICT' $(FILES_CMO) str.cma -I parser $(PARSER_CMO) -I HTMLer HTMLer.cmo libgrew.mli
ocamlc -a -o libgrew.cma -pp 'camlp4o pa_macro.cmo -DDATA_DIR=\"$(DATA_DIR)\" -DDEP2PICT' -linkall $(FILES_CMO) -I parser $(PARSER_CMO) -I HTMLer HTMLer.cmo -I checker checker.cmo libgrew.ml ocamlc -a -o libgrew.cma -pp 'camlp4o pa_macro.cmo -DDATA_DIR=\"$(DATA_DIR)\" -DDEP2PICT' -linkall $(FILES_CMO) -I parser $(PARSER_CMO) -I HTMLer HTMLer.cmo libgrew.ml
endif endif
libgrew.cmxa : $(FILES_CMX) parser_opt checker_opt HTMLer_opt libgrew.mli libgrew.ml libgrew.cmxa : $(FILES_CMX) parser_opt HTMLer_opt libgrew.mli libgrew.ml
rm libgrew.mli rm libgrew.mli
@make libgrew.mli @make libgrew.mli
ifeq (@DEP2PICT@,no) ifeq (@DEP2PICT@,no)
ocamlopt -c -pp 'camlp4o pa_macro.cmo' $(OPT_FLAGS) $(FILES_CMX) str.cmxa -I parser $(PARSER_CMX) -I HTMLer HTMLer.cmx -I checker checker.cmx libgrew.mli ocamlopt -c -pp 'camlp4o pa_macro.cmo' $(OPT_FLAGS) $(FILES_CMX) str.cmxa -I parser $(PARSER_CMX) -I HTMLer HTMLer.cmx libgrew.mli
ocamlopt -a -o libgrew.cmxa $(OPT_FLAGS) -pp 'camlp4o pa_macro.cmo -DDATA_DIR=\"$(DATA_DIR)\"' -linkall $(FILES_CMX) -I parser $(PARSER_CMX) -I HTMLer HTMLer.cmx -I checker checker.cmx libgrew.ml ocamlopt -a -o libgrew.cmxa $(OPT_FLAGS) -pp 'camlp4o pa_macro.cmo -DDATA_DIR=\"$(DATA_DIR)\"' -linkall $(FILES_CMX) -I parser $(PARSER_CMX) -I HTMLer HTMLer.cmx libgrew.ml
else else
ocamlopt -c -pp 'camlp4o pa_macro.cmo -DDEP2PICT' $(FILES_CMX) str.cmxa -I parser $(PARSER_CMX) -I HTMLer HTMLer.cmx -I checker checker.cmx libgrew.mli ocamlopt -c -pp 'camlp4o pa_macro.cmo -DDEP2PICT' $(FILES_CMX) str.cmxa -I parser $(PARSER_CMX) -I HTMLer HTMLer.cmx libgrew.mli
ocamlopt -a -o libgrew.cmxa -pp 'camlp4o pa_macro.cmo -DDATA_DIR=\"$(DATA_DIR)\" -DDEP2PICT' -linkall $(FILES_CMX) -I parser $(PARSER_CMX) -I HTMLer HTMLer.cmx -I checker checker.cmx libgrew.ml ocamlopt -a -o libgrew.cmxa -pp 'camlp4o pa_macro.cmo -DDATA_DIR=\"$(DATA_DIR)\" -DDEP2PICT' -linkall $(FILES_CMX) -I parser $(PARSER_CMX) -I HTMLer HTMLer.cmx libgrew.ml
endif endif
DEPENDS_DIR= -I parser -I checker -I HTMLer DEPENDS_DIR= -I parser -I HTMLer
###### grew_core.ml ############################################################## ###### grew_core.ml ##############################################################
GREW_CORE_DEP = grew_types GREW_CORE_DEP = grew_types
...@@ -323,7 +316,6 @@ dep: ...@@ -323,7 +316,6 @@ dep:
clean: clean:
@make -C checker cleanup
@make -C HTMLer cleanup @make -C HTMLer cleanup
@make -C parser clean @make -C parser clean
rm -rf *.cmi *.cmo *.cmxa *.cma *.cmx *.o *.annot rm -rf *.cmi *.cmo *.cmxa *.cma *.cmx *.o *.annot
...@@ -332,7 +324,6 @@ clean: ...@@ -332,7 +324,6 @@ clean:
rm -f *.nf *.png *.html rm -f *.nf *.png *.html
purge_makefile: purge_makefile:
@make -C checker purge
@make -C HTMLer purge @make -C HTMLer purge
@make -C parser purge @make -C parser purge
@make purge @make purge
......
all: checker.cmx
byte: checker.cmo
include ../../config/Makefile
checker.cmx: checker.ml ../ast.cmx
ocamlopt -c $(OPT_FLAGS) -I .. ast.cmx checker.ml
checker.cmo: checker.ml ../ast.cmo
ocamlc -c $(BYTE_FLAGS) -I .. ast.cmo checker.ml
This diff is collapsed.
...@@ -5,7 +5,6 @@ open Log ...@@ -5,7 +5,6 @@ open Log
open Utils open Utils
open Grew_parser open Grew_parser
open Checker
open Grs open Grs
open Graph open Graph
open Rule open Rule
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment