ffi 1.0.9-x86-mingw32 → 1.0.12.pre-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of ffi might be problematic. Click here for more details.

Files changed (218) hide show
  1. data/Rakefile +16 -16
  2. data/ext/ffi_c/AbstractMemory.c +376 -14
  3. data/ext/ffi_c/AbstractMemory.h +8 -0
  4. data/ext/ffi_c/ArrayType.c +28 -0
  5. data/ext/ffi_c/Buffer.c +109 -25
  6. data/ext/ffi_c/Call.c +16 -5
  7. data/ext/ffi_c/ClosurePool.c +21 -8
  8. data/ext/ffi_c/DataConverter.c +29 -0
  9. data/ext/ffi_c/DynamicLibrary.c +71 -2
  10. data/ext/ffi_c/Function.c +122 -11
  11. data/ext/ffi_c/Function.h +6 -0
  12. data/ext/ffi_c/FunctionInfo.c +21 -1
  13. data/ext/ffi_c/LastError.c +24 -0
  14. data/ext/ffi_c/MappedType.c +22 -0
  15. data/ext/ffi_c/MemoryPointer.c +19 -1
  16. data/ext/ffi_c/MemoryPointer.h +6 -0
  17. data/ext/ffi_c/MethodHandle.c +26 -11
  18. data/ext/ffi_c/Platform.c +17 -3
  19. data/ext/ffi_c/Pointer.c +106 -0
  20. data/ext/ffi_c/Pointer.h +6 -0
  21. data/ext/ffi_c/Struct.c +10 -4
  22. data/ext/ffi_c/Struct.h +2 -1
  23. data/ext/ffi_c/StructByReference.c +8 -0
  24. data/ext/ffi_c/StructByValue.c +8 -0
  25. data/ext/ffi_c/StructLayout.c +8 -2
  26. data/ext/ffi_c/Thread.c +131 -1
  27. data/ext/ffi_c/Thread.h +6 -0
  28. data/ext/ffi_c/Type.c +111 -17
  29. data/ext/ffi_c/Types.c +9 -2
  30. data/ext/ffi_c/Types.h +4 -0
  31. data/ext/ffi_c/Variadic.c +13 -4
  32. data/ext/ffi_c/compat.h +8 -0
  33. data/ext/ffi_c/endian.h +10 -1
  34. data/ext/ffi_c/extconf.rb +51 -35
  35. data/ext/ffi_c/ffi.c +5 -0
  36. data/ext/ffi_c/libffi.darwin.mk +15 -15
  37. data/ext/ffi_c/libffi.gnu.mk +3 -3
  38. data/ext/ffi_c/libffi.mk +4 -4
  39. data/ext/ffi_c/libffi.vc.mk +26 -0
  40. data/ext/ffi_c/libffi.vc64.mk +26 -0
  41. data/ext/ffi_c/libffi/ChangeLog +541 -0
  42. data/ext/ffi_c/libffi/ChangeLog.libffi +13 -87
  43. data/ext/ffi_c/libffi/LICENSE +3 -3
  44. data/ext/ffi_c/libffi/Makefile.am +41 -32
  45. data/ext/ffi_c/libffi/Makefile.in +95 -66
  46. data/ext/ffi_c/libffi/Makefile.vc +141 -0
  47. data/ext/ffi_c/libffi/Makefile.vc64 +141 -0
  48. data/ext/ffi_c/libffi/README +40 -4
  49. data/ext/ffi_c/libffi/aclocal.m4 +729 -7854
  50. data/ext/ffi_c/libffi/build-ios.sh +67 -0
  51. data/ext/ffi_c/libffi/compile +11 -10
  52. data/ext/ffi_c/libffi/config.guess +4 -1
  53. data/ext/ffi_c/libffi/config.sub +6 -3
  54. data/ext/ffi_c/libffi/configure +6264 -6354
  55. data/ext/ffi_c/libffi/configure.ac +155 -63
  56. data/ext/ffi_c/libffi/depcomp +81 -35
  57. data/ext/ffi_c/libffi/doc/libffi.info +78 -18
  58. data/ext/ffi_c/libffi/doc/libffi.texi +64 -5
  59. data/ext/ffi_c/libffi/doc/stamp-vti +4 -4
  60. data/ext/ffi_c/libffi/doc/version.texi +4 -4
  61. data/ext/ffi_c/libffi/fficonfig.h.in +18 -0
  62. data/ext/ffi_c/libffi/fficonfig.hw +57 -0
  63. data/ext/ffi_c/libffi/include/Makefile.in +21 -3
  64. data/ext/ffi_c/libffi/include/ffi.h.in +42 -14
  65. data/ext/ffi_c/libffi/include/ffi.h.vc +427 -0
  66. data/ext/ffi_c/libffi/include/ffi.h.vc64 +427 -0
  67. data/ext/ffi_c/libffi/include/ffi_common.h +9 -5
  68. data/ext/ffi_c/libffi/install-sh +364 -167
  69. data/ext/ffi_c/libffi/ltmain.sh +2599 -1369
  70. data/ext/ffi_c/libffi/m4/ax_cc_maxopt.m4 +176 -0
  71. data/ext/ffi_c/libffi/m4/ax_cflags_warn_all.m4 +195 -0
  72. data/ext/ffi_c/libffi/m4/ax_check_compiler_flags.m4 +76 -0
  73. data/ext/ffi_c/libffi/m4/ax_compiler_vendor.m4 +63 -0
  74. data/ext/ffi_c/libffi/m4/ax_configure_args.m4 +70 -0
  75. data/ext/ffi_c/libffi/m4/ax_enable_builddir.m4 +300 -0
  76. data/ext/ffi_c/libffi/m4/ax_gcc_archflag.m4 +215 -0
  77. data/ext/ffi_c/libffi/m4/ax_gcc_x86_cpuid.m4 +79 -0
  78. data/ext/ffi_c/libffi/m4/libtool.m4 +1239 -768
  79. data/ext/ffi_c/libffi/m4/ltoptions.m4 +7 -6
  80. data/ext/ffi_c/libffi/m4/ltversion.m4 +6 -6
  81. data/ext/ffi_c/libffi/m4/lt~obsolete.m4 +9 -3
  82. data/ext/ffi_c/libffi/man/Makefile.in +21 -3
  83. data/ext/ffi_c/libffi/mdate-sh +0 -0
  84. data/ext/ffi_c/libffi/missing +60 -44
  85. data/ext/ffi_c/libffi/msvcc.sh +197 -0
  86. data/ext/ffi_c/libffi/src/alpha/osf.S +39 -18
  87. data/ext/ffi_c/libffi/src/arm/ffi.c +443 -24
  88. data/ext/ffi_c/libffi/src/arm/ffitarget.h +17 -1
  89. data/ext/ffi_c/libffi/src/arm/gentramp.sh +118 -0
  90. data/ext/ffi_c/libffi/src/arm/sysv.S +206 -15
  91. data/ext/ffi_c/libffi/src/arm/trampoline.S +4450 -0
  92. data/ext/ffi_c/libffi/src/avr32/ffi.c +4 -2
  93. data/ext/ffi_c/libffi/src/avr32/ffitarget.h +2 -2
  94. data/ext/ffi_c/libffi/src/closures.c +17 -35
  95. data/ext/ffi_c/libffi/src/cris/ffi.c +1 -1
  96. data/ext/ffi_c/libffi/src/cris/ffitarget.h +2 -2
  97. data/ext/ffi_c/libffi/src/dlmalloc.c +66 -4
  98. data/ext/ffi_c/libffi/src/frv/ffitarget.h +2 -6
  99. data/ext/ffi_c/libffi/src/ia64/ffi.c +7 -5
  100. data/ext/ffi_c/libffi/src/ia64/ffitarget.h +2 -2
  101. data/ext/ffi_c/libffi/src/java_raw_api.c +1 -1
  102. data/ext/ffi_c/libffi/src/m32r/ffitarget.h +2 -2
  103. data/ext/ffi_c/libffi/src/m68k/ffi.c +10 -0
  104. data/ext/ffi_c/libffi/src/m68k/ffitarget.h +2 -2
  105. data/ext/ffi_c/libffi/src/m68k/sysv.S +36 -0
  106. data/ext/ffi_c/libffi/src/mips/ffi.c +12 -5
  107. data/ext/ffi_c/libffi/src/mips/ffitarget.h +18 -11
  108. data/ext/ffi_c/libffi/src/mips/n32.S +4 -4
  109. data/ext/ffi_c/libffi/src/moxie/eabi.S +128 -0
  110. data/ext/ffi_c/libffi/src/moxie/ffi.c +276 -0
  111. data/ext/ffi_c/libffi/src/pa/ffi.c +7 -4
  112. data/ext/ffi_c/libffi/src/pa/ffitarget.h +6 -5
  113. data/ext/ffi_c/libffi/src/powerpc/aix.S +5 -1
  114. data/ext/ffi_c/libffi/src/powerpc/aix_closure.S +2 -0
  115. data/ext/ffi_c/libffi/src/powerpc/asm.h +1 -1
  116. data/ext/ffi_c/libffi/src/powerpc/darwin.S +215 -77
  117. data/ext/ffi_c/libffi/src/powerpc/darwin_closure.S +358 -100
  118. data/ext/ffi_c/libffi/src/powerpc/ffi.c +11 -5
  119. data/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c +603 -172
  120. data/ext/ffi_c/libffi/src/powerpc/ffitarget.h +17 -4
  121. data/ext/ffi_c/libffi/src/prep_cif.c +16 -13
  122. data/ext/ffi_c/libffi/src/s390/ffitarget.h +4 -2
  123. data/ext/ffi_c/libffi/src/sh/ffitarget.h +2 -2
  124. data/ext/ffi_c/libffi/src/sh64/ffitarget.h +2 -2
  125. data/ext/ffi_c/libffi/src/sparc/ffi.c +55 -11
  126. data/ext/ffi_c/libffi/src/sparc/ffitarget.h +5 -3
  127. data/ext/ffi_c/libffi/src/x86/ffi.c +54 -92
  128. data/ext/ffi_c/libffi/src/x86/ffi64.c +17 -8
  129. data/ext/ffi_c/libffi/src/x86/ffitarget.h +15 -14
  130. data/ext/ffi_c/libffi/src/x86/sysv.S +40 -26
  131. data/ext/ffi_c/libffi/src/x86/unix64.S +4 -0
  132. data/ext/ffi_c/libffi/src/x86/win32.S +379 -191
  133. data/ext/ffi_c/libffi/src/x86/win64.S +15 -7
  134. data/ext/ffi_c/libffi/testsuite/Makefile.am +1 -1
  135. data/ext/ffi_c/libffi/testsuite/Makefile.in +22 -4
  136. data/ext/ffi_c/libffi/testsuite/lib/libffi.exp +350 -0
  137. data/ext/ffi_c/libffi/testsuite/libffi.call/call.exp +1 -5
  138. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble_split.c +1 -1
  139. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c +1 -1
  140. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint64.c +1 -0
  141. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint64.c +1 -0
  142. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_double_va.c +3 -0
  143. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_longdouble.c +2 -2
  144. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_longdouble_va.c +3 -0
  145. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_pointer.c +1 -1
  146. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_pointer_stack.c +1 -1
  147. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_ulonglong.c +1 -0
  148. data/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_abi.c +2 -3
  149. data/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c +2 -1
  150. data/ext/ffi_c/libffi/testsuite/libffi.call/ffitest.h +36 -0
  151. data/ext/ffi_c/libffi/testsuite/libffi.call/huge_struct.c +17 -17
  152. data/ext/ffi_c/libffi/testsuite/libffi.call/return_ll1.c +1 -0
  153. data/ext/ffi_c/libffi/testsuite/libffi.call/stret_medium2.c +1 -0
  154. data/ext/ffi_c/libffi/testsuite/libffi.special/ffitestcxx.h +1 -1
  155. data/ext/ffi_c/libffi/testsuite/libffi.special/special.exp +1 -3
  156. data/ext/ffi_c/win32/stdint.h +199 -0
  157. data/gen/Rakefile +18 -2
  158. data/lib/1.8/ffi_c.so +0 -0
  159. data/lib/ffi.rb +13 -9
  160. data/lib/ffi/autopointer.rb +88 -26
  161. data/lib/ffi/enum.rb +42 -0
  162. data/lib/ffi/errno.rb +6 -1
  163. data/lib/ffi/ffi.rb +1 -0
  164. data/lib/ffi/io.rb +13 -2
  165. data/lib/ffi/library.rb +219 -24
  166. data/lib/ffi/memorypointer.rb +1 -33
  167. data/lib/ffi/platform.rb +21 -7
  168. data/lib/ffi/platform/arm-linux/types.conf +102 -0
  169. data/lib/ffi/platform/i386-freebsd/types.conf +152 -0
  170. data/lib/ffi/platform/i386-netbsd/types.conf +126 -0
  171. data/lib/ffi/platform/i486-gnu/types.conf +107 -0
  172. data/lib/ffi/platform/ia64-linux/types.conf +102 -0
  173. data/lib/ffi/platform/mips-linux/types.conf +102 -0
  174. data/lib/ffi/platform/mipsel-linux/types.conf +102 -0
  175. data/lib/ffi/platform/powerpc-linux/types.conf +100 -0
  176. data/lib/ffi/platform/s390-linux/types.conf +102 -0
  177. data/lib/ffi/platform/s390x-linux/types.conf +102 -0
  178. data/lib/ffi/platform/sparc-linux/types.conf +102 -0
  179. data/lib/ffi/platform/x86_64-freebsd/types.conf +126 -0
  180. data/lib/ffi/platform/x86_64-netbsd/types.conf +126 -0
  181. data/lib/ffi/pointer.rb +44 -0
  182. data/lib/ffi/struct.rb +2 -6
  183. data/lib/ffi/struct_layout_builder.rb +2 -1
  184. data/lib/ffi/tools/const_generator.rb +78 -26
  185. data/lib/ffi/tools/types_generator.rb +8 -1
  186. data/lib/ffi/types.rb +21 -1
  187. data/spec/ffi/async_callback_spec.rb +2 -2
  188. data/spec/ffi/bool_spec.rb +6 -6
  189. data/spec/ffi/buffer_spec.rb +23 -23
  190. data/spec/ffi/callback_spec.rb +101 -102
  191. data/spec/ffi/custom_type_spec.rb +20 -24
  192. data/spec/ffi/dup_spec.rb +7 -7
  193. data/spec/ffi/enum_spec.rb +127 -127
  194. data/spec/ffi/errno_spec.rb +2 -2
  195. data/spec/ffi/ffi_spec.rb +3 -3
  196. data/spec/ffi/function_spec.rb +10 -10
  197. data/spec/ffi/library_spec.rb +30 -12
  198. data/spec/ffi/managed_struct_spec.rb +4 -4
  199. data/spec/ffi/number_spec.rb +40 -40
  200. data/spec/ffi/pointer_spec.rb +21 -24
  201. data/spec/ffi/rbx/memory_pointer_spec.rb +17 -15
  202. data/spec/ffi/rbx/struct_spec.rb +2 -2
  203. data/spec/ffi/spec_helper.rb +1 -1
  204. data/spec/ffi/string_spec.rb +9 -9
  205. data/spec/ffi/strptr_spec.rb +3 -3
  206. data/spec/ffi/struct_callback_spec.rb +7 -7
  207. data/spec/ffi/struct_initialize_spec.rb +2 -2
  208. data/spec/ffi/struct_packed_spec.rb +6 -6
  209. data/spec/ffi/struct_spec.rb +94 -84
  210. data/spec/ffi/typedef_spec.rb +15 -4
  211. data/spec/ffi/union_spec.rb +3 -3
  212. data/spec/ffi/variadic_spec.rb +17 -14
  213. data/tasks/extension.rake +0 -1
  214. data/tasks/gem.rake +0 -1
  215. data/tasks/rdoc.rake +1 -1
  216. data/tasks/yard.rake +11 -0
  217. metadata +50 -11
  218. data/lib/1.9/ffi_c.so +0 -0
@@ -1,56 +1,6 @@
1
- 2009-12-27 Matthias Klose <doko@ubuntu.com>
1
+ 2011-02-08 Andreas Tobler <andreast@fgznet.ch>
2
2
 
3
- * configure.ac (HAVE_LONG_DOUBLE): Define for mips when
4
- appropriate.
5
- * configure: Rebuilt.
6
-
7
- 2009-12-27 Anthony Green <green@redhat.com>
8
-
9
- * testsuite/libffi.call/cls_longdouble.c: Don't xfail for ARM.
10
-
11
- 2009-12-26 Anthony Green <green@redhat.com>
12
-
13
- * testsuite/libffi.call/huge_struct.c: Don't xfail for avr32*-*-*.
14
- * testsuite/libffi.call/cls_longdouble_va.c: Mark as xfail for
15
- avr32*-*-*.
16
- * testsuite/libffi.call/cls_double_va.c: Ditto.
17
-
18
- 2009-12-26 Andreas Tobler <a.tobler@schweiz.org>
19
-
20
- * testsuite/libffi.call/ffitest.h: Conditionally include stdint.h
21
- and inttypes.h.
22
- * testsuite/libffi.special/unwindtest.cc: Ditto.
23
- * testsuite/libffi.call/huge_struct.c: Don't include stdint.h
24
- directly.
25
-
26
- 2009-12-26 Andreas Tobler <a.tobler@schweiz.org>
27
-
28
- * configure.ac: Add amd64-*-openbsd*.
29
- * configure: Rebuilt.
30
- * testsuite/lib/libffi-dg.exp (libffi_target_compile): Link
31
- openbsd programs with -lpthread.
32
-
33
- 2009-12-26 Anthony Green <green@redhat.com>
34
-
35
- * testsuite/libffi.call/cls_double_va.c,
36
- testsuite/libffi.call/cls_longdouble.c,
37
- testsuite/libffi.call/cls_longdouble_va.c,
38
- testsuite/libffi.call/cls_pointer.c,
39
- testsuite/libffi.call/cls_pointer_stack.c: Remove xfail for
40
- mips*-*-* and arm*-*-*.
41
- * testsuite/libffi.call/cls_align_longdouble_split.c,
42
- testsuite/libffi.call/cls_align_longdouble_split2.c,
43
- testsuite/libffi.call/stret_medium2.c,
44
- testsuite/libffi.call/stret_medium.c,
45
- testsuite/libffi.call/stret_large.c,
46
- testsuite/libffi.call/stret_large2.c: Remove xfail for arm*-*-*.
47
-
48
- 2009-12-26 Andreas Tobler <a.tobler@schweiz.org>
49
- Anthony Green <green@redhat.com>
50
-
51
- * testsuite/libffi.call/huge_struct.c (test_large_fn): Replace
52
- format code %p with %#lx because %p does not add a leading 0x on
53
- Solaris. Also change relevant arguments to unsigned long.
3
+ * testsuite/lib/libffi.exp: Tweak for stand-alone mode.
54
4
 
55
5
  2009-12-25 Samuli Suominen <ssuominen@gentoo.org>
56
6
 
@@ -58,30 +8,6 @@
58
8
  * configure: Rebuilt.
59
9
  * fficonfig.h.in: Rebuilt.
60
10
 
61
- 2009-12-29 Kay Tietz <ktietz70@googlemail.com>
62
-
63
- * testsuite/libffi.call/ffitest.h,
64
- testsuite/libffi.special/ffitestcxx.h (PRIdLL, PRuLL): Fix
65
- definitions.
66
-
67
- 2009-12-25 Carlo Bramini <carlo.bramix@libero.it>
68
-
69
- * configure.ac (AM_LTLDFLAGS): Define for windows hosts.
70
- * Makefile.am (libffi_la_LDFLAGS): Add AM_LTLDFLAGS.
71
- * configure: Rebuilt.
72
- * Makefile.in: Rebuilt.
73
-
74
- 2009-12-24 Anthony Green <green@redhat.com>
75
-
76
- * testsuite/libffi.call/huge_struct.c: Fix printf format, and
77
- don't xfail x86 Linux.
78
- * testsuite/libffi.call/huge_struct.c: Don't xfail mips.
79
- * testsuite/libffi.call/cls_pointer.c: Ditto.
80
- * testsuite/libffi.call/cls_pointer_stack.c: Ditto.
81
- * testsuite/libffi.call/cls_longdouble_va.c: Ditto.
82
- * testsuite/libffi.call/cls_longdouble.c: Ditto.
83
- * testsuite/libffi.call/cls_double_va.c: Ditto.
84
-
85
11
  2009-06-16 Andrew Haley <aph@redhat.com>
86
12
 
87
13
  * testsuite/libffi.call/cls_align_sint64.c,
@@ -257,20 +183,20 @@
257
183
  2008-12-22 Timothy Wall <twall@users.sf.net>
258
184
 
259
185
  * testsuite/libffi.call/closure_fn0.c,
260
- testsuite/libffi.call/closure_fn1.c,
261
- testsuite/libffi.call/closure_fn2.c,
262
- testsuite/libffi.call/closure_fn3.c,
263
- testsuite/libffi.call/closure_fn4.c,
264
- testsuite/libffi.call/closure_fn5.c,
265
- testsuite/libffi.call/closure_fn6.c,
266
- testsuite/libffi.call/closure_loc_fn0.c,
267
- testsuite/libffi.call/closure_stdcall.c,
268
- testsuite/libffi.call/cls_align_pointer.c,
269
- testsuite/libffi.call/cls_pointer.c,
186
+ testsuite/libffi.call/closure_fn1.c,
187
+ testsuite/libffi.call/closure_fn2.c,
188
+ testsuite/libffi.call/closure_fn3.c,
189
+ testsuite/libffi.call/closure_fn4.c,
190
+ testsuite/libffi.call/closure_fn5.c,
191
+ testsuite/libffi.call/closure_fn6.c,
192
+ testsuite/libffi.call/closure_loc_fn0.c,
193
+ testsuite/libffi.call/closure_stdcall.c,
194
+ testsuite/libffi.call/cls_align_pointer.c,
195
+ testsuite/libffi.call/cls_pointer.c,
270
196
  testsuite/libffi.call/cls_pointer_stack.c: use portable cast from
271
197
  pointer to integer (intptr_t).
272
198
  * testsuite/libffi.call/cls_longdouble.c: disable for win64.
273
-
199
+
274
200
  2008-12-19 Anthony Green <green@redhat.com>
275
201
 
276
202
  * configure.ac: Bump version to 3.0.8.
@@ -1,4 +1,4 @@
1
- libffi - Copyright (c) 1996-2009 Anthony Green, Red Hat, Inc and others.
1
+ libffi - Copyright (c) 1996-2011 Anthony Green, Red Hat, Inc and others.
2
2
  See source files for details.
3
3
 
4
4
  Permission is hereby granted, free of charge, to any person obtaining
@@ -9,8 +9,8 @@ distribute, sublicense, and/or sell copies of the Software, and to
9
9
  permit persons to whom the Software is furnished to do so, subject to
10
10
  the following conditions:
11
11
 
12
- The above copyright notice and this permission notice shall be included
13
- in all copies or substantial portions of the Software.
12
+ The above copyright notice and this permission notice shall be
13
+ included in all copies or substantial portions of the Software.
14
14
 
15
15
  THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND,
16
16
  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
@@ -4,35 +4,36 @@ AUTOMAKE_OPTIONS = foreign subdir-objects
4
4
 
5
5
  SUBDIRS = include testsuite man
6
6
 
7
- EXTRA_DIST = LICENSE ChangeLog.v1 ChangeLog.libgcj configure.host \
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/avr32/ffi.c src/avr32/sysv.S src/avr32/ffitarget.h \
11
- src/cris/ffi.c src/cris/sysv.S src/cris/ffitarget.h \
12
- src/ia64/ffi.c src/ia64/ffitarget.h src/ia64/ia64_flags.h \
13
- src/ia64/unix.S \
14
- src/mips/ffi.c src/mips/n32.S src/mips/o32.S \
15
- src/mips/ffitarget.h \
16
- src/m32r/ffi.c src/m32r/sysv.S src/m32r/ffitarget.h \
17
- src/m68k/ffi.c src/m68k/sysv.S src/m68k/ffitarget.h \
18
- src/powerpc/ffi.c src/powerpc/sysv.S \
19
- src/powerpc/linux64.S src/powerpc/linux64_closure.S \
20
- src/powerpc/ppc_closure.S src/powerpc/asm.h \
21
- src/powerpc/aix.S src/powerpc/darwin.S \
22
- src/powerpc/aix_closure.S src/powerpc/darwin_closure.S \
23
- src/powerpc/ffi_darwin.c src/powerpc/ffitarget.h \
24
- src/s390/ffi.c src/s390/sysv.S src/s390/ffitarget.h \
25
- src/sh/ffi.c src/sh/sysv.S src/sh/ffitarget.h \
26
- src/sh64/ffi.c src/sh64/sysv.S src/sh64/ffitarget.h \
27
- src/sparc/v8.S src/sparc/v9.S src/sparc/ffitarget.h \
28
- src/sparc/ffi.c src/x86/darwin64.S \
29
- src/x86/ffi.c src/x86/sysv.S src/x86/win32.S src/x86/win64.S \
30
- src/x86/darwin.S src/x86/freebsd.S \
31
- src/x86/ffi64.c src/x86/unix64.S src/x86/ffitarget.h \
32
- src/pa/ffitarget.h src/pa/ffi.c src/pa/linux.S src/pa/hpux32.S \
33
- src/frv/ffi.c src/frv/eabi.S src/frv/ffitarget.h src/dlmalloc.c \
34
- libtool-version ChangeLog.libffi m4/libtool.m4 \
35
- m4/lt~obsolete.m4 m4/ltoptions.m4 m4/ltsugar.m4 m4/ltversion.m4
7
+ EXTRA_DIST = LICENSE ChangeLog.v1 ChangeLog.libgcj configure.host \
8
+ src/alpha/ffi.c src/alpha/osf.S src/alpha/ffitarget.h \
9
+ src/arm/ffi.c src/arm/sysv.S src/arm/trampoline.S \
10
+ src/arm/ffitarget.h src/avr32/ffi.c src/avr32/sysv.S \
11
+ src/avr32/ffitarget.h src/cris/ffi.c src/cris/sysv.S \
12
+ src/cris/ffitarget.h src/ia64/ffi.c src/ia64/ffitarget.h \
13
+ src/ia64/ia64_flags.h src/ia64/unix.S src/mips/ffi.c \
14
+ src/mips/n32.S src/mips/o32.S src/mips/ffitarget.h \
15
+ src/m32r/ffi.c src/m32r/sysv.S src/m32r/ffitarget.h \
16
+ src/m68k/ffi.c src/m68k/sysv.S src/m68k/ffitarget.h \
17
+ src/powerpc/ffi.c src/powerpc/sysv.S src/powerpc/linux64.S \
18
+ src/powerpc/linux64_closure.S src/powerpc/ppc_closure.S \
19
+ src/powerpc/asm.h src/powerpc/aix.S src/powerpc/darwin.S \
20
+ src/powerpc/aix_closure.S src/powerpc/darwin_closure.S \
21
+ src/powerpc/ffi_darwin.c src/powerpc/ffitarget.h \
22
+ src/s390/ffi.c src/s390/sysv.S src/s390/ffitarget.h \
23
+ src/sh/ffi.c src/sh/sysv.S src/sh/ffitarget.h src/sh64/ffi.c \
24
+ src/sh64/sysv.S src/sh64/ffitarget.h src/sparc/v8.S \
25
+ src/sparc/v9.S src/sparc/ffitarget.h src/sparc/ffi.c \
26
+ src/x86/darwin64.S src/x86/ffi.c src/x86/sysv.S \
27
+ src/x86/win32.S src/x86/win64.S src/x86/darwin.S \
28
+ src/x86/freebsd.S src/x86/ffi64.c src/x86/unix64.S \
29
+ src/x86/ffitarget.h src/pa/ffitarget.h src/pa/ffi.c \
30
+ src/pa/linux.S src/pa/hpux32.S src/frv/ffi.c src/frv/eabi.S \
31
+ src/frv/ffitarget.h src/dlmalloc.c src/moxie/ffi.c \
32
+ src/moxie/eabi.S libtool-version ChangeLog.libffi \
33
+ m4/libtool.m4 m4/lt~obsolete.m4 m4/ltoptions.m4 m4/ltsugar.m4 \
34
+ m4/ltversion.m4 build-ios.sh src/arm/gentramp.sh src/debug.c \
35
+ msvcc.sh
36
+
36
37
 
37
38
  info_TEXINFOS = doc/libffi.texi
38
39
 
@@ -69,6 +70,7 @@ AM_MAKEFLAGS = \
69
70
  "exec_prefix=$(exec_prefix)" \
70
71
  "infodir=$(infodir)" \
71
72
  "libdir=$(libdir)" \
73
+ "mandir=$(mandir)" \
72
74
  "prefix=$(prefix)" \
73
75
  "AR=$(AR)" \
74
76
  "AS=$(AS)" \
@@ -141,6 +143,9 @@ nodist_libffi_la_SOURCES += src/powerpc/ffi.c src/powerpc/sysv.S src/powerpc/ppc
141
143
  endif
142
144
  if ARM
143
145
  nodist_libffi_la_SOURCES += src/arm/sysv.S src/arm/ffi.c
146
+ if FFI_EXEC_TRAMPOLINE_TABLE
147
+ nodist_libffi_la_SOURCES += src/arm/trampoline.S
148
+ endif
144
149
  endif
145
150
  if AVR32
146
151
  nodist_libffi_la_SOURCES += src/avr32/sysv.S src/avr32/ffi.c
@@ -173,9 +178,14 @@ endif
173
178
  libffi_convenience_la_SOURCES = $(libffi_la_SOURCES)
174
179
  nodist_libffi_convenience_la_SOURCES = $(nodist_libffi_la_SOURCES)
175
180
 
176
- AM_CFLAGS = -Wall -g -fexceptions
181
+ AM_CFLAGS = -g
182
+ if FFI_DEBUG
183
+ # Build debug. Define FFI_DEBUG on the commandline so that, when building with
184
+ # MSVC, it can link against the debug CRT.
185
+ AM_CFLAGS += -DFFI_DEBUG
186
+ endif
177
187
 
178
- libffi_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version` $(AM_LTLDFLAGS)
188
+ libffi_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version` $(LTLDFLAGS) $(AM_LTLDFLAGS)
179
189
 
180
190
  AM_CPPFLAGS = -I. -I$(top_srcdir)/include -Iinclude -I$(top_srcdir)/src
181
191
  AM_CCASFLAGS = $(AM_CPPFLAGS)
@@ -184,4 +194,3 @@ AM_CCASFLAGS = $(AM_CPPFLAGS)
184
194
  .PHONY: install-html install-pdf
185
195
  install-html:
186
196
  install-pdf:
187
-
@@ -1,4 +1,4 @@
1
- # Makefile.in generated by automake 1.11 from Makefile.am.
1
+ # Makefile.in generated by automake 1.11.1 from Makefile.am.
2
2
  # @configure_input@
3
3
 
4
4
  # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -52,15 +52,19 @@ target_triplet = @target@
52
52
  @POWERPC_DARWIN_TRUE@am__append_14 = src/powerpc/ffi_darwin.c src/powerpc/darwin.S src/powerpc/darwin_closure.S
53
53
  @POWERPC_FREEBSD_TRUE@am__append_15 = src/powerpc/ffi.c src/powerpc/sysv.S src/powerpc/ppc_closure.S
54
54
  @ARM_TRUE@am__append_16 = src/arm/sysv.S src/arm/ffi.c
55
- @AVR32_TRUE@am__append_17 = src/avr32/sysv.S src/avr32/ffi.c
56
- @LIBFFI_CRIS_TRUE@am__append_18 = src/cris/sysv.S src/cris/ffi.c
57
- @FRV_TRUE@am__append_19 = src/frv/eabi.S src/frv/ffi.c
58
- @S390_TRUE@am__append_20 = src/s390/sysv.S src/s390/ffi.c
59
- @X86_64_TRUE@am__append_21 = src/x86/ffi64.c src/x86/unix64.S src/x86/ffi.c src/x86/sysv.S
60
- @SH_TRUE@am__append_22 = src/sh/sysv.S src/sh/ffi.c
61
- @SH64_TRUE@am__append_23 = src/sh64/sysv.S src/sh64/ffi.c
62
- @PA_LINUX_TRUE@am__append_24 = src/pa/linux.S src/pa/ffi.c
63
- @PA_HPUX_TRUE@am__append_25 = src/pa/hpux32.S src/pa/ffi.c
55
+ @ARM_TRUE@@FFI_EXEC_TRAMPOLINE_TABLE_TRUE@am__append_17 = src/arm/trampoline.S
56
+ @AVR32_TRUE@am__append_18 = src/avr32/sysv.S src/avr32/ffi.c
57
+ @LIBFFI_CRIS_TRUE@am__append_19 = src/cris/sysv.S src/cris/ffi.c
58
+ @FRV_TRUE@am__append_20 = src/frv/eabi.S src/frv/ffi.c
59
+ @S390_TRUE@am__append_21 = src/s390/sysv.S src/s390/ffi.c
60
+ @X86_64_TRUE@am__append_22 = src/x86/ffi64.c src/x86/unix64.S src/x86/ffi.c src/x86/sysv.S
61
+ @SH_TRUE@am__append_23 = src/sh/sysv.S src/sh/ffi.c
62
+ @SH64_TRUE@am__append_24 = src/sh64/sysv.S src/sh64/ffi.c
63
+ @PA_LINUX_TRUE@am__append_25 = src/pa/linux.S src/pa/ffi.c
64
+ @PA_HPUX_TRUE@am__append_26 = src/pa/hpux32.S src/pa/ffi.c
65
+ # Build debug. Define FFI_DEBUG on the commandline so that, when building with
66
+ # MSVC, it can link against the debug CRT.
67
+ @FFI_DEBUG_TRUE@am__append_27 = -DFFI_DEBUG
64
68
  subdir = .
65
69
  DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
66
70
  $(srcdir)/Makefile.in $(srcdir)/doc/stamp-vti \
@@ -69,7 +73,17 @@ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
69
73
  compile config.guess config.sub depcomp install-sh ltmain.sh \
70
74
  mdate-sh missing texinfo.tex
71
75
  ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
72
- am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
76
+ am__aclocal_m4_deps = $(top_srcdir)/m4/ax_cc_maxopt.m4 \
77
+ $(top_srcdir)/m4/ax_cflags_warn_all.m4 \
78
+ $(top_srcdir)/m4/ax_check_compiler_flags.m4 \
79
+ $(top_srcdir)/m4/ax_compiler_vendor.m4 \
80
+ $(top_srcdir)/m4/ax_configure_args.m4 \
81
+ $(top_srcdir)/m4/ax_enable_builddir.m4 \
82
+ $(top_srcdir)/m4/ax_gcc_archflag.m4 \
83
+ $(top_srcdir)/m4/ax_gcc_x86_cpuid.m4 \
84
+ $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
85
+ $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
86
+ $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
73
87
  $(top_srcdir)/configure.ac
74
88
  am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
75
89
  $(ACLOCAL_M4)
@@ -135,16 +149,17 @@ am_libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo src/types.lo \
135
149
  @POWERPC_FREEBSD_TRUE@ src/powerpc/sysv.lo \
136
150
  @POWERPC_FREEBSD_TRUE@ src/powerpc/ppc_closure.lo
137
151
  @ARM_TRUE@am__objects_16 = src/arm/sysv.lo src/arm/ffi.lo
138
- @AVR32_TRUE@am__objects_17 = src/avr32/sysv.lo src/avr32/ffi.lo
139
- @LIBFFI_CRIS_TRUE@am__objects_18 = src/cris/sysv.lo src/cris/ffi.lo
140
- @FRV_TRUE@am__objects_19 = src/frv/eabi.lo src/frv/ffi.lo
141
- @S390_TRUE@am__objects_20 = src/s390/sysv.lo src/s390/ffi.lo
142
- @X86_64_TRUE@am__objects_21 = src/x86/ffi64.lo src/x86/unix64.lo \
152
+ @ARM_TRUE@@FFI_EXEC_TRAMPOLINE_TABLE_TRUE@am__objects_17 = src/arm/trampoline.lo
153
+ @AVR32_TRUE@am__objects_18 = src/avr32/sysv.lo src/avr32/ffi.lo
154
+ @LIBFFI_CRIS_TRUE@am__objects_19 = src/cris/sysv.lo src/cris/ffi.lo
155
+ @FRV_TRUE@am__objects_20 = src/frv/eabi.lo src/frv/ffi.lo
156
+ @S390_TRUE@am__objects_21 = src/s390/sysv.lo src/s390/ffi.lo
157
+ @X86_64_TRUE@am__objects_22 = src/x86/ffi64.lo src/x86/unix64.lo \
143
158
  @X86_64_TRUE@ src/x86/ffi.lo src/x86/sysv.lo
144
- @SH_TRUE@am__objects_22 = src/sh/sysv.lo src/sh/ffi.lo
145
- @SH64_TRUE@am__objects_23 = src/sh64/sysv.lo src/sh64/ffi.lo
146
- @PA_LINUX_TRUE@am__objects_24 = src/pa/linux.lo src/pa/ffi.lo
147
- @PA_HPUX_TRUE@am__objects_25 = src/pa/hpux32.lo src/pa/ffi.lo
159
+ @SH_TRUE@am__objects_23 = src/sh/sysv.lo src/sh/ffi.lo
160
+ @SH64_TRUE@am__objects_24 = src/sh64/sysv.lo src/sh64/ffi.lo
161
+ @PA_LINUX_TRUE@am__objects_25 = src/pa/linux.lo src/pa/ffi.lo
162
+ @PA_HPUX_TRUE@am__objects_26 = src/pa/hpux32.lo src/pa/ffi.lo
148
163
  nodist_libffi_la_OBJECTS = $(am__objects_1) $(am__objects_2) \
149
164
  $(am__objects_3) $(am__objects_4) $(am__objects_5) \
150
165
  $(am__objects_6) $(am__objects_7) $(am__objects_8) \
@@ -153,17 +168,17 @@ nodist_libffi_la_OBJECTS = $(am__objects_1) $(am__objects_2) \
153
168
  $(am__objects_15) $(am__objects_16) $(am__objects_17) \
154
169
  $(am__objects_18) $(am__objects_19) $(am__objects_20) \
155
170
  $(am__objects_21) $(am__objects_22) $(am__objects_23) \
156
- $(am__objects_24) $(am__objects_25)
171
+ $(am__objects_24) $(am__objects_25) $(am__objects_26)
157
172
  libffi_la_OBJECTS = $(am_libffi_la_OBJECTS) \
158
173
  $(nodist_libffi_la_OBJECTS)
159
174
  libffi_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
160
175
  $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
161
176
  $(libffi_la_LDFLAGS) $(LDFLAGS) -o $@
162
177
  libffi_convenience_la_LIBADD =
163
- am__objects_26 = src/debug.lo src/prep_cif.lo src/types.lo \
178
+ am__objects_27 = src/debug.lo src/prep_cif.lo src/types.lo \
164
179
  src/raw_api.lo src/java_raw_api.lo src/closures.lo
165
- am_libffi_convenience_la_OBJECTS = $(am__objects_26)
166
- am__objects_27 = $(am__objects_1) $(am__objects_2) $(am__objects_3) \
180
+ am_libffi_convenience_la_OBJECTS = $(am__objects_27)
181
+ am__objects_28 = $(am__objects_1) $(am__objects_2) $(am__objects_3) \
167
182
  $(am__objects_4) $(am__objects_5) $(am__objects_6) \
168
183
  $(am__objects_7) $(am__objects_8) $(am__objects_9) \
169
184
  $(am__objects_10) $(am__objects_11) $(am__objects_12) \
@@ -171,8 +186,8 @@ am__objects_27 = $(am__objects_1) $(am__objects_2) $(am__objects_3) \
171
186
  $(am__objects_16) $(am__objects_17) $(am__objects_18) \
172
187
  $(am__objects_19) $(am__objects_20) $(am__objects_21) \
173
188
  $(am__objects_22) $(am__objects_23) $(am__objects_24) \
174
- $(am__objects_25)
175
- nodist_libffi_convenience_la_OBJECTS = $(am__objects_27)
189
+ $(am__objects_25) $(am__objects_26)
190
+ nodist_libffi_convenience_la_OBJECTS = $(am__objects_28)
176
191
  libffi_convenience_la_OBJECTS = $(am_libffi_convenience_la_OBJECTS) \
177
192
  $(nodist_libffi_convenience_la_OBJECTS)
178
193
  DEFAULT_INCLUDES = -I.@am__isrc@
@@ -282,6 +297,7 @@ CPPFLAGS = @CPPFLAGS@
282
297
  CYGPATH_W = @CYGPATH_W@
283
298
  DEFS = @DEFS@
284
299
  DEPDIR = @DEPDIR@
300
+ DLLTOOL = @DLLTOOL@
285
301
  DSYMUTIL = @DSYMUTIL@
286
302
  DUMPBIN = @DUMPBIN@
287
303
  ECHO_C = @ECHO_C@
@@ -289,6 +305,7 @@ ECHO_N = @ECHO_N@
289
305
  ECHO_T = @ECHO_T@
290
306
  EGREP = @EGREP@
291
307
  EXEEXT = @EXEEXT@
308
+ FFI_EXEC_TRAMPOLINE_TABLE = @FFI_EXEC_TRAMPOLINE_TABLE@
292
309
  FGREP = @FGREP@
293
310
  GREP = @GREP@
294
311
  HAVE_LONG_DOUBLE = @HAVE_LONG_DOUBLE@
@@ -307,6 +324,7 @@ LN_S = @LN_S@
307
324
  LTLIBOBJS = @LTLIBOBJS@
308
325
  MAINT = @MAINT@
309
326
  MAKEINFO = @MAKEINFO@
327
+ MANIFEST_TOOL = @MANIFEST_TOOL@
310
328
  MKDIR_P = @MKDIR_P@
311
329
  NM = @NM@
312
330
  NMEDIT = @NMEDIT@
@@ -319,8 +337,10 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
319
337
  PACKAGE_NAME = @PACKAGE_NAME@
320
338
  PACKAGE_STRING = @PACKAGE_STRING@
321
339
  PACKAGE_TARNAME = @PACKAGE_TARNAME@
340
+ PACKAGE_URL = @PACKAGE_URL@
322
341
  PACKAGE_VERSION = @PACKAGE_VERSION@
323
342
  PATH_SEPARATOR = @PATH_SEPARATOR@
343
+ PRTDIAG = @PRTDIAG@
324
344
  RANLIB = @RANLIB@
325
345
  SED = @SED@
326
346
  SET_MAKE = @SET_MAKE@
@@ -333,6 +353,7 @@ abs_builddir = @abs_builddir@
333
353
  abs_srcdir = @abs_srcdir@
334
354
  abs_top_builddir = @abs_top_builddir@
335
355
  abs_top_srcdir = @abs_top_srcdir@
356
+ ac_ct_AR = @ac_ct_AR@
336
357
  ac_ct_CC = @ac_ct_CC@
337
358
  ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
338
359
  am__include = @am__include@
@@ -340,6 +361,7 @@ am__leading_dot = @am__leading_dot@
340
361
  am__quote = @am__quote@
341
362
  am__tar = @am__tar@
342
363
  am__untar = @am__untar@
364
+ ax_enable_builddir_sed = @ax_enable_builddir_sed@
343
365
  bindir = @bindir@
344
366
  build = @build@
345
367
  build_alias = @build_alias@
@@ -365,7 +387,6 @@ libdir = @libdir@
365
387
  libexecdir = @libexecdir@
366
388
  localedir = @localedir@
367
389
  localstatedir = @localstatedir@
368
- lt_ECHO = @lt_ECHO@
369
390
  mandir = @mandir@
370
391
  mkdir_p = @mkdir_p@
371
392
  oldincludedir = @oldincludedir@
@@ -376,6 +397,7 @@ psdir = @psdir@
376
397
  sbindir = @sbindir@
377
398
  sharedstatedir = @sharedstatedir@
378
399
  srcdir = @srcdir@
400
+ sys_symbol_underscore = @sys_symbol_underscore@
379
401
  sysconfdir = @sysconfdir@
380
402
  target = @target@
381
403
  target_alias = @target_alias@
@@ -389,35 +411,35 @@ top_builddir = @top_builddir@
389
411
  top_srcdir = @top_srcdir@
390
412
  AUTOMAKE_OPTIONS = foreign subdir-objects
391
413
  SUBDIRS = include testsuite man
392
- EXTRA_DIST = LICENSE ChangeLog.v1 ChangeLog.libgcj configure.host \
393
- src/alpha/ffi.c src/alpha/osf.S src/alpha/ffitarget.h \
394
- src/arm/ffi.c src/arm/sysv.S src/arm/ffitarget.h \
395
- src/avr32/ffi.c src/avr32/sysv.S src/avr32/ffitarget.h \
396
- src/cris/ffi.c src/cris/sysv.S src/cris/ffitarget.h \
397
- src/ia64/ffi.c src/ia64/ffitarget.h src/ia64/ia64_flags.h \
398
- src/ia64/unix.S \
399
- src/mips/ffi.c src/mips/n32.S src/mips/o32.S \
400
- src/mips/ffitarget.h \
401
- src/m32r/ffi.c src/m32r/sysv.S src/m32r/ffitarget.h \
402
- src/m68k/ffi.c src/m68k/sysv.S src/m68k/ffitarget.h \
403
- src/powerpc/ffi.c src/powerpc/sysv.S \
404
- src/powerpc/linux64.S src/powerpc/linux64_closure.S \
405
- src/powerpc/ppc_closure.S src/powerpc/asm.h \
406
- src/powerpc/aix.S src/powerpc/darwin.S \
407
- src/powerpc/aix_closure.S src/powerpc/darwin_closure.S \
408
- src/powerpc/ffi_darwin.c src/powerpc/ffitarget.h \
409
- src/s390/ffi.c src/s390/sysv.S src/s390/ffitarget.h \
410
- src/sh/ffi.c src/sh/sysv.S src/sh/ffitarget.h \
411
- src/sh64/ffi.c src/sh64/sysv.S src/sh64/ffitarget.h \
412
- src/sparc/v8.S src/sparc/v9.S src/sparc/ffitarget.h \
413
- src/sparc/ffi.c src/x86/darwin64.S \
414
- src/x86/ffi.c src/x86/sysv.S src/x86/win32.S src/x86/win64.S \
415
- src/x86/darwin.S src/x86/freebsd.S \
416
- src/x86/ffi64.c src/x86/unix64.S src/x86/ffitarget.h \
417
- src/pa/ffitarget.h src/pa/ffi.c src/pa/linux.S src/pa/hpux32.S \
418
- src/frv/ffi.c src/frv/eabi.S src/frv/ffitarget.h src/dlmalloc.c \
419
- libtool-version ChangeLog.libffi m4/libtool.m4 \
420
- m4/lt~obsolete.m4 m4/ltoptions.m4 m4/ltsugar.m4 m4/ltversion.m4
414
+ EXTRA_DIST = LICENSE ChangeLog.v1 ChangeLog.libgcj configure.host \
415
+ src/alpha/ffi.c src/alpha/osf.S src/alpha/ffitarget.h \
416
+ src/arm/ffi.c src/arm/sysv.S src/arm/trampoline.S \
417
+ src/arm/ffitarget.h src/avr32/ffi.c src/avr32/sysv.S \
418
+ src/avr32/ffitarget.h src/cris/ffi.c src/cris/sysv.S \
419
+ src/cris/ffitarget.h src/ia64/ffi.c src/ia64/ffitarget.h \
420
+ src/ia64/ia64_flags.h src/ia64/unix.S src/mips/ffi.c \
421
+ src/mips/n32.S src/mips/o32.S src/mips/ffitarget.h \
422
+ src/m32r/ffi.c src/m32r/sysv.S src/m32r/ffitarget.h \
423
+ src/m68k/ffi.c src/m68k/sysv.S src/m68k/ffitarget.h \
424
+ src/powerpc/ffi.c src/powerpc/sysv.S src/powerpc/linux64.S \
425
+ src/powerpc/linux64_closure.S src/powerpc/ppc_closure.S \
426
+ src/powerpc/asm.h src/powerpc/aix.S src/powerpc/darwin.S \
427
+ src/powerpc/aix_closure.S src/powerpc/darwin_closure.S \
428
+ src/powerpc/ffi_darwin.c src/powerpc/ffitarget.h \
429
+ src/s390/ffi.c src/s390/sysv.S src/s390/ffitarget.h \
430
+ src/sh/ffi.c src/sh/sysv.S src/sh/ffitarget.h src/sh64/ffi.c \
431
+ src/sh64/sysv.S src/sh64/ffitarget.h src/sparc/v8.S \
432
+ src/sparc/v9.S src/sparc/ffitarget.h src/sparc/ffi.c \
433
+ src/x86/darwin64.S src/x86/ffi.c src/x86/sysv.S \
434
+ src/x86/win32.S src/x86/win64.S src/x86/darwin.S \
435
+ src/x86/freebsd.S src/x86/ffi64.c src/x86/unix64.S \
436
+ src/x86/ffitarget.h src/pa/ffitarget.h src/pa/ffi.c \
437
+ src/pa/linux.S src/pa/hpux32.S src/frv/ffi.c src/frv/eabi.S \
438
+ src/frv/ffitarget.h src/dlmalloc.c src/moxie/ffi.c \
439
+ src/moxie/eabi.S libtool-version ChangeLog.libffi \
440
+ m4/libtool.m4 m4/lt~obsolete.m4 m4/ltoptions.m4 m4/ltsugar.m4 \
441
+ m4/ltversion.m4 build-ios.sh src/arm/gentramp.sh src/debug.c \
442
+ msvcc.sh
421
443
 
422
444
  info_TEXINFOS = doc/libffi.texi
423
445
 
@@ -448,6 +470,7 @@ AM_MAKEFLAGS = \
448
470
  "exec_prefix=$(exec_prefix)" \
449
471
  "infodir=$(infodir)" \
450
472
  "libdir=$(libdir)" \
473
+ "mandir=$(mandir)" \
451
474
  "prefix=$(prefix)" \
452
475
  "AR=$(AR)" \
453
476
  "AS=$(AS)" \
@@ -475,11 +498,11 @@ nodist_libffi_la_SOURCES = $(am__append_1) $(am__append_2) \
475
498
  $(am__append_15) $(am__append_16) $(am__append_17) \
476
499
  $(am__append_18) $(am__append_19) $(am__append_20) \
477
500
  $(am__append_21) $(am__append_22) $(am__append_23) \
478
- $(am__append_24) $(am__append_25)
501
+ $(am__append_24) $(am__append_25) $(am__append_26)
479
502
  libffi_convenience_la_SOURCES = $(libffi_la_SOURCES)
480
503
  nodist_libffi_convenience_la_SOURCES = $(nodist_libffi_la_SOURCES)
481
- AM_CFLAGS = -Wall -g -fexceptions
482
- libffi_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version` $(AM_LTLDFLAGS)
504
+ AM_CFLAGS = -g $(am__append_27)
505
+ libffi_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version` $(LTLDFLAGS) $(AM_LTLDFLAGS)
483
506
  AM_CPPFLAGS = -I. -I$(top_srcdir)/include -Iinclude -I$(top_srcdir)/src
484
507
  AM_CCASFLAGS = $(AM_CPPFLAGS)
485
508
  all: fficonfig.h
@@ -714,6 +737,8 @@ src/arm/sysv.lo: src/arm/$(am__dirstamp) \
714
737
  src/arm/$(DEPDIR)/$(am__dirstamp)
715
738
  src/arm/ffi.lo: src/arm/$(am__dirstamp) \
716
739
  src/arm/$(DEPDIR)/$(am__dirstamp)
740
+ src/arm/trampoline.lo: src/arm/$(am__dirstamp) \
741
+ src/arm/$(DEPDIR)/$(am__dirstamp)
717
742
  src/avr32/$(am__dirstamp):
718
743
  @$(MKDIR_P) src/avr32
719
744
  @: > src/avr32/$(am__dirstamp)
@@ -801,6 +826,8 @@ mostlyclean-compile:
801
826
  -rm -f src/arm/ffi.lo
802
827
  -rm -f src/arm/sysv.$(OBJEXT)
803
828
  -rm -f src/arm/sysv.lo
829
+ -rm -f src/arm/trampoline.$(OBJEXT)
830
+ -rm -f src/arm/trampoline.lo
804
831
  -rm -f src/avr32/ffi.$(OBJEXT)
805
832
  -rm -f src/avr32/ffi.lo
806
833
  -rm -f src/avr32/sysv.$(OBJEXT)
@@ -919,6 +946,7 @@ distclean-compile:
919
946
  @AMDEP_TRUE@@am__include@ @am__quote@src/alpha/$(DEPDIR)/osf.Plo@am__quote@
920
947
  @AMDEP_TRUE@@am__include@ @am__quote@src/arm/$(DEPDIR)/ffi.Plo@am__quote@
921
948
  @AMDEP_TRUE@@am__include@ @am__quote@src/arm/$(DEPDIR)/sysv.Plo@am__quote@
949
+ @AMDEP_TRUE@@am__include@ @am__quote@src/arm/$(DEPDIR)/trampoline.Plo@am__quote@
922
950
  @AMDEP_TRUE@@am__include@ @am__quote@src/avr32/$(DEPDIR)/ffi.Plo@am__quote@
923
951
  @AMDEP_TRUE@@am__include@ @am__quote@src/avr32/$(DEPDIR)/sysv.Plo@am__quote@
924
952
  @AMDEP_TRUE@@am__include@ @am__quote@src/cris/$(DEPDIR)/ffi.Plo@am__quote@
@@ -1232,7 +1260,7 @@ uninstall-pkgconfigDATA:
1232
1260
  # (which will cause the Makefiles to be regenerated when you run `make');
1233
1261
  # (2) otherwise, pass the desired values on the `make' command line.
1234
1262
  $(RECURSIVE_TARGETS):
1235
- @failcom='exit 1'; \
1263
+ @fail= failcom='exit 1'; \
1236
1264
  for f in x $$MAKEFLAGS; do \
1237
1265
  case $$f in \
1238
1266
  *=* | --[!k]*);; \
@@ -1257,7 +1285,7 @@ $(RECURSIVE_TARGETS):
1257
1285
  fi; test -z "$$fail"
1258
1286
 
1259
1287
  $(RECURSIVE_CLEAN_TARGETS):
1260
- @failcom='exit 1'; \
1288
+ @fail= failcom='exit 1'; \
1261
1289
  for f in x $$MAKEFLAGS; do \
1262
1290
  case $$f in \
1263
1291
  *=* | --[!k]*);; \
@@ -1424,7 +1452,8 @@ distdir: $(DISTFILES)
1424
1452
  top_distdir="$(top_distdir)" distdir="$(distdir)" \
1425
1453
  dist-info
1426
1454
  -test -n "$(am__skip_mode_fix)" \
1427
- || find "$(distdir)" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
1455
+ || find "$(distdir)" -type d ! -perm -755 \
1456
+ -exec chmod u+rwx,go+rx {} \; -o \
1428
1457
  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
1429
1458
  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
1430
1459
  ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
@@ -1468,17 +1497,17 @@ dist dist-all: distdir
1468
1497
  distcheck: dist
1469
1498
  case '$(DIST_ARCHIVES)' in \
1470
1499
  *.tar.gz*) \
1471
- GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
1500
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
1472
1501
  *.tar.bz2*) \
1473
- bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
1502
+ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
1474
1503
  *.tar.lzma*) \
1475
- unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
1504
+ lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
1476
1505
  *.tar.xz*) \
1477
1506
  xz -dc $(distdir).tar.xz | $(am__untar) ;;\
1478
1507
  *.tar.Z*) \
1479
1508
  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
1480
1509
  *.shar.gz*) \
1481
- GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
1510
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
1482
1511
  *.zip*) \
1483
1512
  unzip $(distdir).zip ;;\
1484
1513
  esac