aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenstat/Makefile
blob: c12e0a49de677aa0960bc3fadbf3a849bdcdf06e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
XEN_ROOT = ../..
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-%