fixes for host gcc 4.6.1
[zpugcc/jano.git] / toolchain / gcc / newlib / Makefile.in
bloba1e3f4a18bdd1ec63eae5c6f39d1d7e8ed9b8115
1 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
3 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
14 SHELL = @SHELL@
16 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
18 VPATH = @srcdir@
19 prefix = @prefix@
20 exec_prefix = @exec_prefix@
22 bindir = @bindir@
23 sbindir = @sbindir@
24 libexecdir = @libexecdir@
25 datadir = @datadir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
29 libdir = @libdir@
30 infodir = @infodir@
31 mandir = @mandir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
35 DESTDIR =
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
41 top_builddir = .
43 ACLOCAL = @ACLOCAL@
44 AUTOCONF = @AUTOCONF@
45 AUTOMAKE = @AUTOMAKE@
46 AUTOHEADER = @AUTOHEADER@
48 INSTALL = @INSTALL@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
54 NORMAL_INSTALL = :
55 PRE_INSTALL = :
56 POST_INSTALL = :
57 NORMAL_UNINSTALL = :
58 PRE_UNINSTALL = :
59 POST_UNINSTALL = :
60 build_alias = @build_alias@
61 build_triplet = @build@
62 host_alias = @host_alias@
63 host_triplet = @host@
64 target_alias = @target_alias@
65 target_triplet = @target@
66 AR = @AR@
67 AS = @AS@
68 AWK = @AWK@
69 CC = @CC@
70 CC_FOR_BUILD = @CC_FOR_BUILD@
71 CC_FOR_NEWLIB = @CC_FOR_NEWLIB@
72 CPP = @CPP@
73 CRT0 = @CRT0@
74 CRT0_DIR = @CRT0_DIR@
75 CRT1 = @CRT1@
76 CRT1_DIR = @CRT1_DIR@
77 CXX = @CXX@
78 CXXCPP = @CXXCPP@
79 DLLTOOL = @DLLTOOL@
80 EXEEXT = @EXEEXT@
81 EXTRA_DIRS = @EXTRA_DIRS@
82 GCJ = @GCJ@
83 GCJFLAGS = @GCJFLAGS@
84 LDFLAGS = @LDFLAGS@
85 LIBM_MACHINE_OBJECTLIST = @LIBM_MACHINE_OBJECTLIST@
86 LIBTOOL = @LIBTOOL@
87 LN_S = @LN_S@
88 MACHINE_OBJECTLIST = @MACHINE_OBJECTLIST@
89 MAINT = @MAINT@
90 MAKEINFO = @MAKEINFO@
91 NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
92 OBJDUMP = @OBJDUMP@
93 OBJEXT = @OBJEXT@
94 PACKAGE = @PACKAGE@
95 POSIX_OBJECTLIST = @POSIX_OBJECTLIST@
96 RANLIB = @RANLIB@
97 SIGNAL_OBJECTLIST = @SIGNAL_OBJECTLIST@
98 STDIO64_OBJECTLIST = @STDIO64_OBJECTLIST@
99 STRIP = @STRIP@
100 SYSCALL_OBJECTLIST = @SYSCALL_OBJECTLIST@
101 SYS_MACH_OBJECTLIST = @SYS_MACH_OBJECTLIST@
102 SYS_OBJECTLIST = @SYS_OBJECTLIST@
103 UNIX_OBJECTLIST = @UNIX_OBJECTLIST@
104 VERSION = @VERSION@
105 aext = @aext@
106 libm_machine_dir = @libm_machine_dir@
107 machine_dir = @machine_dir@
108 newlib_basedir = @newlib_basedir@
109 oext = @oext@
110 sys_dir = @sys_dir@
112 AUTOMAKE_OPTIONS = cygnus dejagnu
114 # Multilib support variables.
115 MULTISRCTOP =
116 MULTIBUILDTOP =
117 MULTIDIRS =
118 MULTISUBDIR =
119 MULTIDO = true
120 MULTICLEAN = true
122 LIBTOOL_VERSION_INFO = 0:0:0
123 @NEWLIB_HW_FP_TRUE@MATHDIR = mathfp
124 @NEWLIB_HW_FP_FALSE@MATHDIR = math
126 # Work around what appears to be a GNU make bug handling MAKEFLAGS
127 # values defined in terms of make variables, as is the case for CC and
128 # friends when we are called from the top level Makefile.
129 AM_MAKEFLAGS = "AR_FLAGS=$(AR_FLAGS)" "CC_FOR_BUILD=$(CC_FOR_BUILD)" "CFLAGS=$(CFLAGS)" "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" "LDFLAGS=$(LDFLAGS)" "LIBCFLAGS=$(LIBCFLAGS)" "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" "MAKE=$(MAKE)" "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" "PICFLAG=$(PICFLAG)" "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" "SHELL=$(SHELL)" "EXPECT=$(EXPECT)" "RUNTEST=$(RUNTEST)" "RUNTESTFLAGS=$(RUNTESTFLAGS)" "exec_prefix=$(exec_prefix)" "infodir=$(infodir)" "libdir=$(libdir)" "prefix=$(prefix)" "tooldir=$(tooldir)" "top_toollibdir=$(toollibdir)" "AR=$(AR)" "AS=$(AS)" "CC=$(CC_FOR_NEWLIB)" "LD=$(LD)" "LIBCFLAGS=$(LIBCFLAGS)" "NM=$(NM)" "PICFLAG=$(PICFLAG)" "RANLIB=$(RANLIB)" "DESTDIR=$(DESTDIR)"
132 FLAGS_TO_PASS = $(AM_MAKEFLAGS)
133 @HAVE_DOC_TRUE@DOCDIR = doc
134 @HAVE_DOC_FALSE@DOCDIR =
136 SUBDIRS = libc libm $(DOCDIR) . $(EXTRA_DIRS)
139 tooldir = $(exec_prefix)/$(host_alias)
140 toollibdir = $(tooldir)/lib$(MULTISUBDIR)
142 AR_FLAGS = rc
144 @USE_LIBTOOL_TRUE@toollib_LTLIBRARIES = libm.la libc.la
145 @USE_LIBTOOL_FALSE@toollib_LIBRARIES = libm.a libc.a
147 noinst_DATA = stmp-targ-include
149 toollib_DATA = $(CRT0) $(CRT1)
151 # The functions ldexp, frexp and modf are traditionally supplied in
152 # both libc.a and libm.a. We build them in libm.a and copy them over,
153 # along with some required supporting routines.
154 MATHOBJS_IN_LIBC = s_isinf.$(oext) sf_isinf.$(oext) s_isnan.$(oext) sf_isnan.$(oext) s_ldexp.$(oext) sf_ldexp.$(oext) s_frexp.$(oext) sf_frexp.$(oext) s_modf.$(oext) sf_modf.$(oext) s_scalbn.$(oext) sf_scalbn.$(oext) s_finite.$(oext) sf_finite.$(oext) s_copysign.$(oext) sf_copysign.$(oext) s_infconst.$(oext)
157 LIBC_OBJECTLISTS = $(POSIX_OBJECTLIST) $(SIGNAL_OBJECTLIST) $(SYSCALL_OBJECTLIST) $(UNIX_OBJECTLIST) $(STDIO64_OBJECTLIST) libc/argz/objectlist.awk.in libc/stdlib/objectlist.awk.in libc/time/objectlist.awk.in libc/ctype/objectlist.awk.in libc/search/objectlist.awk.in libc/string/objectlist.awk.in libc/locale/objectlist.awk.in libc/misc/objectlist.awk.in libc/reent/objectlist.awk.in libc/errno/objectlist.awk.in libc/stdio/objectlist.awk.in $(MACHINE_OBJECTLIST) $(SYS_OBJECTLIST) $(SYS_MACH_OBJECTLIST)
160 LIBM_OBJECTLISTS = libm/$(MATHDIR)/objectlist.awk.in libm/common/objectlist.awk.in $(LIBM_MACHINE_OBJECTLIST)
163 libm_la_LDFLAGS = -version-info $(LIBTOOL_VERSION_INFO) -release newlib -no-undefined -Xcompiler -nostdlib -Xlinker --version-script=$(srcdir)/libc/sys/linux/shared.ld -objectlist libm-libtool-objectlist
165 libc_la_LDFLAGS = -version-info $(LIBTOOL_VERSION_INFO) -release newlib -no-undefined -Xcompiler -nostdlib -Xlinker --version-script=$(srcdir)/libc/sys/linux/shared.ld -objectlist libc-libtool-objectlist
167 @USE_LIBTOOL_TRUE@libm_la_SOURCES =
168 @USE_LIBTOOL_TRUE@libm_la_DEPENDENCIES = libm-libtool-objectlist
170 @USE_LIBTOOL_TRUE@libc_la_SOURCES =
171 @USE_LIBTOOL_TRUE@libc_la_DEPENDENCIES = libc-libtool-objectlist
173 CLEANFILES = targ-include stmp-targ-include
175 CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
177 MAKEOVERRIDES =
179 # dejagnu support
181 RUNTESTFLAGS =
182 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
183 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
184 CONFIG_HEADER = newlib.h
185 CONFIG_CLEAN_FILES =
186 LIBRARIES = $(toollib_LIBRARIES)
189 DEFS = @DEFS@ -I. -I$(srcdir) -I.
190 CPPFLAGS = @CPPFLAGS@
191 LIBS = @LIBS@
192 libm_a_LIBADD =
193 libm_a_SOURCES = libm.a.c
194 libm_a_OBJECTS = libm.a.$(OBJEXT)
195 libc_a_LIBADD =
196 libc_a_SOURCES = libc.a.c
197 libc_a_OBJECTS = libc.a.$(OBJEXT)
198 LTLIBRARIES = $(toollib_LTLIBRARIES)
200 libm_la_LIBADD =
201 @USE_LIBTOOL_TRUE@libm_la_OBJECTS =
202 libc_la_LIBADD =
203 @USE_LIBTOOL_TRUE@libc_la_OBJECTS =
204 CFLAGS = @CFLAGS@
205 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
206 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
207 CCLD = $(CC)
208 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
209 DATA = $(noinst_DATA) $(toollib_DATA)
211 DIST_COMMON = README ./stamp-h.in ChangeLog Makefile.am Makefile.in \
212 NEWS acinclude.m4 aclocal.m4 configure configure.in newlib.hin
215 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
217 TAR = tar
218 GZIP_ENV = --best
219 DIST_SUBDIRS = libc libm doc . @EXTRA_DIRS@
220 EXPECT = `if test -f $(top_builddir)/../expect/expect; then echo $(top_builddir)/../expect/expect; else echo expect; fi`
221 RUNTEST = `if test -f $(top_srcdir)/../dejagnu/runtest; then echo $(top_srcdir)/../dejagnu/runtest; else echo runtest; fi`
222 SOURCES = libm.a.c libc.a.c $(libm_la_SOURCES) $(libc_la_SOURCES)
223 OBJECTS = libm.a.$(OBJEXT) libc.a.$(OBJEXT) $(libm_la_OBJECTS) $(libc_la_OBJECTS)
225 all: all-redirect
226 .SUFFIXES:
227 .SUFFIXES: .S .c .lo .o .obj .s
228 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
229 cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
231 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
232 cd $(top_builddir) \
233 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
235 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
236 cd $(srcdir) && $(ACLOCAL)
238 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
239 $(SHELL) ./config.status --recheck
240 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
241 cd $(srcdir) && $(AUTOCONF)
243 newlib.h: stamp-h
244 @if test ! -f $@; then \
245 rm -f stamp-h; \
246 $(MAKE) stamp-h; \
247 else :; fi
248 stamp-h: $(srcdir)/newlib.hin $(top_builddir)/config.status
249 cd $(top_builddir) \
250 && CONFIG_FILES= CONFIG_HEADERS=newlib.h:newlib.hin \
251 $(SHELL) ./config.status
252 @echo timestamp > stamp-h 2> /dev/null
253 $(srcdir)/newlib.hin: @MAINTAINER_MODE_TRUE@$(srcdir)/stamp-h.in
254 @if test ! -f $@; then \
255 rm -f $(srcdir)/stamp-h.in; \
256 $(MAKE) $(srcdir)/stamp-h.in; \
257 else :; fi
258 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
259 cd $(top_srcdir) && $(AUTOHEADER)
260 @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
262 mostlyclean-hdr:
264 clean-hdr:
266 distclean-hdr:
267 -rm -f newlib.h
269 maintainer-clean-hdr:
271 mostlyclean-toollibLIBRARIES:
273 clean-toollibLIBRARIES:
274 -test -z "$(toollib_LIBRARIES)" || rm -f $(toollib_LIBRARIES)
276 distclean-toollibLIBRARIES:
278 maintainer-clean-toollibLIBRARIES:
280 install-toollibLIBRARIES: $(toollib_LIBRARIES)
281 @$(NORMAL_INSTALL)
282 $(mkinstalldirs) $(DESTDIR)$(toollibdir)
283 @list='$(toollib_LIBRARIES)'; for p in $$list; do \
284 if test -f $$p; then \
285 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(toollibdir)/$$p"; \
286 $(INSTALL_DATA) $$p $(DESTDIR)$(toollibdir)/$$p; \
287 else :; fi; \
288 done
289 @$(POST_INSTALL)
290 @list='$(toollib_LIBRARIES)'; for p in $$list; do \
291 if test -f $$p; then \
292 echo " $(RANLIB) $(DESTDIR)$(toollibdir)/$$p"; \
293 $(RANLIB) $(DESTDIR)$(toollibdir)/$$p; \
294 else :; fi; \
295 done
297 uninstall-toollibLIBRARIES:
298 @$(NORMAL_UNINSTALL)
299 list='$(toollib_LIBRARIES)'; for p in $$list; do \
300 rm -f $(DESTDIR)$(toollibdir)/$$p; \
301 done
303 .c.o:
304 $(COMPILE) -c $<
306 # FIXME: We should only use cygpath when building on Windows,
307 # and only if it is available.
308 .c.obj:
309 $(COMPILE) -c `cygpath -w $<`
311 .s.o:
312 $(COMPILE) -c $<
314 .S.o:
315 $(COMPILE) -c $<
317 mostlyclean-compile:
318 -rm -f *.o core *.core
319 -rm -f *.$(OBJEXT)
321 clean-compile:
323 distclean-compile:
324 -rm -f *.tab.c
326 maintainer-clean-compile:
328 .c.lo:
329 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
331 .s.lo:
332 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
334 .S.lo:
335 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
337 mostlyclean-libtool:
338 -rm -f *.lo
340 clean-libtool:
341 -rm -rf .libs _libs
343 distclean-libtool:
345 maintainer-clean-libtool:
347 mostlyclean-toollibLTLIBRARIES:
349 clean-toollibLTLIBRARIES:
350 -test -z "$(toollib_LTLIBRARIES)" || rm -f $(toollib_LTLIBRARIES)
352 distclean-toollibLTLIBRARIES:
354 maintainer-clean-toollibLTLIBRARIES:
356 install-toollibLTLIBRARIES: $(toollib_LTLIBRARIES)
357 @$(NORMAL_INSTALL)
358 $(mkinstalldirs) $(DESTDIR)$(toollibdir)
359 @list='$(toollib_LTLIBRARIES)'; for p in $$list; do \
360 if test -f $$p; then \
361 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toollibdir)/$$p"; \
362 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toollibdir)/$$p; \
363 else :; fi; \
364 done
366 uninstall-toollibLTLIBRARIES:
367 @$(NORMAL_UNINSTALL)
368 list='$(toollib_LTLIBRARIES)'; for p in $$list; do \
369 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toollibdir)/$$p; \
370 done
372 libm.la: $(libm_la_OBJECTS) $(libm_la_DEPENDENCIES)
373 $(LINK) -rpath $(toollibdir) $(libm_la_LDFLAGS) $(libm_la_OBJECTS) $(libm_la_LIBADD) $(LIBS)
375 libc.la: $(libc_la_OBJECTS) $(libc_la_DEPENDENCIES)
376 $(LINK) -rpath $(toollibdir) $(libc_la_LDFLAGS) $(libc_la_OBJECTS) $(libc_la_LIBADD) $(LIBS)
378 install-toollibDATA: $(toollib_DATA)
379 @$(NORMAL_INSTALL)
380 $(mkinstalldirs) $(DESTDIR)$(toollibdir)
381 @list='$(toollib_DATA)'; for p in $$list; do \
382 if test -f $(srcdir)/$$p; then \
383 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(toollibdir)/$$p"; \
384 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(toollibdir)/$$p; \
385 else if test -f $$p; then \
386 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(toollibdir)/$$p"; \
387 $(INSTALL_DATA) $$p $(DESTDIR)$(toollibdir)/$$p; \
388 fi; fi; \
389 done
391 uninstall-toollibDATA:
392 @$(NORMAL_UNINSTALL)
393 list='$(toollib_DATA)'; for p in $$list; do \
394 rm -f $(DESTDIR)$(toollibdir)/$$p; \
395 done
397 # This directory's subdirectories are mostly independent; you can cd
398 # into them and run `make' without going through this Makefile.
399 # To change the values of `make' variables: instead of editing Makefiles,
400 # (1) if the variable is set in `config.status', edit `config.status'
401 # (which will cause the Makefiles to be regenerated when you run `make');
402 # (2) otherwise, pass the desired values on the `make' command line.
404 @SET_MAKE@
406 all-recursive install-data-recursive install-exec-recursive \
407 installdirs-recursive install-recursive uninstall-recursive install-info-recursive \
408 check-recursive installcheck-recursive info-recursive dvi-recursive:
409 @set fnord $(MAKEFLAGS); amf=$$2; \
410 dot_seen=no; \
411 target=`echo $@ | sed s/-recursive//`; \
412 list='$(SUBDIRS)'; for subdir in $$list; do \
413 echo "Making $$target in $$subdir"; \
414 if test "$$subdir" = "."; then \
415 dot_seen=yes; \
416 local_target="$$target-am"; \
417 else \
418 local_target="$$target"; \
419 fi; \
420 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
421 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
422 done; \
423 if test "$$dot_seen" = "no"; then \
424 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
425 fi; test -z "$$fail"
427 mostlyclean-recursive clean-recursive distclean-recursive \
428 maintainer-clean-recursive:
429 @set fnord $(MAKEFLAGS); amf=$$2; \
430 dot_seen=no; \
431 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
432 rev="$$subdir $$rev"; \
433 test "$$subdir" != "." || dot_seen=yes; \
434 done; \
435 test "$$dot_seen" = "no" && rev=". $$rev"; \
436 target=`echo $@ | sed s/-recursive//`; \
437 for subdir in $$rev; do \
438 echo "Making $$target in $$subdir"; \
439 if test "$$subdir" = "."; then \
440 local_target="$$target-am"; \
441 else \
442 local_target="$$target"; \
443 fi; \
444 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
445 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
446 done && test -z "$$fail"
447 tags-recursive:
448 list='$(SUBDIRS)'; for subdir in $$list; do \
449 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
450 done
452 tags: TAGS
454 ID: $(HEADERS) $(SOURCES) $(LISP)
455 list='$(SOURCES) $(HEADERS)'; \
456 unique=`for i in $$list; do echo $$i; done | \
457 awk ' { files[$$0] = 1; } \
458 END { for (i in files) print i; }'`; \
459 here=`pwd` && cd $(srcdir) \
460 && mkid -f$$here/ID $$unique $(LISP)
462 TAGS: tags-recursive $(HEADERS) $(SOURCES) newlib.hin $(TAGS_DEPENDENCIES) $(LISP)
463 tags=; \
464 here=`pwd`; \
465 list='$(SUBDIRS)'; for subdir in $$list; do \
466 if test "$$subdir" = .; then :; else \
467 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
468 fi; \
469 done; \
470 list='$(SOURCES) $(HEADERS)'; \
471 unique=`for i in $$list; do echo $$i; done | \
472 awk ' { files[$$0] = 1; } \
473 END { for (i in files) print i; }'`; \
474 test -z "$(ETAGS_ARGS)newlib.hin$$unique$(LISP)$$tags" \
475 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags newlib.hin $$unique $(LISP) -o $$here/TAGS)
477 mostlyclean-tags:
479 clean-tags:
481 distclean-tags:
482 -rm -f TAGS ID
484 maintainer-clean-tags:
486 distdir = $(PACKAGE)-$(VERSION)
487 top_distdir = $(distdir)
489 # This target untars the dist file and tries a VPATH configuration. Then
490 # it guarantees that the distribution is self-contained by making another
491 # tarfile.
492 distcheck: dist
493 -rm -rf $(distdir)
494 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
495 mkdir $(distdir)/=build
496 mkdir $(distdir)/=inst
497 dc_install_base=`cd $(distdir)/=inst && pwd`; \
498 cd $(distdir)/=build \
499 && ../configure --srcdir=.. --prefix=$$dc_install_base \
500 && $(MAKE) $(AM_MAKEFLAGS) \
501 && $(MAKE) $(AM_MAKEFLAGS) dvi \
502 && $(MAKE) $(AM_MAKEFLAGS) check \
503 && $(MAKE) $(AM_MAKEFLAGS) install \
504 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
505 && $(MAKE) $(AM_MAKEFLAGS) dist
506 -rm -rf $(distdir)
507 @banner="$(distdir).tar.gz is ready for distribution"; \
508 dashes=`echo "$$banner" | sed s/./=/g`; \
509 echo "$$dashes"; \
510 echo "$$banner"; \
511 echo "$$dashes"
512 dist: distdir
513 -chmod -R a+r $(distdir)
514 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
515 -rm -rf $(distdir)
516 dist-all: distdir
517 -chmod -R a+r $(distdir)
518 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
519 -rm -rf $(distdir)
520 distdir: $(DISTFILES)
521 -rm -rf $(distdir)
522 mkdir $(distdir)
523 -chmod 777 $(distdir)
524 @for file in $(DISTFILES); do \
525 if test -f $$file; then d=.; else d=$(srcdir); fi; \
526 if test -d $$d/$$file; then \
527 cp -pr $$d/$$file $(distdir)/$$file; \
528 else \
529 test -f $(distdir)/$$file \
530 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
531 || cp -p $$d/$$file $(distdir)/$$file || :; \
532 fi; \
533 done
534 for subdir in $(DIST_SUBDIRS); do \
535 if test "$$subdir" = .; then :; else \
536 test -d $(distdir)/$$subdir \
537 || mkdir $(distdir)/$$subdir \
538 || exit 1; \
539 chmod 777 $(distdir)/$$subdir; \
540 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
541 || exit 1; \
542 fi; \
543 done
545 DEJATOOL = $(PACKAGE)
547 RUNTESTDEFAULTFLAGS = --tool $(DEJATOOL) --srcdir $$srcdir
548 info-am:
549 info: info-recursive
550 dvi-am:
551 dvi: dvi-recursive
552 check-am:
553 $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
554 check: check-recursive
555 installcheck-am:
556 installcheck: installcheck-recursive
557 install-info-am:
558 install-info: install-info-recursive
559 all-recursive-am: newlib.h
560 $(MAKE) $(AM_MAKEFLAGS) all-recursive
562 install-exec-am:
563 install-exec: install-exec-recursive
565 install-data-am: install-toollibLIBRARIES install-toollibLTLIBRARIES \
566 install-toollibDATA install-data-local
567 install-data: install-data-recursive
569 install-am: all-am
570 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
571 install: install-recursive
572 uninstall-am: uninstall-toollibLIBRARIES uninstall-toollibLTLIBRARIES \
573 uninstall-toollibDATA
574 uninstall: uninstall-recursive
575 all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(DATA) newlib.h
576 all-redirect: all-recursive-am
577 install-strip:
578 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
579 installdirs: installdirs-recursive
580 installdirs-am:
581 $(mkinstalldirs) $(DESTDIR)$(toollibdir) $(DESTDIR)$(toollibdir) \
582 $(DESTDIR)$(toollibdir)
585 mostlyclean-generic:
587 clean-generic:
588 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
590 distclean-generic:
591 -rm -f Makefile $(CONFIG_CLEAN_FILES)
592 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
594 maintainer-clean-generic:
595 mostlyclean-am: mostlyclean-hdr mostlyclean-toollibLIBRARIES \
596 mostlyclean-compile mostlyclean-libtool \
597 mostlyclean-toollibLTLIBRARIES mostlyclean-tags \
598 mostlyclean-generic
600 mostlyclean: mostlyclean-recursive
602 clean-am: clean-hdr clean-toollibLIBRARIES clean-compile clean-libtool \
603 clean-toollibLTLIBRARIES clean-tags clean-generic \
604 mostlyclean-am
606 clean: clean-recursive
608 distclean-am: distclean-hdr distclean-toollibLIBRARIES \
609 distclean-compile distclean-libtool \
610 distclean-toollibLTLIBRARIES distclean-tags \
611 distclean-generic clean-am
612 -rm -f libtool
614 distclean: distclean-recursive
615 -rm -f config.status
617 maintainer-clean-am: maintainer-clean-hdr \
618 maintainer-clean-toollibLIBRARIES \
619 maintainer-clean-compile maintainer-clean-libtool \
620 maintainer-clean-toollibLTLIBRARIES \
621 maintainer-clean-tags maintainer-clean-generic \
622 distclean-am
623 @echo "This command is intended for maintainers to use;"
624 @echo "it deletes files that may require special tools to rebuild."
626 maintainer-clean: maintainer-clean-recursive
627 -rm -f config.status
629 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
630 mostlyclean-toollibLIBRARIES distclean-toollibLIBRARIES \
631 clean-toollibLIBRARIES maintainer-clean-toollibLIBRARIES \
632 uninstall-toollibLIBRARIES install-toollibLIBRARIES mostlyclean-compile \
633 distclean-compile clean-compile maintainer-clean-compile \
634 mostlyclean-libtool distclean-libtool clean-libtool \
635 maintainer-clean-libtool mostlyclean-toollibLTLIBRARIES \
636 distclean-toollibLTLIBRARIES clean-toollibLTLIBRARIES \
637 maintainer-clean-toollibLTLIBRARIES uninstall-toollibLTLIBRARIES \
638 install-toollibLTLIBRARIES uninstall-toollibDATA install-toollibDATA \
639 install-data-recursive uninstall-data-recursive install-exec-recursive \
640 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
641 all-recursive check-recursive installcheck-recursive info-recursive \
642 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
643 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
644 distclean-tags clean-tags maintainer-clean-tags distdir check-DEJAGNU \
645 info-am info dvi-am dvi check check-am installcheck-am installcheck \
646 install-info-am install-info all-recursive-am install-exec-am \
647 install-exec install-data-local install-data-am install-data install-am \
648 install uninstall-am uninstall all-redirect all-am all installdirs-am \
649 installdirs mostlyclean-generic distclean-generic clean-generic \
650 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
653 # objects listed later in LIBM_OBJECTLISTS will override those listed earlier
654 @USE_LIBTOOL_TRUE@libm-libtool-objectlist: $(LIBM_OBJECTLISTS)
655 @USE_LIBTOOL_TRUE@ cat $(LIBM_OBJECTLISTS) | $(AWK) '{ libm[$$1] = $$2 }; END { for (x in libm) printf ("%s\n", libm[x]) }' > $@
657 # objects listed later in LIBM_OBJECTLISTS and LIBC_OBJECTLISTS will override those listed earlier
658 @USE_LIBTOOL_TRUE@libc-libtool-objectlist: $(LIBM_OBJECTLISTS) $(LIBC_OBJECTLISTS)
659 @USE_LIBTOOL_TRUE@ cat $(LIBM_OBJECTLISTS) $(LIBC_OBJECTLISTS) | $(AWK) '{ libc[$$1] = $$2 }; END { for (x in libc) printf ("%s\n", libc[x]) }' > $@
661 @USE_LIBTOOL_FALSE@libc.a: libc/libc.a libm.a
662 @USE_LIBTOOL_FALSE@ rm -rf libc.a libg.a tmp
663 @USE_LIBTOOL_FALSE@ mkdir tmp
664 @USE_LIBTOOL_FALSE@ cd tmp; \
665 @USE_LIBTOOL_FALSE@ $(AR) x ../libm.a $(MATHOBJS_IN_LIBC) ; \
666 @USE_LIBTOOL_FALSE@ $(AR) x ../libc/libc.a ; \
667 @USE_LIBTOOL_FALSE@ $(AR) $(AR_FLAGS) ../$@ *.o
668 @USE_LIBTOOL_FALSE@ $(RANLIB) libc.a
669 @USE_LIBTOOL_FALSE@ ln libc.a libg.a >/dev/null 2>/dev/null || cp libc.a libg.a
670 @USE_LIBTOOL_FALSE@ rm -rf tmp
672 @USE_LIBTOOL_FALSE@libc/libc.a: ; @true
674 @USE_LIBTOOL_FALSE@libm.a: libm/libm.a
675 @USE_LIBTOOL_FALSE@ rm -f $@
676 @USE_LIBTOOL_FALSE@ ln libm/libm.a $@ >/dev/null 2>/dev/null || cp libm/libm.a $@
678 @USE_LIBTOOL_FALSE@libm/libm.a: ; @true
680 crt0.o: $(CRT0_DIR)$(CRT0)
681 rm -f $@
682 ln $(CRT0_DIR)$(CRT0) $@ >/dev/null 2>/dev/null \
683 || cp $(CRT0_DIR)$(CRT0) $@
685 $(CRT0_DIR)$(CRT0): ; @true
687 crt1.o: $(CRT1_DIR)$(CRT1)
688 rm -f $@
689 ln $(CRT0_DIR)$(CRT0) $@ >/dev/null 2>/dev/null \
690 || cp $(CRT0_DIR)$(CRT0) $@
692 $(CRT1_DIR)$(CRT1): ; @true
694 all-recursive: stmp-targ-include
696 # The targ-include directory just holds the includes files for the
697 # particular system and machine we have been configured for. It is
698 # used while building.
699 stmp-targ-include: config.status
700 -rm -rf targ-include stmp-targ-include
701 mkdir targ-include targ-include/sys targ-include/machine
702 cp newlib.h targ-include/newlib.h
703 -for i in $(srcdir)/libc/machine/$(machine_dir)/machine/*.h; do \
704 if [ -f $$i ]; then \
705 cp $$i targ-include/machine/`basename $$i`; \
706 else true; fi ; \
707 done
708 -for i in $(srcdir)/libc/sys/$(sys_dir)/include/*.h; do \
709 if [ -f $$i ]; then \
710 cp $$i targ-include/`basename $$i`; \
711 else true; fi ; \
712 done
713 -for i in $(srcdir)/libc/sys/$(sys_dir)/sys/*.h; do \
714 if [ -f $$i ]; then \
715 cp $$i targ-include/sys/`basename $$i`; \
716 else true; fi ; \
717 done
718 -for i in $(srcdir)/libc/sys/$(sys_dir)/machine/*.h; do \
719 if [ -f $$i ]; then \
720 cp $$i targ-include/machine/`basename $$i`; \
721 else true; fi ; \
722 done
723 -for i in $(srcdir)/libc/sys/$(sys_dir)/machine/$(machine_dir)/*.h; do \
724 if [ -f $$i ]; then \
725 cp $$i targ-include/machine/`basename $$i`; \
726 else true; fi ; \
727 done
728 -for i in $(srcdir)/libc/sys/$(sys_dir)/machine/$(machine_dir)/include/*.h; do \
729 if [ -f $$i ]; then \
730 cp $$i targ-include/machine/`basename $$i`; \
731 else true; fi ; \
732 done
733 touch $@
735 install-data-local: install-toollibLIBRARIES
736 @USE_LIBTOOL_FALSE@ rm -f $(DESTDIR)$(toollibdir)/libg.a
737 @USE_LIBTOOL_FALSE@ ln $(DESTDIR)$(toollibdir)/libc.a $(DESTDIR)$(toollibdir)/libg.a >/dev/null 2>/dev/null || cp $(DESTDIR)$(toollibdir)/libc.a $(DESTDIR)$(toollibdir)/libg.a
738 $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do # $(MAKE)
739 -if [ -z "$(MULTISUBDIR)" ]; then \
740 $(mkinstalldirs) $(DESTDIR)$(tooldir)/include; \
741 for i in $(srcdir)/libc/include/*.h; do \
742 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/`basename $$i`; \
743 done; \
744 $(INSTALL_DATA) newlib.h $(DESTDIR)$(tooldir)/include/newlib.h; \
745 $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/machine; \
746 for i in $(srcdir)/libc/include/machine/*.h; do \
747 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
748 done; \
749 for i in $(srcdir)/libc/machine/$(machine_dir)/machine/*.h; do \
750 if [ -f $$i ]; then \
751 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
752 else true; fi ; \
753 done; \
754 $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/sys; \
755 for i in $(srcdir)/libc/include/sys/*.h; do \
756 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \
757 done; \
758 for i in $(srcdir)/libc/sys/$(sys_dir)/sys/*.h; do \
759 if [ -f $$i ]; then \
760 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \
761 else true; fi ; \
762 done ; \
763 for i in $(srcdir)/libc/sys/$(sys_dir)/machine/*.h; do \
764 if [ -f $$i ]; then \
765 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
766 else true; fi ; \
767 done ; \
768 for i in $(srcdir)/libc/sys/$(sys_dir)/include/*.h; do \
769 if [ -f $$i ]; then \
770 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/`basename $$i`; \
771 else true; fi ; \
772 done ; \
773 for i in $(srcdir)/libc/sys/$(sys_dir)/machine/$(machine_dir)/include/*.h; do \
774 if [ -f $$i ]; then \
775 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
776 else true; fi ; \
777 done ; \
778 else true; fi
780 # Force makedoc to be built before building info files.
781 info-recursive: doc/makedoc
782 dvi-recursive: doc/makedoc
783 doc/makedoc:
784 cd doc && $(MAKE) all
786 # Multilib support.
787 .PHONY: all-multi check-multi mostlyclean-multi clean-multi distclean-multi \
788 maintainer-clean-multi
790 all-recursive: all-multi
791 check-recursive: check-multi
792 mostlyclean-recursive: mostlyclean-multi
793 clean-recursive: clean-multi
794 distclean-recursive: distclean-multi
795 maintainer-clean-recursive: maintainer-clean-multi
797 # The $(MAKE) comments below are to enable parallel building.
798 all-multi:
799 $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do # $(MAKE)
800 check-multi:
801 $(MULTIDO) $(AM_MAKEFLAGS) DO=check multi-do # $(MAKE)
802 mostlyclean-multi:
803 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean # $(MAKE)
804 clean-multi:
805 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean # $(MAKE)
806 distclean-multi:
807 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean # $(MAKE)
808 maintainer-clean-multi:
809 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean # $(MAKE)
811 site.exp: Makefile
812 @echo 'Making a new site.exp file...'
813 @test ! -f site.bak || rm -f site.bak
814 @echo '## these variables are automatically generated by make ##' > $@-t
815 @echo '# Do not edit here. If you wish to override these values' >> $@-t
816 @echo '# edit the last section' >> $@-t
817 @echo 'set tool $(DEJATOOL)' >> $@-t
818 @echo 'set tool_version $(VERSION)' >> $@-t
819 @echo 'set srcdir $(srcdir)/testsuite' >> $@-t
820 @echo 'set objdir' `pwd` >> $@-t
821 @echo 'set multibuildtop ./$(MULTIBUILDTOP)' >> $@-t
822 @echo 'set host_alias $(build_alias)' >> $@-t
823 @echo 'set host_triplet $(build_triplet)' >> $@-t
824 @echo 'set target_alias $(host_alias)' >> $@-t
825 @echo 'set target_triplet $(host_triplet)' >> $@-t
826 @echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t
827 @test ! -f site.exp || sed '1,/^## All variables above are.*##/ d' site.exp >> $@-t
828 @test ! -f site.exp || mv site.exp site.bak
829 @mv $@-t site.exp
831 check-DEJAGNU: site.exp
832 @if [ -d testsuite ] ; then \
833 true ; \
834 else \
835 mkdir testsuite ; \
837 @rm -f testsuite/site.exp
838 @cp site.exp testsuite/site.exp
839 @rootme=`pwd` ; \
840 export rootme ; \
841 srcdir=`cd ${srcdir}; pwd` ; \
842 export srcdir ; \
843 EXPECT=`if [ -f $${rootme}/${MULTIBUILDTOP}../../expect/expect ] ; then \
844 echo $${rootme}/${MULTIBUILDTOP}../../expect/expect ; \
845 else \
846 echo expect ; \
847 fi` ; \
848 export EXPECT ; \
849 echo "Found expect: $${EXPECT}" ; \
850 if [ -f $(top_builddir)/$(MULTIBUILDTOP)../../expect/expect ] ; then \
851 TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd` ; \
852 export TCL_LIBRARY ; \
853 echo "Found TCL library directory: $${TCL_LIBRARY}" ; \
854 fi ; \
855 RUNTEST=`if [ -f $${srcdir}/../dejagnu/runtest ] ; then \
856 echo $${srcdir}/../dejagnu/runtest ; \
857 else \
858 echo runtest ; \
859 fi` ; \
860 export RUNTEST ; \
861 echo "Found runtest: $${RUNTEST}" ; \
862 cd testsuite ; \
863 if $(SHELL) -c "$$RUNTEST --version" > /dev/null 2>&1 ; then \
864 $$RUNTEST --tool $(DEJATOOL) --srcdir $${srcdir}/testsuite $(RUNTESTFLAGS) ; \
865 : ; \
866 else \
867 echo "WARNING: could not find \`runtest'" 1>&2 ; \
870 # Tell versions [3.59,3.63) of GNU make to not export all variables.
871 # Otherwise a system limit (for SysV at least) may be exceeded.
872 .NOEXPORT: