]> git.ipfire.org Git - thirdparty/gcc.git/blob - libffi/Makefile.in
configure.in (powerpc64*-*-linux*): Remove.
[thirdparty/gcc.git] / libffi / Makefile.in
1 # Makefile.in generated automatically by automake 1.4 from Makefile.am
2
3 # Copyright (C) 1994, 1995-8, 1999 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.
7
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.
12
13
14 SHELL = @SHELL@
15
16 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
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
33
34 DESTDIR =
35
36 pkgdatadir = $(datadir)/@PACKAGE@
37 pkglibdir = $(libdir)/@PACKAGE@
38 pkgincludedir = $(includedir)/@PACKAGE@
39
40 top_builddir = .
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
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@
52
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@
83 toolexecdir = @toolexecdir@
84 toolexeclibdir = @toolexeclibdir@
85
86 AUTOMAKE_OPTIONS = cygnus
87
88 SUBDIRS = include
89
90 EXTRA_DIST = LICENSE ChangeLog.v1 src/mips/ffi.c src/mips/n32.S \
91 src/mips/n32.s src/mips/o32.S src/mips/o32.s \
92 src/sparc/ffi.c src/sparc/v8.S src/sparc/v9.S \
93 src/x86/ffi.c src/x86/sysv.S src/x86/win32.S \
94 src/x86/ffi64.c src/x86/unix64.S \
95 src/alpha/ffi.c src/alpha/osf.S \
96 src/m68k/ffi.c src/m68k/sysv.S \
97 src/powerpc/ffi.c src/powerpc/sysv.S \
98 src/powerpc/linux64.S src/powerpc/linux64_closure.S \
99 src/powerpc/ppc_closure.S src/powerpc/asm.h \
100 src/powerpc/ffi_darwin.c \
101 src/powerpc/darwin.S src/powerpc/aix.S \
102 src/powerpc/darwin_closure.S src/powerpc/aix_closure.S \
103 src/arm/ffi.c src/arm/sysv.S \
104 src/s390/ffi.c src/s390/sysv.S \
105 src/sh/ffi.c src/sh/sysv.S
106
107
108 VPATH = @srcdir@:@srcdir@/src:@srcdir@/src/@TARGETDIR@
109
110 # Work around what appears to be a GNU make bug handling MAKEFLAGS
111 # values defined in terms of make variables, as is the case for CC and
112 # friends when we are called from the top level Makefile.
113 AM_MAKEFLAGS = \
114 "AR_FLAGS=$(AR_FLAGS)" \
115 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
116 "CFLAGS=$(CFLAGS)" \
117 "CXXFLAGS=$(CXXFLAGS)" \
118 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
119 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
120 "INSTALL=$(INSTALL)" \
121 "INSTALL_DATA=$(INSTALL_DATA)" \
122 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
123 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
124 "JC1FLAGS=$(JC1FLAGS)" \
125 "LDFLAGS=$(LDFLAGS)" \
126 "LIBCFLAGS=$(LIBCFLAGS)" \
127 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
128 "MAKE=$(MAKE)" \
129 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
130 "PICFLAG=$(PICFLAG)" \
131 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
132 "SHELL=$(SHELL)" \
133 "exec_prefix=$(exec_prefix)" \
134 "infodir=$(infodir)" \
135 "libdir=$(libdir)" \
136 "prefix=$(prefix)" \
137 "AR=$(AR)" \
138 "AS=$(AS)" \
139 "CC=$(CC)" \
140 "CXX=$(CXX)" \
141 "LD=$(LD)" \
142 "LIBCFLAGS=$(LIBCFLAGS)" \
143 "NM=$(NM)" \
144 "PICFLAG=$(PICFLAG)" \
145 "RANLIB=$(RANLIB)" \
146 "DESTDIR=$(DESTDIR)"
147
148
149 MAKEOVERRIDES =
150
151 # Multilib support variables.
152 MULTISRCTOP =
153 MULTIBUILDTOP =
154 MULTIDIRS =
155 MULTISUBDIR =
156 MULTIDO = true
157 MULTICLEAN = true
158
159 toolexeclib_LTLIBRARIES = libffi.la
160 noinst_LTLIBRARIES = libffi_convenience.la
161
162 noinst_PROGRAMS = ffitest
163
164 ffitest_OBJECTS = ffitest.lo
165 ffitest_LDADD = libffi.la
166 ffitest_LDFLAGS = -shared-libgcc
167
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 src/powerpc/linux64.S src/powerpc/linux64_closure.S
178 TARGET_SRC_POWERPC_AIX = src/powerpc/ffi_darwin.c src/powerpc/aix.S src/powerpc/aix_closure.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
184
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
187
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@libfficonvenience_la_SOURCES = @SH_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_SH)
220
221 AM_CFLAGS = -fexceptions
222
223 libffi_la_LDFLAGS = -release $(VERSION)
224
225 INCLUDES = -I$(top_srcdir)/include -Iinclude -I$(top_srcdir)/src
226 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
227 mkinstalldirs = $(SHELL) $(top_srcdir)/${libffi_basedir}/../mkinstalldirs
228 CONFIG_HEADER = fficonfig.h
229 CONFIG_CLEAN_FILES =
230 LTLIBRARIES = $(noinst_LTLIBRARIES) $(toolexeclib_LTLIBRARIES)
231
232
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 @ALPHA_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo \
240 @ALPHA_TRUE@src/prep_cif.lo src/types.lo src/raw_api.lo \
241 @ALPHA_TRUE@src/java_raw_api.lo src/alpha/ffi.lo src/alpha/osf.lo
242 @IA64_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo src/prep_cif.lo \
243 @IA64_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
244 @IA64_TRUE@src/ia64/ffi.lo src/ia64/unix.lo
245 @MIPS_GCC_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo \
246 @MIPS_GCC_TRUE@src/prep_cif.lo src/types.lo src/raw_api.lo \
247 @MIPS_GCC_TRUE@src/java_raw_api.lo src/mips/ffi.lo src/mips/o32.lo \
248 @MIPS_GCC_TRUE@src/mips/n32.lo
249 @S390_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo src/prep_cif.lo \
250 @S390_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
251 @S390_TRUE@src/s390/sysv.lo src/s390/ffi.lo
252 @M68K_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo src/prep_cif.lo \
253 @M68K_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
254 @M68K_TRUE@src/m68k/ffi.lo src/m68k/sysv.lo
255 @X86_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo src/prep_cif.lo \
256 @X86_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
257 @X86_TRUE@src/x86/ffi.lo src/x86/sysv.lo
258 @POWERPC_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo \
259 @POWERPC_TRUE@src/prep_cif.lo src/types.lo src/raw_api.lo \
260 @POWERPC_TRUE@src/java_raw_api.lo src/powerpc/ffi.lo \
261 @POWERPC_TRUE@src/powerpc/sysv.lo src/powerpc/ppc_closure.lo \
262 @POWERPC_TRUE@src/powerpc/linux64.lo src/powerpc/linux64_closure.lo
263 @MIPS_LINUX_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo \
264 @MIPS_LINUX_TRUE@src/prep_cif.lo src/types.lo src/raw_api.lo \
265 @MIPS_LINUX_TRUE@src/java_raw_api.lo src/mips/ffi.lo src/mips/o32.lo
266 @X86_WIN32_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo \
267 @X86_WIN32_TRUE@src/prep_cif.lo src/types.lo src/raw_api.lo \
268 @X86_WIN32_TRUE@src/java_raw_api.lo src/x86/ffi.lo src/x86/win32.lo
269 @X86_64_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo \
270 @X86_64_TRUE@src/prep_cif.lo src/types.lo src/raw_api.lo \
271 @X86_64_TRUE@src/java_raw_api.lo src/x86/ffi64.lo src/x86/unix64.lo \
272 @X86_64_TRUE@src/x86/ffi.lo src/x86/sysv.lo
273 @SPARC_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo \
274 @SPARC_TRUE@src/prep_cif.lo src/types.lo src/raw_api.lo \
275 @SPARC_TRUE@src/java_raw_api.lo src/sparc/ffi.lo src/sparc/v8.lo \
276 @SPARC_TRUE@src/sparc/v9.lo
277 @POWERPC_AIX_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo \
278 @POWERPC_AIX_TRUE@src/prep_cif.lo src/types.lo src/raw_api.lo \
279 @POWERPC_AIX_TRUE@src/java_raw_api.lo src/powerpc/ffi_darwin.lo \
280 @POWERPC_AIX_TRUE@src/powerpc/aix.lo src/powerpc/aix_closure.lo
281 @MIPS_SGI_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo \
282 @MIPS_SGI_TRUE@src/prep_cif.lo src/types.lo src/raw_api.lo \
283 @MIPS_SGI_TRUE@src/java_raw_api.lo src/mips/ffi.lo src/mips/o32.lo \
284 @MIPS_SGI_TRUE@src/mips/n32.lo
285 @POWERPC_DARWIN_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo \
286 @POWERPC_DARWIN_TRUE@src/prep_cif.lo src/types.lo src/raw_api.lo \
287 @POWERPC_DARWIN_TRUE@src/java_raw_api.lo src/powerpc/ffi_darwin.lo \
288 @POWERPC_DARWIN_TRUE@src/powerpc/darwin.lo \
289 @POWERPC_DARWIN_TRUE@src/powerpc/darwin_closure.lo
290 @ARM_TRUE@libffi_convenience_la_OBJECTS = src/debug.lo src/prep_cif.lo \
291 @ARM_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
292 @ARM_TRUE@src/arm/sysv.lo src/arm/ffi.lo
293 libffi_la_LIBADD =
294 @SH_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo src/types.lo \
295 @SH_TRUE@src/raw_api.lo src/java_raw_api.lo src/sh/sysv.lo \
296 @SH_TRUE@src/sh/ffi.lo
297 @IA64_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
298 @IA64_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
299 @IA64_TRUE@src/ia64/ffi.lo src/ia64/unix.lo
300 @X86_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo src/types.lo \
301 @X86_TRUE@src/raw_api.lo src/java_raw_api.lo src/x86/ffi.lo \
302 @X86_TRUE@src/x86/sysv.lo
303 @POWERPC_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
304 @POWERPC_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
305 @POWERPC_TRUE@src/powerpc/ffi.lo src/powerpc/sysv.lo \
306 @POWERPC_TRUE@src/powerpc/ppc_closure.lo src/powerpc/linux64.lo \
307 @POWERPC_TRUE@src/powerpc/linux64_closure.lo
308 @MIPS_LINUX_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
309 @MIPS_LINUX_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
310 @MIPS_LINUX_TRUE@src/mips/ffi.lo src/mips/o32.lo
311 @SPARC_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
312 @SPARC_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
313 @SPARC_TRUE@src/sparc/ffi.lo src/sparc/v8.lo src/sparc/v9.lo
314 @POWERPC_AIX_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
315 @POWERPC_AIX_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
316 @POWERPC_AIX_TRUE@src/powerpc/ffi_darwin.lo src/powerpc/aix.lo \
317 @POWERPC_AIX_TRUE@src/powerpc/aix_closure.lo
318 @MIPS_SGI_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
319 @MIPS_SGI_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
320 @MIPS_SGI_TRUE@src/mips/ffi.lo src/mips/o32.lo src/mips/n32.lo
321 @ARM_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo src/types.lo \
322 @ARM_TRUE@src/raw_api.lo src/java_raw_api.lo src/arm/sysv.lo \
323 @ARM_TRUE@src/arm/ffi.lo
324 @ALPHA_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
325 @ALPHA_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
326 @ALPHA_TRUE@src/alpha/ffi.lo src/alpha/osf.lo
327 @MIPS_GCC_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
328 @MIPS_GCC_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
329 @MIPS_GCC_TRUE@src/mips/ffi.lo src/mips/o32.lo src/mips/n32.lo
330 @S390_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
331 @S390_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
332 @S390_TRUE@src/s390/sysv.lo src/s390/ffi.lo
333 @M68K_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
334 @M68K_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
335 @M68K_TRUE@src/m68k/ffi.lo src/m68k/sysv.lo
336 @X86_WIN32_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
337 @X86_WIN32_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
338 @X86_WIN32_TRUE@src/x86/ffi.lo src/x86/win32.lo
339 @X86_64_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
340 @X86_64_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
341 @X86_64_TRUE@src/x86/ffi64.lo src/x86/unix64.lo src/x86/ffi.lo \
342 @X86_64_TRUE@src/x86/sysv.lo
343 @POWERPC_DARWIN_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
344 @POWERPC_DARWIN_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
345 @POWERPC_DARWIN_TRUE@src/powerpc/ffi_darwin.lo src/powerpc/darwin.lo \
346 @POWERPC_DARWIN_TRUE@src/powerpc/darwin_closure.lo
347 noinst_PROGRAMS = ffitest$(EXEEXT)
348 PROGRAMS = $(noinst_PROGRAMS)
349
350 ffitest_DEPENDENCIES = libffi.la
351 CFLAGS = @CFLAGS@
352 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
353 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
354 CCLD = $(CC)
355 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
356 DIST_COMMON = README ./stamp-h.in ChangeLog Makefile.am Makefile.in \
357 acconfig.h acinclude.m4 aclocal.m4 configure configure.in \
358 fficonfig.h.in
359
360
361 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
362
363 TAR = gtar
364 GZIP_ENV = --best
365 SOURCES = $(libffi_convenience_la_SOURCES) $(libffi_la_SOURCES)
366 OBJECTS = $(libffi_convenience_la_OBJECTS) $(libffi_la_OBJECTS)
367
368 all: all-redirect
369 .SUFFIXES:
370 .SUFFIXES: .S .c .lo .o .obj .s
371 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
372 cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
373
374 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
375 cd $(top_builddir) \
376 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
377
378 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
379 cd $(srcdir) && $(ACLOCAL)
380
381 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
382 $(SHELL) ./config.status --recheck
383 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
384 cd $(srcdir) && $(AUTOCONF)
385
386 fficonfig.h: stamp-h
387 @if test ! -f $@; then \
388 rm -f stamp-h; \
389 $(MAKE) stamp-h; \
390 else :; fi
391 stamp-h: $(srcdir)/fficonfig.h.in $(top_builddir)/config.status
392 cd $(top_builddir) \
393 && CONFIG_FILES= CONFIG_HEADERS=fficonfig.h \
394 $(SHELL) ./config.status
395 @echo timestamp > stamp-h 2> /dev/null
396 $(srcdir)/fficonfig.h.in: @MAINTAINER_MODE_TRUE@$(srcdir)/stamp-h.in
397 @if test ! -f $@; then \
398 rm -f $(srcdir)/stamp-h.in; \
399 $(MAKE) $(srcdir)/stamp-h.in; \
400 else :; fi
401 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
402 cd $(top_srcdir) && $(AUTOHEADER)
403 @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
404
405 mostlyclean-hdr:
406
407 clean-hdr:
408
409 distclean-hdr:
410 -rm -f fficonfig.h
411
412 maintainer-clean-hdr:
413
414 mostlyclean-noinstLTLIBRARIES:
415
416 clean-noinstLTLIBRARIES:
417 -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
418
419 distclean-noinstLTLIBRARIES:
420
421 maintainer-clean-noinstLTLIBRARIES:
422
423 mostlyclean-toolexeclibLTLIBRARIES:
424
425 clean-toolexeclibLTLIBRARIES:
426 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
427
428 distclean-toolexeclibLTLIBRARIES:
429
430 maintainer-clean-toolexeclibLTLIBRARIES:
431
432 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
433 @$(NORMAL_INSTALL)
434 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
435 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
436 if test -f $$p; then \
437 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
438 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
439 else :; fi; \
440 done
441
442 uninstall-toolexeclibLTLIBRARIES:
443 @$(NORMAL_UNINSTALL)
444 list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
445 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \
446 done
447
448 # FIXME: We should only use cygpath when building on Windows,
449 # and only if it is available.
450 .c.obj:
451 $(COMPILE) -c `cygpath -w $<`
452
453 mostlyclean-compile:
454 -rm -f *.o core *.core
455 -rm -f *.$(OBJEXT)
456
457 clean-compile:
458
459 distclean-compile:
460 -rm -f *.tab.c
461
462 maintainer-clean-compile:
463
464 mostlyclean-libtool:
465 -rm -f *.lo
466
467 clean-libtool:
468 -rm -rf .libs _libs
469
470 distclean-libtool:
471
472 maintainer-clean-libtool:
473
474 libffi_convenience.la: $(libffi_convenience_la_OBJECTS) $(libffi_convenience_la_DEPENDENCIES)
475 $(LINK) $(libffi_convenience_la_LDFLAGS) $(libffi_convenience_la_OBJECTS) $(libffi_convenience_la_LIBADD) $(LIBS)
476
477 libffi.la: $(libffi_la_OBJECTS) $(libffi_la_DEPENDENCIES)
478 $(LINK) -rpath $(toolexeclibdir) $(libffi_la_LDFLAGS) $(libffi_la_OBJECTS) $(libffi_la_LIBADD) $(LIBS)
479
480 mostlyclean-noinstPROGRAMS:
481
482 clean-noinstPROGRAMS:
483 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
484
485 distclean-noinstPROGRAMS:
486
487 maintainer-clean-noinstPROGRAMS:
488
489 ffitest$(EXEEXT): $(ffitest_OBJECTS) $(ffitest_DEPENDENCIES)
490 @rm -f ffitest$(EXEEXT)
491 $(LINK) $(ffitest_LDFLAGS) $(ffitest_OBJECTS) $(ffitest_LDADD) $(LIBS)
492
493 # This directory's subdirectories are mostly independent; you can cd
494 # into them and run `make' without going through this Makefile.
495 # To change the values of `make' variables: instead of editing Makefiles,
496 # (1) if the variable is set in `config.status', edit `config.status'
497 # (which will cause the Makefiles to be regenerated when you run `make');
498 # (2) otherwise, pass the desired values on the `make' command line.
499
500 @SET_MAKE@
501
502 all-recursive install-data-recursive install-exec-recursive \
503 installdirs-recursive install-recursive uninstall-recursive install-info-recursive \
504 check-recursive installcheck-recursive info-recursive dvi-recursive:
505 @set fnord $(MAKEFLAGS); amf=$$2; \
506 dot_seen=no; \
507 target=`echo $@ | sed s/-recursive//`; \
508 list='$(SUBDIRS)'; for subdir in $$list; do \
509 echo "Making $$target in $$subdir"; \
510 if test "$$subdir" = "."; then \
511 dot_seen=yes; \
512 local_target="$$target-am"; \
513 else \
514 local_target="$$target"; \
515 fi; \
516 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
517 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
518 done; \
519 if test "$$dot_seen" = "no"; then \
520 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
521 fi; test -z "$$fail"
522
523 mostlyclean-recursive clean-recursive distclean-recursive \
524 maintainer-clean-recursive:
525 @set fnord $(MAKEFLAGS); amf=$$2; \
526 dot_seen=no; \
527 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
528 rev="$$subdir $$rev"; \
529 test "$$subdir" = "." && dot_seen=yes; \
530 done; \
531 test "$$dot_seen" = "no" && rev=". $$rev"; \
532 target=`echo $@ | sed s/-recursive//`; \
533 for subdir in $$rev; do \
534 echo "Making $$target in $$subdir"; \
535 if test "$$subdir" = "."; then \
536 local_target="$$target-am"; \
537 else \
538 local_target="$$target"; \
539 fi; \
540 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
541 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
542 done && test -z "$$fail"
543 tags-recursive:
544 list='$(SUBDIRS)'; for subdir in $$list; do \
545 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
546 done
547
548 tags: TAGS
549
550 ID: $(HEADERS) $(SOURCES) $(LISP)
551 list='$(SOURCES) $(HEADERS)'; \
552 unique=`for i in $$list; do echo $$i; done | \
553 awk ' { files[$$0] = 1; } \
554 END { for (i in files) print i; }'`; \
555 here=`pwd` && cd $(srcdir) \
556 && mkid -f$$here/ID $$unique $(LISP)
557
558 TAGS: tags-recursive $(HEADERS) $(SOURCES) fficonfig.h.in $(TAGS_DEPENDENCIES) $(LISP)
559 tags=; \
560 here=`pwd`; \
561 list='$(SUBDIRS)'; for subdir in $$list; do \
562 if test "$$subdir" = .; then :; else \
563 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
564 fi; \
565 done; \
566 list='$(SOURCES) $(HEADERS)'; \
567 unique=`for i in $$list; do echo $$i; done | \
568 awk ' { files[$$0] = 1; } \
569 END { for (i in files) print i; }'`; \
570 test -z "$(ETAGS_ARGS)fficonfig.h.in$$unique$(LISP)$$tags" \
571 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags fficonfig.h.in $$unique $(LISP) -o $$here/TAGS)
572
573 mostlyclean-tags:
574
575 clean-tags:
576
577 distclean-tags:
578 -rm -f TAGS ID
579
580 maintainer-clean-tags:
581
582 distdir = $(PACKAGE)-$(VERSION)
583 top_distdir = $(distdir)
584
585 # This target untars the dist file and tries a VPATH configuration. Then
586 # it guarantees that the distribution is self-contained by making another
587 # tarfile.
588 distcheck: dist
589 -rm -rf $(distdir)
590 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
591 mkdir $(distdir)/=build
592 mkdir $(distdir)/=inst
593 dc_install_base=`cd $(distdir)/=inst && pwd`; \
594 cd $(distdir)/=build \
595 && ../configure --srcdir=.. --prefix=$$dc_install_base \
596 && $(MAKE) $(AM_MAKEFLAGS) \
597 && $(MAKE) $(AM_MAKEFLAGS) dvi \
598 && $(MAKE) $(AM_MAKEFLAGS) check \
599 && $(MAKE) $(AM_MAKEFLAGS) install \
600 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
601 && $(MAKE) $(AM_MAKEFLAGS) dist
602 -rm -rf $(distdir)
603 @banner="$(distdir).tar.gz is ready for distribution"; \
604 dashes=`echo "$$banner" | sed s/./=/g`; \
605 echo "$$dashes"; \
606 echo "$$banner"; \
607 echo "$$dashes"
608 dist: distdir
609 -chmod -R a+r $(distdir)
610 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
611 -rm -rf $(distdir)
612 dist-all: distdir
613 -chmod -R a+r $(distdir)
614 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
615 -rm -rf $(distdir)
616 distdir: $(DISTFILES)
617 -rm -rf $(distdir)
618 mkdir $(distdir)
619 -chmod 777 $(distdir)
620 $(mkinstalldirs) $(distdir)/src/alpha $(distdir)/src/arm \
621 $(distdir)/src/m68k $(distdir)/src/mips \
622 $(distdir)/src/powerpc $(distdir)/src/s390 $(distdir)/src/sh \
623 $(distdir)/src/sparc $(distdir)/src/x86
624 @for file in $(DISTFILES); do \
625 if test -f $$file; then d=.; else d=$(srcdir); fi; \
626 if test -d $$d/$$file; then \
627 cp -pr $$d/$$file $(distdir)/$$file; \
628 else \
629 test -f $(distdir)/$$file \
630 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
631 || cp -p $$d/$$file $(distdir)/$$file || :; \
632 fi; \
633 done
634 for subdir in $(SUBDIRS); do \
635 if test "$$subdir" = .; then :; else \
636 test -d $(distdir)/$$subdir \
637 || mkdir $(distdir)/$$subdir \
638 || exit 1; \
639 chmod 777 $(distdir)/$$subdir; \
640 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
641 || exit 1; \
642 fi; \
643 done
644 info-am:
645 info: info-recursive
646 dvi-am:
647 dvi: dvi-recursive
648 check-am:
649 check: check-recursive
650 installcheck-am:
651 installcheck: installcheck-recursive
652 install-info-am:
653 install-info: install-info-recursive
654 all-recursive-am: fficonfig.h
655 $(MAKE) $(AM_MAKEFLAGS) all-recursive
656
657 install-exec-am: install-toolexeclibLTLIBRARIES
658 install-exec: install-exec-recursive
659
660 install-data-am:
661 install-data: install-data-recursive
662
663 install-am: all-am
664 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
665 install: install-recursive
666 uninstall-am: uninstall-toolexeclibLTLIBRARIES
667 uninstall: uninstall-recursive
668 all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) fficonfig.h
669 all-redirect: all-recursive-am
670 install-strip:
671 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
672 installdirs: installdirs-recursive
673 installdirs-am:
674 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
675
676
677 mostlyclean-generic:
678
679 clean-generic:
680
681 distclean-generic:
682 -rm -f Makefile $(CONFIG_CLEAN_FILES)
683 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
684
685 maintainer-clean-generic:
686 mostlyclean-am: mostlyclean-hdr mostlyclean-noinstLTLIBRARIES \
687 mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \
688 mostlyclean-libtool mostlyclean-noinstPROGRAMS \
689 mostlyclean-tags mostlyclean-generic
690
691 mostlyclean: mostlyclean-recursive
692
693 clean-am: clean-hdr clean-noinstLTLIBRARIES \
694 clean-toolexeclibLTLIBRARIES clean-compile \
695 clean-libtool clean-noinstPROGRAMS clean-tags \
696 clean-generic mostlyclean-am
697
698 clean: clean-recursive
699
700 distclean-am: distclean-hdr distclean-noinstLTLIBRARIES \
701 distclean-toolexeclibLTLIBRARIES distclean-compile \
702 distclean-libtool distclean-noinstPROGRAMS \
703 distclean-tags distclean-generic clean-am
704 -rm -f libtool
705
706 distclean: distclean-recursive
707 -rm -f config.status
708
709 maintainer-clean-am: maintainer-clean-hdr \
710 maintainer-clean-noinstLTLIBRARIES \
711 maintainer-clean-toolexeclibLTLIBRARIES \
712 maintainer-clean-compile maintainer-clean-libtool \
713 maintainer-clean-noinstPROGRAMS maintainer-clean-tags \
714 maintainer-clean-generic distclean-am
715 @echo "This command is intended for maintainers to use;"
716 @echo "it deletes files that may require special tools to rebuild."
717
718 maintainer-clean: maintainer-clean-recursive
719 -rm -f config.status
720
721 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
722 mostlyclean-noinstLTLIBRARIES distclean-noinstLTLIBRARIES \
723 clean-noinstLTLIBRARIES maintainer-clean-noinstLTLIBRARIES \
724 mostlyclean-toolexeclibLTLIBRARIES distclean-toolexeclibLTLIBRARIES \
725 clean-toolexeclibLTLIBRARIES maintainer-clean-toolexeclibLTLIBRARIES \
726 uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \
727 mostlyclean-compile distclean-compile clean-compile \
728 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
729 clean-libtool maintainer-clean-libtool mostlyclean-noinstPROGRAMS \
730 distclean-noinstPROGRAMS clean-noinstPROGRAMS \
731 maintainer-clean-noinstPROGRAMS install-data-recursive \
732 uninstall-data-recursive install-exec-recursive \
733 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
734 all-recursive check-recursive installcheck-recursive info-recursive \
735 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
736 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
737 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
738 dvi-am dvi check check-am installcheck-am installcheck install-info-am \
739 install-info all-recursive-am install-exec-am install-exec \
740 install-data-am install-data install-am install uninstall-am uninstall \
741 all-redirect all-am all installdirs-am installdirs mostlyclean-generic \
742 distclean-generic clean-generic maintainer-clean-generic clean \
743 mostlyclean distclean maintainer-clean
744
745
746 # Override these rules so that object files get put in the correct
747 # subdirectories.
748 .c.o:
749 $(LTCOMPILE) -c -o $@ $<
750
751 .s.o:
752 $(LTCOMPILE) -c -o $@ $<
753
754 .S.o:
755 $(LTCOMPILE) -c -o $@ $<
756
757 .c.lo:
758 $(LTCOMPILE) -c -o $@ $<
759
760 .s.lo:
761 $(LTCOMPILE) -c -o $@ $<
762
763 .S.lo:
764 $(LTCOMPILE) -c -o $@ $<
765
766 # Multilib support.
767 .PHONY: all-multi mostlyclean-multi clean-multi distclean-multi \
768 maintainer-clean-multi
769
770 all-recursive: all-multi
771 install-recursive: install-multi
772 mostlyclean-recursive: mostlyclean-multi
773 clean-recursive: clean-multi
774 distclean-recursive: distclean-multi
775 maintainer-clean-recursive: maintainer-clean-multi
776
777 all-multi:
778 : $(MAKE) ; exec $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
779 install-multi:
780 $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
781 mostlyclean-multi:
782 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean
783 clean-multi:
784 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean
785 distclean-multi:
786 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean
787 maintainer-clean-multi:
788 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean
789
790 # Tell versions [3.59,3.63) of GNU make to not export all variables.
791 # Otherwise a system limit (for SysV at least) may be exceeded.
792 .NOEXPORT: