2006-09-12 18:51:43 +02:00
|
|
|
# Makefile.in generated by automake 1.9.6 from Makefile.am.
|
2004-03-11 20:59:49 +01:00
|
|
|
# @configure_input@
|
1999-08-09 00:58:30 +02:00
|
|
|
|
2004-06-15 16:47:55 +02:00
|
|
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
2006-05-24 03:45:57 +02:00
|
|
|
# 2003, 2004, 2005 Free Software Foundation, Inc.
|
1999-08-09 00:58:30 +02:00
|
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
|
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
|
|
# PARTICULAR PURPOSE.
|
|
|
|
|
2004-03-11 20:59:49 +01:00
|
|
|
@SET_MAKE@
|
1999-08-09 00:58:30 +02:00
|
|
|
|
|
|
|
srcdir = @srcdir@
|
|
|
|
top_srcdir = @top_srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
|
|
top_builddir = ..
|
2004-03-11 20:59:49 +01:00
|
|
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
1999-08-09 00:58:30 +02:00
|
|
|
INSTALL = @INSTALL@
|
2004-03-11 20:59:49 +01:00
|
|
|
install_sh_DATA = $(install_sh) -c -m 644
|
|
|
|
install_sh_PROGRAM = $(install_sh) -c
|
|
|
|
install_sh_SCRIPT = $(install_sh) -c
|
|
|
|
INSTALL_HEADER = $(INSTALL_DATA)
|
|
|
|
transform = $(program_transform_name)
|
1999-08-09 00:58:30 +02:00
|
|
|
NORMAL_INSTALL = :
|
|
|
|
PRE_INSTALL = :
|
|
|
|
POST_INSTALL = :
|
|
|
|
NORMAL_UNINSTALL = :
|
|
|
|
PRE_UNINSTALL = :
|
|
|
|
POST_UNINSTALL = :
|
2003-09-04 16:51:43 +02:00
|
|
|
build_triplet = @build@
|
1999-08-09 00:58:30 +02:00
|
|
|
host_triplet = @host@
|
2003-09-04 16:51:43 +02:00
|
|
|
target_triplet = @target@
|
2004-06-15 16:47:55 +02:00
|
|
|
subdir = include
|
|
|
|
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
|
|
|
|
$(srcdir)/ffi.h.in $(toollibffi_HEADERS)
|
|
|
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
2007-01-17 20:48:52 +01:00
|
|
|
am__aclocal_m4_deps = $(top_srcdir)/../config/depstand.m4 \
|
|
|
|
$(top_srcdir)/../config/lead-dot.m4 \
|
|
|
|
$(top_srcdir)/../config/multi.m4 $(top_srcdir)/../libtool.m4 \
|
2006-12-14 08:34:45 +01:00
|
|
|
$(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac
|
2004-06-15 16:47:55 +02:00
|
|
|
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
|
|
|
$(ACLOCAL_M4)
|
|
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
|
|
|
|
CONFIG_HEADER = $(top_builddir)/fficonfig.h
|
|
|
|
CONFIG_CLEAN_FILES = ffi.h ffitarget.h
|
|
|
|
SOURCES =
|
|
|
|
DIST_SOURCES =
|
2004-11-23 05:11:31 +01:00
|
|
|
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
|
|
|
am__vpath_adj = case $$p in \
|
|
|
|
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
|
|
|
*) f=$$p;; \
|
|
|
|
esac;
|
|
|
|
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
|
2006-09-12 18:51:43 +02:00
|
|
|
am__installdirs = "$(DESTDIR)$(toollibffidir)"
|
2004-06-15 16:47:55 +02:00
|
|
|
toollibffiHEADERS_INSTALL = $(INSTALL_HEADER)
|
|
|
|
HEADERS = $(toollibffi_HEADERS)
|
|
|
|
ETAGS = etags
|
|
|
|
CTAGS = ctags
|
|
|
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
2004-03-11 20:59:49 +01:00
|
|
|
ACLOCAL = @ACLOCAL@
|
|
|
|
ALLOCA = @ALLOCA@
|
|
|
|
ALPHA_FALSE = @ALPHA_FALSE@
|
|
|
|
ALPHA_TRUE = @ALPHA_TRUE@
|
|
|
|
AMDEP_FALSE = @AMDEP_FALSE@
|
|
|
|
AMDEP_TRUE = @AMDEP_TRUE@
|
|
|
|
AMTAR = @AMTAR@
|
2003-09-04 16:51:43 +02:00
|
|
|
AM_RUNTESTFLAGS = @AM_RUNTESTFLAGS@
|
2004-03-11 20:59:49 +01:00
|
|
|
ARM_FALSE = @ARM_FALSE@
|
|
|
|
ARM_TRUE = @ARM_TRUE@
|
|
|
|
AUTOCONF = @AUTOCONF@
|
|
|
|
AUTOHEADER = @AUTOHEADER@
|
|
|
|
AUTOMAKE = @AUTOMAKE@
|
|
|
|
AWK = @AWK@
|
1999-08-09 00:58:30 +02:00
|
|
|
CC = @CC@
|
2004-03-11 20:59:49 +01:00
|
|
|
CCAS = @CCAS@
|
|
|
|
CCASFLAGS = @CCASFLAGS@
|
|
|
|
CCDEPMODE = @CCDEPMODE@
|
|
|
|
CFLAGS = @CFLAGS@
|
|
|
|
CPP = @CPP@
|
|
|
|
CPPFLAGS = @CPPFLAGS@
|
|
|
|
CYGPATH_W = @CYGPATH_W@
|
|
|
|
DEFS = @DEFS@
|
|
|
|
DEPDIR = @DEPDIR@
|
|
|
|
ECHO_C = @ECHO_C@
|
|
|
|
ECHO_N = @ECHO_N@
|
|
|
|
ECHO_T = @ECHO_T@
|
|
|
|
EGREP = @EGREP@
|
1999-08-09 00:58:30 +02:00
|
|
|
EXEEXT = @EXEEXT@
|
2004-10-13 19:20:24 +02:00
|
|
|
FRV_FALSE = @FRV_FALSE@
|
|
|
|
FRV_TRUE = @FRV_TRUE@
|
[multiple changes]
2003-10-21 Andreas Tobler <a.tobler@schweiz.ch>
* configure.in: AC_LINK_FILES(ffitarget.h).
* configure: Regenerate.
* Makefile.in: Likewise.
* include/Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.
* fficonfig.h.in: Likewise.
2003-10-21 Paolo Bonzini <bonzini@gnu.org>
Richard Henderson <rth@redhat.com>
Avoid that ffi.h includes fficonfig.h.
* Makefile.am (EXTRA_DIST): Include ffitarget.h files
(TARGET_SRC_MIPS_GCC): Renamed to TARGET_SRC_MIPS_IRIX.
(TARGET_SRC_MIPS_SGI): Removed.
(MIPS_GCC): Renamed to TARGET_SRC_MIPS_IRIX.
(MIPS_SGI): Removed.
(CLEANFILES): Removed.
(mostlyclean-am, clean-am, mostlyclean-sub, clean-sub): New
targets.
* acconfig.h: Removed.
* configure.in: Compute sizeofs only for double and long double.
Use them to define and subst HAVE_LONG_DOUBLE. Include comments
into AC_DEFINE instead of using acconfig.h. Create
include/ffitarget.h instead of include/fficonfig.h. Rename
MIPS_GCC to MIPS_IRIX, drop MIPS_SGI since we are in gcc's tree.
AC_DEFINE EH_FRAME_FLAGS.
* include/Makefile.am (DISTCLEANFILES): New automake macro.
(hack_DATA): Add ffitarget.h.
* include/ffi.h.in: Remove all system specific definitions.
Declare raw API even if it is not installed, why bother?
Use limits.h instead of SIZEOF_* to define ffi_type_*. Do
not define EH_FRAME_FLAGS, it is in fficonfig.h now. Include
ffitarget.h instead of fficonfig.h. Remove ALIGN macro.
(UINT_ARG, INT_ARG): Removed, use ffi_arg and ffi_sarg instead.
* include/ffi_common.h (bool): Do not define.
(ffi_assert): Accept failed assertion.
(ffi_type_test): Return void and accept file/line.
(FFI_ASSERT): Pass stringized failed assertion.
(FFI_ASSERT_AT): New macro.
(FFI_ASSERT_VALID_TYPE): New macro.
(UINT8, SINT8, UINT16, SINT16, UINT32, SINT32,
UINT64, SINT64): Define here with gcc's __attribute__ macro
instead of in ffi.h
(FLOAT32, ALIGN): Define here instead of in ffi.h
* include/ffi-mips.h: Removed. Its content moved to
src/mips/ffitarget.h after separating assembly and C sections.
* src/alpha/ffi.c, src/alpha/ffi.c, src/java_raw_api.c
src/prep_cif.c, src/raw_api.c, src/ia64/ffi.c,
src/mips/ffi.c, src/mips/n32.S, src/mips/o32.S,
src/mips/ffitarget.h, src/sparc/ffi.c, src/x86/ffi64.c:
SIZEOF_ARG -> FFI_SIZEOF_ARG.
* src/ia64/ffi.c: Include stdbool.h (provided by GCC 2.95+).
* src/debug.c (ffi_assert): Accept stringized failed assertion.
(ffi_type_test): Rewritten.
* src/prep-cif.c (initialize_aggregate, ffi_prep_cif): Call
FFI_ASSERT_VALID_TYPE.
* src/alpha/ffitarget.h, src/arm/ffitarget.h,
src/ia64/ffitarget.h, src/m68k/ffitarget.h,
src/mips/ffitarget.h, src/powerpc/ffitarget.h,
src/s390/ffitarget.h, src/sh/ffitarget.h,
src/sh64/ffitarget.h, src/sparc/ffitarget.h,
src/x86/ffitarget.h: New files.
* src/alpha/osf.S, src/arm/sysv.S, src/ia64/unix.S,
src/m68k/sysv.S, src/mips/n32.S, src/mips/o32.S,
src/powerpc/aix.S, src/powerpc/darwin.S,
src/powerpc/ffi_darwin.c, src/powerpc/linux64.S,
src/powerpc/linux64_closure.S, src/powerpc/ppc_closure.S,
src/powerpc/sysv.S, src/s390/sysv.S, src/sh/sysv.S,
src/sh64/sysv.S, src/sparc/v8.S, src/sparc/v9.S,
src/x86/sysv.S, src/x86/unix64.S, src/x86/win32.S:
include fficonfig.h
From-SVN: r72766
2003-10-21 21:01:58 +02:00
|
|
|
HAVE_LONG_DOUBLE = @HAVE_LONG_DOUBLE@
|
2004-03-11 20:59:49 +01:00
|
|
|
IA64_FALSE = @IA64_FALSE@
|
|
|
|
IA64_TRUE = @IA64_TRUE@
|
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
|
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
2005-04-18 19:08:58 +02:00
|
|
|
LIBFFI_CRIS_FALSE = @LIBFFI_CRIS_FALSE@
|
|
|
|
LIBFFI_CRIS_TRUE = @LIBFFI_CRIS_TRUE@
|
2004-03-11 20:59:49 +01:00
|
|
|
LIBOBJS = @LIBOBJS@
|
|
|
|
LIBS = @LIBS@
|
1999-08-09 00:58:30 +02:00
|
|
|
LIBTOOL = @LIBTOOL@
|
|
|
|
LN_S = @LN_S@
|
2004-03-11 20:59:49 +01:00
|
|
|
LTLIBOBJS = @LTLIBOBJS@
|
2004-10-13 19:20:24 +02:00
|
|
|
M32R_FALSE = @M32R_FALSE@
|
|
|
|
M32R_TRUE = @M32R_TRUE@
|
2004-03-11 20:59:49 +01:00
|
|
|
M68K_FALSE = @M68K_FALSE@
|
|
|
|
M68K_TRUE = @M68K_TRUE@
|
1999-08-09 00:58:30 +02:00
|
|
|
MAINT = @MAINT@
|
2004-03-11 20:59:49 +01:00
|
|
|
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
|
|
|
|
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
|
1999-08-09 00:58:30 +02:00
|
|
|
MAKEINFO = @MAKEINFO@
|
2004-03-11 20:59:49 +01:00
|
|
|
MIPS_IRIX_FALSE = @MIPS_IRIX_FALSE@
|
|
|
|
MIPS_IRIX_TRUE = @MIPS_IRIX_TRUE@
|
|
|
|
MIPS_LINUX_FALSE = @MIPS_LINUX_FALSE@
|
|
|
|
MIPS_LINUX_TRUE = @MIPS_LINUX_TRUE@
|
2001-10-09 07:32:16 +02:00
|
|
|
OBJEXT = @OBJEXT@
|
2006-04-05 23:26:34 +02:00
|
|
|
PA64_HPUX_FALSE = @PA64_HPUX_FALSE@
|
|
|
|
PA64_HPUX_TRUE = @PA64_HPUX_TRUE@
|
1999-08-09 00:58:30 +02:00
|
|
|
PACKAGE = @PACKAGE@
|
2004-03-11 20:59:49 +01:00
|
|
|
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
|
|
|
PACKAGE_NAME = @PACKAGE_NAME@
|
|
|
|
PACKAGE_STRING = @PACKAGE_STRING@
|
|
|
|
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|
|
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
|
|
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
2006-04-05 23:26:34 +02:00
|
|
|
PA_HPUX_FALSE = @PA_HPUX_FALSE@
|
|
|
|
PA_HPUX_TRUE = @PA_HPUX_TRUE@
|
|
|
|
PA_LINUX_FALSE = @PA_LINUX_FALSE@
|
|
|
|
PA_LINUX_TRUE = @PA_LINUX_TRUE@
|
2004-03-11 20:59:49 +01:00
|
|
|
POWERPC_AIX_FALSE = @POWERPC_AIX_FALSE@
|
|
|
|
POWERPC_AIX_TRUE = @POWERPC_AIX_TRUE@
|
|
|
|
POWERPC_DARWIN_FALSE = @POWERPC_DARWIN_FALSE@
|
|
|
|
POWERPC_DARWIN_TRUE = @POWERPC_DARWIN_TRUE@
|
|
|
|
POWERPC_FALSE = @POWERPC_FALSE@
|
2005-07-19 23:15:36 +02:00
|
|
|
POWERPC_FREEBSD_FALSE = @POWERPC_FREEBSD_FALSE@
|
|
|
|
POWERPC_FREEBSD_TRUE = @POWERPC_FREEBSD_TRUE@
|
2004-03-11 20:59:49 +01:00
|
|
|
POWERPC_TRUE = @POWERPC_TRUE@
|
1999-08-09 00:58:30 +02:00
|
|
|
RANLIB = @RANLIB@
|
2004-03-11 20:59:49 +01:00
|
|
|
S390_FALSE = @S390_FALSE@
|
|
|
|
S390_TRUE = @S390_TRUE@
|
|
|
|
SET_MAKE = @SET_MAKE@
|
|
|
|
SH64_FALSE = @SH64_FALSE@
|
|
|
|
SH64_TRUE = @SH64_TRUE@
|
1999-08-09 00:58:30 +02:00
|
|
|
SHELL = @SHELL@
|
2004-03-11 20:59:49 +01:00
|
|
|
SH_FALSE = @SH_FALSE@
|
|
|
|
SH_TRUE = @SH_TRUE@
|
|
|
|
SPARC_FALSE = @SPARC_FALSE@
|
|
|
|
SPARC_TRUE = @SPARC_TRUE@
|
2001-10-09 07:32:16 +02:00
|
|
|
STRIP = @STRIP@
|
1999-08-09 00:58:30 +02:00
|
|
|
TARGET = @TARGET@
|
|
|
|
TARGETDIR = @TARGETDIR@
|
2004-03-11 20:59:49 +01:00
|
|
|
TESTSUBDIR_FALSE = @TESTSUBDIR_FALSE@
|
|
|
|
TESTSUBDIR_TRUE = @TESTSUBDIR_TRUE@
|
1999-08-09 00:58:30 +02:00
|
|
|
VERSION = @VERSION@
|
2004-03-11 20:59:49 +01:00
|
|
|
X86_64_FALSE = @X86_64_FALSE@
|
|
|
|
X86_64_TRUE = @X86_64_TRUE@
|
2006-10-10 16:21:05 +02:00
|
|
|
X86_DARWIN_FALSE = @X86_DARWIN_FALSE@
|
|
|
|
X86_DARWIN_TRUE = @X86_DARWIN_TRUE@
|
2004-03-11 20:59:49 +01:00
|
|
|
X86_FALSE = @X86_FALSE@
|
|
|
|
X86_TRUE = @X86_TRUE@
|
|
|
|
X86_WIN32_FALSE = @X86_WIN32_FALSE@
|
|
|
|
X86_WIN32_TRUE = @X86_WIN32_TRUE@
|
|
|
|
ac_ct_CC = @ac_ct_CC@
|
2006-12-14 08:34:45 +01:00
|
|
|
ac_ct_RANLIB = @ac_ct_RANLIB@
|
|
|
|
ac_ct_STRIP = @ac_ct_STRIP@
|
2004-03-11 20:59:49 +01:00
|
|
|
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
|
|
|
|
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
|
|
|
am__include = @am__include@
|
|
|
|
am__leading_dot = @am__leading_dot@
|
|
|
|
am__quote = @am__quote@
|
2004-11-23 05:11:31 +01:00
|
|
|
am__tar = @am__tar@
|
|
|
|
am__untar = @am__untar@
|
2004-03-11 20:59:49 +01:00
|
|
|
bindir = @bindir@
|
|
|
|
build = @build@
|
|
|
|
build_alias = @build_alias@
|
|
|
|
build_cpu = @build_cpu@
|
|
|
|
build_os = @build_os@
|
|
|
|
build_vendor = @build_vendor@
|
|
|
|
datadir = @datadir@
|
|
|
|
exec_prefix = @exec_prefix@
|
|
|
|
host = @host@
|
|
|
|
host_alias = @host_alias@
|
|
|
|
host_cpu = @host_cpu@
|
|
|
|
host_os = @host_os@
|
|
|
|
host_vendor = @host_vendor@
|
|
|
|
includedir = @includedir@
|
|
|
|
infodir = @infodir@
|
|
|
|
install_sh = @install_sh@
|
|
|
|
libdir = @libdir@
|
|
|
|
libexecdir = @libexecdir@
|
|
|
|
localstatedir = @localstatedir@
|
|
|
|
mandir = @mandir@
|
2004-06-15 16:47:55 +02:00
|
|
|
mkdir_p = @mkdir_p@
|
2004-03-11 20:59:49 +01:00
|
|
|
multi_basedir = @multi_basedir@
|
|
|
|
oldincludedir = @oldincludedir@
|
|
|
|
prefix = @prefix@
|
|
|
|
program_transform_name = @program_transform_name@
|
|
|
|
sbindir = @sbindir@
|
|
|
|
sharedstatedir = @sharedstatedir@
|
|
|
|
sysconfdir = @sysconfdir@
|
|
|
|
target = @target@
|
|
|
|
target_alias = @target_alias@
|
|
|
|
target_cpu = @target_cpu@
|
|
|
|
target_os = @target_os@
|
|
|
|
target_vendor = @target_vendor@
|
2003-04-05 03:44:53 +02:00
|
|
|
toolexecdir = @toolexecdir@
|
|
|
|
toolexeclibdir = @toolexeclibdir@
|
1999-08-09 00:58:30 +02:00
|
|
|
AUTOMAKE_OPTIONS = foreign
|
[multiple changes]
2003-10-21 Andreas Tobler <a.tobler@schweiz.ch>
* configure.in: AC_LINK_FILES(ffitarget.h).
* configure: Regenerate.
* Makefile.in: Likewise.
* include/Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.
* fficonfig.h.in: Likewise.
2003-10-21 Paolo Bonzini <bonzini@gnu.org>
Richard Henderson <rth@redhat.com>
Avoid that ffi.h includes fficonfig.h.
* Makefile.am (EXTRA_DIST): Include ffitarget.h files
(TARGET_SRC_MIPS_GCC): Renamed to TARGET_SRC_MIPS_IRIX.
(TARGET_SRC_MIPS_SGI): Removed.
(MIPS_GCC): Renamed to TARGET_SRC_MIPS_IRIX.
(MIPS_SGI): Removed.
(CLEANFILES): Removed.
(mostlyclean-am, clean-am, mostlyclean-sub, clean-sub): New
targets.
* acconfig.h: Removed.
* configure.in: Compute sizeofs only for double and long double.
Use them to define and subst HAVE_LONG_DOUBLE. Include comments
into AC_DEFINE instead of using acconfig.h. Create
include/ffitarget.h instead of include/fficonfig.h. Rename
MIPS_GCC to MIPS_IRIX, drop MIPS_SGI since we are in gcc's tree.
AC_DEFINE EH_FRAME_FLAGS.
* include/Makefile.am (DISTCLEANFILES): New automake macro.
(hack_DATA): Add ffitarget.h.
* include/ffi.h.in: Remove all system specific definitions.
Declare raw API even if it is not installed, why bother?
Use limits.h instead of SIZEOF_* to define ffi_type_*. Do
not define EH_FRAME_FLAGS, it is in fficonfig.h now. Include
ffitarget.h instead of fficonfig.h. Remove ALIGN macro.
(UINT_ARG, INT_ARG): Removed, use ffi_arg and ffi_sarg instead.
* include/ffi_common.h (bool): Do not define.
(ffi_assert): Accept failed assertion.
(ffi_type_test): Return void and accept file/line.
(FFI_ASSERT): Pass stringized failed assertion.
(FFI_ASSERT_AT): New macro.
(FFI_ASSERT_VALID_TYPE): New macro.
(UINT8, SINT8, UINT16, SINT16, UINT32, SINT32,
UINT64, SINT64): Define here with gcc's __attribute__ macro
instead of in ffi.h
(FLOAT32, ALIGN): Define here instead of in ffi.h
* include/ffi-mips.h: Removed. Its content moved to
src/mips/ffitarget.h after separating assembly and C sections.
* src/alpha/ffi.c, src/alpha/ffi.c, src/java_raw_api.c
src/prep_cif.c, src/raw_api.c, src/ia64/ffi.c,
src/mips/ffi.c, src/mips/n32.S, src/mips/o32.S,
src/mips/ffitarget.h, src/sparc/ffi.c, src/x86/ffi64.c:
SIZEOF_ARG -> FFI_SIZEOF_ARG.
* src/ia64/ffi.c: Include stdbool.h (provided by GCC 2.95+).
* src/debug.c (ffi_assert): Accept stringized failed assertion.
(ffi_type_test): Rewritten.
* src/prep-cif.c (initialize_aggregate, ffi_prep_cif): Call
FFI_ASSERT_VALID_TYPE.
* src/alpha/ffitarget.h, src/arm/ffitarget.h,
src/ia64/ffitarget.h, src/m68k/ffitarget.h,
src/mips/ffitarget.h, src/powerpc/ffitarget.h,
src/s390/ffitarget.h, src/sh/ffitarget.h,
src/sh64/ffitarget.h, src/sparc/ffitarget.h,
src/x86/ffitarget.h: New files.
* src/alpha/osf.S, src/arm/sysv.S, src/ia64/unix.S,
src/m68k/sysv.S, src/mips/n32.S, src/mips/o32.S,
src/powerpc/aix.S, src/powerpc/darwin.S,
src/powerpc/ffi_darwin.c, src/powerpc/linux64.S,
src/powerpc/linux64_closure.S, src/powerpc/ppc_closure.S,
src/powerpc/sysv.S, src/s390/sysv.S, src/sh/sysv.S,
src/sh64/sysv.S, src/sparc/v8.S, src/sparc/v9.S,
src/x86/sysv.S, src/x86/unix64.S, src/x86/win32.S:
include fficonfig.h
From-SVN: r72766
2003-10-21 21:01:58 +02:00
|
|
|
DISTCLEANFILES = ffitarget.h
|
|
|
|
EXTRA_DIST = ffi.h.in ffi_common.h
|
2005-03-21 19:01:47 +01:00
|
|
|
|
|
|
|
# Where generated headers like ffitarget.h get installed.
|
|
|
|
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
|
2006-09-12 18:51:43 +02:00
|
|
|
toollibffidir := $(libdir)/gcc/$(target_alias)/$(gcc_version)/include
|
|
|
|
toollibffi_HEADERS = ffi.h ffitarget.h
|
2004-03-11 20:59:49 +01:00
|
|
|
all: all-am
|
1999-08-09 00:58:30 +02:00
|
|
|
|
|
|
|
.SUFFIXES:
|
2004-06-15 16:47:55 +02:00
|
|
|
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
|
|
|
|
@for dep in $?; do \
|
|
|
|
case '$(am__configure_deps)' in \
|
|
|
|
*$$dep*) \
|
|
|
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
|
|
|
|
&& exit 0; \
|
|
|
|
exit 1;; \
|
|
|
|
esac; \
|
|
|
|
done; \
|
|
|
|
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign include/Makefile'; \
|
2004-03-11 20:59:49 +01:00
|
|
|
cd $(top_srcdir) && \
|
|
|
|
$(AUTOMAKE) --foreign include/Makefile
|
2004-06-15 16:47:55 +02:00
|
|
|
.PRECIOUS: Makefile
|
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
|
|
@case '$?' in \
|
|
|
|
*config.status*) \
|
|
|
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
|
|
|
*) \
|
|
|
|
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
|
|
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
|
|
|
esac;
|
|
|
|
|
|
|
|
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
|
|
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
|
|
|
|
|
|
|
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
|
|
|
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
|
|
|
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
|
|
|
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
|
|
|
ffi.h: $(top_builddir)/config.status $(srcdir)/ffi.h.in
|
2004-03-11 20:59:49 +01:00
|
|
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
1999-08-09 00:58:30 +02:00
|
|
|
|
2004-03-11 20:59:49 +01:00
|
|
|
mostlyclean-libtool:
|
|
|
|
-rm -f *.lo
|
1999-08-09 00:58:30 +02:00
|
|
|
|
2004-03-11 20:59:49 +01:00
|
|
|
clean-libtool:
|
|
|
|
-rm -rf .libs _libs
|
1999-08-09 00:58:30 +02:00
|
|
|
|
2004-03-11 20:59:49 +01:00
|
|
|
distclean-libtool:
|
|
|
|
-rm -f libtool
|
|
|
|
uninstall-info-am:
|
2003-11-12 19:18:30 +01:00
|
|
|
install-toollibffiHEADERS: $(toollibffi_HEADERS)
|
|
|
|
@$(NORMAL_INSTALL)
|
2004-06-15 16:47:55 +02:00
|
|
|
test -z "$(toollibffidir)" || $(mkdir_p) "$(DESTDIR)$(toollibffidir)"
|
2003-11-12 19:18:30 +01:00
|
|
|
@list='$(toollibffi_HEADERS)'; for p in $$list; do \
|
2004-03-11 20:59:49 +01:00
|
|
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
2004-11-23 05:11:31 +01:00
|
|
|
f=$(am__strip_dir) \
|
2004-06-15 16:47:55 +02:00
|
|
|
echo " $(toollibffiHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(toollibffidir)/$$f'"; \
|
|
|
|
$(toollibffiHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(toollibffidir)/$$f"; \
|
2003-11-12 19:18:30 +01:00
|
|
|
done
|
|
|
|
|
|
|
|
uninstall-toollibffiHEADERS:
|
|
|
|
@$(NORMAL_UNINSTALL)
|
2004-03-11 20:59:49 +01:00
|
|
|
@list='$(toollibffi_HEADERS)'; for p in $$list; do \
|
2004-11-23 05:11:31 +01:00
|
|
|
f=$(am__strip_dir) \
|
2004-06-15 16:47:55 +02:00
|
|
|
echo " rm -f '$(DESTDIR)$(toollibffidir)/$$f'"; \
|
|
|
|
rm -f "$(DESTDIR)$(toollibffidir)/$$f"; \
|
2003-11-12 19:18:30 +01:00
|
|
|
done
|
|
|
|
|
2004-03-11 20:59:49 +01:00
|
|
|
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
|
|
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
|
|
|
unique=`for i in $$list; do \
|
|
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|
|
|
done | \
|
|
|
|
$(AWK) ' { files[$$0] = 1; } \
|
2003-11-12 19:18:30 +01:00
|
|
|
END { for (i in files) print i; }'`; \
|
2004-03-11 20:59:49 +01:00
|
|
|
mkid -fID $$unique
|
2004-06-15 16:47:55 +02:00
|
|
|
tags: TAGS
|
2003-11-12 19:18:30 +01:00
|
|
|
|
2004-03-11 20:59:49 +01:00
|
|
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
|
|
|
$(TAGS_FILES) $(LISP)
|
2003-11-12 19:18:30 +01:00
|
|
|
tags=; \
|
|
|
|
here=`pwd`; \
|
2004-03-11 20:59:49 +01:00
|
|
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
|
|
|
unique=`for i in $$list; do \
|
|
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|
|
|
done | \
|
|
|
|
$(AWK) ' { files[$$0] = 1; } \
|
2003-11-12 19:18:30 +01:00
|
|
|
END { for (i in files) print i; }'`; \
|
2004-11-23 05:11:31 +01:00
|
|
|
if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
|
|
|
|
test -n "$$unique" || unique=$$empty_fix; \
|
|
|
|
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
|
|
|
$$tags $$unique; \
|
|
|
|
fi
|
2004-03-11 20:59:49 +01:00
|
|
|
ctags: CTAGS
|
|
|
|
CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
|
|
|
$(TAGS_FILES) $(LISP)
|
|
|
|
tags=; \
|
|
|
|
here=`pwd`; \
|
|
|
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
|
|
|
unique=`for i in $$list; do \
|
|
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|
|
|
done | \
|
|
|
|
$(AWK) ' { files[$$0] = 1; } \
|
|
|
|
END { for (i in files) print i; }'`; \
|
|
|
|
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|
|
|
|
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
|
|
|
$$tags $$unique
|
2003-11-12 19:18:30 +01:00
|
|
|
|
2004-03-11 20:59:49 +01:00
|
|
|
GTAGS:
|
|
|
|
here=`$(am__cd) $(top_builddir) && pwd` \
|
|
|
|
&& cd $(top_srcdir) \
|
|
|
|
&& gtags -i $(GTAGS_ARGS) $$here
|
2003-11-12 19:18:30 +01:00
|
|
|
|
|
|
|
distclean-tags:
|
2004-03-11 20:59:49 +01:00
|
|
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
2001-10-09 07:32:16 +02:00
|
|
|
|
1999-08-09 00:58:30 +02:00
|
|
|
distdir: $(DISTFILES)
|
2004-03-11 20:59:49 +01:00
|
|
|
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
|
|
|
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
|
|
|
|
list='$(DISTFILES)'; for file in $$list; do \
|
|
|
|
case $$file in \
|
|
|
|
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
|
|
|
|
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
|
|
|
|
esac; \
|
|
|
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
|
|
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
|
|
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
|
|
|
dir="/$$dir"; \
|
2004-06-15 16:47:55 +02:00
|
|
|
$(mkdir_p) "$(distdir)$$dir"; \
|
2004-03-11 20:59:49 +01:00
|
|
|
else \
|
|
|
|
dir=''; \
|
|
|
|
fi; \
|
1999-08-09 00:58:30 +02:00
|
|
|
if test -d $$d/$$file; then \
|
2004-03-11 20:59:49 +01:00
|
|
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
|
|
|
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
|
|
|
fi; \
|
|
|
|
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
1999-08-09 00:58:30 +02:00
|
|
|
else \
|
|
|
|
test -f $(distdir)/$$file \
|
2004-03-11 20:59:49 +01:00
|
|
|
|| cp -p $$d/$$file $(distdir)/$$file \
|
|
|
|
|| exit 1; \
|
1999-08-09 00:58:30 +02:00
|
|
|
fi; \
|
|
|
|
done
|
|
|
|
check-am: all-am
|
|
|
|
check: check-am
|
2006-09-12 18:51:43 +02:00
|
|
|
all-am: Makefile $(HEADERS)
|
2004-03-11 20:59:49 +01:00
|
|
|
installdirs:
|
2006-09-12 18:51:43 +02:00
|
|
|
for dir in "$(DESTDIR)$(toollibffidir)"; do \
|
2004-06-15 16:47:55 +02:00
|
|
|
test -z "$$dir" || $(mkdir_p) "$$dir"; \
|
|
|
|
done
|
2004-03-11 20:59:49 +01:00
|
|
|
install: install-am
|
|
|
|
install-exec: install-exec-am
|
1999-08-09 00:58:30 +02:00
|
|
|
install-data: install-data-am
|
2004-03-11 20:59:49 +01:00
|
|
|
uninstall: uninstall-am
|
1999-08-09 00:58:30 +02:00
|
|
|
|
|
|
|
install-am: all-am
|
|
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
|
|
|
2004-03-11 20:59:49 +01:00
|
|
|
installcheck: installcheck-am
|
|
|
|
install-strip:
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
|
|
|
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
|
|
|
`test -z '$(STRIP)' || \
|
|
|
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
1999-08-09 00:58:30 +02:00
|
|
|
mostlyclean-generic:
|
|
|
|
|
|
|
|
clean-generic:
|
|
|
|
|
|
|
|
distclean-generic:
|
2004-11-23 05:11:31 +01:00
|
|
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
[multiple changes]
2003-10-21 Andreas Tobler <a.tobler@schweiz.ch>
* configure.in: AC_LINK_FILES(ffitarget.h).
* configure: Regenerate.
* Makefile.in: Likewise.
* include/Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.
* fficonfig.h.in: Likewise.
2003-10-21 Paolo Bonzini <bonzini@gnu.org>
Richard Henderson <rth@redhat.com>
Avoid that ffi.h includes fficonfig.h.
* Makefile.am (EXTRA_DIST): Include ffitarget.h files
(TARGET_SRC_MIPS_GCC): Renamed to TARGET_SRC_MIPS_IRIX.
(TARGET_SRC_MIPS_SGI): Removed.
(MIPS_GCC): Renamed to TARGET_SRC_MIPS_IRIX.
(MIPS_SGI): Removed.
(CLEANFILES): Removed.
(mostlyclean-am, clean-am, mostlyclean-sub, clean-sub): New
targets.
* acconfig.h: Removed.
* configure.in: Compute sizeofs only for double and long double.
Use them to define and subst HAVE_LONG_DOUBLE. Include comments
into AC_DEFINE instead of using acconfig.h. Create
include/ffitarget.h instead of include/fficonfig.h. Rename
MIPS_GCC to MIPS_IRIX, drop MIPS_SGI since we are in gcc's tree.
AC_DEFINE EH_FRAME_FLAGS.
* include/Makefile.am (DISTCLEANFILES): New automake macro.
(hack_DATA): Add ffitarget.h.
* include/ffi.h.in: Remove all system specific definitions.
Declare raw API even if it is not installed, why bother?
Use limits.h instead of SIZEOF_* to define ffi_type_*. Do
not define EH_FRAME_FLAGS, it is in fficonfig.h now. Include
ffitarget.h instead of fficonfig.h. Remove ALIGN macro.
(UINT_ARG, INT_ARG): Removed, use ffi_arg and ffi_sarg instead.
* include/ffi_common.h (bool): Do not define.
(ffi_assert): Accept failed assertion.
(ffi_type_test): Return void and accept file/line.
(FFI_ASSERT): Pass stringized failed assertion.
(FFI_ASSERT_AT): New macro.
(FFI_ASSERT_VALID_TYPE): New macro.
(UINT8, SINT8, UINT16, SINT16, UINT32, SINT32,
UINT64, SINT64): Define here with gcc's __attribute__ macro
instead of in ffi.h
(FLOAT32, ALIGN): Define here instead of in ffi.h
* include/ffi-mips.h: Removed. Its content moved to
src/mips/ffitarget.h after separating assembly and C sections.
* src/alpha/ffi.c, src/alpha/ffi.c, src/java_raw_api.c
src/prep_cif.c, src/raw_api.c, src/ia64/ffi.c,
src/mips/ffi.c, src/mips/n32.S, src/mips/o32.S,
src/mips/ffitarget.h, src/sparc/ffi.c, src/x86/ffi64.c:
SIZEOF_ARG -> FFI_SIZEOF_ARG.
* src/ia64/ffi.c: Include stdbool.h (provided by GCC 2.95+).
* src/debug.c (ffi_assert): Accept stringized failed assertion.
(ffi_type_test): Rewritten.
* src/prep-cif.c (initialize_aggregate, ffi_prep_cif): Call
FFI_ASSERT_VALID_TYPE.
* src/alpha/ffitarget.h, src/arm/ffitarget.h,
src/ia64/ffitarget.h, src/m68k/ffitarget.h,
src/mips/ffitarget.h, src/powerpc/ffitarget.h,
src/s390/ffitarget.h, src/sh/ffitarget.h,
src/sh64/ffitarget.h, src/sparc/ffitarget.h,
src/x86/ffitarget.h: New files.
* src/alpha/osf.S, src/arm/sysv.S, src/ia64/unix.S,
src/m68k/sysv.S, src/mips/n32.S, src/mips/o32.S,
src/powerpc/aix.S, src/powerpc/darwin.S,
src/powerpc/ffi_darwin.c, src/powerpc/linux64.S,
src/powerpc/linux64_closure.S, src/powerpc/ppc_closure.S,
src/powerpc/sysv.S, src/s390/sysv.S, src/sh/sysv.S,
src/sh64/sysv.S, src/sparc/v8.S, src/sparc/v9.S,
src/x86/sysv.S, src/x86/unix64.S, src/x86/win32.S:
include fficonfig.h
From-SVN: r72766
2003-10-21 21:01:58 +02:00
|
|
|
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
|
1999-08-09 00:58:30 +02:00
|
|
|
|
|
|
|
maintainer-clean-generic:
|
2004-03-11 20:59:49 +01:00
|
|
|
@echo "This command is intended for maintainers to use"
|
|
|
|
@echo "it deletes files that may require special tools to rebuild."
|
|
|
|
clean: clean-am
|
1999-08-09 00:58:30 +02:00
|
|
|
|
2004-03-11 20:59:49 +01:00
|
|
|
clean-am: clean-generic clean-libtool mostlyclean-am
|
1999-08-09 00:58:30 +02:00
|
|
|
|
2004-03-11 20:59:49 +01:00
|
|
|
distclean: distclean-am
|
|
|
|
-rm -f Makefile
|
|
|
|
distclean-am: clean-am distclean-generic distclean-libtool \
|
|
|
|
distclean-tags
|
1999-08-09 00:58:30 +02:00
|
|
|
|
2004-03-11 20:59:49 +01:00
|
|
|
dvi: dvi-am
|
1999-08-09 00:58:30 +02:00
|
|
|
|
2004-03-11 20:59:49 +01:00
|
|
|
dvi-am:
|
1999-08-09 00:58:30 +02:00
|
|
|
|
2004-06-15 16:47:55 +02:00
|
|
|
html: html-am
|
|
|
|
|
2004-03-11 20:59:49 +01:00
|
|
|
info: info-am
|
1999-08-09 00:58:30 +02:00
|
|
|
|
2004-03-11 20:59:49 +01:00
|
|
|
info-am:
|
|
|
|
|
2006-09-12 18:51:43 +02:00
|
|
|
install-data-am: install-toollibffiHEADERS
|
2004-03-11 20:59:49 +01:00
|
|
|
|
|
|
|
install-exec-am:
|
|
|
|
|
|
|
|
install-info: install-info-am
|
|
|
|
|
|
|
|
install-man:
|
|
|
|
|
|
|
|
installcheck-am:
|
1999-08-09 00:58:30 +02:00
|
|
|
|
|
|
|
maintainer-clean: maintainer-clean-am
|
2004-03-11 20:59:49 +01:00
|
|
|
-rm -f Makefile
|
|
|
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
|
|
|
|
|
|
|
mostlyclean: mostlyclean-am
|
|
|
|
|
|
|
|
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
|
|
|
|
|
|
|
pdf: pdf-am
|
|
|
|
|
|
|
|
pdf-am:
|
|
|
|
|
|
|
|
ps: ps-am
|
|
|
|
|
|
|
|
ps-am:
|
1999-08-09 00:58:30 +02:00
|
|
|
|
2006-09-12 18:51:43 +02:00
|
|
|
uninstall-am: uninstall-info-am uninstall-toollibffiHEADERS
|
1999-08-09 00:58:30 +02:00
|
|
|
|
2004-03-11 20:59:49 +01:00
|
|
|
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
|
|
|
|
clean-libtool ctags distclean distclean-generic \
|
2004-06-15 16:47:55 +02:00
|
|
|
distclean-libtool distclean-tags distdir dvi dvi-am html \
|
|
|
|
html-am info info-am install install-am install-data \
|
2006-09-12 18:51:43 +02:00
|
|
|
install-data-am install-exec install-exec-am install-info \
|
|
|
|
install-info-am install-man install-strip \
|
2004-03-11 20:59:49 +01:00
|
|
|
install-toollibffiHEADERS installcheck installcheck-am \
|
|
|
|
installdirs maintainer-clean maintainer-clean-generic \
|
|
|
|
mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
|
2006-09-12 18:51:43 +02:00
|
|
|
ps ps-am tags uninstall uninstall-am uninstall-info-am \
|
|
|
|
uninstall-toollibffiHEADERS
|
1999-08-09 00:58:30 +02:00
|
|
|
|
|
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
|
|
.NOEXPORT:
|