1 # Makefile.in generated by automake 1.9.5 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005 Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
19 SOURCES = libc.c libm.c $(libc_la_SOURCES) $(libm_la_SOURCES)
22 top_srcdir = @top_srcdir@
24 pkgdatadir = $(datadir)/@PACKAGE@
25 pkglibdir = $(libdir)/@PACKAGE@
26 pkgincludedir = $(includedir)/@PACKAGE@
28 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
30 install_sh_DATA = $(install_sh) -c -m 644
31 install_sh_PROGRAM = $(install_sh) -c
32 install_sh_SCRIPT = $(install_sh) -c
33 INSTALL_HEADER = $(INSTALL_DATA)
34 transform = $(program_transform_name)
41 build_triplet = @build@
43 DIST_COMMON = $(srcdir)/../config.guess $(srcdir)/../config.sub NEWS \
44 README ChangeLog $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
45 $(top_srcdir)/configure $(am__configure_deps) acconfig.h \
46 $(srcdir)/newlib.hin $(srcdir)/../mkinstalldirs \
47 $(srcdir)/../ltmain.sh $(srcdir)/../config.guess \
48 $(srcdir)/../config.sub
50 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
51 am__aclocal_m4_deps = $(top_srcdir)/libtool.m4 \
52 $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
53 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
55 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
56 configure.lineno configure.status.lineno
57 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
58 CONFIG_HEADER = newlib.h
60 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
61 am__vpath_adj = case $$p in \
62 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
65 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
66 am__installdirs = "$(DESTDIR)$(toollibdir)" "$(DESTDIR)$(toollibdir)" \
67 "$(DESTDIR)$(toollibdir)"
68 toollibLIBRARIES_INSTALL = $(INSTALL_DATA)
69 LIBRARIES = $(toollib_LIBRARIES)
71 libc_a_AR = $(AR) $(ARFLAGS)
73 libc_a_SOURCES = libc.c
74 libc_a_OBJECTS = libc.$(OBJEXT)
75 libm_a_AR = $(AR) $(ARFLAGS)
77 libm_a_SOURCES = libm.c
78 libm_a_OBJECTS = libm.$(OBJEXT)
79 toollibLTLIBRARIES_INSTALL = $(INSTALL)
80 LTLIBRARIES = $(toollib_LTLIBRARIES)
83 libc_la_OBJECTS = $(am_libc_la_OBJECTS)
84 @USE_LIBTOOL_TRUE@am_libc_la_rpath = -rpath $(toollibdir)
87 libm_la_OBJECTS = $(am_libm_la_OBJECTS)
88 @USE_LIBTOOL_TRUE@am_libm_la_rpath = -rpath $(toollibdir)
89 DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
92 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
93 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
94 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
95 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
96 $(AM_CFLAGS) $(CFLAGS)
98 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
99 $(AM_LDFLAGS) $(LDFLAGS) -o $@
100 SOURCES = libc.c libm.c $(libc_la_SOURCES) $(libm_la_SOURCES)
101 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
102 html-recursive info-recursive install-data-recursive \
103 install-exec-recursive install-info-recursive \
104 install-recursive installcheck-recursive installdirs-recursive \
105 pdf-recursive ps-recursive uninstall-info-recursive \
107 toollibDATA_INSTALL = $(INSTALL_DATA)
108 DATA = $(noinst_DATA) $(toollib_DATA)
111 DEJATOOL = $(PACKAGE)
112 RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir
113 EXPECT = `if test -f $(top_builddir)/../expect/expect; then \
114 echo $(top_builddir)/../expect/expect; \
118 RUNTEST = `if test -f $(top_srcdir)/../dejagnu/runtest; then \
119 echo $(top_srcdir)/../dejagnu/runtest; \
123 DIST_SUBDIRS = libc libm doc . @EXTRA_DIRS@
125 AMDEP_FALSE = @AMDEP_FALSE@
126 AMDEP_TRUE = @AMDEP_TRUE@
130 AUTOCONF = @AUTOCONF@
131 AUTOHEADER = @AUTOHEADER@
132 AUTOMAKE = @AUTOMAKE@
136 CCASFLAGS = @CCASFLAGS@
137 CCDEPMODE = @CCDEPMODE@
138 CC_FOR_BUILD = @CC_FOR_BUILD@
139 CC_FOR_NEWLIB = @CC_FOR_NEWLIB@
141 CPPFLAGS = @CPPFLAGS@
143 CRT0_DIR = @CRT0_DIR@
145 CRT1_DIR = @CRT1_DIR@
146 CYGPATH_W = @CYGPATH_W@
152 ELIX_LEVEL_0_FALSE = @ELIX_LEVEL_0_FALSE@
153 ELIX_LEVEL_0_TRUE = @ELIX_LEVEL_0_TRUE@
154 ELIX_LEVEL_1_FALSE = @ELIX_LEVEL_1_FALSE@
155 ELIX_LEVEL_1_TRUE = @ELIX_LEVEL_1_TRUE@
156 ELIX_LEVEL_2_FALSE = @ELIX_LEVEL_2_FALSE@
157 ELIX_LEVEL_2_TRUE = @ELIX_LEVEL_2_TRUE@
158 ELIX_LEVEL_3_FALSE = @ELIX_LEVEL_3_FALSE@
159 ELIX_LEVEL_3_TRUE = @ELIX_LEVEL_3_TRUE@
160 ELIX_LEVEL_4_FALSE = @ELIX_LEVEL_4_FALSE@
161 ELIX_LEVEL_4_TRUE = @ELIX_LEVEL_4_TRUE@
163 EXTRA_DIRS = @EXTRA_DIRS@
164 HAVE_DOC_FALSE = @HAVE_DOC_FALSE@
165 HAVE_DOC_TRUE = @HAVE_DOC_TRUE@
166 INSTALL_DATA = @INSTALL_DATA@
167 INSTALL_PROGRAM = @INSTALL_PROGRAM@
168 INSTALL_SCRIPT = @INSTALL_SCRIPT@
169 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
171 LIBM_MACHINE_OBJECTLIST = @LIBM_MACHINE_OBJECTLIST@
176 LTLIBOBJS = @LTLIBOBJS@
177 MACHINE_OBJECTLIST = @MACHINE_OBJECTLIST@
179 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
180 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
181 MAKEINFO = @MAKEINFO@
182 MAY_SUPPLY_SYSCALLS_FALSE = @MAY_SUPPLY_SYSCALLS_FALSE@
183 MAY_SUPPLY_SYSCALLS_TRUE = @MAY_SUPPLY_SYSCALLS_TRUE@
184 NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
185 NEWLIB_HW_FP_FALSE = @NEWLIB_HW_FP_FALSE@
186 NEWLIB_HW_FP_TRUE = @NEWLIB_HW_FP_TRUE@
189 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
190 PACKAGE_NAME = @PACKAGE_NAME@
191 PACKAGE_STRING = @PACKAGE_STRING@
192 PACKAGE_TARNAME = @PACKAGE_TARNAME@
193 PACKAGE_VERSION = @PACKAGE_VERSION@
194 PATH_SEPARATOR = @PATH_SEPARATOR@
195 POSIX_OBJECTLIST = @POSIX_OBJECTLIST@
198 SET_MAKE = @SET_MAKE@
200 SIGNAL_OBJECTLIST = @SIGNAL_OBJECTLIST@
201 STDIO64_OBJECTLIST = @STDIO64_OBJECTLIST@
203 SYSCALL_OBJECTLIST = @SYSCALL_OBJECTLIST@
204 SYS_MACH_OBJECTLIST = @SYS_MACH_OBJECTLIST@
205 SYS_OBJECTLIST = @SYS_OBJECTLIST@
206 UNIX_OBJECTLIST = @UNIX_OBJECTLIST@
207 USE_LIBTOOL_FALSE = @USE_LIBTOOL_FALSE@
208 USE_LIBTOOL_TRUE = @USE_LIBTOOL_TRUE@
210 ac_ct_AR = @ac_ct_AR@
211 ac_ct_AS = @ac_ct_AS@
212 ac_ct_CC = @ac_ct_CC@
213 ac_ct_RANLIB = @ac_ct_RANLIB@
214 ac_ct_READELF = @ac_ct_READELF@
215 ac_ct_STRIP = @ac_ct_STRIP@
217 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
218 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
219 am__include = @am__include@
220 am__leading_dot = @am__leading_dot@
221 am__quote = @am__quote@
223 am__untar = @am__untar@
226 build_alias = @build_alias@
227 build_cpu = @build_cpu@
228 build_os = @build_os@
229 build_vendor = @build_vendor@
231 exec_prefix = @exec_prefix@
233 host_alias = @host_alias@
234 host_cpu = @host_cpu@
236 host_vendor = @host_vendor@
237 includedir = @includedir@
239 install_sh = @install_sh@
240 libc_cv_array_aliasing = @libc_cv_array_aliasing@
241 libc_cv_initfinit_array = @libc_cv_initfinit_array@
243 libexecdir = @libexecdir@
244 libm_machine_dir = @libm_machine_dir@
245 localstatedir = @localstatedir@
247 machine_dir = @machine_dir@
250 newlib_basedir = @newlib_basedir@
252 oldincludedir = @oldincludedir@
254 program_transform_name = @program_transform_name@
256 sharedstatedir = @sharedstatedir@
259 sysconfdir = @sysconfdir@
260 target_alias = @target_alias@
261 AUTOMAKE_OPTIONS = cygnus dejagnu
262 ACLOCAL_AMFLAGS = -I .
264 # Multilib support variables.
271 LIBTOOL_VERSION_INFO = 0:0:0
272 @NEWLIB_HW_FP_FALSE@MATHDIR = math
273 @NEWLIB_HW_FP_TRUE@MATHDIR = mathfp
275 # Work around what appears to be a GNU make bug handling MAKEFLAGS
276 # values defined in terms of make variables, as is the case for CC and
277 # friends when we are called from the top level Makefile.
279 "AR_FLAGS=$(AR_FLAGS)" \
280 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
282 "CCASFLAGS=$(CCASFLAGS)" \
283 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
284 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
285 "INSTALL=$(INSTALL)" \
286 "LDFLAGS=$(LDFLAGS)" \
287 "LIBCFLAGS=$(LIBCFLAGS)" \
288 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
290 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
291 "PICFLAG=$(PICFLAG)" \
292 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
295 "RUNTEST=$(RUNTEST)" \
296 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
297 "exec_prefix=$(exec_prefix)" \
298 "infodir=$(infodir)" \
301 "tooldir=$(tooldir)" \
302 "top_toollibdir=$(toollibdir)" \
305 "CC=$(CC_FOR_NEWLIB)" \
307 "LIBCFLAGS=$(LIBCFLAGS)" \
309 "PICFLAG=$(PICFLAG)" \
313 FLAGS_TO_PASS = $(AM_MAKEFLAGS)
314 @HAVE_DOC_FALSE@DOCDIR =
315 @HAVE_DOC_TRUE@DOCDIR = doc
316 SUBDIRS = libc libm \
317 $(DOCDIR) . $(EXTRA_DIRS)
319 tooldir = $(exec_prefix)/$(host_alias)
320 toollibdir = $(tooldir)/lib$(MULTISUBDIR)
322 @USE_LIBTOOL_TRUE@toollib_LTLIBRARIES = libm.la \
323 @USE_LIBTOOL_TRUE@ libc.la
325 @USE_LIBTOOL_FALSE@toollib_LIBRARIES = libm.a \
326 @USE_LIBTOOL_FALSE@ libc.a
328 noinst_DATA = stmp-targ-include
329 toollib_DATA = $(CRT0) $(CRT1)
331 # The functions ldexp, frexp and modf are traditionally supplied in
332 # both libc.a and libm.a. We build them in libm.a and copy them over,
333 # along with some required supporting routines.
335 $(lpfx)s_isinf.$(oext) $(lpfx)sf_isinf.$(oext) \
336 $(lpfx)s_isnan.$(oext) $(lpfx)sf_isnan.$(oext) \
337 $(lpfx)s_isinfd.$(oext) $(lpfx)sf_isinff.$(oext) \
338 $(lpfx)s_isnand.$(oext) $(lpfx)sf_isnanf.$(oext) \
339 $(lpfx)s_nan.$(oext) $(lpfx)sf_nan.$(oext) \
340 $(lpfx)s_ldexp.$(oext) $(lpfx)sf_ldexp.$(oext) \
341 $(lpfx)s_frexp.$(oext) $(lpfx)sf_frexp.$(oext) \
342 $(lpfx)s_modf.$(oext) \
343 $(lpfx)sf_modf.$(oext) $(lpfx)s_scalbn.$(oext) \
344 $(lpfx)sf_scalbn.$(oext) \
345 $(lpfx)s_finite.$(oext) $(lpfx)sf_finite.$(oext) \
346 $(lpfx)s_copysign.$(oext) $(lpfx)sf_copysign.$(oext) \
347 $(lpfx)s_infconst.$(oext)
350 $(POSIX_OBJECTLIST) \
351 $(SIGNAL_OBJECTLIST) \
352 $(SYSCALL_OBJECTLIST) \
354 $(STDIO64_OBJECTLIST) \
355 libc/argz/objectlist.awk.in \
356 libc/stdlib/objectlist.awk.in \
357 libc/time/objectlist.awk.in \
358 libc/ctype/objectlist.awk.in \
359 libc/search/objectlist.awk.in \
360 libc/string/objectlist.awk.in \
361 libc/locale/objectlist.awk.in \
362 libc/misc/objectlist.awk.in \
363 libc/reent/objectlist.awk.in \
364 libc/errno/objectlist.awk.in \
365 libc/stdio/objectlist.awk.in \
366 $(MACHINE_OBJECTLIST) \
368 $(SYS_MACH_OBJECTLIST)
371 libm/$(MATHDIR)/objectlist.awk.in \
372 libm/common/objectlist.awk.in \
373 $(LIBM_MACHINE_OBJECTLIST)
375 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
376 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
377 @USE_LIBTOOL_TRUE@libm_la_SOURCES =
378 @USE_LIBTOOL_TRUE@libm_la_DEPENDENCIES = libm-libtool-objectlist
379 @USE_LIBTOOL_TRUE@libc_la_SOURCES =
380 @USE_LIBTOOL_TRUE@libc_la_DEPENDENCIES = libc-libtool-objectlist
381 CLEANFILES = targ-include stmp-targ-include
382 CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
388 $(MAKE) $(AM_MAKEFLAGS) all-recursive
391 .SUFFIXES: .c .lo .o .obj
394 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
396 case '$(am__configure_deps)' in \
398 echo ' cd $(srcdir) && $(AUTOMAKE) --cygnus '; \
399 cd $(srcdir) && $(AUTOMAKE) --cygnus \
404 echo ' cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile'; \
405 cd $(top_srcdir) && \
406 $(AUTOMAKE) --cygnus Makefile
408 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
411 echo ' $(SHELL) ./config.status'; \
412 $(SHELL) ./config.status;; \
414 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
415 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
418 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
419 $(SHELL) ./config.status --recheck
421 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
422 cd $(srcdir) && $(AUTOCONF)
423 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
424 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
427 @if test ! -f $@; then \
432 stamp-h1: $(srcdir)/newlib.hin $(top_builddir)/config.status
434 cd $(top_builddir) && $(SHELL) ./config.status newlib.h
435 $(srcdir)/newlib.hin: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) $(top_srcdir)/acconfig.h
436 cd $(top_srcdir) && $(AUTOHEADER)
441 -rm -f newlib.h stamp-h1
442 install-toollibLIBRARIES: $(toollib_LIBRARIES)
444 test -z "$(toollibdir)" || $(mkdir_p) "$(DESTDIR)$(toollibdir)"
445 @list='$(toollib_LIBRARIES)'; for p in $$list; do \
446 if test -f $$p; then \
448 echo " $(toollibLIBRARIES_INSTALL) '$$p' '$(DESTDIR)$(toollibdir)/$$f'"; \
449 $(toollibLIBRARIES_INSTALL) "$$p" "$(DESTDIR)$(toollibdir)/$$f"; \
453 @list='$(toollib_LIBRARIES)'; for p in $$list; do \
454 if test -f $$p; then \
456 echo " $(RANLIB) '$(DESTDIR)$(toollibdir)/$$p'"; \
457 $(RANLIB) "$(DESTDIR)$(toollibdir)/$$p"; \
461 uninstall-toollibLIBRARIES:
463 @list='$(toollib_LIBRARIES)'; for p in $$list; do \
465 echo " rm -f '$(DESTDIR)$(toollibdir)/$$p'"; \
466 rm -f "$(DESTDIR)$(toollibdir)/$$p"; \
469 clean-toollibLIBRARIES:
470 -test -z "$(toollib_LIBRARIES)" || rm -f $(toollib_LIBRARIES)
471 @USE_LIBTOOL_TRUE@libc.a: $(libc_a_OBJECTS) $(libc_a_DEPENDENCIES)
472 @USE_LIBTOOL_TRUE@ -rm -f libc.a
473 @USE_LIBTOOL_TRUE@ $(libc_a_AR) libc.a $(libc_a_OBJECTS) $(libc_a_LIBADD)
474 @USE_LIBTOOL_TRUE@ $(RANLIB) libc.a
475 @USE_LIBTOOL_TRUE@libm.a: $(libm_a_OBJECTS) $(libm_a_DEPENDENCIES)
476 @USE_LIBTOOL_TRUE@ -rm -f libm.a
477 @USE_LIBTOOL_TRUE@ $(libm_a_AR) libm.a $(libm_a_OBJECTS) $(libm_a_LIBADD)
478 @USE_LIBTOOL_TRUE@ $(RANLIB) libm.a
479 install-toollibLTLIBRARIES: $(toollib_LTLIBRARIES)
481 test -z "$(toollibdir)" || $(mkdir_p) "$(DESTDIR)$(toollibdir)"
482 @list='$(toollib_LTLIBRARIES)'; for p in $$list; do \
483 if test -f $$p; then \
485 echo " $(LIBTOOL) --mode=install $(toollibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(toollibdir)/$$f'"; \
486 $(LIBTOOL) --mode=install $(toollibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(toollibdir)/$$f"; \
490 uninstall-toollibLTLIBRARIES:
492 @set -x; list='$(toollib_LTLIBRARIES)'; for p in $$list; do \
494 echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(toollibdir)/$$p'"; \
495 $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(toollibdir)/$$p"; \
498 clean-toollibLTLIBRARIES:
499 -test -z "$(toollib_LTLIBRARIES)" || rm -f $(toollib_LTLIBRARIES)
500 @list='$(toollib_LTLIBRARIES)'; for p in $$list; do \
501 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
502 test "$$dir" != "$$p" || dir=.; \
503 echo "rm -f \"$${dir}/so_locations\""; \
504 rm -f "$${dir}/so_locations"; \
506 libc.la: $(libc_la_OBJECTS) $(libc_la_DEPENDENCIES)
507 $(LINK) $(am_libc_la_rpath) $(libc_la_LDFLAGS) $(libc_la_OBJECTS) $(libc_la_LIBADD) $(LIBS)
508 libm.la: $(libm_la_OBJECTS) $(libm_la_DEPENDENCIES)
509 $(LINK) $(am_libm_la_rpath) $(libm_la_LDFLAGS) $(libm_la_OBJECTS) $(libm_la_LIBADD) $(LIBS)
521 $(COMPILE) -c `$(CYGPATH_W) '$<'`
524 $(LTCOMPILE) -c -o $@ $<
535 install-toollibDATA: $(toollib_DATA)
537 test -z "$(toollibdir)" || $(mkdir_p) "$(DESTDIR)$(toollibdir)"
538 @list='$(toollib_DATA)'; for p in $$list; do \
539 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
541 echo " $(toollibDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(toollibdir)/$$f'"; \
542 $(toollibDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(toollibdir)/$$f"; \
545 uninstall-toollibDATA:
547 @list='$(toollib_DATA)'; for p in $$list; do \
549 echo " rm -f '$(DESTDIR)$(toollibdir)/$$f'"; \
550 rm -f "$(DESTDIR)$(toollibdir)/$$f"; \
553 # This directory's subdirectories are mostly independent; you can cd
554 # into them and run `make' without going through this Makefile.
555 # To change the values of `make' variables: instead of editing Makefiles,
556 # (1) if the variable is set in `config.status', edit `config.status'
557 # (which will cause the Makefiles to be regenerated when you run `make');
558 # (2) otherwise, pass the desired values on the `make' command line.
559 $(RECURSIVE_TARGETS):
561 for f in x $$MAKEFLAGS; do \
564 *k*) failcom='fail=yes';; \
568 target=`echo $@ | sed s/-recursive//`; \
569 list='$(SUBDIRS)'; for subdir in $$list; do \
570 echo "Making $$target in $$subdir"; \
571 if test "$$subdir" = "."; then \
573 local_target="$$target-am"; \
575 local_target="$$target"; \
577 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
580 if test "$$dot_seen" = "no"; then \
581 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
584 mostlyclean-recursive clean-recursive distclean-recursive \
585 maintainer-clean-recursive:
587 for f in x $$MAKEFLAGS; do \
590 *k*) failcom='fail=yes';; \
595 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
596 *) list='$(SUBDIRS)' ;; \
598 rev=''; for subdir in $$list; do \
599 if test "$$subdir" = "."; then :; else \
600 rev="$$subdir $$rev"; \
604 target=`echo $@ | sed s/-recursive//`; \
605 for subdir in $$rev; do \
606 echo "Making $$target in $$subdir"; \
607 if test "$$subdir" = "."; then \
608 local_target="$$target-am"; \
610 local_target="$$target"; \
612 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
614 done && test -z "$$fail"
616 list='$(SUBDIRS)'; for subdir in $$list; do \
617 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
620 list='$(SUBDIRS)'; for subdir in $$list; do \
621 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
624 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
625 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
626 unique=`for i in $$list; do \
627 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
629 $(AWK) ' { files[$$0] = 1; } \
630 END { for (i in files) print i; }'`; \
634 TAGS: tags-recursive $(HEADERS) $(SOURCES) newlib.hin $(TAGS_DEPENDENCIES) \
635 $(TAGS_FILES) $(LISP)
638 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
639 include_option=--etags-include; \
642 include_option=--include; \
645 list='$(SUBDIRS)'; for subdir in $$list; do \
646 if test "$$subdir" = .; then :; else \
647 test ! -f $$subdir/TAGS || \
648 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
651 list='$(SOURCES) $(HEADERS) newlib.hin $(LISP) $(TAGS_FILES)'; \
652 unique=`for i in $$list; do \
653 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
655 $(AWK) ' { files[$$0] = 1; } \
656 END { for (i in files) print i; }'`; \
657 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
658 test -n "$$unique" || unique=$$empty_fix; \
659 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
663 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) newlib.hin $(TAGS_DEPENDENCIES) \
664 $(TAGS_FILES) $(LISP)
667 list='$(SOURCES) $(HEADERS) newlib.hin $(LISP) $(TAGS_FILES)'; \
668 unique=`for i in $$list; do \
669 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
671 $(AWK) ' { files[$$0] = 1; } \
672 END { for (i in files) print i; }'`; \
673 test -z "$(CTAGS_ARGS)$$tags$$unique" \
674 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
678 here=`$(am__cd) $(top_builddir) && pwd` \
679 && cd $(top_srcdir) \
680 && gtags -i $(GTAGS_ARGS) $$here
683 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
686 -rm -f site.exp site.bak
687 -l='$(DEJATOOL)'; for tool in $$l; do \
688 rm -f $$tool.sum $$tool.log; \
691 $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
692 check: check-recursive
693 all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(DATA) newlib.h
694 installdirs: installdirs-recursive
696 for dir in "$(DESTDIR)$(toollibdir)" "$(DESTDIR)$(toollibdir)" "$(DESTDIR)$(toollibdir)"; do \
697 test -z "$$dir" || $(mkdir_p) "$$dir"; \
699 install: install-recursive
700 install-exec: install-exec-recursive
701 install-data: install-data-recursive
702 uninstall: uninstall-recursive
705 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
707 installcheck: installcheck-recursive
709 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
710 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
711 `test -z '$(STRIP)' || \
712 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
716 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
719 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
721 maintainer-clean-generic:
722 @echo "This command is intended for maintainers to use"
723 @echo "it deletes files that may require special tools to rebuild."
724 clean: clean-recursive
726 clean-am: clean-generic clean-libtool clean-toollibLIBRARIES \
727 clean-toollibLTLIBRARIES mostlyclean-am
729 distclean: distclean-recursive
730 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
732 distclean-am: clean-am distclean-DEJAGNU distclean-compile \
733 distclean-generic distclean-hdr distclean-libtool \
746 install-data-am: install-data-local install-toollibDATA \
747 install-toollibLIBRARIES install-toollibLTLIBRARIES
751 install-info: install-info-recursive
757 maintainer-clean: maintainer-clean-recursive
758 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
759 -rm -rf $(top_srcdir)/autom4te.cache
761 maintainer-clean-am: distclean-am maintainer-clean-generic
763 mostlyclean: mostlyclean-recursive
765 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
776 uninstall-am: uninstall-toollibDATA uninstall-toollibLIBRARIES \
777 uninstall-toollibLTLIBRARIES
779 uninstall-info: uninstall-info-recursive
781 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
782 check-DEJAGNU check-am clean clean-generic clean-libtool \
783 clean-recursive clean-toollibLIBRARIES \
784 clean-toollibLTLIBRARIES ctags ctags-recursive distclean \
785 distclean-DEJAGNU distclean-compile distclean-generic \
786 distclean-hdr distclean-libtool distclean-recursive \
787 distclean-tags dvi dvi-am html html-am info info-am install \
788 install-am install-data install-data-am install-data-local \
789 install-exec install-exec-am install-info install-info-am \
790 install-man install-strip install-toollibDATA \
791 install-toollibLIBRARIES install-toollibLTLIBRARIES \
792 installcheck installcheck-am installdirs installdirs-am \
793 maintainer-clean maintainer-clean-generic \
794 maintainer-clean-recursive mostlyclean mostlyclean-compile \
795 mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
796 pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
797 uninstall-info-am uninstall-toollibDATA \
798 uninstall-toollibLIBRARIES uninstall-toollibLTLIBRARIES
801 # objects listed later in LIBM_OBJECTLISTS will override those listed earlier
802 @USE_LIBTOOL_TRUE@libm-libtool-objectlist: $(LIBM_OBJECTLISTS)
803 @USE_LIBTOOL_TRUE@ cat $(LIBM_OBJECTLISTS) | $(AWK) '{ libm[$$1] = $$2 }; END { for (x in libm) printf ("%s\n", libm[x]) }' > $@
805 # objects listed later in LIBM_OBJECTLISTS and LIBC_OBJECTLISTS will override those listed earlier
806 @USE_LIBTOOL_TRUE@libc-libtool-objectlist: $(LIBM_OBJECTLISTS) $(LIBC_OBJECTLISTS)
807 @USE_LIBTOOL_TRUE@ cat $(LIBM_OBJECTLISTS) $(LIBC_OBJECTLISTS) | $(AWK) '{ libc[$$1] = $$2 }; END { for (x in libc) printf ("%s\n", libc[x]) }' > $@
809 @USE_LIBTOOL_FALSE@libc.a: libc/libc.a libm.a
810 @USE_LIBTOOL_FALSE@ rm -rf libc.a libg.a tmp
811 @USE_LIBTOOL_FALSE@ mkdir tmp
812 @USE_LIBTOOL_FALSE@ cd tmp; \
813 @USE_LIBTOOL_FALSE@ $(AR) x ../libm.a $(MATHOBJS_IN_LIBC) ; \
814 @USE_LIBTOOL_FALSE@ $(AR) x ../libc/libc.a ; \
815 @USE_LIBTOOL_FALSE@ $(AR) $(AR_FLAGS) ../$@ *.o
816 @USE_LIBTOOL_FALSE@ $(RANLIB) libc.a
817 @USE_LIBTOOL_FALSE@ ln libc.a libg.a >/dev/null 2>/dev/null || cp libc.a libg.a
818 @USE_LIBTOOL_FALSE@ rm -rf tmp
820 @USE_LIBTOOL_FALSE@libc/libc.a: ; @true
822 @USE_LIBTOOL_FALSE@libm.a: libm/libm.a
823 @USE_LIBTOOL_FALSE@ rm -f $@
824 @USE_LIBTOOL_FALSE@ ln libm/libm.a $@ >/dev/null 2>/dev/null || cp libm/libm.a $@
826 @USE_LIBTOOL_FALSE@libm/libm.a: ; @true
828 crt0.o: $(CRT0_DIR)$(CRT0)
830 ln $(CRT0_DIR)$(CRT0) $@ >/dev/null 2>/dev/null \
831 || cp $(CRT0_DIR)$(CRT0) $@
833 $(CRT0_DIR)$(CRT0): ; @true
835 crt1.o: $(CRT1_DIR)$(CRT1)
837 ln $(CRT0_DIR)$(CRT0) $@ >/dev/null 2>/dev/null \
838 || cp $(CRT0_DIR)$(CRT0) $@
840 $(CRT1_DIR)$(CRT1): ; @true
842 all-recursive: stmp-targ-include
844 # The targ-include directory just holds the includes files for the
845 # particular system and machine we have been configured for. It is
846 # used while building.
847 stmp-targ-include: config.status
848 -rm -rf targ-include stmp-targ-include
849 mkdir targ-include targ-include/sys targ-include/machine targ-include/bits
850 cp newlib.h targ-include/newlib.h
851 -for i in $(srcdir)/libc/machine/$(machine_dir)/machine/*.h; do \
852 if [ -f $$i ]; then \
853 cp $$i targ-include/machine/`basename $$i`; \
856 -for i in $(srcdir)/libc/machine/$(machine_dir)/sys/*.h; do \
857 if [ -f $$i ]; then \
858 cp $$i targ-include/sys/`basename $$i`; \
861 -for i in $(srcdir)/libc/machine/$(machine_dir)/include/*.h; do \
862 if [ -f $$i ]; then \
863 cp $$i targ-include/`basename $$i`; \
866 -for i in $(srcdir)/libc/sys/$(sys_dir)/include/*.h; do \
867 if [ -f $$i ]; then \
868 cp $$i targ-include/`basename $$i`; \
871 -for i in $(srcdir)/libc/sys/$(sys_dir)/sys/*.h; do \
872 if [ -f $$i ]; then \
873 cp $$i targ-include/sys/`basename $$i`; \
876 -for i in $(srcdir)/libc/sys/$(sys_dir)/bits/*.h; do \
877 if [ -f $$i ]; then \
878 cp $$i targ-include/bits/`basename $$i`; \
881 -for i in $(srcdir)/libc/sys/$(sys_dir)/machine/*.h; do \
882 if [ -f $$i ]; then \
883 cp $$i targ-include/machine/`basename $$i`; \
886 -for i in $(srcdir)/libc/sys/$(sys_dir)/machine/$(machine_dir)/*.h; do \
887 if [ -f $$i ]; then \
888 cp $$i targ-include/machine/`basename $$i`; \
891 -for i in $(srcdir)/libc/sys/$(sys_dir)/machine/$(machine_dir)/include/*.h; do \
892 if [ -f $$i ]; then \
893 cp $$i targ-include/machine/`basename $$i`; \
898 install-data-local: install-toollibLIBRARIES
899 @USE_LIBTOOL_FALSE@ rm -f $(DESTDIR)$(toollibdir)/libg.a
900 @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
901 $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do # $(MAKE)
902 -if [ -z "$(MULTISUBDIR)" ]; then \
903 $(mkinstalldirs) $(DESTDIR)$(tooldir)/include; \
904 for i in $(srcdir)/libc/include/*.h; do \
905 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/`basename $$i`; \
907 $(INSTALL_DATA) newlib.h $(DESTDIR)$(tooldir)/include/newlib.h; \
908 $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/machine; \
909 for i in $(srcdir)/libc/include/machine/*.h; do \
910 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
912 for i in $(srcdir)/libc/machine/$(machine_dir)/machine/*.h; do \
913 if [ -f $$i ]; then \
914 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
917 $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/sys; \
918 for i in $(srcdir)/libc/include/sys/*.h; do \
919 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \
921 for i in $(srcdir)/libc/machine/$(machine_dir)/sys/*.h; do \
922 if [ -f $$i ]; then \
923 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \
926 for i in $(srcdir)/libc/machine/$(machine_dir)/include/*.h; do \
927 if [ -f $$i ]; then \
928 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/`basename $$i`; \
931 for i in $(srcdir)/libc/sys/$(sys_dir)/sys/*.h; do \
932 if [ -f $$i ]; then \
933 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \
936 $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/bits; \
937 for i in $(srcdir)/libc/sys/$(sys_dir)/bits/*.h; do \
938 if [ -f $$i ]; then \
939 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/bits/`basename $$i`; \
942 for i in $(srcdir)/libc/sys/$(sys_dir)/machine/*.h; do \
943 if [ -f $$i ]; then \
944 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
947 for i in $(srcdir)/libc/sys/$(sys_dir)/include/*.h; do \
948 if [ -f $$i ]; then \
949 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/`basename $$i`; \
952 for i in $(srcdir)/libc/sys/$(sys_dir)/machine/$(machine_dir)/include/*.h; do \
953 if [ -f $$i ]; then \
954 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
959 # Force makedoc to be built before building info files.
960 info-recursive: doc/makedoc
961 dvi-recursive: doc/makedoc
963 cd doc && $(MAKE) all
966 .PHONY: all-multi check-multi mostlyclean-multi clean-multi distclean-multi \
967 maintainer-clean-multi
969 all-recursive: all-multi
970 check-recursive: check-multi
971 mostlyclean-recursive: mostlyclean-multi
972 clean-recursive: clean-multi
973 distclean-recursive: distclean-multi
974 maintainer-clean-recursive: maintainer-clean-multi
976 # The $(MAKE) comments below are to enable parallel building.
978 $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do # $(MAKE)
980 $(MULTIDO) $(AM_MAKEFLAGS) DO=check multi-do # $(MAKE)
982 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean # $(MAKE)
984 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean # $(MAKE)
986 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean # $(MAKE)
987 maintainer-clean-multi:
988 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean # $(MAKE)
991 @echo 'Making a new site.exp file...'
992 @test ! -f site.bak || rm -f site.bak
993 @echo '## these variables are automatically generated by make ##' > $@-t
994 @echo '# Do not edit here. If you wish to override these values' >> $@-t
995 @echo '# edit the last section' >> $@-t
996 @echo 'set tool $(DEJATOOL)' >> $@-t
997 @echo 'set tool_version $(VERSION)' >> $@-t
998 @echo 'set srcdir $(srcdir)/testsuite' >> $@-t
999 @echo 'set objdir' `pwd` >> $@-t
1000 @echo 'set tmpdir' `pwd`/testsuite >> $@-t
1001 @echo 'set multibuildtop ./$(MULTIBUILDTOP)' >> $@-t
1002 @echo 'set host_alias $(build_alias)' >> $@-t
1003 @echo 'set host_triplet $(build_triplet)' >> $@-t
1004 @echo 'set target_alias $(host_alias)' >> $@-t
1005 @echo 'set target_triplet $(host_triplet)' >> $@-t
1006 @echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t
1007 @test ! -f site.exp || sed '1,/^## All variables above are.*##/ d' site.exp >> $@-t
1008 @test ! -f site.exp || mv site.exp site.bak
1011 check-DEJAGNU: site.exp
1012 @if [ -d testsuite ] ; then \
1017 @rm -f testsuite/site.exp
1018 @cp site.exp testsuite/site.exp
1021 srcdir=`cd ${srcdir}; pwd` ; \
1023 EXPECT=`if [ -f $${rootme}/${MULTIBUILDTOP}../../expect/expect ] ; then \
1024 echo $${rootme}/${MULTIBUILDTOP}../../expect/expect ; \
1029 echo "Found expect: $${EXPECT}" ; \
1030 if [ -f $(top_builddir)/$(MULTIBUILDTOP)../../expect/expect ] ; then \
1031 TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd` ; \
1032 export TCL_LIBRARY ; \
1033 echo "Found TCL library directory: $${TCL_LIBRARY}" ; \
1035 RUNTEST=`if [ -f $${srcdir}/../dejagnu/runtest ] ; then \
1036 echo $${srcdir}/../dejagnu/runtest ; \
1041 echo "Found runtest: $${RUNTEST}" ; \
1043 if $(SHELL) -c "$$RUNTEST --version" > /dev/null 2>&1 ; then \
1044 $$RUNTEST --tool $(DEJATOOL) --srcdir $${srcdir}/testsuite $(RUNTESTFLAGS) ; \
1047 echo "WARNING: could not find \`runtest'" 1>&2 ; \
1049 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1050 # Otherwise a system limit (for SysV at least) may be exceeded.