aboutsummaryrefslogtreecommitdiffstats
path: root/tools/python/xen/ext/xc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/python/xen/ext/xc/Makefile')
-rw-r--r--tools/python/xen/ext/xc/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/python/xen/ext/xc/Makefile b/tools/python/xen/ext/xc/Makefile
new file mode 100644
index 0000000000..7dc74a1072
--- /dev/null
+++ b/tools/python/xen/ext/xc/Makefile
@@ -0,0 +1,15 @@
+
+all:
+ python setup.py build
+
+install: all
+ if [ "$(prefix)" = "" ]; then \
+ python setup.py install; \
+ elif [ "$(dist)" = "yes" ]; then \
+ python setup.py install --home="$(prefix)"; \
+ else \
+ python setup.py install --root="$(prefix)"; \
+ fi
+
+clean:
+ rm -rf build *.pyc *.pyo *.o *.a *~