Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2003-12-02 16:58:37 -0800 (Tue, 02 Dec 2003)
Revision: 296
Log message:

      | Added support for omake commands, and changed the syntax of active rules.
      | The new syntax is like this:
      |
      | %.cmi: %.ml
      |     section rule
      |         if $(BYTE_ENABLED)
      |             %.cmi %.cmo: %.ml
      |                 $(OCAMLC) $(OCAMLCFLAGS) $(OCAMLPPFLAGS) $(OCAMLINCLUDES) -c $<
      |         else
      |             %.cmi %.cmx %$(EXT_OBJ): %.ml
      |                 $(OCAMLOPT) $(OCAMLOPTFLAGS) $(OCAMLPPFLAGS) $(OCAMLINCLUDES) -c $<
      |
      | There is also "section eval" for commands that are omake code.
      |
      | .version.ocaml: $(which $(OCAMLC))
      |     $(OCAMLC) -v > $@
      |     section eval
      |        if $(not $(grep q, 3.06, $@)) then
      |            eprint(You need ocaml version 3.06)
      |            exit 1
      

Changes  Path
+8 -7 omake/OMakeroot.src.in
+99 -117 omake/omake_ast_parse.mly
+2 -9 omake/src/ast/omake_ast.ml
+1 -7 omake/src/ast/omake_ast_print.ml
+27 -23 omake/src/build/omake_build.ml
+3 -3 omake/src/build/omake_build_type.ml
+1 -2 omake/src/build/omake_builtin.ml
+30 -24 omake/src/env/omake_env.ml
+16 -13 omake/src/env/omake_env.mli
+25 -10 omake/src/env/omake_ir_ast.ml
+45 -23 omake/src/eval/omake_eval.ml
+272 -116 omake/src/eval/omake_rule.ml
+6 -4 omake/src/eval/omake_rule.mli
+20 -6 omake/src/exec/omake_exec_local.ml
+5 -5 omake/src/exec/omake_exec_print.ml
+5 -1 omake/src/ir/omake_cache_type.ml
+51 -20 omake/src/ir/omake_command.ml
+3 -2 omake/src/ir/omake_command.mli
+5 -4 omake/src/ir/omake_ir.ml
+15 -7 omake/src/ir/omake_ir_print.ml
+1 -0 omake/src/ir/omake_ir_util.ml