Commit a566f901 authored by Pietro Abate's avatar Pietro Abate
Browse files

[r2004-01-20 23:14:08 by afrisch] Commit excessif

Original author: afrisch
Date: 2004-01-20 23:14:08+00:00
parent e93a9f84
......@@ -123,7 +123,7 @@ help:
# Source directories
DIRS = misc parser schema typing types compile runtime driver query ocaml_iface
DIRS = misc parser schema typing types compile runtime driver query
CLEAN_DIRS = $(DIRS) tools tests
# Objects to build
......@@ -165,8 +165,6 @@ OBJECTS = \
CQL_OBJECTS= query/query.cmo query/query_parse.cmo
CQL_OBJECTS_RUN = query/query_run.cmo
OCAML_IFACE_OBJECTS = $(OBJECTS) ocaml_iface/cduce_from_ocaml.cmo
VALIDATE_OBJECTS := $(shell for o in $(OBJECTS); do echo $$o; if [ "$$o" = "schema/schema_parser.cmo" ]; then exit 0; fi; done) # all objects until schema_parser.cmo
CDUCE = $(OBJECTS) $(CQL_OBJECTS) driver/run.cmo $(CQL_OBJECTS_RUN)
......@@ -186,17 +184,10 @@ INCLUDES = $(DIRS:%=-I %)
cduce: $(CDUCE:.cmo=.$(EXTENSION))
$(LINK) $(INCLUDES) -o $@ $^ $(EXTRA_LINK_OPTS)
cduce_from_ocaml.cma: $(OCAML_IFACE_OBJECTS)
$(CAMLC) -o cduce_from_ocaml_pack.cmo -pack $(OCAML_IFACE_OBJECTS)
$(CAMLC) -a -o cduce_from_ocaml.cma -linkpkg gramlib.cma camlp4o.cma cduce_from_ocaml_pack.cmo
cDuce_all.cma: $(OBJECTS)
$(CAMLC) -o cDuce_all.cmo -pack $(OBJECTS)
$(CAMLC) -a -o cDuce_all.cma -linkpkg gramlib.cma cDuce_all.cmo
#run_ocaml_cduce_packed: cduce_packed.cma
# ocaml cduce_packed.cma
webiface: $(WEBIFACE:.cmo=.$(EXTENSION))
$(LINK) -verbose $(INCLUDES) -o $@ $^ -ccopt -static
# webiface is made static to be able to move it more easily
......
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