diff options
Diffstat (limited to 'tools/python/xen/ext/xc/setup.py')
-rw-r--r-- | tools/python/xen/ext/xc/setup.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tools/python/xen/ext/xc/setup.py b/tools/python/xen/ext/xc/setup.py new file mode 100644 index 0000000000..8efe5ca1a0 --- /dev/null +++ b/tools/python/xen/ext/xc/setup.py @@ -0,0 +1,19 @@ + +from distutils.core import setup, Extension + +module = Extension("xc", + extra_compile_args = ["-fno-strict-aliasing"], + include_dirs = ["../lib", + "../../../xen/include/hypervisor-ifs", + "../../../linux-xen-sparse/include", + "../../xu/lib", + "../../lib" ], + library_dirs = ["../lib", + "../../lib" ], + libraries = ["xc"], + sources = ["Xc.c"]) + +setup(name = "xc", + version = "2.0", + ext_package = "xen.ext", + ext_modules = [module]) |