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