Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 39 lines (27 sloc) 0.695 kB
3858d05 @djs55 ocaml: add Makefile
authored
1 .PHONY: all clean install build
2 all: build test doc
3
ed5a689 @djs55 Rename: ocamlfind 'xapi-storage', module 'Storage' submodule 'Control'
authored
4 NAME=xapi-storage
3858d05 @djs55 ocaml: add Makefile
authored
5
6 setup.bin: setup.ml
7 ocamlopt.opt -o $@ $< || ocamlopt -o $@ $< || ocamlc -o $@ $<
8 rm -f setup.cmx setup.cmi setup.o setup.cmo
9
10 setup.data: setup.bin
ed5a689 @djs55 Rename: ocamlfind 'xapi-storage', module 'Storage' submodule 'Control'
authored
11 ./setup.bin -configure --enable-tests
3858d05 @djs55 ocaml: add Makefile
authored
12
13 build: setup.data setup.bin
14 ./setup.bin -build
15
16 doc: setup.data setup.bin
17 ./setup.bin -doc
18
19 install: setup.bin
20 ./setup.bin -install
21
2f727c2 @djs55 Fix 'make uninstall'
authored
22 .PHONY: uninstall
23 uninstall:
24 ocamlfind remove $(NAME) || true
25
3858d05 @djs55 ocaml: add Makefile
authored
26 test: setup.bin build
27 ./setup.bin -test
28
29 fulltest: setup.bin build
30 ./setup.bin -test
31
32 reinstall: setup.bin
33 ocamlfind remove $(NAME) || true
34 ./setup.bin -reinstall
35
36 clean:
37 ocamlbuild -clean
38 rm -f setup.data setup.log setup.bin
Something went wrong with that request. Please try again.