debuggers.hg

view tools/pygrub/Makefile @ 21067:b4a1832a916f

Update Xen version to 4.0.0-rc6
author Keir Fraser <keir.fraser@citrix.com>
date Tue Mar 09 18:18:05 2010 +0000 (2010-03-09)
parents 34c489308d45
children
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 install: all
13 CC="$(CC)" CFLAGS="$(CFLAGS)" $(PYTHON) setup.py install \
14 $(PYTHON_PREFIX_ARG) --root="$(DESTDIR)" --force
15 $(INSTALL_PYTHON_PROG) src/pygrub $(DESTDIR)/$(BINDIR)/pygrub
16 $(INSTALL_DIR) $(DESTDIR)/var/run/xend/boot
18 .PHONY: clean
19 clean:
20 rm -rf build tmp *.pyc *.pyo *.o *.a *~ a.out $(DEPS)
22 -include $(DEPS)