Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: f8dc2211c1
Fetching contributors…

Cannot retrieve contributors at this time

76 lines (57 sloc) 1.624 kb
OCPBUILD ?= ./_obuild/unixrun ./boot/ocp-build.boot
WGET ?= wget
TARGET = ocp-get ocp-get-server
.PHONY: all
all: ./_obuild/unixrun compile clone link
@
scan: ./_obuild/unixrun
$(OCPBUILD) -scan
sanitize: ./_obuild/unixrun
$(OCPBUILD) -sanitize
byte: ./_obuild/unixrun
$(OCPBUILD) -byte
opt: ./_obuild/unixrun
$(OCPBUILD) -asm
./_obuild/unixrun:
mkdir -p ./_obuild
ocamlc -o ./_obuild/unixrun -make-runtime unix.cma
link: ocp-get ocp-get-server
@
ocp-get:
ln -s _obuild/ocp-get/ocp-get.asm ocp-get
ocp-get-server:
ln -s _obuild/ocp-get-server/ocp-get-server.asm ocp-get-server
compile: ./_obuild/unixrun clone
$(OCPBUILD) -init -scan -sanitize $(TARGET)
clone: cudf extlib ocaml-re ocamlgraph dose
cudf:
git clone git://scm.gforge.inria.fr/mancoosi-tools/cudf.git
extlib:
$(WGET) http://ocaml-extlib.googlecode.com/files/extlib-1.5.2.tar.gz
tar xfvz extlib-1.5.2.tar.gz
mv extlib-1.5.2 extlib
dose:
git clone git://scm.gforge.inria.fr/mancoosi-tools/dose.git
# ocaml-pcre:
# $(WGET) http://hg.ocaml.info/release/pcre-ocaml/archive/release-6.2.5.tar.gz
# tar xfvz release-6.2.5.tar.gz
# mv pcre-ocaml-release-6.2.5 ocaml-pcre
ocamlgraph:
$(WGET) http://ocamlgraph.lri.fr/download/ocamlgraph-1.8.1.tar.gz
tar xvfz ocamlgraph-1.8.1.tar.gz
mv ocamlgraph-1.8.1 ocamlgraph
clean:
$(OCPBUILD) -clean
rm -rf src/*.annot bat/*.annot
rm -f ocp-get ocp-get-server
ocaml-re:
git clone https://github.com/avsm/ocaml-re
distclean:
rm -f *.tar.gz
rm -rf dose cudf extlib ocaml-pcre ocamlgraph
rm -rf _obuild
.PHONY: tests
tests:
make -C tests
tests-runserver:
make -C tests runserver
Jump to Line
Something went wrong with that request. Please try again.