mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
exciting, but it's there to encourage the creation of more interesting ones. A test target has been added to the main Makefile, and the one in tools/python. Signed-off-by: Ewan Mellor <ewan@xensource.com>
23 lines
500 B
Makefile
23 lines
500 B
Makefile
XEN_ROOT = ../..
|
|
include $(XEN_ROOT)/tools/Rules.mk
|
|
|
|
.PHONY: all build install clean
|
|
|
|
all: build
|
|
build:
|
|
CFLAGS="$(CFLAGS)" python setup.py build
|
|
|
|
ifndef XEN_PYTHON_NATIVE_INSTALL
|
|
install: all
|
|
CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr"
|
|
else
|
|
install: all
|
|
CFLAGS="$(CFLAGS)" python setup.py install --root="$(DESTDIR)"
|
|
endif
|
|
|
|
test:
|
|
export LD_LIBRARY_PATH=$$(readlink -f ../libxc):$$(readlink -f ../xenstore); python test.py -b -u
|
|
|
|
clean:
|
|
rm -rf build *.pyc *.pyo *.o *.a *~
|