2003-01-28 23:58:58 +01:00
|
|
|
# Makefile.in generated automatically by automake 1.4 from Makefile.am
|
1999-08-08 15:27:18 +02:00
|
|
|
|
2003-01-28 23:58:58 +01:00
|
|
|
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
1999-08-08 15:27:18 +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.
|
|
|
|
|
2001-03-27 00:52:36 +02:00
|
|
|
|
1999-08-08 15:27:18 +02:00
|
|
|
SHELL = @SHELL@
|
|
|
|
|
|
|
|
srcdir = @srcdir@
|
|
|
|
top_srcdir = @top_srcdir@
|
|
|
|
prefix = @prefix@
|
|
|
|
exec_prefix = @exec_prefix@
|
|
|
|
|
|
|
|
bindir = @bindir@
|
|
|
|
sbindir = @sbindir@
|
|
|
|
libexecdir = @libexecdir@
|
|
|
|
datadir = @datadir@
|
|
|
|
sysconfdir = @sysconfdir@
|
|
|
|
sharedstatedir = @sharedstatedir@
|
|
|
|
localstatedir = @localstatedir@
|
|
|
|
libdir = @libdir@
|
|
|
|
infodir = @infodir@
|
|
|
|
mandir = @mandir@
|
|
|
|
includedir = @includedir@
|
|
|
|
oldincludedir = /usr/include
|
|
|
|
|
2001-03-27 00:52:36 +02:00
|
|
|
DESTDIR =
|
|
|
|
|
1999-08-08 15:27:18 +02:00
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
|
|
|
|
|
|
top_builddir = .
|
|
|
|
|
|
|
|
ACLOCAL = @ACLOCAL@
|
|
|
|
AUTOCONF = @AUTOCONF@
|
|
|
|
AUTOMAKE = @AUTOMAKE@
|
|
|
|
AUTOHEADER = @AUTOHEADER@
|
|
|
|
|
|
|
|
INSTALL = @INSTALL@
|
2001-03-27 00:52:36 +02:00
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
1999-08-08 15:27:18 +02:00
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
|
|
transform = @program_transform_name@
|
|
|
|
|
|
|
|
NORMAL_INSTALL = :
|
|
|
|
PRE_INSTALL = :
|
|
|
|
POST_INSTALL = :
|
|
|
|
NORMAL_UNINSTALL = :
|
|
|
|
PRE_UNINSTALL = :
|
|
|
|
POST_UNINSTALL = :
|
2003-09-04 16:47:05 +02:00
|
|
|
build_alias = @build_alias@
|
|
|
|
build_triplet = @build@
|
1999-08-08 15:27:18 +02:00
|
|
|
host_alias = @host_alias@
|
|
|
|
host_triplet = @host@
|
2003-09-04 16:47:05 +02:00
|
|
|
target_alias = @target_alias@
|
|
|
|
target_triplet = @target@
|
|
|
|
AM_RUNTESTFLAGS = @AM_RUNTESTFLAGS@
|
1999-08-08 15:27:18 +02:00
|
|
|
AS = @AS@
|
|
|
|
CC = @CC@
|
2001-03-27 00:52:36 +02:00
|
|
|
CXX = @CXX@
|
|
|
|
CXXCPP = @CXXCPP@
|
1999-08-08 15:27:18 +02:00
|
|
|
DLLTOOL = @DLLTOOL@
|
|
|
|
EXEEXT = @EXEEXT@
|
2001-03-27 00:52:36 +02:00
|
|
|
GCJ = @GCJ@
|
|
|
|
GCJFLAGS = @GCJFLAGS@
|
[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@
|
1999-08-08 15:27:18 +02:00
|
|
|
LIBTOOL = @LIBTOOL@
|
|
|
|
LN_S = @LN_S@
|
|
|
|
MAINT = @MAINT@
|
|
|
|
MAKEINFO = @MAKEINFO@
|
1999-09-02 01:16:34 +02:00
|
|
|
OBJDUMP = @OBJDUMP@
|
2001-03-27 00:52:36 +02:00
|
|
|
OBJEXT = @OBJEXT@
|
1999-08-08 15:27:18 +02:00
|
|
|
PACKAGE = @PACKAGE@
|
|
|
|
RANLIB = @RANLIB@
|
|
|
|
SHELL = @SHELL@
|
2001-03-27 00:52:36 +02:00
|
|
|
STRIP = @STRIP@
|
1999-08-08 15:27:18 +02:00
|
|
|
TARGET = @TARGET@
|
|
|
|
TARGETDIR = @TARGETDIR@
|
|
|
|
VERSION = @VERSION@
|
2003-11-12 19:18:30 +01:00
|
|
|
gcc_version = @gcc_version@
|
2000-05-01 23:35:35 +02:00
|
|
|
libffi_basedir = @libffi_basedir@
|
2003-11-12 19:18:30 +01:00
|
|
|
tool_include_dir = @tool_include_dir@
|
2003-01-28 23:58:58 +01:00
|
|
|
toolexecdir = @toolexecdir@
|
|
|
|
toolexeclibdir = @toolexeclibdir@
|
1999-08-08 15:27:18 +02:00
|
|
|
|
|
|
|
AUTOMAKE_OPTIONS = cygnus
|
|
|
|
|
2003-09-04 16:47:05 +02:00
|
|
|
SUBDIRS = include testsuite
|
2000-05-01 23:35:35 +02:00
|
|
|
|
[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
|
|
|
EXTRA_DIST = LICENSE ChangeLog.v1 \
|
|
|
|
src/alpha/ffi.c src/alpha/osf.S src/alpha/ffitarget.h \
|
|
|
|
src/arm/ffi.c src/arm/sysv.S src/arm/ffitarget.h \
|
|
|
|
src/mips/ffi.c src/mips/n32.S src/mips/o32.S \
|
|
|
|
src/mips/ffitarget.h \
|
|
|
|
src/m68k/ffi.c src/m68k/sysv.S src/m68k/ffitarget.h \
|
|
|
|
src/powerpc/ffi.c src/powerpc/sysv.S \
|
|
|
|
src/powerpc/linux64.S src/powerpc/linux64_closure.S \
|
|
|
|
src/powerpc/ppc_closure.S src/powerpc/asm.h \
|
|
|
|
src/powerpc/aix.S src/powerpc/darwin.S \
|
|
|
|
src/powerpc/aix_closure.S src/powerpc/darwin_closure.S \
|
|
|
|
src/powerpc/ffi_darwin.c src/powerpc/ffitarget.h \
|
|
|
|
src/s390/ffi.c src/s390/sysv.S src/s390/ffitarget.h \
|
|
|
|
src/sh/ffi.c src/sh/sysv.S src/sh/ffitarget.h \
|
|
|
|
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/ffi.c src/x86/sysv.S src/x86/win32.S \
|
|
|
|
src/x86/ffi64.c src/x86/unix64.S src/x86/ffitarget.h
|
1999-08-08 15:27:18 +02:00
|
|
|
|
|
|
|
|
|
|
|
VPATH = @srcdir@:@srcdir@/src:@srcdir@/src/@TARGETDIR@
|
|
|
|
|
2000-05-01 23:35:35 +02:00
|
|
|
# Work around what appears to be a GNU make bug handling MAKEFLAGS
|
|
|
|
# values defined in terms of make variables, as is the case for CC and
|
|
|
|
# friends when we are called from the top level Makefile.
|
|
|
|
AM_MAKEFLAGS = \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC_FOR_BUILD=$(CC_FOR_BUILD)" \
|
|
|
|
"CFLAGS=$(CFLAGS)" \
|
|
|
|
"CXXFLAGS=$(CXXFLAGS)" \
|
|
|
|
"CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
|
|
|
|
"CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
|
|
|
|
"INSTALL=$(INSTALL)" \
|
|
|
|
"INSTALL_DATA=$(INSTALL_DATA)" \
|
|
|
|
"INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
|
|
|
|
"INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
|
|
|
|
"JC1FLAGS=$(JC1FLAGS)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"LIBCFLAGS=$(LIBCFLAGS)" \
|
|
|
|
"LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
|
|
|
|
"MAKE=$(MAKE)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
|
|
|
|
"PICFLAG=$(PICFLAG)" \
|
|
|
|
"PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
|
2003-09-04 16:47:05 +02:00
|
|
|
"RUNTESTFLAGS=$(RUNTESTFLAGS)" \
|
2000-05-01 23:35:35 +02:00
|
|
|
"SHELL=$(SHELL)" \
|
|
|
|
"exec_prefix=$(exec_prefix)" \
|
|
|
|
"infodir=$(infodir)" \
|
|
|
|
"libdir=$(libdir)" \
|
|
|
|
"prefix=$(prefix)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AS=$(AS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"CXX=$(CXX)" \
|
|
|
|
"LD=$(LD)" \
|
|
|
|
"LIBCFLAGS=$(LIBCFLAGS)" \
|
|
|
|
"NM=$(NM)" \
|
|
|
|
"PICFLAG=$(PICFLAG)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"DESTDIR=$(DESTDIR)"
|
|
|
|
|
|
|
|
|
|
|
|
MAKEOVERRIDES =
|
|
|
|
|
1999-08-08 15:27:18 +02:00
|
|
|
# Multilib support variables.
|
|
|
|
MULTISRCTOP =
|
|
|
|
MULTIBUILDTOP =
|
|
|
|
MULTIDIRS =
|
|
|
|
MULTISUBDIR =
|
|
|
|
MULTIDO = true
|
|
|
|
MULTICLEAN = true
|
|
|
|
|
|
|
|
toolexeclib_LTLIBRARIES = libffi.la
|
2002-03-17 01:35:21 +01:00
|
|
|
noinst_LTLIBRARIES = libffi_convenience.la
|
1999-08-08 15:27:18 +02:00
|
|
|
|
[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
|
|
|
TARGET_SRC_MIPS_IRIX = src/mips/ffi.c src/mips/o32.S src/mips/n32.S
|
2002-07-18 19:55:28 +02:00
|
|
|
TARGET_SRC_MIPS_LINUX = src/mips/ffi.c src/mips/o32.S
|
1999-08-08 15:27:18 +02:00
|
|
|
TARGET_SRC_X86 = src/x86/ffi.c src/x86/sysv.S
|
2001-03-27 04:39:16 +02:00
|
|
|
TARGET_SRC_X86_WIN32 = src/x86/ffi.c src/x86/win32.S
|
2000-05-01 23:35:35 +02:00
|
|
|
TARGET_SRC_SPARC = src/sparc/ffi.c src/sparc/v8.S src/sparc/v9.S
|
2000-03-03 20:33:11 +01:00
|
|
|
TARGET_SRC_ALPHA = src/alpha/ffi.c src/alpha/osf.S
|
|
|
|
TARGET_SRC_IA64 = src/ia64/ffi.c src/ia64/unix.S
|
1999-08-08 15:27:18 +02:00
|
|
|
TARGET_SRC_M68K = src/m68k/ffi.c src/m68k/sysv.S
|
2003-04-18 14:32:36 +02:00
|
|
|
TARGET_SRC_POWERPC = src/powerpc/ffi.c src/powerpc/sysv.S src/powerpc/ppc_closure.S src/powerpc/linux64.S src/powerpc/linux64_closure.S
|
2003-01-27 21:25:43 +01:00
|
|
|
TARGET_SRC_POWERPC_AIX = src/powerpc/ffi_darwin.c src/powerpc/aix.S src/powerpc/aix_closure.S
|
2002-03-07 19:24:42 +01:00
|
|
|
TARGET_SRC_POWERPC_DARWIN = src/powerpc/ffi_darwin.c src/powerpc/darwin.S src/powerpc/darwin_closure.S
|
1999-08-08 15:27:18 +02:00
|
|
|
TARGET_SRC_ARM = src/arm/sysv.S src/arm/ffi.c
|
2002-04-29 06:14:44 +02:00
|
|
|
TARGET_SRC_S390 = src/s390/sysv.S src/s390/ffi.c
|
2002-07-19 01:08:31 +02:00
|
|
|
TARGET_SRC_X86_64 = src/x86/ffi64.c src/x86/unix64.S src/x86/ffi.c src/x86/sysv.S
|
2002-07-19 03:08:43 +02:00
|
|
|
TARGET_SRC_SH = src/sh/sysv.S src/sh/ffi.c
|
2003-06-13 04:23:26 +02:00
|
|
|
TARGET_SRC_SH64 = src/sh64/sysv.S src/sh64/ffi.c
|
1999-08-08 15:27:18 +02:00
|
|
|
|
2000-05-01 23:35:35 +02:00
|
|
|
libffi_la_common_SOURCES = src/debug.c src/prep_cif.c src/types.c \
|
|
|
|
src/raw_api.c src/java_raw_api.c
|
|
|
|
|
[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
|
|
|
@MIPS_IRIX_TRUE@libffi_la_SOURCES = @MIPS_IRIX_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_MIPS_IRIX)
|
2002-07-18 19:55:28 +02:00
|
|
|
@MIPS_LINUX_TRUE@libffi_la_SOURCES = @MIPS_LINUX_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_MIPS_LINUX)
|
2000-01-05 00:06:17 +01:00
|
|
|
@X86_TRUE@libffi_la_SOURCES = @X86_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_X86)
|
2001-03-27 04:39:16 +02:00
|
|
|
@X86_WIN32_TRUE@libffi_la_SOURCES = @X86_WIN32_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_X86_WIN32)
|
2000-01-05 00:06:17 +01:00
|
|
|
@SPARC_TRUE@libffi_la_SOURCES = @SPARC_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_SPARC)
|
|
|
|
@ALPHA_TRUE@libffi_la_SOURCES = @ALPHA_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_ALPHA)
|
2000-05-01 23:35:35 +02:00
|
|
|
@IA64_TRUE@libffi_la_SOURCES = @IA64_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_IA64)
|
2000-01-05 00:06:17 +01:00
|
|
|
@M68K_TRUE@libffi_la_SOURCES = @M68K_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_M68K)
|
|
|
|
@POWERPC_TRUE@libffi_la_SOURCES = @POWERPC_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_POWERPC)
|
2002-01-17 17:04:21 +01:00
|
|
|
@POWERPC_AIX_TRUE@libffi_la_SOURCES = @POWERPC_AIX_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_POWERPC_AIX)
|
2001-10-09 07:32:16 +02:00
|
|
|
@POWERPC_DARWIN_TRUE@libffi_la_SOURCES = @POWERPC_DARWIN_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_POWERPC_DARWIN)
|
2000-01-05 00:06:17 +01:00
|
|
|
@ARM_TRUE@libffi_la_SOURCES = @ARM_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_ARM)
|
2002-04-29 06:14:44 +02:00
|
|
|
@S390_TRUE@libffi_la_SOURCES = @S390_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_S390)
|
2002-07-19 01:08:31 +02:00
|
|
|
@X86_64_TRUE@libffi_la_SOURCES = @X86_64_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_X86_64)
|
2002-07-19 03:08:43 +02:00
|
|
|
@SH_TRUE@libffi_la_SOURCES = @SH_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_SH)
|
2003-06-13 04:23:26 +02:00
|
|
|
@SH64_TRUE@libffi_la_SOURCES = @SH64_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_SH64)
|
[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
|
|
|
@MIPS_IRIX_TRUE@libffi_convenience_la_SOURCES = @MIPS_IRIX_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_MIPS_IRIX)
|
2002-07-18 19:55:28 +02:00
|
|
|
@MIPS_LINUX_TRUE@libffi_convenience_la_SOURCES = @MIPS_LINUX_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_MIPS_LINUX)
|
2002-03-17 01:35:21 +01:00
|
|
|
@X86_TRUE@libffi_convenience_la_SOURCES = @X86_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_X86)
|
|
|
|
@X86_WIN32_TRUE@libffi_convenience_la_SOURCES = @X86_WIN32_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_X86_WIN32)
|
|
|
|
@SPARC_TRUE@libffi_convenience_la_SOURCES = @SPARC_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_SPARC)
|
|
|
|
@ALPHA_TRUE@libffi_convenience_la_SOURCES = @ALPHA_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_ALPHA)
|
|
|
|
@IA64_TRUE@libffi_convenience_la_SOURCES = @IA64_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_IA64)
|
|
|
|
@M68K_TRUE@libffi_convenience_la_SOURCES = @M68K_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_M68K)
|
|
|
|
@POWERPC_TRUE@libffi_convenience_la_SOURCES = @POWERPC_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_POWERPC)
|
|
|
|
@POWERPC_AIX_TRUE@libffi_convenience_la_SOURCES = @POWERPC_AIX_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_POWERPC_AIX)
|
|
|
|
@POWERPC_DARWIN_TRUE@libffi_convenience_la_SOURCES = @POWERPC_DARWIN_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_POWERPC_DARWIN)
|
|
|
|
@ARM_TRUE@libffi_convenience_la_SOURCES = @ARM_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_ARM)
|
2002-04-29 06:14:44 +02:00
|
|
|
@S390_TRUE@libffi_convenience_la_SOURCES = @S390_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_S390)
|
2002-07-19 01:08:31 +02:00
|
|
|
@X86_64_TRUE@libffi_convenience_la_SOURCES = @X86_64_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_X86_64)
|
2003-06-13 04:23:26 +02:00
|
|
|
@SH_TRUE@libffi_convenience_la_SOURCES = @SH_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_SH)
|
|
|
|
@SH64_TRUE@libffi_convenience_la_SOURCES = @SH64_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_SH64)
|
1999-08-08 15:27:18 +02:00
|
|
|
|
2003-09-04 16:47:05 +02:00
|
|
|
AM_CFLAGS = -Wall -g -fexceptions
|
1999-08-09 00:58:30 +02:00
|
|
|
|
1999-08-08 15:27:18 +02:00
|
|
|
libffi_la_LDFLAGS = -release $(VERSION)
|
|
|
|
|
[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
|
|
|
INCLUDES = -I. -I$(top_srcdir)/include -Iinclude -I$(top_srcdir)/src
|
1999-08-08 15:27:18 +02:00
|
|
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
2003-09-04 16:47:05 +02:00
|
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/${libffi_basedir}../mkinstalldirs
|
1999-08-08 15:27:18 +02:00
|
|
|
CONFIG_HEADER = fficonfig.h
|
|
|
|
CONFIG_CLEAN_FILES =
|
2001-04-12 11:32:50 +02:00
|
|
|
LTLIBRARIES = $(noinst_LTLIBRARIES) $(toolexeclib_LTLIBRARIES)
|
1999-08-08 15:27:18 +02:00
|
|
|
|
|
|
|
|
|
|
|
DEFS = @DEFS@ -I. -I$(srcdir) -I.
|
|
|
|
CPPFLAGS = @CPPFLAGS@
|
|
|
|
LDFLAGS = @LDFLAGS@
|
|
|
|
LIBS = @LIBS@
|
2002-03-17 01:35:21 +01:00
|
|
|
libffi_convenience_la_LDFLAGS =
|
|
|
|
libffi_convenience_la_LIBADD =
|
2003-11-21 12:24:10 +01:00
|
|
|
@X86_64_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo \
|
|
|
|
@X86_64_TRUE@src/prep_cif.lo src/types.lo src/raw_api.lo \
|
|
|
|
@X86_64_TRUE@src/java_raw_api.lo src/x86/ffi64.lo src/x86/unix64.lo \
|
|
|
|
@X86_64_TRUE@src/x86/ffi.lo src/x86/sysv.lo
|
2003-11-22 14:41:33 +01:00
|
|
|
@M68K_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo src/prep_cif.lo \
|
|
|
|
@M68K_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
|
|
|
|
@M68K_TRUE@src/m68k/ffi.lo src/m68k/sysv.lo
|
2003-01-28 23:58:58 +01:00
|
|
|
@POWERPC_DARWIN_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo \
|
|
|
|
@POWERPC_DARWIN_TRUE@src/prep_cif.lo src/types.lo src/raw_api.lo \
|
|
|
|
@POWERPC_DARWIN_TRUE@src/java_raw_api.lo src/powerpc/ffi_darwin.lo \
|
|
|
|
@POWERPC_DARWIN_TRUE@src/powerpc/darwin.lo \
|
|
|
|
@POWERPC_DARWIN_TRUE@src/powerpc/darwin_closure.lo
|
2003-11-12 19:18:30 +01:00
|
|
|
@ALPHA_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo \
|
|
|
|
@ALPHA_TRUE@src/prep_cif.lo src/types.lo src/raw_api.lo \
|
|
|
|
@ALPHA_TRUE@src/java_raw_api.lo src/alpha/ffi.lo src/alpha/osf.lo
|
2003-11-22 14:41:33 +01:00
|
|
|
@ARM_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo src/prep_cif.lo \
|
|
|
|
@ARM_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
|
|
|
|
@ARM_TRUE@src/arm/sysv.lo src/arm/ffi.lo
|
2003-11-12 19:18:30 +01:00
|
|
|
@POWERPC_AIX_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo \
|
|
|
|
@POWERPC_AIX_TRUE@src/prep_cif.lo src/types.lo src/raw_api.lo \
|
|
|
|
@POWERPC_AIX_TRUE@src/java_raw_api.lo src/powerpc/ffi_darwin.lo \
|
|
|
|
@POWERPC_AIX_TRUE@src/powerpc/aix.lo src/powerpc/aix_closure.lo
|
2003-11-22 14:41:33 +01:00
|
|
|
@POWERPC_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo \
|
|
|
|
@POWERPC_TRUE@src/prep_cif.lo src/types.lo src/raw_api.lo \
|
|
|
|
@POWERPC_TRUE@src/java_raw_api.lo src/powerpc/ffi.lo \
|
|
|
|
@POWERPC_TRUE@src/powerpc/sysv.lo src/powerpc/ppc_closure.lo \
|
|
|
|
@POWERPC_TRUE@src/powerpc/linux64.lo src/powerpc/linux64_closure.lo
|
|
|
|
@MIPS_LINUX_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo \
|
|
|
|
@MIPS_LINUX_TRUE@src/prep_cif.lo src/types.lo src/raw_api.lo \
|
|
|
|
@MIPS_LINUX_TRUE@src/java_raw_api.lo src/mips/ffi.lo src/mips/o32.lo
|
|
|
|
@SH_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo src/prep_cif.lo \
|
|
|
|
@SH_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo src/sh/sysv.lo \
|
|
|
|
@SH_TRUE@src/sh/ffi.lo
|
|
|
|
@X86_WIN32_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo \
|
|
|
|
@X86_WIN32_TRUE@src/prep_cif.lo src/types.lo src/raw_api.lo \
|
|
|
|
@X86_WIN32_TRUE@src/java_raw_api.lo src/x86/ffi.lo src/x86/win32.lo
|
|
|
|
@SPARC_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo \
|
|
|
|
@SPARC_TRUE@src/prep_cif.lo src/types.lo src/raw_api.lo \
|
|
|
|
@SPARC_TRUE@src/java_raw_api.lo src/sparc/ffi.lo src/sparc/v8.lo \
|
|
|
|
@SPARC_TRUE@src/sparc/v9.lo
|
2003-09-04 16:47:05 +02:00
|
|
|
@SH64_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo src/prep_cif.lo \
|
|
|
|
@SH64_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
|
|
|
|
@SH64_TRUE@src/sh64/sysv.lo src/sh64/ffi.lo
|
2003-11-22 14:41:33 +01:00
|
|
|
@S390_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo src/prep_cif.lo \
|
|
|
|
@S390_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
|
|
|
|
@S390_TRUE@src/s390/sysv.lo src/s390/ffi.lo
|
2003-11-21 12:24:10 +01:00
|
|
|
@MIPS_IRIX_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo \
|
|
|
|
@MIPS_IRIX_TRUE@src/prep_cif.lo src/types.lo src/raw_api.lo \
|
|
|
|
@MIPS_IRIX_TRUE@src/java_raw_api.lo src/mips/ffi.lo src/mips/o32.lo \
|
|
|
|
@MIPS_IRIX_TRUE@src/mips/n32.lo
|
2003-11-12 19:18:30 +01:00
|
|
|
@X86_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo src/prep_cif.lo \
|
|
|
|
@X86_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
|
|
|
|
@X86_TRUE@src/x86/ffi.lo src/x86/sysv.lo
|
2003-11-22 14:41:33 +01:00
|
|
|
@IA64_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo src/prep_cif.lo \
|
|
|
|
@IA64_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
|
|
|
|
@IA64_TRUE@src/ia64/ffi.lo src/ia64/unix.lo
|
2003-11-12 19:18:30 +01:00
|
|
|
libffi_la_LIBADD =
|
2003-11-21 12:24:10 +01:00
|
|
|
@X86_64_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
|
|
|
|
@X86_64_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
|
|
|
|
@X86_64_TRUE@src/x86/ffi64.lo src/x86/unix64.lo src/x86/ffi.lo \
|
|
|
|
@X86_64_TRUE@src/x86/sysv.lo
|
2003-11-22 14:41:33 +01:00
|
|
|
@M68K_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
|
|
|
|
@M68K_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
|
|
|
|
@M68K_TRUE@src/m68k/ffi.lo src/m68k/sysv.lo
|
2003-09-04 16:47:05 +02:00
|
|
|
@POWERPC_DARWIN_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
|
|
|
|
@POWERPC_DARWIN_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
|
|
|
|
@POWERPC_DARWIN_TRUE@src/powerpc/ffi_darwin.lo src/powerpc/darwin.lo \
|
|
|
|
@POWERPC_DARWIN_TRUE@src/powerpc/darwin_closure.lo
|
2003-11-12 19:18:30 +01:00
|
|
|
@ALPHA_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
|
|
|
|
@ALPHA_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
|
|
|
|
@ALPHA_TRUE@src/alpha/ffi.lo src/alpha/osf.lo
|
2003-11-22 14:41:33 +01:00
|
|
|
@ARM_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo src/types.lo \
|
|
|
|
@ARM_TRUE@src/raw_api.lo src/java_raw_api.lo src/arm/sysv.lo \
|
|
|
|
@ARM_TRUE@src/arm/ffi.lo
|
2003-11-12 19:18:30 +01:00
|
|
|
@POWERPC_AIX_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
|
|
|
|
@POWERPC_AIX_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
|
|
|
|
@POWERPC_AIX_TRUE@src/powerpc/ffi_darwin.lo src/powerpc/aix.lo \
|
|
|
|
@POWERPC_AIX_TRUE@src/powerpc/aix_closure.lo
|
2003-11-22 14:41:33 +01:00
|
|
|
@POWERPC_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
|
|
|
|
@POWERPC_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
|
|
|
|
@POWERPC_TRUE@src/powerpc/ffi.lo src/powerpc/sysv.lo \
|
|
|
|
@POWERPC_TRUE@src/powerpc/ppc_closure.lo src/powerpc/linux64.lo \
|
|
|
|
@POWERPC_TRUE@src/powerpc/linux64_closure.lo
|
|
|
|
@MIPS_LINUX_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
|
|
|
|
@MIPS_LINUX_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
|
|
|
|
@MIPS_LINUX_TRUE@src/mips/ffi.lo src/mips/o32.lo
|
|
|
|
@SH_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo src/types.lo \
|
|
|
|
@SH_TRUE@src/raw_api.lo src/java_raw_api.lo src/sh/sysv.lo \
|
|
|
|
@SH_TRUE@src/sh/ffi.lo
|
|
|
|
@X86_WIN32_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
|
|
|
|
@X86_WIN32_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
|
|
|
|
@X86_WIN32_TRUE@src/x86/ffi.lo src/x86/win32.lo
|
|
|
|
@SPARC_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
|
|
|
|
@SPARC_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
|
|
|
|
@SPARC_TRUE@src/sparc/ffi.lo src/sparc/v8.lo src/sparc/v9.lo
|
2003-09-04 16:47:05 +02:00
|
|
|
@SH64_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
|
|
|
|
@SH64_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
|
|
|
|
@SH64_TRUE@src/sh64/sysv.lo src/sh64/ffi.lo
|
2003-11-22 14:41:33 +01:00
|
|
|
@S390_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
|
|
|
|
@S390_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
|
|
|
|
@S390_TRUE@src/s390/sysv.lo src/s390/ffi.lo
|
2003-11-21 12:24:10 +01:00
|
|
|
@MIPS_IRIX_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
|
|
|
|
@MIPS_IRIX_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
|
|
|
|
@MIPS_IRIX_TRUE@src/mips/ffi.lo src/mips/o32.lo src/mips/n32.lo
|
2003-11-12 19:18:30 +01:00
|
|
|
@X86_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo src/types.lo \
|
|
|
|
@X86_TRUE@src/raw_api.lo src/java_raw_api.lo src/x86/ffi.lo \
|
|
|
|
@X86_TRUE@src/x86/sysv.lo
|
2003-11-22 14:41:33 +01:00
|
|
|
@IA64_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
|
|
|
|
@IA64_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
|
|
|
|
@IA64_TRUE@src/ia64/ffi.lo src/ia64/unix.lo
|
2001-03-27 00:52:36 +02:00
|
|
|
CFLAGS = @CFLAGS@
|
1999-08-08 15:27:18 +02:00
|
|
|
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
|
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
|
|
CCLD = $(CC)
|
2001-03-27 00:52:36 +02:00
|
|
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
|
1999-08-08 15:27:18 +02:00
|
|
|
DIST_COMMON = README ./stamp-h.in ChangeLog Makefile.am Makefile.in \
|
[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
|
|
|
acinclude.m4 aclocal.m4 configure configure.in fficonfig.h.in
|
1999-08-08 15:27:18 +02:00
|
|
|
|
|
|
|
|
2001-03-27 00:52:36 +02:00
|
|
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
1999-08-08 15:27:18 +02:00
|
|
|
|
2003-09-04 16:47:05 +02:00
|
|
|
TAR = gnutar
|
1999-08-08 15:27:18 +02:00
|
|
|
GZIP_ENV = --best
|
2003-09-04 19:21:51 +02:00
|
|
|
SOURCES = $(libffi_convenience_la_SOURCES) $(libffi_la_SOURCES)
|
|
|
|
OBJECTS = $(libffi_convenience_la_OBJECTS) $(libffi_la_OBJECTS)
|
1999-08-08 15:27:18 +02:00
|
|
|
|
|
|
|
all: all-redirect
|
|
|
|
.SUFFIXES:
|
2001-03-27 00:52:36 +02:00
|
|
|
.SUFFIXES: .S .c .lo .o .obj .s
|
1999-08-08 15:27:18 +02:00
|
|
|
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|
|
|
cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
|
|
|
|
|
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
|
|
cd $(top_builddir) \
|
|
|
|
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
|
2001-03-27 00:52:36 +02:00
|
|
|
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
|
1999-08-08 15:27:18 +02:00
|
|
|
cd $(srcdir) && $(ACLOCAL)
|
|
|
|
|
|
|
|
config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
|
|
|
$(SHELL) ./config.status --recheck
|
|
|
|
$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
|
|
|
cd $(srcdir) && $(AUTOCONF)
|
|
|
|
|
|
|
|
fficonfig.h: stamp-h
|
|
|
|
@if test ! -f $@; then \
|
|
|
|
rm -f stamp-h; \
|
|
|
|
$(MAKE) stamp-h; \
|
|
|
|
else :; fi
|
|
|
|
stamp-h: $(srcdir)/fficonfig.h.in $(top_builddir)/config.status
|
|
|
|
cd $(top_builddir) \
|
|
|
|
&& CONFIG_FILES= CONFIG_HEADERS=fficonfig.h \
|
|
|
|
$(SHELL) ./config.status
|
2001-03-27 00:52:36 +02:00
|
|
|
@echo timestamp > stamp-h 2> /dev/null
|
|
|
|
$(srcdir)/fficonfig.h.in: @MAINTAINER_MODE_TRUE@$(srcdir)/stamp-h.in
|
1999-08-08 15:27:18 +02:00
|
|
|
@if test ! -f $@; then \
|
2001-03-27 00:52:36 +02:00
|
|
|
rm -f $(srcdir)/stamp-h.in; \
|
|
|
|
$(MAKE) $(srcdir)/stamp-h.in; \
|
1999-08-08 15:27:18 +02:00
|
|
|
else :; fi
|
[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
|
|
|
$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
1999-08-08 15:27:18 +02:00
|
|
|
cd $(top_srcdir) && $(AUTOHEADER)
|
2001-03-27 00:52:36 +02:00
|
|
|
@echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
|
1999-08-08 15:27:18 +02:00
|
|
|
|
|
|
|
mostlyclean-hdr:
|
|
|
|
|
|
|
|
clean-hdr:
|
|
|
|
|
|
|
|
distclean-hdr:
|
|
|
|
-rm -f fficonfig.h
|
|
|
|
|
|
|
|
maintainer-clean-hdr:
|
|
|
|
|
2001-04-12 11:32:50 +02:00
|
|
|
mostlyclean-noinstLTLIBRARIES:
|
|
|
|
|
|
|
|
clean-noinstLTLIBRARIES:
|
|
|
|
-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
|
|
|
|
|
|
|
|
distclean-noinstLTLIBRARIES:
|
|
|
|
|
|
|
|
maintainer-clean-noinstLTLIBRARIES:
|
|
|
|
|
1999-08-08 15:27:18 +02:00
|
|
|
mostlyclean-toolexeclibLTLIBRARIES:
|
|
|
|
|
|
|
|
clean-toolexeclibLTLIBRARIES:
|
|
|
|
-test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
|
|
|
|
|
|
|
|
distclean-toolexeclibLTLIBRARIES:
|
|
|
|
|
|
|
|
maintainer-clean-toolexeclibLTLIBRARIES:
|
|
|
|
|
|
|
|
install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
|
|
|
|
@$(NORMAL_INSTALL)
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
|
|
|
|
@list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
|
|
|
|
if test -f $$p; then \
|
2001-03-27 00:52:36 +02:00
|
|
|
echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
|
|
|
|
$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
|
1999-08-08 15:27:18 +02:00
|
|
|
else :; fi; \
|
|
|
|
done
|
|
|
|
|
|
|
|
uninstall-toolexeclibLTLIBRARIES:
|
|
|
|
@$(NORMAL_UNINSTALL)
|
2001-03-27 00:52:36 +02:00
|
|
|
list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
|
1999-08-08 15:27:18 +02:00
|
|
|
$(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \
|
|
|
|
done
|
|
|
|
|
2001-03-27 00:52:36 +02:00
|
|
|
# FIXME: We should only use cygpath when building on Windows,
|
|
|
|
# and only if it is available.
|
|
|
|
.c.obj:
|
|
|
|
$(COMPILE) -c `cygpath -w $<`
|
|
|
|
|
1999-08-08 15:27:18 +02:00
|
|
|
mostlyclean-compile:
|
|
|
|
-rm -f *.o core *.core
|
2001-03-27 00:52:36 +02:00
|
|
|
-rm -f *.$(OBJEXT)
|
1999-08-08 15:27:18 +02:00
|
|
|
|
|
|
|
clean-compile:
|
|
|
|
|
|
|
|
distclean-compile:
|
|
|
|
-rm -f *.tab.c
|
|
|
|
|
|
|
|
maintainer-clean-compile:
|
|
|
|
|
|
|
|
mostlyclean-libtool:
|
|
|
|
-rm -f *.lo
|
|
|
|
|
|
|
|
clean-libtool:
|
|
|
|
-rm -rf .libs _libs
|
|
|
|
|
|
|
|
distclean-libtool:
|
|
|
|
|
|
|
|
maintainer-clean-libtool:
|
|
|
|
|
2002-03-17 01:35:21 +01:00
|
|
|
libffi_convenience.la: $(libffi_convenience_la_OBJECTS) $(libffi_convenience_la_DEPENDENCIES)
|
|
|
|
$(LINK) $(libffi_convenience_la_LDFLAGS) $(libffi_convenience_la_OBJECTS) $(libffi_convenience_la_LIBADD) $(LIBS)
|
2001-04-12 11:32:50 +02:00
|
|
|
|
1999-08-08 15:27:18 +02:00
|
|
|
libffi.la: $(libffi_la_OBJECTS) $(libffi_la_DEPENDENCIES)
|
|
|
|
$(LINK) -rpath $(toolexeclibdir) $(libffi_la_LDFLAGS) $(libffi_la_OBJECTS) $(libffi_la_LIBADD) $(LIBS)
|
|
|
|
|
2000-05-01 23:35:35 +02:00
|
|
|
# This directory's subdirectories are mostly independent; you can cd
|
|
|
|
# into them and run `make' without going through this Makefile.
|
|
|
|
# To change the values of `make' variables: instead of editing Makefiles,
|
|
|
|
# (1) if the variable is set in `config.status', edit `config.status'
|
|
|
|
# (which will cause the Makefiles to be regenerated when you run `make');
|
|
|
|
# (2) otherwise, pass the desired values on the `make' command line.
|
|
|
|
|
2001-03-27 00:52:36 +02:00
|
|
|
@SET_MAKE@
|
|
|
|
|
2000-05-01 23:35:35 +02:00
|
|
|
all-recursive install-data-recursive install-exec-recursive \
|
|
|
|
installdirs-recursive install-recursive uninstall-recursive install-info-recursive \
|
|
|
|
check-recursive installcheck-recursive info-recursive dvi-recursive:
|
|
|
|
@set fnord $(MAKEFLAGS); amf=$$2; \
|
|
|
|
dot_seen=no; \
|
|
|
|
target=`echo $@ | sed s/-recursive//`; \
|
|
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
|
|
echo "Making $$target in $$subdir"; \
|
|
|
|
if test "$$subdir" = "."; then \
|
|
|
|
dot_seen=yes; \
|
|
|
|
local_target="$$target-am"; \
|
|
|
|
else \
|
|
|
|
local_target="$$target"; \
|
|
|
|
fi; \
|
|
|
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
|
|
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
|
|
|
done; \
|
|
|
|
if test "$$dot_seen" = "no"; then \
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
|
|
|
fi; test -z "$$fail"
|
|
|
|
|
|
|
|
mostlyclean-recursive clean-recursive distclean-recursive \
|
|
|
|
maintainer-clean-recursive:
|
|
|
|
@set fnord $(MAKEFLAGS); amf=$$2; \
|
|
|
|
dot_seen=no; \
|
|
|
|
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
|
|
rev="$$subdir $$rev"; \
|
2003-01-28 23:58:58 +01:00
|
|
|
test "$$subdir" = "." && dot_seen=yes; \
|
2000-05-01 23:35:35 +02:00
|
|
|
done; \
|
|
|
|
test "$$dot_seen" = "no" && rev=". $$rev"; \
|
|
|
|
target=`echo $@ | sed s/-recursive//`; \
|
|
|
|
for subdir in $$rev; do \
|
|
|
|
echo "Making $$target in $$subdir"; \
|
|
|
|
if test "$$subdir" = "."; then \
|
|
|
|
local_target="$$target-am"; \
|
|
|
|
else \
|
|
|
|
local_target="$$target"; \
|
|
|
|
fi; \
|
|
|
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
|
|
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
|
|
|
done && test -z "$$fail"
|
|
|
|
tags-recursive:
|
|
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
|
|
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
|
|
|
done
|
|
|
|
|
1999-08-08 15:27:18 +02:00
|
|
|
tags: TAGS
|
|
|
|
|
2001-03-27 00:52:36 +02:00
|
|
|
ID: $(HEADERS) $(SOURCES) $(LISP)
|
|
|
|
list='$(SOURCES) $(HEADERS)'; \
|
|
|
|
unique=`for i in $$list; do echo $$i; done | \
|
|
|
|
awk ' { files[$$0] = 1; } \
|
1999-08-08 15:27:18 +02:00
|
|
|
END { for (i in files) print i; }'`; \
|
2001-03-27 00:52:36 +02:00
|
|
|
here=`pwd` && cd $(srcdir) \
|
|
|
|
&& mkid -f$$here/ID $$unique $(LISP)
|
1999-08-08 15:27:18 +02:00
|
|
|
|
2001-03-27 00:52:36 +02:00
|
|
|
TAGS: tags-recursive $(HEADERS) $(SOURCES) fficonfig.h.in $(TAGS_DEPENDENCIES) $(LISP)
|
1999-08-08 15:27:18 +02:00
|
|
|
tags=; \
|
|
|
|
here=`pwd`; \
|
2000-05-01 23:35:35 +02:00
|
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
|
|
if test "$$subdir" = .; then :; else \
|
|
|
|
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
|
|
|
|
fi; \
|
|
|
|
done; \
|
2001-03-27 00:52:36 +02:00
|
|
|
list='$(SOURCES) $(HEADERS)'; \
|
|
|
|
unique=`for i in $$list; do echo $$i; done | \
|
|
|
|
awk ' { files[$$0] = 1; } \
|
1999-08-08 15:27:18 +02:00
|
|
|
END { for (i in files) print i; }'`; \
|
|
|
|
test -z "$(ETAGS_ARGS)fficonfig.h.in$$unique$(LISP)$$tags" \
|
2001-03-27 00:52:36 +02:00
|
|
|
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags fficonfig.h.in $$unique $(LISP) -o $$here/TAGS)
|
1999-08-08 15:27:18 +02:00
|
|
|
|
|
|
|
mostlyclean-tags:
|
|
|
|
|
|
|
|
clean-tags:
|
|
|
|
|
|
|
|
distclean-tags:
|
|
|
|
-rm -f TAGS ID
|
|
|
|
|
|
|
|
maintainer-clean-tags:
|
|
|
|
|
|
|
|
distdir = $(PACKAGE)-$(VERSION)
|
|
|
|
top_distdir = $(distdir)
|
|
|
|
|
|
|
|
# This target untars the dist file and tries a VPATH configuration. Then
|
|
|
|
# it guarantees that the distribution is self-contained by making another
|
|
|
|
# tarfile.
|
|
|
|
distcheck: dist
|
2001-03-27 00:52:36 +02:00
|
|
|
-rm -rf $(distdir)
|
|
|
|
GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
|
1999-08-08 15:27:18 +02:00
|
|
|
mkdir $(distdir)/=build
|
|
|
|
mkdir $(distdir)/=inst
|
2001-03-27 00:52:36 +02:00
|
|
|
dc_install_base=`cd $(distdir)/=inst && pwd`; \
|
|
|
|
cd $(distdir)/=build \
|
1999-08-08 15:27:18 +02:00
|
|
|
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
|
|
|
|
&& $(MAKE) $(AM_MAKEFLAGS) \
|
|
|
|
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
|
|
|
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
|
|
|
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
|
|
|
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
2001-03-27 00:52:36 +02:00
|
|
|
&& $(MAKE) $(AM_MAKEFLAGS) dist
|
|
|
|
-rm -rf $(distdir)
|
1999-08-08 15:27:18 +02:00
|
|
|
@banner="$(distdir).tar.gz is ready for distribution"; \
|
|
|
|
dashes=`echo "$$banner" | sed s/./=/g`; \
|
|
|
|
echo "$$dashes"; \
|
|
|
|
echo "$$banner"; \
|
|
|
|
echo "$$dashes"
|
|
|
|
dist: distdir
|
2001-03-27 00:52:36 +02:00
|
|
|
-chmod -R a+r $(distdir)
|
|
|
|
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
|
|
|
-rm -rf $(distdir)
|
1999-08-08 15:27:18 +02:00
|
|
|
dist-all: distdir
|
2001-03-27 00:52:36 +02:00
|
|
|
-chmod -R a+r $(distdir)
|
|
|
|
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
|
|
|
-rm -rf $(distdir)
|
1999-08-08 15:27:18 +02:00
|
|
|
distdir: $(DISTFILES)
|
2001-03-27 00:52:36 +02:00
|
|
|
-rm -rf $(distdir)
|
1999-08-08 15:27:18 +02:00
|
|
|
mkdir $(distdir)
|
2001-03-27 00:52:36 +02:00
|
|
|
-chmod 777 $(distdir)
|
1999-08-08 15:27:18 +02:00
|
|
|
$(mkinstalldirs) $(distdir)/src/alpha $(distdir)/src/arm \
|
|
|
|
$(distdir)/src/m68k $(distdir)/src/mips \
|
2003-01-28 23:58:58 +01:00
|
|
|
$(distdir)/src/powerpc $(distdir)/src/s390 $(distdir)/src/sh \
|
2003-09-04 16:47:05 +02:00
|
|
|
$(distdir)/src/sh64 $(distdir)/src/sparc $(distdir)/src/x86
|
1999-08-08 15:27:18 +02:00
|
|
|
@for file in $(DISTFILES); do \
|
|
|
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
|
|
|
if test -d $$d/$$file; then \
|
2001-03-27 00:52:36 +02:00
|
|
|
cp -pr $$d/$$file $(distdir)/$$file; \
|
1999-08-08 15:27:18 +02:00
|
|
|
else \
|
|
|
|
test -f $(distdir)/$$file \
|
2001-03-27 00:52:36 +02:00
|
|
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|
|
|
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
2000-05-01 23:35:35 +02:00
|
|
|
fi; \
|
|
|
|
done
|
|
|
|
for subdir in $(SUBDIRS); do \
|
|
|
|
if test "$$subdir" = .; then :; else \
|
|
|
|
test -d $(distdir)/$$subdir \
|
|
|
|
|| mkdir $(distdir)/$$subdir \
|
|
|
|
|| exit 1; \
|
2001-03-27 00:52:36 +02:00
|
|
|
chmod 777 $(distdir)/$$subdir; \
|
2000-05-01 23:35:35 +02:00
|
|
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
|
|
|
|
|| exit 1; \
|
1999-08-08 15:27:18 +02:00
|
|
|
fi; \
|
|
|
|
done
|
|
|
|
info-am:
|
2000-05-01 23:35:35 +02:00
|
|
|
info: info-recursive
|
1999-08-08 15:27:18 +02:00
|
|
|
dvi-am:
|
2000-05-01 23:35:35 +02:00
|
|
|
dvi: dvi-recursive
|
1999-08-08 15:27:18 +02:00
|
|
|
check-am:
|
2000-05-01 23:35:35 +02:00
|
|
|
check: check-recursive
|
1999-08-08 15:27:18 +02:00
|
|
|
installcheck-am:
|
2000-05-01 23:35:35 +02:00
|
|
|
installcheck: installcheck-recursive
|
1999-08-08 15:27:18 +02:00
|
|
|
install-info-am:
|
2000-05-01 23:35:35 +02:00
|
|
|
install-info: install-info-recursive
|
1999-08-08 15:27:18 +02:00
|
|
|
all-recursive-am: fficonfig.h
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
|
|
|
|
|
|
|
install-exec-am: install-toolexeclibLTLIBRARIES
|
2000-05-01 23:35:35 +02:00
|
|
|
install-exec: install-exec-recursive
|
1999-08-08 15:27:18 +02:00
|
|
|
|
|
|
|
install-data-am:
|
2000-05-01 23:35:35 +02:00
|
|
|
install-data: install-data-recursive
|
1999-08-08 15:27:18 +02:00
|
|
|
|
|
|
|
install-am: all-am
|
|
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
2000-05-01 23:35:35 +02:00
|
|
|
install: install-recursive
|
1999-08-08 15:27:18 +02:00
|
|
|
uninstall-am: uninstall-toolexeclibLTLIBRARIES
|
2000-05-01 23:35:35 +02:00
|
|
|
uninstall: uninstall-recursive
|
2003-09-04 19:21:51 +02:00
|
|
|
all-am: Makefile $(LTLIBRARIES) fficonfig.h
|
2000-05-01 23:35:35 +02:00
|
|
|
all-redirect: all-recursive-am
|
1999-08-08 15:27:18 +02:00
|
|
|
install-strip:
|
2001-03-27 00:52:36 +02:00
|
|
|
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
2000-05-01 23:35:35 +02:00
|
|
|
installdirs: installdirs-recursive
|
|
|
|
installdirs-am:
|
1999-08-08 15:27:18 +02:00
|
|
|
$(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
|
|
|
|
|
|
|
|
|
|
|
|
mostlyclean-generic:
|
|
|
|
|
|
|
|
clean-generic:
|
|
|
|
|
|
|
|
distclean-generic:
|
|
|
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
|
|
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
|
|
|
|
|
|
maintainer-clean-generic:
|
2001-04-12 11:32:50 +02:00
|
|
|
mostlyclean-am: mostlyclean-hdr mostlyclean-noinstLTLIBRARIES \
|
|
|
|
mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \
|
2003-09-04 19:21:51 +02:00
|
|
|
mostlyclean-libtool mostlyclean-tags \
|
|
|
|
mostlyclean-generic
|
1999-08-08 15:27:18 +02:00
|
|
|
|
2000-05-01 23:35:35 +02:00
|
|
|
mostlyclean: mostlyclean-recursive
|
1999-08-08 15:27:18 +02:00
|
|
|
|
2001-04-12 11:32:50 +02:00
|
|
|
clean-am: clean-hdr clean-noinstLTLIBRARIES \
|
|
|
|
clean-toolexeclibLTLIBRARIES clean-compile \
|
2003-09-04 19:21:51 +02:00
|
|
|
clean-libtool clean-tags clean-generic mostlyclean-am
|
1999-08-08 15:27:18 +02:00
|
|
|
|
2000-05-01 23:35:35 +02:00
|
|
|
clean: clean-recursive
|
1999-08-08 15:27:18 +02:00
|
|
|
|
2001-04-12 11:32:50 +02:00
|
|
|
distclean-am: distclean-hdr distclean-noinstLTLIBRARIES \
|
|
|
|
distclean-toolexeclibLTLIBRARIES distclean-compile \
|
2003-09-04 19:21:51 +02:00
|
|
|
distclean-libtool distclean-tags distclean-generic \
|
|
|
|
clean-am
|
1999-08-08 15:27:18 +02:00
|
|
|
-rm -f libtool
|
|
|
|
|
2000-05-01 23:35:35 +02:00
|
|
|
distclean: distclean-recursive
|
1999-08-08 15:27:18 +02:00
|
|
|
-rm -f config.status
|
|
|
|
|
|
|
|
maintainer-clean-am: maintainer-clean-hdr \
|
2001-04-12 11:32:50 +02:00
|
|
|
maintainer-clean-noinstLTLIBRARIES \
|
1999-08-08 15:27:18 +02:00
|
|
|
maintainer-clean-toolexeclibLTLIBRARIES \
|
|
|
|
maintainer-clean-compile maintainer-clean-libtool \
|
2003-09-04 19:21:51 +02:00
|
|
|
maintainer-clean-tags maintainer-clean-generic \
|
|
|
|
distclean-am
|
1999-08-08 15:27:18 +02:00
|
|
|
@echo "This command is intended for maintainers to use;"
|
|
|
|
@echo "it deletes files that may require special tools to rebuild."
|
|
|
|
|
2000-05-01 23:35:35 +02:00
|
|
|
maintainer-clean: maintainer-clean-recursive
|
1999-08-08 15:27:18 +02:00
|
|
|
-rm -f config.status
|
|
|
|
|
|
|
|
.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
|
2001-04-12 11:32:50 +02:00
|
|
|
mostlyclean-noinstLTLIBRARIES distclean-noinstLTLIBRARIES \
|
|
|
|
clean-noinstLTLIBRARIES maintainer-clean-noinstLTLIBRARIES \
|
1999-08-08 15:27:18 +02:00
|
|
|
mostlyclean-toolexeclibLTLIBRARIES distclean-toolexeclibLTLIBRARIES \
|
|
|
|
clean-toolexeclibLTLIBRARIES maintainer-clean-toolexeclibLTLIBRARIES \
|
|
|
|
uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \
|
|
|
|
mostlyclean-compile distclean-compile clean-compile \
|
|
|
|
maintainer-clean-compile mostlyclean-libtool distclean-libtool \
|
2003-09-04 19:21:51 +02:00
|
|
|
clean-libtool maintainer-clean-libtool install-data-recursive \
|
2001-03-27 00:52:36 +02:00
|
|
|
uninstall-data-recursive install-exec-recursive \
|
2000-05-01 23:35:35 +02:00
|
|
|
uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
|
|
|
|
all-recursive check-recursive installcheck-recursive info-recursive \
|
|
|
|
dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
|
|
|
|
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
|
|
|
|
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
|
|
|
|
dvi-am dvi check check-am installcheck-am installcheck install-info-am \
|
|
|
|
install-info all-recursive-am install-exec-am install-exec \
|
|
|
|
install-data-am install-data install-am install uninstall-am uninstall \
|
2001-03-27 00:52:36 +02:00
|
|
|
all-redirect all-am all installdirs-am installdirs mostlyclean-generic \
|
|
|
|
distclean-generic clean-generic maintainer-clean-generic clean \
|
|
|
|
mostlyclean distclean maintainer-clean
|
|
|
|
|
|
|
|
|
|
|
|
# Override these rules so that object files get put in the correct
|
|
|
|
# subdirectories.
|
|
|
|
.c.o:
|
|
|
|
$(LTCOMPILE) -c -o $@ $<
|
|
|
|
|
|
|
|
.s.o:
|
|
|
|
$(LTCOMPILE) -c -o $@ $<
|
|
|
|
|
|
|
|
.S.o:
|
|
|
|
$(LTCOMPILE) -c -o $@ $<
|
|
|
|
|
|
|
|
.c.lo:
|
|
|
|
$(LTCOMPILE) -c -o $@ $<
|
2000-05-01 23:35:35 +02:00
|
|
|
|
2001-03-27 00:52:36 +02:00
|
|
|
.s.lo:
|
|
|
|
$(LTCOMPILE) -c -o $@ $<
|
|
|
|
|
|
|
|
.S.lo:
|
|
|
|
$(LTCOMPILE) -c -o $@ $<
|
2000-05-01 23:35:35 +02:00
|
|
|
|
|
|
|
# Multilib support.
|
|
|
|
.PHONY: all-multi mostlyclean-multi clean-multi distclean-multi \
|
|
|
|
maintainer-clean-multi
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
all-multi:
|
2002-09-23 05:52:55 +02:00
|
|
|
: $(MAKE) ; exec $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
|
2000-05-01 23:35:35 +02:00
|
|
|
install-multi:
|
|
|
|
$(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
|
|
|
|
mostlyclean-multi:
|
|
|
|
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean
|
|
|
|
clean-multi:
|
|
|
|
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean
|
|
|
|
distclean-multi:
|
|
|
|
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean
|
|
|
|
maintainer-clean-multi:
|
|
|
|
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean
|
1999-08-08 15:27:18 +02:00
|
|
|
|
[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
|
|
|
# Our hacked automake doesn't clean subdirectories properly.
|
|
|
|
mostlyclean-am: mostlyclean-sub
|
|
|
|
mostlyclean-sub:
|
|
|
|
-rm -f src/*.o src/*.lo
|
|
|
|
-rm -f src/@TARGETDIR@/*.o src/@TARGETDIR@/*.lo
|
|
|
|
|
|
|
|
clean-am: clean-sub
|
|
|
|
clean-sub:
|
|
|
|
-rm -rf src/.libs src/_libs
|
|
|
|
-rm -rf src/@TARGETDIR@/.libs src/@TARGETDIR@/_libs
|
|
|
|
|
1999-08-08 15:27:18 +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:
|