1XEN_ROOT = $(CURDIR)/../../.. 2OCAML_TOPLEVEL = $(CURDIR)/.. 3include $(OCAML_TOPLEVEL)/common.make 4 5CFLAGS += $(APPEND_CFLAGS) 6 7OCAMLINCLUDE += \ 8 -I $(OCAML_TOPLEVEL)/libs/xentoollog \ 9 -I $(OCAML_TOPLEVEL)/libs/xl 10 11OBJS = xtl send_debug_keys list_domains raise_exception dmesg 12 13PROGRAMS = xtl send_debug_keys list_domains raise_exception dmesg 14 15xtl_LIBS = \ 16 -ccopt -L -ccopt $(OCAML_TOPLEVEL)/libs/xentoollog $(OCAML_TOPLEVEL)/libs/xentoollog/xentoollog.cmxa \ 17 -ccopt -L -ccopt $(OCAML_TOPLEVEL)/libs/xl $(OCAML_TOPLEVEL)/libs/xl/xenlight.cmxa 18 19xtl_OBJS = xtl 20 21send_debug_keys_LIBS = \ 22 -ccopt -L -ccopt $(OCAML_TOPLEVEL)/libs/xentoollog $(OCAML_TOPLEVEL)/libs/xentoollog/xentoollog.cmxa \ 23 -ccopt -L -ccopt $(OCAML_TOPLEVEL)/libs/xl $(OCAML_TOPLEVEL)/libs/xl/xenlight.cmxa 24 25send_debug_keys_OBJS = xtl send_debug_keys 26 27list_domains_LIBS = \ 28 -ccopt -L -ccopt $(OCAML_TOPLEVEL)/libs/xentoollog $(OCAML_TOPLEVEL)/libs/xentoollog/xentoollog.cmxa \ 29 -ccopt -L -ccopt $(OCAML_TOPLEVEL)/libs/xl $(OCAML_TOPLEVEL)/libs/xl/xenlight.cmxa 30 31list_domains_OBJS = xtl list_domains 32 33raise_exception_LIBS = \ 34 -ccopt -L -ccopt $(OCAML_TOPLEVEL)/libs/xentoollog $(OCAML_TOPLEVEL)/libs/xentoollog/xentoollog.cmxa \ 35 -ccopt -L -ccopt $(OCAML_TOPLEVEL)/libs/xl $(OCAML_TOPLEVEL)/libs/xl/xenlight.cmxa 36 37raise_exception_OBJS = raise_exception 38 39dmesg_LIBS = \ 40 -ccopt -L -ccopt $(OCAML_TOPLEVEL)/libs/xentoollog $(OCAML_TOPLEVEL)/libs/xentoollog/xentoollog.cmxa \ 41 -ccopt -L -ccopt $(OCAML_TOPLEVEL)/libs/xl $(OCAML_TOPLEVEL)/libs/xl/xenlight.cmxa 42 43dmesg_OBJS = xtl dmesg 44 45OCAML_PROGRAM = xtl send_debug_keys list_domains raise_exception dmesg 46 47all: $(PROGRAMS) 48 49bins: $(PROGRAMS) 50 51install: 52 53uninstall: 54 55include $(OCAML_TOPLEVEL)/Makefile.rules 56