~ubuntu-branches/ubuntu/lucid/gauche-c-wrapper/lucid

« back to all changes in this revision

Viewing changes to libffi/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): NIIBE Yutaka
  • Date: 2008-04-07 09:15:03 UTC
  • Revision ID: james.westby@ubuntu.com-20080407091503-wu0h414koe95kj4i
Tags: upstream-0.5.2
ImportĀ upstreamĀ versionĀ 0.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Process this with automake to create Makefile.in
 
2
 
 
3
AUTOMAKE_OPTIONS = foreign subdir-objects
 
4
 
 
5
SUBDIRS = include
 
6
 
 
7
EXTRA_DIST = LICENSE ChangeLog.v1 \
 
8
        src/alpha/ffi.c src/alpha/osf.S src/alpha/ffitarget.h \
 
9
        src/arm/ffi.c src/arm/sysv.S src/arm/ffitarget.h \
 
10
        src/cris/ffi.c src/cris/sysv.S src/cris/ffitarget.h \
 
11
        src/mips/ffi.c src/mips/n32.S src/mips/o32.S \
 
12
        src/mips/ffitarget.h \
 
13
        src/m32r/ffi.c src/m32r/sysv.S src/m32r/ffitarget.h \
 
14
        src/m68k/ffi.c src/m68k/sysv.S src/m68k/ffitarget.h \
 
15
        src/powerpc/ffi.c src/powerpc/sysv.S \
 
16
        src/powerpc/linux64.S src/powerpc/linux64_closure.S \
 
17
        src/powerpc/ppc_closure.S src/powerpc/asm.h \
 
18
        src/powerpc/aix.S src/powerpc/darwin.S \
 
19
        src/powerpc/aix_closure.S src/powerpc/darwin_closure.S \
 
20
        src/powerpc/ffi_darwin.c src/powerpc/ffitarget.h \
 
21
        src/s390/ffi.c src/s390/sysv.S src/s390/ffitarget.h \
 
22
        src/sh/ffi.c src/sh/sysv.S src/sh/ffitarget.h \
 
23
        src/sh64/ffi.c src/sh64/sysv.S src/sh64/ffitarget.h \
 
24
        src/sparc/v8.S src/sparc/v9.S src/sparc/ffitarget.h \
 
25
        src/sparc/ffi.c \
 
26
        src/x86/ffi.c src/x86/sysv.S src/x86/win32.S src/x86/darwin.S \
 
27
        src/x86/ffi64.c src/x86/unix64.S src/x86/ffitarget.h \
 
28
        src/pa/ffi.c src/pa/linux.S src/frv/eabi.S src/frv/ffitarget.h
 
29
 
 
30
lib_LTLIBRARIES = libffi.la
 
31
 
 
32
libffi_la_SOURCES = src/debug.c src/prep_cif.c src/types.c \
 
33
                src/raw_api.c src/java_raw_api.c
 
34
 
 
35
if MIPS_IRIX
 
36
libffi_la_SOURCES += src/mips/ffi.c src/mips/o32.S src/mips/n32.S
 
37
endif
 
38
if MIPS_LINUX
 
39
libffi_la_SOURCES += src/mips/ffi.c src/mips/o32.S
 
40
endif
 
41
if X86
 
42
libffi_la_SOURCES += src/x86/ffi.c src/x86/sysv.S
 
43
endif
 
44
if X86_WIN32
 
45
libffi_la_SOURCES += src/x86/ffi.c src/x86/win32.S
 
46
endif
 
47
if X86_DARWIN
 
48
libffi_la_SOURCES += src/x86/ffi.c src/x86/darwin.S
 
49
endif
 
50
if X86_FREEBSD
 
51
libffi_la_SOURCES += src/x86/ffi.c src/x86/sysv.S
 
52
endif
 
53
if SPARC
 
54
libffi_la_SOURCES += src/sparc/ffi.c src/sparc/v8.S src/sparc/v9.S
 
55
endif
 
56
if ALPHA
 
57
libffi_la_SOURCES += src/alpha/ffi.c src/alpha/osf.S
 
58
endif
 
59
if IA64
 
60
libffi_la_SOURCES += src/ia64/ffi.c src/ia64/unix.S
 
61
endif
 
62
if M32R
 
63
libffi_la_SOURCES += src/m32r/sysv.S src/m32r/ffi.c
 
64
endif
 
65
if M68K
 
66
libffi_la_SOURCES += src/m68k/ffi.c src/m68k/sysv.S
 
67
endif
 
68
if POWERPC
 
69
libffi_la_SOURCES += src/powerpc/ffi.c src/powerpc/sysv.S src/powerpc/ppc_closure.S src/powerpc/linux64.S src/powerpc/linux64_closure.S
 
70
endif
 
71
if POWERPC_AIX
 
72
libffi_la_SOURCES += src/powerpc/ffi_darwin.c src/powerpc/aix.S src/powerpc/aix_closure.S
 
73
endif
 
74
if POWERPC_DARWIN
 
75
libffi_la_SOURCES += src/powerpc/ffi_darwin.c src/powerpc/darwin.S src/powerpc/darwin_closure.S
 
76
endif
 
77
if POWERPC_FREEBSD
 
78
libffi_la_SOURCES += src/powerpc/ffi.c src/powerpc/sysv.S src/powerpc/ppc_closure.S
 
79
endif
 
80
if ARM
 
81
libffi_la_SOURCES += src/arm/sysv.S src/arm/ffi.c
 
82
endif
 
83
if LIBFFI_CRIS
 
84
libffi_la_SOURCES += src/cris/sysv.S src/cris/ffi.c
 
85
endif
 
86
if FRV
 
87
libffi_la_SOURCES += src/frv/eabi.S src/frv/ffi.c
 
88
endif
 
89
if S390
 
90
libffi_la_SOURCES += src/s390/sysv.S src/s390/ffi.c
 
91
endif
 
92
if X86_64
 
93
libffi_la_SOURCES += src/x86/ffi64.c src/x86/unix64.S src/x86/ffi.c src/x86/sysv.S
 
94
endif
 
95
if SH
 
96
libffi_la_SOURCES += src/sh/sysv.S src/sh/ffi.c
 
97
endif
 
98
if SH64
 
99
libffi_la_SOURCES += src/sh64/sysv.S src/sh64/ffi.c
 
100
endif
 
101
if PA
 
102
libffi_la_SOURCES += src/pa/linux.S src/pa/ffi.c
 
103
endif
 
104
 
 
105
AM_CFLAGS = -Wall -g -fexceptions
 
106
 
 
107
libffi_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version`
 
108
 
 
109
AM_CPPFLAGS = -I. -I$(top_srcdir)/include -Iinclude -I$(top_srcdir)/src
 
110
AM_CCASFLAGS = $(AM_CPPFLAGS)