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