* gcc.dg/20020926-1.c: New test.
[official-gcc.git] / libffi / Makefile.in
blob37adbf795a406d0687b6602d00bc100da72d131d
1 # Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
3 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
14 SHELL = @SHELL@
16 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
34 DESTDIR =
36 pkgdatadir = $(datadir)/@PACKAGE@
37 pkglibdir = $(libdir)/@PACKAGE@
38 pkgincludedir = $(includedir)/@PACKAGE@
40 top_builddir = .
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
47 INSTALL = @INSTALL@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
53 NORMAL_INSTALL = :
54 PRE_INSTALL = :
55 POST_INSTALL = :
56 NORMAL_UNINSTALL = :
57 PRE_UNINSTALL = :
58 POST_UNINSTALL = :
59 host_alias = @host_alias@
60 host_triplet = @host@
61 AS = @AS@
62 CC = @CC@
63 CXX = @CXX@
64 CXXCPP = @CXXCPP@
65 DLLTOOL = @DLLTOOL@
66 EXEEXT = @EXEEXT@
67 GCJ = @GCJ@
68 GCJFLAGS = @GCJFLAGS@
69 LIBTOOL = @LIBTOOL@
70 LN_S = @LN_S@
71 MAINT = @MAINT@
72 MAKEINFO = @MAKEINFO@
73 OBJDUMP = @OBJDUMP@
74 OBJEXT = @OBJEXT@
75 PACKAGE = @PACKAGE@
76 RANLIB = @RANLIB@
77 SHELL = @SHELL@
78 STRIP = @STRIP@
79 TARGET = @TARGET@
80 TARGETDIR = @TARGETDIR@
81 VERSION = @VERSION@
82 libffi_basedir = @libffi_basedir@
84 AUTOMAKE_OPTIONS = cygnus
86 SUBDIRS = include
88 EXTRA_DIST = LICENSE ChangeLog.v1 src/mips/ffi.c src/mips/n32.S \
89 src/mips/n32.s src/mips/o32.S src/mips/o32.s \
90 src/sparc/ffi.c src/sparc/v8.S src/sparc/v9.S \
91 src/x86/ffi.c src/x86/sysv.S src/x86/win32.S \
92 src/x86/ffi64.c src/x86/unix64.S \
93 src/alpha/ffi.c src/alpha/osf.S \
94 src/m68k/ffi.c src/m68k/sysv.S \
95 src/powerpc/ffi.c src/powerpc/sysv.S \
96 src/powerpc/ppc_closure.S src/powerpc/asm.h \
97 src/powerpc/ffi_darwin.c \
98 src/powerpc/darwin.S src/powerpc/aix.S \
99 src/powerpc/darwin_closure.S src/powerpc/aix_closures.S \
100 src/arm/ffi.c src/arm/sysv.S \
101 src/s390/ffi.c src/s390/sysv.S \
102 src/sh/ffi.c src/sh/sysv.S
105 VPATH = @srcdir@:@srcdir@/src:@srcdir@/src/@TARGETDIR@
107 # Work around what appears to be a GNU make bug handling MAKEFLAGS
108 # values defined in terms of make variables, as is the case for CC and
109 # friends when we are called from the top level Makefile.
110 AM_MAKEFLAGS = \
111 "AR_FLAGS=$(AR_FLAGS)" \
112 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
113 "CFLAGS=$(CFLAGS)" \
114 "CXXFLAGS=$(CXXFLAGS)" \
115 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
116 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
117 "INSTALL=$(INSTALL)" \
118 "INSTALL_DATA=$(INSTALL_DATA)" \
119 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
120 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
121 "JC1FLAGS=$(JC1FLAGS)" \
122 "LDFLAGS=$(LDFLAGS)" \
123 "LIBCFLAGS=$(LIBCFLAGS)" \
124 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
125 "MAKE=$(MAKE)" \
126 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
127 "PICFLAG=$(PICFLAG)" \
128 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
129 "SHELL=$(SHELL)" \
130 "exec_prefix=$(exec_prefix)" \
131 "infodir=$(infodir)" \
132 "libdir=$(libdir)" \
133 "prefix=$(prefix)" \
134 "AR=$(AR)" \
135 "AS=$(AS)" \
136 "CC=$(CC)" \
137 "CXX=$(CXX)" \
138 "LD=$(LD)" \
139 "LIBCFLAGS=$(LIBCFLAGS)" \
140 "NM=$(NM)" \
141 "PICFLAG=$(PICFLAG)" \
142 "RANLIB=$(RANLIB)" \
143 "DESTDIR=$(DESTDIR)"
146 MAKEOVERRIDES =
148 # Multilib support variables.
149 MULTISRCTOP =
150 MULTIBUILDTOP =
151 MULTIDIRS =
152 MULTISUBDIR =
153 MULTIDO = true
154 MULTICLEAN = true
155 @USE_LIBDIR_TRUE@toolexeclibdir = @USE_LIBDIR_TRUE@$(libdir)$(MULTISUBDIR)
156 @USE_LIBDIR_FALSE@toolexeclibdir = @USE_LIBDIR_FALSE@$(toolexecdir)/lib$(MULTISUBDIR)
157 @USE_LIBDIR_FALSE@toolexecdir = @USE_LIBDIR_FALSE@$(exec_prefix)/$(target_alias)
159 toolexeclib_LTLIBRARIES = libffi.la
160 noinst_LTLIBRARIES = libffi_convenience.la
162 noinst_PROGRAMS = ffitest
164 ffitest_OBJECTS = ffitest.lo
165 ffitest_LDADD = libffi.la
166 ffitest_LDFLAGS = -shared-libgcc
168 TARGET_SRC_MIPS_GCC = src/mips/ffi.c src/mips/o32.S src/mips/n32.S
169 TARGET_SRC_MIPS_LINUX = src/mips/ffi.c src/mips/o32.S
170 TARGET_SRC_MIPS_SGI = src/mips/ffi.c src/mips/o32.s src/mips/n32.s
171 TARGET_SRC_X86 = src/x86/ffi.c src/x86/sysv.S
172 TARGET_SRC_X86_WIN32 = src/x86/ffi.c src/x86/win32.S
173 TARGET_SRC_SPARC = src/sparc/ffi.c src/sparc/v8.S src/sparc/v9.S
174 TARGET_SRC_ALPHA = src/alpha/ffi.c src/alpha/osf.S
175 TARGET_SRC_IA64 = src/ia64/ffi.c src/ia64/unix.S
176 TARGET_SRC_M68K = src/m68k/ffi.c src/m68k/sysv.S
177 TARGET_SRC_POWERPC = src/powerpc/ffi.c src/powerpc/sysv.S src/powerpc/ppc_closure.S
178 TARGET_SRC_POWERPC_AIX = src/powerpc/ffi_darwin.c src/powerpc/aix.S src/powerpc/aix_closures.S
179 TARGET_SRC_POWERPC_DARWIN = src/powerpc/ffi_darwin.c src/powerpc/darwin.S src/powerpc/darwin_closure.S
180 TARGET_SRC_ARM = src/arm/sysv.S src/arm/ffi.c
181 TARGET_SRC_S390 = src/s390/sysv.S src/s390/ffi.c
182 TARGET_SRC_X86_64 = src/x86/ffi64.c src/x86/unix64.S src/x86/ffi.c src/x86/sysv.S
183 TARGET_SRC_SH = src/sh/sysv.S src/sh/ffi.c
185 libffi_la_common_SOURCES = src/debug.c src/prep_cif.c src/types.c \
186 src/raw_api.c src/java_raw_api.c
188 @MIPS_GCC_TRUE@libffi_la_SOURCES = @MIPS_GCC_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_MIPS_GCC)
189 @MIPS_LINUX_TRUE@libffi_la_SOURCES = @MIPS_LINUX_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_MIPS_LINUX)
190 @MIPS_SGI_TRUE@libffi_la_SOURCES = @MIPS_SGI_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_MIPS_SGI)
191 @X86_TRUE@libffi_la_SOURCES = @X86_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_X86)
192 @X86_WIN32_TRUE@libffi_la_SOURCES = @X86_WIN32_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_X86_WIN32)
193 @SPARC_TRUE@libffi_la_SOURCES = @SPARC_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_SPARC)
194 @ALPHA_TRUE@libffi_la_SOURCES = @ALPHA_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_ALPHA)
195 @IA64_TRUE@libffi_la_SOURCES = @IA64_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_IA64)
196 @M68K_TRUE@libffi_la_SOURCES = @M68K_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_M68K)
197 @POWERPC_TRUE@libffi_la_SOURCES = @POWERPC_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_POWERPC)
198 @POWERPC_AIX_TRUE@libffi_la_SOURCES = @POWERPC_AIX_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_POWERPC_AIX)
199 @POWERPC_DARWIN_TRUE@libffi_la_SOURCES = @POWERPC_DARWIN_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_POWERPC_DARWIN)
200 @ARM_TRUE@libffi_la_SOURCES = @ARM_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_ARM)
201 @S390_TRUE@libffi_la_SOURCES = @S390_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_S390)
202 @X86_64_TRUE@libffi_la_SOURCES = @X86_64_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_X86_64)
203 @SH_TRUE@libffi_la_SOURCES = @SH_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_SH)
204 @MIPS_GCC_TRUE@libffi_convenience_la_SOURCES = @MIPS_GCC_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_MIPS_GCC)
205 @MIPS_LINUX_TRUE@libffi_convenience_la_SOURCES = @MIPS_LINUX_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_MIPS_LINUX)
206 @MIPS_SGI_TRUE@libffi_convenience_la_SOURCES = @MIPS_SGI_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_MIPS_SGI)
207 @X86_TRUE@libffi_convenience_la_SOURCES = @X86_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_X86)
208 @X86_WIN32_TRUE@libffi_convenience_la_SOURCES = @X86_WIN32_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_X86_WIN32)
209 @SPARC_TRUE@libffi_convenience_la_SOURCES = @SPARC_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_SPARC)
210 @ALPHA_TRUE@libffi_convenience_la_SOURCES = @ALPHA_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_ALPHA)
211 @IA64_TRUE@libffi_convenience_la_SOURCES = @IA64_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_IA64)
212 @M68K_TRUE@libffi_convenience_la_SOURCES = @M68K_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_M68K)
213 @POWERPC_TRUE@libffi_convenience_la_SOURCES = @POWERPC_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_POWERPC)
214 @POWERPC_AIX_TRUE@libffi_convenience_la_SOURCES = @POWERPC_AIX_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_POWERPC_AIX)
215 @POWERPC_DARWIN_TRUE@libffi_convenience_la_SOURCES = @POWERPC_DARWIN_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_POWERPC_DARWIN)
216 @ARM_TRUE@libffi_convenience_la_SOURCES = @ARM_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_ARM)
217 @S390_TRUE@libffi_convenience_la_SOURCES = @S390_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_S390)
218 @X86_64_TRUE@libffi_convenience_la_SOURCES = @X86_64_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_X86_64)
219 @SH_TRUE@libffi_convenience_la_SOURCES = @SH_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_SH)
221 AM_CFLAGS = -fexceptions
223 libffi_la_LDFLAGS = -release $(VERSION)
225 INCLUDES = -I$(top_srcdir)/include -Iinclude -I$(top_srcdir)/src
226 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
227 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
228 CONFIG_HEADER = fficonfig.h
229 CONFIG_CLEAN_FILES =
230 LTLIBRARIES = $(noinst_LTLIBRARIES) $(toolexeclib_LTLIBRARIES)
233 DEFS = @DEFS@ -I. -I$(srcdir) -I.
234 CPPFLAGS = @CPPFLAGS@
235 LDFLAGS = @LDFLAGS@
236 LIBS = @LIBS@
237 libffi_convenience_la_LDFLAGS =
238 libffi_convenience_la_LIBADD =
239 @MIPS_GCC_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo \
240 @MIPS_GCC_TRUE@src/prep_cif.lo src/types.lo src/raw_api.lo \
241 @MIPS_GCC_TRUE@src/java_raw_api.lo src/mips/ffi.lo src/mips/o32.lo \
242 @MIPS_GCC_TRUE@src/mips/n32.lo
243 @POWERPC_AIX_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo \
244 @POWERPC_AIX_TRUE@src/prep_cif.lo src/types.lo src/raw_api.lo \
245 @POWERPC_AIX_TRUE@src/java_raw_api.lo src/powerpc/ffi_darwin.lo \
246 @POWERPC_AIX_TRUE@src/powerpc/aix.lo src/powerpc/aix_closures.lo
247 @ALPHA_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo \
248 @ALPHA_TRUE@src/prep_cif.lo src/types.lo src/raw_api.lo \
249 @ALPHA_TRUE@src/java_raw_api.lo src/alpha/ffi.lo src/alpha/osf.lo
250 @IA64_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo src/prep_cif.lo \
251 @IA64_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
252 @IA64_TRUE@src/ia64/ffi.lo src/ia64/unix.lo
253 @POWERPC_DARWIN_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo \
254 @POWERPC_DARWIN_TRUE@src/prep_cif.lo src/types.lo src/raw_api.lo \
255 @POWERPC_DARWIN_TRUE@src/java_raw_api.lo src/powerpc/ffi_darwin.lo \
256 @POWERPC_DARWIN_TRUE@src/powerpc/darwin.lo \
257 @POWERPC_DARWIN_TRUE@src/powerpc/darwin_closure.lo
258 @MIPS_SGI_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo \
259 @MIPS_SGI_TRUE@src/prep_cif.lo src/types.lo src/raw_api.lo \
260 @MIPS_SGI_TRUE@src/java_raw_api.lo src/mips/ffi.lo src/mips/o32.lo \
261 @MIPS_SGI_TRUE@src/mips/n32.lo
262 @MIPS_LINUX_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo \
263 @MIPS_LINUX_TRUE@src/prep_cif.lo src/types.lo src/raw_api.lo \
264 @MIPS_LINUX_TRUE@src/java_raw_api.lo src/mips/ffi.lo src/mips/o32.lo
265 @S390_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo src/prep_cif.lo \
266 @S390_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
267 @S390_TRUE@src/s390/sysv.lo src/s390/ffi.lo
268 @SH_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo src/prep_cif.lo \
269 @SH_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
270 @SH_TRUE@src/sh/sysv.lo src/sh/ffi.lo
271 @X86_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo src/prep_cif.lo \
272 @X86_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
273 @X86_TRUE@src/x86/ffi.lo src/x86/sysv.lo
274 @X86_WIN32_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo \
275 @X86_WIN32_TRUE@src/prep_cif.lo src/types.lo src/raw_api.lo \
276 @X86_WIN32_TRUE@src/java_raw_api.lo src/x86/ffi.lo src/x86/win32.lo
277 @ARM_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo src/prep_cif.lo \
278 @ARM_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
279 @ARM_TRUE@src/arm/sysv.lo src/arm/ffi.lo
280 @POWERPC_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo \
281 @POWERPC_TRUE@src/prep_cif.lo src/types.lo src/raw_api.lo \
282 @POWERPC_TRUE@src/java_raw_api.lo src/powerpc/ffi.lo \
283 @POWERPC_TRUE@src/powerpc/sysv.lo src/powerpc/ppc_closure.lo
284 @SPARC_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo \
285 @SPARC_TRUE@src/prep_cif.lo src/types.lo src/raw_api.lo \
286 @SPARC_TRUE@src/java_raw_api.lo src/sparc/ffi.lo src/sparc/v8.lo \
287 @SPARC_TRUE@src/sparc/v9.lo
288 @M68K_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo src/prep_cif.lo \
289 @M68K_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
290 @M68K_TRUE@src/m68k/ffi.lo src/m68k/sysv.lo
291 libffi_la_LIBADD =
292 @MIPS_GCC_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
293 @MIPS_GCC_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
294 @MIPS_GCC_TRUE@src/mips/ffi.lo src/mips/o32.lo src/mips/n32.lo
295 @POWERPC_AIX_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
296 @POWERPC_AIX_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
297 @POWERPC_AIX_TRUE@src/powerpc/ffi_darwin.lo src/powerpc/aix.lo \
298 @POWERPC_AIX_TRUE@src/powerpc/aix_closures.lo
299 @ALPHA_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
300 @ALPHA_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
301 @ALPHA_TRUE@src/alpha/ffi.lo src/alpha/osf.lo
302 @IA64_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
303 @IA64_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
304 @IA64_TRUE@src/ia64/ffi.lo src/ia64/unix.lo
305 @POWERPC_DARWIN_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
306 @POWERPC_DARWIN_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
307 @POWERPC_DARWIN_TRUE@src/powerpc/ffi_darwin.lo src/powerpc/darwin.lo \
308 @POWERPC_DARWIN_TRUE@src/powerpc/darwin_closure.lo
309 @MIPS_SGI_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
310 @MIPS_SGI_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
311 @MIPS_SGI_TRUE@src/mips/ffi.lo src/mips/o32.lo src/mips/n32.lo
312 @MIPS_LINUX_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
313 @MIPS_LINUX_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
314 @MIPS_LINUX_TRUE@src/mips/ffi.lo src/mips/o32.lo
315 @S390_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
316 @S390_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
317 @S390_TRUE@src/s390/sysv.lo src/s390/ffi.lo
318 @X86_64_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo src/prep_cif.lo \
319 @X86_64_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
320 @X86_64_TRUE@src/x86/ffi.lo src/x86/sysv.lo src/x86/unix64.lo src/x86/ffi64.lo
321 @SH_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo src/types.lo \
322 @SH_TRUE@src/raw_api.lo src/java_raw_api.lo src/sh/sysv.lo src/sh/ffi.lo
323 @X86_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo src/types.lo \
324 @X86_TRUE@src/raw_api.lo src/java_raw_api.lo src/x86/ffi.lo \
325 @X86_TRUE@src/x86/sysv.lo
326 @X86_WIN32_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
327 @X86_WIN32_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
328 @X86_WIN32_TRUE@src/x86/ffi.lo src/x86/win32.lo
329 @ARM_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo src/types.lo \
330 @ARM_TRUE@src/raw_api.lo src/java_raw_api.lo src/arm/sysv.lo \
331 @ARM_TRUE@src/arm/ffi.lo
332 @POWERPC_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
333 @POWERPC_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
334 @POWERPC_TRUE@src/powerpc/ffi.lo src/powerpc/sysv.lo \
335 @POWERPC_TRUE@src/powerpc/ppc_closure.lo
336 @SPARC_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
337 @SPARC_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
338 @SPARC_TRUE@src/sparc/ffi.lo src/sparc/v8.lo src/sparc/v9.lo
339 @M68K_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
340 @M68K_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
341 @M68K_TRUE@src/m68k/ffi.lo src/m68k/sysv.lo
342 @X86_64_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo src/types.lo \
343 @X86_64_TRUE@src/raw_api.lo src/java_raw_api.lo src/x86/ffi.lo \
344 @X86_64_TRUE@src/x86/sysv.lo src/x86/unix64.lo src/x86/ffi64.lo
345 noinst_PROGRAMS = ffitest$(EXEEXT)
346 PROGRAMS = $(noinst_PROGRAMS)
348 ffitest_DEPENDENCIES = libffi.la
349 CFLAGS = @CFLAGS@
350 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
351 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
352 CCLD = $(CC)
353 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
354 DIST_COMMON = README ./stamp-h.in ChangeLog Makefile.am Makefile.in \
355 acconfig.h acinclude.m4 aclocal.m4 configure configure.in \
356 fficonfig.h.in
359 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
361 TAR = gtar
362 GZIP_ENV = --best
363 SOURCES = $(libffi_convenience_la_SOURCES) $(libffi_la_SOURCES)
364 OBJECTS = $(libffi_convenience_la_OBJECTS) $(libffi_la_OBJECTS)
366 all: all-redirect
367 .SUFFIXES:
368 .SUFFIXES: .S .c .lo .o .obj .s
369 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
370 cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
372 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
373 cd $(top_builddir) \
374 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
376 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
377 cd $(srcdir) && $(ACLOCAL)
379 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
380 $(SHELL) ./config.status --recheck
381 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
382 cd $(srcdir) && $(AUTOCONF)
384 fficonfig.h: stamp-h
385 @if test ! -f $@; then \
386 rm -f stamp-h; \
387 $(MAKE) stamp-h; \
388 else :; fi
389 stamp-h: $(srcdir)/fficonfig.h.in $(top_builddir)/config.status
390 cd $(top_builddir) \
391 && CONFIG_FILES= CONFIG_HEADERS=fficonfig.h \
392 $(SHELL) ./config.status
393 @echo timestamp > stamp-h 2> /dev/null
394 $(srcdir)/fficonfig.h.in: @MAINTAINER_MODE_TRUE@$(srcdir)/stamp-h.in
395 @if test ! -f $@; then \
396 rm -f $(srcdir)/stamp-h.in; \
397 $(MAKE) $(srcdir)/stamp-h.in; \
398 else :; fi
399 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
400 cd $(top_srcdir) && $(AUTOHEADER)
401 @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
403 mostlyclean-hdr:
405 clean-hdr:
407 distclean-hdr:
408 -rm -f fficonfig.h
410 maintainer-clean-hdr:
412 mostlyclean-noinstLTLIBRARIES:
414 clean-noinstLTLIBRARIES:
415 -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
417 distclean-noinstLTLIBRARIES:
419 maintainer-clean-noinstLTLIBRARIES:
421 mostlyclean-toolexeclibLTLIBRARIES:
423 clean-toolexeclibLTLIBRARIES:
424 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
426 distclean-toolexeclibLTLIBRARIES:
428 maintainer-clean-toolexeclibLTLIBRARIES:
430 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
431 @$(NORMAL_INSTALL)
432 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
433 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
434 if test -f $$p; then \
435 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
436 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
437 else :; fi; \
438 done
440 uninstall-toolexeclibLTLIBRARIES:
441 @$(NORMAL_UNINSTALL)
442 list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
443 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \
444 done
446 # FIXME: We should only use cygpath when building on Windows,
447 # and only if it is available.
448 .c.obj:
449 $(COMPILE) -c `cygpath -w $<`
451 mostlyclean-compile:
452 -rm -f *.o core *.core
453 -rm -f *.$(OBJEXT)
455 clean-compile:
457 distclean-compile:
458 -rm -f *.tab.c
460 maintainer-clean-compile:
462 mostlyclean-libtool:
463 -rm -f *.lo
465 clean-libtool:
466 -rm -rf .libs _libs
468 distclean-libtool:
470 maintainer-clean-libtool:
472 libffi_convenience.la: $(libffi_convenience_la_OBJECTS) $(libffi_convenience_la_DEPENDENCIES)
473 $(LINK) $(libffi_convenience_la_LDFLAGS) $(libffi_convenience_la_OBJECTS) $(libffi_convenience_la_LIBADD) $(LIBS)
475 libffi.la: $(libffi_la_OBJECTS) $(libffi_la_DEPENDENCIES)
476 $(LINK) -rpath $(toolexeclibdir) $(libffi_la_LDFLAGS) $(libffi_la_OBJECTS) $(libffi_la_LIBADD) $(LIBS)
478 mostlyclean-noinstPROGRAMS:
480 clean-noinstPROGRAMS:
481 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
483 distclean-noinstPROGRAMS:
485 maintainer-clean-noinstPROGRAMS:
487 ffitest$(EXEEXT): $(ffitest_OBJECTS) $(ffitest_DEPENDENCIES)
488 @rm -f ffitest$(EXEEXT)
489 $(LINK) $(ffitest_LDFLAGS) $(ffitest_OBJECTS) $(ffitest_LDADD) $(LIBS)
491 # This directory's subdirectories are mostly independent; you can cd
492 # into them and run `make' without going through this Makefile.
493 # To change the values of `make' variables: instead of editing Makefiles,
494 # (1) if the variable is set in `config.status', edit `config.status'
495 # (which will cause the Makefiles to be regenerated when you run `make');
496 # (2) otherwise, pass the desired values on the `make' command line.
498 @SET_MAKE@
500 all-recursive install-data-recursive install-exec-recursive \
501 installdirs-recursive install-recursive uninstall-recursive install-info-recursive \
502 check-recursive installcheck-recursive info-recursive dvi-recursive:
503 @set fnord $(MAKEFLAGS); amf=$$2; \
504 dot_seen=no; \
505 target=`echo $@ | sed s/-recursive//`; \
506 list='$(SUBDIRS)'; for subdir in $$list; do \
507 echo "Making $$target in $$subdir"; \
508 if test "$$subdir" = "."; then \
509 dot_seen=yes; \
510 local_target="$$target-am"; \
511 else \
512 local_target="$$target"; \
513 fi; \
514 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
515 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
516 done; \
517 if test "$$dot_seen" = "no"; then \
518 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
519 fi; test -z "$$fail"
521 mostlyclean-recursive clean-recursive distclean-recursive \
522 maintainer-clean-recursive:
523 @set fnord $(MAKEFLAGS); amf=$$2; \
524 dot_seen=no; \
525 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
526 rev="$$subdir $$rev"; \
527 test "$$subdir" != "." || dot_seen=yes; \
528 done; \
529 test "$$dot_seen" = "no" && rev=". $$rev"; \
530 target=`echo $@ | sed s/-recursive//`; \
531 for subdir in $$rev; do \
532 echo "Making $$target in $$subdir"; \
533 if test "$$subdir" = "."; then \
534 local_target="$$target-am"; \
535 else \
536 local_target="$$target"; \
537 fi; \
538 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
539 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
540 done && test -z "$$fail"
541 tags-recursive:
542 list='$(SUBDIRS)'; for subdir in $$list; do \
543 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
544 done
546 tags: TAGS
548 ID: $(HEADERS) $(SOURCES) $(LISP)
549 list='$(SOURCES) $(HEADERS)'; \
550 unique=`for i in $$list; do echo $$i; done | \
551 awk ' { files[$$0] = 1; } \
552 END { for (i in files) print i; }'`; \
553 here=`pwd` && cd $(srcdir) \
554 && mkid -f$$here/ID $$unique $(LISP)
556 TAGS: tags-recursive $(HEADERS) $(SOURCES) fficonfig.h.in $(TAGS_DEPENDENCIES) $(LISP)
557 tags=; \
558 here=`pwd`; \
559 list='$(SUBDIRS)'; for subdir in $$list; do \
560 if test "$$subdir" = .; then :; else \
561 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
562 fi; \
563 done; \
564 list='$(SOURCES) $(HEADERS)'; \
565 unique=`for i in $$list; do echo $$i; done | \
566 awk ' { files[$$0] = 1; } \
567 END { for (i in files) print i; }'`; \
568 test -z "$(ETAGS_ARGS)fficonfig.h.in$$unique$(LISP)$$tags" \
569 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags fficonfig.h.in $$unique $(LISP) -o $$here/TAGS)
571 mostlyclean-tags:
573 clean-tags:
575 distclean-tags:
576 -rm -f TAGS ID
578 maintainer-clean-tags:
580 distdir = $(PACKAGE)-$(VERSION)
581 top_distdir = $(distdir)
583 # This target untars the dist file and tries a VPATH configuration. Then
584 # it guarantees that the distribution is self-contained by making another
585 # tarfile.
586 distcheck: dist
587 -rm -rf $(distdir)
588 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
589 mkdir $(distdir)/=build
590 mkdir $(distdir)/=inst
591 dc_install_base=`cd $(distdir)/=inst && pwd`; \
592 cd $(distdir)/=build \
593 && ../configure --srcdir=.. --prefix=$$dc_install_base \
594 && $(MAKE) $(AM_MAKEFLAGS) \
595 && $(MAKE) $(AM_MAKEFLAGS) dvi \
596 && $(MAKE) $(AM_MAKEFLAGS) check \
597 && $(MAKE) $(AM_MAKEFLAGS) install \
598 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
599 && $(MAKE) $(AM_MAKEFLAGS) dist
600 -rm -rf $(distdir)
601 @banner="$(distdir).tar.gz is ready for distribution"; \
602 dashes=`echo "$$banner" | sed s/./=/g`; \
603 echo "$$dashes"; \
604 echo "$$banner"; \
605 echo "$$dashes"
606 dist: distdir
607 -chmod -R a+r $(distdir)
608 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
609 -rm -rf $(distdir)
610 dist-all: distdir
611 -chmod -R a+r $(distdir)
612 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
613 -rm -rf $(distdir)
614 distdir: $(DISTFILES)
615 -rm -rf $(distdir)
616 mkdir $(distdir)
617 -chmod 777 $(distdir)
618 $(mkinstalldirs) $(distdir)/src/alpha $(distdir)/src/arm \
619 $(distdir)/src/m68k $(distdir)/src/mips \
620 $(distdir)/src/powerpc $(distdir)/src/s390 \
621 $(distdir)/src/sparc $(distdir)/src/x86
622 @for file in $(DISTFILES); do \
623 if test -f $$file; then d=.; else d=$(srcdir); fi; \
624 if test -d $$d/$$file; then \
625 cp -pr $$d/$$file $(distdir)/$$file; \
626 else \
627 test -f $(distdir)/$$file \
628 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
629 || cp -p $$d/$$file $(distdir)/$$file || :; \
630 fi; \
631 done
632 for subdir in $(SUBDIRS); do \
633 if test "$$subdir" = .; then :; else \
634 test -d $(distdir)/$$subdir \
635 || mkdir $(distdir)/$$subdir \
636 || exit 1; \
637 chmod 777 $(distdir)/$$subdir; \
638 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
639 || exit 1; \
640 fi; \
641 done
642 info-am:
643 info: info-recursive
644 dvi-am:
645 dvi: dvi-recursive
646 check-am:
647 check: check-recursive
648 installcheck-am:
649 installcheck: installcheck-recursive
650 install-info-am:
651 install-info: install-info-recursive
652 all-recursive-am: fficonfig.h
653 $(MAKE) $(AM_MAKEFLAGS) all-recursive
655 install-exec-am: install-toolexeclibLTLIBRARIES
656 install-exec: install-exec-recursive
658 install-data-am:
659 install-data: install-data-recursive
661 install-am: all-am
662 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
663 install: install-recursive
664 uninstall-am: uninstall-toolexeclibLTLIBRARIES
665 uninstall: uninstall-recursive
666 all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) fficonfig.h
667 all-redirect: all-recursive-am
668 install-strip:
669 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
670 installdirs: installdirs-recursive
671 installdirs-am:
672 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
675 mostlyclean-generic:
677 clean-generic:
679 distclean-generic:
680 -rm -f Makefile $(CONFIG_CLEAN_FILES)
681 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
683 maintainer-clean-generic:
684 mostlyclean-am: mostlyclean-hdr mostlyclean-noinstLTLIBRARIES \
685 mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \
686 mostlyclean-libtool mostlyclean-noinstPROGRAMS \
687 mostlyclean-tags mostlyclean-generic
689 mostlyclean: mostlyclean-recursive
691 clean-am: clean-hdr clean-noinstLTLIBRARIES \
692 clean-toolexeclibLTLIBRARIES clean-compile \
693 clean-libtool clean-noinstPROGRAMS clean-tags \
694 clean-generic mostlyclean-am
696 clean: clean-recursive
698 distclean-am: distclean-hdr distclean-noinstLTLIBRARIES \
699 distclean-toolexeclibLTLIBRARIES distclean-compile \
700 distclean-libtool distclean-noinstPROGRAMS \
701 distclean-tags distclean-generic clean-am
702 -rm -f libtool
704 distclean: distclean-recursive
705 -rm -f config.status
707 maintainer-clean-am: maintainer-clean-hdr \
708 maintainer-clean-noinstLTLIBRARIES \
709 maintainer-clean-toolexeclibLTLIBRARIES \
710 maintainer-clean-compile maintainer-clean-libtool \
711 maintainer-clean-noinstPROGRAMS maintainer-clean-tags \
712 maintainer-clean-generic distclean-am
713 @echo "This command is intended for maintainers to use;"
714 @echo "it deletes files that may require special tools to rebuild."
716 maintainer-clean: maintainer-clean-recursive
717 -rm -f config.status
719 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
720 mostlyclean-noinstLTLIBRARIES distclean-noinstLTLIBRARIES \
721 clean-noinstLTLIBRARIES maintainer-clean-noinstLTLIBRARIES \
722 mostlyclean-toolexeclibLTLIBRARIES distclean-toolexeclibLTLIBRARIES \
723 clean-toolexeclibLTLIBRARIES maintainer-clean-toolexeclibLTLIBRARIES \
724 uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \
725 mostlyclean-compile distclean-compile clean-compile \
726 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
727 clean-libtool maintainer-clean-libtool mostlyclean-noinstPROGRAMS \
728 distclean-noinstPROGRAMS clean-noinstPROGRAMS \
729 maintainer-clean-noinstPROGRAMS install-data-recursive \
730 uninstall-data-recursive install-exec-recursive \
731 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
732 all-recursive check-recursive installcheck-recursive info-recursive \
733 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
734 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
735 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
736 dvi-am dvi check check-am installcheck-am installcheck install-info-am \
737 install-info all-recursive-am install-exec-am install-exec \
738 install-data-am install-data install-am install uninstall-am uninstall \
739 all-redirect all-am all installdirs-am installdirs mostlyclean-generic \
740 distclean-generic clean-generic maintainer-clean-generic clean \
741 mostlyclean distclean maintainer-clean
744 # Override these rules so that object files get put in the correct
745 # subdirectories.
746 .c.o:
747 $(LTCOMPILE) -c -o $@ $<
749 .s.o:
750 $(LTCOMPILE) -c -o $@ $<
752 .S.o:
753 $(LTCOMPILE) -c -o $@ $<
755 .c.lo:
756 $(LTCOMPILE) -c -o $@ $<
758 .s.lo:
759 $(LTCOMPILE) -c -o $@ $<
761 .S.lo:
762 $(LTCOMPILE) -c -o $@ $<
764 # Multilib support.
765 .PHONY: all-multi mostlyclean-multi clean-multi distclean-multi \
766 maintainer-clean-multi
768 all-recursive: all-multi
769 install-recursive: install-multi
770 mostlyclean-recursive: mostlyclean-multi
771 clean-recursive: clean-multi
772 distclean-recursive: distclean-multi
773 maintainer-clean-recursive: maintainer-clean-multi
775 all-multi:
776 : $(MAKE) ; exec $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
777 install-multi:
778 $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
779 mostlyclean-multi:
780 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean
781 clean-multi:
782 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean
783 distclean-multi:
784 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean
785 maintainer-clean-multi:
786 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean
788 # Tell versions [3.59,3.63) of GNU make to not export all variables.
789 # Otherwise a system limit (for SysV at least) may be exceeded.
790 .NOEXPORT: