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