debuggers.hg

view tools/pygrub/Makefile @ 16715:c5deb251b9dc

Update version to 3.2.0-rc4
author Keir Fraser <keir.fraser@citrix.com>
date Sat Dec 29 17:57:37 2007 +0000 (2007-12-29)
parents 9be942ec0247
children bd78714b8594
line source
2 XEN_ROOT = ../..
3 include $(XEN_ROOT)/tools/Rules.mk
5 .PHONY: all
6 all: build
7 .PHONY: build
8 build:
9 CC="$(CC)" CFLAGS="$(CFLAGS)" python setup.py build
11 .PHONY: install
12 ifndef XEN_PYTHON_NATIVE_INSTALL
13 install: LIBPATH=$(shell PYTHONPATH=../python/xen/util python -c "import auxbin; print auxbin.libpath()")
14 install: all
15 CC="$(CC)" CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr" --prefix="" --install-lib="$(DESTDIR)$(LIBPATH)/python"
16 $(INSTALL_DIR) $(DESTDIR)/var/run/xend/boot
17 else
18 install: all
19 CC="$(CC)" CFLAGS="$(CFLAGS)" python setup.py install --root="$(DESTDIR)"
20 $(INSTALL_DIR) $(DESTDIR)/var/run/xend/boot
21 endif
23 .PHONY: clean
24 clean:
25 rm -rf build tmp *.pyc *.pyo *.o *.a *~ a.out