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 host_alias = @host_alias@
66 CC_FOR_BUILD = @CC_FOR_BUILD@
73 LIBM_MACHINE_OBJECTLIST = @LIBM_MACHINE_OBJECTLIST@
76 MACHINE_OBJECTLIST = @MACHINE_OBJECTLIST@
79 NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
82 POSIX_OBJECTLIST = @POSIX_OBJECTLIST@
84 SIGNAL_OBJECTLIST = @SIGNAL_OBJECTLIST@
85 SYSCALL_OBJECTLIST = @SYSCALL_OBJECTLIST@
86 SYS_OBJECTLIST = @SYS_OBJECTLIST@
87 UNIX_OBJECTLIST = @UNIX_OBJECTLIST@
90 libm_machine_dir = @libm_machine_dir@
91 machine_dir = @machine_dir@
92 newlib_basedir = @newlib_basedir@
96 AUTOMAKE_OPTIONS = cygnus
98 # Multilib support variables.
106 LIBTOOL_VERSION_INFO = 0:0:0
107 @NEWLIB_HW_FP_TRUE@MATHDIR = @NEWLIB_HW_FP_TRUE@mathfp
108 @NEWLIB_HW_FP_FALSE@MATHDIR = @NEWLIB_HW_FP_FALSE@math
110 # Work around what appears to be a GNU make bug handling MAKEFLAGS
111 # values defined in terms of make variables, as is the case for CC and
112 # friends when we are called from the top level Makefile.
114 "AR_FLAGS=$(AR_FLAGS)" \
115 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
117 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
118 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
119 "LDFLAGS=$(LDFLAGS)" \
120 "LIBCFLAGS=$(LIBCFLAGS)" \
121 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
123 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
124 "PICFLAG=$(PICFLAG)" \
125 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
128 "RUNTEST=$(RUNTEST)" \
129 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
130 "exec_prefix=$(exec_prefix)" \
131 "infodir=$(infodir)" \
134 "tooldir=$(tooldir)" \
139 "LIBCFLAGS=$(LIBCFLAGS)" \
141 "PICFLAG=$(PICFLAG)" \
146 FLAGS_TO_PASS = $(AM_MAKEFLAGS)
148 @HAVE_DOC_TRUE@DOCDIR = @HAVE_DOC_TRUE@doc
150 SUBDIRS = libc libm $(DOCDIR) .
152 tooldir = $(exec_prefix)/$(host_alias)
153 toollibdir = $(tooldir)/lib$(MULTISUBDIR)
157 @USE_LIBTOOL_TRUE@toollib_LTLIBRARIES = @USE_LIBTOOL_TRUE@libm.la libc.la
158 @USE_LIBTOOL_FALSE@toollib_LIBRARIES = @USE_LIBTOOL_FALSE@libm.a libc.a
160 noinst_DATA = stmp-targ-include
162 toollib_DATA = $(CRT0)
164 # The functions ldexp, frexp and modf are traditionally supplied in
165 # both libc.a and libm.a. We build them in libm.a and copy them over,
166 # along with some required supporting routines.
168 s_isinf.$(oext) sf_isinf.$(oext) \
169 s_isnan.$(oext) sf_isnan.$(oext) \
170 s_ldexp.$(oext) sf_ldexp.$(oext) \
171 s_frexp.$(oext) sf_frexp.$(oext) \
173 sf_modf.$(oext) s_scalbn.$(oext) \
175 s_finite.$(oext) sf_finite.$(oext) \
176 s_copysign.$(oext) sf_copysign.$(oext) \
181 $(POSIX_OBJECTLIST) \
182 $(SIGNAL_OBJECTLIST) \
183 $(SYSCALL_OBJECTLIST) \
185 libc/stdlib/objectlist.awk.in \
186 libc/time/objectlist.awk.in \
187 libc/ctype/objectlist.awk.in \
188 libc/string/objectlist.awk.in \
189 libc/locale/objectlist.awk.in \
190 libc/misc/objectlist.awk.in \
191 libc/reent/objectlist.awk.in \
192 libc/errno/objectlist.awk.in \
193 libc/stdio/objectlist.awk.in \
194 $(MACHINE_OBJECTLIST) \
199 libm/$(MATHDIR)/objectlist.awk.in \
200 libm/common/objectlist.awk.in \
201 $(LIBM_MACHINE_OBJECTLIST)
204 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`
206 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`
208 @USE_LIBTOOL_TRUE@libm_la_SOURCES =
209 @USE_LIBTOOL_TRUE@libm_la_DEPENDENCIES = @USE_LIBTOOL_TRUE@libm-libtool-objectlist
211 @USE_LIBTOOL_TRUE@libc_la_SOURCES =
212 @USE_LIBTOOL_TRUE@libc_la_DEPENDENCIES = @USE_LIBTOOL_TRUE@libc-libtool-objectlist
214 CLEANFILES = targ-include stmp-targ-include
216 CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
219 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
220 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
222 LIBRARIES = $(toollib_LIBRARIES)
225 DEFS = @DEFS@ -I. -I$(srcdir)
226 CPPFLAGS = @CPPFLAGS@
229 libm_a_SOURCES = libm.a.c
230 libm_a_OBJECTS = libm.a.o
232 libc_a_SOURCES = libc.a.c
233 libc_a_OBJECTS = libc.a.o
234 LTLIBRARIES = $(toollib_LTLIBRARIES)
237 @USE_LIBTOOL_TRUE@libm_la_OBJECTS =
239 @USE_LIBTOOL_TRUE@libc_la_OBJECTS =
241 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
242 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
244 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
245 DATA = $(noinst_DATA) $(toollib_DATA)
247 DIST_COMMON = README ChangeLog Makefile.am Makefile.in NEWS \
248 acinclude.m4 aclocal.m4 configure configure.in
251 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
255 DIST_SUBDIRS = libc libm doc .
256 SOURCES = libm.a.c libc.a.c $(libm_la_SOURCES) $(libc_la_SOURCES)
257 OBJECTS = libm.a.o libc.a.o $(libm_la_OBJECTS) $(libc_la_OBJECTS)
261 .SUFFIXES: .S .c .lo .o .s
262 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
263 cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
265 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
267 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
269 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
270 cd $(srcdir) && $(ACLOCAL)
272 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
273 $(SHELL) ./config.status --recheck
274 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
275 cd $(srcdir) && $(AUTOCONF)
277 mostlyclean-toollibLIBRARIES:
279 clean-toollibLIBRARIES:
280 -test -z "$(toollib_LIBRARIES)" || rm -f $(toollib_LIBRARIES)
282 distclean-toollibLIBRARIES:
284 maintainer-clean-toollibLIBRARIES:
286 install-toollibLIBRARIES: $(toollib_LIBRARIES)
288 $(mkinstalldirs) $(DESTDIR)$(toollibdir)
289 @list='$(toollib_LIBRARIES)'; for p in $$list; do \
290 if test -f $$p; then \
291 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(toollibdir)/$$p"; \
292 $(INSTALL_DATA) $$p $(DESTDIR)$(toollibdir)/$$p; \
296 @list='$(toollib_LIBRARIES)'; for p in $$list; do \
297 if test -f $$p; then \
298 echo " $(RANLIB) $(DESTDIR)$(toollibdir)/$$p"; \
299 $(RANLIB) $(DESTDIR)$(toollibdir)/$$p; \
303 uninstall-toollibLIBRARIES:
305 list='$(toollib_LIBRARIES)'; for p in $$list; do \
306 rm -f $(DESTDIR)$(toollibdir)/$$p; \
319 -rm -f *.o core *.core
326 maintainer-clean-compile:
329 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
332 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
335 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
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)
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; \
366 uninstall-toollibLTLIBRARIES:
368 list='$(toollib_LTLIBRARIES)'; for p in $$list; do \
369 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toollibdir)/$$p; \
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)
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; \
391 uninstall-toollibDATA:
393 list='$(toollib_DATA)'; for p in $$list; do \
394 rm -f $(DESTDIR)$(toollibdir)/$$p; \
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.
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; \
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 \
416 local_target="$$target-am"; \
418 local_target="$$target"; \
420 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
421 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
423 if test "$$dot_seen" = "no"; then \
424 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
427 mostlyclean-recursive clean-recursive distclean-recursive \
428 maintainer-clean-recursive:
429 @set fnord $(MAKEFLAGS); amf=$$2; \
431 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
432 rev="$$subdir $$rev"; \
433 test "$$subdir" = "." && dot_seen=yes; \
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"; \
442 local_target="$$target"; \
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"
448 list='$(SUBDIRS)'; for subdir in $$list; do \
449 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) 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) $(TAGS_DEPENDENCIES) $(LISP)
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"; \
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)$$unique$(LISP)$$tags" \
475 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
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
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
507 @banner="$(distdir).tar.gz is ready for distribution"; \
508 dashes=`echo "$$banner" | sed s/./=/g`; \
513 -chmod -R a+r $(distdir)
514 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
517 -chmod -R a+r $(distdir)
518 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
520 distdir: $(DISTFILES)
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; \
529 test -f $(distdir)/$$file \
530 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
531 || cp -p $$d/$$file $(distdir)/$$file || :; \
534 for subdir in $(DIST_SUBDIRS); do \
535 if test "$$subdir" = .; then :; else \
536 test -d $(distdir)/$$subdir \
537 || mkdir $(distdir)/$$subdir \
539 chmod 777 $(distdir)/$$subdir; \
540 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
549 check: check-recursive
551 installcheck: installcheck-recursive
553 install-info: install-info-recursive
555 install-exec: install-exec-recursive
557 install-data-am: install-toollibLIBRARIES install-toollibLTLIBRARIES \
558 install-toollibDATA install-data-local
559 install-data: install-data-recursive
562 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
563 install: install-recursive
564 uninstall-am: uninstall-toollibLIBRARIES uninstall-toollibLTLIBRARIES \
565 uninstall-toollibDATA
566 uninstall: uninstall-recursive
567 all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(DATA)
568 all-redirect: all-recursive
570 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
571 installdirs: installdirs-recursive
573 $(mkinstalldirs) $(DESTDIR)$(toollibdir) $(DESTDIR)$(toollibdir) \
574 $(DESTDIR)$(toollibdir)
580 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
583 -rm -f Makefile $(CONFIG_CLEAN_FILES)
584 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
586 maintainer-clean-generic:
587 mostlyclean-am: mostlyclean-toollibLIBRARIES mostlyclean-compile \
588 mostlyclean-libtool mostlyclean-toollibLTLIBRARIES \
589 mostlyclean-tags mostlyclean-generic
591 mostlyclean: mostlyclean-recursive
593 clean-am: clean-toollibLIBRARIES clean-compile clean-libtool \
594 clean-toollibLTLIBRARIES clean-tags clean-generic \
597 clean: clean-recursive
599 distclean-am: distclean-toollibLIBRARIES distclean-compile \
600 distclean-libtool distclean-toollibLTLIBRARIES \
601 distclean-tags distclean-generic clean-am
604 distclean: distclean-recursive
607 maintainer-clean-am: maintainer-clean-toollibLIBRARIES \
608 maintainer-clean-compile maintainer-clean-libtool \
609 maintainer-clean-toollibLTLIBRARIES \
610 maintainer-clean-tags maintainer-clean-generic \
612 @echo "This command is intended for maintainers to use;"
613 @echo "it deletes files that may require special tools to rebuild."
615 maintainer-clean: maintainer-clean-recursive
618 .PHONY: mostlyclean-toollibLIBRARIES distclean-toollibLIBRARIES \
619 clean-toollibLIBRARIES maintainer-clean-toollibLIBRARIES \
620 uninstall-toollibLIBRARIES install-toollibLIBRARIES mostlyclean-compile \
621 distclean-compile clean-compile maintainer-clean-compile \
622 mostlyclean-libtool distclean-libtool clean-libtool \
623 maintainer-clean-libtool mostlyclean-toollibLTLIBRARIES \
624 distclean-toollibLTLIBRARIES clean-toollibLTLIBRARIES \
625 maintainer-clean-toollibLTLIBRARIES uninstall-toollibLTLIBRARIES \
626 install-toollibLTLIBRARIES uninstall-toollibDATA install-toollibDATA \
627 install-data-recursive uninstall-data-recursive install-exec-recursive \
628 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
629 all-recursive check-recursive installcheck-recursive info-recursive \
630 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
631 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
632 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
633 dvi-am dvi check check-am installcheck-am installcheck install-info-am \
634 install-info install-exec-am install-exec install-data-local \
635 install-data-am install-data install-am install uninstall-am uninstall \
636 all-redirect all-am all installdirs-am installdirs mostlyclean-generic \
637 distclean-generic clean-generic maintainer-clean-generic clean \
638 mostlyclean distclean maintainer-clean
641 # objects listed later in LIBM_OBJECTLISTS will override those listed earlier
642 @USE_LIBTOOL_TRUE@libm-libtool-objectlist: $(LIBM_OBJECTLISTS)
643 @USE_LIBTOOL_TRUE@ cat $(LIBM_OBJECTLISTS) | $(AWK) '{ libm[$$1] = $$2 }; END { for (x in libm) printf ("%s\n", libm[x]) }' > $@
645 # objects listed later in LIBM_OBJECTLISTS and LIBC_OBJECTLISTS will override those listed earlier
646 @USE_LIBTOOL_TRUE@libc-libtool-objectlist: $(LIBM_OBJECTLISTS) $(LIBC_OBJECTLISTS)
647 @USE_LIBTOOL_TRUE@ cat $(LIBM_OBJECTLISTS) $(LIBC_OBJECTLISTS) | $(AWK) '{ libc[$$1] = $$2 }; END { for (x in libc) printf ("%s\n", libc[x]) }' > $@
649 @USE_LIBTOOL_FALSE@libc.a: libc/libc.a libm.a
650 @USE_LIBTOOL_FALSE@ rm -rf libc.a libg.a tmp
651 @USE_LIBTOOL_FALSE@ mkdir tmp
652 @USE_LIBTOOL_FALSE@ cd tmp; \
653 @USE_LIBTOOL_FALSE@ $(AR) x ../libm.a $(MATHOBJS_IN_LIBC) ; \
654 @USE_LIBTOOL_FALSE@ $(AR) x ../libc/libc.a ; \
655 @USE_LIBTOOL_FALSE@ $(AR) $(AR_FLAGS) ../$@ *.o
656 @USE_LIBTOOL_FALSE@ $(RANLIB) libc.a
657 @USE_LIBTOOL_FALSE@ ln libc.a libg.a >/dev/null 2>/dev/null || cp libc.a libg.a
658 @USE_LIBTOOL_FALSE@ rm -rf tmp
660 @USE_LIBTOOL_FALSE@libc/libc.a: ; @true
662 @USE_LIBTOOL_FALSE@libm.a: libm/libm.a
663 @USE_LIBTOOL_FALSE@ rm -f $@
664 @USE_LIBTOOL_FALSE@ ln libm/libm.a $@ >/dev/null 2>/dev/null || cp libm/libm.a $@
666 @USE_LIBTOOL_FALSE@libm/libm.a: ; @true
668 crt0.o: $(CRT0_DIR)/$(CRT0)
670 ln $(CRT0_DIR)/$(CRT0) $@ >/dev/null 2>/dev/null \
671 || cp $(CRT0_DIR)/$(CRT0) $@
673 $(CRT0_DIR)/$(CRT0): ; @true
675 all-recursive: stmp-targ-include
677 # The targ-include directory just holds the includes files for the
678 # particular system and machine we have been configured for. It is
679 # used while building.
680 stmp-targ-include: config.status
681 -rm -rf targ-include stmp-targ-include
682 mkdir targ-include targ-include/sys targ-include/machine
683 -for i in $(srcdir)/libc/machine/$(machine_dir)/machine/*.h; do \
684 if [ -f $$i ]; then \
685 cp $$i targ-include/machine/`basename $$i`; \
688 -for i in $(srcdir)/libc/sys/$(sys_dir)/include/*.h; do \
689 if [ -f $$i ]; then \
690 cp $$i targ-include/`basename $$i`; \
693 -for i in $(srcdir)/libc/sys/$(sys_dir)/sys/*.h; do \
694 if [ -f $$i ]; then \
695 cp $$i targ-include/sys/`basename $$i`; \
700 install-data-local: install-toollibLIBRARIES
701 @USE_LIBTOOL_FALSE@ rm -f $(DESTDIR)$(toollibdir)/libg.a
702 @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
703 $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
704 -if [ -z "$(MULTISUBDIR)" ]; then \
705 $(mkinstalldirs) $(DESTDIR)$(tooldir)/include; \
706 for i in $(srcdir)/libc/include/*.h; do \
707 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/`basename $$i`; \
709 $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/machine; \
710 for i in $(srcdir)/libc/include/machine/*.h; do \
711 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
713 for i in $(srcdir)/libc/machine/$(machine_dir)/machine/*.h; do \
714 if [ -f $$i ]; then \
715 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
718 $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/sys; \
719 for i in $(srcdir)/libc/include/sys/*.h; do \
720 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \
722 for i in $(srcdir)/libc/sys/$(sys_dir)/sys/*.h; do \
723 if [ -f $$i ]; then \
724 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \
727 for i in $(srcdir)/libc/sys/$(sys_dir)/include/*.h; do \
728 if [ -f $$i ]; then \
729 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/`basename $$i`; \
734 # Force makedoc to be built before building info files.
735 info-recursive: doc/makedoc
736 dvi-recursive: doc/makedoc
738 cd doc && $(MAKE) all
741 .PHONY: all-multi mostlyclean-multi clean-multi distclean-multi \
742 maintainer-clean-multi
744 all-recursive: all-multi
745 mostlyclean-recursive: mostlyclean-multi
746 clean-recursive: clean-multi
747 distclean-recursive: distclean-multi
748 maintainer-clean-recursive: maintainer-clean-multi
751 $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
753 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean
755 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean
757 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean
758 maintainer-clean-multi:
759 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean
761 # Tell versions [3.59,3.63) of GNU make to not export all variables.
762 # Otherwise a system limit (for SysV at least) may be exceeded.