ia64/xen-unstable

view tools/python/Makefile @ 8740:3d7ea7972b39

Update patches for linux 2.6.15.

Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Thu Feb 02 17:16:00 2006 +0000 (2006-02-02)
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 *~