3 from distutils.core import setup, Extension
6 cflags = ['-fno-strict-aliasing', '-Wno-write-strings']
7 cflags += getenv('CFLAGS', '').split()
9 perf = Extension('perf',
10 sources = ['util/python.c', 'util/ctype.c', 'util/evlist.c',
11 'util/evsel.c', 'util/cpumap.c', 'util/thread_map.c',
12 'util/util.c', 'util/xyarray.c', 'util/cgroup.c'],
13 include_dirs = ['util/include'],
14 extra_compile_args = cflags,
19 description='Interface with the Linux profiling infrastructure',
20 author='Arnaldo Carvalho de Melo',
21 author_email='acme@redhat.com',
23 url='http://perf.wiki.kernel.org',