1XEN_ROOT = $(CURDIR)/../..
2include $(XEN_ROOT)/tools/Rules.mk
3
4CFLAGS  += $(CFLAGS_libxenctrl)
5LDLIBS += $(LDLIBS_libxenctrl)
6
7SUBDIRS-y :=
8SUBDIRS-$(CONFIG_X86) += cpu-policy
9SUBDIRS-$(CONFIG_X86) += mce-test
10SUBDIRS-y += mem-sharing
11ifneq ($(clang),y)
12SUBDIRS-$(CONFIG_X86) += x86_emulator
13endif
14SUBDIRS-y += xen-access
15SUBDIRS-y += xenstore
16SUBDIRS-y += depriv
17SUBDIRS-$(CONFIG_HAS_PCI) += vpci
18
19.PHONY: all clean install distclean uninstall
20all clean distclean install uninstall: %: subdirs-%
21