PageRenderTime 752ms CodeModel.GetById 563ms app.highlight 1ms RepoModel.GetById 186ms app.codeStats 1ms

/Modules/_ctypes/libffi/fficonfig.py.in

http://unladen-swallow.googlecode.com/
Autoconf | 35 lines | 32 code | 3 blank | 0 comment | 1 complexity | 33a559a08c9f60512af709e1435009eb MD5 | raw file
 1ffi_sources = """
 2src/prep_cif.c
 3""".split()
 4
 5ffi_platforms = {
 6    'MIPS_IRIX': ['src/mips/ffi.c', 'src/mips/o32.S', 'src/mips/n32.S'],
 7    'MIPS_LINUX': ['src/mips/ffi.c', 'src/mips/o32.S'],
 8    'X86': ['src/x86/ffi.c', 'src/x86/sysv.S'],
 9    'X86_FREEBSD': ['src/x86/ffi.c', 'src/x86/sysv.S'],
10    'X86_WIN32': ['src/x86/ffi.c', 'src/x86/win32.S'],
11    'SPARC': ['src/sparc/ffi.c', 'src/sparc/v8.S', 'src/sparc/v9.S'],
12    'ALPHA': ['src/alpha/ffi.c', 'src/alpha/osf.S'],
13    'IA64': ['src/ia64/ffi.c', 'src/ia64/unix.S'],
14    'M32R': ['src/m32r/sysv.S', 'src/m32r/ffi.c'],
15    'M68K': ['src/m68k/ffi.c', 'src/m68k/sysv.S'],
16    'POWERPC': ['src/powerpc/ffi.c', 'src/powerpc/sysv.S', 'src/powerpc/ppc_closure.S', 'src/powerpc/linux64.S', 'src/powerpc/linux64_closure.S'],
17    'POWERPC_AIX': ['src/powerpc/ffi.c', 'src/powerpc/aix.S', 'src/powerpc/aix_closure.S'],
18    'POWERPC_FREEBSD': ['src/powerpc/ffi.c', 'src/powerpc/sysv.S', 'src/powerpc/ppc_closure.S'],
19    'ARM': ['src/arm/sysv.S', 'src/arm/ffi.c'],
20    'LIBFFI_CRIS': ['src/cris/sysv.S', 'src/cris/ffi.c'],
21    'FRV': ['src/frv/eabi.S', 'src/frv/ffi.c'],
22    'S390': ['src/s390/sysv.S', 'src/s390/ffi.c'],
23    'X86_64': ['src/x86/ffi64.c', 'src/x86/unix64.S', 'src/x86/ffi.c', 'src/x86/sysv.S'],
24    'SH': ['src/sh/sysv.S', 'src/sh/ffi.c'],
25    'SH64': ['src/sh64/sysv.S', 'src/sh64/ffi.c'],
26    'PA': ['src/pa/linux.S', 'src/pa/ffi.c'],
27    'PA_LINUX': ['src/pa/linux.S', 'src/pa/ffi.c'],
28    'PA_HPUX': ['src/pa/hpux32.S', 'src/pa/ffi.c'],
29}
30
31ffi_srcdir = '@srcdir@'
32ffi_sources += ffi_platforms['@TARGET@']
33ffi_sources = [os.path.join('@srcdir@', f) for f in ffi_sources]
34
35ffi_cflags = '@CFLAGS@'