]> git.ipfire.org Git - thirdparty/gcc.git/blob - libffi/Makefile.in
configure.in: Make target subdirectory in build dir.
[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
84 AUTOMAKE_OPTIONS = cygnus
85
86 SUBDIRS = include
87
88 EXTRA_DIST = LICENSE ChangeLog.v1 src/mips/ffi.c src/mips/n32.S \
89 src/mips/n32.s src/mips/o32.S src/mips/o32.s \
90 src/sparc/ffi.c src/sparc/v8.S src/sparc/v9.S \
91 src/x86/ffi.c src/x86/sysv.S \
92 src/alpha/ffi.c src/alpha/osf.S \
93 src/m68k/ffi.c src/m68k/sysv.S \
94 src/powerpc/ffi.c src/powerpc/sysv.S \
95 src/powerpc/ppc_closure.S src/powerpc/asm.h \
96 src/arm/ffi.c src/arm/sysv.S
97
98
99 VPATH = @srcdir@:@srcdir@/src:@srcdir@/src/@TARGETDIR@
100
101 # Work around what appears to be a GNU make bug handling MAKEFLAGS
102 # values defined in terms of make variables, as is the case for CC and
103 # friends when we are called from the top level Makefile.
104 AM_MAKEFLAGS = \
105 "AR_FLAGS=$(AR_FLAGS)" \
106 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
107 "CFLAGS=$(CFLAGS)" \
108 "CXXFLAGS=$(CXXFLAGS)" \
109 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
110 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
111 "INSTALL=$(INSTALL)" \
112 "INSTALL_DATA=$(INSTALL_DATA)" \
113 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
114 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
115 "JC1FLAGS=$(JC1FLAGS)" \
116 "LDFLAGS=$(LDFLAGS)" \
117 "LIBCFLAGS=$(LIBCFLAGS)" \
118 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
119 "MAKE=$(MAKE)" \
120 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
121 "PICFLAG=$(PICFLAG)" \
122 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
123 "SHELL=$(SHELL)" \
124 "exec_prefix=$(exec_prefix)" \
125 "infodir=$(infodir)" \
126 "libdir=$(libdir)" \
127 "prefix=$(prefix)" \
128 "AR=$(AR)" \
129 "AS=$(AS)" \
130 "CC=$(CC)" \
131 "CXX=$(CXX)" \
132 "LD=$(LD)" \
133 "LIBCFLAGS=$(LIBCFLAGS)" \
134 "NM=$(NM)" \
135 "PICFLAG=$(PICFLAG)" \
136 "RANLIB=$(RANLIB)" \
137 "DESTDIR=$(DESTDIR)"
138
139
140 MAKEOVERRIDES =
141
142 # Multilib support variables.
143 MULTISRCTOP =
144 MULTIBUILDTOP =
145 MULTIDIRS =
146 MULTISUBDIR =
147 MULTIDO = true
148 MULTICLEAN = true
149 @USE_LIBDIR_TRUE@toolexeclibdir = @USE_LIBDIR_TRUE@$(libdir)$(MULTISUBDIR)
150 @USE_LIBDIR_FALSE@toolexeclibdir = @USE_LIBDIR_FALSE@$(toolexecdir)/lib$(MULTISUBDIR)
151 @USE_LIBDIR_FALSE@toolexecdir = @USE_LIBDIR_FALSE@$(exec_prefix)/$(target_alias)
152
153 toolexeclib_LTLIBRARIES = libffi.la
154
155 noinst_PROGRAMS = ffitest
156
157 ffitest_SOURCES = src/ffitest.c
158 ffitest_LDADD = libffi.la
159 ffitest_LDFLAGS = -shared-libgcc
160
161 TARGET_SRC_MIPS_GCC = src/mips/ffi.c src/mips/o32.S src/mips/n32.S
162 TARGET_SRC_MIPS_SGI = src/mips/ffi.c src/mips/o32.s src/mips/n32.s
163 TARGET_SRC_X86 = src/x86/ffi.c src/x86/sysv.S
164 TARGET_SRC_SPARC = src/sparc/ffi.c src/sparc/v8.S src/sparc/v9.S
165 TARGET_SRC_ALPHA = src/alpha/ffi.c src/alpha/osf.S
166 TARGET_SRC_IA64 = src/ia64/ffi.c src/ia64/unix.S
167 TARGET_SRC_M68K = src/m68k/ffi.c src/m68k/sysv.S
168 TARGET_SRC_POWERPC = src/powerpc/ffi.c src/powerpc/sysv.S src/powerpc/ppc_closure.S
169 TARGET_SRC_ARM = src/arm/sysv.S src/arm/ffi.c
170
171 libffi_la_common_SOURCES = src/debug.c src/prep_cif.c src/types.c \
172 src/raw_api.c src/java_raw_api.c
173
174 @MIPS_GCC_TRUE@libffi_la_SOURCES = @MIPS_GCC_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_MIPS_GCC)
175 @MIPS_SGI_TRUE@libffi_la_SOURCES = @MIPS_SGI_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_MIPS_SGI)
176 @X86_TRUE@libffi_la_SOURCES = @X86_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_X86)
177 @SPARC_TRUE@libffi_la_SOURCES = @SPARC_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_SPARC)
178 @ALPHA_TRUE@libffi_la_SOURCES = @ALPHA_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_ALPHA)
179 @IA64_TRUE@libffi_la_SOURCES = @IA64_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_IA64)
180 @M68K_TRUE@libffi_la_SOURCES = @M68K_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_M68K)
181 @POWERPC_TRUE@libffi_la_SOURCES = @POWERPC_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_POWERPC)
182 @ARM_TRUE@libffi_la_SOURCES = @ARM_TRUE@$(libffi_la_common_SOURCES) $(TARGET_SRC_ARM)
183
184 AM_CFLAGS = -fexceptions
185
186 libffi_la_LDFLAGS = -release $(VERSION)
187
188 INCLUDES = -I$(top_srcdir)/include -Iinclude -I$(top_srcdir)/src
189 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
190 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
191 CONFIG_HEADER = fficonfig.h
192 CONFIG_CLEAN_FILES =
193 LTLIBRARIES = $(toolexeclib_LTLIBRARIES)
194
195
196 DEFS = @DEFS@ -I. -I$(srcdir) -I.
197 CPPFLAGS = @CPPFLAGS@
198 LDFLAGS = @LDFLAGS@
199 LIBS = @LIBS@
200 libffi_la_LIBADD =
201 @IA64_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
202 @IA64_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
203 @IA64_TRUE@src/ia64/ffi.lo src/ia64/unix.lo
204 @MIPS_GCC_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
205 @MIPS_GCC_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
206 @MIPS_GCC_TRUE@src/mips/ffi.lo src/mips/o32.lo src/mips/n32.lo
207 @M68K_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
208 @M68K_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
209 @M68K_TRUE@src/m68k/ffi.lo src/m68k/sysv.lo
210 @ALPHA_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
211 @ALPHA_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
212 @ALPHA_TRUE@src/alpha/ffi.lo src/alpha/osf.lo
213 @X86_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo src/types.lo \
214 @X86_TRUE@src/raw_api.lo src/java_raw_api.lo src/x86/ffi.lo \
215 @X86_TRUE@src/x86/sysv.lo
216 @SPARC_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
217 @SPARC_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
218 @SPARC_TRUE@src/sparc/ffi.lo src/sparc/v8.lo src/sparc/v9.lo
219 @MIPS_SGI_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
220 @MIPS_SGI_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
221 @MIPS_SGI_TRUE@src/mips/ffi.lo src/mips/o32.lo src/mips/n32.lo
222 @ARM_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo src/types.lo \
223 @ARM_TRUE@src/raw_api.lo src/java_raw_api.lo src/arm/sysv.lo \
224 @ARM_TRUE@src/arm/ffi.lo
225 @POWERPC_TRUE@libffi_la_OBJECTS = src/debug.lo src/prep_cif.lo \
226 @POWERPC_TRUE@src/types.lo src/raw_api.lo src/java_raw_api.lo \
227 @POWERPC_TRUE@src/powerpc/ffi.lo src/powerpc/sysv.lo \
228 @POWERPC_TRUE@src/powerpc/ppc_closure.lo
229 noinst_PROGRAMS = ffitest$(EXEEXT)
230 PROGRAMS = $(noinst_PROGRAMS)
231
232 ffitest_OBJECTS = src/ffitest.$(OBJEXT)
233 ffitest_DEPENDENCIES = libffi.la
234 CFLAGS = @CFLAGS@
235 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
236 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
237 CCLD = $(CC)
238 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
239 DIST_COMMON = README ./stamp-h.in ChangeLog Makefile.am Makefile.in \
240 acconfig.h acinclude.m4 aclocal.m4 configure configure.in \
241 fficonfig.h.in
242
243
244 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
245
246 TAR = gtar
247 GZIP_ENV = --best
248 SOURCES = $(libffi_la_SOURCES) $(ffitest_SOURCES)
249 OBJECTS = $(libffi_la_OBJECTS) $(ffitest_OBJECTS)
250
251 all: all-redirect
252 .SUFFIXES:
253 .SUFFIXES: .S .c .lo .o .obj .s
254 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
255 cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
256
257 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
258 cd $(top_builddir) \
259 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
260
261 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
262 cd $(srcdir) && $(ACLOCAL)
263
264 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
265 $(SHELL) ./config.status --recheck
266 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
267 cd $(srcdir) && $(AUTOCONF)
268
269 fficonfig.h: stamp-h
270 @if test ! -f $@; then \
271 rm -f stamp-h; \
272 $(MAKE) stamp-h; \
273 else :; fi
274 stamp-h: $(srcdir)/fficonfig.h.in $(top_builddir)/config.status
275 cd $(top_builddir) \
276 && CONFIG_FILES= CONFIG_HEADERS=fficonfig.h \
277 $(SHELL) ./config.status
278 @echo timestamp > stamp-h 2> /dev/null
279 $(srcdir)/fficonfig.h.in: @MAINTAINER_MODE_TRUE@$(srcdir)/stamp-h.in
280 @if test ! -f $@; then \
281 rm -f $(srcdir)/stamp-h.in; \
282 $(MAKE) $(srcdir)/stamp-h.in; \
283 else :; fi
284 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
285 cd $(top_srcdir) && $(AUTOHEADER)
286 @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
287
288 mostlyclean-hdr:
289
290 clean-hdr:
291
292 distclean-hdr:
293 -rm -f fficonfig.h
294
295 maintainer-clean-hdr:
296
297 mostlyclean-toolexeclibLTLIBRARIES:
298
299 clean-toolexeclibLTLIBRARIES:
300 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
301
302 distclean-toolexeclibLTLIBRARIES:
303
304 maintainer-clean-toolexeclibLTLIBRARIES:
305
306 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
307 @$(NORMAL_INSTALL)
308 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
309 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
310 if test -f $$p; then \
311 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
312 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
313 else :; fi; \
314 done
315
316 uninstall-toolexeclibLTLIBRARIES:
317 @$(NORMAL_UNINSTALL)
318 list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
319 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \
320 done
321
322 # FIXME: We should only use cygpath when building on Windows,
323 # and only if it is available.
324 .c.obj:
325 $(COMPILE) -c `cygpath -w $<`
326
327 mostlyclean-compile:
328 -rm -f *.o core *.core
329 -rm -f *.$(OBJEXT)
330
331 clean-compile:
332
333 distclean-compile:
334 -rm -f *.tab.c
335
336 maintainer-clean-compile:
337
338 mostlyclean-libtool:
339 -rm -f *.lo
340
341 clean-libtool:
342 -rm -rf .libs _libs
343
344 distclean-libtool:
345
346 maintainer-clean-libtool:
347
348 libffi.la: $(libffi_la_OBJECTS) $(libffi_la_DEPENDENCIES)
349 $(LINK) -rpath $(toolexeclibdir) $(libffi_la_LDFLAGS) $(libffi_la_OBJECTS) $(libffi_la_LIBADD) $(LIBS)
350
351 mostlyclean-noinstPROGRAMS:
352
353 clean-noinstPROGRAMS:
354 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
355
356 distclean-noinstPROGRAMS:
357
358 maintainer-clean-noinstPROGRAMS:
359
360 ffitest$(EXEEXT): $(ffitest_OBJECTS) $(ffitest_DEPENDENCIES)
361 @rm -f ffitest$(EXEEXT)
362 $(LINK) $(ffitest_LDFLAGS) $(ffitest_OBJECTS) $(ffitest_LDADD) $(LIBS)
363
364 # This directory's subdirectories are mostly independent; you can cd
365 # into them and run `make' without going through this Makefile.
366 # To change the values of `make' variables: instead of editing Makefiles,
367 # (1) if the variable is set in `config.status', edit `config.status'
368 # (which will cause the Makefiles to be regenerated when you run `make');
369 # (2) otherwise, pass the desired values on the `make' command line.
370
371 @SET_MAKE@
372
373 all-recursive install-data-recursive install-exec-recursive \
374 installdirs-recursive install-recursive uninstall-recursive install-info-recursive \
375 check-recursive installcheck-recursive info-recursive dvi-recursive:
376 @set fnord $(MAKEFLAGS); amf=$$2; \
377 dot_seen=no; \
378 target=`echo $@ | sed s/-recursive//`; \
379 list='$(SUBDIRS)'; for subdir in $$list; do \
380 echo "Making $$target in $$subdir"; \
381 if test "$$subdir" = "."; then \
382 dot_seen=yes; \
383 local_target="$$target-am"; \
384 else \
385 local_target="$$target"; \
386 fi; \
387 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
388 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
389 done; \
390 if test "$$dot_seen" = "no"; then \
391 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
392 fi; test -z "$$fail"
393
394 mostlyclean-recursive clean-recursive distclean-recursive \
395 maintainer-clean-recursive:
396 @set fnord $(MAKEFLAGS); amf=$$2; \
397 dot_seen=no; \
398 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
399 rev="$$subdir $$rev"; \
400 test "$$subdir" = "." && dot_seen=yes; \
401 done; \
402 test "$$dot_seen" = "no" && rev=". $$rev"; \
403 target=`echo $@ | sed s/-recursive//`; \
404 for subdir in $$rev; do \
405 echo "Making $$target in $$subdir"; \
406 if test "$$subdir" = "."; then \
407 local_target="$$target-am"; \
408 else \
409 local_target="$$target"; \
410 fi; \
411 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
412 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
413 done && test -z "$$fail"
414 tags-recursive:
415 list='$(SUBDIRS)'; for subdir in $$list; do \
416 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
417 done
418
419 tags: TAGS
420
421 ID: $(HEADERS) $(SOURCES) $(LISP)
422 list='$(SOURCES) $(HEADERS)'; \
423 unique=`for i in $$list; do echo $$i; done | \
424 awk ' { files[$$0] = 1; } \
425 END { for (i in files) print i; }'`; \
426 here=`pwd` && cd $(srcdir) \
427 && mkid -f$$here/ID $$unique $(LISP)
428
429 TAGS: tags-recursive $(HEADERS) $(SOURCES) fficonfig.h.in $(TAGS_DEPENDENCIES) $(LISP)
430 tags=; \
431 here=`pwd`; \
432 list='$(SUBDIRS)'; for subdir in $$list; do \
433 if test "$$subdir" = .; then :; else \
434 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
435 fi; \
436 done; \
437 list='$(SOURCES) $(HEADERS)'; \
438 unique=`for i in $$list; do echo $$i; done | \
439 awk ' { files[$$0] = 1; } \
440 END { for (i in files) print i; }'`; \
441 test -z "$(ETAGS_ARGS)fficonfig.h.in$$unique$(LISP)$$tags" \
442 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags fficonfig.h.in $$unique $(LISP) -o $$here/TAGS)
443
444 mostlyclean-tags:
445
446 clean-tags:
447
448 distclean-tags:
449 -rm -f TAGS ID
450
451 maintainer-clean-tags:
452
453 distdir = $(PACKAGE)-$(VERSION)
454 top_distdir = $(distdir)
455
456 # This target untars the dist file and tries a VPATH configuration. Then
457 # it guarantees that the distribution is self-contained by making another
458 # tarfile.
459 distcheck: dist
460 -rm -rf $(distdir)
461 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
462 mkdir $(distdir)/=build
463 mkdir $(distdir)/=inst
464 dc_install_base=`cd $(distdir)/=inst && pwd`; \
465 cd $(distdir)/=build \
466 && ../configure --srcdir=.. --prefix=$$dc_install_base \
467 && $(MAKE) $(AM_MAKEFLAGS) \
468 && $(MAKE) $(AM_MAKEFLAGS) dvi \
469 && $(MAKE) $(AM_MAKEFLAGS) check \
470 && $(MAKE) $(AM_MAKEFLAGS) install \
471 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
472 && $(MAKE) $(AM_MAKEFLAGS) dist
473 -rm -rf $(distdir)
474 @banner="$(distdir).tar.gz is ready for distribution"; \
475 dashes=`echo "$$banner" | sed s/./=/g`; \
476 echo "$$dashes"; \
477 echo "$$banner"; \
478 echo "$$dashes"
479 dist: distdir
480 -chmod -R a+r $(distdir)
481 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
482 -rm -rf $(distdir)
483 dist-all: distdir
484 -chmod -R a+r $(distdir)
485 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
486 -rm -rf $(distdir)
487 distdir: $(DISTFILES)
488 -rm -rf $(distdir)
489 mkdir $(distdir)
490 -chmod 777 $(distdir)
491 $(mkinstalldirs) $(distdir)/src/alpha $(distdir)/src/arm \
492 $(distdir)/src/m68k $(distdir)/src/mips \
493 $(distdir)/src/powerpc $(distdir)/src/sparc \
494 $(distdir)/src/x86
495 @for file in $(DISTFILES); do \
496 if test -f $$file; then d=.; else d=$(srcdir); fi; \
497 if test -d $$d/$$file; then \
498 cp -pr $$d/$$file $(distdir)/$$file; \
499 else \
500 test -f $(distdir)/$$file \
501 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
502 || cp -p $$d/$$file $(distdir)/$$file || :; \
503 fi; \
504 done
505 for subdir in $(SUBDIRS); do \
506 if test "$$subdir" = .; then :; else \
507 test -d $(distdir)/$$subdir \
508 || mkdir $(distdir)/$$subdir \
509 || exit 1; \
510 chmod 777 $(distdir)/$$subdir; \
511 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
512 || exit 1; \
513 fi; \
514 done
515 info-am:
516 info: info-recursive
517 dvi-am:
518 dvi: dvi-recursive
519 check-am:
520 check: check-recursive
521 installcheck-am:
522 installcheck: installcheck-recursive
523 install-info-am:
524 install-info: install-info-recursive
525 all-recursive-am: fficonfig.h
526 $(MAKE) $(AM_MAKEFLAGS) all-recursive
527
528 install-exec-am: install-toolexeclibLTLIBRARIES
529 install-exec: install-exec-recursive
530
531 install-data-am:
532 install-data: install-data-recursive
533
534 install-am: all-am
535 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
536 install: install-recursive
537 uninstall-am: uninstall-toolexeclibLTLIBRARIES
538 uninstall: uninstall-recursive
539 all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) fficonfig.h
540 all-redirect: all-recursive-am
541 install-strip:
542 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
543 installdirs: installdirs-recursive
544 installdirs-am:
545 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
546
547
548 mostlyclean-generic:
549
550 clean-generic:
551
552 distclean-generic:
553 -rm -f Makefile $(CONFIG_CLEAN_FILES)
554 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
555
556 maintainer-clean-generic:
557 mostlyclean-am: mostlyclean-hdr mostlyclean-toolexeclibLTLIBRARIES \
558 mostlyclean-compile mostlyclean-libtool \
559 mostlyclean-noinstPROGRAMS mostlyclean-tags \
560 mostlyclean-generic
561
562 mostlyclean: mostlyclean-recursive
563
564 clean-am: clean-hdr clean-toolexeclibLTLIBRARIES clean-compile \
565 clean-libtool clean-noinstPROGRAMS clean-tags \
566 clean-generic mostlyclean-am
567
568 clean: clean-recursive
569
570 distclean-am: distclean-hdr distclean-toolexeclibLTLIBRARIES \
571 distclean-compile distclean-libtool \
572 distclean-noinstPROGRAMS distclean-tags \
573 distclean-generic clean-am
574 -rm -f libtool
575
576 distclean: distclean-recursive
577 -rm -f config.status
578
579 maintainer-clean-am: maintainer-clean-hdr \
580 maintainer-clean-toolexeclibLTLIBRARIES \
581 maintainer-clean-compile maintainer-clean-libtool \
582 maintainer-clean-noinstPROGRAMS maintainer-clean-tags \
583 maintainer-clean-generic distclean-am
584 @echo "This command is intended for maintainers to use;"
585 @echo "it deletes files that may require special tools to rebuild."
586
587 maintainer-clean: maintainer-clean-recursive
588 -rm -f config.status
589
590 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
591 mostlyclean-toolexeclibLTLIBRARIES distclean-toolexeclibLTLIBRARIES \
592 clean-toolexeclibLTLIBRARIES maintainer-clean-toolexeclibLTLIBRARIES \
593 uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \
594 mostlyclean-compile distclean-compile clean-compile \
595 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
596 clean-libtool maintainer-clean-libtool mostlyclean-noinstPROGRAMS \
597 distclean-noinstPROGRAMS clean-noinstPROGRAMS \
598 maintainer-clean-noinstPROGRAMS install-data-recursive \
599 uninstall-data-recursive install-exec-recursive \
600 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
601 all-recursive check-recursive installcheck-recursive info-recursive \
602 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
603 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
604 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
605 dvi-am dvi check check-am installcheck-am installcheck install-info-am \
606 install-info all-recursive-am install-exec-am install-exec \
607 install-data-am install-data install-am install uninstall-am uninstall \
608 all-redirect all-am all installdirs-am installdirs mostlyclean-generic \
609 distclean-generic clean-generic maintainer-clean-generic clean \
610 mostlyclean distclean maintainer-clean
611
612
613 # Override these rules so that object files get put in the correct
614 # subdirectories.
615 .c.o:
616 $(LTCOMPILE) -c -o $@ $<
617
618 .s.o:
619 $(LTCOMPILE) -c -o $@ $<
620
621 .S.o:
622 $(LTCOMPILE) -c -o $@ $<
623
624 .c.lo:
625 $(LTCOMPILE) -c -o $@ $<
626
627 .s.lo:
628 $(LTCOMPILE) -c -o $@ $<
629
630 .S.lo:
631 $(LTCOMPILE) -c -o $@ $<
632
633 # Multilib support.
634 .PHONY: all-multi mostlyclean-multi clean-multi distclean-multi \
635 maintainer-clean-multi
636
637 all-recursive: all-multi
638 install-recursive: install-multi
639 mostlyclean-recursive: mostlyclean-multi
640 clean-recursive: clean-multi
641 distclean-recursive: distclean-multi
642 maintainer-clean-recursive: maintainer-clean-multi
643
644 all-multi:
645 $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
646 install-multi:
647 $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
648 mostlyclean-multi:
649 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean
650 clean-multi:
651 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean
652 distclean-multi:
653 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean
654 maintainer-clean-multi:
655 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean
656
657 # Tell versions [3.59,3.63) of GNU make to not export all variables.
658 # Otherwise a system limit (for SysV at least) may be exceeded.
659 .NOEXPORT: