mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
passed along for some reason, so we explicitly redefine it to nothing. Signed-off-by: Ryan Grimm <grimm@us.ibm.com>
23 lines
440 B
Makefile
23 lines
440 B
Makefile
|
|
XEN_ROOT = ../..
|
|
include $(XEN_ROOT)/tools/Rules.mk
|
|
|
|
.PHONY: all
|
|
all: build
|
|
.PHONY: build
|
|
build:
|
|
CFLAGS="$(CFLAGS)" python setup.py build
|
|
|
|
.PHONY: install
|
|
ifndef XEN_PYTHON_NATIVE_INSTALL
|
|
install: all
|
|
CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr" --prefix=""
|
|
else
|
|
install: all
|
|
CFLAGS="$(CFLAGS)" python setup.py install --root="$(DESTDIR)"
|
|
endif
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm -rf build tmp *.pyc *.pyo *.o *.a *~ a.out
|