ia64/xen-unstable

view tools/python/setup.py @ 1820:3d4f8eb89670

bitkeeper revision 1.1106.1.2 (40faa780dekT3E5arFwcbQDu1MbX6g)

Cleaned up Xen's instruction emulator.
author kaf24@scramble.cl.cam.ac.uk
date Sun Jul 18 16:38:24 2004 +0000 (2004-07-18)
parents 0f7bf86dedaf
children 5c54a15c092f 567574707ca9 bde2c59c2519 f26582ec895e
line source
2 from distutils.core import setup, Extension
4 XEN_ROOT = "../.."
6 extra_compile_args = [ "-fno-strict-aliasing", "-Wall", "-Werror" ]
9 include_dirs = [ XEN_ROOT + "/xen/include/hypervisor-ifs",
10 XEN_ROOT + "/linux-xen-sparse/include",
11 XEN_ROOT + "/tools/python/xen/lowlevel/xu",
12 XEN_ROOT + "/tools/libxc",
13 XEN_ROOT + "/tools/libxutil",
14 ]
16 library_dirs = [ XEN_ROOT + "/tools/libxc",
17 XEN_ROOT + "/tools/libxutil",
18 ]
20 libraries = [ "xc", "xutil" ]
22 xc = Extension("xc",
23 extra_compile_args = extra_compile_args,
24 include_dirs = include_dirs + [ "xen/lowlevel/xc" ],
25 library_dirs = library_dirs,
26 libraries = libraries,
27 sources = [ "xen/lowlevel/xc/xc.c" ])
29 xu = Extension("xu",
30 extra_compile_args = extra_compile_args,
31 include_dirs = include_dirs + [ "xen/lowlevel/xu" ],
32 library_dirs = library_dirs,
33 libraries = libraries,
34 sources = [ "xen/lowlevel/xu/xu.c" ])
36 setup(name = 'xen',
37 version = '2.0',
38 description = 'Xen',
39 packages = ['xen',
40 'xen.lowlevel',
41 'xen.util',
42 'xen.xend',
43 'xen.xend.server',
44 'xen.xm',
45 ],
46 ext_package = "xen.lowlevel",
47 ext_modules = [ xc, xu ]
48 )