ia64/xen-unstable

view tools/python/Makefile @ 8977:f84d5cdd9895

Clean up segment selector fixup and validation.

Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Thu Feb 23 14:43:45 2006 +0100 (2006-02-23)
parents cd228621e1fd
children 2538f3f838dc
line source
1 XEN_ROOT = ../..
2 include $(XEN_ROOT)/tools/Rules.mk
4 .PHONY: all build install clean
6 all: build
7 build:
8 CFLAGS="$(CFLAGS)" python setup.py build
10 ifndef XEN_PYTHON_NATIVE_INSTALL
11 install: all
12 CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr"
13 else
14 install: all
15 CFLAGS="$(CFLAGS)" python setup.py install --root="$(DESTDIR)"
16 endif
18 test:
19 export LD_LIBRARY_PATH=$$(readlink -f ../libxc):$$(readlink -f ../xenstore); python test.py -b -u
21 clean:
22 rm -rf build *.pyc *.pyo *.o *.a *~