aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenstat/Makefile
blob: 904ccdde7159beb5803d3ad99832cdae4caad55b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
XEN_ROOT = $(CURDIR)/../..
include $(XEN_ROOT)/tools/Rules.mk

SUBDIRS :=
SUBDIRS += libxenstat

# This doesn't cross-compile (cross-compile environments rarely have curses)
ifeq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH))
ifeq ($(wildcard /usr/include/curses.h),/usr/include/curses.h)
SUBDIRS += xentop
endif
endif

.PHONY: all install clean

all install clean: %: subdirs-%