Permalink
Browse files

Initial stand-alone patch.

  • Loading branch information...
1 parent c6dddbd commit 5cbe2058c128e848446ae79fe15ee54260a90559 @atgreen atgreen committed Oct 5, 2009
Showing with 46,643 additions and 10,623 deletions.
  1. +574 −0 ChangeLog.libffi
  2. +8 −7 LICENSE
  3. +15 −17 Makefile.am
  4. +490 −445 Makefile.in
  5. +6,600 −309 aclocal.m4
  6. +142 −0 compile
  7. +1,411 −0 config.guess
  8. +1,500 −0 config.sub
  9. +19,049 −9,350 configure
  10. +8 −10 configure.ac
  11. +584 −0 depcomp
  12. +17 −17 doc/libffi.info
  13. +4 −4 doc/stamp-vti
  14. +4 −4 doc/version.texi
  15. +2 −5 include/Makefile.am
  16. +153 −164 include/Makefile.in
  17. +323 −0 install-sh
  18. +10 −0 libffi.pc.in
  19. +24 −1 libtool-version
  20. +6,911 −0 ltmain.sh
  21. +152 −166 man/Makefile.in
  22. +201 −0 mdate-sh
  23. +360 −0 missing
  24. +55 −0 testsuite/Makefile.am
  25. +170 −103 testsuite/Makefile.in
  26. +6 −12 testsuite/lib/libffi-dg.exp
  27. +263 −0 testsuite/lib/target-libpath.exp
  28. +45 −0 testsuite/lib/wrapper.exp
  29. +4 −4 testsuite/libffi.call/call.exp
  30. +1 −1 testsuite/libffi.call/float2.c
  31. +342 −0 testsuite/libffi.call/huge_struct.c
  32. +5 −4 testsuite/libffi.special/special.exp
  33. +7,210 −0 texinfo.tex
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
15 LICENSE
@@ -1,4 +1,5 @@
-libffi - Copyright (c) 1996-2003 Red Hat, Inc.
+libffi - Copyright (c) 1996-2009 Anthony Green, Red Hat, Inc and others.
+See source files for details.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
@@ -11,10 +12,10 @@ the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
-THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS
-OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL CYGNUS SOLUTIONS BE LIABLE FOR ANY CLAIM, DAMAGES OR
-OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
-ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
@@ -1,7 +1,6 @@
## Process this with automake to create Makefile.in
AUTOMAKE_OPTIONS = foreign subdir-objects
-ACLOCAL_AMFLAGS = -I .. -I ../config
SUBDIRS = include testsuite man
@@ -26,11 +25,14 @@ EXTRA_DIST = LICENSE ChangeLog.v1 ChangeLog.libgcj configure.host \
src/sh64/ffi.c src/sh64/sysv.S src/sh64/ffitarget.h \
src/sparc/v8.S src/sparc/v9.S src/sparc/ffitarget.h \
src/sparc/ffi.c src/x86/darwin64.S \
- src/x86/ffi.c src/x86/sysv.S src/x86/win32.S src/x86/darwin.S \
+ src/x86/ffi.c src/x86/sysv.S src/x86/win32.S src/x86/win64.S \
+ src/x86/darwin.S src/x86/freebsd.S \
src/x86/ffi64.c src/x86/unix64.S src/x86/ffitarget.h \
src/pa/ffitarget.h src/pa/ffi.c src/pa/linux.S src/pa/hpux32.S \
src/frv/ffi.c src/frv/eabi.S src/frv/ffitarget.h src/dlmalloc.c \
- src/moxie/ffi.c src/moxie/eabi.S
+ libtool-version ChangeLog.libffi
+
+info_TEXINFOS = doc/libffi.texi
## ################################################################
@@ -77,12 +79,15 @@ AM_MAKEFLAGS = \
MAKEOVERRIDES=
-toolexeclib_LTLIBRARIES = libffi.la
+lib_LTLIBRARIES = libffi.la
noinst_LTLIBRARIES = libffi_convenience.la
libffi_la_SOURCES = src/debug.c src/prep_cif.c src/types.c \
src/raw_api.c src/java_raw_api.c src/closures.c
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libffi.pc
+
nodist_libffi_la_SOURCES =
if MIPS
@@ -139,9 +144,6 @@ endif
if FRV
nodist_libffi_la_SOURCES += src/frv/eabi.S src/frv/ffi.c
endif
-if MOXIE
-nodist_libffi_la_SOURCES += src/moxie/eabi.S src/moxie/ffi.c
-endif
if S390
nodist_libffi_la_SOURCES += src/s390/sysv.S src/s390/ffi.c
endif
@@ -166,17 +168,13 @@ nodist_libffi_convenience_la_SOURCES = $(nodist_libffi_la_SOURCES)
AM_CFLAGS = -Wall -g -fexceptions
-LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
-
-libffi_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version` $(LTLDFLAGS)
+libffi_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version`
AM_CPPFLAGS = -I. -I$(top_srcdir)/include -Iinclude -I$(top_srcdir)/src
AM_CCASFLAGS = $(AM_CPPFLAGS)
-# Multilib support. Automake should provide these on its own.
-all-recursive: all-multi
-install-recursive: install-multi
-mostlyclean-recursive: mostlyclean-multi
-clean-recursive: clean-multi
-distclean-recursive: distclean-multi
-maintainer-clean-recursive: maintainer-clean-multi
+# No install-html or install-pdf support in automake yet
+.PHONY: install-html install-pdf
+install-html:
+install-pdf:
+
Oops, something went wrong.

0 comments on commit 5cbe205

Please sign in to comment.