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