2015-05-13 13:23:24 +02:00
|
|
|
# Makefile.in generated by automake 1.11.6 from Makefile.am.
|
2004-03-11 20:59:49 +01:00
|
|
|
# @configure_input@
|
1999-08-08 15:27:18 +02:00
|
|
|
|
2004-06-15 16:47:55 +02:00
|
|
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
2015-05-13 13:23:24 +02:00
|
|
|
# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 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.
|
|
|
|
|
2004-03-11 20:59:49 +01:00
|
|
|
@SET_MAKE@
|
1999-08-08 15:27:18 +02:00
|
|
|
|
2015-01-12 17:19:59 +01:00
|
|
|
|
|
|
|
|
2004-03-11 20:59:49 +01:00
|
|
|
VPATH = @srcdir@
|
2015-05-13 13:23:24 +02:00
|
|
|
am__make_dryrun = \
|
|
|
|
{ \
|
|
|
|
am__dry=no; \
|
|
|
|
case $$MAKEFLAGS in \
|
|
|
|
*\\[\ \ ]*) \
|
|
|
|
echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
|
|
|
|
| grep '^AM OK$$' >/dev/null || am__dry=yes;; \
|
|
|
|
*) \
|
|
|
|
for am__flg in $$MAKEFLAGS; do \
|
|
|
|
case $$am__flg in \
|
|
|
|
*=*|--*) ;; \
|
|
|
|
*n*) am__dry=yes; break;; \
|
|
|
|
esac; \
|
|
|
|
done;; \
|
|
|
|
esac; \
|
|
|
|
test $$am__dry = yes; \
|
|
|
|
}
|
1999-08-08 15:27:18 +02:00
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
2009-08-22 15:22:20 +02:00
|
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
|
|
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
2004-03-11 20:59:49 +01:00
|
|
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
|
|
|
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-08 15:27:18 +02:00
|
|
|
NORMAL_INSTALL = :
|
|
|
|
PRE_INSTALL = :
|
|
|
|
POST_INSTALL = :
|
|
|
|
NORMAL_UNINSTALL = :
|
|
|
|
PRE_UNINSTALL = :
|
|
|
|
POST_UNINSTALL = :
|
2003-09-04 16:47:05 +02:00
|
|
|
build_triplet = @build@
|
1999-08-08 15:27:18 +02:00
|
|
|
host_triplet = @host@
|
2003-09-04 16:47:05 +02:00
|
|
|
target_triplet = @target@
|
2012-12-29 17:25:27 +01:00
|
|
|
@FFI_DEBUG_TRUE@am__append_1 = src/debug.c
|
2015-01-12 17:19:59 +01:00
|
|
|
# Build debug. Define FFI_DEBUG on the commandline so that, when building with
|
|
|
|
# MSVC, it can link against the debug CRT.
|
|
|
|
@FFI_DEBUG_TRUE@am__append_2 = -DFFI_DEBUG
|
2009-08-22 15:22:20 +02:00
|
|
|
subdir = .
|
2014-04-24 23:17:32 +02:00
|
|
|
DIST_COMMON = README ChangeLog $(srcdir)/Makefile.in \
|
|
|
|
$(srcdir)/Makefile.am $(top_srcdir)/configure \
|
|
|
|
$(am__configure_deps) $(srcdir)/fficonfig.h.in \
|
2015-01-12 17:19:59 +01:00
|
|
|
$(srcdir)/../mkinstalldirs $(srcdir)/libffi.pc.in \
|
|
|
|
$(srcdir)/../depcomp mdate-sh $(srcdir)/doc/version.texi \
|
|
|
|
$(srcdir)/doc/stamp-vti $(noinst_HEADERS)
|
2004-06-15 16:47:55 +02:00
|
|
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
2012-12-29 17:25:27 +01:00
|
|
|
am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \
|
|
|
|
$(top_srcdir)/../config/asmcfi.m4 \
|
|
|
|
$(top_srcdir)/../config/depstand.m4 \
|
2007-01-17 20:48:52 +01:00
|
|
|
$(top_srcdir)/../config/lead-dot.m4 \
|
2008-03-16 09:19:08 +01:00
|
|
|
$(top_srcdir)/../config/multi.m4 \
|
2008-05-09 12:10:53 +02:00
|
|
|
$(top_srcdir)/../config/override.m4 \
|
2008-03-16 09:19:08 +01:00
|
|
|
$(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \
|
|
|
|
$(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \
|
2008-09-26 18:41:52 +02:00
|
|
|
$(top_srcdir)/../lt~obsolete.m4 $(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)
|
|
|
|
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
2009-08-22 15:22:20 +02:00
|
|
|
configure.lineno config.status.lineno
|
2004-06-15 16:47:55 +02:00
|
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
|
|
|
|
CONFIG_HEADER = fficonfig.h
|
2015-01-12 17:19:59 +01:00
|
|
|
CONFIG_CLEAN_FILES = libffi.pc
|
2009-08-22 15:22:20 +02:00
|
|
|
CONFIG_CLEAN_VPATH_FILES =
|
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;
|
2009-08-22 15:22:20 +02:00
|
|
|
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
|
|
|
|
am__install_max = 40
|
|
|
|
am__nobase_strip_setup = \
|
|
|
|
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
|
|
|
|
am__nobase_strip = \
|
|
|
|
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
|
|
|
|
am__nobase_list = $(am__nobase_strip_setup); \
|
|
|
|
for p in $$list; do echo "$$p $$p"; done | \
|
|
|
|
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
|
|
|
|
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
|
|
|
|
if (++n[$$2] == $(am__install_max)) \
|
|
|
|
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
|
|
|
|
END { for (dir in files) print dir, files[dir] }'
|
|
|
|
am__base_list = \
|
|
|
|
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
|
|
|
|
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
|
2015-05-13 13:23:24 +02:00
|
|
|
am__uninstall_files_from_dir = { \
|
|
|
|
test -z "$$files" \
|
|
|
|
|| { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
|
|
|
|
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
|
|
|
|
$(am__cd) "$$dir" && rm -f $$files; }; \
|
|
|
|
}
|
2015-01-12 17:19:59 +01:00
|
|
|
am__installdirs = "$(DESTDIR)$(toolexeclibdir)" "$(DESTDIR)$(infodir)" \
|
|
|
|
"$(DESTDIR)$(pkgconfigdir)"
|
2004-06-15 16:47:55 +02:00
|
|
|
LTLIBRARIES = $(noinst_LTLIBRARIES) $(toolexeclib_LTLIBRARIES)
|
2015-01-12 17:19:59 +01:00
|
|
|
am__DEPENDENCIES_1 =
|
2004-06-15 16:47:55 +02:00
|
|
|
am__dirstamp = $(am__leading_dot)dirstamp
|
2012-12-29 17:25:27 +01:00
|
|
|
@FFI_DEBUG_TRUE@am__objects_1 = src/debug.lo
|
2015-01-12 17:19:59 +01:00
|
|
|
am_libffi_la_OBJECTS = src/prep_cif.lo src/types.lo src/raw_api.lo \
|
|
|
|
src/java_raw_api.lo src/closures.lo $(am__objects_1)
|
|
|
|
libffi_la_OBJECTS = $(am_libffi_la_OBJECTS)
|
2009-08-22 15:22:20 +02:00
|
|
|
libffi_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
|
|
|
|
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
|
|
|
$(libffi_la_LDFLAGS) $(LDFLAGS) -o $@
|
2015-01-12 17:19:59 +01:00
|
|
|
am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1)
|
|
|
|
am__objects_2 = src/prep_cif.lo src/types.lo src/raw_api.lo \
|
|
|
|
src/java_raw_api.lo src/closures.lo $(am__objects_1)
|
|
|
|
am_libffi_convenience_la_OBJECTS = $(am__objects_2)
|
|
|
|
nodist_libffi_convenience_la_OBJECTS =
|
2004-06-15 16:47:55 +02:00
|
|
|
libffi_convenience_la_OBJECTS = $(am_libffi_convenience_la_OBJECTS) \
|
|
|
|
$(nodist_libffi_convenience_la_OBJECTS)
|
2009-08-22 15:22:20 +02:00
|
|
|
DEFAULT_INCLUDES = -I.@am__isrc@
|
2004-11-23 05:11:31 +01:00
|
|
|
depcomp = $(SHELL) $(top_srcdir)/../depcomp
|
|
|
|
am__depfiles_maybe = depfiles
|
2009-08-22 15:22:20 +02:00
|
|
|
am__mv = mv -f
|
|
|
|
CPPASCOMPILE = $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
|
|
|
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS)
|
|
|
|
LTCPPASCOMPILE = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
|
|
|
--mode=compile $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
|
|
|
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS)
|
2004-06-15 16:47:55 +02:00
|
|
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
|
|
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
2009-08-22 15:22:20 +02:00
|
|
|
LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
|
|
|
--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
|
|
|
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
2004-06-15 16:47:55 +02:00
|
|
|
CCLD = $(CC)
|
2009-08-22 15:22:20 +02:00
|
|
|
LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
|
|
|
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
|
|
|
|
$(LDFLAGS) -o $@
|
2015-01-12 17:19:59 +01:00
|
|
|
SOURCES = $(libffi_la_SOURCES) $(EXTRA_libffi_la_SOURCES) \
|
2004-06-15 16:47:55 +02:00
|
|
|
$(libffi_convenience_la_SOURCES) \
|
2015-01-12 17:19:59 +01:00
|
|
|
$(EXTRA_libffi_convenience_la_SOURCES) \
|
2004-06-15 16:47:55 +02:00
|
|
|
$(nodist_libffi_convenience_la_SOURCES)
|
|
|
|
MULTISRCTOP =
|
|
|
|
MULTIBUILDTOP =
|
|
|
|
MULTIDIRS =
|
|
|
|
MULTISUBDIR =
|
|
|
|
MULTIDO = true
|
|
|
|
MULTICLEAN = true
|
2012-12-29 17:25:27 +01:00
|
|
|
INFO_DEPS = doc/libffi.info
|
|
|
|
am__TEXINFO_TEX_DIR = $(srcdir)/../gcc/doc/include
|
|
|
|
DVIS = doc/libffi.dvi
|
|
|
|
PDFS = doc/libffi.pdf
|
|
|
|
PSS = doc/libffi.ps
|
|
|
|
HTMLS = doc/libffi.html
|
|
|
|
TEXINFOS = doc/libffi.texi
|
|
|
|
TEXI2DVI = texi2dvi
|
|
|
|
TEXI2PDF = $(TEXI2DVI) --pdf --batch
|
|
|
|
MAKEINFOHTML = $(MAKEINFO) --html
|
|
|
|
AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS)
|
|
|
|
DVIPS = dvips
|
2004-06-15 16:47:55 +02:00
|
|
|
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
|
|
|
|
html-recursive info-recursive install-data-recursive \
|
2009-08-22 15:22:20 +02:00
|
|
|
install-dvi-recursive install-exec-recursive \
|
|
|
|
install-html-recursive install-info-recursive \
|
|
|
|
install-pdf-recursive install-ps-recursive install-recursive \
|
|
|
|
installcheck-recursive installdirs-recursive pdf-recursive \
|
|
|
|
ps-recursive uninstall-recursive
|
2015-05-13 13:23:24 +02:00
|
|
|
am__can_run_installinfo = \
|
|
|
|
case $$AM_UPDATE_INFO_DIR in \
|
|
|
|
n|no|NO) false;; \
|
|
|
|
*) (install-info --version) >/dev/null 2>&1;; \
|
|
|
|
esac
|
2015-01-12 17:19:59 +01:00
|
|
|
DATA = $(pkgconfig_DATA)
|
|
|
|
HEADERS = $(noinst_HEADERS)
|
2009-08-22 15:22:20 +02:00
|
|
|
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
|
|
|
|
distclean-recursive maintainer-clean-recursive
|
|
|
|
AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
|
2014-04-24 23:17:32 +02:00
|
|
|
$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS
|
2004-06-15 16:47:55 +02:00
|
|
|
ETAGS = etags
|
|
|
|
CTAGS = ctags
|
|
|
|
DIST_SUBDIRS = $(SUBDIRS)
|
2004-03-11 20:59:49 +01:00
|
|
|
ACLOCAL = @ACLOCAL@
|
|
|
|
ALLOCA = @ALLOCA@
|
|
|
|
AMTAR = @AMTAR@
|
2009-12-31 18:44:32 +01:00
|
|
|
AM_LTLDFLAGS = @AM_LTLDFLAGS@
|
2003-09-04 16:47:05 +02:00
|
|
|
AM_RUNTESTFLAGS = @AM_RUNTESTFLAGS@
|
2007-05-24 18:37:27 +02:00
|
|
|
AR = @AR@
|
2004-03-11 20:59:49 +01:00
|
|
|
AUTOCONF = @AUTOCONF@
|
|
|
|
AUTOHEADER = @AUTOHEADER@
|
|
|
|
AUTOMAKE = @AUTOMAKE@
|
|
|
|
AWK = @AWK@
|
1999-08-08 15:27:18 +02:00
|
|
|
CC = @CC@
|
2004-03-11 20:59:49 +01:00
|
|
|
CCAS = @CCAS@
|
2009-08-22 15:22:20 +02:00
|
|
|
CCASDEPMODE = @CCASDEPMODE@
|
2004-03-11 20:59:49 +01:00
|
|
|
CCASFLAGS = @CCASFLAGS@
|
|
|
|
CCDEPMODE = @CCDEPMODE@
|
|
|
|
CFLAGS = @CFLAGS@
|
|
|
|
CPP = @CPP@
|
|
|
|
CPPFLAGS = @CPPFLAGS@
|
2015-01-12 17:19:59 +01:00
|
|
|
CXX = @CXX@
|
|
|
|
CXXCPP = @CXXCPP@
|
|
|
|
CXXDEPMODE = @CXXDEPMODE@
|
|
|
|
CXXFLAGS = @CXXFLAGS@
|
2004-03-11 20:59:49 +01:00
|
|
|
CYGPATH_W = @CYGPATH_W@
|
|
|
|
DEFS = @DEFS@
|
|
|
|
DEPDIR = @DEPDIR@
|
2008-09-26 18:41:52 +02:00
|
|
|
DSYMUTIL = @DSYMUTIL@
|
2007-05-24 18:37:27 +02:00
|
|
|
DUMPBIN = @DUMPBIN@
|
2004-03-11 20:59:49 +01:00
|
|
|
ECHO_C = @ECHO_C@
|
|
|
|
ECHO_N = @ECHO_N@
|
|
|
|
ECHO_T = @ECHO_T@
|
|
|
|
EGREP = @EGREP@
|
1999-08-08 15:27:18 +02:00
|
|
|
EXEEXT = @EXEEXT@
|
2012-12-29 17:25:27 +01:00
|
|
|
FFI_EXEC_TRAMPOLINE_TABLE = @FFI_EXEC_TRAMPOLINE_TABLE@
|
2007-05-24 18:37:27 +02:00
|
|
|
FGREP = @FGREP@
|
|
|
|
GREP = @GREP@
|
[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@
|
2013-12-10 01:42:14 +01:00
|
|
|
HAVE_LONG_DOUBLE_VARIANT = @HAVE_LONG_DOUBLE_VARIANT@
|
2009-08-22 15:22:20 +02:00
|
|
|
INSTALL = @INSTALL@
|
2004-03-11 20:59:49 +01:00
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
|
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
2007-05-24 18:37:27 +02:00
|
|
|
LD = @LD@
|
2009-08-22 15:22:20 +02:00
|
|
|
LDFLAGS = @LDFLAGS@
|
2004-03-11 20:59:49 +01:00
|
|
|
LIBOBJS = @LIBOBJS@
|
|
|
|
LIBS = @LIBS@
|
1999-08-08 15:27:18 +02:00
|
|
|
LIBTOOL = @LIBTOOL@
|
2008-09-26 18:41:52 +02:00
|
|
|
LIPO = @LIPO@
|
1999-08-08 15:27:18 +02:00
|
|
|
LN_S = @LN_S@
|
2004-03-11 20:59:49 +01:00
|
|
|
LTLIBOBJS = @LTLIBOBJS@
|
1999-08-08 15:27:18 +02:00
|
|
|
MAINT = @MAINT@
|
|
|
|
MAKEINFO = @MAKEINFO@
|
2009-08-22 15:22:20 +02:00
|
|
|
MKDIR_P = @MKDIR_P@
|
2007-05-24 18:37:27 +02:00
|
|
|
NM = @NM@
|
2008-09-26 18:41:52 +02:00
|
|
|
NMEDIT = @NMEDIT@
|
|
|
|
OBJDUMP = @OBJDUMP@
|
2001-03-27 00:52:36 +02:00
|
|
|
OBJEXT = @OBJEXT@
|
2016-03-03 00:28:11 +01:00
|
|
|
OPT_LDFLAGS = @OPT_LDFLAGS@
|
2008-09-26 18:41:52 +02:00
|
|
|
OTOOL = @OTOOL@
|
|
|
|
OTOOL64 = @OTOOL64@
|
1999-08-08 15:27:18 +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@
|
2009-08-22 15:22:20 +02:00
|
|
|
PACKAGE_URL = @PACKAGE_URL@
|
2004-03-11 20:59:49 +01:00
|
|
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
|
|
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
1999-08-08 15:27:18 +02:00
|
|
|
RANLIB = @RANLIB@
|
2016-03-03 00:28:11 +01:00
|
|
|
SECTION_LDFLAGS = @SECTION_LDFLAGS@
|
2007-05-24 18:37:27 +02:00
|
|
|
SED = @SED@
|
2004-03-11 20:59:49 +01:00
|
|
|
SET_MAKE = @SET_MAKE@
|
1999-08-08 15:27:18 +02:00
|
|
|
SHELL = @SHELL@
|
2001-03-27 00:52:36 +02:00
|
|
|
STRIP = @STRIP@
|
1999-08-08 15:27:18 +02:00
|
|
|
TARGET = @TARGET@
|
|
|
|
TARGETDIR = @TARGETDIR@
|
2015-01-12 17:19:59 +01:00
|
|
|
TARGET_OBJ = @TARGET_OBJ@
|
1999-08-08 15:27:18 +02:00
|
|
|
VERSION = @VERSION@
|
2009-08-22 15:22:20 +02:00
|
|
|
abs_builddir = @abs_builddir@
|
|
|
|
abs_srcdir = @abs_srcdir@
|
|
|
|
abs_top_builddir = @abs_top_builddir@
|
|
|
|
abs_top_srcdir = @abs_top_srcdir@
|
2004-03-11 20:59:49 +01:00
|
|
|
ac_ct_CC = @ac_ct_CC@
|
2015-01-12 17:19:59 +01:00
|
|
|
ac_ct_CXX = @ac_ct_CXX@
|
2007-05-24 18:37:27 +02:00
|
|
|
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
2004-03-11 20:59:49 +01:00
|
|
|
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@
|
2009-08-22 15:22:20 +02:00
|
|
|
builddir = @builddir@
|
2004-03-11 20:59:49 +01:00
|
|
|
datadir = @datadir@
|
2009-08-22 15:22:20 +02:00
|
|
|
datarootdir = @datarootdir@
|
|
|
|
docdir = @docdir@
|
|
|
|
dvidir = @dvidir@
|
2004-03-11 20:59:49 +01:00
|
|
|
exec_prefix = @exec_prefix@
|
2017-01-21 09:47:11 +01:00
|
|
|
get_gcc_base_ver = @get_gcc_base_ver@
|
2004-03-11 20:59:49 +01:00
|
|
|
host = @host@
|
|
|
|
host_alias = @host_alias@
|
|
|
|
host_cpu = @host_cpu@
|
|
|
|
host_os = @host_os@
|
|
|
|
host_vendor = @host_vendor@
|
2009-08-22 15:22:20 +02:00
|
|
|
htmldir = @htmldir@
|
2004-03-11 20:59:49 +01:00
|
|
|
includedir = @includedir@
|
|
|
|
infodir = @infodir@
|
|
|
|
install_sh = @install_sh@
|
|
|
|
libdir = @libdir@
|
|
|
|
libexecdir = @libexecdir@
|
2009-08-22 15:22:20 +02:00
|
|
|
localedir = @localedir@
|
2004-03-11 20:59:49 +01:00
|
|
|
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@
|
2009-08-22 15:22:20 +02:00
|
|
|
pdfdir = @pdfdir@
|
2004-03-11 20:59:49 +01:00
|
|
|
prefix = @prefix@
|
|
|
|
program_transform_name = @program_transform_name@
|
2009-08-22 15:22:20 +02:00
|
|
|
psdir = @psdir@
|
2004-03-11 20:59:49 +01:00
|
|
|
sbindir = @sbindir@
|
|
|
|
sharedstatedir = @sharedstatedir@
|
2009-08-22 15:22:20 +02:00
|
|
|
srcdir = @srcdir@
|
2004-03-11 20:59:49 +01:00
|
|
|
sysconfdir = @sysconfdir@
|
|
|
|
target = @target@
|
|
|
|
target_alias = @target_alias@
|
|
|
|
target_cpu = @target_cpu@
|
|
|
|
target_os = @target_os@
|
|
|
|
target_vendor = @target_vendor@
|
2003-01-28 23:58:58 +01:00
|
|
|
toolexecdir = @toolexecdir@
|
|
|
|
toolexeclibdir = @toolexeclibdir@
|
2009-08-22 15:22:20 +02:00
|
|
|
top_build_prefix = @top_build_prefix@
|
|
|
|
top_builddir = @top_builddir@
|
|
|
|
top_srcdir = @top_srcdir@
|
2004-11-23 05:11:31 +01:00
|
|
|
AUTOMAKE_OPTIONS = foreign subdir-objects
|
2007-01-17 20:48:52 +01:00
|
|
|
ACLOCAL_AMFLAGS = -I .. -I ../config
|
2009-06-09 12:21:19 +02:00
|
|
|
SUBDIRS = include testsuite man
|
2015-01-12 17:19:59 +01:00
|
|
|
EXTRA_DIST = LICENSE ChangeLog.v1 ChangeLog.libgcj \
|
|
|
|
ChangeLog.libffi ChangeLog.libffi-3.1 \
|
|
|
|
m4/libtool.m4 m4/lt~obsolete.m4 \
|
2012-12-29 17:25:27 +01:00
|
|
|
m4/ltoptions.m4 m4/ltsugar.m4 m4/ltversion.m4 \
|
2015-01-12 17:19:59 +01:00
|
|
|
m4/ltversion.m4 src/debug.c msvcc.sh \
|
|
|
|
generate-darwin-source-and-headers.py \
|
|
|
|
libffi.xcodeproj/project.pbxproj \
|
|
|
|
libtool-ldflags
|
2012-12-29 17:25:27 +01:00
|
|
|
|
|
|
|
|
|
|
|
# Automake Documentation:
|
|
|
|
# If your package has Texinfo files in many directories, you can use the
|
|
|
|
# variable TEXINFO_TEX to tell Automake where to find the canonical
|
|
|
|
# `texinfo.tex' for your package. The value of this variable should be
|
|
|
|
# the relative path from the current `Makefile.am' to `texinfo.tex'.
|
|
|
|
TEXINFO_TEX = ../gcc/doc/include/texinfo.tex
|
|
|
|
|
|
|
|
# Defines info, dvi, pdf and html targets
|
|
|
|
MAKEINFOFLAGS = -I $(srcdir)/../gcc/doc/include
|
|
|
|
info_TEXINFOS = doc/libffi.texi
|
|
|
|
@GENINSRC_FALSE@STAMP_GENINSRC =
|
|
|
|
|
|
|
|
# AM_CONDITIONAL on configure option --generated-files-in-srcdir
|
|
|
|
@GENINSRC_TRUE@STAMP_GENINSRC = stamp-geninsrc
|
|
|
|
@BUILD_INFO_FALSE@STAMP_BUILD_INFO =
|
|
|
|
|
|
|
|
# AM_CONDITIONAL on configure check ACX_CHECK_PROG_VER([MAKEINFO])
|
|
|
|
@BUILD_INFO_TRUE@STAMP_BUILD_INFO = stamp-build-info
|
|
|
|
CLEANFILES = $(STAMP_GENINSRC) $(STAMP_BUILD_INFO) doc/libffi.info
|
|
|
|
MAINTAINERCLEANFILES = $(srcdir)/doc/libffi.info
|
1999-08-08 15:27:18 +02:00
|
|
|
|
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 = \
|
2015-01-16 21:51:14 +01:00
|
|
|
"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)" \
|
|
|
|
"RUNTESTFLAGS=$(RUNTESTFLAGS)" \
|
|
|
|
"SHELL=$(SHELL)" \
|
|
|
|
"exec_prefix=$(exec_prefix)" \
|
|
|
|
"infodir=$(infodir)" \
|
|
|
|
"libdir=$(libdir)" \
|
|
|
|
"mandir=$(mandir)" \
|
|
|
|
"prefix=$(prefix)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AS=$(AS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"CXX=$(CXX)" \
|
|
|
|
"LD=$(LD)" \
|
|
|
|
"NM=$(NM)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"DESTDIR=$(DESTDIR)"
|
2000-05-01 23:35:35 +02:00
|
|
|
|
2012-02-27 11:00:12 +01:00
|
|
|
|
|
|
|
# Subdir rules rely on $(FLAGS_TO_PASS)
|
|
|
|
FLAGS_TO_PASS = $(AM_MAKEFLAGS)
|
2000-05-01 23:35:35 +02:00
|
|
|
MAKEOVERRIDES =
|
2015-01-12 17:19:59 +01:00
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
pkgconfig_DATA = libffi.pc
|
1999-08-08 15:27:18 +02:00
|
|
|
toolexeclib_LTLIBRARIES = libffi.la
|
2002-03-17 01:35:21 +01:00
|
|
|
noinst_LTLIBRARIES = libffi_convenience.la
|
2015-01-12 17:19:59 +01:00
|
|
|
libffi_la_SOURCES = src/prep_cif.c src/types.c src/raw_api.c \
|
|
|
|
src/java_raw_api.c src/closures.c $(am__append_1)
|
|
|
|
noinst_HEADERS = \
|
|
|
|
src/aarch64/ffitarget.h src/aarch64/internal.h \
|
|
|
|
src/alpha/ffitarget.h src/alpha/internal.h \
|
|
|
|
src/arc/ffitarget.h \
|
|
|
|
src/arm/ffitarget.h src/arm/internal.h \
|
|
|
|
src/avr32/ffitarget.h \
|
|
|
|
src/bfin/ffitarget.h \
|
|
|
|
src/cris/ffitarget.h \
|
|
|
|
src/frv/ffitarget.h \
|
|
|
|
src/ia64/ffitarget.h src/ia64/ia64_flags.h \
|
|
|
|
src/m32r/ffitarget.h \
|
|
|
|
src/m68k/ffitarget.h \
|
|
|
|
src/m88k/ffitarget.h \
|
|
|
|
src/metag/ffitarget.h \
|
|
|
|
src/microblaze/ffitarget.h \
|
|
|
|
src/mips/ffitarget.h \
|
|
|
|
src/moxie/ffitarget.h \
|
|
|
|
src/nios2/ffitarget.h \
|
|
|
|
src/or1k/ffitarget.h \
|
|
|
|
src/pa/ffitarget.h \
|
|
|
|
src/powerpc/ffitarget.h src/powerpc/asm.h src/powerpc/ffi_powerpc.h \
|
|
|
|
src/s390/ffitarget.h \
|
|
|
|
src/sh/ffitarget.h \
|
|
|
|
src/sh64/ffitarget.h \
|
|
|
|
src/sparc/ffitarget.h src/sparc/internal.h \
|
|
|
|
src/tile/ffitarget.h \
|
|
|
|
src/vax/ffitarget.h \
|
|
|
|
src/x86/ffitarget.h src/x86/internal.h src/x86/internal64.h \
|
|
|
|
src/xtensa/ffitarget.h \
|
|
|
|
src/dlmalloc.c
|
|
|
|
|
|
|
|
EXTRA_libffi_la_SOURCES = \
|
|
|
|
src/aarch64/ffi.c src/aarch64/sysv.S \
|
|
|
|
src/alpha/ffi.c src/alpha/osf.S \
|
|
|
|
src/arc/ffi.c src/arc/arcompact.S \
|
|
|
|
src/arm/ffi.c src/arm/sysv.S \
|
|
|
|
src/avr32/ffi.c src/avr32/sysv.S \
|
|
|
|
src/bfin/ffi.c src/bfin/sysv.S \
|
|
|
|
src/cris/ffi.c src/cris/sysv.S \
|
|
|
|
src/frv/ffi.c src/frv/eabi.S \
|
|
|
|
src/ia64/ffi.c src/ia64/unix.S \
|
|
|
|
src/m32r/ffi.c src/m32r/sysv.S \
|
|
|
|
src/m68k/ffi.c src/m68k/sysv.S \
|
|
|
|
src/m88k/ffi.c src/m88k/obsd.S \
|
|
|
|
src/metag/ffi.c src/metag/sysv.S \
|
|
|
|
src/microblaze/ffi.c src/microblaze/sysv.S \
|
|
|
|
src/mips/ffi.c src/mips/o32.S src/mips/n32.S \
|
|
|
|
src/moxie/ffi.c src/moxie/eabi.S \
|
|
|
|
src/nios2/ffi.c src/nios2/sysv.S \
|
|
|
|
src/or1k/ffi.c src/or1k/sysv.S \
|
|
|
|
src/pa/ffi.c src/pa/linux.S src/pa/hpux32.S \
|
|
|
|
src/powerpc/ffi.c src/powerpc/ffi_sysv.c src/powerpc/ffi_linux64.c \
|
|
|
|
src/powerpc/sysv.S src/powerpc/linux64.S \
|
|
|
|
src/powerpc/linux64_closure.S src/powerpc/ppc_closure.S \
|
|
|
|
src/powerpc/aix.S src/powerpc/darwin.S src/powerpc/aix_closure.S \
|
|
|
|
src/powerpc/darwin_closure.S src/powerpc/ffi_darwin.c \
|
|
|
|
src/s390/ffi.c src/s390/sysv.S \
|
|
|
|
src/sh/ffi.c src/sh/sysv.S \
|
|
|
|
src/sh64/ffi.c src/sh64/sysv.S \
|
|
|
|
src/sparc/ffi.c src/sparc/ffi64.c src/sparc/v8.S src/sparc/v9.S \
|
|
|
|
src/tile/ffi.c src/tile/tile.S \
|
|
|
|
src/vax/ffi.c src/vax/elfbsd.S \
|
|
|
|
src/x86/ffi.c src/x86/sysv.S \
|
|
|
|
src/x86/ffiw64.c src/x86/win64.S \
|
|
|
|
src/x86/ffi64.c src/x86/unix64.S \
|
|
|
|
src/x86/darwin64.S src/x86/darwin.S \
|
|
|
|
src/x86/darwin64_c.c src/x86/darwin_c.c \
|
|
|
|
src/xtensa/ffi.c src/xtensa/sysv.S
|
|
|
|
|
|
|
|
libffi_la_LIBADD = $(TARGET_OBJ)
|
2004-03-11 20:59:49 +01:00
|
|
|
libffi_convenience_la_SOURCES = $(libffi_la_SOURCES)
|
2015-01-12 17:19:59 +01:00
|
|
|
EXTRA_libffi_convenience_la_SOURCES = $(EXTRA_libffi_la_SOURCES)
|
|
|
|
libffi_convenience_la_LIBADD = $(libffi_la_LIBADD)
|
|
|
|
libffi_convenience_la_DEPENDENCIES = $(libffi_la_DEPENDENCIES)
|
2004-03-11 20:59:49 +01:00
|
|
|
nodist_libffi_convenience_la_SOURCES = $(nodist_libffi_la_SOURCES)
|
2008-05-09 12:10:53 +02:00
|
|
|
LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
|
2015-01-12 17:19:59 +01:00
|
|
|
AM_CFLAGS = -Wall -g -fexceptions $(am__append_2)
|
2016-03-03 00:28:11 +01:00
|
|
|
@LIBAT_BUILD_VERSIONED_SHLIB_FALSE@libffi_version_script =
|
2016-03-03 02:40:29 +01:00
|
|
|
@LIBAT_BUILD_VERSIONED_SHLIB_GNU_TRUE@@LIBAT_BUILD_VERSIONED_SHLIB_TRUE@libffi_version_script = -Wl,--version-script,libffi.map
|
2016-03-03 00:28:11 +01:00
|
|
|
@LIBAT_BUILD_VERSIONED_SHLIB_SUN_TRUE@@LIBAT_BUILD_VERSIONED_SHLIB_TRUE@libffi_version_script = -Wl,-M,libffi.map-sun
|
|
|
|
@LIBAT_BUILD_VERSIONED_SHLIB_FALSE@libffi_version_dep =
|
2016-03-03 02:40:29 +01:00
|
|
|
@LIBAT_BUILD_VERSIONED_SHLIB_GNU_TRUE@@LIBAT_BUILD_VERSIONED_SHLIB_TRUE@libffi_version_dep = libffi.map
|
2016-03-03 00:28:11 +01:00
|
|
|
@LIBAT_BUILD_VERSIONED_SHLIB_SUN_TRUE@@LIBAT_BUILD_VERSIONED_SHLIB_TRUE@libffi_version_dep = libffi.map-sun
|
|
|
|
libffi_version_info = -version-info `grep -v '^\#' $(srcdir)/libtool-version`
|
|
|
|
libffi_la_LDFLAGS = -no-undefined $(libffi_version_info) $(libffi_version_script) $(LTLDFLAGS) $(AM_LTLDFLAGS)
|
|
|
|
libffi_la_DEPENDENCIES = $(libffi_la_LIBADD) $(libffi_version_dep)
|
2004-08-30 17:43:03 +02:00
|
|
|
AM_CPPFLAGS = -I. -I$(top_srcdir)/include -Iinclude -I$(top_srcdir)/src
|
|
|
|
AM_CCASFLAGS = $(AM_CPPFLAGS)
|
2004-03-11 20:59:49 +01:00
|
|
|
all: fficonfig.h
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
1999-08-08 15:27:18 +02:00
|
|
|
|
|
|
|
.SUFFIXES:
|
2012-12-29 17:25:27 +01:00
|
|
|
.SUFFIXES: .S .c .dvi .lo .o .obj .ps
|
2015-05-13 13:23:24 +02:00
|
|
|
am--refresh: Makefile
|
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*) \
|
2009-08-22 15:22:20 +02:00
|
|
|
echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
|
|
|
|
$(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
|
2004-06-15 16:47:55 +02:00
|
|
|
&& exit 0; \
|
|
|
|
exit 1;; \
|
|
|
|
esac; \
|
|
|
|
done; \
|
2009-08-22 15:22:20 +02:00
|
|
|
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
|
|
|
|
$(am__cd) $(top_srcdir) && \
|
|
|
|
$(AUTOMAKE) --foreign Makefile
|
2004-06-15 16:47:55 +02:00
|
|
|
.PRECIOUS: Makefile
|
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
|
|
@case '$?' in \
|
|
|
|
*config.status*) \
|
|
|
|
echo ' $(SHELL) ./config.status'; \
|
|
|
|
$(SHELL) ./config.status;; \
|
|
|
|
*) \
|
|
|
|
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
|
|
|
|
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
|
|
|
|
esac;
|
|
|
|
|
|
|
|
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
1999-08-08 15:27:18 +02:00
|
|
|
$(SHELL) ./config.status --recheck
|
|
|
|
|
2004-06-15 16:47:55 +02:00
|
|
|
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
|
2009-08-22 15:22:20 +02:00
|
|
|
$(am__cd) $(srcdir) && $(AUTOCONF)
|
2004-06-15 16:47:55 +02:00
|
|
|
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
|
2009-08-22 15:22:20 +02:00
|
|
|
$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
|
|
|
$(am__aclocal_m4_deps):
|
2004-03-11 20:59:49 +01:00
|
|
|
|
|
|
|
fficonfig.h: stamp-h1
|
2015-05-13 13:23:24 +02:00
|
|
|
@if test ! -f $@; then rm -f stamp-h1; else :; fi
|
|
|
|
@if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
|
1999-08-08 15:27:18 +02:00
|
|
|
|
2004-03-11 20:59:49 +01:00
|
|
|
stamp-h1: $(srcdir)/fficonfig.h.in $(top_builddir)/config.status
|
|
|
|
@rm -f stamp-h1
|
|
|
|
cd $(top_builddir) && $(SHELL) ./config.status fficonfig.h
|
2004-06-15 16:47:55 +02:00
|
|
|
$(srcdir)/fficonfig.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
|
2009-08-22 15:22:20 +02:00
|
|
|
($(am__cd) $(top_srcdir) && $(AUTOHEADER))
|
2004-06-15 16:47:55 +02:00
|
|
|
rm -f stamp-h1
|
|
|
|
touch $@
|
1999-08-08 15:27:18 +02:00
|
|
|
|
|
|
|
distclean-hdr:
|
2004-03-11 20:59:49 +01:00
|
|
|
-rm -f fficonfig.h stamp-h1
|
2015-01-12 17:19:59 +01:00
|
|
|
libffi.pc: $(top_builddir)/config.status $(srcdir)/libffi.pc.in
|
|
|
|
cd $(top_builddir) && $(SHELL) ./config.status $@
|
2001-04-12 11:32:50 +02:00
|
|
|
|
|
|
|
clean-noinstLTLIBRARIES:
|
|
|
|
-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
|
2004-03-11 20:59:49 +01:00
|
|
|
@list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
|
|
|
|
dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
|
2004-11-23 05:11:31 +01:00
|
|
|
test "$$dir" != "$$p" || dir=.; \
|
2004-03-11 20:59:49 +01:00
|
|
|
echo "rm -f \"$${dir}/so_locations\""; \
|
|
|
|
rm -f "$${dir}/so_locations"; \
|
|
|
|
done
|
1999-08-08 15:27:18 +02:00
|
|
|
install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
|
|
|
|
@$(NORMAL_INSTALL)
|
2009-08-22 15:22:20 +02:00
|
|
|
@list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \
|
|
|
|
list2=; for p in $$list; do \
|
1999-08-08 15:27:18 +02:00
|
|
|
if test -f $$p; then \
|
2009-08-22 15:22:20 +02:00
|
|
|
list2="$$list2 $$p"; \
|
1999-08-08 15:27:18 +02:00
|
|
|
else :; fi; \
|
2009-08-22 15:22:20 +02:00
|
|
|
done; \
|
|
|
|
test -z "$$list2" || { \
|
2015-05-13 13:23:24 +02:00
|
|
|
echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibdir)'"; \
|
|
|
|
$(MKDIR_P) "$(DESTDIR)$(toolexeclibdir)" || exit 1; \
|
2009-08-22 15:22:20 +02:00
|
|
|
echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(toolexeclibdir)'"; \
|
|
|
|
$(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(toolexeclibdir)"; \
|
|
|
|
}
|
1999-08-08 15:27:18 +02:00
|
|
|
|
|
|
|
uninstall-toolexeclibLTLIBRARIES:
|
|
|
|
@$(NORMAL_UNINSTALL)
|
2009-08-22 15:22:20 +02:00
|
|
|
@list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \
|
|
|
|
for p in $$list; do \
|
|
|
|
$(am__strip_dir) \
|
|
|
|
echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(toolexeclibdir)/$$f'"; \
|
|
|
|
$(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(toolexeclibdir)/$$f"; \
|
1999-08-08 15:27:18 +02:00
|
|
|
done
|
|
|
|
|
2004-03-11 20:59:49 +01:00
|
|
|
clean-toolexeclibLTLIBRARIES:
|
|
|
|
-test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
|
|
|
|
@list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
|
|
|
|
dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
|
2004-11-23 05:11:31 +01:00
|
|
|
test "$$dir" != "$$p" || dir=.; \
|
2004-03-11 20:59:49 +01:00
|
|
|
echo "rm -f \"$${dir}/so_locations\""; \
|
|
|
|
rm -f "$${dir}/so_locations"; \
|
|
|
|
done
|
|
|
|
src/$(am__dirstamp):
|
2009-08-22 15:22:20 +02:00
|
|
|
@$(MKDIR_P) src
|
2004-03-11 20:59:49 +01:00
|
|
|
@: > src/$(am__dirstamp)
|
2004-11-23 05:11:31 +01:00
|
|
|
src/$(DEPDIR)/$(am__dirstamp):
|
2009-08-22 15:22:20 +02:00
|
|
|
@$(MKDIR_P) src/$(DEPDIR)
|
2004-11-23 05:11:31 +01:00
|
|
|
@: > src/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/prep_cif.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/types.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/raw_api.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/java_raw_api.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
|
ffi.h.in (ffi_closure_alloc, [...]): New.
libffi/ChangeLog:
* include/ffi.h.in (ffi_closure_alloc, ffi_closure_free): New.
(ffi_prep_closure_loc): New.
(ffi_prep_raw_closure_loc): New.
(ffi_prep_java_raw_closure_loc): New.
* src/closures.c: New file.
* src/dlmalloc.c [FFI_MMAP_EXEC_WRIT] (struct malloc_segment):
Replace sflags with exec_offset.
[FFI_MMAP_EXEC_WRIT] (mmap_exec_offset, add_segment_exec_offset,
sub_segment_exec_offset): New macros.
(get_segment_flags, set_segment_flags, check_segment_merge): New
macros.
(is_mmapped_segment, is_extern_segment): Use get_segment_flags.
(add_segment, sys_alloc, create_mspace, create_mspace_with_base,
destroy_mspace): Use new macros.
(sys_alloc): Silence warning.
* Makefile.am (libffi_la_SOURCES): Add src/closures.c.
* Makefile.in: Rebuilt.
* src/prep_cif [FFI_CLOSURES] (ffi_prep_closure): Implement in
terms of ffi_prep_closure_loc.
* src/raw_api.c (ffi_prep_raw_closure_loc): Renamed and adjusted
from...
(ffi_prep_raw_closure): ... this. Re-implement in terms of the
renamed version.
* src/java_raw_api (ffi_prep_java_raw_closure_loc): Renamed and
adjusted from...
(ffi_prep_java_raw_closure): ... this. Re-implement in terms of
the renamed version.
* src/alpha/ffi.c (ffi_prep_closure_loc): Renamed from
(ffi_prep_closure): ... this.
* src/pa/ffi.c: Likewise.
* src/cris/ffi.c: Likewise. Adjust.
* src/frv/ffi.c: Likewise.
* src/ia64/ffi.c: Likewise.
* src/mips/ffi.c: Likewise.
* src/powerpc/ffi_darwin.c: Likewise.
* src/s390/ffi.c: Likewise.
* src/sh/ffi.c: Likewise.
* src/sh64/ffi.c: Likewise.
* src/sparc/ffi.c: Likewise.
* src/x86/ffi64.c: Likewise.
* src/x86/ffi.c: Likewise.
(FFI_INIT_TRAMPOLINE): Adjust.
(ffi_prep_raw_closure_loc): Renamed and adjusted from...
(ffi_prep_raw_closure): ... this.
* src/powerpc/ffi.c (ffi_prep_closure_loc): Renamed from
(ffi_prep_closure): ... this.
(flush_icache): Adjust.
boehm-gc/ChangeLog:
* include/gc.h (GC_REGISTER_FINALIZER_UNREACHABLE): New.
(GC_register_finalizer_unreachable): Declare.
(GC_debug_register_finalizer_unreachable): Declare.
* finalize.c (GC_unreachable_finalize_mark_proc): New.
(GC_register_finalizer_unreachable): New.
(GC_finalize): Handle it.
* dbg_mlc.c (GC_debug_register_finalizer_unreachable): New.
(GC_debug_register_finalizer_no_order): Fix whitespace.
libjava/ChangeLog:
* include/jvm.h (_Jv_ClosureListFinalizer): New.
(_Jv_Linker::create_error_method): Adjust.
* boehm.cc (_Jv_ClosureListFinalizer): New.
* nogc.cc (_Jv_ClosureListFinalizer): New.
* java/lang/Class.h (class _Jv_ClosureList): New.
(class java::lang::Class): Declare it as friend.
* java/lang/natClass.cc (_Jv_ClosureList::releaseClosures): New.
(_Jv_ClosureList::registerClousure): New.
* include/execution.h (_Jv_ExecutionEngine): Add get_closure_list.
(_Jv_CompiledEngine::do_get_closure_list): New.
(_Jv_CompiledEngine::_Jv_CompiledEngine): Use it.
(_Jv_IndirectCompiledClass): Add closures.
(_Jv_IndirectCompiledEngine::get_aux_info): New.
(_Jv_IndirectCompiledEngine::do_allocate_field_initializers): Use
it.
(_Jv_IndirectCompiledEngine::do_get_closure_list): New.
(_Jv_IndirectCompiledEngine::_Jv_IndirectCompiledEngine): Use it.
(_Jv_InterpreterEngine::do_get_closure_list): Declare.
(_Jv_InterpreterEngine::_Jv_InterpreterEngine): Use it.
* interpret.cc (FFI_PREP_RAW_CLOSURE): Use _loc variants.
(node_closure): Add closure list.
(_Jv_InterpMethod::ncode): Add jclass argument. Use
ffi_closure_alloc and the separate code pointer. Register the
closure for finalization.
(_Jv_JNIMethod::ncode): Likewise.
(_Jv_InterpreterEngine::do_create_ncode): Pass klass to ncode.
(_Jv_InterpreterEngine::do_get_closure_list): New.
* include/java-interp.h (_Jv_InterpMethod::ncode): Adjust.
(_Jv_InterpClass): Add closures field.
(_Jv_JNIMethod::ncode): Adjust.
* defineclass.cc (_Jv_ClassReader::handleCodeAttribute): Adjust.
(_Jv_ClassReader::handleMethodsEnd): Likewise.
* link.cc (struct method_closure): Add closure list.
(_Jv_Linker::create_error_method): Add jclass argument. Use
ffi_closure_alloc and the separate code pointer. Register the
closure for finalization.
(_Jv_Linker::link_symbol_table): Remove outdated comment about
sharing of otable and atable. Adjust.
* java/lang/reflect/natVMProxy.cc (ncode_closure): Add closure
list.
(ncode): Add jclass argument. Use ffi_closure_alloc and the
separate code pointer. Register the closure for finalization.
(java::lang::reflect::VMProxy::generateProxyClass): Adjust.
* testsuite/libjava.jar/TestClosureGC.java: New.
* testsuite/libjava.jar/TestClosureGC.out: New.
* testsuite/libjava.jar/TestClosureGC.xfail: New.
* testsuite/libjava.jar/TestClosureGC.jar: New.
From-SVN: r122652
2007-03-07 08:27:25 +01:00
|
|
|
src/closures.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
|
2012-12-29 17:25:27 +01:00
|
|
|
src/debug.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
|
2015-01-12 17:19:59 +01:00
|
|
|
src/aarch64/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/aarch64
|
|
|
|
@: > src/aarch64/$(am__dirstamp)
|
|
|
|
src/aarch64/$(DEPDIR)/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/aarch64/$(DEPDIR)
|
|
|
|
@: > src/aarch64/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/aarch64/ffi.lo: src/aarch64/$(am__dirstamp) \
|
|
|
|
src/aarch64/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/aarch64/sysv.lo: src/aarch64/$(am__dirstamp) \
|
|
|
|
src/aarch64/$(DEPDIR)/$(am__dirstamp)
|
2004-03-11 20:59:49 +01:00
|
|
|
src/alpha/$(am__dirstamp):
|
2009-08-22 15:22:20 +02:00
|
|
|
@$(MKDIR_P) src/alpha
|
2004-03-11 20:59:49 +01:00
|
|
|
@: > src/alpha/$(am__dirstamp)
|
2004-11-23 05:11:31 +01:00
|
|
|
src/alpha/$(DEPDIR)/$(am__dirstamp):
|
2009-08-22 15:22:20 +02:00
|
|
|
@$(MKDIR_P) src/alpha/$(DEPDIR)
|
2004-11-23 05:11:31 +01:00
|
|
|
@: > src/alpha/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/alpha/ffi.lo: src/alpha/$(am__dirstamp) \
|
|
|
|
src/alpha/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/alpha/osf.lo: src/alpha/$(am__dirstamp) \
|
|
|
|
src/alpha/$(DEPDIR)/$(am__dirstamp)
|
2015-01-12 17:19:59 +01:00
|
|
|
src/arc/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/arc
|
|
|
|
@: > src/arc/$(am__dirstamp)
|
|
|
|
src/arc/$(DEPDIR)/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/arc/$(DEPDIR)
|
|
|
|
@: > src/arc/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/arc/ffi.lo: src/arc/$(am__dirstamp) \
|
|
|
|
src/arc/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/arc/arcompact.lo: src/arc/$(am__dirstamp) \
|
|
|
|
src/arc/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/arm/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/arm
|
|
|
|
@: > src/arm/$(am__dirstamp)
|
|
|
|
src/arm/$(DEPDIR)/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/arm/$(DEPDIR)
|
|
|
|
@: > src/arm/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/arm/ffi.lo: src/arm/$(am__dirstamp) \
|
|
|
|
src/arm/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/arm/sysv.lo: src/arm/$(am__dirstamp) \
|
|
|
|
src/arm/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/avr32/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/avr32
|
|
|
|
@: > src/avr32/$(am__dirstamp)
|
|
|
|
src/avr32/$(DEPDIR)/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/avr32/$(DEPDIR)
|
|
|
|
@: > src/avr32/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/avr32/ffi.lo: src/avr32/$(am__dirstamp) \
|
|
|
|
src/avr32/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/avr32/sysv.lo: src/avr32/$(am__dirstamp) \
|
|
|
|
src/avr32/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/bfin/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/bfin
|
|
|
|
@: > src/bfin/$(am__dirstamp)
|
|
|
|
src/bfin/$(DEPDIR)/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/bfin/$(DEPDIR)
|
|
|
|
@: > src/bfin/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/bfin/ffi.lo: src/bfin/$(am__dirstamp) \
|
|
|
|
src/bfin/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/bfin/sysv.lo: src/bfin/$(am__dirstamp) \
|
|
|
|
src/bfin/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/cris/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/cris
|
|
|
|
@: > src/cris/$(am__dirstamp)
|
|
|
|
src/cris/$(DEPDIR)/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/cris/$(DEPDIR)
|
|
|
|
@: > src/cris/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/cris/ffi.lo: src/cris/$(am__dirstamp) \
|
|
|
|
src/cris/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/cris/sysv.lo: src/cris/$(am__dirstamp) \
|
|
|
|
src/cris/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/frv/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/frv
|
|
|
|
@: > src/frv/$(am__dirstamp)
|
|
|
|
src/frv/$(DEPDIR)/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/frv/$(DEPDIR)
|
|
|
|
@: > src/frv/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/frv/ffi.lo: src/frv/$(am__dirstamp) \
|
|
|
|
src/frv/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/frv/eabi.lo: src/frv/$(am__dirstamp) \
|
|
|
|
src/frv/$(DEPDIR)/$(am__dirstamp)
|
2004-03-11 20:59:49 +01:00
|
|
|
src/ia64/$(am__dirstamp):
|
2009-08-22 15:22:20 +02:00
|
|
|
@$(MKDIR_P) src/ia64
|
2004-03-11 20:59:49 +01:00
|
|
|
@: > src/ia64/$(am__dirstamp)
|
2004-11-23 05:11:31 +01:00
|
|
|
src/ia64/$(DEPDIR)/$(am__dirstamp):
|
2009-08-22 15:22:20 +02:00
|
|
|
@$(MKDIR_P) src/ia64/$(DEPDIR)
|
2004-11-23 05:11:31 +01:00
|
|
|
@: > src/ia64/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/ia64/ffi.lo: src/ia64/$(am__dirstamp) \
|
|
|
|
src/ia64/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/ia64/unix.lo: src/ia64/$(am__dirstamp) \
|
|
|
|
src/ia64/$(DEPDIR)/$(am__dirstamp)
|
2004-10-13 19:20:24 +02:00
|
|
|
src/m32r/$(am__dirstamp):
|
2009-08-22 15:22:20 +02:00
|
|
|
@$(MKDIR_P) src/m32r
|
2004-10-13 19:20:24 +02:00
|
|
|
@: > src/m32r/$(am__dirstamp)
|
2004-11-23 05:11:31 +01:00
|
|
|
src/m32r/$(DEPDIR)/$(am__dirstamp):
|
2009-08-22 15:22:20 +02:00
|
|
|
@$(MKDIR_P) src/m32r/$(DEPDIR)
|
2004-11-23 05:11:31 +01:00
|
|
|
@: > src/m32r/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/m32r/ffi.lo: src/m32r/$(am__dirstamp) \
|
|
|
|
src/m32r/$(DEPDIR)/$(am__dirstamp)
|
2015-01-12 17:19:59 +01:00
|
|
|
src/m32r/sysv.lo: src/m32r/$(am__dirstamp) \
|
|
|
|
src/m32r/$(DEPDIR)/$(am__dirstamp)
|
2004-03-11 20:59:49 +01:00
|
|
|
src/m68k/$(am__dirstamp):
|
2009-08-22 15:22:20 +02:00
|
|
|
@$(MKDIR_P) src/m68k
|
2004-03-11 20:59:49 +01:00
|
|
|
@: > src/m68k/$(am__dirstamp)
|
2004-11-23 05:11:31 +01:00
|
|
|
src/m68k/$(DEPDIR)/$(am__dirstamp):
|
2009-08-22 15:22:20 +02:00
|
|
|
@$(MKDIR_P) src/m68k/$(DEPDIR)
|
2004-11-23 05:11:31 +01:00
|
|
|
@: > src/m68k/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/m68k/ffi.lo: src/m68k/$(am__dirstamp) \
|
|
|
|
src/m68k/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/m68k/sysv.lo: src/m68k/$(am__dirstamp) \
|
|
|
|
src/m68k/$(DEPDIR)/$(am__dirstamp)
|
2015-01-12 17:19:59 +01:00
|
|
|
src/m88k/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/m88k
|
|
|
|
@: > src/m88k/$(am__dirstamp)
|
|
|
|
src/m88k/$(DEPDIR)/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/m88k/$(DEPDIR)
|
|
|
|
@: > src/m88k/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/m88k/ffi.lo: src/m88k/$(am__dirstamp) \
|
|
|
|
src/m88k/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/m88k/obsd.lo: src/m88k/$(am__dirstamp) \
|
|
|
|
src/m88k/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/metag/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/metag
|
|
|
|
@: > src/metag/$(am__dirstamp)
|
|
|
|
src/metag/$(DEPDIR)/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/metag/$(DEPDIR)
|
|
|
|
@: > src/metag/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/metag/ffi.lo: src/metag/$(am__dirstamp) \
|
|
|
|
src/metag/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/metag/sysv.lo: src/metag/$(am__dirstamp) \
|
|
|
|
src/metag/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/microblaze/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/microblaze
|
|
|
|
@: > src/microblaze/$(am__dirstamp)
|
|
|
|
src/microblaze/$(DEPDIR)/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/microblaze/$(DEPDIR)
|
|
|
|
@: > src/microblaze/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/microblaze/ffi.lo: src/microblaze/$(am__dirstamp) \
|
|
|
|
src/microblaze/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/microblaze/sysv.lo: src/microblaze/$(am__dirstamp) \
|
|
|
|
src/microblaze/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/mips/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/mips
|
|
|
|
@: > src/mips/$(am__dirstamp)
|
|
|
|
src/mips/$(DEPDIR)/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/mips/$(DEPDIR)
|
|
|
|
@: > src/mips/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/mips/ffi.lo: src/mips/$(am__dirstamp) \
|
|
|
|
src/mips/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/mips/o32.lo: src/mips/$(am__dirstamp) \
|
|
|
|
src/mips/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/mips/n32.lo: src/mips/$(am__dirstamp) \
|
|
|
|
src/mips/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/moxie/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/moxie
|
|
|
|
@: > src/moxie/$(am__dirstamp)
|
|
|
|
src/moxie/$(DEPDIR)/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/moxie/$(DEPDIR)
|
|
|
|
@: > src/moxie/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/moxie/ffi.lo: src/moxie/$(am__dirstamp) \
|
|
|
|
src/moxie/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/moxie/eabi.lo: src/moxie/$(am__dirstamp) \
|
|
|
|
src/moxie/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/nios2/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/nios2
|
|
|
|
@: > src/nios2/$(am__dirstamp)
|
|
|
|
src/nios2/$(DEPDIR)/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/nios2/$(DEPDIR)
|
|
|
|
@: > src/nios2/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/nios2/ffi.lo: src/nios2/$(am__dirstamp) \
|
|
|
|
src/nios2/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/nios2/sysv.lo: src/nios2/$(am__dirstamp) \
|
|
|
|
src/nios2/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/or1k/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/or1k
|
|
|
|
@: > src/or1k/$(am__dirstamp)
|
|
|
|
src/or1k/$(DEPDIR)/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/or1k/$(DEPDIR)
|
|
|
|
@: > src/or1k/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/or1k/ffi.lo: src/or1k/$(am__dirstamp) \
|
|
|
|
src/or1k/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/or1k/sysv.lo: src/or1k/$(am__dirstamp) \
|
|
|
|
src/or1k/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/pa/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/pa
|
|
|
|
@: > src/pa/$(am__dirstamp)
|
|
|
|
src/pa/$(DEPDIR)/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/pa/$(DEPDIR)
|
|
|
|
@: > src/pa/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/pa/ffi.lo: src/pa/$(am__dirstamp) src/pa/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/pa/linux.lo: src/pa/$(am__dirstamp) \
|
|
|
|
src/pa/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/pa/hpux32.lo: src/pa/$(am__dirstamp) \
|
|
|
|
src/pa/$(DEPDIR)/$(am__dirstamp)
|
2004-03-11 20:59:49 +01:00
|
|
|
src/powerpc/$(am__dirstamp):
|
2009-08-22 15:22:20 +02:00
|
|
|
@$(MKDIR_P) src/powerpc
|
2004-03-11 20:59:49 +01:00
|
|
|
@: > src/powerpc/$(am__dirstamp)
|
2004-11-23 05:11:31 +01:00
|
|
|
src/powerpc/$(DEPDIR)/$(am__dirstamp):
|
2009-08-22 15:22:20 +02:00
|
|
|
@$(MKDIR_P) src/powerpc/$(DEPDIR)
|
2004-11-23 05:11:31 +01:00
|
|
|
@: > src/powerpc/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/powerpc/ffi.lo: src/powerpc/$(am__dirstamp) \
|
|
|
|
src/powerpc/$(DEPDIR)/$(am__dirstamp)
|
2013-12-10 01:42:14 +01:00
|
|
|
src/powerpc/ffi_sysv.lo: src/powerpc/$(am__dirstamp) \
|
|
|
|
src/powerpc/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/powerpc/ffi_linux64.lo: src/powerpc/$(am__dirstamp) \
|
|
|
|
src/powerpc/$(DEPDIR)/$(am__dirstamp)
|
2004-11-23 05:11:31 +01:00
|
|
|
src/powerpc/sysv.lo: src/powerpc/$(am__dirstamp) \
|
|
|
|
src/powerpc/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/powerpc/linux64.lo: src/powerpc/$(am__dirstamp) \
|
|
|
|
src/powerpc/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/powerpc/linux64_closure.lo: src/powerpc/$(am__dirstamp) \
|
|
|
|
src/powerpc/$(DEPDIR)/$(am__dirstamp)
|
2015-01-12 17:19:59 +01:00
|
|
|
src/powerpc/ppc_closure.lo: src/powerpc/$(am__dirstamp) \
|
2004-11-23 05:11:31 +01:00
|
|
|
src/powerpc/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/powerpc/aix.lo: src/powerpc/$(am__dirstamp) \
|
|
|
|
src/powerpc/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/powerpc/darwin.lo: src/powerpc/$(am__dirstamp) \
|
|
|
|
src/powerpc/$(DEPDIR)/$(am__dirstamp)
|
2015-01-12 17:19:59 +01:00
|
|
|
src/powerpc/aix_closure.lo: src/powerpc/$(am__dirstamp) \
|
|
|
|
src/powerpc/$(DEPDIR)/$(am__dirstamp)
|
2004-11-23 05:11:31 +01:00
|
|
|
src/powerpc/darwin_closure.lo: src/powerpc/$(am__dirstamp) \
|
|
|
|
src/powerpc/$(DEPDIR)/$(am__dirstamp)
|
2015-01-12 17:19:59 +01:00
|
|
|
src/powerpc/ffi_darwin.lo: src/powerpc/$(am__dirstamp) \
|
|
|
|
src/powerpc/$(DEPDIR)/$(am__dirstamp)
|
2004-03-11 20:59:49 +01:00
|
|
|
src/s390/$(am__dirstamp):
|
2009-08-22 15:22:20 +02:00
|
|
|
@$(MKDIR_P) src/s390
|
2004-03-11 20:59:49 +01:00
|
|
|
@: > src/s390/$(am__dirstamp)
|
2004-11-23 05:11:31 +01:00
|
|
|
src/s390/$(DEPDIR)/$(am__dirstamp):
|
2009-08-22 15:22:20 +02:00
|
|
|
@$(MKDIR_P) src/s390/$(DEPDIR)
|
2004-11-23 05:11:31 +01:00
|
|
|
@: > src/s390/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/s390/ffi.lo: src/s390/$(am__dirstamp) \
|
|
|
|
src/s390/$(DEPDIR)/$(am__dirstamp)
|
2015-01-12 17:19:59 +01:00
|
|
|
src/s390/sysv.lo: src/s390/$(am__dirstamp) \
|
|
|
|
src/s390/$(DEPDIR)/$(am__dirstamp)
|
2004-03-11 20:59:49 +01:00
|
|
|
src/sh/$(am__dirstamp):
|
2009-08-22 15:22:20 +02:00
|
|
|
@$(MKDIR_P) src/sh
|
2004-03-11 20:59:49 +01:00
|
|
|
@: > src/sh/$(am__dirstamp)
|
2004-11-23 05:11:31 +01:00
|
|
|
src/sh/$(DEPDIR)/$(am__dirstamp):
|
2009-08-22 15:22:20 +02:00
|
|
|
@$(MKDIR_P) src/sh/$(DEPDIR)
|
2004-11-23 05:11:31 +01:00
|
|
|
@: > src/sh/$(DEPDIR)/$(am__dirstamp)
|
2015-01-12 17:19:59 +01:00
|
|
|
src/sh/ffi.lo: src/sh/$(am__dirstamp) src/sh/$(DEPDIR)/$(am__dirstamp)
|
2004-11-23 05:11:31 +01:00
|
|
|
src/sh/sysv.lo: src/sh/$(am__dirstamp) \
|
|
|
|
src/sh/$(DEPDIR)/$(am__dirstamp)
|
2004-03-11 20:59:49 +01:00
|
|
|
src/sh64/$(am__dirstamp):
|
2009-08-22 15:22:20 +02:00
|
|
|
@$(MKDIR_P) src/sh64
|
2004-03-11 20:59:49 +01:00
|
|
|
@: > src/sh64/$(am__dirstamp)
|
2004-11-23 05:11:31 +01:00
|
|
|
src/sh64/$(DEPDIR)/$(am__dirstamp):
|
2009-08-22 15:22:20 +02:00
|
|
|
@$(MKDIR_P) src/sh64/$(DEPDIR)
|
2004-11-23 05:11:31 +01:00
|
|
|
@: > src/sh64/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/sh64/ffi.lo: src/sh64/$(am__dirstamp) \
|
|
|
|
src/sh64/$(DEPDIR)/$(am__dirstamp)
|
2015-01-12 17:19:59 +01:00
|
|
|
src/sh64/sysv.lo: src/sh64/$(am__dirstamp) \
|
|
|
|
src/sh64/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/sparc/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/sparc
|
|
|
|
@: > src/sparc/$(am__dirstamp)
|
|
|
|
src/sparc/$(DEPDIR)/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/sparc/$(DEPDIR)
|
|
|
|
@: > src/sparc/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/sparc/ffi.lo: src/sparc/$(am__dirstamp) \
|
|
|
|
src/sparc/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/sparc/ffi64.lo: src/sparc/$(am__dirstamp) \
|
|
|
|
src/sparc/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/sparc/v8.lo: src/sparc/$(am__dirstamp) \
|
|
|
|
src/sparc/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/sparc/v9.lo: src/sparc/$(am__dirstamp) \
|
|
|
|
src/sparc/$(DEPDIR)/$(am__dirstamp)
|
2012-12-29 17:25:27 +01:00
|
|
|
src/tile/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/tile
|
|
|
|
@: > src/tile/$(am__dirstamp)
|
|
|
|
src/tile/$(DEPDIR)/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/tile/$(DEPDIR)
|
|
|
|
@: > src/tile/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/tile/ffi.lo: src/tile/$(am__dirstamp) \
|
|
|
|
src/tile/$(DEPDIR)/$(am__dirstamp)
|
2015-01-12 17:19:59 +01:00
|
|
|
src/tile/tile.lo: src/tile/$(am__dirstamp) \
|
|
|
|
src/tile/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/vax/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/vax
|
|
|
|
@: > src/vax/$(am__dirstamp)
|
|
|
|
src/vax/$(DEPDIR)/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/vax/$(DEPDIR)
|
|
|
|
@: > src/vax/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/vax/ffi.lo: src/vax/$(am__dirstamp) \
|
|
|
|
src/vax/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/vax/elfbsd.lo: src/vax/$(am__dirstamp) \
|
|
|
|
src/vax/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/x86/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/x86
|
|
|
|
@: > src/x86/$(am__dirstamp)
|
|
|
|
src/x86/$(DEPDIR)/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/x86/$(DEPDIR)
|
|
|
|
@: > src/x86/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/x86/ffi.lo: src/x86/$(am__dirstamp) \
|
|
|
|
src/x86/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/x86/sysv.lo: src/x86/$(am__dirstamp) \
|
|
|
|
src/x86/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/x86/ffiw64.lo: src/x86/$(am__dirstamp) \
|
|
|
|
src/x86/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/x86/win64.lo: src/x86/$(am__dirstamp) \
|
|
|
|
src/x86/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/x86/ffi64.lo: src/x86/$(am__dirstamp) \
|
|
|
|
src/x86/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/x86/unix64.lo: src/x86/$(am__dirstamp) \
|
|
|
|
src/x86/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/x86/darwin64.lo: src/x86/$(am__dirstamp) \
|
|
|
|
src/x86/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/x86/darwin.lo: src/x86/$(am__dirstamp) \
|
|
|
|
src/x86/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/x86/darwin64_c.lo: src/x86/$(am__dirstamp) \
|
|
|
|
src/x86/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/x86/darwin_c.lo: src/x86/$(am__dirstamp) \
|
|
|
|
src/x86/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/xtensa/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/xtensa
|
|
|
|
@: > src/xtensa/$(am__dirstamp)
|
|
|
|
src/xtensa/$(DEPDIR)/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) src/xtensa/$(DEPDIR)
|
|
|
|
@: > src/xtensa/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/xtensa/ffi.lo: src/xtensa/$(am__dirstamp) \
|
|
|
|
src/xtensa/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
src/xtensa/sysv.lo: src/xtensa/$(am__dirstamp) \
|
|
|
|
src/xtensa/$(DEPDIR)/$(am__dirstamp)
|
2015-05-13 13:23:24 +02:00
|
|
|
libffi.la: $(libffi_la_OBJECTS) $(libffi_la_DEPENDENCIES) $(EXTRA_libffi_la_DEPENDENCIES)
|
2009-08-22 15:22:20 +02:00
|
|
|
$(libffi_la_LINK) -rpath $(toolexeclibdir) $(libffi_la_OBJECTS) $(libffi_la_LIBADD) $(LIBS)
|
2015-05-13 13:23:24 +02:00
|
|
|
libffi_convenience.la: $(libffi_convenience_la_OBJECTS) $(libffi_convenience_la_DEPENDENCIES) $(EXTRA_libffi_convenience_la_DEPENDENCIES)
|
2009-08-22 15:22:20 +02:00
|
|
|
$(LINK) $(libffi_convenience_la_OBJECTS) $(libffi_convenience_la_LIBADD) $(LIBS)
|
2001-03-27 00:52:36 +02:00
|
|
|
|
1999-08-08 15:27:18 +02:00
|
|
|
mostlyclean-compile:
|
2004-06-15 16:47:55 +02:00
|
|
|
-rm -f *.$(OBJEXT)
|
2012-12-29 17:25:27 +01:00
|
|
|
-rm -f src/aarch64/ffi.$(OBJEXT)
|
|
|
|
-rm -f src/aarch64/ffi.lo
|
|
|
|
-rm -f src/aarch64/sysv.$(OBJEXT)
|
|
|
|
-rm -f src/aarch64/sysv.lo
|
2004-03-11 20:59:49 +01:00
|
|
|
-rm -f src/alpha/ffi.$(OBJEXT)
|
|
|
|
-rm -f src/alpha/ffi.lo
|
|
|
|
-rm -f src/alpha/osf.$(OBJEXT)
|
|
|
|
-rm -f src/alpha/osf.lo
|
2015-01-12 17:19:59 +01:00
|
|
|
-rm -f src/arc/arcompact.$(OBJEXT)
|
|
|
|
-rm -f src/arc/arcompact.lo
|
|
|
|
-rm -f src/arc/ffi.$(OBJEXT)
|
|
|
|
-rm -f src/arc/ffi.lo
|
2004-03-11 20:59:49 +01:00
|
|
|
-rm -f src/arm/ffi.$(OBJEXT)
|
|
|
|
-rm -f src/arm/ffi.lo
|
|
|
|
-rm -f src/arm/sysv.$(OBJEXT)
|
|
|
|
-rm -f src/arm/sysv.lo
|
2009-12-26 05:21:07 +01:00
|
|
|
-rm -f src/avr32/ffi.$(OBJEXT)
|
|
|
|
-rm -f src/avr32/ffi.lo
|
|
|
|
-rm -f src/avr32/sysv.$(OBJEXT)
|
|
|
|
-rm -f src/avr32/sysv.lo
|
2012-12-29 17:25:27 +01:00
|
|
|
-rm -f src/bfin/ffi.$(OBJEXT)
|
|
|
|
-rm -f src/bfin/ffi.lo
|
|
|
|
-rm -f src/bfin/sysv.$(OBJEXT)
|
|
|
|
-rm -f src/bfin/sysv.lo
|
ffi.h.in (ffi_closure_alloc, [...]): New.
libffi/ChangeLog:
* include/ffi.h.in (ffi_closure_alloc, ffi_closure_free): New.
(ffi_prep_closure_loc): New.
(ffi_prep_raw_closure_loc): New.
(ffi_prep_java_raw_closure_loc): New.
* src/closures.c: New file.
* src/dlmalloc.c [FFI_MMAP_EXEC_WRIT] (struct malloc_segment):
Replace sflags with exec_offset.
[FFI_MMAP_EXEC_WRIT] (mmap_exec_offset, add_segment_exec_offset,
sub_segment_exec_offset): New macros.
(get_segment_flags, set_segment_flags, check_segment_merge): New
macros.
(is_mmapped_segment, is_extern_segment): Use get_segment_flags.
(add_segment, sys_alloc, create_mspace, create_mspace_with_base,
destroy_mspace): Use new macros.
(sys_alloc): Silence warning.
* Makefile.am (libffi_la_SOURCES): Add src/closures.c.
* Makefile.in: Rebuilt.
* src/prep_cif [FFI_CLOSURES] (ffi_prep_closure): Implement in
terms of ffi_prep_closure_loc.
* src/raw_api.c (ffi_prep_raw_closure_loc): Renamed and adjusted
from...
(ffi_prep_raw_closure): ... this. Re-implement in terms of the
renamed version.
* src/java_raw_api (ffi_prep_java_raw_closure_loc): Renamed and
adjusted from...
(ffi_prep_java_raw_closure): ... this. Re-implement in terms of
the renamed version.
* src/alpha/ffi.c (ffi_prep_closure_loc): Renamed from
(ffi_prep_closure): ... this.
* src/pa/ffi.c: Likewise.
* src/cris/ffi.c: Likewise. Adjust.
* src/frv/ffi.c: Likewise.
* src/ia64/ffi.c: Likewise.
* src/mips/ffi.c: Likewise.
* src/powerpc/ffi_darwin.c: Likewise.
* src/s390/ffi.c: Likewise.
* src/sh/ffi.c: Likewise.
* src/sh64/ffi.c: Likewise.
* src/sparc/ffi.c: Likewise.
* src/x86/ffi64.c: Likewise.
* src/x86/ffi.c: Likewise.
(FFI_INIT_TRAMPOLINE): Adjust.
(ffi_prep_raw_closure_loc): Renamed and adjusted from...
(ffi_prep_raw_closure): ... this.
* src/powerpc/ffi.c (ffi_prep_closure_loc): Renamed from
(ffi_prep_closure): ... this.
(flush_icache): Adjust.
boehm-gc/ChangeLog:
* include/gc.h (GC_REGISTER_FINALIZER_UNREACHABLE): New.
(GC_register_finalizer_unreachable): Declare.
(GC_debug_register_finalizer_unreachable): Declare.
* finalize.c (GC_unreachable_finalize_mark_proc): New.
(GC_register_finalizer_unreachable): New.
(GC_finalize): Handle it.
* dbg_mlc.c (GC_debug_register_finalizer_unreachable): New.
(GC_debug_register_finalizer_no_order): Fix whitespace.
libjava/ChangeLog:
* include/jvm.h (_Jv_ClosureListFinalizer): New.
(_Jv_Linker::create_error_method): Adjust.
* boehm.cc (_Jv_ClosureListFinalizer): New.
* nogc.cc (_Jv_ClosureListFinalizer): New.
* java/lang/Class.h (class _Jv_ClosureList): New.
(class java::lang::Class): Declare it as friend.
* java/lang/natClass.cc (_Jv_ClosureList::releaseClosures): New.
(_Jv_ClosureList::registerClousure): New.
* include/execution.h (_Jv_ExecutionEngine): Add get_closure_list.
(_Jv_CompiledEngine::do_get_closure_list): New.
(_Jv_CompiledEngine::_Jv_CompiledEngine): Use it.
(_Jv_IndirectCompiledClass): Add closures.
(_Jv_IndirectCompiledEngine::get_aux_info): New.
(_Jv_IndirectCompiledEngine::do_allocate_field_initializers): Use
it.
(_Jv_IndirectCompiledEngine::do_get_closure_list): New.
(_Jv_IndirectCompiledEngine::_Jv_IndirectCompiledEngine): Use it.
(_Jv_InterpreterEngine::do_get_closure_list): Declare.
(_Jv_InterpreterEngine::_Jv_InterpreterEngine): Use it.
* interpret.cc (FFI_PREP_RAW_CLOSURE): Use _loc variants.
(node_closure): Add closure list.
(_Jv_InterpMethod::ncode): Add jclass argument. Use
ffi_closure_alloc and the separate code pointer. Register the
closure for finalization.
(_Jv_JNIMethod::ncode): Likewise.
(_Jv_InterpreterEngine::do_create_ncode): Pass klass to ncode.
(_Jv_InterpreterEngine::do_get_closure_list): New.
* include/java-interp.h (_Jv_InterpMethod::ncode): Adjust.
(_Jv_InterpClass): Add closures field.
(_Jv_JNIMethod::ncode): Adjust.
* defineclass.cc (_Jv_ClassReader::handleCodeAttribute): Adjust.
(_Jv_ClassReader::handleMethodsEnd): Likewise.
* link.cc (struct method_closure): Add closure list.
(_Jv_Linker::create_error_method): Add jclass argument. Use
ffi_closure_alloc and the separate code pointer. Register the
closure for finalization.
(_Jv_Linker::link_symbol_table): Remove outdated comment about
sharing of otable and atable. Adjust.
* java/lang/reflect/natVMProxy.cc (ncode_closure): Add closure
list.
(ncode): Add jclass argument. Use ffi_closure_alloc and the
separate code pointer. Register the closure for finalization.
(java::lang::reflect::VMProxy::generateProxyClass): Adjust.
* testsuite/libjava.jar/TestClosureGC.java: New.
* testsuite/libjava.jar/TestClosureGC.out: New.
* testsuite/libjava.jar/TestClosureGC.xfail: New.
* testsuite/libjava.jar/TestClosureGC.jar: New.
From-SVN: r122652
2007-03-07 08:27:25 +01:00
|
|
|
-rm -f src/closures.$(OBJEXT)
|
|
|
|
-rm -f src/closures.lo
|
2005-04-18 19:08:58 +02:00
|
|
|
-rm -f src/cris/ffi.$(OBJEXT)
|
|
|
|
-rm -f src/cris/ffi.lo
|
|
|
|
-rm -f src/cris/sysv.$(OBJEXT)
|
|
|
|
-rm -f src/cris/sysv.lo
|
2004-03-11 20:59:49 +01:00
|
|
|
-rm -f src/debug.$(OBJEXT)
|
|
|
|
-rm -f src/debug.lo
|
2004-08-30 17:43:03 +02:00
|
|
|
-rm -f src/frv/eabi.$(OBJEXT)
|
|
|
|
-rm -f src/frv/eabi.lo
|
|
|
|
-rm -f src/frv/ffi.$(OBJEXT)
|
|
|
|
-rm -f src/frv/ffi.lo
|
2004-03-11 20:59:49 +01:00
|
|
|
-rm -f src/ia64/ffi.$(OBJEXT)
|
|
|
|
-rm -f src/ia64/ffi.lo
|
|
|
|
-rm -f src/ia64/unix.$(OBJEXT)
|
|
|
|
-rm -f src/ia64/unix.lo
|
|
|
|
-rm -f src/java_raw_api.$(OBJEXT)
|
|
|
|
-rm -f src/java_raw_api.lo
|
2004-10-13 19:20:24 +02:00
|
|
|
-rm -f src/m32r/ffi.$(OBJEXT)
|
|
|
|
-rm -f src/m32r/ffi.lo
|
|
|
|
-rm -f src/m32r/sysv.$(OBJEXT)
|
|
|
|
-rm -f src/m32r/sysv.lo
|
2004-03-11 20:59:49 +01:00
|
|
|
-rm -f src/m68k/ffi.$(OBJEXT)
|
|
|
|
-rm -f src/m68k/ffi.lo
|
|
|
|
-rm -f src/m68k/sysv.$(OBJEXT)
|
|
|
|
-rm -f src/m68k/sysv.lo
|
2015-01-12 17:19:59 +01:00
|
|
|
-rm -f src/m88k/ffi.$(OBJEXT)
|
|
|
|
-rm -f src/m88k/ffi.lo
|
|
|
|
-rm -f src/m88k/obsd.$(OBJEXT)
|
|
|
|
-rm -f src/m88k/obsd.lo
|
|
|
|
-rm -f src/metag/ffi.$(OBJEXT)
|
|
|
|
-rm -f src/metag/ffi.lo
|
|
|
|
-rm -f src/metag/sysv.$(OBJEXT)
|
|
|
|
-rm -f src/metag/sysv.lo
|
|
|
|
-rm -f src/microblaze/ffi.$(OBJEXT)
|
|
|
|
-rm -f src/microblaze/ffi.lo
|
|
|
|
-rm -f src/microblaze/sysv.$(OBJEXT)
|
|
|
|
-rm -f src/microblaze/sysv.lo
|
2004-03-11 20:59:49 +01:00
|
|
|
-rm -f src/mips/ffi.$(OBJEXT)
|
|
|
|
-rm -f src/mips/ffi.lo
|
|
|
|
-rm -f src/mips/n32.$(OBJEXT)
|
|
|
|
-rm -f src/mips/n32.lo
|
|
|
|
-rm -f src/mips/o32.$(OBJEXT)
|
|
|
|
-rm -f src/mips/o32.lo
|
2015-01-12 17:19:59 +01:00
|
|
|
-rm -f src/moxie/eabi.$(OBJEXT)
|
|
|
|
-rm -f src/moxie/eabi.lo
|
|
|
|
-rm -f src/moxie/ffi.$(OBJEXT)
|
|
|
|
-rm -f src/moxie/ffi.lo
|
|
|
|
-rm -f src/nios2/ffi.$(OBJEXT)
|
|
|
|
-rm -f src/nios2/ffi.lo
|
|
|
|
-rm -f src/nios2/sysv.$(OBJEXT)
|
|
|
|
-rm -f src/nios2/sysv.lo
|
|
|
|
-rm -f src/or1k/ffi.$(OBJEXT)
|
|
|
|
-rm -f src/or1k/ffi.lo
|
|
|
|
-rm -f src/or1k/sysv.$(OBJEXT)
|
|
|
|
-rm -f src/or1k/sysv.lo
|
2004-03-19 23:34:17 +01:00
|
|
|
-rm -f src/pa/ffi.$(OBJEXT)
|
|
|
|
-rm -f src/pa/ffi.lo
|
2006-04-05 23:26:34 +02:00
|
|
|
-rm -f src/pa/hpux32.$(OBJEXT)
|
|
|
|
-rm -f src/pa/hpux32.lo
|
2004-03-19 23:34:17 +01:00
|
|
|
-rm -f src/pa/linux.$(OBJEXT)
|
|
|
|
-rm -f src/pa/linux.lo
|
2004-03-11 20:59:49 +01:00
|
|
|
-rm -f src/powerpc/aix.$(OBJEXT)
|
|
|
|
-rm -f src/powerpc/aix.lo
|
|
|
|
-rm -f src/powerpc/aix_closure.$(OBJEXT)
|
|
|
|
-rm -f src/powerpc/aix_closure.lo
|
|
|
|
-rm -f src/powerpc/darwin.$(OBJEXT)
|
|
|
|
-rm -f src/powerpc/darwin.lo
|
|
|
|
-rm -f src/powerpc/darwin_closure.$(OBJEXT)
|
|
|
|
-rm -f src/powerpc/darwin_closure.lo
|
|
|
|
-rm -f src/powerpc/ffi.$(OBJEXT)
|
|
|
|
-rm -f src/powerpc/ffi.lo
|
|
|
|
-rm -f src/powerpc/ffi_darwin.$(OBJEXT)
|
|
|
|
-rm -f src/powerpc/ffi_darwin.lo
|
2013-12-10 01:42:14 +01:00
|
|
|
-rm -f src/powerpc/ffi_linux64.$(OBJEXT)
|
|
|
|
-rm -f src/powerpc/ffi_linux64.lo
|
|
|
|
-rm -f src/powerpc/ffi_sysv.$(OBJEXT)
|
|
|
|
-rm -f src/powerpc/ffi_sysv.lo
|
2004-03-11 20:59:49 +01:00
|
|
|
-rm -f src/powerpc/linux64.$(OBJEXT)
|
|
|
|
-rm -f src/powerpc/linux64.lo
|
|
|
|
-rm -f src/powerpc/linux64_closure.$(OBJEXT)
|
|
|
|
-rm -f src/powerpc/linux64_closure.lo
|
|
|
|
-rm -f src/powerpc/ppc_closure.$(OBJEXT)
|
|
|
|
-rm -f src/powerpc/ppc_closure.lo
|
|
|
|
-rm -f src/powerpc/sysv.$(OBJEXT)
|
|
|
|
-rm -f src/powerpc/sysv.lo
|
|
|
|
-rm -f src/prep_cif.$(OBJEXT)
|
|
|
|
-rm -f src/prep_cif.lo
|
|
|
|
-rm -f src/raw_api.$(OBJEXT)
|
|
|
|
-rm -f src/raw_api.lo
|
|
|
|
-rm -f src/s390/ffi.$(OBJEXT)
|
|
|
|
-rm -f src/s390/ffi.lo
|
|
|
|
-rm -f src/s390/sysv.$(OBJEXT)
|
|
|
|
-rm -f src/s390/sysv.lo
|
|
|
|
-rm -f src/sh/ffi.$(OBJEXT)
|
|
|
|
-rm -f src/sh/ffi.lo
|
|
|
|
-rm -f src/sh/sysv.$(OBJEXT)
|
|
|
|
-rm -f src/sh/sysv.lo
|
|
|
|
-rm -f src/sh64/ffi.$(OBJEXT)
|
|
|
|
-rm -f src/sh64/ffi.lo
|
|
|
|
-rm -f src/sh64/sysv.$(OBJEXT)
|
|
|
|
-rm -f src/sh64/sysv.lo
|
|
|
|
-rm -f src/sparc/ffi.$(OBJEXT)
|
|
|
|
-rm -f src/sparc/ffi.lo
|
2015-01-12 17:19:59 +01:00
|
|
|
-rm -f src/sparc/ffi64.$(OBJEXT)
|
|
|
|
-rm -f src/sparc/ffi64.lo
|
2004-03-11 20:59:49 +01:00
|
|
|
-rm -f src/sparc/v8.$(OBJEXT)
|
|
|
|
-rm -f src/sparc/v8.lo
|
|
|
|
-rm -f src/sparc/v9.$(OBJEXT)
|
|
|
|
-rm -f src/sparc/v9.lo
|
2012-12-29 17:25:27 +01:00
|
|
|
-rm -f src/tile/ffi.$(OBJEXT)
|
|
|
|
-rm -f src/tile/ffi.lo
|
|
|
|
-rm -f src/tile/tile.$(OBJEXT)
|
|
|
|
-rm -f src/tile/tile.lo
|
2004-03-11 20:59:49 +01:00
|
|
|
-rm -f src/types.$(OBJEXT)
|
|
|
|
-rm -f src/types.lo
|
2015-01-12 17:19:59 +01:00
|
|
|
-rm -f src/vax/elfbsd.$(OBJEXT)
|
|
|
|
-rm -f src/vax/elfbsd.lo
|
|
|
|
-rm -f src/vax/ffi.$(OBJEXT)
|
|
|
|
-rm -f src/vax/ffi.lo
|
2006-10-10 16:21:05 +02:00
|
|
|
-rm -f src/x86/darwin.$(OBJEXT)
|
|
|
|
-rm -f src/x86/darwin.lo
|
2006-12-14 08:34:45 +01:00
|
|
|
-rm -f src/x86/darwin64.$(OBJEXT)
|
|
|
|
-rm -f src/x86/darwin64.lo
|
2015-01-12 17:19:59 +01:00
|
|
|
-rm -f src/x86/darwin64_c.$(OBJEXT)
|
|
|
|
-rm -f src/x86/darwin64_c.lo
|
|
|
|
-rm -f src/x86/darwin_c.$(OBJEXT)
|
|
|
|
-rm -f src/x86/darwin_c.lo
|
2004-03-11 20:59:49 +01:00
|
|
|
-rm -f src/x86/ffi.$(OBJEXT)
|
|
|
|
-rm -f src/x86/ffi.lo
|
|
|
|
-rm -f src/x86/ffi64.$(OBJEXT)
|
|
|
|
-rm -f src/x86/ffi64.lo
|
2015-01-12 17:19:59 +01:00
|
|
|
-rm -f src/x86/ffiw64.$(OBJEXT)
|
|
|
|
-rm -f src/x86/ffiw64.lo
|
2004-03-11 20:59:49 +01:00
|
|
|
-rm -f src/x86/sysv.$(OBJEXT)
|
|
|
|
-rm -f src/x86/sysv.lo
|
|
|
|
-rm -f src/x86/unix64.$(OBJEXT)
|
|
|
|
-rm -f src/x86/unix64.lo
|
[multiple changes]
2009-06-12 Andrew Haley <aph@redhat.com>
* ChangeLog.libffi: testsuite/libffi.call/cls_align_sint64.c,
testsuite/libffi.call/cls_align_uint64.c,
testsuite/libffi.call/cls_ulonglong.c,
testsuite/libffi.call/return_ll1.c,
testsuite/libffi.call/stret_medium2.c: Fix printf format
specifiers.
testsuite/libffi.special/unwindtest.cc: include stdint.h.
2009-06-11 Timothy Wall <twall@users.sf.net>
* Makefile.am,
configure.ac,
include/ffi.h.in,
include/ffi_common.h,
src/closures.c,
src/dlmalloc.c,
src/x86/ffi.c,
src/x86/ffitarget.h,
src/x86/win64.S (new),
README: Added win64 support (mingw or MSVC)
* Makefile.in,
include/Makefile.in,
man/Makefile.in,
testsuite/Makefile.in,
configure,
aclocal.m4: Regenerated
* ltcf-c.sh: properly escape cygwin/w32 path
* man/ffi_call.3: Clarify size requirements for return value.
* src/x86/ffi64.c: Fix filename in comment.
* src/x86/win32.S: Remove unused extern.
* testsuite/libffi.call/closure_fn0.c,
testsuite/libffi.call/closure_fn1.c,
testsuite/libffi.call/closure_fn2.c,
testsuite/libffi.call/closure_fn3.c,
testsuite/libffi.call/closure_fn4.c,
testsuite/libffi.call/closure_fn5.c,
testsuite/libffi.call/closure_fn6.c,
testsuite/libffi.call/closure_stdcall.c,
testsuite/libffi.call/cls_12byte.c,
testsuite/libffi.call/cls_16byte.c,
testsuite/libffi.call/cls_18byte.c,
testsuite/libffi.call/cls_19byte.c,
testsuite/libffi.call/cls_1_1byte.c,
testsuite/libffi.call/cls_20byte.c,
testsuite/libffi.call/cls_20byte1.c,
testsuite/libffi.call/cls_24byte.c,
testsuite/libffi.call/cls_2byte.c,
testsuite/libffi.call/cls_3_1byte.c,
testsuite/libffi.call/cls_3byte1.c,
testsuite/libffi.call/cls_3byte2.c,
testsuite/libffi.call/cls_4_1byte.c,
testsuite/libffi.call/cls_4byte.c,
testsuite/libffi.call/cls_5_1_byte.c,
testsuite/libffi.call/cls_5byte.c,
testsuite/libffi.call/cls_64byte.c,
testsuite/libffi.call/cls_6_1_byte.c,
testsuite/libffi.call/cls_6byte.c,
testsuite/libffi.call/cls_7_1_byte.c,
testsuite/libffi.call/cls_7byte.c,
testsuite/libffi.call/cls_8byte.c,
testsuite/libffi.call/cls_9byte1.c,
testsuite/libffi.call/cls_9byte2.c,
testsuite/libffi.call/cls_align_double.c,
testsuite/libffi.call/cls_align_float.c,
testsuite/libffi.call/cls_align_longdouble.c,
testsuite/libffi.call/cls_align_longdouble_split.c,
testsuite/libffi.call/cls_align_longdouble_split2.c,
testsuite/libffi.call/cls_align_pointer.c,
testsuite/libffi.call/cls_align_sint16.c,
testsuite/libffi.call/cls_align_sint32.c,
testsuite/libffi.call/cls_align_sint64.c,
testsuite/libffi.call/cls_align_uint16.c,
testsuite/libffi.call/cls_align_uint32.c,
testsuite/libffi.call/cls_align_uint64.c,
testsuite/libffi.call/cls_dbls_struct.c,
testsuite/libffi.call/cls_double.c,
testsuite/libffi.call/cls_double_va.c,
testsuite/libffi.call/cls_float.c,
testsuite/libffi.call/cls_longdouble.c,
testsuite/libffi.call/cls_longdouble_va.c,
testsuite/libffi.call/cls_multi_schar.c,
testsuite/libffi.call/cls_multi_sshort.c,
testsuite/libffi.call/cls_multi_sshortchar.c,
testsuite/libffi.call/cls_multi_uchar.c,
testsuite/libffi.call/cls_multi_ushort.c,
testsuite/libffi.call/cls_multi_ushortchar.c,
testsuite/libffi.call/cls_pointer.c,
testsuite/libffi.call/cls_pointer_stack.c,
testsuite/libffi.call/cls_schar.c,
testsuite/libffi.call/cls_sint.c,
testsuite/libffi.call/cls_sshort.c,
testsuite/libffi.call/cls_uchar.c,
testsuite/libffi.call/cls_uint.c,
testsuite/libffi.call/cls_ulonglong.c,
testsuite/libffi.call/cls_ushort.c,
testsuite/libffi.call/err_bad_abi.c,
testsuite/libffi.call/err_bad_typedef.c,
testsuite/libffi.call/float2.c,
testsuite/libffi.call/huge_struct.c,
testsuite/libffi.call/nested_struct.c,
testsuite/libffi.call/nested_struct1.c,
testsuite/libffi.call/nested_struct10.c,
testsuite/libffi.call/nested_struct2.c,
testsuite/libffi.call/nested_struct3.c,
testsuite/libffi.call/nested_struct4.c,
testsuite/libffi.call/nested_struct5.c,
testsuite/libffi.call/nested_struct6.c,
testsuite/libffi.call/nested_struct7.c,
testsuite/libffi.call/nested_struct8.c,
testsuite/libffi.call/nested_struct9.c,
testsuite/libffi.call/problem1.c,
testsuite/libffi.call/return_ldl.c,
testsuite/libffi.call/return_ll1.c,
testsuite/libffi.call/stret_large.c,
testsuite/libffi.call/stret_large2.c,
testsuite/libffi.call/stret_medium.c,
testsuite/libffi.call/stret_medium2.c,
testsuite/libffi.special/unwindtest.cc: use ffi_closure_alloc instead
of checking for MMAP. Use intptr_t instead of long casts.
2009-06-12 Andrew Haley <aph@redhat.com>
* Makefile.am: Remove info_TEXINFOS.
From-SVN: r148433
2009-06-12 17:57:58 +02:00
|
|
|
-rm -f src/x86/win64.$(OBJEXT)
|
|
|
|
-rm -f src/x86/win64.lo
|
2015-01-12 17:19:59 +01:00
|
|
|
-rm -f src/xtensa/ffi.$(OBJEXT)
|
|
|
|
-rm -f src/xtensa/ffi.lo
|
|
|
|
-rm -f src/xtensa/sysv.$(OBJEXT)
|
|
|
|
-rm -f src/xtensa/sysv.lo
|
1999-08-08 15:27:18 +02:00
|
|
|
|
|
|
|
distclean-compile:
|
|
|
|
-rm -f *.tab.c
|
|
|
|
|
ffi.h.in (ffi_closure_alloc, [...]): New.
libffi/ChangeLog:
* include/ffi.h.in (ffi_closure_alloc, ffi_closure_free): New.
(ffi_prep_closure_loc): New.
(ffi_prep_raw_closure_loc): New.
(ffi_prep_java_raw_closure_loc): New.
* src/closures.c: New file.
* src/dlmalloc.c [FFI_MMAP_EXEC_WRIT] (struct malloc_segment):
Replace sflags with exec_offset.
[FFI_MMAP_EXEC_WRIT] (mmap_exec_offset, add_segment_exec_offset,
sub_segment_exec_offset): New macros.
(get_segment_flags, set_segment_flags, check_segment_merge): New
macros.
(is_mmapped_segment, is_extern_segment): Use get_segment_flags.
(add_segment, sys_alloc, create_mspace, create_mspace_with_base,
destroy_mspace): Use new macros.
(sys_alloc): Silence warning.
* Makefile.am (libffi_la_SOURCES): Add src/closures.c.
* Makefile.in: Rebuilt.
* src/prep_cif [FFI_CLOSURES] (ffi_prep_closure): Implement in
terms of ffi_prep_closure_loc.
* src/raw_api.c (ffi_prep_raw_closure_loc): Renamed and adjusted
from...
(ffi_prep_raw_closure): ... this. Re-implement in terms of the
renamed version.
* src/java_raw_api (ffi_prep_java_raw_closure_loc): Renamed and
adjusted from...
(ffi_prep_java_raw_closure): ... this. Re-implement in terms of
the renamed version.
* src/alpha/ffi.c (ffi_prep_closure_loc): Renamed from
(ffi_prep_closure): ... this.
* src/pa/ffi.c: Likewise.
* src/cris/ffi.c: Likewise. Adjust.
* src/frv/ffi.c: Likewise.
* src/ia64/ffi.c: Likewise.
* src/mips/ffi.c: Likewise.
* src/powerpc/ffi_darwin.c: Likewise.
* src/s390/ffi.c: Likewise.
* src/sh/ffi.c: Likewise.
* src/sh64/ffi.c: Likewise.
* src/sparc/ffi.c: Likewise.
* src/x86/ffi64.c: Likewise.
* src/x86/ffi.c: Likewise.
(FFI_INIT_TRAMPOLINE): Adjust.
(ffi_prep_raw_closure_loc): Renamed and adjusted from...
(ffi_prep_raw_closure): ... this.
* src/powerpc/ffi.c (ffi_prep_closure_loc): Renamed from
(ffi_prep_closure): ... this.
(flush_icache): Adjust.
boehm-gc/ChangeLog:
* include/gc.h (GC_REGISTER_FINALIZER_UNREACHABLE): New.
(GC_register_finalizer_unreachable): Declare.
(GC_debug_register_finalizer_unreachable): Declare.
* finalize.c (GC_unreachable_finalize_mark_proc): New.
(GC_register_finalizer_unreachable): New.
(GC_finalize): Handle it.
* dbg_mlc.c (GC_debug_register_finalizer_unreachable): New.
(GC_debug_register_finalizer_no_order): Fix whitespace.
libjava/ChangeLog:
* include/jvm.h (_Jv_ClosureListFinalizer): New.
(_Jv_Linker::create_error_method): Adjust.
* boehm.cc (_Jv_ClosureListFinalizer): New.
* nogc.cc (_Jv_ClosureListFinalizer): New.
* java/lang/Class.h (class _Jv_ClosureList): New.
(class java::lang::Class): Declare it as friend.
* java/lang/natClass.cc (_Jv_ClosureList::releaseClosures): New.
(_Jv_ClosureList::registerClousure): New.
* include/execution.h (_Jv_ExecutionEngine): Add get_closure_list.
(_Jv_CompiledEngine::do_get_closure_list): New.
(_Jv_CompiledEngine::_Jv_CompiledEngine): Use it.
(_Jv_IndirectCompiledClass): Add closures.
(_Jv_IndirectCompiledEngine::get_aux_info): New.
(_Jv_IndirectCompiledEngine::do_allocate_field_initializers): Use
it.
(_Jv_IndirectCompiledEngine::do_get_closure_list): New.
(_Jv_IndirectCompiledEngine::_Jv_IndirectCompiledEngine): Use it.
(_Jv_InterpreterEngine::do_get_closure_list): Declare.
(_Jv_InterpreterEngine::_Jv_InterpreterEngine): Use it.
* interpret.cc (FFI_PREP_RAW_CLOSURE): Use _loc variants.
(node_closure): Add closure list.
(_Jv_InterpMethod::ncode): Add jclass argument. Use
ffi_closure_alloc and the separate code pointer. Register the
closure for finalization.
(_Jv_JNIMethod::ncode): Likewise.
(_Jv_InterpreterEngine::do_create_ncode): Pass klass to ncode.
(_Jv_InterpreterEngine::do_get_closure_list): New.
* include/java-interp.h (_Jv_InterpMethod::ncode): Adjust.
(_Jv_InterpClass): Add closures field.
(_Jv_JNIMethod::ncode): Adjust.
* defineclass.cc (_Jv_ClassReader::handleCodeAttribute): Adjust.
(_Jv_ClassReader::handleMethodsEnd): Likewise.
* link.cc (struct method_closure): Add closure list.
(_Jv_Linker::create_error_method): Add jclass argument. Use
ffi_closure_alloc and the separate code pointer. Register the
closure for finalization.
(_Jv_Linker::link_symbol_table): Remove outdated comment about
sharing of otable and atable. Adjust.
* java/lang/reflect/natVMProxy.cc (ncode_closure): Add closure
list.
(ncode): Add jclass argument. Use ffi_closure_alloc and the
separate code pointer. Register the closure for finalization.
(java::lang::reflect::VMProxy::generateProxyClass): Adjust.
* testsuite/libjava.jar/TestClosureGC.java: New.
* testsuite/libjava.jar/TestClosureGC.out: New.
* testsuite/libjava.jar/TestClosureGC.xfail: New.
* testsuite/libjava.jar/TestClosureGC.jar: New.
From-SVN: r122652
2007-03-07 08:27:25 +01:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/closures.Plo@am__quote@
|
2004-11-23 05:11:31 +01:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/debug.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/java_raw_api.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/prep_cif.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/raw_api.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/types.Plo@am__quote@
|
2012-12-29 17:25:27 +01:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/aarch64/$(DEPDIR)/ffi.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/aarch64/$(DEPDIR)/sysv.Plo@am__quote@
|
2004-11-23 05:11:31 +01:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/alpha/$(DEPDIR)/ffi.Plo@am__quote@
|
2009-08-22 15:22:20 +02:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/alpha/$(DEPDIR)/osf.Plo@am__quote@
|
2015-01-12 17:19:59 +01:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/arc/$(DEPDIR)/arcompact.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/arc/$(DEPDIR)/ffi.Plo@am__quote@
|
2004-11-23 05:11:31 +01:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/arm/$(DEPDIR)/ffi.Plo@am__quote@
|
2009-08-22 15:22:20 +02:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/arm/$(DEPDIR)/sysv.Plo@am__quote@
|
2009-12-26 05:21:07 +01:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/avr32/$(DEPDIR)/ffi.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/avr32/$(DEPDIR)/sysv.Plo@am__quote@
|
2012-12-29 17:25:27 +01:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/bfin/$(DEPDIR)/ffi.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/bfin/$(DEPDIR)/sysv.Plo@am__quote@
|
2005-04-18 19:08:58 +02:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/cris/$(DEPDIR)/ffi.Plo@am__quote@
|
2009-08-22 15:22:20 +02:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/cris/$(DEPDIR)/sysv.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/frv/$(DEPDIR)/eabi.Plo@am__quote@
|
2004-11-23 05:11:31 +01:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/frv/$(DEPDIR)/ffi.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/ia64/$(DEPDIR)/ffi.Plo@am__quote@
|
2009-08-22 15:22:20 +02:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/ia64/$(DEPDIR)/unix.Plo@am__quote@
|
2004-11-23 05:11:31 +01:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/m32r/$(DEPDIR)/ffi.Plo@am__quote@
|
2009-08-22 15:22:20 +02:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/m32r/$(DEPDIR)/sysv.Plo@am__quote@
|
2004-11-23 05:11:31 +01:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/m68k/$(DEPDIR)/ffi.Plo@am__quote@
|
2009-08-22 15:22:20 +02:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/m68k/$(DEPDIR)/sysv.Plo@am__quote@
|
2015-01-12 17:19:59 +01:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/m88k/$(DEPDIR)/ffi.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/m88k/$(DEPDIR)/obsd.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/metag/$(DEPDIR)/ffi.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/metag/$(DEPDIR)/sysv.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/microblaze/$(DEPDIR)/ffi.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/microblaze/$(DEPDIR)/sysv.Plo@am__quote@
|
2004-11-23 05:11:31 +01:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/mips/$(DEPDIR)/ffi.Plo@am__quote@
|
2009-08-22 15:22:20 +02:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/mips/$(DEPDIR)/n32.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/mips/$(DEPDIR)/o32.Plo@am__quote@
|
2015-01-12 17:19:59 +01:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/moxie/$(DEPDIR)/eabi.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/moxie/$(DEPDIR)/ffi.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/nios2/$(DEPDIR)/ffi.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/nios2/$(DEPDIR)/sysv.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/or1k/$(DEPDIR)/ffi.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/or1k/$(DEPDIR)/sysv.Plo@am__quote@
|
2004-11-23 05:11:31 +01:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/pa/$(DEPDIR)/ffi.Plo@am__quote@
|
2009-08-22 15:22:20 +02:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/pa/$(DEPDIR)/hpux32.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/pa/$(DEPDIR)/linux.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/powerpc/$(DEPDIR)/aix.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/powerpc/$(DEPDIR)/aix_closure.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/powerpc/$(DEPDIR)/darwin.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/powerpc/$(DEPDIR)/darwin_closure.Plo@am__quote@
|
2004-11-23 05:11:31 +01:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/powerpc/$(DEPDIR)/ffi.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/powerpc/$(DEPDIR)/ffi_darwin.Plo@am__quote@
|
2013-12-10 01:42:14 +01:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/powerpc/$(DEPDIR)/ffi_linux64.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/powerpc/$(DEPDIR)/ffi_sysv.Plo@am__quote@
|
2009-08-22 15:22:20 +02:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/powerpc/$(DEPDIR)/linux64.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/powerpc/$(DEPDIR)/linux64_closure.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/powerpc/$(DEPDIR)/ppc_closure.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/powerpc/$(DEPDIR)/sysv.Plo@am__quote@
|
2004-11-23 05:11:31 +01:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/s390/$(DEPDIR)/ffi.Plo@am__quote@
|
2009-08-22 15:22:20 +02:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/s390/$(DEPDIR)/sysv.Plo@am__quote@
|
2004-11-23 05:11:31 +01:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/sh/$(DEPDIR)/ffi.Plo@am__quote@
|
2009-08-22 15:22:20 +02:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/sh/$(DEPDIR)/sysv.Plo@am__quote@
|
2004-11-23 05:11:31 +01:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/sh64/$(DEPDIR)/ffi.Plo@am__quote@
|
2009-08-22 15:22:20 +02:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/sh64/$(DEPDIR)/sysv.Plo@am__quote@
|
2004-11-23 05:11:31 +01:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/sparc/$(DEPDIR)/ffi.Plo@am__quote@
|
2015-01-12 17:19:59 +01:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/sparc/$(DEPDIR)/ffi64.Plo@am__quote@
|
2009-08-22 15:22:20 +02:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/sparc/$(DEPDIR)/v8.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/sparc/$(DEPDIR)/v9.Plo@am__quote@
|
2012-12-29 17:25:27 +01:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/tile/$(DEPDIR)/ffi.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/tile/$(DEPDIR)/tile.Plo@am__quote@
|
2015-01-12 17:19:59 +01:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/vax/$(DEPDIR)/elfbsd.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/vax/$(DEPDIR)/ffi.Plo@am__quote@
|
2009-08-22 15:22:20 +02:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/x86/$(DEPDIR)/darwin.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/x86/$(DEPDIR)/darwin64.Plo@am__quote@
|
2015-01-12 17:19:59 +01:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/x86/$(DEPDIR)/darwin64_c.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/x86/$(DEPDIR)/darwin_c.Plo@am__quote@
|
2004-11-23 05:11:31 +01:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/x86/$(DEPDIR)/ffi.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/x86/$(DEPDIR)/ffi64.Plo@am__quote@
|
2015-01-12 17:19:59 +01:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/x86/$(DEPDIR)/ffiw64.Plo@am__quote@
|
2009-08-22 15:22:20 +02:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/x86/$(DEPDIR)/sysv.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/x86/$(DEPDIR)/unix64.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/x86/$(DEPDIR)/win64.Plo@am__quote@
|
2015-01-12 17:19:59 +01:00
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/xtensa/$(DEPDIR)/ffi.Plo@am__quote@
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@src/xtensa/$(DEPDIR)/sysv.Plo@am__quote@
|
2004-11-23 05:11:31 +01:00
|
|
|
|
2004-03-11 20:59:49 +01:00
|
|
|
.S.o:
|
2009-08-22 15:22:20 +02:00
|
|
|
@am__fastdepCCAS_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
|
|
|
|
@am__fastdepCCAS_TRUE@ $(CPPASCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
|
|
|
|
@am__fastdepCCAS_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
|
|
|
|
@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
|
|
|
@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
|
|
@am__fastdepCCAS_FALSE@ $(CPPASCOMPILE) -c -o $@ $<
|
2004-03-11 20:59:49 +01:00
|
|
|
|
|
|
|
.S.obj:
|
2009-08-22 15:22:20 +02:00
|
|
|
@am__fastdepCCAS_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
|
|
|
|
@am__fastdepCCAS_TRUE@ $(CPPASCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
|
|
|
|
@am__fastdepCCAS_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
|
|
|
|
@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
|
|
|
@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
|
|
@am__fastdepCCAS_FALSE@ $(CPPASCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
|
2004-03-11 20:59:49 +01:00
|
|
|
|
|
|
|
.S.lo:
|
2009-08-22 15:22:20 +02:00
|
|
|
@am__fastdepCCAS_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
|
|
|
|
@am__fastdepCCAS_TRUE@ $(LTCPPASCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
|
|
|
|
@am__fastdepCCAS_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
|
|
|
|
@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
|
|
|
|
@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
|
|
@am__fastdepCCAS_FALSE@ $(LTCPPASCOMPILE) -c -o $@ $<
|
2004-03-11 20:59:49 +01:00
|
|
|
|
|
|
|
.c.o:
|
2009-08-22 15:22:20 +02:00
|
|
|
@am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
|
|
|
|
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
|
|
|
|
@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
|
2004-11-23 05:11:31 +01:00
|
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
|
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
|
|
@am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ $<
|
2004-03-11 20:59:49 +01:00
|
|
|
|
|
|
|
.c.obj:
|
2009-08-22 15:22:20 +02:00
|
|
|
@am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
|
|
|
|
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
|
|
|
|
@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
|
2004-11-23 05:11:31 +01:00
|
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
|
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
|
|
@am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
|
2004-03-11 20:59:49 +01:00
|
|
|
|
|
|
|
.c.lo:
|
2009-08-22 15:22:20 +02:00
|
|
|
@am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
|
|
|
|
@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
|
|
|
|
@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
|
2004-11-23 05:11:31 +01:00
|
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
|
|
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
|
|
@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
|
2004-03-19 23:34:17 +01:00
|
|
|
|
1999-08-08 15:27:18 +02:00
|
|
|
mostlyclean-libtool:
|
|
|
|
-rm -f *.lo
|
|
|
|
|
|
|
|
clean-libtool:
|
|
|
|
-rm -rf .libs _libs
|
2004-03-11 20:59:49 +01:00
|
|
|
-rm -rf src/.libs src/_libs
|
2012-12-29 17:25:27 +01:00
|
|
|
-rm -rf src/aarch64/.libs src/aarch64/_libs
|
2004-03-11 20:59:49 +01:00
|
|
|
-rm -rf src/alpha/.libs src/alpha/_libs
|
2015-01-12 17:19:59 +01:00
|
|
|
-rm -rf src/arc/.libs src/arc/_libs
|
2004-03-11 20:59:49 +01:00
|
|
|
-rm -rf src/arm/.libs src/arm/_libs
|
2009-12-26 05:21:07 +01:00
|
|
|
-rm -rf src/avr32/.libs src/avr32/_libs
|
2012-12-29 17:25:27 +01:00
|
|
|
-rm -rf src/bfin/.libs src/bfin/_libs
|
2005-04-18 19:08:58 +02:00
|
|
|
-rm -rf src/cris/.libs src/cris/_libs
|
2004-08-30 17:43:03 +02:00
|
|
|
-rm -rf src/frv/.libs src/frv/_libs
|
2004-03-11 20:59:49 +01:00
|
|
|
-rm -rf src/ia64/.libs src/ia64/_libs
|
2004-10-13 19:20:24 +02:00
|
|
|
-rm -rf src/m32r/.libs src/m32r/_libs
|
2004-03-11 20:59:49 +01:00
|
|
|
-rm -rf src/m68k/.libs src/m68k/_libs
|
2015-01-12 17:19:59 +01:00
|
|
|
-rm -rf src/m88k/.libs src/m88k/_libs
|
|
|
|
-rm -rf src/metag/.libs src/metag/_libs
|
|
|
|
-rm -rf src/microblaze/.libs src/microblaze/_libs
|
2004-03-11 20:59:49 +01:00
|
|
|
-rm -rf src/mips/.libs src/mips/_libs
|
2015-01-12 17:19:59 +01:00
|
|
|
-rm -rf src/moxie/.libs src/moxie/_libs
|
|
|
|
-rm -rf src/nios2/.libs src/nios2/_libs
|
|
|
|
-rm -rf src/or1k/.libs src/or1k/_libs
|
2004-03-19 23:34:17 +01:00
|
|
|
-rm -rf src/pa/.libs src/pa/_libs
|
2004-03-11 20:59:49 +01:00
|
|
|
-rm -rf src/powerpc/.libs src/powerpc/_libs
|
|
|
|
-rm -rf src/s390/.libs src/s390/_libs
|
|
|
|
-rm -rf src/sh/.libs src/sh/_libs
|
|
|
|
-rm -rf src/sh64/.libs src/sh64/_libs
|
|
|
|
-rm -rf src/sparc/.libs src/sparc/_libs
|
2012-12-29 17:25:27 +01:00
|
|
|
-rm -rf src/tile/.libs src/tile/_libs
|
2015-01-12 17:19:59 +01:00
|
|
|
-rm -rf src/vax/.libs src/vax/_libs
|
2004-03-11 20:59:49 +01:00
|
|
|
-rm -rf src/x86/.libs src/x86/_libs
|
2015-01-12 17:19:59 +01:00
|
|
|
-rm -rf src/xtensa/.libs src/xtensa/_libs
|
1999-08-08 15:27:18 +02:00
|
|
|
|
|
|
|
distclean-libtool:
|
2009-08-22 15:22:20 +02:00
|
|
|
-rm -f libtool config.lt
|
1999-08-08 15:27:18 +02:00
|
|
|
|
2004-11-23 05:11:31 +01:00
|
|
|
# GNU Make needs to see an explicit $(MAKE) variable in the command it
|
|
|
|
# runs to enable its job server during parallel builds. Hence the
|
|
|
|
# comments below.
|
2004-03-11 20:59:49 +01:00
|
|
|
all-multi:
|
2004-11-23 05:11:31 +01:00
|
|
|
$(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do # $(MAKE)
|
2004-03-11 20:59:49 +01:00
|
|
|
install-multi:
|
2004-11-23 05:11:31 +01:00
|
|
|
$(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do # $(MAKE)
|
2001-04-12 11:32:50 +02:00
|
|
|
|
2004-03-11 20:59:49 +01:00
|
|
|
mostlyclean-multi:
|
2004-11-23 05:11:31 +01:00
|
|
|
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean # $(MAKE)
|
2004-03-11 20:59:49 +01:00
|
|
|
clean-multi:
|
2004-11-23 05:11:31 +01:00
|
|
|
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean # $(MAKE)
|
2004-03-11 20:59:49 +01:00
|
|
|
distclean-multi:
|
2004-11-23 05:11:31 +01:00
|
|
|
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean # $(MAKE)
|
2004-03-11 20:59:49 +01:00
|
|
|
maintainer-clean-multi:
|
2004-11-23 05:11:31 +01:00
|
|
|
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean # $(MAKE)
|
2012-12-29 17:25:27 +01:00
|
|
|
doc/$(am__dirstamp):
|
|
|
|
@$(MKDIR_P) doc
|
|
|
|
@: > doc/$(am__dirstamp)
|
|
|
|
|
|
|
|
doc/libffi.dvi: doc/libffi.texi $(srcdir)/doc/version.texi doc/$(am__dirstamp)
|
|
|
|
TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
|
|
|
|
MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I doc -I $(srcdir)/doc' \
|
|
|
|
$(TEXI2DVI) -o $@ `test -f 'doc/libffi.texi' || echo '$(srcdir)/'`doc/libffi.texi
|
|
|
|
|
|
|
|
doc/libffi.pdf: doc/libffi.texi $(srcdir)/doc/version.texi doc/$(am__dirstamp)
|
|
|
|
TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
|
|
|
|
MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I doc -I $(srcdir)/doc' \
|
|
|
|
$(TEXI2PDF) -o $@ `test -f 'doc/libffi.texi' || echo '$(srcdir)/'`doc/libffi.texi
|
|
|
|
|
|
|
|
doc/libffi.html: doc/libffi.texi $(srcdir)/doc/version.texi doc/$(am__dirstamp)
|
|
|
|
rm -rf $(@:.html=.htp)
|
|
|
|
if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I doc -I $(srcdir)/doc \
|
|
|
|
-o $(@:.html=.htp) `test -f 'doc/libffi.texi' || echo '$(srcdir)/'`doc/libffi.texi; \
|
|
|
|
then \
|
|
|
|
rm -rf $@; \
|
|
|
|
if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
|
|
|
|
mv $(@:.html=) $@; else mv $(@:.html=.htp) $@; fi; \
|
|
|
|
else \
|
|
|
|
if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
|
|
|
|
rm -rf $(@:.html=); else rm -Rf $(@:.html=.htp) $@; fi; \
|
|
|
|
exit 1; \
|
|
|
|
fi
|
|
|
|
$(srcdir)/doc/version.texi: @MAINTAINER_MODE_TRUE@ $(srcdir)/doc/stamp-vti
|
|
|
|
$(srcdir)/doc/stamp-vti: doc/libffi.texi $(top_srcdir)/configure
|
|
|
|
test -f doc/$(am__dirstamp) || $(MAKE) $(AM_MAKEFLAGS) doc/$(am__dirstamp)
|
|
|
|
@(dir=.; test -f ./doc/libffi.texi || dir=$(srcdir); \
|
|
|
|
set `$(SHELL) $(srcdir)/mdate-sh $$dir/doc/libffi.texi`; \
|
|
|
|
echo "@set UPDATED $$1 $$2 $$3"; \
|
|
|
|
echo "@set UPDATED-MONTH $$2 $$3"; \
|
|
|
|
echo "@set EDITION $(VERSION)"; \
|
|
|
|
echo "@set VERSION $(VERSION)") > vti.tmp
|
|
|
|
@cmp -s vti.tmp $(srcdir)/doc/version.texi \
|
|
|
|
|| (echo "Updating $(srcdir)/doc/version.texi"; \
|
|
|
|
cp vti.tmp $(srcdir)/doc/version.texi)
|
|
|
|
-@rm -f vti.tmp
|
|
|
|
@cp $(srcdir)/doc/version.texi $@
|
|
|
|
|
|
|
|
mostlyclean-vti:
|
|
|
|
-rm -f vti.tmp
|
|
|
|
|
|
|
|
maintainer-clean-vti:
|
|
|
|
@MAINTAINER_MODE_TRUE@ -rm -f $(srcdir)/doc/stamp-vti $(srcdir)/doc/version.texi
|
|
|
|
.dvi.ps:
|
|
|
|
TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
|
|
|
|
$(DVIPS) -o $@ $<
|
|
|
|
|
|
|
|
uninstall-dvi-am:
|
|
|
|
@$(NORMAL_UNINSTALL)
|
|
|
|
@list='$(DVIS)'; test -n "$(dvidir)" || list=; \
|
|
|
|
for p in $$list; do \
|
|
|
|
$(am__strip_dir) \
|
|
|
|
echo " rm -f '$(DESTDIR)$(dvidir)/$$f'"; \
|
|
|
|
rm -f "$(DESTDIR)$(dvidir)/$$f"; \
|
|
|
|
done
|
|
|
|
|
|
|
|
uninstall-html-am:
|
|
|
|
@$(NORMAL_UNINSTALL)
|
|
|
|
@list='$(HTMLS)'; test -n "$(htmldir)" || list=; \
|
|
|
|
for p in $$list; do \
|
|
|
|
$(am__strip_dir) \
|
|
|
|
echo " rm -rf '$(DESTDIR)$(htmldir)/$$f'"; \
|
|
|
|
rm -rf "$(DESTDIR)$(htmldir)/$$f"; \
|
|
|
|
done
|
|
|
|
|
|
|
|
uninstall-info-am:
|
|
|
|
@$(PRE_UNINSTALL)
|
2015-05-13 13:23:24 +02:00
|
|
|
@if test -d '$(DESTDIR)$(infodir)' && $(am__can_run_installinfo); then \
|
2012-12-29 17:25:27 +01:00
|
|
|
list='$(INFO_DEPS)'; \
|
|
|
|
for file in $$list; do \
|
|
|
|
relfile=`echo "$$file" | sed 's|^.*/||'`; \
|
|
|
|
echo " install-info --info-dir='$(DESTDIR)$(infodir)' --remove '$(DESTDIR)$(infodir)/$$relfile'"; \
|
|
|
|
if install-info --info-dir="$(DESTDIR)$(infodir)" --remove "$(DESTDIR)$(infodir)/$$relfile"; \
|
|
|
|
then :; else test ! -f "$(DESTDIR)$(infodir)/$$relfile" || exit 1; fi; \
|
|
|
|
done; \
|
|
|
|
else :; fi
|
|
|
|
@$(NORMAL_UNINSTALL)
|
|
|
|
@list='$(INFO_DEPS)'; \
|
|
|
|
for file in $$list; do \
|
|
|
|
relfile=`echo "$$file" | sed 's|^.*/||'`; \
|
|
|
|
relfile_i=`echo "$$relfile" | sed 's|\.info$$||;s|$$|.i|'`; \
|
|
|
|
(if test -d "$(DESTDIR)$(infodir)" && cd "$(DESTDIR)$(infodir)"; then \
|
|
|
|
echo " cd '$(DESTDIR)$(infodir)' && rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]"; \
|
|
|
|
rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]; \
|
|
|
|
else :; fi); \
|
|
|
|
done
|
|
|
|
|
|
|
|
uninstall-pdf-am:
|
|
|
|
@$(NORMAL_UNINSTALL)
|
|
|
|
@list='$(PDFS)'; test -n "$(pdfdir)" || list=; \
|
|
|
|
for p in $$list; do \
|
|
|
|
$(am__strip_dir) \
|
|
|
|
echo " rm -f '$(DESTDIR)$(pdfdir)/$$f'"; \
|
|
|
|
rm -f "$(DESTDIR)$(pdfdir)/$$f"; \
|
|
|
|
done
|
|
|
|
|
|
|
|
uninstall-ps-am:
|
|
|
|
@$(NORMAL_UNINSTALL)
|
|
|
|
@list='$(PSS)'; test -n "$(psdir)" || list=; \
|
|
|
|
for p in $$list; do \
|
|
|
|
$(am__strip_dir) \
|
|
|
|
echo " rm -f '$(DESTDIR)$(psdir)/$$f'"; \
|
|
|
|
rm -f "$(DESTDIR)$(psdir)/$$f"; \
|
|
|
|
done
|
|
|
|
|
|
|
|
dist-info: $(INFO_DEPS)
|
|
|
|
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
|
|
|
list='$(INFO_DEPS)'; \
|
|
|
|
for base in $$list; do \
|
|
|
|
case $$base in \
|
|
|
|
$(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \
|
|
|
|
esac; \
|
|
|
|
if test -f $$base; then d=.; else d=$(srcdir); fi; \
|
|
|
|
base_i=`echo "$$base" | sed 's|\.info$$||;s|$$|.i|'`; \
|
|
|
|
for file in $$d/$$base $$d/$$base-[0-9] $$d/$$base-[0-9][0-9] $$d/$$base_i[0-9] $$d/$$base_i[0-9][0-9]; do \
|
|
|
|
if test -f $$file; then \
|
|
|
|
relfile=`expr "$$file" : "$$d/\(.*\)"`; \
|
|
|
|
test -f "$(distdir)/$$relfile" || \
|
|
|
|
cp -p $$file "$(distdir)/$$relfile"; \
|
|
|
|
else :; fi; \
|
|
|
|
done; \
|
|
|
|
done
|
|
|
|
|
|
|
|
mostlyclean-aminfo:
|
|
|
|
-rm -rf libffi.aux libffi.cp libffi.cps libffi.fn libffi.ky libffi.log \
|
|
|
|
libffi.pg libffi.tmp libffi.toc libffi.tp libffi.vr
|
|
|
|
|
|
|
|
clean-aminfo:
|
|
|
|
-test -z "doc/libffi.dvi doc/libffi.pdf doc/libffi.ps doc/libffi.html" \
|
|
|
|
|| rm -rf doc/libffi.dvi doc/libffi.pdf doc/libffi.ps doc/libffi.html
|
|
|
|
|
|
|
|
maintainer-clean-aminfo:
|
|
|
|
@list='$(INFO_DEPS)'; for i in $$list; do \
|
|
|
|
i_i=`echo "$$i" | sed 's|\.info$$||;s|$$|.i|'`; \
|
|
|
|
echo " rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]"; \
|
|
|
|
rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]; \
|
|
|
|
done
|
2015-01-12 17:19:59 +01:00
|
|
|
install-pkgconfigDATA: $(pkgconfig_DATA)
|
|
|
|
@$(NORMAL_INSTALL)
|
|
|
|
@list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
|
2015-05-13 13:23:24 +02:00
|
|
|
if test -n "$$list"; then \
|
|
|
|
echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
|
|
|
|
$(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
|
|
|
|
fi; \
|
2015-01-12 17:19:59 +01:00
|
|
|
for p in $$list; do \
|
|
|
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
|
|
|
echo "$$d$$p"; \
|
|
|
|
done | $(am__base_list) | \
|
|
|
|
while read files; do \
|
|
|
|
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
|
|
|
|
$(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
|
|
|
|
done
|
|
|
|
|
|
|
|
uninstall-pkgconfigDATA:
|
|
|
|
@$(NORMAL_UNINSTALL)
|
|
|
|
@list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
|
|
|
|
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
|
2015-05-13 13:23:24 +02:00
|
|
|
dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
|
1999-08-08 15:27:18 +02:00
|
|
|
|
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.
|
2004-03-11 20:59:49 +01:00
|
|
|
$(RECURSIVE_TARGETS):
|
2010-04-02 20:18:06 +02:00
|
|
|
@fail= failcom='exit 1'; \
|
2006-05-24 03:45:57 +02:00
|
|
|
for f in x $$MAKEFLAGS; do \
|
|
|
|
case $$f in \
|
|
|
|
*=* | --[!k]*);; \
|
|
|
|
*k*) failcom='fail=yes';; \
|
|
|
|
esac; \
|
|
|
|
done; \
|
2000-05-01 23:35:35 +02:00
|
|
|
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; \
|
2009-08-22 15:22:20 +02:00
|
|
|
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
2006-05-24 03:45:57 +02:00
|
|
|
|| eval $$failcom; \
|
2000-05-01 23:35:35 +02:00
|
|
|
done; \
|
|
|
|
if test "$$dot_seen" = "no"; then \
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
|
|
|
fi; test -z "$$fail"
|
|
|
|
|
2009-08-22 15:22:20 +02:00
|
|
|
$(RECURSIVE_CLEAN_TARGETS):
|
2010-04-02 20:18:06 +02:00
|
|
|
@fail= failcom='exit 1'; \
|
2006-05-24 03:45:57 +02:00
|
|
|
for f in x $$MAKEFLAGS; do \
|
|
|
|
case $$f in \
|
|
|
|
*=* | --[!k]*);; \
|
|
|
|
*k*) failcom='fail=yes';; \
|
|
|
|
esac; \
|
|
|
|
done; \
|
2000-05-01 23:35:35 +02:00
|
|
|
dot_seen=no; \
|
2004-03-11 20:59:49 +01:00
|
|
|
case "$@" in \
|
|
|
|
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
|
|
|
*) list='$(SUBDIRS)' ;; \
|
|
|
|
esac; \
|
|
|
|
rev=''; for subdir in $$list; do \
|
|
|
|
if test "$$subdir" = "."; then :; else \
|
|
|
|
rev="$$subdir $$rev"; \
|
|
|
|
fi; \
|
2000-05-01 23:35:35 +02:00
|
|
|
done; \
|
2004-03-11 20:59:49 +01:00
|
|
|
rev="$$rev ."; \
|
2000-05-01 23:35:35 +02:00
|
|
|
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; \
|
2009-08-22 15:22:20 +02:00
|
|
|
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
2006-05-24 03:45:57 +02:00
|
|
|
|| eval $$failcom; \
|
2000-05-01 23:35:35 +02:00
|
|
|
done && test -z "$$fail"
|
|
|
|
tags-recursive:
|
|
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
2009-08-22 15:22:20 +02:00
|
|
|
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
2000-05-01 23:35:35 +02:00
|
|
|
done
|
2004-03-11 20:59:49 +01:00
|
|
|
ctags-recursive:
|
|
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
2009-08-22 15:22:20 +02:00
|
|
|
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
2004-03-11 20:59:49 +01:00
|
|
|
done
|
|
|
|
|
|
|
|
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 | \
|
2009-08-22 15:22:20 +02:00
|
|
|
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
|
|
|
END { if (nonempty) { 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
|
1999-08-08 15:27:18 +02:00
|
|
|
|
2004-03-11 20:59:49 +01:00
|
|
|
TAGS: tags-recursive $(HEADERS) $(SOURCES) fficonfig.h.in $(TAGS_DEPENDENCIES) \
|
|
|
|
$(TAGS_FILES) $(LISP)
|
2009-08-22 15:22:20 +02:00
|
|
|
set x; \
|
1999-08-08 15:27:18 +02:00
|
|
|
here=`pwd`; \
|
2004-11-23 05:11:31 +01:00
|
|
|
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
2004-03-11 20:59:49 +01:00
|
|
|
include_option=--etags-include; \
|
2004-11-23 05:11:31 +01:00
|
|
|
empty_fix=.; \
|
2004-03-11 20:59:49 +01:00
|
|
|
else \
|
|
|
|
include_option=--include; \
|
2004-11-23 05:11:31 +01:00
|
|
|
empty_fix=; \
|
2004-03-11 20:59:49 +01:00
|
|
|
fi; \
|
2000-05-01 23:35:35 +02:00
|
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
2004-03-11 20:59:49 +01:00
|
|
|
if test "$$subdir" = .; then :; else \
|
2004-11-23 05:11:31 +01:00
|
|
|
test ! -f $$subdir/TAGS || \
|
2009-08-22 15:22:20 +02:00
|
|
|
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
|
2004-03-11 20:59:49 +01:00
|
|
|
fi; \
|
2000-05-01 23:35:35 +02:00
|
|
|
done; \
|
2004-03-11 20:59:49 +01:00
|
|
|
list='$(SOURCES) $(HEADERS) fficonfig.h.in $(LISP) $(TAGS_FILES)'; \
|
|
|
|
unique=`for i in $$list; do \
|
|
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|
|
|
done | \
|
2009-08-22 15:22:20 +02:00
|
|
|
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
|
|
|
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
|
|
|
shift; \
|
|
|
|
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
2004-11-23 05:11:31 +01:00
|
|
|
test -n "$$unique" || unique=$$empty_fix; \
|
2009-08-22 15:22:20 +02:00
|
|
|
if test $$# -gt 0; then \
|
|
|
|
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
|
|
|
"$$@" $$unique; \
|
|
|
|
else \
|
|
|
|
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
|
|
|
$$unique; \
|
|
|
|
fi; \
|
2004-11-23 05:11:31 +01:00
|
|
|
fi
|
2004-03-11 20:59:49 +01:00
|
|
|
ctags: CTAGS
|
|
|
|
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) fficonfig.h.in $(TAGS_DEPENDENCIES) \
|
|
|
|
$(TAGS_FILES) $(LISP)
|
|
|
|
list='$(SOURCES) $(HEADERS) fficonfig.h.in $(LISP) $(TAGS_FILES)'; \
|
|
|
|
unique=`for i in $$list; do \
|
|
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|
|
|
done | \
|
2009-08-22 15:22:20 +02:00
|
|
|
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
|
|
|
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
|
|
|
test -z "$(CTAGS_ARGS)$$unique" \
|
2004-03-11 20:59:49 +01:00
|
|
|
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
2009-08-22 15:22:20 +02:00
|
|
|
$$unique
|
1999-08-08 15:27:18 +02:00
|
|
|
|
2004-03-11 20:59:49 +01:00
|
|
|
GTAGS:
|
|
|
|
here=`$(am__cd) $(top_builddir) && pwd` \
|
2009-08-22 15:22:20 +02:00
|
|
|
&& $(am__cd) $(top_srcdir) \
|
|
|
|
&& gtags -i $(GTAGS_ARGS) "$$here"
|
1999-08-08 15:27:18 +02:00
|
|
|
|
|
|
|
distclean-tags:
|
2004-03-11 20:59:49 +01:00
|
|
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
|
|
|
check-am: all-am
|
2000-05-01 23:35:35 +02:00
|
|
|
check: check-recursive
|
2015-01-12 17:19:59 +01:00
|
|
|
all-am: Makefile $(INFO_DEPS) $(LTLIBRARIES) all-multi $(DATA) \
|
|
|
|
$(HEADERS) fficonfig.h all-local
|
2004-03-11 20:59:49 +01:00
|
|
|
installdirs: installdirs-recursive
|
|
|
|
installdirs-am:
|
2015-01-12 17:19:59 +01:00
|
|
|
for dir in "$(DESTDIR)$(toolexeclibdir)" "$(DESTDIR)$(infodir)" "$(DESTDIR)$(pkgconfigdir)"; do \
|
2009-08-22 15:22:20 +02:00
|
|
|
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
|
2004-06-15 16:47:55 +02:00
|
|
|
done
|
2004-03-11 20:59:49 +01:00
|
|
|
install: install-recursive
|
2000-05-01 23:35:35 +02:00
|
|
|
install-exec: install-exec-recursive
|
|
|
|
install-data: install-data-recursive
|
2004-03-11 20:59:49 +01:00
|
|
|
uninstall: uninstall-recursive
|
1999-08-08 15:27:18 +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-recursive
|
|
|
|
install-strip:
|
2015-05-13 13:23:24 +02:00
|
|
|
if test -z '$(STRIP)'; then \
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
|
|
|
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
|
|
|
install; \
|
|
|
|
else \
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
|
|
|
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
|
|
|
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
|
|
|
|
fi
|
1999-08-08 15:27:18 +02:00
|
|
|
mostlyclean-generic:
|
|
|
|
|
|
|
|
clean-generic:
|
2012-12-29 17:25:27 +01:00
|
|
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
1999-08-08 15:27:18 +02:00
|
|
|
|
|
|
|
distclean-generic:
|
2004-11-23 05:11:31 +01:00
|
|
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
2009-08-22 15:22:20 +02:00
|
|
|
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
2012-12-29 17:25:27 +01:00
|
|
|
-rm -f doc/$(am__dirstamp)
|
2004-11-23 05:11:31 +01:00
|
|
|
-rm -f src/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
-rm -f src/$(am__dirstamp)
|
2012-12-29 17:25:27 +01:00
|
|
|
-rm -f src/aarch64/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
-rm -f src/aarch64/$(am__dirstamp)
|
2004-11-23 05:11:31 +01:00
|
|
|
-rm -f src/alpha/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
-rm -f src/alpha/$(am__dirstamp)
|
2015-01-12 17:19:59 +01:00
|
|
|
-rm -f src/arc/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
-rm -f src/arc/$(am__dirstamp)
|
2004-11-23 05:11:31 +01:00
|
|
|
-rm -f src/arm/$(DEPDIR)/$(am__dirstamp)
|
2004-03-11 20:59:49 +01:00
|
|
|
-rm -f src/arm/$(am__dirstamp)
|
2009-12-26 05:21:07 +01:00
|
|
|
-rm -f src/avr32/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
-rm -f src/avr32/$(am__dirstamp)
|
2012-12-29 17:25:27 +01:00
|
|
|
-rm -f src/bfin/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
-rm -f src/bfin/$(am__dirstamp)
|
2005-04-18 19:08:58 +02:00
|
|
|
-rm -f src/cris/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
-rm -f src/cris/$(am__dirstamp)
|
2004-11-23 05:11:31 +01:00
|
|
|
-rm -f src/frv/$(DEPDIR)/$(am__dirstamp)
|
2004-08-30 17:43:03 +02:00
|
|
|
-rm -f src/frv/$(am__dirstamp)
|
2004-11-23 05:11:31 +01:00
|
|
|
-rm -f src/ia64/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
-rm -f src/ia64/$(am__dirstamp)
|
|
|
|
-rm -f src/m32r/$(DEPDIR)/$(am__dirstamp)
|
2004-10-13 19:20:24 +02:00
|
|
|
-rm -f src/m32r/$(am__dirstamp)
|
2004-11-23 05:11:31 +01:00
|
|
|
-rm -f src/m68k/$(DEPDIR)/$(am__dirstamp)
|
2004-03-11 20:59:49 +01:00
|
|
|
-rm -f src/m68k/$(am__dirstamp)
|
2015-01-12 17:19:59 +01:00
|
|
|
-rm -f src/m88k/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
-rm -f src/m88k/$(am__dirstamp)
|
|
|
|
-rm -f src/metag/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
-rm -f src/metag/$(am__dirstamp)
|
|
|
|
-rm -f src/microblaze/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
-rm -f src/microblaze/$(am__dirstamp)
|
2004-11-23 05:11:31 +01:00
|
|
|
-rm -f src/mips/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
-rm -f src/mips/$(am__dirstamp)
|
2015-01-12 17:19:59 +01:00
|
|
|
-rm -f src/moxie/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
-rm -f src/moxie/$(am__dirstamp)
|
|
|
|
-rm -f src/nios2/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
-rm -f src/nios2/$(am__dirstamp)
|
|
|
|
-rm -f src/or1k/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
-rm -f src/or1k/$(am__dirstamp)
|
2004-11-23 05:11:31 +01:00
|
|
|
-rm -f src/pa/$(DEPDIR)/$(am__dirstamp)
|
2004-03-19 23:34:17 +01:00
|
|
|
-rm -f src/pa/$(am__dirstamp)
|
2004-11-23 05:11:31 +01:00
|
|
|
-rm -f src/powerpc/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
-rm -f src/powerpc/$(am__dirstamp)
|
|
|
|
-rm -f src/s390/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
-rm -f src/s390/$(am__dirstamp)
|
|
|
|
-rm -f src/sh/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
-rm -f src/sh/$(am__dirstamp)
|
|
|
|
-rm -f src/sh64/$(DEPDIR)/$(am__dirstamp)
|
2004-10-13 19:20:24 +02:00
|
|
|
-rm -f src/sh64/$(am__dirstamp)
|
2004-11-23 05:11:31 +01:00
|
|
|
-rm -f src/sparc/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
-rm -f src/sparc/$(am__dirstamp)
|
2012-12-29 17:25:27 +01:00
|
|
|
-rm -f src/tile/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
-rm -f src/tile/$(am__dirstamp)
|
2015-01-12 17:19:59 +01:00
|
|
|
-rm -f src/vax/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
-rm -f src/vax/$(am__dirstamp)
|
2004-11-23 05:11:31 +01:00
|
|
|
-rm -f src/x86/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
-rm -f src/x86/$(am__dirstamp)
|
2015-01-12 17:19:59 +01:00
|
|
|
-rm -f src/xtensa/$(DEPDIR)/$(am__dirstamp)
|
|
|
|
-rm -f src/xtensa/$(am__dirstamp)
|
1999-08-08 15:27:18 +02:00
|
|
|
|
|
|
|
maintainer-clean-generic:
|
2004-03-11 20:59:49 +01:00
|
|
|
@echo "This command is intended for maintainers to use"
|
1999-08-08 15:27:18 +02:00
|
|
|
@echo "it deletes files that may require special tools to rebuild."
|
2012-12-29 17:25:27 +01:00
|
|
|
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
2004-03-11 20:59:49 +01:00
|
|
|
clean: clean-multi clean-recursive
|
1999-08-08 15:27:18 +02:00
|
|
|
|
2012-12-29 17:25:27 +01:00
|
|
|
clean-am: clean-aminfo clean-generic clean-libtool \
|
|
|
|
clean-noinstLTLIBRARIES clean-toolexeclibLTLIBRARIES \
|
|
|
|
mostlyclean-am
|
2001-03-27 00:52:36 +02:00
|
|
|
|
2004-03-11 20:59:49 +01:00
|
|
|
distclean: distclean-multi distclean-recursive
|
|
|
|
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
2015-01-12 17:19:59 +01:00
|
|
|
-rm -rf src/$(DEPDIR) src/aarch64/$(DEPDIR) src/alpha/$(DEPDIR) src/arc/$(DEPDIR) src/arm/$(DEPDIR) src/avr32/$(DEPDIR) src/bfin/$(DEPDIR) src/cris/$(DEPDIR) src/frv/$(DEPDIR) src/ia64/$(DEPDIR) src/m32r/$(DEPDIR) src/m68k/$(DEPDIR) src/m88k/$(DEPDIR) src/metag/$(DEPDIR) src/microblaze/$(DEPDIR) src/mips/$(DEPDIR) src/moxie/$(DEPDIR) src/nios2/$(DEPDIR) src/or1k/$(DEPDIR) src/pa/$(DEPDIR) src/powerpc/$(DEPDIR) src/s390/$(DEPDIR) src/sh/$(DEPDIR) src/sh64/$(DEPDIR) src/sparc/$(DEPDIR) src/tile/$(DEPDIR) src/vax/$(DEPDIR) src/x86/$(DEPDIR) src/xtensa/$(DEPDIR)
|
2004-03-11 20:59:49 +01:00
|
|
|
-rm -f Makefile
|
2004-06-15 16:47:55 +02:00
|
|
|
distclean-am: clean-am distclean-compile distclean-generic \
|
|
|
|
distclean-hdr distclean-libtool distclean-tags
|
2001-03-27 00:52:36 +02:00
|
|
|
|
2004-03-11 20:59:49 +01:00
|
|
|
dvi: dvi-recursive
|
2001-03-27 00:52:36 +02:00
|
|
|
|
2012-12-29 17:25:27 +01:00
|
|
|
dvi-am: $(DVIS)
|
2000-05-01 23:35:35 +02:00
|
|
|
|
2004-06-15 16:47:55 +02:00
|
|
|
html: html-recursive
|
|
|
|
|
2012-12-29 17:25:27 +01:00
|
|
|
html-am: $(HTMLS)
|
2009-08-22 15:22:20 +02:00
|
|
|
|
2004-03-11 20:59:49 +01:00
|
|
|
info: info-recursive
|
2001-03-27 00:52:36 +02:00
|
|
|
|
2012-12-29 17:25:27 +01:00
|
|
|
info-am: $(INFO_DEPS)
|
2000-05-01 23:35:35 +02:00
|
|
|
|
2015-01-12 17:19:59 +01:00
|
|
|
install-data-am: install-info-am install-pkgconfigDATA
|
2000-05-01 23:35:35 +02:00
|
|
|
|
2009-08-22 15:22:20 +02:00
|
|
|
install-dvi: install-dvi-recursive
|
|
|
|
|
2012-12-29 17:25:27 +01:00
|
|
|
install-dvi-am: $(DVIS)
|
|
|
|
@$(NORMAL_INSTALL)
|
|
|
|
@list='$(DVIS)'; test -n "$(dvidir)" || list=; \
|
2015-05-13 13:23:24 +02:00
|
|
|
if test -n "$$list"; then \
|
|
|
|
echo " $(MKDIR_P) '$(DESTDIR)$(dvidir)'"; \
|
|
|
|
$(MKDIR_P) "$(DESTDIR)$(dvidir)" || exit 1; \
|
|
|
|
fi; \
|
2012-12-29 17:25:27 +01:00
|
|
|
for p in $$list; do \
|
|
|
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
|
|
|
echo "$$d$$p"; \
|
|
|
|
done | $(am__base_list) | \
|
|
|
|
while read files; do \
|
|
|
|
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(dvidir)'"; \
|
|
|
|
$(INSTALL_DATA) $$files "$(DESTDIR)$(dvidir)" || exit $$?; \
|
|
|
|
done
|
2004-03-11 20:59:49 +01:00
|
|
|
install-exec-am: install-multi install-toolexeclibLTLIBRARIES
|
2000-05-01 23:35:35 +02:00
|
|
|
|
Cleanups after the update to Autoconf 2.64, Automake 1.11.
/:
* configure.ac: Remove --with-datarootdir, --with-docdir,
--with-pdfdir, --with-htmldir switches.
* configure: Regenerate.
gcc/:
* configure.ac: Remove --with-datarootdir, --with-docdir,
--with-htmldir switches. No need to call AC_SUBST for
datarootdir, docdir, htmldir any more.
* configure: Regenerate.
* doc/install.texi (Configuration): Document --datarootdir,
--docdir, --htmldir, --pdfdir; update documentation for
--infodir, --mandir.
(Prerequisites): Bump Autoconf version to 2.64, Automake to
1.11, M4 to 1.4.6.
libgfortran/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libjava/classpath/:
* doc/cp-hacking.texinfo (Needed Tools and Libraries): Bump
Autoconf version to 2.64, Automake to 1.11, M4 to 1.4.6.
libjava/:
* HACKING: Use aclocal-1.11 and autoconf-2.64 in example.
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libstdc++-v3/:
* doc/xml/manual/build_hacking.xml: Use tools from Autoconf
2.64 and Automake 1.11 in examples; update link to Autoconf
manual page about quadrigraphs.
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libssp/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
boehm-gc/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libmudflap/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
zlib/:
* Makefile.am (install-html, install-pdf, html): Remove.
* Makefile.in: Regenerate.
libffi/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libgomp/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
From-SVN: r151015
2009-08-22 15:41:50 +02:00
|
|
|
install-html: install-html-recursive
|
|
|
|
|
2012-12-29 17:25:27 +01:00
|
|
|
install-html-am: $(HTMLS)
|
|
|
|
@$(NORMAL_INSTALL)
|
|
|
|
@list='$(HTMLS)'; list2=; test -n "$(htmldir)" || list=; \
|
2015-05-13 13:23:24 +02:00
|
|
|
if test -n "$$list"; then \
|
|
|
|
echo " $(MKDIR_P) '$(DESTDIR)$(htmldir)'"; \
|
|
|
|
$(MKDIR_P) "$(DESTDIR)$(htmldir)" || exit 1; \
|
|
|
|
fi; \
|
2012-12-29 17:25:27 +01:00
|
|
|
for p in $$list; do \
|
|
|
|
if test -f "$$p" || test -d "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
|
|
|
$(am__strip_dir) \
|
2015-05-13 13:23:24 +02:00
|
|
|
d2=$$d$$p; \
|
|
|
|
if test -d "$$d2"; then \
|
2012-12-29 17:25:27 +01:00
|
|
|
echo " $(MKDIR_P) '$(DESTDIR)$(htmldir)/$$f'"; \
|
|
|
|
$(MKDIR_P) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \
|
2015-05-13 13:23:24 +02:00
|
|
|
echo " $(INSTALL_DATA) '$$d2'/* '$(DESTDIR)$(htmldir)/$$f'"; \
|
|
|
|
$(INSTALL_DATA) "$$d2"/* "$(DESTDIR)$(htmldir)/$$f" || exit $$?; \
|
2012-12-29 17:25:27 +01:00
|
|
|
else \
|
2015-05-13 13:23:24 +02:00
|
|
|
list2="$$list2 $$d2"; \
|
2012-12-29 17:25:27 +01:00
|
|
|
fi; \
|
|
|
|
done; \
|
|
|
|
test -z "$$list2" || { echo "$$list2" | $(am__base_list) | \
|
|
|
|
while read files; do \
|
|
|
|
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(htmldir)'"; \
|
|
|
|
$(INSTALL_DATA) $$files "$(DESTDIR)$(htmldir)" || exit $$?; \
|
|
|
|
done; }
|
2004-03-11 20:59:49 +01:00
|
|
|
install-info: install-info-recursive
|
1999-08-08 15:27:18 +02:00
|
|
|
|
2012-12-29 17:25:27 +01:00
|
|
|
install-info-am: $(INFO_DEPS)
|
|
|
|
@$(NORMAL_INSTALL)
|
|
|
|
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
|
|
|
list='$(INFO_DEPS)'; test -n "$(infodir)" || list=; \
|
2015-05-13 13:23:24 +02:00
|
|
|
if test -n "$$list"; then \
|
|
|
|
echo " $(MKDIR_P) '$(DESTDIR)$(infodir)'"; \
|
|
|
|
$(MKDIR_P) "$(DESTDIR)$(infodir)" || exit 1; \
|
|
|
|
fi; \
|
2012-12-29 17:25:27 +01:00
|
|
|
for file in $$list; do \
|
|
|
|
case $$file in \
|
|
|
|
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
|
|
|
|
esac; \
|
|
|
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
|
|
|
file_i=`echo "$$file" | sed 's|\.info$$||;s|$$|.i|'`; \
|
|
|
|
for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9] \
|
|
|
|
$$d/$$file_i[0-9] $$d/$$file_i[0-9][0-9] ; do \
|
|
|
|
if test -f $$ifile; then \
|
|
|
|
echo "$$ifile"; \
|
|
|
|
else : ; fi; \
|
|
|
|
done; \
|
|
|
|
done | $(am__base_list) | \
|
|
|
|
while read files; do \
|
|
|
|
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(infodir)'"; \
|
|
|
|
$(INSTALL_DATA) $$files "$(DESTDIR)$(infodir)" || exit $$?; done
|
|
|
|
@$(POST_INSTALL)
|
2015-05-13 13:23:24 +02:00
|
|
|
@if $(am__can_run_installinfo); then \
|
2012-12-29 17:25:27 +01:00
|
|
|
list='$(INFO_DEPS)'; test -n "$(infodir)" || list=; \
|
|
|
|
for file in $$list; do \
|
|
|
|
relfile=`echo "$$file" | sed 's|^.*/||'`; \
|
|
|
|
echo " install-info --info-dir='$(DESTDIR)$(infodir)' '$(DESTDIR)$(infodir)/$$relfile'";\
|
|
|
|
install-info --info-dir="$(DESTDIR)$(infodir)" "$(DESTDIR)$(infodir)/$$relfile" || :;\
|
|
|
|
done; \
|
|
|
|
else : ; fi
|
2004-03-11 20:59:49 +01:00
|
|
|
install-man:
|
[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
|
|
|
|
Cleanups after the update to Autoconf 2.64, Automake 1.11.
/:
* configure.ac: Remove --with-datarootdir, --with-docdir,
--with-pdfdir, --with-htmldir switches.
* configure: Regenerate.
gcc/:
* configure.ac: Remove --with-datarootdir, --with-docdir,
--with-htmldir switches. No need to call AC_SUBST for
datarootdir, docdir, htmldir any more.
* configure: Regenerate.
* doc/install.texi (Configuration): Document --datarootdir,
--docdir, --htmldir, --pdfdir; update documentation for
--infodir, --mandir.
(Prerequisites): Bump Autoconf version to 2.64, Automake to
1.11, M4 to 1.4.6.
libgfortran/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libjava/classpath/:
* doc/cp-hacking.texinfo (Needed Tools and Libraries): Bump
Autoconf version to 2.64, Automake to 1.11, M4 to 1.4.6.
libjava/:
* HACKING: Use aclocal-1.11 and autoconf-2.64 in example.
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libstdc++-v3/:
* doc/xml/manual/build_hacking.xml: Use tools from Autoconf
2.64 and Automake 1.11 in examples; update link to Autoconf
manual page about quadrigraphs.
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libssp/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
boehm-gc/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libmudflap/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
zlib/:
* Makefile.am (install-html, install-pdf, html): Remove.
* Makefile.in: Regenerate.
libffi/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libgomp/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
From-SVN: r151015
2009-08-22 15:41:50 +02:00
|
|
|
install-pdf: install-pdf-recursive
|
|
|
|
|
2012-12-29 17:25:27 +01:00
|
|
|
install-pdf-am: $(PDFS)
|
|
|
|
@$(NORMAL_INSTALL)
|
|
|
|
@list='$(PDFS)'; test -n "$(pdfdir)" || list=; \
|
2015-05-13 13:23:24 +02:00
|
|
|
if test -n "$$list"; then \
|
|
|
|
echo " $(MKDIR_P) '$(DESTDIR)$(pdfdir)'"; \
|
|
|
|
$(MKDIR_P) "$(DESTDIR)$(pdfdir)" || exit 1; \
|
|
|
|
fi; \
|
2012-12-29 17:25:27 +01:00
|
|
|
for p in $$list; do \
|
|
|
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
|
|
|
echo "$$d$$p"; \
|
|
|
|
done | $(am__base_list) | \
|
|
|
|
while read files; do \
|
|
|
|
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pdfdir)'"; \
|
|
|
|
$(INSTALL_DATA) $$files "$(DESTDIR)$(pdfdir)" || exit $$?; done
|
2009-08-22 15:22:20 +02:00
|
|
|
install-ps: install-ps-recursive
|
|
|
|
|
2012-12-29 17:25:27 +01:00
|
|
|
install-ps-am: $(PSS)
|
|
|
|
@$(NORMAL_INSTALL)
|
|
|
|
@list='$(PSS)'; test -n "$(psdir)" || list=; \
|
2015-05-13 13:23:24 +02:00
|
|
|
if test -n "$$list"; then \
|
|
|
|
echo " $(MKDIR_P) '$(DESTDIR)$(psdir)'"; \
|
|
|
|
$(MKDIR_P) "$(DESTDIR)$(psdir)" || exit 1; \
|
|
|
|
fi; \
|
2012-12-29 17:25:27 +01:00
|
|
|
for p in $$list; do \
|
|
|
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
|
|
|
echo "$$d$$p"; \
|
|
|
|
done | $(am__base_list) | \
|
|
|
|
while read files; do \
|
|
|
|
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(psdir)'"; \
|
|
|
|
$(INSTALL_DATA) $$files "$(DESTDIR)$(psdir)" || exit $$?; done
|
2004-03-11 20:59:49 +01:00
|
|
|
installcheck-am:
|
|
|
|
|
|
|
|
maintainer-clean: maintainer-clean-multi maintainer-clean-recursive
|
|
|
|
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
|
|
|
-rm -rf $(top_srcdir)/autom4te.cache
|
2015-01-12 17:19:59 +01:00
|
|
|
-rm -rf src/$(DEPDIR) src/aarch64/$(DEPDIR) src/alpha/$(DEPDIR) src/arc/$(DEPDIR) src/arm/$(DEPDIR) src/avr32/$(DEPDIR) src/bfin/$(DEPDIR) src/cris/$(DEPDIR) src/frv/$(DEPDIR) src/ia64/$(DEPDIR) src/m32r/$(DEPDIR) src/m68k/$(DEPDIR) src/m88k/$(DEPDIR) src/metag/$(DEPDIR) src/microblaze/$(DEPDIR) src/mips/$(DEPDIR) src/moxie/$(DEPDIR) src/nios2/$(DEPDIR) src/or1k/$(DEPDIR) src/pa/$(DEPDIR) src/powerpc/$(DEPDIR) src/s390/$(DEPDIR) src/sh/$(DEPDIR) src/sh64/$(DEPDIR) src/sparc/$(DEPDIR) src/tile/$(DEPDIR) src/vax/$(DEPDIR) src/x86/$(DEPDIR) src/xtensa/$(DEPDIR)
|
2004-03-11 20:59:49 +01:00
|
|
|
-rm -f Makefile
|
2012-12-29 17:25:27 +01:00
|
|
|
maintainer-clean-am: distclean-am maintainer-clean-aminfo \
|
|
|
|
maintainer-clean-generic maintainer-clean-vti
|
2004-03-11 20:59:49 +01:00
|
|
|
|
|
|
|
mostlyclean: mostlyclean-multi mostlyclean-recursive
|
|
|
|
|
2012-12-29 17:25:27 +01:00
|
|
|
mostlyclean-am: mostlyclean-aminfo mostlyclean-compile \
|
|
|
|
mostlyclean-generic mostlyclean-libtool mostlyclean-vti
|
2004-03-11 20:59:49 +01:00
|
|
|
|
|
|
|
pdf: pdf-recursive
|
|
|
|
|
2012-12-29 17:25:27 +01:00
|
|
|
pdf-am: $(PDFS)
|
2004-03-11 20:59:49 +01:00
|
|
|
|
|
|
|
ps: ps-recursive
|
|
|
|
|
2012-12-29 17:25:27 +01:00
|
|
|
ps-am: $(PSS)
|
2004-03-11 20:59:49 +01:00
|
|
|
|
2012-12-29 17:25:27 +01:00
|
|
|
uninstall-am: uninstall-dvi-am uninstall-html-am uninstall-info-am \
|
2015-01-12 17:19:59 +01:00
|
|
|
uninstall-pdf-am uninstall-pkgconfigDATA uninstall-ps-am \
|
2012-12-29 17:25:27 +01:00
|
|
|
uninstall-toolexeclibLTLIBRARIES
|
2009-08-22 15:22:20 +02:00
|
|
|
|
|
|
|
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all all-multi \
|
|
|
|
clean-multi ctags-recursive distclean-multi install-am \
|
|
|
|
install-multi install-strip maintainer-clean-multi \
|
|
|
|
mostlyclean-multi tags-recursive
|
|
|
|
|
|
|
|
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
|
2012-12-29 17:25:27 +01:00
|
|
|
all all-am all-local all-multi am--refresh check check-am \
|
|
|
|
clean clean-aminfo clean-generic clean-libtool clean-multi \
|
2009-08-22 15:22:20 +02:00
|
|
|
clean-noinstLTLIBRARIES clean-toolexeclibLTLIBRARIES ctags \
|
2014-04-24 23:17:32 +02:00
|
|
|
ctags-recursive dist-info distclean distclean-compile \
|
|
|
|
distclean-generic distclean-hdr distclean-libtool \
|
|
|
|
distclean-multi distclean-tags dvi dvi-am html html-am info \
|
|
|
|
info-am install install-am install-data install-data-am \
|
|
|
|
install-dvi install-dvi-am install-exec install-exec-am \
|
|
|
|
install-html install-html-am install-info install-info-am \
|
|
|
|
install-man install-multi install-pdf install-pdf-am \
|
2015-01-12 17:19:59 +01:00
|
|
|
install-pkgconfigDATA install-ps install-ps-am install-strip \
|
2009-08-22 15:22:20 +02:00
|
|
|
install-toolexeclibLTLIBRARIES installcheck installcheck-am \
|
|
|
|
installdirs installdirs-am maintainer-clean \
|
2012-12-29 17:25:27 +01:00
|
|
|
maintainer-clean-aminfo maintainer-clean-generic \
|
|
|
|
maintainer-clean-multi maintainer-clean-vti mostlyclean \
|
|
|
|
mostlyclean-aminfo mostlyclean-compile mostlyclean-generic \
|
|
|
|
mostlyclean-libtool mostlyclean-multi mostlyclean-vti pdf \
|
|
|
|
pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
|
|
|
|
uninstall-dvi-am uninstall-html-am uninstall-info-am \
|
2015-01-12 17:19:59 +01:00
|
|
|
uninstall-pdf-am uninstall-pkgconfigDATA uninstall-ps-am \
|
2012-12-29 17:25:27 +01:00
|
|
|
uninstall-toolexeclibLTLIBRARIES
|
|
|
|
|
|
|
|
|
|
|
|
all-local: $(STAMP_GENINSRC)
|
|
|
|
|
|
|
|
stamp-geninsrc: doc/libffi.info
|
|
|
|
cp -p $(top_builddir)/doc/libffi.info $(srcdir)/doc/libffi.info
|
|
|
|
@touch $@
|
|
|
|
|
|
|
|
doc/libffi.info: $(STAMP_BUILD_INFO)
|
[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
|
|
|
|
2012-12-29 17:25:27 +01:00
|
|
|
stamp-build-info: doc/libffi.texi $(srcdir)/doc/version.texi doc/$(am__dirstamp)
|
|
|
|
$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)/doc -o doc/libffi.info $(srcdir)/doc/libffi.texi
|
|
|
|
@touch $@
|
2016-03-03 02:40:29 +01:00
|
|
|
@LIBAT_BUILD_VERSIONED_SHLIB_SUN_TRUE@@LIBAT_BUILD_VERSIONED_SHLIB_TRUE@libffi.map-sun : libffi.map $(top_srcdir)/../contrib/make_sunver.pl \
|
2016-03-03 00:28:11 +01:00
|
|
|
@LIBAT_BUILD_VERSIONED_SHLIB_SUN_TRUE@@LIBAT_BUILD_VERSIONED_SHLIB_TRUE@ $(libffi_la_OBJECTS) $(libffi_la_LIBADD)
|
2016-03-03 11:30:25 +01:00
|
|
|
@LIBAT_BUILD_VERSIONED_SHLIB_SUN_TRUE@@LIBAT_BUILD_VERSIONED_SHLIB_TRUE@ perl $(top_srcdir)/../contrib/make_sunver.pl libffi.map \
|
2016-03-03 14:40:30 +01:00
|
|
|
@LIBAT_BUILD_VERSIONED_SHLIB_SUN_TRUE@@LIBAT_BUILD_VERSIONED_SHLIB_TRUE@ `echo $(libffi_la_OBJECTS) $(libffi_la_LIBADD) | \
|
2016-03-03 11:30:25 +01:00
|
|
|
@LIBAT_BUILD_VERSIONED_SHLIB_SUN_TRUE@@LIBAT_BUILD_VERSIONED_SHLIB_TRUE@ sed 's,\([^/ ]*\)\.l\([ao]\),.libs/\1.\2,g'` \
|
|
|
|
@LIBAT_BUILD_VERSIONED_SHLIB_SUN_TRUE@@LIBAT_BUILD_VERSIONED_SHLIB_TRUE@ > $@ || (rm -f $@ ; exit 1)
|
2006-05-24 03:45:57 +02:00
|
|
|
|
2016-03-03 02:40:29 +01:00
|
|
|
libffi.map: $(top_srcdir)/libffi.map.in
|
|
|
|
$(COMPILE) -D$(TARGET) -E -x assembler-with-cpp -o $@ $<
|
|
|
|
|
2007-01-18 08:17:57 +01:00
|
|
|
# Multilib support. Automake should provide these on its own.
|
|
|
|
all-recursive: all-multi
|
|
|
|
install-recursive: install-multi
|
|
|
|
mostlyclean-recursive: mostlyclean-multi
|
|
|
|
clean-recursive: clean-multi
|
|
|
|
distclean-recursive: distclean-multi
|
|
|
|
maintainer-clean-recursive: maintainer-clean-multi
|
2009-08-22 15:22:20 +02:00
|
|
|
|
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:
|