ia64/xen-unstable

view tools/python/Makefile @ 6807:8ca0f98ba8e2

merge?
author cl349@firebug.cl.cam.ac.uk
date Tue Sep 13 15:33:37 2005 +0000 (2005-09-13)
parents a01199a95070 4d899a738d59
children 72e4e2aab342
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 clean:
19 rm -rf build *.pyc *.pyo *.o *.a *~