1 # Makefile.in generated automatically by automake 1.4 from Makefile.am
3 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
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@
80 LIBM_MACHINE_OBJECTLIST = @LIBM_MACHINE_OBJECTLIST@
83 MACHINE_OBJECTLIST = @MACHINE_OBJECTLIST@
86 NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
89 POSIX_OBJECTLIST = @POSIX_OBJECTLIST@
91 SIGNAL_OBJECTLIST = @SIGNAL_OBJECTLIST@
92 SYSCALL_OBJECTLIST = @SYSCALL_OBJECTLIST@
93 SYS_MACH_OBJECTLIST = @SYS_MACH_OBJECTLIST@
94 SYS_OBJECTLIST = @SYS_OBJECTLIST@
95 UNIX_OBJECTLIST = @UNIX_OBJECTLIST@
98 libm_machine_dir = @libm_machine_dir@
99 machine_dir = @machine_dir@
100 newlib_basedir = @newlib_basedir@
104 AUTOMAKE_OPTIONS = cygnus dejagnu
106 # Multilib support variables.
114 LIBTOOL_VERSION_INFO = 0:0:0
115 @NEWLIB_HW_FP_TRUE@MATHDIR = @NEWLIB_HW_FP_TRUE@mathfp
116 @NEWLIB_HW_FP_FALSE@MATHDIR = @NEWLIB_HW_FP_FALSE@math
118 # Work around what appears to be a GNU make bug handling MAKEFLAGS
119 # values defined in terms of make variables, as is the case for CC and
120 # friends when we are called from the top level Makefile.
122 "AR_FLAGS=$(AR_FLAGS)" \
123 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
125 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
126 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
127 "LDFLAGS=$(LDFLAGS)" \
128 "LIBCFLAGS=$(LIBCFLAGS)" \
129 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
131 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
132 "PICFLAG=$(PICFLAG)" \
133 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
136 "RUNTEST=$(RUNTEST)" \
137 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
138 "exec_prefix=$(exec_prefix)" \
139 "infodir=$(infodir)" \
142 "tooldir=$(tooldir)" \
145 "CC=$(CC_FOR_NEWLIB)" \
147 "LIBCFLAGS=$(LIBCFLAGS)" \
149 "PICFLAG=$(PICFLAG)" \
154 FLAGS_TO_PASS = $(AM_MAKEFLAGS)
155 @HAVE_DOC_TRUE@DOCDIR = @HAVE_DOC_TRUE@doc
156 @HAVE_DOC_FALSE@DOCDIR =
158 SUBDIRS = libc libm \
162 tooldir = $(exec_prefix)/$(host_alias)
163 toollibdir = $(tooldir)/lib$(MULTISUBDIR)
167 @USE_LIBTOOL_TRUE@toollib_LTLIBRARIES = @USE_LIBTOOL_TRUE@libm.la \
168 @USE_LIBTOOL_TRUE@ libc.la
169 @USE_LIBTOOL_FALSE@toollib_LIBRARIES = @USE_LIBTOOL_FALSE@libm.a \
170 @USE_LIBTOOL_FALSE@ libc.a
172 noinst_DATA = stmp-targ-include
174 toollib_DATA = $(CRT0) $(CRT1)
176 # The functions ldexp, frexp and modf are traditionally supplied in
177 # both libc.a and libm.a. We build them in libm.a and copy them over,
178 # along with some required supporting routines.
180 s_isinf.$(oext) sf_isinf.$(oext) \
181 s_isnan.$(oext) sf_isnan.$(oext) \
182 s_ldexp.$(oext) sf_ldexp.$(oext) \
183 s_frexp.$(oext) sf_frexp.$(oext) \
185 sf_modf.$(oext) s_scalbn.$(oext) \
187 s_finite.$(oext) sf_finite.$(oext) \
188 s_copysign.$(oext) sf_copysign.$(oext) \
193 $(POSIX_OBJECTLIST) \
194 $(SIGNAL_OBJECTLIST) \
195 $(SYSCALL_OBJECTLIST) \
197 libc/stdlib/objectlist.awk.in \
198 libc/time/objectlist.awk.in \
199 libc/ctype/objectlist.awk.in \
200 libc/string/objectlist.awk.in \
201 libc/locale/objectlist.awk.in \
202 libc/misc/objectlist.awk.in \
203 libc/reent/objectlist.awk.in \
204 libc/errno/objectlist.awk.in \
205 libc/stdio/objectlist.awk.in \
206 $(MACHINE_OBJECTLIST) \
208 $(SYS_MACH_OBJECTLIST)
212 libm/$(MATHDIR)/objectlist.awk.in \
213 libm/common/objectlist.awk.in \
214 $(LIBM_MACHINE_OBJECTLIST)
217 libm_la_LDFLAGS = -version-info $(LIBTOOL_VERSION_INFO) -release newlib -no-undefined -Xcompiler -nostdlib -Xlinker --version-script=$(srcdir)/libc/sys/linux/shared.ld `cat libm-libtool-objectlist`
219 libc_la_LDFLAGS = -version-info $(LIBTOOL_VERSION_INFO) -release newlib -no-undefined -Xcompiler -nostdlib -Xlinker --version-script=$(srcdir)/libc/sys/linux/shared.ld `cat libc-libtool-objectlist`
221 @USE_LIBTOOL_TRUE@libm_la_SOURCES =
222 @USE_LIBTOOL_TRUE@libm_la_DEPENDENCIES = @USE_LIBTOOL_TRUE@libm-libtool-objectlist
224 @USE_LIBTOOL_TRUE@libc_la_SOURCES =
225 @USE_LIBTOOL_TRUE@libc_la_DEPENDENCIES = @USE_LIBTOOL_TRUE@libc-libtool-objectlist
227 CLEANFILES = targ-include stmp-targ-include
229 CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
236 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
237 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
239 LIBRARIES = $(toollib_LIBRARIES)
242 DEFS = @DEFS@ -I. -I$(srcdir)
243 CPPFLAGS = @CPPFLAGS@
246 libm_a_SOURCES = libm.a.c
247 libm_a_OBJECTS = libm.a.o
249 libc_a_SOURCES = libc.a.c
250 libc_a_OBJECTS = libc.a.o
251 LTLIBRARIES = $(toollib_LTLIBRARIES)
254 @USE_LIBTOOL_TRUE@libm_la_OBJECTS =
256 @USE_LIBTOOL_TRUE@libc_la_OBJECTS =
258 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
259 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
261 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
262 DATA = $(noinst_DATA) $(toollib_DATA)
264 DIST_COMMON = README ChangeLog Makefile.am Makefile.in NEWS \
265 acinclude.m4 aclocal.m4 configure configure.in
268 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
272 DIST_SUBDIRS = libc libm doc .
273 EXPECT = `if test -f $(top_builddir)/../expect/expect; then echo $(top_builddir)/../expect/expect; else echo expect; fi`
274 RUNTEST = `if test -f $(top_srcdir)/../dejagnu/runtest; then echo $(top_srcdir)/../dejagnu/runtest; else echo runtest; fi`
275 SOURCES = libm.a.c libc.a.c $(libm_la_SOURCES) $(libc_la_SOURCES)
276 OBJECTS = libm.a.o libc.a.o $(libm_la_OBJECTS) $(libc_la_OBJECTS)
280 .SUFFIXES: .S .c .lo .o .s
281 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
282 cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
284 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
286 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
288 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
289 cd $(srcdir) && $(ACLOCAL)
291 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
292 $(SHELL) ./config.status --recheck
293 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
294 cd $(srcdir) && $(AUTOCONF)
296 mostlyclean-toollibLIBRARIES:
298 clean-toollibLIBRARIES:
299 -test -z "$(toollib_LIBRARIES)" || rm -f $(toollib_LIBRARIES)
301 distclean-toollibLIBRARIES:
303 maintainer-clean-toollibLIBRARIES:
305 install-toollibLIBRARIES: $(toollib_LIBRARIES)
307 $(mkinstalldirs) $(DESTDIR)$(toollibdir)
308 @list='$(toollib_LIBRARIES)'; for p in $$list; do \
309 if test -f $$p; then \
310 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(toollibdir)/$$p"; \
311 $(INSTALL_DATA) $$p $(DESTDIR)$(toollibdir)/$$p; \
315 @list='$(toollib_LIBRARIES)'; for p in $$list; do \
316 if test -f $$p; then \
317 echo " $(RANLIB) $(DESTDIR)$(toollibdir)/$$p"; \
318 $(RANLIB) $(DESTDIR)$(toollibdir)/$$p; \
322 uninstall-toollibLIBRARIES:
324 list='$(toollib_LIBRARIES)'; for p in $$list; do \
325 rm -f $(DESTDIR)$(toollibdir)/$$p; \
338 -rm -f *.o core *.core
345 maintainer-clean-compile:
348 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
351 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
354 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
364 maintainer-clean-libtool:
366 mostlyclean-toollibLTLIBRARIES:
368 clean-toollibLTLIBRARIES:
369 -test -z "$(toollib_LTLIBRARIES)" || rm -f $(toollib_LTLIBRARIES)
371 distclean-toollibLTLIBRARIES:
373 maintainer-clean-toollibLTLIBRARIES:
375 install-toollibLTLIBRARIES: $(toollib_LTLIBRARIES)
377 $(mkinstalldirs) $(DESTDIR)$(toollibdir)
378 @list='$(toollib_LTLIBRARIES)'; for p in $$list; do \
379 if test -f $$p; then \
380 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toollibdir)/$$p"; \
381 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toollibdir)/$$p; \
385 uninstall-toollibLTLIBRARIES:
387 list='$(toollib_LTLIBRARIES)'; for p in $$list; do \
388 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toollibdir)/$$p; \
391 libm.la: $(libm_la_OBJECTS) $(libm_la_DEPENDENCIES)
392 $(LINK) -rpath $(toollibdir) $(libm_la_LDFLAGS) $(libm_la_OBJECTS) $(libm_la_LIBADD) $(LIBS)
394 libc.la: $(libc_la_OBJECTS) $(libc_la_DEPENDENCIES)
395 $(LINK) -rpath $(toollibdir) $(libc_la_LDFLAGS) $(libc_la_OBJECTS) $(libc_la_LIBADD) $(LIBS)
397 install-toollibDATA: $(toollib_DATA)
399 $(mkinstalldirs) $(DESTDIR)$(toollibdir)
400 @list='$(toollib_DATA)'; for p in $$list; do \
401 if test -f $(srcdir)/$$p; then \
402 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(toollibdir)/$$p"; \
403 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(toollibdir)/$$p; \
404 else if test -f $$p; then \
405 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(toollibdir)/$$p"; \
406 $(INSTALL_DATA) $$p $(DESTDIR)$(toollibdir)/$$p; \
410 uninstall-toollibDATA:
412 list='$(toollib_DATA)'; for p in $$list; do \
413 rm -f $(DESTDIR)$(toollibdir)/$$p; \
416 # This directory's subdirectories are mostly independent; you can cd
417 # into them and run `make' without going through this Makefile.
418 # To change the values of `make' variables: instead of editing Makefiles,
419 # (1) if the variable is set in `config.status', edit `config.status'
420 # (which will cause the Makefiles to be regenerated when you run `make');
421 # (2) otherwise, pass the desired values on the `make' command line.
425 all-recursive install-data-recursive install-exec-recursive \
426 installdirs-recursive install-recursive uninstall-recursive install-info-recursive \
427 check-recursive installcheck-recursive info-recursive dvi-recursive:
428 @set fnord $(MAKEFLAGS); amf=$$2; \
430 target=`echo $@ | sed s/-recursive//`; \
431 list='$(SUBDIRS)'; for subdir in $$list; do \
432 echo "Making $$target in $$subdir"; \
433 if test "$$subdir" = "."; then \
435 local_target="$$target-am"; \
437 local_target="$$target"; \
439 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
440 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
442 if test "$$dot_seen" = "no"; then \
443 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
446 mostlyclean-recursive clean-recursive distclean-recursive \
447 maintainer-clean-recursive:
448 @set fnord $(MAKEFLAGS); amf=$$2; \
450 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
451 rev="$$subdir $$rev"; \
452 test "$$subdir" = "." && dot_seen=yes; \
454 test "$$dot_seen" = "no" && rev=". $$rev"; \
455 target=`echo $@ | sed s/-recursive//`; \
456 for subdir in $$rev; do \
457 echo "Making $$target in $$subdir"; \
458 if test "$$subdir" = "."; then \
459 local_target="$$target-am"; \
461 local_target="$$target"; \
463 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
464 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
465 done && test -z "$$fail"
467 list='$(SUBDIRS)'; for subdir in $$list; do \
468 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
473 ID: $(HEADERS) $(SOURCES) $(LISP)
474 list='$(SOURCES) $(HEADERS)'; \
475 unique=`for i in $$list; do echo $$i; done | \
476 awk ' { files[$$0] = 1; } \
477 END { for (i in files) print i; }'`; \
478 here=`pwd` && cd $(srcdir) \
479 && mkid -f$$here/ID $$unique $(LISP)
481 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
484 list='$(SUBDIRS)'; for subdir in $$list; do \
485 if test "$$subdir" = .; then :; else \
486 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
489 list='$(SOURCES) $(HEADERS)'; \
490 unique=`for i in $$list; do echo $$i; done | \
491 awk ' { files[$$0] = 1; } \
492 END { for (i in files) print i; }'`; \
493 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
494 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
503 maintainer-clean-tags:
505 distdir = $(PACKAGE)-$(VERSION)
506 top_distdir = $(distdir)
508 # This target untars the dist file and tries a VPATH configuration. Then
509 # it guarantees that the distribution is self-contained by making another
513 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
514 mkdir $(distdir)/=build
515 mkdir $(distdir)/=inst
516 dc_install_base=`cd $(distdir)/=inst && pwd`; \
517 cd $(distdir)/=build \
518 && ../configure --srcdir=.. --prefix=$$dc_install_base \
519 && $(MAKE) $(AM_MAKEFLAGS) \
520 && $(MAKE) $(AM_MAKEFLAGS) dvi \
521 && $(MAKE) $(AM_MAKEFLAGS) check \
522 && $(MAKE) $(AM_MAKEFLAGS) install \
523 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
524 && $(MAKE) $(AM_MAKEFLAGS) dist
526 @banner="$(distdir).tar.gz is ready for distribution"; \
527 dashes=`echo "$$banner" | sed s/./=/g`; \
532 -chmod -R a+r $(distdir)
533 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
536 -chmod -R a+r $(distdir)
537 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
539 distdir: $(DISTFILES)
542 -chmod 777 $(distdir)
543 @for file in $(DISTFILES); do \
544 if test -f $$file; then d=.; else d=$(srcdir); fi; \
545 if test -d $$d/$$file; then \
546 cp -pr $$d/$$file $(distdir)/$$file; \
548 test -f $(distdir)/$$file \
549 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
550 || cp -p $$d/$$file $(distdir)/$$file || :; \
553 for subdir in $(DIST_SUBDIRS); do \
554 if test "$$subdir" = .; then :; else \
555 test -d $(distdir)/$$subdir \
556 || mkdir $(distdir)/$$subdir \
558 chmod 777 $(distdir)/$$subdir; \
559 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
564 DEJATOOL = $(PACKAGE)
566 RUNTESTDEFAULTFLAGS = --tool $(DEJATOOL) --srcdir $$srcdir
572 $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
573 check: check-recursive
575 installcheck: installcheck-recursive
577 install-info: install-info-recursive
579 install-exec: install-exec-recursive
581 install-data-am: install-toollibLIBRARIES install-toollibLTLIBRARIES \
582 install-toollibDATA install-data-local
583 install-data: install-data-recursive
586 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
587 install: install-recursive
588 uninstall-am: uninstall-toollibLIBRARIES uninstall-toollibLTLIBRARIES \
589 uninstall-toollibDATA
590 uninstall: uninstall-recursive
591 all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(DATA)
592 all-redirect: all-recursive
594 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
595 installdirs: installdirs-recursive
597 $(mkinstalldirs) $(DESTDIR)$(toollibdir) $(DESTDIR)$(toollibdir) \
598 $(DESTDIR)$(toollibdir)
604 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
607 -rm -f Makefile $(CONFIG_CLEAN_FILES)
608 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
610 maintainer-clean-generic:
611 mostlyclean-am: mostlyclean-toollibLIBRARIES mostlyclean-compile \
612 mostlyclean-libtool mostlyclean-toollibLTLIBRARIES \
613 mostlyclean-tags mostlyclean-generic
615 mostlyclean: mostlyclean-recursive
617 clean-am: clean-toollibLIBRARIES clean-compile clean-libtool \
618 clean-toollibLTLIBRARIES clean-tags clean-generic \
621 clean: clean-recursive
623 distclean-am: distclean-toollibLIBRARIES distclean-compile \
624 distclean-libtool distclean-toollibLTLIBRARIES \
625 distclean-tags distclean-generic clean-am
628 distclean: distclean-recursive
631 maintainer-clean-am: maintainer-clean-toollibLIBRARIES \
632 maintainer-clean-compile maintainer-clean-libtool \
633 maintainer-clean-toollibLTLIBRARIES \
634 maintainer-clean-tags maintainer-clean-generic \
636 @echo "This command is intended for maintainers to use;"
637 @echo "it deletes files that may require special tools to rebuild."
639 maintainer-clean: maintainer-clean-recursive
642 .PHONY: mostlyclean-toollibLIBRARIES distclean-toollibLIBRARIES \
643 clean-toollibLIBRARIES maintainer-clean-toollibLIBRARIES \
644 uninstall-toollibLIBRARIES install-toollibLIBRARIES mostlyclean-compile \
645 distclean-compile clean-compile maintainer-clean-compile \
646 mostlyclean-libtool distclean-libtool clean-libtool \
647 maintainer-clean-libtool mostlyclean-toollibLTLIBRARIES \
648 distclean-toollibLTLIBRARIES clean-toollibLTLIBRARIES \
649 maintainer-clean-toollibLTLIBRARIES uninstall-toollibLTLIBRARIES \
650 install-toollibLTLIBRARIES uninstall-toollibDATA install-toollibDATA \
651 install-data-recursive uninstall-data-recursive install-exec-recursive \
652 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
653 all-recursive check-recursive installcheck-recursive info-recursive \
654 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
655 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
656 distclean-tags clean-tags maintainer-clean-tags distdir check-DEJAGNU \
657 info-am info dvi-am dvi check check-am installcheck-am installcheck \
658 install-info-am install-info install-exec-am install-exec \
659 install-data-local install-data-am install-data install-am install \
660 uninstall-am uninstall all-redirect all-am all installdirs-am \
661 installdirs mostlyclean-generic distclean-generic clean-generic \
662 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
665 # objects listed later in LIBM_OBJECTLISTS will override those listed earlier
666 @USE_LIBTOOL_TRUE@libm-libtool-objectlist: $(LIBM_OBJECTLISTS)
667 @USE_LIBTOOL_TRUE@ cat $(LIBM_OBJECTLISTS) | $(AWK) '{ libm[$$1] = $$2 }; END { for (x in libm) printf ("%s\n", libm[x]) }' > $@
669 # objects listed later in LIBM_OBJECTLISTS and LIBC_OBJECTLISTS will override those listed earlier
670 @USE_LIBTOOL_TRUE@libc-libtool-objectlist: $(LIBM_OBJECTLISTS) $(LIBC_OBJECTLISTS)
671 @USE_LIBTOOL_TRUE@ cat $(LIBM_OBJECTLISTS) $(LIBC_OBJECTLISTS) | $(AWK) '{ libc[$$1] = $$2 }; END { for (x in libc) printf ("%s\n", libc[x]) }' > $@
673 @USE_LIBTOOL_FALSE@libc.a: libc/libc.a libm.a
674 @USE_LIBTOOL_FALSE@ rm -rf libc.a libg.a tmp
675 @USE_LIBTOOL_FALSE@ mkdir tmp
676 @USE_LIBTOOL_FALSE@ cd tmp; \
677 @USE_LIBTOOL_FALSE@ $(AR) x ../libm.a $(MATHOBJS_IN_LIBC) ; \
678 @USE_LIBTOOL_FALSE@ $(AR) x ../libc/libc.a ; \
679 @USE_LIBTOOL_FALSE@ $(AR) $(AR_FLAGS) ../$@ *.o
680 @USE_LIBTOOL_FALSE@ $(RANLIB) libc.a
681 @USE_LIBTOOL_FALSE@ ln libc.a libg.a >/dev/null 2>/dev/null || cp libc.a libg.a
682 @USE_LIBTOOL_FALSE@ rm -rf tmp
684 @USE_LIBTOOL_FALSE@libc/libc.a: ; @true
686 @USE_LIBTOOL_FALSE@libm.a: libm/libm.a
687 @USE_LIBTOOL_FALSE@ rm -f $@
688 @USE_LIBTOOL_FALSE@ ln libm/libm.a $@ >/dev/null 2>/dev/null || cp libm/libm.a $@
690 @USE_LIBTOOL_FALSE@libm/libm.a: ; @true
692 crt0.o: $(CRT0_DIR)$(CRT0)
694 ln $(CRT0_DIR)$(CRT0) $@ >/dev/null 2>/dev/null \
695 || cp $(CRT0_DIR)$(CRT0) $@
697 $(CRT0_DIR)$(CRT0): ; @true
699 crt1.o: $(CRT1_DIR)$(CRT1)
701 ln $(CRT0_DIR)$(CRT0) $@ >/dev/null 2>/dev/null \
702 || cp $(CRT0_DIR)$(CRT0) $@
704 $(CRT1_DIR)$(CRT1): ; @true
706 all-recursive: stmp-targ-include
708 # The targ-include directory just holds the includes files for the
709 # particular system and machine we have been configured for. It is
710 # used while building.
711 stmp-targ-include: config.status
712 -rm -rf targ-include stmp-targ-include
713 mkdir targ-include targ-include/sys targ-include/machine
714 -for i in $(srcdir)/libc/machine/$(machine_dir)/machine/*.h; do \
715 if [ -f $$i ]; then \
716 cp $$i targ-include/machine/`basename $$i`; \
719 -for i in $(srcdir)/libc/sys/$(sys_dir)/include/*.h; do \
720 if [ -f $$i ]; then \
721 cp $$i targ-include/`basename $$i`; \
724 -for i in $(srcdir)/libc/sys/$(sys_dir)/sys/*.h; do \
725 if [ -f $$i ]; then \
726 cp $$i targ-include/sys/`basename $$i`; \
729 -for i in $(srcdir)/libc/sys/$(sys_dir)/machine/$(machine_dir)/*.h; do \
730 if [ -f $$i ]; then \
731 cp $$i targ-include/machine/`basename $$i`; \
736 install-data-local: install-toollibLIBRARIES
737 @USE_LIBTOOL_FALSE@ rm -f $(DESTDIR)$(toollibdir)/libg.a
738 @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
739 $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
740 -if [ -z "$(MULTISUBDIR)" ]; then \
741 $(mkinstalldirs) $(DESTDIR)$(tooldir)/include; \
742 for i in $(srcdir)/libc/include/*.h; do \
743 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/`basename $$i`; \
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`; \
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`; \
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`; \
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`; \
763 for i in $(srcdir)/libc/sys/$(sys_dir)/include/*.h; do \
764 if [ -f $$i ]; then \
765 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/`basename $$i`; \
770 # Force makedoc to be built before building info files.
771 info-recursive: doc/makedoc
772 dvi-recursive: doc/makedoc
774 cd doc && $(MAKE) all
777 .PHONY: all-multi check-multi mostlyclean-multi clean-multi distclean-multi \
778 maintainer-clean-multi
780 all-recursive: all-multi
781 check-recursive: check-multi
782 mostlyclean-recursive: mostlyclean-multi
783 clean-recursive: clean-multi
784 distclean-recursive: distclean-multi
785 maintainer-clean-recursive: maintainer-clean-multi
788 $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
790 $(MULTIDO) $(AM_MAKEFLAGS) DO=check multi-do
792 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean
794 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean
796 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean
797 maintainer-clean-multi:
798 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean
801 @echo 'Making a new site.exp file...'
802 @test ! -f site.bak || rm -f site.bak
803 @echo '## these variables are automatically generated by make ##' > $@-t
804 @echo '# Do not edit here. If you wish to override these values' >> $@-t
805 @echo '# edit the last section' >> $@-t
806 @echo 'set tool $(DEJATOOL)' >> $@-t
807 @echo 'set tool_version $(VERSION)' >> $@-t
808 @echo 'set srcdir $(srcdir)/testsuite' >> $@-t
809 @echo 'set objdir' `pwd` >> $@-t
810 @echo 'set multibuildtop ./$(MULTIBUILDTOP)' >> $@-t
811 @echo 'set host_alias $(build_alias)' >> $@-t
812 @echo 'set host_triplet $(build_triplet)' >> $@-t
813 @echo 'set target_alias $(host_alias)' >> $@-t
814 @echo 'set target_triplet $(host_triplet)' >> $@-t
815 @echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t
816 @test ! -f site.exp || sed '1,/^## All variables above are.*##/ d' site.exp >> $@-t
817 @test ! -f site.exp || mv site.exp site.bak
820 check-DEJAGNU: site.exp
821 @if [ -d testsuite ] ; then \
826 @rm -f testsuite/site.exp
827 @cp site.exp testsuite/site.exp
830 srcdir=`cd ${srcdir}; pwd` ; \
832 EXPECT=`if [ -f $${rootme}/${MULTIBUILDTOP}../../expect/expect ] ; then \
833 echo $${rootme}/${MULTIBUILDTOP}../../expect/expect ; \
838 echo "Found expect: $${EXPECT}" ; \
839 if [ -f $(top_builddir)/$(MULTIBUILDTOP)../../expect/expect ] ; then \
840 TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd` ; \
841 export TCL_LIBRARY ; \
842 echo "Found TCL library directory: $${TCL_LIBRARY}" ; \
844 RUNTEST=`if [ -f $${srcdir}/../dejagnu/runtest ] ; then \
845 echo $${srcdir}/../dejagnu/runtest ; \
850 echo "Found runtest: $${RUNTEST}" ; \
852 if $(SHELL) -c "$$RUNTEST --version" > /dev/null 2>&1 ; then \
853 $$RUNTEST --tool $(DEJATOOL) --srcdir $${srcdir}/testsuite $(RUNTESTFLAGS) ; \
856 echo "WARNING: could not find \`runtest'" 1>&2 ; \
859 # Tell versions [3.59,3.63) of GNU make to not export all variables.
860 # Otherwise a system limit (for SysV at least) may be exceeded.