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