ia64/xen-unstable

view tools/python/Makefile @ 6789:723f81936cf7

Added .PHONY target so that make works from the tools/python directory (it was seeing the build directory and therefore doing nothing).
author ewan@linford.intra
date Tue Sep 13 14:43:18 2005 +0100 (2005-09-13)
parents a01199a95070
children 4d899a738d59 e7c7196fa329
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 *~