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
17 top_srcdir = @top_srcdir@
20 exec_prefix = @exec_prefix@
24 libexecdir = @libexecdir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
46 AUTOHEADER = @AUTOHEADER@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
60 build_alias = @build_alias@
61 build_triplet = @build@
62 host_alias = @host_alias@
64 target_alias = @target_alias@
65 target_triplet = @target@
70 CC_FOR_BUILD = @CC_FOR_BUILD@
71 CC_FOR_NEWLIB = @CC_FOR_NEWLIB@
81 EXTRA_DIRS = @EXTRA_DIRS@
85 LIBM_MACHINE_OBJECTLIST = @LIBM_MACHINE_OBJECTLIST@
88 MACHINE_OBJECTLIST = @MACHINE_OBJECTLIST@
91 NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
95 POSIX_OBJECTLIST = @POSIX_OBJECTLIST@
97 SIGNAL_OBJECTLIST = @SIGNAL_OBJECTLIST@
98 STDIO64_OBJECTLIST = @STDIO64_OBJECTLIST@
100 SYSCALL_OBJECTLIST = @SYSCALL_OBJECTLIST@
101 SYS_MACH_OBJECTLIST = @SYS_MACH_OBJECTLIST@
102 SYS_OBJECTLIST = @SYS_OBJECTLIST@
103 UNIX_OBJECTLIST = @UNIX_OBJECTLIST@
106 libc_cv_array_aliasing = @libc_cv_array_aliasing@
107 libc_cv_initfinit_array = @libc_cv_initfinit_array@
108 libm_machine_dir = @libm_machine_dir@
109 machine_dir = @machine_dir@
110 newlib_basedir = @newlib_basedir@
114 AUTOMAKE_OPTIONS = cygnus dejagnu
116 # Multilib support variables.
124 LIBTOOL_VERSION_INFO = 0:0:0
125 @NEWLIB_HW_FP_TRUE@MATHDIR = mathfp
126 @NEWLIB_HW_FP_FALSE@MATHDIR = math
128 # Work around what appears to be a GNU make bug handling MAKEFLAGS
129 # values defined in terms of make variables, as is the case for CC and
130 # friends when we are called from the top level Makefile.
131 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)"
134 FLAGS_TO_PASS = $(AM_MAKEFLAGS)
135 @HAVE_DOC_TRUE@DOCDIR = doc
136 @HAVE_DOC_FALSE@DOCDIR =
138 SUBDIRS = libc libm $(DOCDIR) . $(EXTRA_DIRS)
141 tooldir = $(exec_prefix)/$(host_alias)
142 toollibdir = $(tooldir)/lib$(MULTISUBDIR)
146 @USE_LIBTOOL_TRUE@toollib_LTLIBRARIES = libm.la libc.la
147 @USE_LIBTOOL_FALSE@toollib_LIBRARIES = libm.a libc.a
149 noinst_DATA = stmp-targ-include
151 toollib_DATA = $(CRT0) $(CRT1)
153 # The functions ldexp, frexp and modf are traditionally supplied in
154 # both libc.a and libm.a. We build them in libm.a and copy them over,
155 # along with some required supporting routines.
156 MATHOBJS_IN_LIBC = s_isinf.$(oext) sf_isinf.$(oext) s_isnan.$(oext) sf_isnan.$(oext) s_nan.$(oext) sf_nan.$(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)
159 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)
162 LIBM_OBJECTLISTS = libm/$(MATHDIR)/objectlist.awk.in libm/common/objectlist.awk.in $(LIBM_MACHINE_OBJECTLIST)
165 libm_la_LDFLAGS = -version-info $(LIBTOOL_VERSION_INFO) -release newlib -no-undefined -Xcompiler -nostdlib -Xlinker --version-script=$(srcdir)/libc/sys/linux/shared.ld -lgcc -objectlist libm-libtool-objectlist
167 libc_la_LDFLAGS = -version-info $(LIBTOOL_VERSION_INFO) -release newlib -no-undefined -Xcompiler -nostdlib -Xlinker --version-script=$(srcdir)/libc/sys/linux/shared.ld -lgcc -objectlist libc-libtool-objectlist
169 @USE_LIBTOOL_TRUE@libm_la_SOURCES =
170 @USE_LIBTOOL_TRUE@libm_la_DEPENDENCIES = libm-libtool-objectlist
172 @USE_LIBTOOL_TRUE@libc_la_SOURCES =
173 @USE_LIBTOOL_TRUE@libc_la_DEPENDENCIES = libc-libtool-objectlist
175 CLEANFILES = targ-include stmp-targ-include
177 CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
184 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
185 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
186 CONFIG_HEADER = newlib.h
188 LIBRARIES = $(toollib_LIBRARIES)
191 DEFS = @DEFS@ -I. -I$(srcdir) -I.
192 CPPFLAGS = @CPPFLAGS@
195 libm_a_SOURCES = libm.a.c
196 libm_a_OBJECTS = libm.a.$(OBJEXT)
198 libc_a_SOURCES = libc.a.c
199 libc_a_OBJECTS = libc.a.$(OBJEXT)
200 LTLIBRARIES = $(toollib_LTLIBRARIES)
203 @USE_LIBTOOL_TRUE@libm_la_OBJECTS =
205 @USE_LIBTOOL_TRUE@libc_la_OBJECTS =
207 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
208 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
210 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
211 DATA = $(noinst_DATA) $(toollib_DATA)
213 DIST_COMMON = README ./stamp-h.in ChangeLog Makefile.am Makefile.in \
214 NEWS acinclude.m4 aclocal.m4 configure configure.in newlib.hin
217 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
221 DIST_SUBDIRS = libc libm doc . @EXTRA_DIRS@
222 EXPECT = `if test -f $(top_builddir)/../expect/expect; then echo $(top_builddir)/../expect/expect; else echo expect; fi`
223 RUNTEST = `if test -f $(top_srcdir)/../dejagnu/runtest; then echo $(top_srcdir)/../dejagnu/runtest; else echo runtest; fi`
224 SOURCES = libm.a.c libc.a.c $(libm_la_SOURCES) $(libc_la_SOURCES)
225 OBJECTS = libm.a.$(OBJEXT) libc.a.$(OBJEXT) $(libm_la_OBJECTS) $(libc_la_OBJECTS)
229 .SUFFIXES: .S .c .lo .o .obj .s
230 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
231 cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
233 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
235 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
237 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
238 cd $(srcdir) && $(ACLOCAL)
240 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
241 $(SHELL) ./config.status --recheck
242 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
243 cd $(srcdir) && $(AUTOCONF)
246 @if test ! -f $@; then \
250 stamp-h: $(srcdir)/newlib.hin $(top_builddir)/config.status
252 && CONFIG_FILES= CONFIG_HEADERS=newlib.h:newlib.hin \
253 $(SHELL) ./config.status
254 @echo timestamp > stamp-h 2> /dev/null
255 $(srcdir)/newlib.hin: @MAINTAINER_MODE_TRUE@$(srcdir)/stamp-h.in
256 @if test ! -f $@; then \
257 rm -f $(srcdir)/stamp-h.in; \
258 $(MAKE) $(srcdir)/stamp-h.in; \
260 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
261 cd $(top_srcdir) && $(AUTOHEADER)
262 @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
271 maintainer-clean-hdr:
273 mostlyclean-toollibLIBRARIES:
275 clean-toollibLIBRARIES:
276 -test -z "$(toollib_LIBRARIES)" || rm -f $(toollib_LIBRARIES)
278 distclean-toollibLIBRARIES:
280 maintainer-clean-toollibLIBRARIES:
282 install-toollibLIBRARIES: $(toollib_LIBRARIES)
284 $(mkinstalldirs) $(DESTDIR)$(toollibdir)
285 @list='$(toollib_LIBRARIES)'; for p in $$list; do \
286 if test -f $$p; then \
287 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(toollibdir)/$$p"; \
288 $(INSTALL_DATA) $$p $(DESTDIR)$(toollibdir)/$$p; \
292 @list='$(toollib_LIBRARIES)'; for p in $$list; do \
293 if test -f $$p; then \
294 echo " $(RANLIB) $(DESTDIR)$(toollibdir)/$$p"; \
295 $(RANLIB) $(DESTDIR)$(toollibdir)/$$p; \
299 uninstall-toollibLIBRARIES:
301 list='$(toollib_LIBRARIES)'; for p in $$list; do \
302 rm -f $(DESTDIR)$(toollibdir)/$$p; \
308 # FIXME: We should only use cygpath when building on Windows,
309 # and only if it is available.
311 $(COMPILE) -c `cygpath -w $<`
320 -rm -f *.o core *.core
328 maintainer-clean-compile:
331 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
334 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
337 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
347 maintainer-clean-libtool:
349 mostlyclean-toollibLTLIBRARIES:
351 clean-toollibLTLIBRARIES:
352 -test -z "$(toollib_LTLIBRARIES)" || rm -f $(toollib_LTLIBRARIES)
354 distclean-toollibLTLIBRARIES:
356 maintainer-clean-toollibLTLIBRARIES:
358 install-toollibLTLIBRARIES: $(toollib_LTLIBRARIES)
360 $(mkinstalldirs) $(DESTDIR)$(toollibdir)
361 @list='$(toollib_LTLIBRARIES)'; for p in $$list; do \
362 if test -f $$p; then \
363 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toollibdir)/$$p"; \
364 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toollibdir)/$$p; \
368 uninstall-toollibLTLIBRARIES:
370 list='$(toollib_LTLIBRARIES)'; for p in $$list; do \
371 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toollibdir)/$$p; \
374 libm.la: $(libm_la_OBJECTS) $(libm_la_DEPENDENCIES)
375 $(LINK) -rpath $(toollibdir) $(libm_la_LDFLAGS) $(libm_la_OBJECTS) $(libm_la_LIBADD) $(LIBS)
377 libc.la: $(libc_la_OBJECTS) $(libc_la_DEPENDENCIES)
378 $(LINK) -rpath $(toollibdir) $(libc_la_LDFLAGS) $(libc_la_OBJECTS) $(libc_la_LIBADD) $(LIBS)
380 install-toollibDATA: $(toollib_DATA)
382 $(mkinstalldirs) $(DESTDIR)$(toollibdir)
383 @list='$(toollib_DATA)'; for p in $$list; do \
384 if test -f $(srcdir)/$$p; then \
385 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(toollibdir)/$$p"; \
386 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(toollibdir)/$$p; \
387 else if test -f $$p; then \
388 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(toollibdir)/$$p"; \
389 $(INSTALL_DATA) $$p $(DESTDIR)$(toollibdir)/$$p; \
393 uninstall-toollibDATA:
395 list='$(toollib_DATA)'; for p in $$list; do \
396 rm -f $(DESTDIR)$(toollibdir)/$$p; \
399 # This directory's subdirectories are mostly independent; you can cd
400 # into them and run `make' without going through this Makefile.
401 # To change the values of `make' variables: instead of editing Makefiles,
402 # (1) if the variable is set in `config.status', edit `config.status'
403 # (which will cause the Makefiles to be regenerated when you run `make');
404 # (2) otherwise, pass the desired values on the `make' command line.
408 all-recursive install-data-recursive install-exec-recursive \
409 installdirs-recursive install-recursive uninstall-recursive install-info-recursive \
410 check-recursive installcheck-recursive info-recursive dvi-recursive:
411 @set fnord $(MAKEFLAGS); amf=$$2; \
413 target=`echo $@ | sed s/-recursive//`; \
414 list='$(SUBDIRS)'; for subdir in $$list; do \
415 echo "Making $$target in $$subdir"; \
416 if test "$$subdir" = "."; then \
418 local_target="$$target-am"; \
420 local_target="$$target"; \
422 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
423 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
425 if test "$$dot_seen" = "no"; then \
426 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
429 mostlyclean-recursive clean-recursive distclean-recursive \
430 maintainer-clean-recursive:
431 @set fnord $(MAKEFLAGS); amf=$$2; \
433 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
434 rev="$$subdir $$rev"; \
435 test "$$subdir" != "." || dot_seen=yes; \
437 test "$$dot_seen" = "no" && rev=". $$rev"; \
438 target=`echo $@ | sed s/-recursive//`; \
439 for subdir in $$rev; do \
440 echo "Making $$target in $$subdir"; \
441 if test "$$subdir" = "."; then \
442 local_target="$$target-am"; \
444 local_target="$$target"; \
446 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
447 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
448 done && test -z "$$fail"
450 list='$(SUBDIRS)'; for subdir in $$list; do \
451 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
456 ID: $(HEADERS) $(SOURCES) $(LISP)
457 list='$(SOURCES) $(HEADERS)'; \
458 unique=`for i in $$list; do echo $$i; done | \
459 awk ' { files[$$0] = 1; } \
460 END { for (i in files) print i; }'`; \
461 here=`pwd` && cd $(srcdir) \
462 && mkid -f$$here/ID $$unique $(LISP)
464 TAGS: tags-recursive $(HEADERS) $(SOURCES) newlib.hin $(TAGS_DEPENDENCIES) $(LISP)
467 list='$(SUBDIRS)'; for subdir in $$list; do \
468 if test "$$subdir" = .; then :; else \
469 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
472 list='$(SOURCES) $(HEADERS)'; \
473 unique=`for i in $$list; do echo $$i; done | \
474 awk ' { files[$$0] = 1; } \
475 END { for (i in files) print i; }'`; \
476 test -z "$(ETAGS_ARGS)newlib.hin$$unique$(LISP)$$tags" \
477 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags newlib.hin $$unique $(LISP) -o $$here/TAGS)
486 maintainer-clean-tags:
488 distdir = $(PACKAGE)-$(VERSION)
489 top_distdir = $(distdir)
491 # This target untars the dist file and tries a VPATH configuration. Then
492 # it guarantees that the distribution is self-contained by making another
496 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
497 mkdir $(distdir)/=build
498 mkdir $(distdir)/=inst
499 dc_install_base=`cd $(distdir)/=inst && pwd`; \
500 cd $(distdir)/=build \
501 && ../configure --srcdir=.. --prefix=$$dc_install_base \
502 && $(MAKE) $(AM_MAKEFLAGS) \
503 && $(MAKE) $(AM_MAKEFLAGS) dvi \
504 && $(MAKE) $(AM_MAKEFLAGS) check \
505 && $(MAKE) $(AM_MAKEFLAGS) install \
506 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
507 && $(MAKE) $(AM_MAKEFLAGS) dist
509 @banner="$(distdir).tar.gz is ready for distribution"; \
510 dashes=`echo "$$banner" | sed s/./=/g`; \
515 -chmod -R a+r $(distdir)
516 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
519 -chmod -R a+r $(distdir)
520 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
522 distdir: $(DISTFILES)
525 -chmod 777 $(distdir)
526 @for file in $(DISTFILES); do \
527 if test -f $$file; then d=.; else d=$(srcdir); fi; \
528 if test -d $$d/$$file; then \
529 cp -pr $$d/$$file $(distdir)/$$file; \
531 test -f $(distdir)/$$file \
532 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
533 || cp -p $$d/$$file $(distdir)/$$file || :; \
536 for subdir in $(DIST_SUBDIRS); do \
537 if test "$$subdir" = .; then :; else \
538 test -d $(distdir)/$$subdir \
539 || mkdir $(distdir)/$$subdir \
541 chmod 777 $(distdir)/$$subdir; \
542 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
547 DEJATOOL = $(PACKAGE)
549 RUNTESTDEFAULTFLAGS = --tool $(DEJATOOL) --srcdir $$srcdir
555 $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
556 check: check-recursive
558 installcheck: installcheck-recursive
560 install-info: install-info-recursive
561 all-recursive-am: newlib.h
562 $(MAKE) $(AM_MAKEFLAGS) all-recursive
565 install-exec: install-exec-recursive
567 install-data-am: install-toollibLIBRARIES install-toollibLTLIBRARIES \
568 install-toollibDATA install-data-local
569 install-data: install-data-recursive
572 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
573 install: install-recursive
574 uninstall-am: uninstall-toollibLIBRARIES uninstall-toollibLTLIBRARIES \
575 uninstall-toollibDATA
576 uninstall: uninstall-recursive
577 all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(DATA) newlib.h
578 all-redirect: all-recursive-am
580 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
581 installdirs: installdirs-recursive
583 $(mkinstalldirs) $(DESTDIR)$(toollibdir) $(DESTDIR)$(toollibdir) \
584 $(DESTDIR)$(toollibdir)
590 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
593 -rm -f Makefile $(CONFIG_CLEAN_FILES)
594 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
596 maintainer-clean-generic:
597 mostlyclean-am: mostlyclean-hdr mostlyclean-toollibLIBRARIES \
598 mostlyclean-compile mostlyclean-libtool \
599 mostlyclean-toollibLTLIBRARIES mostlyclean-tags \
602 mostlyclean: mostlyclean-recursive
604 clean-am: clean-hdr clean-toollibLIBRARIES clean-compile clean-libtool \
605 clean-toollibLTLIBRARIES clean-tags clean-generic \
608 clean: clean-recursive
610 distclean-am: distclean-hdr distclean-toollibLIBRARIES \
611 distclean-compile distclean-libtool \
612 distclean-toollibLTLIBRARIES distclean-tags \
613 distclean-generic clean-am
616 distclean: distclean-recursive
619 maintainer-clean-am: maintainer-clean-hdr \
620 maintainer-clean-toollibLIBRARIES \
621 maintainer-clean-compile maintainer-clean-libtool \
622 maintainer-clean-toollibLTLIBRARIES \
623 maintainer-clean-tags maintainer-clean-generic \
625 @echo "This command is intended for maintainers to use;"
626 @echo "it deletes files that may require special tools to rebuild."
628 maintainer-clean: maintainer-clean-recursive
631 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
632 mostlyclean-toollibLIBRARIES distclean-toollibLIBRARIES \
633 clean-toollibLIBRARIES maintainer-clean-toollibLIBRARIES \
634 uninstall-toollibLIBRARIES install-toollibLIBRARIES mostlyclean-compile \
635 distclean-compile clean-compile maintainer-clean-compile \
636 mostlyclean-libtool distclean-libtool clean-libtool \
637 maintainer-clean-libtool mostlyclean-toollibLTLIBRARIES \
638 distclean-toollibLTLIBRARIES clean-toollibLTLIBRARIES \
639 maintainer-clean-toollibLTLIBRARIES uninstall-toollibLTLIBRARIES \
640 install-toollibLTLIBRARIES uninstall-toollibDATA install-toollibDATA \
641 install-data-recursive uninstall-data-recursive install-exec-recursive \
642 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
643 all-recursive check-recursive installcheck-recursive info-recursive \
644 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
645 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
646 distclean-tags clean-tags maintainer-clean-tags distdir check-DEJAGNU \
647 info-am info dvi-am dvi check check-am installcheck-am installcheck \
648 install-info-am install-info all-recursive-am install-exec-am \
649 install-exec install-data-local install-data-am install-data install-am \
650 install uninstall-am uninstall all-redirect all-am all installdirs-am \
651 installdirs mostlyclean-generic distclean-generic clean-generic \
652 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
655 # objects listed later in LIBM_OBJECTLISTS will override those listed earlier
656 @USE_LIBTOOL_TRUE@libm-libtool-objectlist: $(LIBM_OBJECTLISTS)
657 @USE_LIBTOOL_TRUE@ cat $(LIBM_OBJECTLISTS) | $(AWK) '{ libm[$$1] = $$2 }; END { for (x in libm) printf ("%s\n", libm[x]) }' > $@
659 # objects listed later in LIBM_OBJECTLISTS and LIBC_OBJECTLISTS will override those listed earlier
660 @USE_LIBTOOL_TRUE@libc-libtool-objectlist: $(LIBM_OBJECTLISTS) $(LIBC_OBJECTLISTS)
661 @USE_LIBTOOL_TRUE@ cat $(LIBM_OBJECTLISTS) $(LIBC_OBJECTLISTS) | $(AWK) '{ libc[$$1] = $$2 }; END { for (x in libc) printf ("%s\n", libc[x]) }' > $@
663 @USE_LIBTOOL_FALSE@libc.a: libc/libc.a libm.a
664 @USE_LIBTOOL_FALSE@ rm -rf libc.a libg.a tmp
665 @USE_LIBTOOL_FALSE@ mkdir tmp
666 @USE_LIBTOOL_FALSE@ cd tmp; \
667 @USE_LIBTOOL_FALSE@ $(AR) x ../libm.a $(MATHOBJS_IN_LIBC) ; \
668 @USE_LIBTOOL_FALSE@ $(AR) x ../libc/libc.a ; \
669 @USE_LIBTOOL_FALSE@ $(AR) $(AR_FLAGS) ../$@ *.o
670 @USE_LIBTOOL_FALSE@ $(RANLIB) libc.a
671 @USE_LIBTOOL_FALSE@ ln libc.a libg.a >/dev/null 2>/dev/null || cp libc.a libg.a
672 @USE_LIBTOOL_FALSE@ rm -rf tmp
674 @USE_LIBTOOL_FALSE@libc/libc.a: ; @true
676 @USE_LIBTOOL_FALSE@libm.a: libm/libm.a
677 @USE_LIBTOOL_FALSE@ rm -f $@
678 @USE_LIBTOOL_FALSE@ ln libm/libm.a $@ >/dev/null 2>/dev/null || cp libm/libm.a $@
680 @USE_LIBTOOL_FALSE@libm/libm.a: ; @true
682 crt0.o: $(CRT0_DIR)$(CRT0)
684 ln $(CRT0_DIR)$(CRT0) $@ >/dev/null 2>/dev/null \
685 || cp $(CRT0_DIR)$(CRT0) $@
687 $(CRT0_DIR)$(CRT0): ; @true
689 crt1.o: $(CRT1_DIR)$(CRT1)
691 ln $(CRT0_DIR)$(CRT0) $@ >/dev/null 2>/dev/null \
692 || cp $(CRT0_DIR)$(CRT0) $@
694 $(CRT1_DIR)$(CRT1): ; @true
696 all-recursive: stmp-targ-include
698 # The targ-include directory just holds the includes files for the
699 # particular system and machine we have been configured for. It is
700 # used while building.
701 stmp-targ-include: config.status
702 -rm -rf targ-include stmp-targ-include
703 mkdir targ-include targ-include/sys targ-include/machine targ-include/bits
704 cp newlib.h targ-include/newlib.h
705 -for i in $(srcdir)/libc/machine/$(machine_dir)/machine/*.h; do \
706 if [ -f $$i ]; then \
707 cp $$i targ-include/machine/`basename $$i`; \
710 -for i in $(srcdir)/libc/machine/$(machine_dir)/sys/*.h; do \
711 if [ -f $$i ]; then \
712 cp $$i targ-include/sys/`basename $$i`; \
715 -for i in $(srcdir)/libc/machine/$(machine_dir)/include/*.h; do \
716 if [ -f $$i ]; then \
717 cp $$i targ-include/`basename $$i`; \
720 -for i in $(srcdir)/libc/sys/$(sys_dir)/include/*.h; do \
721 if [ -f $$i ]; then \
722 cp $$i targ-include/`basename $$i`; \
725 -for i in $(srcdir)/libc/sys/$(sys_dir)/sys/*.h; do \
726 if [ -f $$i ]; then \
727 cp $$i targ-include/sys/`basename $$i`; \
730 -for i in $(srcdir)/libc/sys/$(sys_dir)/bits/*.h; do \
731 if [ -f $$i ]; then \
732 cp $$i targ-include/bits/`basename $$i`; \
735 -for i in $(srcdir)/libc/sys/$(sys_dir)/machine/*.h; do \
736 if [ -f $$i ]; then \
737 cp $$i targ-include/machine/`basename $$i`; \
740 -for i in $(srcdir)/libc/sys/$(sys_dir)/machine/$(machine_dir)/*.h; do \
741 if [ -f $$i ]; then \
742 cp $$i targ-include/machine/`basename $$i`; \
745 -for i in $(srcdir)/libc/sys/$(sys_dir)/machine/$(machine_dir)/include/*.h; do \
746 if [ -f $$i ]; then \
747 cp $$i targ-include/machine/`basename $$i`; \
752 install-data-local: install-toollibLIBRARIES
753 @USE_LIBTOOL_FALSE@ rm -f $(DESTDIR)$(toollibdir)/libg.a
754 @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
755 $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do # $(MAKE)
756 -if [ -z "$(MULTISUBDIR)" ]; then \
757 $(mkinstalldirs) $(DESTDIR)$(tooldir)/include; \
758 for i in $(srcdir)/libc/include/*.h; do \
759 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/`basename $$i`; \
761 $(INSTALL_DATA) newlib.h $(DESTDIR)$(tooldir)/include/newlib.h; \
762 $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/machine; \
763 for i in $(srcdir)/libc/include/machine/*.h; do \
764 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
766 for i in $(srcdir)/libc/machine/$(machine_dir)/machine/*.h; do \
767 if [ -f $$i ]; then \
768 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
771 $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/sys; \
772 for i in $(srcdir)/libc/include/sys/*.h; do \
773 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \
775 for i in $(srcdir)/libc/machine/$(machine_dir)/sys/*.h; do \
776 if [ -f $$i ]; then \
777 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \
780 for i in $(srcdir)/libc/machine/$(machine_dir)/include/*.h; do \
781 if [ -f $$i ]; then \
782 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/`basename $$i`; \
785 for i in $(srcdir)/libc/sys/$(sys_dir)/sys/*.h; do \
786 if [ -f $$i ]; then \
787 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \
790 $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/bits; \
791 for i in $(srcdir)/libc/sys/$(sys_dir)/bits/*.h; do \
792 if [ -f $$i ]; then \
793 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/bits/`basename $$i`; \
796 for i in $(srcdir)/libc/sys/$(sys_dir)/machine/*.h; do \
797 if [ -f $$i ]; then \
798 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
801 for i in $(srcdir)/libc/sys/$(sys_dir)/include/*.h; do \
802 if [ -f $$i ]; then \
803 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/`basename $$i`; \
806 for i in $(srcdir)/libc/sys/$(sys_dir)/machine/$(machine_dir)/include/*.h; do \
807 if [ -f $$i ]; then \
808 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
813 # Force makedoc to be built before building info files.
814 info-recursive: doc/makedoc
815 dvi-recursive: doc/makedoc
817 cd doc && $(MAKE) all
820 .PHONY: all-multi check-multi mostlyclean-multi clean-multi distclean-multi \
821 maintainer-clean-multi
823 all-recursive: all-multi
824 check-recursive: check-multi
825 mostlyclean-recursive: mostlyclean-multi
826 clean-recursive: clean-multi
827 distclean-recursive: distclean-multi
828 maintainer-clean-recursive: maintainer-clean-multi
830 # The $(MAKE) comments below are to enable parallel building.
832 $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do # $(MAKE)
834 $(MULTIDO) $(AM_MAKEFLAGS) DO=check multi-do # $(MAKE)
836 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean # $(MAKE)
838 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean # $(MAKE)
840 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean # $(MAKE)
841 maintainer-clean-multi:
842 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean # $(MAKE)
845 @echo 'Making a new site.exp file...'
846 @test ! -f site.bak || rm -f site.bak
847 @echo '## these variables are automatically generated by make ##' > $@-t
848 @echo '# Do not edit here. If you wish to override these values' >> $@-t
849 @echo '# edit the last section' >> $@-t
850 @echo 'set tool $(DEJATOOL)' >> $@-t
851 @echo 'set tool_version $(VERSION)' >> $@-t
852 @echo 'set srcdir $(srcdir)/testsuite' >> $@-t
853 @echo 'set objdir' `pwd` >> $@-t
854 @echo 'set tmpdir' `pwd`/testsuite >> $@-t
855 @echo 'set multibuildtop ./$(MULTIBUILDTOP)' >> $@-t
856 @echo 'set host_alias $(build_alias)' >> $@-t
857 @echo 'set host_triplet $(build_triplet)' >> $@-t
858 @echo 'set target_alias $(host_alias)' >> $@-t
859 @echo 'set target_triplet $(host_triplet)' >> $@-t
860 @echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t
861 @test ! -f site.exp || sed '1,/^## All variables above are.*##/ d' site.exp >> $@-t
862 @test ! -f site.exp || mv site.exp site.bak
865 check-DEJAGNU: site.exp
866 @if [ -d testsuite ] ; then \
871 @rm -f testsuite/site.exp
872 @cp site.exp testsuite/site.exp
875 srcdir=`cd ${srcdir}; pwd` ; \
877 EXPECT=`if [ -f $${rootme}/${MULTIBUILDTOP}../../expect/expect ] ; then \
878 echo $${rootme}/${MULTIBUILDTOP}../../expect/expect ; \
883 echo "Found expect: $${EXPECT}" ; \
884 if [ -f $(top_builddir)/$(MULTIBUILDTOP)../../expect/expect ] ; then \
885 TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd` ; \
886 export TCL_LIBRARY ; \
887 echo "Found TCL library directory: $${TCL_LIBRARY}" ; \
889 RUNTEST=`if [ -f $${srcdir}/../dejagnu/runtest ] ; then \
890 echo $${srcdir}/../dejagnu/runtest ; \
895 echo "Found runtest: $${RUNTEST}" ; \
897 if $(SHELL) -c "$$RUNTEST --version" > /dev/null 2>&1 ; then \
898 $$RUNTEST --tool $(DEJATOOL) --srcdir $${srcdir}/testsuite $(RUNTESTFLAGS) ; \
901 echo "WARNING: could not find \`runtest'" 1>&2 ; \
904 # Tell versions [3.59,3.63) of GNU make to not export all variables.
905 # Otherwise a system limit (for SysV at least) may be exceeded.