forked from xapi-project/xen-api
/
OMakefile
25 lines (19 loc) · 1002 Bytes
/
OMakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
OCAML_LIBS = ../fhs ../util/version ../idl/ocaml_backend/common ../idl/ocaml_backend/client
OCAMLINCLUDES = ../idl/ocaml_backend ../xapi ../idl ../autogen ../client_records ..
OCAMLPACKS = xml-light2 stdext stunnel http-svr log rpc-light
PERFTEST_FILES = scenario perfutil createVM createpool testtypes perftest tests ../xapi/xapi_inventory perfdebug
OCamlProgram(perftest, $(PERFTEST_FILES))
OCamlDocProgram(perftest, $(PERFTEST_FILES))
OCamlProgram(apiperf, perfutil apiperf ../fhs)
OCamlProgram(histogram, statistics histogram gnuplot testtypes perfdebug graphutil)
OCamlProgram(cumulative_time, cumulative_time gnuplot testtypes perfdebug graphutil)
section
OCAML_LIBS += ../idl/ocaml_backend/server
OCamlProgram(xmlrpcserver, xmlrpcserver)
.PHONY: clean
clean:
rm -f *.cmi *.cmx *.cmo *.a *.cma *.cmxa *.run *.opt *.annot *.o histogram cumulative_time perftest
.PHONY: install
install:
mkdir -p $(DESTDIR)$(OPTDIR)/debug
$(IPROG) perftest $(DESTDIR)$(OPTDIR)/debug