1 # Makefile.in generated by automake 1.9.6 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
20 top_srcdir = @top_srcdir@
22 pkgdatadir = $(datadir)/@PACKAGE@
23 pkglibdir = $(libdir)/@PACKAGE@
24 pkgincludedir = $(includedir)/@PACKAGE@
26 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
28 install_sh_DATA = $(install_sh) -c -m 644
29 install_sh_PROGRAM = $(install_sh) -c
30 install_sh_SCRIPT = $(install_sh) -c
31 INSTALL_HEADER = $(INSTALL_DATA)
32 transform = $(program_transform_name)
39 build_triplet = @build@
41 DIST_COMMON = $(srcdir)/../config.guess $(srcdir)/../config.sub NEWS \
42 README ChangeLog $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
43 $(top_srcdir)/configure $(am__configure_deps) acconfig.h \
44 $(srcdir)/newlib.hin $(srcdir)/../mkinstalldirs \
45 $(srcdir)/../ltmain.sh $(srcdir)/../config.guess \
46 $(srcdir)/../config.sub
48 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
49 am__aclocal_m4_deps = $(top_srcdir)/confsubdir.m4 \
50 $(top_srcdir)/libtool.m4 $(top_srcdir)/acinclude.m4 \
51 $(top_srcdir)/configure.in
52 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
54 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
55 configure.lineno configure.status.lineno
56 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
57 CONFIG_HEADER = newlib.h
59 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
60 am__vpath_adj = case $$p in \
61 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
64 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
65 am__installdirs = "$(DESTDIR)$(toollibdir)" "$(DESTDIR)$(toollibdir)" \
66 "$(DESTDIR)$(toollibdir)"
67 toollibLIBRARIES_INSTALL = $(INSTALL_DATA)
68 LIBRARIES = $(toollib_LIBRARIES)
70 libc_a_AR = $(AR) $(ARFLAGS)
72 libc_a_SOURCES = libc.c
73 libc_a_OBJECTS = libc.$(OBJEXT)
74 libm_a_AR = $(AR) $(ARFLAGS)
76 libm_a_SOURCES = libm.c
77 libm_a_OBJECTS = libm.$(OBJEXT)
78 toollibLTLIBRARIES_INSTALL = $(INSTALL)
79 LTLIBRARIES = $(toollib_LTLIBRARIES)
82 libc_la_OBJECTS = $(am_libc_la_OBJECTS)
83 @USE_LIBTOOL_TRUE@am_libc_la_rpath = -rpath $(toollibdir)
86 libm_la_OBJECTS = $(am_libm_la_OBJECTS)
87 @USE_LIBTOOL_TRUE@am_libm_la_rpath = -rpath $(toollibdir)
88 DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
91 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
92 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
93 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
94 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
95 $(AM_CFLAGS) $(CFLAGS)
97 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
98 $(AM_LDFLAGS) $(LDFLAGS) -o $@
99 SOURCES = libc.c libm.c $(libc_la_SOURCES) $(libm_la_SOURCES)
100 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
101 html-recursive info-recursive install-data-recursive \
102 install-exec-recursive install-info-recursive \
103 install-recursive installcheck-recursive installdirs-recursive \
104 pdf-recursive ps-recursive uninstall-info-recursive \
106 toollibDATA_INSTALL = $(INSTALL_DATA)
107 DATA = $(noinst_DATA) $(toollib_DATA)
110 DEJATOOL = $(PACKAGE)
111 RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir
112 EXPECT = `if test -f $(top_builddir)/../expect/expect; then \
113 echo $(top_builddir)/../expect/expect; \
117 RUNTEST = `if test -f $(top_srcdir)/../dejagnu/runtest; then \
118 echo $(top_srcdir)/../dejagnu/runtest; \
122 DIST_SUBDIRS = libc libm doc . @EXTRA_DIRS@
124 AMDEP_FALSE = @AMDEP_FALSE@
125 AMDEP_TRUE = @AMDEP_TRUE@
129 AUTOCONF = @AUTOCONF@
130 AUTOHEADER = @AUTOHEADER@
131 AUTOMAKE = @AUTOMAKE@
135 CCASFLAGS = @CCASFLAGS@
136 CCDEPMODE = @CCDEPMODE@
137 CC_FOR_BUILD = @CC_FOR_BUILD@
138 CC_FOR_NEWLIB = @CC_FOR_NEWLIB@
140 CPPFLAGS = @CPPFLAGS@
142 CRT0_DIR = @CRT0_DIR@
144 CRT1_DIR = @CRT1_DIR@
145 CYGPATH_W = @CYGPATH_W@
151 ELIX_LEVEL_0_FALSE = @ELIX_LEVEL_0_FALSE@
152 ELIX_LEVEL_0_TRUE = @ELIX_LEVEL_0_TRUE@
153 ELIX_LEVEL_1_FALSE = @ELIX_LEVEL_1_FALSE@
154 ELIX_LEVEL_1_TRUE = @ELIX_LEVEL_1_TRUE@
155 ELIX_LEVEL_2_FALSE = @ELIX_LEVEL_2_FALSE@
156 ELIX_LEVEL_2_TRUE = @ELIX_LEVEL_2_TRUE@
157 ELIX_LEVEL_3_FALSE = @ELIX_LEVEL_3_FALSE@
158 ELIX_LEVEL_3_TRUE = @ELIX_LEVEL_3_TRUE@
159 ELIX_LEVEL_4_FALSE = @ELIX_LEVEL_4_FALSE@
160 ELIX_LEVEL_4_TRUE = @ELIX_LEVEL_4_TRUE@
162 EXTRA_DIRS = @EXTRA_DIRS@
163 HAVE_DOC_FALSE = @HAVE_DOC_FALSE@
164 HAVE_DOC_TRUE = @HAVE_DOC_TRUE@
165 INSTALL_DATA = @INSTALL_DATA@
166 INSTALL_PROGRAM = @INSTALL_PROGRAM@
167 INSTALL_SCRIPT = @INSTALL_SCRIPT@
168 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
170 LIBM_MACHINE_OBJECTLIST = @LIBM_MACHINE_OBJECTLIST@
175 LTLIBOBJS = @LTLIBOBJS@
176 MACHINE_OBJECTLIST = @MACHINE_OBJECTLIST@
178 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
179 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
180 MAKEINFO = @MAKEINFO@
181 MAY_SUPPLY_SYSCALLS_FALSE = @MAY_SUPPLY_SYSCALLS_FALSE@
182 MAY_SUPPLY_SYSCALLS_TRUE = @MAY_SUPPLY_SYSCALLS_TRUE@
183 NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
184 NEWLIB_HW_FP_FALSE = @NEWLIB_HW_FP_FALSE@
185 NEWLIB_HW_FP_TRUE = @NEWLIB_HW_FP_TRUE@
188 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
189 PACKAGE_NAME = @PACKAGE_NAME@
190 PACKAGE_STRING = @PACKAGE_STRING@
191 PACKAGE_TARNAME = @PACKAGE_TARNAME@
192 PACKAGE_VERSION = @PACKAGE_VERSION@
193 PATH_SEPARATOR = @PATH_SEPARATOR@
194 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_READELF = @ac_ct_READELF@
214 ac_ct_STRIP = @ac_ct_STRIP@
216 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
217 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
218 am__include = @am__include@
219 am__leading_dot = @am__leading_dot@
220 am__quote = @am__quote@
222 am__untar = @am__untar@
225 build_alias = @build_alias@
226 build_cpu = @build_cpu@
227 build_os = @build_os@
228 build_vendor = @build_vendor@
230 exec_prefix = @exec_prefix@
232 host_alias = @host_alias@
233 host_cpu = @host_cpu@
235 host_vendor = @host_vendor@
236 includedir = @includedir@
238 install_sh = @install_sh@
239 libc_cv_array_aliasing = @libc_cv_array_aliasing@
240 libc_cv_initfinit_array = @libc_cv_initfinit_array@
242 libexecdir = @libexecdir@
243 libm_machine_dir = @libm_machine_dir@
244 localstatedir = @localstatedir@
246 machine_dir = @machine_dir@
249 newlib_basedir = @newlib_basedir@
251 oldincludedir = @oldincludedir@
253 program_transform_name = @program_transform_name@
255 sharedstatedir = @sharedstatedir@
258 sysconfdir = @sysconfdir@
259 target_alias = @target_alias@
260 AUTOMAKE_OPTIONS = cygnus dejagnu
261 ACLOCAL_AMFLAGS = -I .
263 # Multilib support variables.
270 LIBTOOL_VERSION_INFO = 0:0:0
271 @NEWLIB_HW_FP_FALSE@MATHDIR = math
272 @NEWLIB_HW_FP_TRUE@MATHDIR = mathfp
274 # Work around what appears to be a GNU make bug handling MAKEFLAGS
275 # values defined in terms of make variables, as is the case for CC and
276 # friends when we are called from the top level Makefile.
278 "AR_FLAGS=$(AR_FLAGS)" \
279 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
281 "CCASFLAGS=$(CCASFLAGS)" \
282 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
283 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
284 "INSTALL=$(INSTALL)" \
285 "LDFLAGS=$(LDFLAGS)" \
286 "LIBCFLAGS=$(LIBCFLAGS)" \
287 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
289 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
290 "PICFLAG=$(PICFLAG)" \
291 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
294 "RUNTEST=$(RUNTEST)" \
295 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
296 "exec_prefix=$(exec_prefix)" \
297 "infodir=$(infodir)" \
300 "tooldir=$(tooldir)" \
301 "top_toollibdir=$(toollibdir)" \
304 "CC=$(CC_FOR_NEWLIB)" \
306 "LIBCFLAGS=$(LIBCFLAGS)" \
308 "PICFLAG=$(PICFLAG)" \
312 FLAGS_TO_PASS = $(AM_MAKEFLAGS)
313 @HAVE_DOC_FALSE@DOCDIR =
314 @HAVE_DOC_TRUE@DOCDIR = doc
315 SUBDIRS = libc libm \
316 $(DOCDIR) . $(EXTRA_DIRS)
318 tooldir = $(exec_prefix)/$(host_alias)
319 toollibdir = $(tooldir)/lib$(MULTISUBDIR)
321 @USE_LIBTOOL_TRUE@toollib_LTLIBRARIES = libm.la \
322 @USE_LIBTOOL_TRUE@ libc.la
324 @USE_LIBTOOL_FALSE@toollib_LIBRARIES = libm.a \
325 @USE_LIBTOOL_FALSE@ libc.a
327 noinst_DATA = stmp-targ-include
328 toollib_DATA = $(CRT0) $(CRT1)
330 # The functions ldexp, frexp and modf are traditionally supplied in
331 # both libc.a and libm.a. We build them in libm.a and copy them over,
332 # along with some required supporting routines.
334 $(lpfx)s_isinf.$(oext) $(lpfx)sf_isinf.$(oext) \
335 $(lpfx)s_isnan.$(oext) $(lpfx)sf_isnan.$(oext) \
336 $(lpfx)s_isinfd.$(oext) $(lpfx)sf_isinff.$(oext) \
337 $(lpfx)s_isnand.$(oext) $(lpfx)sf_isnanf.$(oext) \
338 $(lpfx)s_nan.$(oext) $(lpfx)sf_nan.$(oext) \
339 $(lpfx)s_ldexp.$(oext) $(lpfx)sf_ldexp.$(oext) \
340 $(lpfx)s_frexp.$(oext) $(lpfx)sf_frexp.$(oext) \
341 $(lpfx)s_modf.$(oext) \
342 $(lpfx)sf_modf.$(oext) $(lpfx)s_scalbn.$(oext) \
343 $(lpfx)sf_scalbn.$(oext) \
344 $(lpfx)s_finite.$(oext) $(lpfx)sf_finite.$(oext) \
345 $(lpfx)s_copysign.$(oext) $(lpfx)sf_copysign.$(oext) \
346 $(lpfx)s_infconst.$(oext)
349 $(POSIX_OBJECTLIST) \
350 $(SIGNAL_OBJECTLIST) \
351 $(SYSCALL_OBJECTLIST) \
353 $(STDIO64_OBJECTLIST) \
354 libc/argz/objectlist.awk.in \
355 libc/stdlib/objectlist.awk.in \
356 libc/time/objectlist.awk.in \
357 libc/ctype/objectlist.awk.in \
358 libc/search/objectlist.awk.in \
359 libc/string/objectlist.awk.in \
360 libc/locale/objectlist.awk.in \
361 libc/misc/objectlist.awk.in \
362 libc/reent/objectlist.awk.in \
363 libc/errno/objectlist.awk.in \
364 libc/stdio/objectlist.awk.in \
365 $(MACHINE_OBJECTLIST) \
367 $(SYS_MACH_OBJECTLIST)
370 libm/$(MATHDIR)/objectlist.awk.in \
371 libm/common/objectlist.awk.in \
372 $(LIBM_MACHINE_OBJECTLIST)
374 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
375 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
376 @USE_LIBTOOL_TRUE@libm_la_SOURCES =
377 @USE_LIBTOOL_TRUE@libm_la_DEPENDENCIES = libm-libtool-objectlist
378 @USE_LIBTOOL_TRUE@libc_la_SOURCES =
379 @USE_LIBTOOL_TRUE@libc_la_DEPENDENCIES = libc-libtool-objectlist
380 CLEANFILES = targ-include stmp-targ-include
381 CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
387 $(MAKE) $(AM_MAKEFLAGS) all-recursive
390 .SUFFIXES: .c .lo .o .obj
393 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
395 case '$(am__configure_deps)' in \
397 echo ' cd $(srcdir) && $(AUTOMAKE) --cygnus '; \
398 cd $(srcdir) && $(AUTOMAKE) --cygnus \
403 echo ' cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile'; \
404 cd $(top_srcdir) && \
405 $(AUTOMAKE) --cygnus Makefile
407 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
410 echo ' $(SHELL) ./config.status'; \
411 $(SHELL) ./config.status;; \
413 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
414 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
417 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
418 $(SHELL) ./config.status --recheck
420 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
421 cd $(srcdir) && $(AUTOCONF)
422 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
423 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
426 @if test ! -f $@; then \
431 stamp-h1: $(srcdir)/newlib.hin $(top_builddir)/config.status
433 cd $(top_builddir) && $(SHELL) ./config.status newlib.h
434 $(srcdir)/newlib.hin: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) $(top_srcdir)/acconfig.h
435 cd $(top_srcdir) && $(AUTOHEADER)
440 -rm -f newlib.h stamp-h1
441 install-toollibLIBRARIES: $(toollib_LIBRARIES)
443 test -z "$(toollibdir)" || $(mkdir_p) "$(DESTDIR)$(toollibdir)"
444 @list='$(toollib_LIBRARIES)'; for p in $$list; do \
445 if test -f $$p; then \
447 echo " $(toollibLIBRARIES_INSTALL) '$$p' '$(DESTDIR)$(toollibdir)/$$f'"; \
448 $(toollibLIBRARIES_INSTALL) "$$p" "$(DESTDIR)$(toollibdir)/$$f"; \
452 @list='$(toollib_LIBRARIES)'; for p in $$list; do \
453 if test -f $$p; then \
455 echo " $(RANLIB) '$(DESTDIR)$(toollibdir)/$$p'"; \
456 $(RANLIB) "$(DESTDIR)$(toollibdir)/$$p"; \
460 uninstall-toollibLIBRARIES:
462 @list='$(toollib_LIBRARIES)'; for p in $$list; do \
464 echo " rm -f '$(DESTDIR)$(toollibdir)/$$p'"; \
465 rm -f "$(DESTDIR)$(toollibdir)/$$p"; \
468 clean-toollibLIBRARIES:
469 -test -z "$(toollib_LIBRARIES)" || rm -f $(toollib_LIBRARIES)
470 @USE_LIBTOOL_TRUE@libc.a: $(libc_a_OBJECTS) $(libc_a_DEPENDENCIES)
471 @USE_LIBTOOL_TRUE@ -rm -f libc.a
472 @USE_LIBTOOL_TRUE@ $(libc_a_AR) libc.a $(libc_a_OBJECTS) $(libc_a_LIBADD)
473 @USE_LIBTOOL_TRUE@ $(RANLIB) libc.a
474 @USE_LIBTOOL_TRUE@libm.a: $(libm_a_OBJECTS) $(libm_a_DEPENDENCIES)
475 @USE_LIBTOOL_TRUE@ -rm -f libm.a
476 @USE_LIBTOOL_TRUE@ $(libm_a_AR) libm.a $(libm_a_OBJECTS) $(libm_a_LIBADD)
477 @USE_LIBTOOL_TRUE@ $(RANLIB) libm.a
478 install-toollibLTLIBRARIES: $(toollib_LTLIBRARIES)
480 test -z "$(toollibdir)" || $(mkdir_p) "$(DESTDIR)$(toollibdir)"
481 @list='$(toollib_LTLIBRARIES)'; for p in $$list; do \
482 if test -f $$p; then \
484 echo " $(LIBTOOL) --mode=install $(toollibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(toollibdir)/$$f'"; \
485 $(LIBTOOL) --mode=install $(toollibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(toollibdir)/$$f"; \
489 uninstall-toollibLTLIBRARIES:
491 @set -x; list='$(toollib_LTLIBRARIES)'; for p in $$list; do \
493 echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(toollibdir)/$$p'"; \
494 $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(toollibdir)/$$p"; \
497 clean-toollibLTLIBRARIES:
498 -test -z "$(toollib_LTLIBRARIES)" || rm -f $(toollib_LTLIBRARIES)
499 @list='$(toollib_LTLIBRARIES)'; for p in $$list; do \
500 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
501 test "$$dir" != "$$p" || dir=.; \
502 echo "rm -f \"$${dir}/so_locations\""; \
503 rm -f "$${dir}/so_locations"; \
505 libc.la: $(libc_la_OBJECTS) $(libc_la_DEPENDENCIES)
506 $(LINK) $(am_libc_la_rpath) $(libc_la_LDFLAGS) $(libc_la_OBJECTS) $(libc_la_LIBADD) $(LIBS)
507 libm.la: $(libm_la_OBJECTS) $(libm_la_DEPENDENCIES)
508 $(LINK) $(am_libm_la_rpath) $(libm_la_LDFLAGS) $(libm_la_OBJECTS) $(libm_la_LIBADD) $(LIBS)
520 $(COMPILE) -c `$(CYGPATH_W) '$<'`
523 $(LTCOMPILE) -c -o $@ $<
534 install-toollibDATA: $(toollib_DATA)
536 test -z "$(toollibdir)" || $(mkdir_p) "$(DESTDIR)$(toollibdir)"
537 @list='$(toollib_DATA)'; for p in $$list; do \
538 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
540 echo " $(toollibDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(toollibdir)/$$f'"; \
541 $(toollibDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(toollibdir)/$$f"; \
544 uninstall-toollibDATA:
546 @list='$(toollib_DATA)'; for p in $$list; do \
548 echo " rm -f '$(DESTDIR)$(toollibdir)/$$f'"; \
549 rm -f "$(DESTDIR)$(toollibdir)/$$f"; \
552 # This directory's subdirectories are mostly independent; you can cd
553 # into them and run `make' without going through this Makefile.
554 # To change the values of `make' variables: instead of editing Makefiles,
555 # (1) if the variable is set in `config.status', edit `config.status'
556 # (which will cause the Makefiles to be regenerated when you run `make');
557 # (2) otherwise, pass the desired values on the `make' command line.
558 $(RECURSIVE_TARGETS):
560 for f in x $$MAKEFLAGS; do \
563 *k*) failcom='fail=yes';; \
567 target=`echo $@ | sed s/-recursive//`; \
568 list='$(SUBDIRS)'; for subdir in $$list; do \
569 echo "Making $$target in $$subdir"; \
570 if test "$$subdir" = "."; then \
572 local_target="$$target-am"; \
574 local_target="$$target"; \
576 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
579 if test "$$dot_seen" = "no"; then \
580 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
583 mostlyclean-recursive clean-recursive distclean-recursive \
584 maintainer-clean-recursive:
586 for f in x $$MAKEFLAGS; do \
589 *k*) failcom='fail=yes';; \
594 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
595 *) list='$(SUBDIRS)' ;; \
597 rev=''; for subdir in $$list; do \
598 if test "$$subdir" = "."; then :; else \
599 rev="$$subdir $$rev"; \
603 target=`echo $@ | sed s/-recursive//`; \
604 for subdir in $$rev; do \
605 echo "Making $$target in $$subdir"; \
606 if test "$$subdir" = "."; then \
607 local_target="$$target-am"; \
609 local_target="$$target"; \
611 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
613 done && test -z "$$fail"
615 list='$(SUBDIRS)'; for subdir in $$list; do \
616 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
619 list='$(SUBDIRS)'; for subdir in $$list; do \
620 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
623 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
624 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
625 unique=`for i in $$list; do \
626 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
628 $(AWK) ' { files[$$0] = 1; } \
629 END { for (i in files) print i; }'`; \
633 TAGS: tags-recursive $(HEADERS) $(SOURCES) newlib.hin $(TAGS_DEPENDENCIES) \
634 $(TAGS_FILES) $(LISP)
637 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
638 include_option=--etags-include; \
641 include_option=--include; \
644 list='$(SUBDIRS)'; for subdir in $$list; do \
645 if test "$$subdir" = .; then :; else \
646 test ! -f $$subdir/TAGS || \
647 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
650 list='$(SOURCES) $(HEADERS) newlib.hin $(LISP) $(TAGS_FILES)'; \
651 unique=`for i in $$list; do \
652 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
654 $(AWK) ' { files[$$0] = 1; } \
655 END { for (i in files) print i; }'`; \
656 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
657 test -n "$$unique" || unique=$$empty_fix; \
658 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
662 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) newlib.hin $(TAGS_DEPENDENCIES) \
663 $(TAGS_FILES) $(LISP)
666 list='$(SOURCES) $(HEADERS) newlib.hin $(LISP) $(TAGS_FILES)'; \
667 unique=`for i in $$list; do \
668 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
670 $(AWK) ' { files[$$0] = 1; } \
671 END { for (i in files) print i; }'`; \
672 test -z "$(CTAGS_ARGS)$$tags$$unique" \
673 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
677 here=`$(am__cd) $(top_builddir) && pwd` \
678 && cd $(top_srcdir) \
679 && gtags -i $(GTAGS_ARGS) $$here
682 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
685 -rm -f site.exp site.bak
686 -l='$(DEJATOOL)'; for tool in $$l; do \
687 rm -f $$tool.sum $$tool.log; \
690 $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
691 check: check-recursive
692 all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(DATA) newlib.h
693 installdirs: installdirs-recursive
695 for dir in "$(DESTDIR)$(toollibdir)" "$(DESTDIR)$(toollibdir)" "$(DESTDIR)$(toollibdir)"; do \
696 test -z "$$dir" || $(mkdir_p) "$$dir"; \
698 install: install-recursive
699 install-exec: install-exec-recursive
700 install-data: install-data-recursive
701 uninstall: uninstall-recursive
704 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
706 installcheck: installcheck-recursive
708 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
709 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
710 `test -z '$(STRIP)' || \
711 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
715 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
718 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
720 maintainer-clean-generic:
721 @echo "This command is intended for maintainers to use"
722 @echo "it deletes files that may require special tools to rebuild."
723 clean: clean-recursive
725 clean-am: clean-generic clean-libtool clean-toollibLIBRARIES \
726 clean-toollibLTLIBRARIES mostlyclean-am
728 distclean: distclean-recursive
729 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
731 distclean-am: clean-am distclean-DEJAGNU distclean-compile \
732 distclean-generic distclean-hdr distclean-libtool \
745 install-data-am: install-data-local install-toollibDATA \
746 install-toollibLIBRARIES install-toollibLTLIBRARIES
750 install-info: install-info-recursive
756 maintainer-clean: maintainer-clean-recursive
757 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
758 -rm -rf $(top_srcdir)/autom4te.cache
760 maintainer-clean-am: distclean-am maintainer-clean-generic
762 mostlyclean: mostlyclean-recursive
764 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
775 uninstall-am: uninstall-toollibDATA uninstall-toollibLIBRARIES \
776 uninstall-toollibLTLIBRARIES
778 uninstall-info: uninstall-info-recursive
780 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
781 check-DEJAGNU check-am clean clean-generic clean-libtool \
782 clean-recursive clean-toollibLIBRARIES \
783 clean-toollibLTLIBRARIES ctags ctags-recursive distclean \
784 distclean-DEJAGNU distclean-compile distclean-generic \
785 distclean-hdr distclean-libtool distclean-recursive \
786 distclean-tags dvi dvi-am html html-am info info-am install \
787 install-am install-data install-data-am install-data-local \
788 install-exec install-exec-am install-info install-info-am \
789 install-man install-strip install-toollibDATA \
790 install-toollibLIBRARIES install-toollibLTLIBRARIES \
791 installcheck installcheck-am installdirs installdirs-am \
792 maintainer-clean maintainer-clean-generic \
793 maintainer-clean-recursive mostlyclean mostlyclean-compile \
794 mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
795 pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
796 uninstall-info-am uninstall-toollibDATA \
797 uninstall-toollibLIBRARIES uninstall-toollibLTLIBRARIES
800 # objects listed later in LIBM_OBJECTLISTS will override those listed earlier
801 @USE_LIBTOOL_TRUE@libm-libtool-objectlist: $(LIBM_OBJECTLISTS)
802 @USE_LIBTOOL_TRUE@ cat $(LIBM_OBJECTLISTS) | $(AWK) '{ libm[$$1] = $$2 }; END { for (x in libm) printf ("%s\n", libm[x]) }' > $@
804 # objects listed later in LIBM_OBJECTLISTS and LIBC_OBJECTLISTS will override those listed earlier
805 @USE_LIBTOOL_TRUE@libc-libtool-objectlist: $(LIBM_OBJECTLISTS) $(LIBC_OBJECTLISTS)
806 @USE_LIBTOOL_TRUE@ cat $(LIBM_OBJECTLISTS) $(LIBC_OBJECTLISTS) | $(AWK) '{ libc[$$1] = $$2 }; END { for (x in libc) printf ("%s\n", libc[x]) }' > $@
808 @USE_LIBTOOL_FALSE@libc.a: libc/libc.a libm.a
809 @USE_LIBTOOL_FALSE@ rm -rf libc.a libg.a tmp
810 @USE_LIBTOOL_FALSE@ mkdir tmp
811 @USE_LIBTOOL_FALSE@ cd tmp; \
812 @USE_LIBTOOL_FALSE@ $(AR) x ../libm.a $(MATHOBJS_IN_LIBC) ; \
813 @USE_LIBTOOL_FALSE@ $(AR) x ../libc/libc.a ; \
814 @USE_LIBTOOL_FALSE@ $(AR) $(AR_FLAGS) ../$@ *.o
815 @USE_LIBTOOL_FALSE@ $(RANLIB) libc.a
816 @USE_LIBTOOL_FALSE@ ln libc.a libg.a >/dev/null 2>/dev/null || cp libc.a libg.a
817 @USE_LIBTOOL_FALSE@ rm -rf tmp
819 @USE_LIBTOOL_FALSE@libc/libc.a: ; @true
821 @USE_LIBTOOL_FALSE@libm.a: libm/libm.a
822 @USE_LIBTOOL_FALSE@ rm -f $@
823 @USE_LIBTOOL_FALSE@ ln libm/libm.a $@ >/dev/null 2>/dev/null || cp libm/libm.a $@
825 @USE_LIBTOOL_FALSE@libm/libm.a: ; @true
827 crt0.o: $(CRT0_DIR)$(CRT0)
829 ln $(CRT0_DIR)$(CRT0) $@ >/dev/null 2>/dev/null \
830 || cp $(CRT0_DIR)$(CRT0) $@
832 $(CRT0_DIR)$(CRT0): ; @true
834 crt1.o: $(CRT1_DIR)$(CRT1)
836 ln $(CRT0_DIR)$(CRT0) $@ >/dev/null 2>/dev/null \
837 || cp $(CRT0_DIR)$(CRT0) $@
839 $(CRT1_DIR)$(CRT1): ; @true
841 all-recursive: stmp-targ-include
843 # The targ-include directory just holds the includes files for the
844 # particular system and machine we have been configured for. It is
845 # used while building.
846 stmp-targ-include: config.status
847 -rm -rf targ-include stmp-targ-include
848 mkdir targ-include targ-include/sys targ-include/machine targ-include/bits
849 cp newlib.h targ-include/newlib.h
850 -for i in $(srcdir)/libc/machine/$(machine_dir)/machine/*.h; do \
851 if [ -f $$i ]; then \
852 cp $$i targ-include/machine/`basename $$i`; \
855 -for i in $(srcdir)/libc/machine/$(machine_dir)/sys/*.h; do \
856 if [ -f $$i ]; then \
857 cp $$i targ-include/sys/`basename $$i`; \
860 -for i in $(srcdir)/libc/machine/$(machine_dir)/include/*.h; do \
861 if [ -f $$i ]; then \
862 cp $$i targ-include/`basename $$i`; \
865 -for i in $(srcdir)/libc/sys/$(sys_dir)/include/*.h; do \
866 if [ -f $$i ]; then \
867 cp $$i targ-include/`basename $$i`; \
870 -for i in $(srcdir)/libc/sys/$(sys_dir)/sys/*.h; do \
871 if [ -f $$i ]; then \
872 cp $$i targ-include/sys/`basename $$i`; \
875 -for i in $(srcdir)/libc/sys/$(sys_dir)/bits/*.h; do \
876 if [ -f $$i ]; then \
877 cp $$i targ-include/bits/`basename $$i`; \
880 -for i in $(srcdir)/libc/sys/$(sys_dir)/machine/*.h; do \
881 if [ -f $$i ]; then \
882 cp $$i targ-include/machine/`basename $$i`; \
885 -for i in $(srcdir)/libc/sys/$(sys_dir)/machine/$(machine_dir)/*.h; do \
886 if [ -f $$i ]; then \
887 cp $$i targ-include/machine/`basename $$i`; \
890 -for i in $(srcdir)/libc/sys/$(sys_dir)/machine/$(machine_dir)/include/*.h; do \
891 if [ -f $$i ]; then \
892 cp $$i targ-include/machine/`basename $$i`; \
897 install-data-local: install-toollibLIBRARIES
898 @USE_LIBTOOL_FALSE@ rm -f $(DESTDIR)$(toollibdir)/libg.a
899 @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
900 $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do # $(MAKE)
901 -if [ -z "$(MULTISUBDIR)" ]; then \
902 $(mkinstalldirs) $(DESTDIR)$(tooldir)/include; \
903 for i in $(srcdir)/libc/include/*.h; do \
904 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/`basename $$i`; \
906 $(INSTALL_DATA) newlib.h $(DESTDIR)$(tooldir)/include/newlib.h; \
907 $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/machine; \
908 for i in $(srcdir)/libc/include/machine/*.h; do \
909 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
911 for i in $(srcdir)/libc/machine/$(machine_dir)/machine/*.h; do \
912 if [ -f $$i ]; then \
913 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
916 $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/sys; \
917 for i in $(srcdir)/libc/include/sys/*.h; do \
918 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \
920 for i in $(srcdir)/libc/machine/$(machine_dir)/sys/*.h; do \
921 if [ -f $$i ]; then \
922 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \
925 for i in $(srcdir)/libc/machine/$(machine_dir)/include/*.h; do \
926 if [ -f $$i ]; then \
927 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/`basename $$i`; \
930 for i in $(srcdir)/libc/sys/$(sys_dir)/sys/*.h; do \
931 if [ -f $$i ]; then \
932 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \
935 $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/bits; \
936 for i in $(srcdir)/libc/sys/$(sys_dir)/bits/*.h; do \
937 if [ -f $$i ]; then \
938 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/bits/`basename $$i`; \
941 for i in $(srcdir)/libc/sys/$(sys_dir)/machine/*.h; do \
942 if [ -f $$i ]; then \
943 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
946 for i in $(srcdir)/libc/sys/$(sys_dir)/include/*.h; do \
947 if [ -f $$i ]; then \
948 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/`basename $$i`; \
951 for i in $(srcdir)/libc/sys/$(sys_dir)/machine/$(machine_dir)/include/*.h; do \
952 if [ -f $$i ]; then \
953 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
958 # Force makedoc to be built before building info files.
959 info-recursive: doc/makedoc
960 dvi-recursive: doc/makedoc
962 cd doc && $(MAKE) all
965 .PHONY: all-multi check-multi mostlyclean-multi clean-multi distclean-multi \
966 maintainer-clean-multi
968 all-recursive: all-multi
969 check-recursive: check-multi
970 mostlyclean-recursive: mostlyclean-multi
971 clean-recursive: clean-multi
972 distclean-recursive: distclean-multi
973 maintainer-clean-recursive: maintainer-clean-multi
975 # The $(MAKE) comments below are to enable parallel building.
977 $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do # $(MAKE)
979 $(MULTIDO) $(AM_MAKEFLAGS) DO=check multi-do # $(MAKE)
981 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean # $(MAKE)
983 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean # $(MAKE)
985 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean # $(MAKE)
986 maintainer-clean-multi:
987 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean # $(MAKE)
990 @echo 'Making a new site.exp file...'
991 @test ! -f site.bak || rm -f site.bak
992 @echo '## these variables are automatically generated by make ##' > $@-t
993 @echo '# Do not edit here. If you wish to override these values' >> $@-t
994 @echo '# edit the last section' >> $@-t
995 @echo 'set tool $(DEJATOOL)' >> $@-t
996 @echo 'set tool_version $(VERSION)' >> $@-t
997 @echo 'set srcdir $(srcdir)/testsuite' >> $@-t
998 @echo 'set objdir' `pwd` >> $@-t
999 @echo 'set tmpdir' `pwd`/testsuite >> $@-t
1000 @echo 'set multibuildtop ./$(MULTIBUILDTOP)' >> $@-t
1001 @echo 'set host_alias $(build_alias)' >> $@-t
1002 @echo 'set host_triplet $(build_triplet)' >> $@-t
1003 @echo 'set target_alias $(host_alias)' >> $@-t
1004 @echo 'set target_triplet $(host_triplet)' >> $@-t
1005 @echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t
1006 @test ! -f site.exp || sed '1,/^## All variables above are.*##/ d' site.exp >> $@-t
1007 @test ! -f site.exp || mv site.exp site.bak
1010 check-DEJAGNU: site.exp
1011 @if [ -d testsuite ] ; then \
1016 @rm -f testsuite/site.exp
1017 @cp site.exp testsuite/site.exp
1020 srcdir=`cd ${srcdir}; pwd` ; \
1022 EXPECT=`if [ -f $${rootme}/${MULTIBUILDTOP}../../expect/expect ] ; then \
1023 echo $${rootme}/${MULTIBUILDTOP}../../expect/expect ; \
1028 echo "Found expect: $${EXPECT}" ; \
1029 if [ -f $(top_builddir)/$(MULTIBUILDTOP)../../expect/expect ] ; then \
1030 TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd` ; \
1031 export TCL_LIBRARY ; \
1032 echo "Found TCL library directory: $${TCL_LIBRARY}" ; \
1034 RUNTEST=`if [ -f $${srcdir}/../dejagnu/runtest ] ; then \
1035 echo $${srcdir}/../dejagnu/runtest ; \
1040 echo "Found runtest: $${RUNTEST}" ; \
1042 if $(SHELL) -c "$$RUNTEST --version" > /dev/null 2>&1 ; then \
1043 $$RUNTEST --tool $(DEJATOOL) --srcdir $${srcdir}/testsuite $(RUNTESTFLAGS) ; \
1046 echo "WARNING: could not find \`runtest'" 1>&2 ; \
1048 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1049 # Otherwise a system limit (for SysV at least) may be exceeded.