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