Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 70 lines (62 sloc) 1.609 kb
bd0bea8 @rokstrnisa Moved the main RRD monitoring function from monitor_rrds to rrdd_moni…
rokstrnisa authored
1 OCAMLINCLUDES = \
2 $(ROOT)/ocaml \
3 $(ROOT)/ocaml/autogen \
4 $(ROOT)/ocaml/idl \
5 $(ROOT)/ocaml/idl/ocaml_backend \
b1af83a @rokstrnisa Moved monitor.ml into rrdd_main.ml, and xapi_ha_stats into rrdd, maki…
rokstrnisa authored
6 $(ROOT)/ocaml/network \
bd0bea8 @rokstrnisa Moved the main RRD monitoring function from monitor_rrds to rrdd_moni…
rokstrnisa authored
7 $(ROOT)/ocaml/util \
8 $(ROOT)/ocaml/xapi \
b1af83a @rokstrnisa Moved monitor.ml into rrdd_main.ml, and xapi_ha_stats into rrdd, maki…
rokstrnisa authored
9 $(ROOT)/ocaml/xenops \
bd0bea8 @rokstrnisa Moved the main RRD monitoring function from monitor_rrds to rrdd_moni…
rokstrnisa authored
10 interface
7ed664c @rokstrnisa Removed more dependencies between xapi and rrdd.
rokstrnisa authored
11 # ocaml/xapi only needed for xapi_fist : should move xapi_first to libs
f092bd3 @rokstrnisa rrdd now reads directly from xenstore.
rokstrnisa authored
12 OCAMLPACKS = xml-light2 stunnel http-svr xenctrl xenctrlext xenstore
bd0bea8 @rokstrnisa Moved the main RRD monitoring function from monitor_rrds to rrdd_moni…
rokstrnisa authored
13 OCAML_LIBS = $(ROOT)/ocaml/fhs ../idl/ocaml_backend/xapi_client
b1af83a @rokstrnisa Moved monitor.ml into rrdd_main.ml, and xapi_ha_stats into rrdd, maki…
rokstrnisa authored
14 # ../xenops/xenops_client
c85c324 @rokstrnisa Started creating the RRD daemon (rrdd).
rokstrnisa authored
15
16 UseCamlp4(rpc-light.syntax, rrdd_server)
17
b11e834 @rokstrnisa Renamed executable from rrdd_server to xcp-rrdd.
rokstrnisa authored
18 RRDD = xcp-rrdd
19 RRDD_FILES = \
8d5a6c4 @rokstrnisa CP-3598: Use pool_role_shared in rrdd instead of relying on xapi.
rokstrnisa authored
20 ../pool_role_shared \
b1af83a @rokstrnisa Moved monitor.ml into rrdd_main.ml, and xapi_ha_stats into rrdd, maki…
rokstrnisa authored
21 ../network/network_interface \
22 ../network/network_monitor \
17e0edd @rokstrnisa rrdd: Now parsing /etc/xcp-rrdd.conf.
rokstrnisa authored
23 ../util/config_shared \
b1af83a @rokstrnisa Moved monitor.ml into rrdd_main.ml, and xapi_ha_stats into rrdd, maki…
rokstrnisa authored
24 ../util/stats \
bd0bea8 @rokstrnisa Moved the main RRD monitoring function from monitor_rrds to rrdd_moni…
rokstrnisa authored
25 ../xapi/xapi_fist \
b1af83a @rokstrnisa Moved monitor.ml into rrdd_main.ml, and xapi_ha_stats into rrdd, maki…
rokstrnisa authored
26 ../xenops/device_number \
bd0bea8 @rokstrnisa Moved the main RRD monitoring function from monitor_rrds to rrdd_moni…
rokstrnisa authored
27 interface/ds \
28 interface/data_source \
29 interface/rrd \
b1af83a @rokstrnisa Moved monitor.ml into rrdd_main.ml, and xapi_ha_stats into rrdd, maki…
rokstrnisa authored
30 interface/rrdd_common \
31 interface/rrdd_fake_common \
bd0bea8 @rokstrnisa Moved the main RRD monitoring function from monitor_rrds to rrdd_moni…
rokstrnisa authored
32 interface/rrdd_interface \
33 interface/monitor_types \
b1af83a @rokstrnisa Moved monitor.ml into rrdd_main.ml, and xapi_ha_stats into rrdd, maki…
rokstrnisa authored
34 rrdd_fake \
bd0bea8 @rokstrnisa Moved the main RRD monitoring function from monitor_rrds to rrdd_moni…
rokstrnisa authored
35 rrdd_shared \
b1af83a @rokstrnisa Moved monitor.ml into rrdd_main.ml, and xapi_ha_stats into rrdd, maki…
rokstrnisa authored
36 rrdd_ha_stats \
bd0bea8 @rokstrnisa Moved the main RRD monitoring function from monitor_rrds to rrdd_moni…
rokstrnisa authored
37 rrdd_http_handler \
38 rrdd_server \
39 rrdd_monitor \
9dff163 @rokstrnisa Implemented easy monitoring of stats for multiple programs.
rokstrnisa authored
40 rrdd_stats \
bd0bea8 @rokstrnisa Moved the main RRD monitoring function from monitor_rrds to rrdd_moni…
rokstrnisa authored
41 rrdd_main
c85c324 @rokstrnisa Started creating the RRD daemon (rrdd).
rokstrnisa authored
42 RRDD_TEST = rrdd_test
b1af83a @rokstrnisa Moved monitor.ml into rrdd_main.ml, and xapi_ha_stats into rrdd, maki…
rokstrnisa authored
43 RRDD_TEST_FILES = \
44 interface/rrd \
45 interface/rrdd_interface \
46 interface/data_source \
47 rrdd_test
bf246f2 @rokstrnisa Moved the rrdd interface into its own directory for better code isola…
rokstrnisa authored
48
49 .SUBDIRS: interface
c85c324 @rokstrnisa Started creating the RRD daemon (rrdd).
rokstrnisa authored
50
b11e834 @rokstrnisa Renamed executable from rrdd_server to xcp-rrdd.
rokstrnisa authored
51 OCamlProgram($(RRDD), $(RRDD_FILES))
52 OCamlDocProgram($(RRDD), $(RRDD_FILES))
c85c324 @rokstrnisa Started creating the RRD daemon (rrdd).
rokstrnisa authored
53 OCamlProgram($(RRDD_TEST), $(RRDD_TEST_FILES))
54
980887e @rokstrnisa Fixed the xapi.spec.in and rrdd's install target.
rokstrnisa authored
55 .PHONY: install
56 install:
57 mkdir -p $(DESTDIR)$(LIBEXECDIR)
58 $(IPROG) $(RRDD) $(DESTDIR)$(LIBEXECDIR)
59
c85c324 @rokstrnisa Started creating the RRD daemon (rrdd).
rokstrnisa authored
60 .PHONY: test
b11e834 @rokstrnisa Renamed executable from rrdd_server to xcp-rrdd.
rokstrnisa authored
61 test: $(RRDD) $(RRDD_TEST)
62 killall $(RRDD) || true
63 ./$(RRDD) -daemon
c85c324 @rokstrnisa Started creating the RRD daemon (rrdd).
rokstrnisa authored
64 ./$(RRDD_TEST)
b11e834 @rokstrnisa Renamed executable from rrdd_server to xcp-rrdd.
rokstrnisa authored
65 killall $(RRDD) || true
c85c324 @rokstrnisa Started creating the RRD daemon (rrdd).
rokstrnisa authored
66
67 clean:
68 rm -f *.cmi *.cmx *.cmo *.a *.cma *.run *.opt *.annot *.o *.orig *.spit *.spot *.omc
b11e834 @rokstrnisa Renamed executable from rrdd_server to xcp-rrdd.
rokstrnisa authored
69 rm -f $(RRDD) $(RRDD_TEST)
Something went wrong with that request. Please try again.