1XEN_ROOT=$(CURDIR)/../../..
2include $(XEN_ROOT)/tools/Rules.mk
3
4CFLAGS += -Werror
5
6CFLAGS += $(CFLAGS_libxenctrl)
7CFLAGS += $(CFLAGS_xeninclude)
8
9TARGETS-y :=
10TARGETS-$(CONFIG_X86) += memshrtool
11TARGETS := $(TARGETS-y)
12
13.PHONY: all
14all: build
15
16.PHONY: build
17build: $(TARGETS)
18
19.PHONY: clean
20clean:
21	$(RM) *.o $(TARGETS) *~ $(DEPS_RM)
22
23.PHONY: distclean
24distclean: clean
25
26memshrtool: memshrtool.o
27	$(CC) -o $@ $< $(LDFLAGS) $(LDLIBS_libxenctrl)
28
29-include $(DEPS_INCLUDE)
30
31install uninstall:
32