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@
197 SET_MAKE = @SET_MAKE@
199 SIGNAL_OBJECTLIST = @SIGNAL_OBJECTLIST@
200 STDIO64_OBJECTLIST = @STDIO64_OBJECTLIST@
202 SYSCALL_OBJECTLIST = @SYSCALL_OBJECTLIST@
203 SYS_MACH_OBJECTLIST = @SYS_MACH_OBJECTLIST@
204 SYS_OBJECTLIST = @SYS_OBJECTLIST@
205 UNIX_OBJECTLIST = @UNIX_OBJECTLIST@
206 USE_LIBTOOL_FALSE = @USE_LIBTOOL_FALSE@
207 USE_LIBTOOL_TRUE = @USE_LIBTOOL_TRUE@
209 ac_ct_AR = @ac_ct_AR@
210 ac_ct_AS = @ac_ct_AS@
211 ac_ct_CC = @ac_ct_CC@
212 ac_ct_RANLIB = @ac_ct_RANLIB@
213 ac_ct_STRIP = @ac_ct_STRIP@
215 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
216 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
217 am__include = @am__include@
218 am__leading_dot = @am__leading_dot@
219 am__quote = @am__quote@
221 am__untar = @am__untar@
224 build_alias = @build_alias@
225 build_cpu = @build_cpu@
226 build_os = @build_os@
227 build_vendor = @build_vendor@
229 exec_prefix = @exec_prefix@
231 host_alias = @host_alias@
232 host_cpu = @host_cpu@
234 host_vendor = @host_vendor@
235 includedir = @includedir@
237 install_sh = @install_sh@
238 libc_cv_array_aliasing = @libc_cv_array_aliasing@
239 libc_cv_initfinit_array = @libc_cv_initfinit_array@
241 libexecdir = @libexecdir@
242 libm_machine_dir = @libm_machine_dir@
243 localstatedir = @localstatedir@
245 machine_dir = @machine_dir@
248 newlib_basedir = @newlib_basedir@
250 oldincludedir = @oldincludedir@
252 program_transform_name = @program_transform_name@
254 sharedstatedir = @sharedstatedir@
257 sysconfdir = @sysconfdir@
258 target_alias = @target_alias@
259 AUTOMAKE_OPTIONS = cygnus dejagnu
260 ACLOCAL_AMFLAGS = -I .
262 # Multilib support variables.
269 LIBTOOL_VERSION_INFO = 0:0:0
270 @NEWLIB_HW_FP_FALSE@MATHDIR = math
271 @NEWLIB_HW_FP_TRUE@MATHDIR = mathfp
273 # Work around what appears to be a GNU make bug handling MAKEFLAGS
274 # values defined in terms of make variables, as is the case for CC and
275 # friends when we are called from the top level Makefile.
277 "AR_FLAGS=$(AR_FLAGS)" \
278 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
280 "CCASFLAGS=$(CCASFLAGS)" \
281 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
282 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
283 "INSTALL=$(INSTALL)" \
284 "LDFLAGS=$(LDFLAGS)" \
285 "LIBCFLAGS=$(LIBCFLAGS)" \
286 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
288 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
289 "PICFLAG=$(PICFLAG)" \
290 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
293 "RUNTEST=$(RUNTEST)" \
294 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
295 "exec_prefix=$(exec_prefix)" \
296 "infodir=$(infodir)" \
299 "tooldir=$(tooldir)" \
300 "top_toollibdir=$(toollibdir)" \
303 "CC=$(CC_FOR_NEWLIB)" \
305 "LIBCFLAGS=$(LIBCFLAGS)" \
307 "PICFLAG=$(PICFLAG)" \
311 FLAGS_TO_PASS = $(AM_MAKEFLAGS)
312 @HAVE_DOC_FALSE@DOCDIR =
313 @HAVE_DOC_TRUE@DOCDIR = doc
314 SUBDIRS = libc libm \
315 $(DOCDIR) . $(EXTRA_DIRS)
317 tooldir = $(exec_prefix)/$(host_alias)
318 toollibdir = $(tooldir)/lib$(MULTISUBDIR)
320 @USE_LIBTOOL_TRUE@toollib_LTLIBRARIES = libm.la \
321 @USE_LIBTOOL_TRUE@ libc.la
323 @USE_LIBTOOL_FALSE@toollib_LIBRARIES = libm.a \
324 @USE_LIBTOOL_FALSE@ libc.a
326 noinst_DATA = stmp-targ-include
327 toollib_DATA = $(CRT0) $(CRT1)
329 # The functions ldexp, frexp and modf are traditionally supplied in
330 # both libc.a and libm.a. We build them in libm.a and copy them over,
331 # along with some required supporting routines.
333 $(lpfx)s_isinf.$(oext) $(lpfx)sf_isinf.$(oext) \
334 $(lpfx)s_isnan.$(oext) $(lpfx)sf_isnan.$(oext) \
335 $(lpfx)s_isinfd.$(oext) $(lpfx)sf_isinff.$(oext) \
336 $(lpfx)s_isnand.$(oext) $(lpfx)sf_isnanf.$(oext) \
337 $(lpfx)s_nan.$(oext) $(lpfx)sf_nan.$(oext) \
338 $(lpfx)s_ldexp.$(oext) $(lpfx)sf_ldexp.$(oext) \
339 $(lpfx)s_frexp.$(oext) $(lpfx)sf_frexp.$(oext) \
340 $(lpfx)s_modf.$(oext) \
341 $(lpfx)sf_modf.$(oext) $(lpfx)s_scalbn.$(oext) \
342 $(lpfx)sf_scalbn.$(oext) \
343 $(lpfx)s_finite.$(oext) $(lpfx)sf_finite.$(oext) \
344 $(lpfx)s_copysign.$(oext) $(lpfx)sf_copysign.$(oext) \
345 $(lpfx)s_infconst.$(oext)
348 $(POSIX_OBJECTLIST) \
349 $(SIGNAL_OBJECTLIST) \
350 $(SYSCALL_OBJECTLIST) \
352 $(STDIO64_OBJECTLIST) \
353 libc/argz/objectlist.awk.in \
354 libc/stdlib/objectlist.awk.in \
355 libc/time/objectlist.awk.in \
356 libc/ctype/objectlist.awk.in \
357 libc/search/objectlist.awk.in \
358 libc/string/objectlist.awk.in \
359 libc/locale/objectlist.awk.in \
360 libc/misc/objectlist.awk.in \
361 libc/reent/objectlist.awk.in \
362 libc/errno/objectlist.awk.in \
363 libc/stdio/objectlist.awk.in \
364 $(MACHINE_OBJECTLIST) \
366 $(SYS_MACH_OBJECTLIST)
369 libm/$(MATHDIR)/objectlist.awk.in \
370 libm/common/objectlist.awk.in \
371 $(LIBM_MACHINE_OBJECTLIST)
373 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
374 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
375 @USE_LIBTOOL_TRUE@libm_la_SOURCES =
376 @USE_LIBTOOL_TRUE@libm_la_DEPENDENCIES = libm-libtool-objectlist
377 @USE_LIBTOOL_TRUE@libc_la_SOURCES =
378 @USE_LIBTOOL_TRUE@libc_la_DEPENDENCIES = libc-libtool-objectlist
379 CLEANFILES = targ-include stmp-targ-include
380 CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
386 $(MAKE) $(AM_MAKEFLAGS) all-recursive
389 .SUFFIXES: .c .lo .o .obj
392 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
394 case '$(am__configure_deps)' in \
396 echo ' cd $(srcdir) && $(AUTOMAKE) --cygnus '; \
397 cd $(srcdir) && $(AUTOMAKE) --cygnus \
402 echo ' cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile'; \
403 cd $(top_srcdir) && \
404 $(AUTOMAKE) --cygnus Makefile
406 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
409 echo ' $(SHELL) ./config.status'; \
410 $(SHELL) ./config.status;; \
412 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
413 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
416 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
417 $(SHELL) ./config.status --recheck
419 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
420 cd $(srcdir) && $(AUTOCONF)
421 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
422 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
425 @if test ! -f $@; then \
430 stamp-h1: $(srcdir)/newlib.hin $(top_builddir)/config.status
432 cd $(top_builddir) && $(SHELL) ./config.status newlib.h
433 $(srcdir)/newlib.hin: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) $(top_srcdir)/acconfig.h
434 cd $(top_srcdir) && $(AUTOHEADER)
439 -rm -f newlib.h stamp-h1
440 install-toollibLIBRARIES: $(toollib_LIBRARIES)
442 test -z "$(toollibdir)" || $(mkdir_p) "$(DESTDIR)$(toollibdir)"
443 @list='$(toollib_LIBRARIES)'; for p in $$list; do \
444 if test -f $$p; then \
446 echo " $(toollibLIBRARIES_INSTALL) '$$p' '$(DESTDIR)$(toollibdir)/$$f'"; \
447 $(toollibLIBRARIES_INSTALL) "$$p" "$(DESTDIR)$(toollibdir)/$$f"; \
451 @list='$(toollib_LIBRARIES)'; for p in $$list; do \
452 if test -f $$p; then \
454 echo " $(RANLIB) '$(DESTDIR)$(toollibdir)/$$p'"; \
455 $(RANLIB) "$(DESTDIR)$(toollibdir)/$$p"; \
459 uninstall-toollibLIBRARIES:
461 @list='$(toollib_LIBRARIES)'; for p in $$list; do \
463 echo " rm -f '$(DESTDIR)$(toollibdir)/$$p'"; \
464 rm -f "$(DESTDIR)$(toollibdir)/$$p"; \
467 clean-toollibLIBRARIES:
468 -test -z "$(toollib_LIBRARIES)" || rm -f $(toollib_LIBRARIES)
469 @USE_LIBTOOL_TRUE@libc.a: $(libc_a_OBJECTS) $(libc_a_DEPENDENCIES)
470 @USE_LIBTOOL_TRUE@ -rm -f libc.a
471 @USE_LIBTOOL_TRUE@ $(libc_a_AR) libc.a $(libc_a_OBJECTS) $(libc_a_LIBADD)
472 @USE_LIBTOOL_TRUE@ $(RANLIB) libc.a
473 @USE_LIBTOOL_TRUE@libm.a: $(libm_a_OBJECTS) $(libm_a_DEPENDENCIES)
474 @USE_LIBTOOL_TRUE@ -rm -f libm.a
475 @USE_LIBTOOL_TRUE@ $(libm_a_AR) libm.a $(libm_a_OBJECTS) $(libm_a_LIBADD)
476 @USE_LIBTOOL_TRUE@ $(RANLIB) libm.a
477 install-toollibLTLIBRARIES: $(toollib_LTLIBRARIES)
479 test -z "$(toollibdir)" || $(mkdir_p) "$(DESTDIR)$(toollibdir)"
480 @list='$(toollib_LTLIBRARIES)'; for p in $$list; do \
481 if test -f $$p; then \
483 echo " $(LIBTOOL) --mode=install $(toollibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(toollibdir)/$$f'"; \
484 $(LIBTOOL) --mode=install $(toollibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(toollibdir)/$$f"; \
488 uninstall-toollibLTLIBRARIES:
490 @set -x; list='$(toollib_LTLIBRARIES)'; for p in $$list; do \
492 echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(toollibdir)/$$p'"; \
493 $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(toollibdir)/$$p"; \
496 clean-toollibLTLIBRARIES:
497 -test -z "$(toollib_LTLIBRARIES)" || rm -f $(toollib_LTLIBRARIES)
498 @list='$(toollib_LTLIBRARIES)'; for p in $$list; do \
499 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
500 test "$$dir" != "$$p" || dir=.; \
501 echo "rm -f \"$${dir}/so_locations\""; \
502 rm -f "$${dir}/so_locations"; \
504 libc.la: $(libc_la_OBJECTS) $(libc_la_DEPENDENCIES)
505 $(LINK) $(am_libc_la_rpath) $(libc_la_LDFLAGS) $(libc_la_OBJECTS) $(libc_la_LIBADD) $(LIBS)
506 libm.la: $(libm_la_OBJECTS) $(libm_la_DEPENDENCIES)
507 $(LINK) $(am_libm_la_rpath) $(libm_la_LDFLAGS) $(libm_la_OBJECTS) $(libm_la_LIBADD) $(LIBS)
519 $(COMPILE) -c `$(CYGPATH_W) '$<'`
522 $(LTCOMPILE) -c -o $@ $<
533 install-toollibDATA: $(toollib_DATA)
535 test -z "$(toollibdir)" || $(mkdir_p) "$(DESTDIR)$(toollibdir)"
536 @list='$(toollib_DATA)'; for p in $$list; do \
537 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
539 echo " $(toollibDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(toollibdir)/$$f'"; \
540 $(toollibDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(toollibdir)/$$f"; \
543 uninstall-toollibDATA:
545 @list='$(toollib_DATA)'; for p in $$list; do \
547 echo " rm -f '$(DESTDIR)$(toollibdir)/$$f'"; \
548 rm -f "$(DESTDIR)$(toollibdir)/$$f"; \
551 # This directory's subdirectories are mostly independent; you can cd
552 # into them and run `make' without going through this Makefile.
553 # To change the values of `make' variables: instead of editing Makefiles,
554 # (1) if the variable is set in `config.status', edit `config.status'
555 # (which will cause the Makefiles to be regenerated when you run `make');
556 # (2) otherwise, pass the desired values on the `make' command line.
557 $(RECURSIVE_TARGETS):
559 for f in x $$MAKEFLAGS; do \
562 *k*) failcom='fail=yes';; \
566 target=`echo $@ | sed s/-recursive//`; \
567 list='$(SUBDIRS)'; for subdir in $$list; do \
568 echo "Making $$target in $$subdir"; \
569 if test "$$subdir" = "."; then \
571 local_target="$$target-am"; \
573 local_target="$$target"; \
575 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
578 if test "$$dot_seen" = "no"; then \
579 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
582 mostlyclean-recursive clean-recursive distclean-recursive \
583 maintainer-clean-recursive:
585 for f in x $$MAKEFLAGS; do \
588 *k*) failcom='fail=yes';; \
593 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
594 *) list='$(SUBDIRS)' ;; \
596 rev=''; for subdir in $$list; do \
597 if test "$$subdir" = "."; then :; else \
598 rev="$$subdir $$rev"; \
602 target=`echo $@ | sed s/-recursive//`; \
603 for subdir in $$rev; do \
604 echo "Making $$target in $$subdir"; \
605 if test "$$subdir" = "."; then \
606 local_target="$$target-am"; \
608 local_target="$$target"; \
610 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
612 done && test -z "$$fail"
614 list='$(SUBDIRS)'; for subdir in $$list; do \
615 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
618 list='$(SUBDIRS)'; for subdir in $$list; do \
619 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
622 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
623 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
624 unique=`for i in $$list; do \
625 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
627 $(AWK) ' { files[$$0] = 1; } \
628 END { for (i in files) print i; }'`; \
632 TAGS: tags-recursive $(HEADERS) $(SOURCES) newlib.hin $(TAGS_DEPENDENCIES) \
633 $(TAGS_FILES) $(LISP)
636 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
637 include_option=--etags-include; \
640 include_option=--include; \
643 list='$(SUBDIRS)'; for subdir in $$list; do \
644 if test "$$subdir" = .; then :; else \
645 test ! -f $$subdir/TAGS || \
646 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
649 list='$(SOURCES) $(HEADERS) newlib.hin $(LISP) $(TAGS_FILES)'; \
650 unique=`for i in $$list; do \
651 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
653 $(AWK) ' { files[$$0] = 1; } \
654 END { for (i in files) print i; }'`; \
655 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
656 test -n "$$unique" || unique=$$empty_fix; \
657 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
661 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) newlib.hin $(TAGS_DEPENDENCIES) \
662 $(TAGS_FILES) $(LISP)
665 list='$(SOURCES) $(HEADERS) newlib.hin $(LISP) $(TAGS_FILES)'; \
666 unique=`for i in $$list; do \
667 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
669 $(AWK) ' { files[$$0] = 1; } \
670 END { for (i in files) print i; }'`; \
671 test -z "$(CTAGS_ARGS)$$tags$$unique" \
672 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
676 here=`$(am__cd) $(top_builddir) && pwd` \
677 && cd $(top_srcdir) \
678 && gtags -i $(GTAGS_ARGS) $$here
681 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
684 -rm -f site.exp site.bak
685 -l='$(DEJATOOL)'; for tool in $$l; do \
686 rm -f $$tool.sum $$tool.log; \
689 $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
690 check: check-recursive
691 all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(DATA) newlib.h
692 installdirs: installdirs-recursive
694 for dir in "$(DESTDIR)$(toollibdir)" "$(DESTDIR)$(toollibdir)" "$(DESTDIR)$(toollibdir)"; do \
695 test -z "$$dir" || $(mkdir_p) "$$dir"; \
697 install: install-recursive
698 install-exec: install-exec-recursive
699 install-data: install-data-recursive
700 uninstall: uninstall-recursive
703 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
705 installcheck: installcheck-recursive
707 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
708 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
709 `test -z '$(STRIP)' || \
710 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
714 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
717 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
719 maintainer-clean-generic:
720 @echo "This command is intended for maintainers to use"
721 @echo "it deletes files that may require special tools to rebuild."
722 clean: clean-recursive
724 clean-am: clean-generic clean-libtool clean-toollibLIBRARIES \
725 clean-toollibLTLIBRARIES mostlyclean-am
727 distclean: distclean-recursive
728 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
730 distclean-am: clean-am distclean-DEJAGNU distclean-compile \
731 distclean-generic distclean-hdr distclean-libtool \
744 install-data-am: install-data-local install-toollibDATA \
745 install-toollibLIBRARIES install-toollibLTLIBRARIES
749 install-info: install-info-recursive
755 maintainer-clean: maintainer-clean-recursive
756 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
757 -rm -rf $(top_srcdir)/autom4te.cache
759 maintainer-clean-am: distclean-am maintainer-clean-generic
761 mostlyclean: mostlyclean-recursive
763 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
774 uninstall-am: uninstall-toollibDATA uninstall-toollibLIBRARIES \
775 uninstall-toollibLTLIBRARIES
777 uninstall-info: uninstall-info-recursive
779 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
780 check-DEJAGNU check-am clean clean-generic clean-libtool \
781 clean-recursive clean-toollibLIBRARIES \
782 clean-toollibLTLIBRARIES ctags ctags-recursive distclean \
783 distclean-DEJAGNU distclean-compile distclean-generic \
784 distclean-hdr distclean-libtool distclean-recursive \
785 distclean-tags dvi dvi-am html html-am info info-am install \
786 install-am install-data install-data-am install-data-local \
787 install-exec install-exec-am install-info install-info-am \
788 install-man install-strip install-toollibDATA \
789 install-toollibLIBRARIES install-toollibLTLIBRARIES \
790 installcheck installcheck-am installdirs installdirs-am \
791 maintainer-clean maintainer-clean-generic \
792 maintainer-clean-recursive mostlyclean mostlyclean-compile \
793 mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
794 pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
795 uninstall-info-am uninstall-toollibDATA \
796 uninstall-toollibLIBRARIES uninstall-toollibLTLIBRARIES
799 # objects listed later in LIBM_OBJECTLISTS will override those listed earlier
800 @USE_LIBTOOL_TRUE@libm-libtool-objectlist: $(LIBM_OBJECTLISTS)
801 @USE_LIBTOOL_TRUE@ cat $(LIBM_OBJECTLISTS) | $(AWK) '{ libm[$$1] = $$2 }; END { for (x in libm) printf ("%s\n", libm[x]) }' > $@
803 # objects listed later in LIBM_OBJECTLISTS and LIBC_OBJECTLISTS will override those listed earlier
804 @USE_LIBTOOL_TRUE@libc-libtool-objectlist: $(LIBM_OBJECTLISTS) $(LIBC_OBJECTLISTS)
805 @USE_LIBTOOL_TRUE@ cat $(LIBM_OBJECTLISTS) $(LIBC_OBJECTLISTS) | $(AWK) '{ libc[$$1] = $$2 }; END { for (x in libc) printf ("%s\n", libc[x]) }' > $@
807 @USE_LIBTOOL_FALSE@libc.a: libc/libc.a libm.a
808 @USE_LIBTOOL_FALSE@ rm -rf libc.a libg.a tmp
809 @USE_LIBTOOL_FALSE@ mkdir tmp
810 @USE_LIBTOOL_FALSE@ cd tmp; \
811 @USE_LIBTOOL_FALSE@ $(AR) x ../libm.a $(MATHOBJS_IN_LIBC) ; \
812 @USE_LIBTOOL_FALSE@ $(AR) x ../libc/libc.a ; \
813 @USE_LIBTOOL_FALSE@ $(AR) $(AR_FLAGS) ../$@ *.o
814 @USE_LIBTOOL_FALSE@ $(RANLIB) libc.a
815 @USE_LIBTOOL_FALSE@ ln libc.a libg.a >/dev/null 2>/dev/null || cp libc.a libg.a
816 @USE_LIBTOOL_FALSE@ rm -rf tmp
818 @USE_LIBTOOL_FALSE@libc/libc.a: ; @true
820 @USE_LIBTOOL_FALSE@libm.a: libm/libm.a
821 @USE_LIBTOOL_FALSE@ rm -f $@
822 @USE_LIBTOOL_FALSE@ ln libm/libm.a $@ >/dev/null 2>/dev/null || cp libm/libm.a $@
824 @USE_LIBTOOL_FALSE@libm/libm.a: ; @true
826 crt0.o: $(CRT0_DIR)$(CRT0)
828 ln $(CRT0_DIR)$(CRT0) $@ >/dev/null 2>/dev/null \
829 || cp $(CRT0_DIR)$(CRT0) $@
831 $(CRT0_DIR)$(CRT0): ; @true
833 crt1.o: $(CRT1_DIR)$(CRT1)
835 ln $(CRT0_DIR)$(CRT0) $@ >/dev/null 2>/dev/null \
836 || cp $(CRT0_DIR)$(CRT0) $@
838 $(CRT1_DIR)$(CRT1): ; @true
840 all-recursive: stmp-targ-include
842 # The targ-include directory just holds the includes files for the
843 # particular system and machine we have been configured for. It is
844 # used while building.
845 stmp-targ-include: config.status
846 -rm -rf targ-include stmp-targ-include
847 mkdir targ-include targ-include/sys targ-include/machine targ-include/bits
848 cp newlib.h targ-include/newlib.h
849 -for i in $(srcdir)/libc/machine/$(machine_dir)/machine/*.h; do \
850 if [ -f $$i ]; then \
851 cp $$i targ-include/machine/`basename $$i`; \
854 -for i in $(srcdir)/libc/machine/$(machine_dir)/sys/*.h; do \
855 if [ -f $$i ]; then \
856 cp $$i targ-include/sys/`basename $$i`; \
859 -for i in $(srcdir)/libc/machine/$(machine_dir)/include/*.h; do \
860 if [ -f $$i ]; then \
861 cp $$i targ-include/`basename $$i`; \
864 -for i in $(srcdir)/libc/sys/$(sys_dir)/include/*.h; do \
865 if [ -f $$i ]; then \
866 cp $$i targ-include/`basename $$i`; \
869 -for i in $(srcdir)/libc/sys/$(sys_dir)/sys/*.h; do \
870 if [ -f $$i ]; then \
871 cp $$i targ-include/sys/`basename $$i`; \
874 -for i in $(srcdir)/libc/sys/$(sys_dir)/bits/*.h; do \
875 if [ -f $$i ]; then \
876 cp $$i targ-include/bits/`basename $$i`; \
879 -for i in $(srcdir)/libc/sys/$(sys_dir)/machine/*.h; do \
880 if [ -f $$i ]; then \
881 cp $$i targ-include/machine/`basename $$i`; \
884 -for i in $(srcdir)/libc/sys/$(sys_dir)/machine/$(machine_dir)/*.h; do \
885 if [ -f $$i ]; then \
886 cp $$i targ-include/machine/`basename $$i`; \
889 -for i in $(srcdir)/libc/sys/$(sys_dir)/machine/$(machine_dir)/include/*.h; do \
890 if [ -f $$i ]; then \
891 cp $$i targ-include/machine/`basename $$i`; \
896 install-data-local: install-toollibLIBRARIES
897 @USE_LIBTOOL_FALSE@ rm -f $(DESTDIR)$(toollibdir)/libg.a
898 @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
899 $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do # $(MAKE)
900 -if [ -z "$(MULTISUBDIR)" ]; then \
901 $(mkinstalldirs) $(DESTDIR)$(tooldir)/include; \
902 for i in $(srcdir)/libc/include/*.h; do \
903 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/`basename $$i`; \
905 $(INSTALL_DATA) newlib.h $(DESTDIR)$(tooldir)/include/newlib.h; \
906 $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/machine; \
907 for i in $(srcdir)/libc/include/machine/*.h; do \
908 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
910 for i in $(srcdir)/libc/machine/$(machine_dir)/machine/*.h; do \
911 if [ -f $$i ]; then \
912 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
915 $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/sys; \
916 for i in $(srcdir)/libc/include/sys/*.h; do \
917 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \
919 for i in $(srcdir)/libc/machine/$(machine_dir)/sys/*.h; do \
920 if [ -f $$i ]; then \
921 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \
924 for i in $(srcdir)/libc/machine/$(machine_dir)/include/*.h; do \
925 if [ -f $$i ]; then \
926 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/`basename $$i`; \
929 for i in $(srcdir)/libc/sys/$(sys_dir)/sys/*.h; do \
930 if [ -f $$i ]; then \
931 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \
934 $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/bits; \
935 for i in $(srcdir)/libc/sys/$(sys_dir)/bits/*.h; do \
936 if [ -f $$i ]; then \
937 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/bits/`basename $$i`; \
940 for i in $(srcdir)/libc/sys/$(sys_dir)/machine/*.h; do \
941 if [ -f $$i ]; then \
942 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
945 for i in $(srcdir)/libc/sys/$(sys_dir)/include/*.h; do \
946 if [ -f $$i ]; then \
947 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/`basename $$i`; \
950 for i in $(srcdir)/libc/sys/$(sys_dir)/machine/$(machine_dir)/include/*.h; do \
951 if [ -f $$i ]; then \
952 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
957 # Force makedoc to be built before building info files.
958 info-recursive: doc/makedoc
959 dvi-recursive: doc/makedoc
961 cd doc && $(MAKE) all
964 .PHONY: all-multi check-multi mostlyclean-multi clean-multi distclean-multi \
965 maintainer-clean-multi
967 all-recursive: all-multi
968 check-recursive: check-multi
969 mostlyclean-recursive: mostlyclean-multi
970 clean-recursive: clean-multi
971 distclean-recursive: distclean-multi
972 maintainer-clean-recursive: maintainer-clean-multi
974 # The $(MAKE) comments below are to enable parallel building.
976 $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do # $(MAKE)
978 $(MULTIDO) $(AM_MAKEFLAGS) DO=check multi-do # $(MAKE)
980 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean # $(MAKE)
982 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean # $(MAKE)
984 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean # $(MAKE)
985 maintainer-clean-multi:
986 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean # $(MAKE)
989 @echo 'Making a new site.exp file...'
990 @test ! -f site.bak || rm -f site.bak
991 @echo '## these variables are automatically generated by make ##' > $@-t
992 @echo '# Do not edit here. If you wish to override these values' >> $@-t
993 @echo '# edit the last section' >> $@-t
994 @echo 'set tool $(DEJATOOL)' >> $@-t
995 @echo 'set tool_version $(VERSION)' >> $@-t
996 @echo 'set srcdir $(srcdir)/testsuite' >> $@-t
997 @echo 'set objdir' `pwd` >> $@-t
998 @echo 'set tmpdir' `pwd`/testsuite >> $@-t
999 @echo 'set multibuildtop ./$(MULTIBUILDTOP)' >> $@-t
1000 @echo 'set host_alias $(build_alias)' >> $@-t
1001 @echo 'set host_triplet $(build_triplet)' >> $@-t
1002 @echo 'set target_alias $(host_alias)' >> $@-t
1003 @echo 'set target_triplet $(host_triplet)' >> $@-t
1004 @echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t
1005 @test ! -f site.exp || sed '1,/^## All variables above are.*##/ d' site.exp >> $@-t
1006 @test ! -f site.exp || mv site.exp site.bak
1009 check-DEJAGNU: site.exp
1010 @if [ -d testsuite ] ; then \
1015 @rm -f testsuite/site.exp
1016 @cp site.exp testsuite/site.exp
1019 srcdir=`cd ${srcdir}; pwd` ; \
1021 EXPECT=`if [ -f $${rootme}/${MULTIBUILDTOP}../../expect/expect ] ; then \
1022 echo $${rootme}/${MULTIBUILDTOP}../../expect/expect ; \
1027 echo "Found expect: $${EXPECT}" ; \
1028 if [ -f $(top_builddir)/$(MULTIBUILDTOP)../../expect/expect ] ; then \
1029 TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd` ; \
1030 export TCL_LIBRARY ; \
1031 echo "Found TCL library directory: $${TCL_LIBRARY}" ; \
1033 RUNTEST=`if [ -f $${srcdir}/../dejagnu/runtest ] ; then \
1034 echo $${srcdir}/../dejagnu/runtest ; \
1039 echo "Found runtest: $${RUNTEST}" ; \
1041 if $(SHELL) -c "$$RUNTEST --version" > /dev/null 2>&1 ; then \
1042 $$RUNTEST --tool $(DEJATOOL) --srcdir $${srcdir}/testsuite $(RUNTESTFLAGS) ; \
1045 echo "WARNING: could not find \`runtest'" 1>&2 ; \
1047 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1048 # Otherwise a system limit (for SysV at least) may be exceeded.