ia64/xen-unstable

view tools/xenstat/Makefile @ 19835:edfdeb150f27

Fix buildsystem to detect udev > version 124

udev removed the udevinfo symlink from versions higher than 123 and
xen's build-system could not detect if udev is in place and has the
required version.

Signed-off-by: Marc-A. Dahlhaus <mad@wol.de>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Jun 25 13:02:37 2009 +0100 (2009-06-25)
parents b726d80d8211
children
line source
1 XEN_ROOT = ../..
2 include $(XEN_ROOT)/tools/Rules.mk
4 SUBDIRS :=
5 SUBDIRS += libxenstat
7 # This doesn't cross-compile (cross-compile environments rarely have curses)
8 ifeq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH))
9 ifeq ($(wildcard /usr/include/curses.h),/usr/include/curses.h)
10 SUBDIRS += xentop
11 endif
12 endif
14 .PHONY: all install clean
16 all install clean: %: subdirs-%