]> sourceware.org Git - newlib-cygwin.git/blame - newlib/Makefile.in
2005-01-27 Andrew Cagney <cagney@gnu.org>
[newlib-cygwin.git] / newlib / Makefile.in
CommitLineData
786ab12c 1# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
8a0efa53 2
b11926e7 3# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
8a0efa53
CF
4# This Makefile.in is free software; the Free Software Foundation
5# gives unlimited permission to copy and/or distribute it,
6# with or without modifications, as long as this notice is preserved.
7
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11# PARTICULAR PURPOSE.
12
13
14SHELL = @SHELL@
15
16srcdir = @srcdir@
17top_srcdir = @top_srcdir@
18VPATH = @srcdir@
19prefix = @prefix@
20exec_prefix = @exec_prefix@
21
22bindir = @bindir@
23sbindir = @sbindir@
24libexecdir = @libexecdir@
25datadir = @datadir@
26sysconfdir = @sysconfdir@
27sharedstatedir = @sharedstatedir@
28localstatedir = @localstatedir@
29libdir = @libdir@
30infodir = @infodir@
31mandir = @mandir@
32includedir = @includedir@
33oldincludedir = /usr/include
34
35DESTDIR =
36
37pkgdatadir = $(datadir)/@PACKAGE@
38pkglibdir = $(libdir)/@PACKAGE@
39pkgincludedir = $(includedir)/@PACKAGE@
40
41top_builddir = .
42
43ACLOCAL = @ACLOCAL@
44AUTOCONF = @AUTOCONF@
45AUTOMAKE = @AUTOMAKE@
46AUTOHEADER = @AUTOHEADER@
47
48INSTALL = @INSTALL@
49INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50INSTALL_DATA = @INSTALL_DATA@
51INSTALL_SCRIPT = @INSTALL_SCRIPT@
52transform = @program_transform_name@
53
54NORMAL_INSTALL = :
55PRE_INSTALL = :
56POST_INSTALL = :
57NORMAL_UNINSTALL = :
58PRE_UNINSTALL = :
59POST_UNINSTALL = :
eaa75b70
TF
60build_alias = @build_alias@
61build_triplet = @build@
8a0efa53
CF
62host_alias = @host_alias@
63host_triplet = @host@
eaa75b70
TF
64target_alias = @target_alias@
65target_triplet = @target@
8a0efa53
CF
66AR = @AR@
67AS = @AS@
2e1a7175 68AWK = @AWK@
8a0efa53 69CC = @CC@
2e1a7175 70CC_FOR_BUILD = @CC_FOR_BUILD@
7b2b12d5 71CC_FOR_NEWLIB = @CC_FOR_NEWLIB@
8a0efa53
CF
72CPP = @CPP@
73CRT0 = @CRT0@
74CRT0_DIR = @CRT0_DIR@
6e6cd5bd
JJ
75CRT1 = @CRT1@
76CRT1_DIR = @CRT1_DIR@
0953fe64
TF
77CXX = @CXX@
78CXXCPP = @CXXCPP@
2e1a7175 79DLLTOOL = @DLLTOOL@
8a0efa53 80EXEEXT = @EXEEXT@
d389acba 81EXTRA_DIRS = @EXTRA_DIRS@
0953fe64
TF
82GCJ = @GCJ@
83GCJFLAGS = @GCJFLAGS@
2e1a7175
TF
84LDFLAGS = @LDFLAGS@
85LIBM_MACHINE_OBJECTLIST = @LIBM_MACHINE_OBJECTLIST@
86LIBTOOL = @LIBTOOL@
87LN_S = @LN_S@
88MACHINE_OBJECTLIST = @MACHINE_OBJECTLIST@
8a0efa53
CF
89MAINT = @MAINT@
90MAKEINFO = @MAKEINFO@
91NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
2e1a7175 92OBJDUMP = @OBJDUMP@
0953fe64 93OBJEXT = @OBJEXT@
8a0efa53 94PACKAGE = @PACKAGE@
2e1a7175 95POSIX_OBJECTLIST = @POSIX_OBJECTLIST@
8a0efa53 96RANLIB = @RANLIB@
2e1a7175 97SIGNAL_OBJECTLIST = @SIGNAL_OBJECTLIST@
90b65e2d 98STDIO64_OBJECTLIST = @STDIO64_OBJECTLIST@
0953fe64 99STRIP = @STRIP@
2e1a7175 100SYSCALL_OBJECTLIST = @SYSCALL_OBJECTLIST@
fa4a16a1 101SYS_MACH_OBJECTLIST = @SYS_MACH_OBJECTLIST@
2e1a7175
TF
102SYS_OBJECTLIST = @SYS_OBJECTLIST@
103UNIX_OBJECTLIST = @UNIX_OBJECTLIST@
8a0efa53 104VERSION = @VERSION@
2e1a7175 105aext = @aext@
f7a74742 106libc_cv_initfinit_array = @libc_cv_initfinit_array@
2e1a7175 107libm_machine_dir = @libm_machine_dir@
8a0efa53
CF
108machine_dir = @machine_dir@
109newlib_basedir = @newlib_basedir@
2e1a7175 110oext = @oext@
8a0efa53
CF
111sys_dir = @sys_dir@
112
eaa75b70 113AUTOMAKE_OPTIONS = cygnus dejagnu
8a0efa53
CF
114
115# Multilib support variables.
116MULTISRCTOP =
117MULTIBUILDTOP =
118MULTIDIRS =
119MULTISUBDIR =
120MULTIDO = true
121MULTICLEAN = true
122
2e1a7175 123LIBTOOL_VERSION_INFO = 0:0:0
786ab12c
JJ
124@NEWLIB_HW_FP_TRUE@MATHDIR = mathfp
125@NEWLIB_HW_FP_FALSE@MATHDIR = math
2e1a7175 126
8a0efa53
CF
127# Work around what appears to be a GNU make bug handling MAKEFLAGS
128# values defined in terms of make variables, as is the case for CC and
129# friends when we are called from the top level Makefile.
786ab12c 130AM_MAKEFLAGS = "AR_FLAGS=$(AR_FLAGS)" "CC_FOR_BUILD=$(CC_FOR_BUILD)" "CFLAGS=$(CFLAGS)" "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" "LDFLAGS=$(LDFLAGS)" "LIBCFLAGS=$(LIBCFLAGS)" "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" "MAKE=$(MAKE)" "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" "PICFLAG=$(PICFLAG)" "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" "SHELL=$(SHELL)" "EXPECT=$(EXPECT)" "RUNTEST=$(RUNTEST)" "RUNTESTFLAGS=$(RUNTESTFLAGS)" "exec_prefix=$(exec_prefix)" "infodir=$(infodir)" "libdir=$(libdir)" "prefix=$(prefix)" "tooldir=$(tooldir)" "top_toollibdir=$(toollibdir)" "AR=$(AR)" "AS=$(AS)" "CC=$(CC_FOR_NEWLIB)" "LD=$(LD)" "LIBCFLAGS=$(LIBCFLAGS)" "NM=$(NM)" "PICFLAG=$(PICFLAG)" "RANLIB=$(RANLIB)" "DESTDIR=$(DESTDIR)"
8a0efa53
CF
131
132
a08c98bb 133FLAGS_TO_PASS = $(AM_MAKEFLAGS)
786ab12c 134@HAVE_DOC_TRUE@DOCDIR = doc
08e857b4 135@HAVE_DOC_FALSE@DOCDIR =
8a0efa53 136
786ab12c 137SUBDIRS = libc libm $(DOCDIR) . $(EXTRA_DIRS)
fa4a16a1 138
8a0efa53
CF
139
140tooldir = $(exec_prefix)/$(host_alias)
141toollibdir = $(tooldir)/lib$(MULTISUBDIR)
142
143AR_FLAGS = rc
144
786ab12c
JJ
145@USE_LIBTOOL_TRUE@toollib_LTLIBRARIES = libm.la libc.la
146@USE_LIBTOOL_FALSE@toollib_LIBRARIES = libm.a libc.a
2e1a7175 147
8a0efa53
CF
148noinst_DATA = stmp-targ-include
149
6e6cd5bd 150toollib_DATA = $(CRT0) $(CRT1)
2e1a7175 151
8a0efa53
CF
152# The functions ldexp, frexp and modf are traditionally supplied in
153# both libc.a and libm.a. We build them in libm.a and copy them over,
154# along with some required supporting routines.
8fa6cb9a 155MATHOBJS_IN_LIBC = s_isinf.$(oext) sf_isinf.$(oext) s_isnan.$(oext) sf_isnan.$(oext) s_nan.$(oext) sf_nan.$(oext) s_ldexp.$(oext) sf_ldexp.$(oext) s_frexp.$(oext) sf_frexp.$(oext) s_modf.$(oext) sf_modf.$(oext) s_scalbn.$(oext) sf_scalbn.$(oext) s_finite.$(oext) sf_finite.$(oext) s_copysign.$(oext) sf_copysign.$(oext) s_infconst.$(oext)
786ab12c
JJ
156
157
158LIBC_OBJECTLISTS = $(POSIX_OBJECTLIST) $(SIGNAL_OBJECTLIST) $(SYSCALL_OBJECTLIST) $(UNIX_OBJECTLIST) $(STDIO64_OBJECTLIST) libc/argz/objectlist.awk.in libc/stdlib/objectlist.awk.in libc/time/objectlist.awk.in libc/ctype/objectlist.awk.in libc/search/objectlist.awk.in libc/string/objectlist.awk.in libc/locale/objectlist.awk.in libc/misc/objectlist.awk.in libc/reent/objectlist.awk.in libc/errno/objectlist.awk.in libc/stdio/objectlist.awk.in $(MACHINE_OBJECTLIST) $(SYS_OBJECTLIST) $(SYS_MACH_OBJECTLIST)
159
160
161LIBM_OBJECTLISTS = libm/$(MATHDIR)/objectlist.awk.in libm/common/objectlist.awk.in $(LIBM_MACHINE_OBJECTLIST)
2e1a7175
TF
162
163
a2b1a849 164libm_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
2e1a7175 165
a2b1a849 166libc_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
2e1a7175
TF
167
168@USE_LIBTOOL_TRUE@libm_la_SOURCES =
786ab12c 169@USE_LIBTOOL_TRUE@libm_la_DEPENDENCIES = libm-libtool-objectlist
2e1a7175
TF
170
171@USE_LIBTOOL_TRUE@libc_la_SOURCES =
786ab12c 172@USE_LIBTOOL_TRUE@libc_la_DEPENDENCIES = libc-libtool-objectlist
8a0efa53
CF
173
174CLEANFILES = targ-include stmp-targ-include
175
176CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
177
178MAKEOVERRIDES =
eaa75b70
TF
179
180# dejagnu support
181
182RUNTESTFLAGS =
8a0efa53
CF
183ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
184mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
8da1639b 185CONFIG_HEADER = newlib.h
8a0efa53
CF
186CONFIG_CLEAN_FILES =
187LIBRARIES = $(toollib_LIBRARIES)
188
189
8da1639b 190DEFS = @DEFS@ -I. -I$(srcdir) -I.
8a0efa53 191CPPFLAGS = @CPPFLAGS@
8a0efa53
CF
192LIBS = @LIBS@
193libm_a_LIBADD =
194libm_a_SOURCES = libm.a.c
0953fe64 195libm_a_OBJECTS = libm.a.$(OBJEXT)
8a0efa53
CF
196libc_a_LIBADD =
197libc_a_SOURCES = libc.a.c
0953fe64 198libc_a_OBJECTS = libc.a.$(OBJEXT)
2e1a7175
TF
199LTLIBRARIES = $(toollib_LTLIBRARIES)
200
201libm_la_LIBADD =
202@USE_LIBTOOL_TRUE@libm_la_OBJECTS =
203libc_la_LIBADD =
204@USE_LIBTOOL_TRUE@libc_la_OBJECTS =
8a0efa53
CF
205CFLAGS = @CFLAGS@
206COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
2e1a7175 207LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
8a0efa53 208CCLD = $(CC)
2e1a7175 209LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
8a0efa53
CF
210DATA = $(noinst_DATA) $(toollib_DATA)
211
8da1639b
JJ
212DIST_COMMON = README ./stamp-h.in ChangeLog Makefile.am Makefile.in \
213NEWS acinclude.m4 aclocal.m4 configure configure.in newlib.hin
8a0efa53
CF
214
215
216DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
217
a36cd013 218TAR = gtar
8a0efa53 219GZIP_ENV = --best
d389acba 220DIST_SUBDIRS = libc libm doc . @EXTRA_DIRS@
eaa75b70
TF
221EXPECT = `if test -f $(top_builddir)/../expect/expect; then echo $(top_builddir)/../expect/expect; else echo expect; fi`
222RUNTEST = `if test -f $(top_srcdir)/../dejagnu/runtest; then echo $(top_srcdir)/../dejagnu/runtest; else echo runtest; fi`
2e1a7175 223SOURCES = libm.a.c libc.a.c $(libm_la_SOURCES) $(libc_la_SOURCES)
0953fe64 224OBJECTS = libm.a.$(OBJEXT) libc.a.$(OBJEXT) $(libm_la_OBJECTS) $(libc_la_OBJECTS)
8a0efa53
CF
225
226all: all-redirect
227.SUFFIXES:
0953fe64 228.SUFFIXES: .S .c .lo .o .obj .s
8a0efa53
CF
229$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
230 cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
231
232Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
233 cd $(top_builddir) \
234 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
235
236$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
237 cd $(srcdir) && $(ACLOCAL)
238
239config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
240 $(SHELL) ./config.status --recheck
241$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
242 cd $(srcdir) && $(AUTOCONF)
243
8da1639b
JJ
244newlib.h: stamp-h
245 @if test ! -f $@; then \
246 rm -f stamp-h; \
247 $(MAKE) stamp-h; \
248 else :; fi
249stamp-h: $(srcdir)/newlib.hin $(top_builddir)/config.status
250 cd $(top_builddir) \
251 && CONFIG_FILES= CONFIG_HEADERS=newlib.h:newlib.hin \
252 $(SHELL) ./config.status
253 @echo timestamp > stamp-h 2> /dev/null
254$(srcdir)/newlib.hin: @MAINTAINER_MODE_TRUE@$(srcdir)/stamp-h.in
255 @if test ! -f $@; then \
256 rm -f $(srcdir)/stamp-h.in; \
257 $(MAKE) $(srcdir)/stamp-h.in; \
258 else :; fi
259$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
260 cd $(top_srcdir) && $(AUTOHEADER)
261 @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
262
263mostlyclean-hdr:
264
265clean-hdr:
266
267distclean-hdr:
268 -rm -f newlib.h
269
270maintainer-clean-hdr:
271
8a0efa53
CF
272mostlyclean-toollibLIBRARIES:
273
274clean-toollibLIBRARIES:
275 -test -z "$(toollib_LIBRARIES)" || rm -f $(toollib_LIBRARIES)
276
277distclean-toollibLIBRARIES:
278
279maintainer-clean-toollibLIBRARIES:
280
281install-toollibLIBRARIES: $(toollib_LIBRARIES)
282 @$(NORMAL_INSTALL)
283 $(mkinstalldirs) $(DESTDIR)$(toollibdir)
284 @list='$(toollib_LIBRARIES)'; for p in $$list; do \
285 if test -f $$p; then \
286 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(toollibdir)/$$p"; \
287 $(INSTALL_DATA) $$p $(DESTDIR)$(toollibdir)/$$p; \
288 else :; fi; \
289 done
290 @$(POST_INSTALL)
291 @list='$(toollib_LIBRARIES)'; for p in $$list; do \
292 if test -f $$p; then \
293 echo " $(RANLIB) $(DESTDIR)$(toollibdir)/$$p"; \
294 $(RANLIB) $(DESTDIR)$(toollibdir)/$$p; \
295 else :; fi; \
296 done
297
298uninstall-toollibLIBRARIES:
299 @$(NORMAL_UNINSTALL)
300 list='$(toollib_LIBRARIES)'; for p in $$list; do \
301 rm -f $(DESTDIR)$(toollibdir)/$$p; \
302 done
303
304.c.o:
305 $(COMPILE) -c $<
306
0953fe64
TF
307# FIXME: We should only use cygpath when building on Windows,
308# and only if it is available.
309.c.obj:
310 $(COMPILE) -c `cygpath -w $<`
311
8a0efa53
CF
312.s.o:
313 $(COMPILE) -c $<
314
315.S.o:
316 $(COMPILE) -c $<
317
318mostlyclean-compile:
319 -rm -f *.o core *.core
0953fe64 320 -rm -f *.$(OBJEXT)
8a0efa53
CF
321
322clean-compile:
323
324distclean-compile:
325 -rm -f *.tab.c
326
327maintainer-clean-compile:
328
2e1a7175
TF
329.c.lo:
330 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
331
332.s.lo:
333 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
334
335.S.lo:
336 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
337
338mostlyclean-libtool:
339 -rm -f *.lo
340
341clean-libtool:
342 -rm -rf .libs _libs
343
344distclean-libtool:
345
346maintainer-clean-libtool:
347
348mostlyclean-toollibLTLIBRARIES:
349
350clean-toollibLTLIBRARIES:
351 -test -z "$(toollib_LTLIBRARIES)" || rm -f $(toollib_LTLIBRARIES)
352
353distclean-toollibLTLIBRARIES:
354
355maintainer-clean-toollibLTLIBRARIES:
356
357install-toollibLTLIBRARIES: $(toollib_LTLIBRARIES)
358 @$(NORMAL_INSTALL)
359 $(mkinstalldirs) $(DESTDIR)$(toollibdir)
360 @list='$(toollib_LTLIBRARIES)'; for p in $$list; do \
361 if test -f $$p; then \
362 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toollibdir)/$$p"; \
363 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toollibdir)/$$p; \
364 else :; fi; \
365 done
366
367uninstall-toollibLTLIBRARIES:
368 @$(NORMAL_UNINSTALL)
369 list='$(toollib_LTLIBRARIES)'; for p in $$list; do \
370 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toollibdir)/$$p; \
371 done
372
373libm.la: $(libm_la_OBJECTS) $(libm_la_DEPENDENCIES)
374 $(LINK) -rpath $(toollibdir) $(libm_la_LDFLAGS) $(libm_la_OBJECTS) $(libm_la_LIBADD) $(LIBS)
375
376libc.la: $(libc_la_OBJECTS) $(libc_la_DEPENDENCIES)
377 $(LINK) -rpath $(toollibdir) $(libc_la_LDFLAGS) $(libc_la_OBJECTS) $(libc_la_LIBADD) $(LIBS)
378
8a0efa53
CF
379install-toollibDATA: $(toollib_DATA)
380 @$(NORMAL_INSTALL)
381 $(mkinstalldirs) $(DESTDIR)$(toollibdir)
382 @list='$(toollib_DATA)'; for p in $$list; do \
383 if test -f $(srcdir)/$$p; then \
384 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(toollibdir)/$$p"; \
385 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(toollibdir)/$$p; \
386 else if test -f $$p; then \
387 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(toollibdir)/$$p"; \
388 $(INSTALL_DATA) $$p $(DESTDIR)$(toollibdir)/$$p; \
389 fi; fi; \
390 done
391
392uninstall-toollibDATA:
393 @$(NORMAL_UNINSTALL)
394 list='$(toollib_DATA)'; for p in $$list; do \
395 rm -f $(DESTDIR)$(toollibdir)/$$p; \
396 done
397
398# This directory's subdirectories are mostly independent; you can cd
399# into them and run `make' without going through this Makefile.
400# To change the values of `make' variables: instead of editing Makefiles,
401# (1) if the variable is set in `config.status', edit `config.status'
402# (which will cause the Makefiles to be regenerated when you run `make');
403# (2) otherwise, pass the desired values on the `make' command line.
404
405@SET_MAKE@
406
407all-recursive install-data-recursive install-exec-recursive \
408installdirs-recursive install-recursive uninstall-recursive install-info-recursive \
409check-recursive installcheck-recursive info-recursive dvi-recursive:
410 @set fnord $(MAKEFLAGS); amf=$$2; \
411 dot_seen=no; \
412 target=`echo $@ | sed s/-recursive//`; \
413 list='$(SUBDIRS)'; for subdir in $$list; do \
414 echo "Making $$target in $$subdir"; \
415 if test "$$subdir" = "."; then \
416 dot_seen=yes; \
417 local_target="$$target-am"; \
418 else \
419 local_target="$$target"; \
420 fi; \
421 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
422 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
423 done; \
424 if test "$$dot_seen" = "no"; then \
425 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
426 fi; test -z "$$fail"
427
428mostlyclean-recursive clean-recursive distclean-recursive \
429maintainer-clean-recursive:
430 @set fnord $(MAKEFLAGS); amf=$$2; \
431 dot_seen=no; \
432 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
433 rev="$$subdir $$rev"; \
b11926e7 434 test "$$subdir" != "." || dot_seen=yes; \
8a0efa53
CF
435 done; \
436 test "$$dot_seen" = "no" && rev=". $$rev"; \
437 target=`echo $@ | sed s/-recursive//`; \
438 for subdir in $$rev; do \
439 echo "Making $$target in $$subdir"; \
440 if test "$$subdir" = "."; then \
441 local_target="$$target-am"; \
442 else \
443 local_target="$$target"; \
444 fi; \
445 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
446 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
447 done && test -z "$$fail"
448tags-recursive:
449 list='$(SUBDIRS)'; for subdir in $$list; do \
450 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
451 done
452
453tags: TAGS
454
455ID: $(HEADERS) $(SOURCES) $(LISP)
456 list='$(SOURCES) $(HEADERS)'; \
457 unique=`for i in $$list; do echo $$i; done | \
458 awk ' { files[$$0] = 1; } \
459 END { for (i in files) print i; }'`; \
460 here=`pwd` && cd $(srcdir) \
461 && mkid -f$$here/ID $$unique $(LISP)
462
8da1639b 463TAGS: tags-recursive $(HEADERS) $(SOURCES) newlib.hin $(TAGS_DEPENDENCIES) $(LISP)
8a0efa53
CF
464 tags=; \
465 here=`pwd`; \
466 list='$(SUBDIRS)'; for subdir in $$list; do \
467 if test "$$subdir" = .; then :; else \
468 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
469 fi; \
470 done; \
471 list='$(SOURCES) $(HEADERS)'; \
472 unique=`for i in $$list; do echo $$i; done | \
473 awk ' { files[$$0] = 1; } \
474 END { for (i in files) print i; }'`; \
8da1639b
JJ
475 test -z "$(ETAGS_ARGS)newlib.hin$$unique$(LISP)$$tags" \
476 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags newlib.hin $$unique $(LISP) -o $$here/TAGS)
8a0efa53
CF
477
478mostlyclean-tags:
479
480clean-tags:
481
482distclean-tags:
483 -rm -f TAGS ID
484
485maintainer-clean-tags:
486
487distdir = $(PACKAGE)-$(VERSION)
488top_distdir = $(distdir)
489
490# This target untars the dist file and tries a VPATH configuration. Then
491# it guarantees that the distribution is self-contained by making another
492# tarfile.
493distcheck: dist
494 -rm -rf $(distdir)
495 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
496 mkdir $(distdir)/=build
497 mkdir $(distdir)/=inst
498 dc_install_base=`cd $(distdir)/=inst && pwd`; \
499 cd $(distdir)/=build \
500 && ../configure --srcdir=.. --prefix=$$dc_install_base \
501 && $(MAKE) $(AM_MAKEFLAGS) \
502 && $(MAKE) $(AM_MAKEFLAGS) dvi \
503 && $(MAKE) $(AM_MAKEFLAGS) check \
504 && $(MAKE) $(AM_MAKEFLAGS) install \
505 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
506 && $(MAKE) $(AM_MAKEFLAGS) dist
507 -rm -rf $(distdir)
508 @banner="$(distdir).tar.gz is ready for distribution"; \
509 dashes=`echo "$$banner" | sed s/./=/g`; \
510 echo "$$dashes"; \
511 echo "$$banner"; \
512 echo "$$dashes"
513dist: distdir
514 -chmod -R a+r $(distdir)
515 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
516 -rm -rf $(distdir)
517dist-all: distdir
518 -chmod -R a+r $(distdir)
519 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
520 -rm -rf $(distdir)
521distdir: $(DISTFILES)
522 -rm -rf $(distdir)
523 mkdir $(distdir)
524 -chmod 777 $(distdir)
525 @for file in $(DISTFILES); do \
526 if test -f $$file; then d=.; else d=$(srcdir); fi; \
527 if test -d $$d/$$file; then \
a08c98bb 528 cp -pr $$d/$$file $(distdir)/$$file; \
8a0efa53
CF
529 else \
530 test -f $(distdir)/$$file \
531 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
532 || cp -p $$d/$$file $(distdir)/$$file || :; \
533 fi; \
534 done
535 for subdir in $(DIST_SUBDIRS); do \
536 if test "$$subdir" = .; then :; else \
537 test -d $(distdir)/$$subdir \
538 || mkdir $(distdir)/$$subdir \
539 || exit 1; \
540 chmod 777 $(distdir)/$$subdir; \
541 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
542 || exit 1; \
543 fi; \
544 done
eaa75b70
TF
545
546DEJATOOL = $(PACKAGE)
547
548RUNTESTDEFAULTFLAGS = --tool $(DEJATOOL) --srcdir $$srcdir
8a0efa53
CF
549info-am:
550info: info-recursive
551dvi-am:
552dvi: dvi-recursive
553check-am:
eaa75b70 554 $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
8a0efa53
CF
555check: check-recursive
556installcheck-am:
557installcheck: installcheck-recursive
558install-info-am:
559install-info: install-info-recursive
8da1639b
JJ
560all-recursive-am: newlib.h
561 $(MAKE) $(AM_MAKEFLAGS) all-recursive
562
8a0efa53
CF
563install-exec-am:
564install-exec: install-exec-recursive
565
2e1a7175
TF
566install-data-am: install-toollibLIBRARIES install-toollibLTLIBRARIES \
567 install-toollibDATA install-data-local
8a0efa53
CF
568install-data: install-data-recursive
569
570install-am: all-am
571 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
572install: install-recursive
2e1a7175
TF
573uninstall-am: uninstall-toollibLIBRARIES uninstall-toollibLTLIBRARIES \
574 uninstall-toollibDATA
8a0efa53 575uninstall: uninstall-recursive
8da1639b
JJ
576all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(DATA) newlib.h
577all-redirect: all-recursive-am
8a0efa53
CF
578install-strip:
579 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
580installdirs: installdirs-recursive
581installdirs-am:
2e1a7175
TF
582 $(mkinstalldirs) $(DESTDIR)$(toollibdir) $(DESTDIR)$(toollibdir) \
583 $(DESTDIR)$(toollibdir)
8a0efa53
CF
584
585
586mostlyclean-generic:
587
588clean-generic:
589 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
590
591distclean-generic:
592 -rm -f Makefile $(CONFIG_CLEAN_FILES)
593 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
594
595maintainer-clean-generic:
8da1639b
JJ
596mostlyclean-am: mostlyclean-hdr mostlyclean-toollibLIBRARIES \
597 mostlyclean-compile mostlyclean-libtool \
598 mostlyclean-toollibLTLIBRARIES mostlyclean-tags \
599 mostlyclean-generic
8a0efa53
CF
600
601mostlyclean: mostlyclean-recursive
602
8da1639b 603clean-am: clean-hdr clean-toollibLIBRARIES clean-compile clean-libtool \
2e1a7175 604 clean-toollibLTLIBRARIES clean-tags clean-generic \
8a0efa53
CF
605 mostlyclean-am
606
607clean: clean-recursive
608
8da1639b
JJ
609distclean-am: distclean-hdr distclean-toollibLIBRARIES \
610 distclean-compile distclean-libtool \
611 distclean-toollibLTLIBRARIES distclean-tags \
612 distclean-generic clean-am
2e1a7175 613 -rm -f libtool
8a0efa53
CF
614
615distclean: distclean-recursive
616 -rm -f config.status
617
8da1639b
JJ
618maintainer-clean-am: maintainer-clean-hdr \
619 maintainer-clean-toollibLIBRARIES \
2e1a7175
TF
620 maintainer-clean-compile maintainer-clean-libtool \
621 maintainer-clean-toollibLTLIBRARIES \
622 maintainer-clean-tags maintainer-clean-generic \
623 distclean-am
8a0efa53
CF
624 @echo "This command is intended for maintainers to use;"
625 @echo "it deletes files that may require special tools to rebuild."
626
627maintainer-clean: maintainer-clean-recursive
628 -rm -f config.status
629
8da1639b
JJ
630.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
631mostlyclean-toollibLIBRARIES distclean-toollibLIBRARIES \
8a0efa53
CF
632clean-toollibLIBRARIES maintainer-clean-toollibLIBRARIES \
633uninstall-toollibLIBRARIES install-toollibLIBRARIES mostlyclean-compile \
634distclean-compile clean-compile maintainer-clean-compile \
2e1a7175
TF
635mostlyclean-libtool distclean-libtool clean-libtool \
636maintainer-clean-libtool mostlyclean-toollibLTLIBRARIES \
637distclean-toollibLTLIBRARIES clean-toollibLTLIBRARIES \
638maintainer-clean-toollibLTLIBRARIES uninstall-toollibLTLIBRARIES \
639install-toollibLTLIBRARIES uninstall-toollibDATA install-toollibDATA \
640install-data-recursive uninstall-data-recursive install-exec-recursive \
8a0efa53
CF
641uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
642all-recursive check-recursive installcheck-recursive info-recursive \
643dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
644maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
eaa75b70
TF
645distclean-tags clean-tags maintainer-clean-tags distdir check-DEJAGNU \
646info-am info dvi-am dvi check check-am installcheck-am installcheck \
8da1639b
JJ
647install-info-am install-info all-recursive-am install-exec-am \
648install-exec install-data-local install-data-am install-data install-am \
649install uninstall-am uninstall all-redirect all-am all installdirs-am \
eaa75b70
TF
650installdirs mostlyclean-generic distclean-generic clean-generic \
651maintainer-clean-generic clean mostlyclean distclean maintainer-clean
8a0efa53
CF
652
653
2e1a7175
TF
654# objects listed later in LIBM_OBJECTLISTS will override those listed earlier
655@USE_LIBTOOL_TRUE@libm-libtool-objectlist: $(LIBM_OBJECTLISTS)
656@USE_LIBTOOL_TRUE@ cat $(LIBM_OBJECTLISTS) | $(AWK) '{ libm[$$1] = $$2 }; END { for (x in libm) printf ("%s\n", libm[x]) }' > $@
8a0efa53 657
2e1a7175
TF
658# objects listed later in LIBM_OBJECTLISTS and LIBC_OBJECTLISTS will override those listed earlier
659@USE_LIBTOOL_TRUE@libc-libtool-objectlist: $(LIBM_OBJECTLISTS) $(LIBC_OBJECTLISTS)
660@USE_LIBTOOL_TRUE@ cat $(LIBM_OBJECTLISTS) $(LIBC_OBJECTLISTS) | $(AWK) '{ libc[$$1] = $$2 }; END { for (x in libc) printf ("%s\n", libc[x]) }' > $@
8a0efa53 661
2e1a7175
TF
662@USE_LIBTOOL_FALSE@libc.a: libc/libc.a libm.a
663@USE_LIBTOOL_FALSE@ rm -rf libc.a libg.a tmp
664@USE_LIBTOOL_FALSE@ mkdir tmp
665@USE_LIBTOOL_FALSE@ cd tmp; \
666@USE_LIBTOOL_FALSE@ $(AR) x ../libm.a $(MATHOBJS_IN_LIBC) ; \
667@USE_LIBTOOL_FALSE@ $(AR) x ../libc/libc.a ; \
668@USE_LIBTOOL_FALSE@ $(AR) $(AR_FLAGS) ../$@ *.o
669@USE_LIBTOOL_FALSE@ $(RANLIB) libc.a
670@USE_LIBTOOL_FALSE@ ln libc.a libg.a >/dev/null 2>/dev/null || cp libc.a libg.a
671@USE_LIBTOOL_FALSE@ rm -rf tmp
672
673@USE_LIBTOOL_FALSE@libc/libc.a: ; @true
674
675@USE_LIBTOOL_FALSE@libm.a: libm/libm.a
676@USE_LIBTOOL_FALSE@ rm -f $@
677@USE_LIBTOOL_FALSE@ ln libm/libm.a $@ >/dev/null 2>/dev/null || cp libm/libm.a $@
8a0efa53 678
2e1a7175 679@USE_LIBTOOL_FALSE@libm/libm.a: ; @true
8a0efa53 680
5f1c13c6 681crt0.o: $(CRT0_DIR)$(CRT0)
8a0efa53 682 rm -f $@
5f1c13c6
TF
683 ln $(CRT0_DIR)$(CRT0) $@ >/dev/null 2>/dev/null \
684 || cp $(CRT0_DIR)$(CRT0) $@
8a0efa53 685
5f1c13c6 686$(CRT0_DIR)$(CRT0): ; @true
8a0efa53 687
5f1c13c6 688crt1.o: $(CRT1_DIR)$(CRT1)
6e6cd5bd 689 rm -f $@
5f1c13c6
TF
690 ln $(CRT0_DIR)$(CRT0) $@ >/dev/null 2>/dev/null \
691 || cp $(CRT0_DIR)$(CRT0) $@
6e6cd5bd 692
5f1c13c6 693$(CRT1_DIR)$(CRT1): ; @true
6e6cd5bd 694
8a0efa53
CF
695all-recursive: stmp-targ-include
696
697# The targ-include directory just holds the includes files for the
698# particular system and machine we have been configured for. It is
699# used while building.
700stmp-targ-include: config.status
701 -rm -rf targ-include stmp-targ-include
702 mkdir targ-include targ-include/sys targ-include/machine
8da1639b 703 cp newlib.h targ-include/newlib.h
8a0efa53
CF
704 -for i in $(srcdir)/libc/machine/$(machine_dir)/machine/*.h; do \
705 if [ -f $$i ]; then \
706 cp $$i targ-include/machine/`basename $$i`; \
707 else true; fi ; \
708 done
423152ed
JJ
709 -for i in $(srcdir)/libc/machine/$(machine_dir)/sys/*.h; do \
710 if [ -f $$i ]; then \
711 cp $$i targ-include/sys/`basename $$i`; \
712 else true; fi ; \
713 done
8a0efa53
CF
714 -for i in $(srcdir)/libc/sys/$(sys_dir)/include/*.h; do \
715 if [ -f $$i ]; then \
716 cp $$i targ-include/`basename $$i`; \
717 else true; fi ; \
718 done
719 -for i in $(srcdir)/libc/sys/$(sys_dir)/sys/*.h; do \
720 if [ -f $$i ]; then \
721 cp $$i targ-include/sys/`basename $$i`; \
722 else true; fi ; \
723 done
dd7ee147
JJ
724 -for i in $(srcdir)/libc/sys/$(sys_dir)/machine/*.h; do \
725 if [ -f $$i ]; then \
726 cp $$i targ-include/machine/`basename $$i`; \
727 else true; fi ; \
728 done
fa4a16a1
JJ
729 -for i in $(srcdir)/libc/sys/$(sys_dir)/machine/$(machine_dir)/*.h; do \
730 if [ -f $$i ]; then \
731 cp $$i targ-include/machine/`basename $$i`; \
732 else true; fi ; \
733 done
5e2cbfb6
JJ
734 -for i in $(srcdir)/libc/sys/$(sys_dir)/machine/$(machine_dir)/include/*.h; do \
735 if [ -f $$i ]; then \
736 cp $$i targ-include/machine/`basename $$i`; \
737 else true; fi ; \
738 done
8a0efa53
CF
739 touch $@
740
a385ae75 741install-data-local: install-toollibLIBRARIES
2e1a7175
TF
742@USE_LIBTOOL_FALSE@ rm -f $(DESTDIR)$(toollibdir)/libg.a
743@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
b11926e7 744 $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do # $(MAKE)
8a0efa53 745 -if [ -z "$(MULTISUBDIR)" ]; then \
adbbb034 746 $(mkinstalldirs) $(DESTDIR)$(tooldir)/include; \
8a0efa53 747 for i in $(srcdir)/libc/include/*.h; do \
a385ae75 748 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/`basename $$i`; \
8a0efa53 749 done; \
f3741c27 750 $(INSTALL_DATA) newlib.h $(DESTDIR)$(tooldir)/include/newlib.h; \
adbbb034 751 $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/machine; \
8a0efa53 752 for i in $(srcdir)/libc/include/machine/*.h; do \
a385ae75 753 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
8a0efa53
CF
754 done; \
755 for i in $(srcdir)/libc/machine/$(machine_dir)/machine/*.h; do \
756 if [ -f $$i ]; then \
a385ae75 757 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
8a0efa53
CF
758 else true; fi ; \
759 done; \
adbbb034 760 $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/sys; \
8a0efa53 761 for i in $(srcdir)/libc/include/sys/*.h; do \
a385ae75 762 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \
8a0efa53 763 done; \
423152ed
JJ
764 for i in $(srcdir)/libc/machine/$(machine_dir)/sys/*.h; do \
765 if [ -f $$i ]; then \
766 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \
767 else true; fi ; \
768 done ; \
8a0efa53
CF
769 for i in $(srcdir)/libc/sys/$(sys_dir)/sys/*.h; do \
770 if [ -f $$i ]; then \
a385ae75 771 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \
8a0efa53
CF
772 else true; fi ; \
773 done ; \
dd7ee147
JJ
774 for i in $(srcdir)/libc/sys/$(sys_dir)/machine/*.h; do \
775 if [ -f $$i ]; then \
776 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
777 else true; fi ; \
778 done ; \
8a0efa53
CF
779 for i in $(srcdir)/libc/sys/$(sys_dir)/include/*.h; do \
780 if [ -f $$i ]; then \
a385ae75 781 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/`basename $$i`; \
8a0efa53
CF
782 else true; fi ; \
783 done ; \
5e2cbfb6
JJ
784 for i in $(srcdir)/libc/sys/$(sys_dir)/machine/$(machine_dir)/include/*.h; do \
785 if [ -f $$i ]; then \
786 $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
787 else true; fi ; \
788 done ; \
8a0efa53
CF
789 else true; fi
790
791# Force makedoc to be built before building info files.
792info-recursive: doc/makedoc
793dvi-recursive: doc/makedoc
794doc/makedoc:
795 cd doc && $(MAKE) all
796
797# Multilib support.
0717f01c 798.PHONY: all-multi check-multi mostlyclean-multi clean-multi distclean-multi \
8a0efa53
CF
799 maintainer-clean-multi
800
801all-recursive: all-multi
0717f01c 802check-recursive: check-multi
8a0efa53
CF
803mostlyclean-recursive: mostlyclean-multi
804clean-recursive: clean-multi
805distclean-recursive: distclean-multi
806maintainer-clean-recursive: maintainer-clean-multi
807
b11926e7 808# The $(MAKE) comments below are to enable parallel building.
8a0efa53 809all-multi:
b11926e7 810 $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do # $(MAKE)
0717f01c 811check-multi:
b11926e7 812 $(MULTIDO) $(AM_MAKEFLAGS) DO=check multi-do # $(MAKE)
8a0efa53 813mostlyclean-multi:
b11926e7 814 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean # $(MAKE)
8a0efa53 815clean-multi:
b11926e7 816 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean # $(MAKE)
8a0efa53 817distclean-multi:
b11926e7 818 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean # $(MAKE)
8a0efa53 819maintainer-clean-multi:
b11926e7 820 $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean # $(MAKE)
8a0efa53 821
eaa75b70
TF
822site.exp: Makefile
823 @echo 'Making a new site.exp file...'
824 @test ! -f site.bak || rm -f site.bak
825 @echo '## these variables are automatically generated by make ##' > $@-t
826 @echo '# Do not edit here. If you wish to override these values' >> $@-t
827 @echo '# edit the last section' >> $@-t
828 @echo 'set tool $(DEJATOOL)' >> $@-t
829 @echo 'set tool_version $(VERSION)' >> $@-t
830 @echo 'set srcdir $(srcdir)/testsuite' >> $@-t
831 @echo 'set objdir' `pwd` >> $@-t
1e997c56 832 @echo 'set multibuildtop ./$(MULTIBUILDTOP)' >> $@-t
4cf4f010
TF
833 @echo 'set host_alias $(build_alias)' >> $@-t
834 @echo 'set host_triplet $(build_triplet)' >> $@-t
eaa75b70
TF
835 @echo 'set target_alias $(host_alias)' >> $@-t
836 @echo 'set target_triplet $(host_triplet)' >> $@-t
837 @echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t
838 @test ! -f site.exp || sed '1,/^## All variables above are.*##/ d' site.exp >> $@-t
839 @test ! -f site.exp || mv site.exp site.bak
840 @mv $@-t site.exp
841
842check-DEJAGNU: site.exp
843 @if [ -d testsuite ] ; then \
844 true ; \
845 else \
846 mkdir testsuite ; \
847 fi
848 @rm -f testsuite/site.exp
849 @cp site.exp testsuite/site.exp
850 @rootme=`pwd` ; \
851 export rootme ; \
852 srcdir=`cd ${srcdir}; pwd` ; \
853 export srcdir ; \
854 EXPECT=`if [ -f $${rootme}/${MULTIBUILDTOP}../../expect/expect ] ; then \
855 echo $${rootme}/${MULTIBUILDTOP}../../expect/expect ; \
856 else \
857 echo expect ; \
858 fi` ; \
859 export EXPECT ; \
860 echo "Found expect: $${EXPECT}" ; \
861 if [ -f $(top_builddir)/$(MULTIBUILDTOP)../../expect/expect ] ; then \
862 TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd` ; \
863 export TCL_LIBRARY ; \
864 echo "Found TCL library directory: $${TCL_LIBRARY}" ; \
865 fi ; \
866 RUNTEST=`if [ -f $${srcdir}/../dejagnu/runtest ] ; then \
867 echo $${srcdir}/../dejagnu/runtest ; \
868 else \
869 echo runtest ; \
870 fi` ; \
871 export RUNTEST ; \
872 echo "Found runtest: $${RUNTEST}" ; \
873 cd testsuite ; \
874 if $(SHELL) -c "$$RUNTEST --version" > /dev/null 2>&1 ; then \
0717f01c
TF
875 $$RUNTEST --tool $(DEJATOOL) --srcdir $${srcdir}/testsuite $(RUNTESTFLAGS) ; \
876 : ; \
eaa75b70
TF
877 else \
878 echo "WARNING: could not find \`runtest'" 1>&2 ; \
879 fi
880
8a0efa53
CF
881# Tell versions [3.59,3.63) of GNU make to not export all variables.
882# Otherwise a system limit (for SysV at least) may be exceeded.
883.NOEXPORT:
This page took 0.198159 seconds and 5 git commands to generate.