1 |
207 |
jeremybenn |
# Makefile.in generated by automake 1.11 from Makefile.am.
|
2 |
|
|
# @configure_input@
|
3 |
|
|
|
4 |
|
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
5 |
|
|
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
6 |
|
|
# Inc.
|
7 |
|
|
# This Makefile.in is free software; the Free Software Foundation
|
8 |
|
|
# gives unlimited permission to copy and/or distribute it,
|
9 |
|
|
# with or without modifications, as long as this notice is preserved.
|
10 |
|
|
|
11 |
|
|
# This program is distributed in the hope that it will be useful,
|
12 |
|
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
13 |
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
14 |
|
|
# PARTICULAR PURPOSE.
|
15 |
|
|
|
16 |
|
|
@SET_MAKE@
|
17 |
|
|
|
18 |
|
|
|
19 |
|
|
|
20 |
|
|
VPATH = @srcdir@
|
21 |
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
22 |
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
23 |
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
24 |
|
|
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
25 |
|
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
26 |
|
|
install_sh_DATA = $(install_sh) -c -m 644
|
27 |
|
|
install_sh_PROGRAM = $(install_sh) -c
|
28 |
|
|
install_sh_SCRIPT = $(install_sh) -c
|
29 |
|
|
INSTALL_HEADER = $(INSTALL_DATA)
|
30 |
|
|
transform = $(program_transform_name)
|
31 |
|
|
NORMAL_INSTALL = :
|
32 |
|
|
PRE_INSTALL = :
|
33 |
|
|
POST_INSTALL = :
|
34 |
|
|
NORMAL_UNINSTALL = :
|
35 |
|
|
PRE_UNINSTALL = :
|
36 |
|
|
POST_UNINSTALL = :
|
37 |
|
|
build_triplet = @build@
|
38 |
|
|
host_triplet = @host@
|
39 |
|
|
subdir = .
|
40 |
|
|
DIST_COMMON = NEWS README ChangeLog $(srcdir)/Makefile.in \
|
41 |
|
|
$(srcdir)/Makefile.am $(top_srcdir)/configure \
|
42 |
|
|
$(am__configure_deps) acconfig.h $(srcdir)/newlib.hin \
|
43 |
|
|
$(srcdir)/../mkinstalldirs
|
44 |
|
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
45 |
|
|
am__aclocal_m4_deps = $(top_srcdir)/../libtool.m4 \
|
46 |
|
|
$(top_srcdir)/../ltoptions.m4 $(top_srcdir)/../ltsugar.m4 \
|
47 |
|
|
$(top_srcdir)/../ltversion.m4 $(top_srcdir)/../lt~obsolete.m4 \
|
48 |
|
|
$(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
|
49 |
|
|
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
50 |
|
|
$(ACLOCAL_M4)
|
51 |
|
|
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
52 |
|
|
configure.lineno config.status.lineno
|
53 |
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
|
54 |
|
|
CONFIG_HEADER = newlib.h
|
55 |
|
|
CONFIG_CLEAN_FILES =
|
56 |
|
|
CONFIG_CLEAN_VPATH_FILES =
|
57 |
|
|
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
58 |
|
|
am__vpath_adj = case $$p in \
|
59 |
|
|
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
60 |
|
|
*) f=$$p;; \
|
61 |
|
|
esac;
|
62 |
|
|
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
|
63 |
|
|
am__install_max = 40
|
64 |
|
|
am__nobase_strip_setup = \
|
65 |
|
|
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
|
66 |
|
|
am__nobase_strip = \
|
67 |
|
|
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
|
68 |
|
|
am__nobase_list = $(am__nobase_strip_setup); \
|
69 |
|
|
for p in $$list; do echo "$$p $$p"; done | \
|
70 |
|
|
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
|
71 |
|
|
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
|
72 |
|
|
if (++n[$$2] == $(am__install_max)) \
|
73 |
|
|
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
|
74 |
|
|
END { for (dir in files) print dir, files[dir] }'
|
75 |
|
|
am__base_list = \
|
76 |
|
|
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
|
77 |
|
|
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
|
78 |
|
|
am__installdirs = "$(DESTDIR)$(toollibdir)" "$(DESTDIR)$(toollibdir)" \
|
79 |
|
|
"$(DESTDIR)$(toollibdir)"
|
80 |
|
|
LIBRARIES = $(toollib_LIBRARIES)
|
81 |
|
|
ARFLAGS = cru
|
82 |
|
|
libc_a_AR = $(AR) $(ARFLAGS)
|
83 |
|
|
libc_a_LIBADD =
|
84 |
|
|
libc_a_SOURCES = libc.c
|
85 |
|
|
libc_a_OBJECTS = libc.$(OBJEXT)
|
86 |
|
|
libm_a_AR = $(AR) $(ARFLAGS)
|
87 |
|
|
libm_a_LIBADD =
|
88 |
|
|
libm_a_SOURCES = libm.c
|
89 |
|
|
libm_a_OBJECTS = libm.$(OBJEXT)
|
90 |
|
|
LTLIBRARIES = $(toollib_LTLIBRARIES)
|
91 |
|
|
libc_la_LIBADD =
|
92 |
|
|
am_libc_la_OBJECTS =
|
93 |
|
|
libc_la_OBJECTS = $(am_libc_la_OBJECTS)
|
94 |
|
|
libc_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
95 |
|
|
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(libc_la_LDFLAGS) \
|
96 |
|
|
$(LDFLAGS) -o $@
|
97 |
|
|
@USE_LIBTOOL_TRUE@am_libc_la_rpath = -rpath $(toollibdir)
|
98 |
|
|
libm_la_LIBADD =
|
99 |
|
|
am_libm_la_OBJECTS =
|
100 |
|
|
libm_la_OBJECTS = $(am_libm_la_OBJECTS)
|
101 |
|
|
libm_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
102 |
|
|
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(libm_la_LDFLAGS) \
|
103 |
|
|
$(LDFLAGS) -o $@
|
104 |
|
|
@USE_LIBTOOL_TRUE@am_libm_la_rpath = -rpath $(toollibdir)
|
105 |
|
|
DEFAULT_INCLUDES = -I.@am__isrc@
|
106 |
|
|
depcomp =
|
107 |
|
|
am__depfiles_maybe =
|
108 |
|
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
109 |
|
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
110 |
|
|
LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
111 |
|
|
--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
112 |
|
|
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
113 |
|
|
CCLD = $(CC)
|
114 |
|
|
LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
115 |
|
|
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
|
116 |
|
|
$(LDFLAGS) -o $@
|
117 |
|
|
SOURCES = libc.c libm.c $(libc_la_SOURCES) $(libm_la_SOURCES)
|
118 |
|
|
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
|
119 |
|
|
html-recursive info-recursive install-data-recursive \
|
120 |
|
|
install-dvi-recursive install-exec-recursive \
|
121 |
|
|
install-html-recursive install-info-recursive \
|
122 |
|
|
install-pdf-recursive install-ps-recursive install-recursive \
|
123 |
|
|
installcheck-recursive installdirs-recursive pdf-recursive \
|
124 |
|
|
ps-recursive uninstall-recursive
|
125 |
|
|
DATA = $(noinst_DATA) $(toollib_DATA)
|
126 |
|
|
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
|
127 |
|
|
distclean-recursive maintainer-clean-recursive
|
128 |
|
|
AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
|
129 |
|
|
$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS
|
130 |
|
|
ETAGS = etags
|
131 |
|
|
CTAGS = ctags
|
132 |
|
|
DEJATOOL = $(PACKAGE)
|
133 |
|
|
RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir
|
134 |
|
|
EXPECT = `if test -f $(top_builddir)/../expect/expect; then \
|
135 |
|
|
echo $(top_builddir)/../expect/expect; \
|
136 |
|
|
else \
|
137 |
|
|
echo expect; \
|
138 |
|
|
fi`
|
139 |
|
|
RUNTEST = `if test -f $(top_srcdir)/../dejagnu/runtest; then \
|
140 |
|
|
echo $(top_srcdir)/../dejagnu/runtest; \
|
141 |
|
|
else \
|
142 |
|
|
echo runtest; \
|
143 |
|
|
fi`
|
144 |
|
|
DIST_SUBDIRS = libc libm doc . @EXTRA_DIRS@
|
145 |
|
|
ACLOCAL = @ACLOCAL@
|
146 |
|
|
AMTAR = @AMTAR@
|
147 |
|
|
AR = @AR@
|
148 |
|
|
AS = @AS@
|
149 |
|
|
AUTOCONF = @AUTOCONF@
|
150 |
|
|
AUTOHEADER = @AUTOHEADER@
|
151 |
|
|
AUTOMAKE = @AUTOMAKE@
|
152 |
|
|
AWK = @AWK@
|
153 |
|
|
CC = @CC@
|
154 |
|
|
CCAS = @CCAS@
|
155 |
|
|
CCASFLAGS = @CCASFLAGS@
|
156 |
|
|
CCDEPMODE = @CCDEPMODE@
|
157 |
|
|
CC_FOR_BUILD = @CC_FOR_BUILD@
|
158 |
|
|
CC_FOR_NEWLIB = @CC_FOR_NEWLIB@
|
159 |
|
|
CFLAGS = @CFLAGS@
|
160 |
|
|
CPP = @CPP@
|
161 |
|
|
CPPFLAGS = @CPPFLAGS@
|
162 |
|
|
CRT0 = @CRT0@
|
163 |
|
|
CRT0_DIR = @CRT0_DIR@
|
164 |
|
|
CRT1 = @CRT1@
|
165 |
|
|
CRT1_DIR = @CRT1_DIR@
|
166 |
|
|
CYGPATH_W = @CYGPATH_W@
|
167 |
|
|
DEFS = @DEFS@
|
168 |
|
|
DEPDIR = @DEPDIR@
|
169 |
|
|
DLLTOOL = @DLLTOOL@
|
170 |
|
|
DSYMUTIL = @DSYMUTIL@
|
171 |
|
|
DUMPBIN = @DUMPBIN@
|
172 |
|
|
ECHO_C = @ECHO_C@
|
173 |
|
|
ECHO_N = @ECHO_N@
|
174 |
|
|
ECHO_T = @ECHO_T@
|
175 |
|
|
EGREP = @EGREP@
|
176 |
|
|
EXEEXT = @EXEEXT@
|
177 |
|
|
EXTRA_DIRS = @EXTRA_DIRS@
|
178 |
|
|
FGREP = @FGREP@
|
179 |
|
|
GREP = @GREP@
|
180 |
|
|
INSTALL = @INSTALL@
|
181 |
|
|
INSTALL_DATA = @INSTALL_DATA@
|
182 |
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
183 |
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
184 |
|
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
185 |
|
|
LD = @LD@
|
186 |
|
|
LDFLAGS = @LDFLAGS@
|
187 |
|
|
LIBM_MACHINE_OBJECTLIST = @LIBM_MACHINE_OBJECTLIST@
|
188 |
|
|
LIBOBJS = @LIBOBJS@
|
189 |
|
|
LIBS = @LIBS@
|
190 |
|
|
LIBTOOL = @LIBTOOL@
|
191 |
|
|
LIPO = @LIPO@
|
192 |
|
|
LN_S = @LN_S@
|
193 |
|
|
LTLIBOBJS = @LTLIBOBJS@
|
194 |
|
|
MACHINE_OBJECTLIST = @MACHINE_OBJECTLIST@
|
195 |
|
|
MAINT = @MAINT@
|
196 |
|
|
MAKEINFO = @MAKEINFO@
|
197 |
|
|
MKDIR_P = @MKDIR_P@
|
198 |
|
|
NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
|
199 |
|
|
NM = @NM@
|
200 |
|
|
NMEDIT = @NMEDIT@
|
201 |
|
|
OBJDUMP = @OBJDUMP@
|
202 |
|
|
OBJEXT = @OBJEXT@
|
203 |
|
|
OTOOL = @OTOOL@
|
204 |
|
|
OTOOL64 = @OTOOL64@
|
205 |
|
|
PACKAGE = @PACKAGE@
|
206 |
|
|
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
207 |
|
|
PACKAGE_NAME = @PACKAGE_NAME@
|
208 |
|
|
PACKAGE_STRING = @PACKAGE_STRING@
|
209 |
|
|
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
210 |
|
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
211 |
|
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
212 |
|
|
POSIX_OBJECTLIST = @POSIX_OBJECTLIST@
|
213 |
|
|
RANLIB = @RANLIB@
|
214 |
|
|
READELF = @READELF@
|
215 |
|
|
SED = @SED@
|
216 |
|
|
SET_MAKE = @SET_MAKE@
|
217 |
|
|
SHELL = @SHELL@
|
218 |
|
|
SIGNAL_OBJECTLIST = @SIGNAL_OBJECTLIST@
|
219 |
|
|
STDIO64_OBJECTLIST = @STDIO64_OBJECTLIST@
|
220 |
|
|
STRIP = @STRIP@
|
221 |
|
|
SYSCALL_OBJECTLIST = @SYSCALL_OBJECTLIST@
|
222 |
|
|
SYS_MACH_OBJECTLIST = @SYS_MACH_OBJECTLIST@
|
223 |
|
|
SYS_OBJECTLIST = @SYS_OBJECTLIST@
|
224 |
|
|
UNIX_OBJECTLIST = @UNIX_OBJECTLIST@
|
225 |
|
|
VERSION = @VERSION@
|
226 |
|
|
abs_builddir = @abs_builddir@
|
227 |
|
|
abs_srcdir = @abs_srcdir@
|
228 |
|
|
abs_top_builddir = @abs_top_builddir@
|
229 |
|
|
abs_top_srcdir = @abs_top_srcdir@
|
230 |
|
|
ac_ct_CC = @ac_ct_CC@
|
231 |
|
|
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
232 |
|
|
aext = @aext@
|
233 |
|
|
am__include = @am__include@
|
234 |
|
|
am__leading_dot = @am__leading_dot@
|
235 |
|
|
am__quote = @am__quote@
|
236 |
|
|
am__tar = @am__tar@
|
237 |
|
|
am__untar = @am__untar@
|
238 |
|
|
bindir = @bindir@
|
239 |
|
|
build = @build@
|
240 |
|
|
build_alias = @build_alias@
|
241 |
|
|
build_cpu = @build_cpu@
|
242 |
|
|
build_os = @build_os@
|
243 |
|
|
build_vendor = @build_vendor@
|
244 |
|
|
builddir = @builddir@
|
245 |
|
|
datadir = @datadir@
|
246 |
|
|
datarootdir = @datarootdir@
|
247 |
|
|
docdir = @docdir@
|
248 |
|
|
dvidir = @dvidir@
|
249 |
|
|
exec_prefix = @exec_prefix@
|
250 |
|
|
host = @host@
|
251 |
|
|
host_alias = @host_alias@
|
252 |
|
|
host_cpu = @host_cpu@
|
253 |
|
|
host_os = @host_os@
|
254 |
|
|
host_vendor = @host_vendor@
|
255 |
|
|
htmldir = @htmldir@
|
256 |
|
|
includedir = @includedir@
|
257 |
|
|
infodir = @infodir@
|
258 |
|
|
install_sh = @install_sh@
|
259 |
|
|
libc_cv_initfinit_array = @libc_cv_initfinit_array@
|
260 |
|
|
libdir = @libdir@
|
261 |
|
|
libexecdir = @libexecdir@
|
262 |
|
|
libm_machine_dir = @libm_machine_dir@
|
263 |
|
|
localedir = @localedir@
|
264 |
|
|
localstatedir = @localstatedir@
|
265 |
|
|
lpfx = @lpfx@
|
266 |
|
|
lt_ECHO = @lt_ECHO@
|
267 |
|
|
machine_dir = @machine_dir@
|
268 |
|
|
mandir = @mandir@
|
269 |
|
|
mkdir_p = @mkdir_p@
|
270 |
|
|
newlib_basedir = @newlib_basedir@
|
271 |
|
|
oext = @oext@
|
272 |
|
|
oldincludedir = @oldincludedir@
|
273 |
|
|
pdfdir = @pdfdir@
|
274 |
|
|
prefix = @prefix@
|
275 |
|
|
program_transform_name = @program_transform_name@
|
276 |
|
|
psdir = @psdir@
|
277 |
|
|
sbindir = @sbindir@
|
278 |
|
|
sharedstatedir = @sharedstatedir@
|
279 |
|
|
srcdir = @srcdir@
|
280 |
|
|
subdirs = @subdirs@
|
281 |
|
|
sys_dir = @sys_dir@
|
282 |
|
|
sysconfdir = @sysconfdir@
|
283 |
|
|
target_alias = @target_alias@
|
284 |
|
|
top_build_prefix = @top_build_prefix@
|
285 |
|
|
top_builddir = @top_builddir@
|
286 |
|
|
top_srcdir = @top_srcdir@
|
287 |
|
|
AUTOMAKE_OPTIONS = cygnus dejagnu
|
288 |
|
|
ACLOCAL_AMFLAGS = -I . -I ..
|
289 |
|
|
|
290 |
|
|
# Multilib support variables.
|
291 |
|
|
MULTISRCTOP =
|
292 |
|
|
MULTIBUILDTOP =
|
293 |
|
|
MULTIDIRS =
|
294 |
|
|
MULTISUBDIR =
|
295 |
|
|
MULTIDO = true
|
296 |
|
|
MULTICLEAN = true
|
297 |
|
|
LIBTOOL_VERSION_INFO = 0:0:0
|
298 |
|
|
@NEWLIB_HW_FP_FALSE@MATHDIR = math
|
299 |
|
|
@NEWLIB_HW_FP_TRUE@MATHDIR = mathfp
|
300 |
|
|
|
301 |
|
|
# Work around what appears to be a GNU make bug handling MAKEFLAGS
|
302 |
|
|
# values defined in terms of make variables, as is the case for CC and
|
303 |
|
|
# friends when we are called from the top level Makefile.
|
304 |
|
|
AM_MAKEFLAGS = \
|
305 |
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
306 |
|
|
"CC_FOR_BUILD=$(CC_FOR_BUILD)" \
|
307 |
|
|
"CFLAGS=$(CFLAGS)" \
|
308 |
|
|
"CCASFLAGS=$(CCASFLAGS)" \
|
309 |
|
|
"CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
|
310 |
|
|
"CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
|
311 |
|
|
"INSTALL=$(INSTALL)" \
|
312 |
|
|
"LDFLAGS=$(LDFLAGS)" \
|
313 |
|
|
"LIBCFLAGS=$(LIBCFLAGS)" \
|
314 |
|
|
"LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
|
315 |
|
|
"MAKE=$(MAKE)" \
|
316 |
|
|
"MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
|
317 |
|
|
"PICFLAG=$(PICFLAG)" \
|
318 |
|
|
"PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
|
319 |
|
|
"SHELL=$(SHELL)" \
|
320 |
|
|
"EXPECT=$(EXPECT)" \
|
321 |
|
|
"RUNTEST=$(RUNTEST)" \
|
322 |
|
|
"RUNTESTFLAGS=$(RUNTESTFLAGS)" \
|
323 |
|
|
"exec_prefix=$(exec_prefix)" \
|
324 |
|
|
"infodir=$(infodir)" \
|
325 |
|
|
"libdir=$(libdir)" \
|
326 |
|
|
"prefix=$(prefix)" \
|
327 |
|
|
"tooldir=$(tooldir)" \
|
328 |
|
|
"top_toollibdir=$(toollibdir)" \
|
329 |
|
|
"AR=$(AR)" \
|
330 |
|
|
"AS=$(AS)" \
|
331 |
|
|
"CC=$(CC_FOR_NEWLIB)" \
|
332 |
|
|
"LD=$(LD)" \
|
333 |
|
|
"LIBCFLAGS=$(LIBCFLAGS)" \
|
334 |
|
|
"NM=$(NM)" \
|
335 |
|
|
"PICFLAG=$(PICFLAG)" \
|
336 |
|
|
"RANLIB=$(RANLIB)" \
|
337 |
|
|
"DESTDIR=$(DESTDIR)"
|
338 |
|
|
|
339 |
|
|
FLAGS_TO_PASS = $(AM_MAKEFLAGS)
|
340 |
|
|
@HAVE_DOC_FALSE@DOCDIR =
|
341 |
|
|
@HAVE_DOC_TRUE@DOCDIR = doc
|
342 |
|
|
SUBDIRS = libc libm \
|
343 |
|
|
$(DOCDIR) . $(EXTRA_DIRS)
|
344 |
|
|
|
345 |
|
|
tooldir = $(exec_prefix)/$(host_alias)
|
346 |
|
|
toollibdir = $(tooldir)/lib$(MULTISUBDIR)
|
347 |
|
|
AR_FLAGS = rc
|
348 |
|
|
@USE_LIBTOOL_TRUE@toollib_LTLIBRARIES = libm.la \
|
349 |
|
|
@USE_LIBTOOL_TRUE@ libc.la
|
350 |
|
|
|
351 |
|
|
@USE_LIBTOOL_FALSE@toollib_LIBRARIES = libm.a \
|
352 |
|
|
@USE_LIBTOOL_FALSE@ libc.a
|
353 |
|
|
|
354 |
|
|
noinst_DATA = stmp-targ-include
|
355 |
|
|
toollib_DATA = $(CRT0) $(CRT1)
|
356 |
|
|
|
357 |
|
|
# The functions ldexp, frexp and modf are traditionally supplied in
|
358 |
|
|
# both libc.a and libm.a. We build them in libm.a and copy them over,
|
359 |
|
|
# along with some required supporting routines.
|
360 |
|
|
MATHOBJS_IN_LIBC = \
|
361 |
|
|
$(lpfx)s_fpclassify.$(oext) $(lpfx)sf_fpclassify.$(oext) \
|
362 |
|
|
$(lpfx)s_isinf.$(oext) $(lpfx)sf_isinf.$(oext) \
|
363 |
|
|
$(lpfx)s_isnan.$(oext) $(lpfx)sf_isnan.$(oext) \
|
364 |
|
|
$(lpfx)s_isinfd.$(oext) $(lpfx)sf_isinff.$(oext) \
|
365 |
|
|
$(lpfx)s_isnand.$(oext) $(lpfx)sf_isnanf.$(oext) \
|
366 |
|
|
$(lpfx)s_nan.$(oext) $(lpfx)sf_nan.$(oext) \
|
367 |
|
|
$(lpfx)s_ldexp.$(oext) $(lpfx)sf_ldexp.$(oext) \
|
368 |
|
|
$(lpfx)s_frexp.$(oext) $(lpfx)sf_frexp.$(oext) \
|
369 |
|
|
$(lpfx)s_modf.$(oext) \
|
370 |
|
|
$(lpfx)sf_modf.$(oext) $(lpfx)s_scalbn.$(oext) \
|
371 |
|
|
$(lpfx)sf_scalbn.$(oext) \
|
372 |
|
|
$(lpfx)s_finite.$(oext) $(lpfx)sf_finite.$(oext) \
|
373 |
|
|
$(lpfx)s_copysign.$(oext) $(lpfx)sf_copysign.$(oext) \
|
374 |
|
|
$(lpfx)s_infconst.$(oext)
|
375 |
|
|
|
376 |
|
|
LIBC_OBJECTLISTS = \
|
377 |
|
|
$(POSIX_OBJECTLIST) \
|
378 |
|
|
$(SIGNAL_OBJECTLIST) \
|
379 |
|
|
$(SYSCALL_OBJECTLIST) \
|
380 |
|
|
$(UNIX_OBJECTLIST) \
|
381 |
|
|
$(STDIO64_OBJECTLIST) \
|
382 |
|
|
libc/argz/objectlist.awk.in \
|
383 |
|
|
libc/stdlib/objectlist.awk.in \
|
384 |
|
|
libc/time/objectlist.awk.in \
|
385 |
|
|
libc/ctype/objectlist.awk.in \
|
386 |
|
|
libc/search/objectlist.awk.in \
|
387 |
|
|
libc/string/objectlist.awk.in \
|
388 |
|
|
libc/locale/objectlist.awk.in \
|
389 |
|
|
libc/misc/objectlist.awk.in \
|
390 |
|
|
libc/reent/objectlist.awk.in \
|
391 |
|
|
libc/errno/objectlist.awk.in \
|
392 |
|
|
libc/stdio/objectlist.awk.in \
|
393 |
|
|
$(MACHINE_OBJECTLIST) \
|
394 |
|
|
$(SYS_OBJECTLIST) \
|
395 |
|
|
$(SYS_MACH_OBJECTLIST)
|
396 |
|
|
|
397 |
|
|
LIBM_OBJECTLISTS = \
|
398 |
|
|
libm/$(MATHDIR)/objectlist.awk.in \
|
399 |
|
|
libm/common/objectlist.awk.in \
|
400 |
|
|
$(LIBM_MACHINE_OBJECTLIST)
|
401 |
|
|
|
402 |
|
|
libm_la_LDFLAGS = -version-info $(LIBTOOL_VERSION_INFO) -release newlib -no-undefined -Xcompiler -nostdlib -Xlinker --version-script=$(srcdir)/libc/sys/linux/shared.ld -lgcc -objectlist libm-libtool-objectlist
|
403 |
|
|
libc_la_LDFLAGS = -version-info $(LIBTOOL_VERSION_INFO) -release newlib -no-undefined -Xcompiler -nostdlib -Xlinker --version-script=$(srcdir)/libc/sys/linux/shared.ld -lgcc -objectlist libc-libtool-objectlist
|
404 |
|
|
@USE_LIBTOOL_TRUE@libm_la_SOURCES =
|
405 |
|
|
@USE_LIBTOOL_TRUE@libm_la_DEPENDENCIES = libm-libtool-objectlist
|
406 |
|
|
@USE_LIBTOOL_TRUE@libc_la_SOURCES =
|
407 |
|
|
@USE_LIBTOOL_TRUE@libc_la_DEPENDENCIES = libc-libtool-objectlist
|
408 |
|
|
CLEANFILES = targ-include stmp-targ-include
|
409 |
|
|
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
|
410 |
|
|
MAKEOVERRIDES =
|
411 |
|
|
|
412 |
|
|
# dejagnu support
|
413 |
|
|
RUNTESTFLAGS =
|
414 |
|
|
all: newlib.h
|
415 |
|
|
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
416 |
|
|
|
417 |
|
|
.SUFFIXES:
|
418 |
|
|
.SUFFIXES: .c .lo .o .obj
|
419 |
|
|
am--refresh:
|
420 |
|
|
@:
|
421 |
|
|
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
|
422 |
|
|
@for dep in $?; do \
|
423 |
|
|
case '$(am__configure_deps)' in \
|
424 |
|
|
*$$dep*) \
|
425 |
|
|
echo ' cd $(srcdir) && $(AUTOMAKE) --cygnus'; \
|
426 |
|
|
$(am__cd) $(srcdir) && $(AUTOMAKE) --cygnus \
|
427 |
|
|
&& exit 0; \
|
428 |
|
|
exit 1;; \
|
429 |
|
|
esac; \
|
430 |
|
|
done; \
|
431 |
|
|
echo ' cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile'; \
|
432 |
|
|
$(am__cd) $(top_srcdir) && \
|
433 |
|
|
$(AUTOMAKE) --cygnus Makefile
|
434 |
|
|
.PRECIOUS: Makefile
|
435 |
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
436 |
|
|
@case '$?' in \
|
437 |
|
|
*config.status*) \
|
438 |
|
|
echo ' $(SHELL) ./config.status'; \
|
439 |
|
|
$(SHELL) ./config.status;; \
|
440 |
|
|
*) \
|
441 |
|
|
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
|
442 |
|
|
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
|
443 |
|
|
esac;
|
444 |
|
|
|
445 |
|
|
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
446 |
|
|
$(SHELL) ./config.status --recheck
|
447 |
|
|
|
448 |
|
|
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
|
449 |
|
|
$(am__cd) $(srcdir) && $(AUTOCONF)
|
450 |
|
|
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
|
451 |
|
|
$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
452 |
|
|
$(am__aclocal_m4_deps):
|
453 |
|
|
|
454 |
|
|
newlib.h: stamp-h1
|
455 |
|
|
@if test ! -f $@; then \
|
456 |
|
|
rm -f stamp-h1; \
|
457 |
|
|
$(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
|
458 |
|
|
else :; fi
|
459 |
|
|
|
460 |
|
|
stamp-h1: $(srcdir)/newlib.hin $(top_builddir)/config.status
|
461 |
|
|
@rm -f stamp-h1
|
462 |
|
|
cd $(top_builddir) && $(SHELL) ./config.status newlib.h
|
463 |
|
|
|
464 |
|
|
distclean-hdr:
|
465 |
|
|
-rm -f newlib.h stamp-h1
|
466 |
|
|
install-toollibLIBRARIES: $(toollib_LIBRARIES)
|
467 |
|
|
@$(NORMAL_INSTALL)
|
468 |
|
|
test -z "$(toollibdir)" || $(MKDIR_P) "$(DESTDIR)$(toollibdir)"
|
469 |
|
|
@list='$(toollib_LIBRARIES)'; test -n "$(toollibdir)" || list=; \
|
470 |
|
|
list2=; for p in $$list; do \
|
471 |
|
|
if test -f $$p; then \
|
472 |
|
|
list2="$$list2 $$p"; \
|
473 |
|
|
else :; fi; \
|
474 |
|
|
done; \
|
475 |
|
|
test -z "$$list2" || { \
|
476 |
|
|
echo " $(INSTALL_DATA) $$list2 '$(DESTDIR)$(toollibdir)'"; \
|
477 |
|
|
$(INSTALL_DATA) $$list2 "$(DESTDIR)$(toollibdir)" || exit $$?; }
|
478 |
|
|
@$(POST_INSTALL)
|
479 |
|
|
@list='$(toollib_LIBRARIES)'; test -n "$(toollibdir)" || list=; \
|
480 |
|
|
for p in $$list; do \
|
481 |
|
|
if test -f $$p; then \
|
482 |
|
|
$(am__strip_dir) \
|
483 |
|
|
echo " ( cd '$(DESTDIR)$(toollibdir)' && $(RANLIB) $$f )"; \
|
484 |
|
|
( cd "$(DESTDIR)$(toollibdir)" && $(RANLIB) $$f ) || exit $$?; \
|
485 |
|
|
else :; fi; \
|
486 |
|
|
done
|
487 |
|
|
|
488 |
|
|
uninstall-toollibLIBRARIES:
|
489 |
|
|
@$(NORMAL_UNINSTALL)
|
490 |
|
|
@list='$(toollib_LIBRARIES)'; test -n "$(toollibdir)" || list=; \
|
491 |
|
|
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
|
492 |
|
|
test -n "$$files" || exit 0; \
|
493 |
|
|
echo " ( cd '$(DESTDIR)$(toollibdir)' && rm -f "$$files" )"; \
|
494 |
|
|
cd "$(DESTDIR)$(toollibdir)" && rm -f $$files
|
495 |
|
|
|
496 |
|
|
clean-toollibLIBRARIES:
|
497 |
|
|
-test -z "$(toollib_LIBRARIES)" || rm -f $(toollib_LIBRARIES)
|
498 |
|
|
@USE_LIBTOOL_TRUE@libc.a: $(libc_a_OBJECTS) $(libc_a_DEPENDENCIES)
|
499 |
|
|
@USE_LIBTOOL_TRUE@ -rm -f libc.a
|
500 |
|
|
@USE_LIBTOOL_TRUE@ $(libc_a_AR) libc.a $(libc_a_OBJECTS) $(libc_a_LIBADD)
|
501 |
|
|
@USE_LIBTOOL_TRUE@ $(RANLIB) libc.a
|
502 |
|
|
@USE_LIBTOOL_TRUE@libm.a: $(libm_a_OBJECTS) $(libm_a_DEPENDENCIES)
|
503 |
|
|
@USE_LIBTOOL_TRUE@ -rm -f libm.a
|
504 |
|
|
@USE_LIBTOOL_TRUE@ $(libm_a_AR) libm.a $(libm_a_OBJECTS) $(libm_a_LIBADD)
|
505 |
|
|
@USE_LIBTOOL_TRUE@ $(RANLIB) libm.a
|
506 |
|
|
install-toollibLTLIBRARIES: $(toollib_LTLIBRARIES)
|
507 |
|
|
@$(NORMAL_INSTALL)
|
508 |
|
|
test -z "$(toollibdir)" || $(MKDIR_P) "$(DESTDIR)$(toollibdir)"
|
509 |
|
|
@list='$(toollib_LTLIBRARIES)'; test -n "$(toollibdir)" || list=; \
|
510 |
|
|
list2=; for p in $$list; do \
|
511 |
|
|
if test -f $$p; then \
|
512 |
|
|
list2="$$list2 $$p"; \
|
513 |
|
|
else :; fi; \
|
514 |
|
|
done; \
|
515 |
|
|
test -z "$$list2" || { \
|
516 |
|
|
echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(toollibdir)'"; \
|
517 |
|
|
$(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(toollibdir)"; \
|
518 |
|
|
}
|
519 |
|
|
|
520 |
|
|
uninstall-toollibLTLIBRARIES:
|
521 |
|
|
@$(NORMAL_UNINSTALL)
|
522 |
|
|
@list='$(toollib_LTLIBRARIES)'; test -n "$(toollibdir)" || list=; \
|
523 |
|
|
for p in $$list; do \
|
524 |
|
|
$(am__strip_dir) \
|
525 |
|
|
echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(toollibdir)/$$f'"; \
|
526 |
|
|
$(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(toollibdir)/$$f"; \
|
527 |
|
|
done
|
528 |
|
|
|
529 |
|
|
clean-toollibLTLIBRARIES:
|
530 |
|
|
-test -z "$(toollib_LTLIBRARIES)" || rm -f $(toollib_LTLIBRARIES)
|
531 |
|
|
@list='$(toollib_LTLIBRARIES)'; for p in $$list; do \
|
532 |
|
|
dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
|
533 |
|
|
test "$$dir" != "$$p" || dir=.; \
|
534 |
|
|
echo "rm -f \"$${dir}/so_locations\""; \
|
535 |
|
|
rm -f "$${dir}/so_locations"; \
|
536 |
|
|
done
|
537 |
|
|
libc.la: $(libc_la_OBJECTS) $(libc_la_DEPENDENCIES)
|
538 |
|
|
$(libc_la_LINK) $(am_libc_la_rpath) $(libc_la_OBJECTS) $(libc_la_LIBADD) $(LIBS)
|
539 |
|
|
libm.la: $(libm_la_OBJECTS) $(libm_la_DEPENDENCIES)
|
540 |
|
|
$(libm_la_LINK) $(am_libm_la_rpath) $(libm_la_OBJECTS) $(libm_la_LIBADD) $(LIBS)
|
541 |
|
|
|
542 |
|
|
mostlyclean-compile:
|
543 |
|
|
-rm -f *.$(OBJEXT)
|
544 |
|
|
|
545 |
|
|
distclean-compile:
|
546 |
|
|
-rm -f *.tab.c
|
547 |
|
|
|
548 |
|
|
.c.o:
|
549 |
|
|
$(COMPILE) -c $<
|
550 |
|
|
|
551 |
|
|
.c.obj:
|
552 |
|
|
$(COMPILE) -c `$(CYGPATH_W) '$<'`
|
553 |
|
|
|
554 |
|
|
.c.lo:
|
555 |
|
|
$(LTCOMPILE) -c -o $@ $<
|
556 |
|
|
|
557 |
|
|
mostlyclean-libtool:
|
558 |
|
|
-rm -f *.lo
|
559 |
|
|
|
560 |
|
|
clean-libtool:
|
561 |
|
|
-rm -rf .libs _libs
|
562 |
|
|
|
563 |
|
|
distclean-libtool:
|
564 |
|
|
-rm -f libtool config.lt
|
565 |
|
|
install-toollibDATA: $(toollib_DATA)
|
566 |
|
|
@$(NORMAL_INSTALL)
|
567 |
|
|
test -z "$(toollibdir)" || $(MKDIR_P) "$(DESTDIR)$(toollibdir)"
|
568 |
|
|
@list='$(toollib_DATA)'; test -n "$(toollibdir)" || list=; \
|
569 |
|
|
for p in $$list; do \
|
570 |
|
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
571 |
|
|
echo "$$d$$p"; \
|
572 |
|
|
done | $(am__base_list) | \
|
573 |
|
|
while read files; do \
|
574 |
|
|
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toollibdir)'"; \
|
575 |
|
|
$(INSTALL_DATA) $$files "$(DESTDIR)$(toollibdir)" || exit $$?; \
|
576 |
|
|
done
|
577 |
|
|
|
578 |
|
|
uninstall-toollibDATA:
|
579 |
|
|
@$(NORMAL_UNINSTALL)
|
580 |
|
|
@list='$(toollib_DATA)'; test -n "$(toollibdir)" || list=; \
|
581 |
|
|
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
|
582 |
|
|
test -n "$$files" || exit 0; \
|
583 |
|
|
echo " ( cd '$(DESTDIR)$(toollibdir)' && rm -f" $$files ")"; \
|
584 |
|
|
cd "$(DESTDIR)$(toollibdir)" && rm -f $$files
|
585 |
|
|
|
586 |
|
|
# This directory's subdirectories are mostly independent; you can cd
|
587 |
|
|
# into them and run `make' without going through this Makefile.
|
588 |
|
|
# To change the values of `make' variables: instead of editing Makefiles,
|
589 |
|
|
# (1) if the variable is set in `config.status', edit `config.status'
|
590 |
|
|
# (which will cause the Makefiles to be regenerated when you run `make');
|
591 |
|
|
# (2) otherwise, pass the desired values on the `make' command line.
|
592 |
|
|
$(RECURSIVE_TARGETS):
|
593 |
|
|
@failcom='exit 1'; \
|
594 |
|
|
for f in x $$MAKEFLAGS; do \
|
595 |
|
|
case $$f in \
|
596 |
|
|
*=* | --[!k]*);; \
|
597 |
|
|
*k*) failcom='fail=yes';; \
|
598 |
|
|
esac; \
|
599 |
|
|
done; \
|
600 |
|
|
dot_seen=no; \
|
601 |
|
|
target=`echo $@ | sed s/-recursive//`; \
|
602 |
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
603 |
|
|
echo "Making $$target in $$subdir"; \
|
604 |
|
|
if test "$$subdir" = "."; then \
|
605 |
|
|
dot_seen=yes; \
|
606 |
|
|
local_target="$$target-am"; \
|
607 |
|
|
else \
|
608 |
|
|
local_target="$$target"; \
|
609 |
|
|
fi; \
|
610 |
|
|
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
611 |
|
|
|| eval $$failcom; \
|
612 |
|
|
done; \
|
613 |
|
|
if test "$$dot_seen" = "no"; then \
|
614 |
|
|
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
615 |
|
|
fi; test -z "$$fail"
|
616 |
|
|
|
617 |
|
|
$(RECURSIVE_CLEAN_TARGETS):
|
618 |
|
|
@failcom='exit 1'; \
|
619 |
|
|
for f in x $$MAKEFLAGS; do \
|
620 |
|
|
case $$f in \
|
621 |
|
|
*=* | --[!k]*);; \
|
622 |
|
|
*k*) failcom='fail=yes';; \
|
623 |
|
|
esac; \
|
624 |
|
|
done; \
|
625 |
|
|
dot_seen=no; \
|
626 |
|
|
case "$@" in \
|
627 |
|
|
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
628 |
|
|
*) list='$(SUBDIRS)' ;; \
|
629 |
|
|
esac; \
|
630 |
|
|
rev=''; for subdir in $$list; do \
|
631 |
|
|
if test "$$subdir" = "."; then :; else \
|
632 |
|
|
rev="$$subdir $$rev"; \
|
633 |
|
|
fi; \
|
634 |
|
|
done; \
|
635 |
|
|
rev="$$rev ."; \
|
636 |
|
|
target=`echo $@ | sed s/-recursive//`; \
|
637 |
|
|
for subdir in $$rev; do \
|
638 |
|
|
echo "Making $$target in $$subdir"; \
|
639 |
|
|
if test "$$subdir" = "."; then \
|
640 |
|
|
local_target="$$target-am"; \
|
641 |
|
|
else \
|
642 |
|
|
local_target="$$target"; \
|
643 |
|
|
fi; \
|
644 |
|
|
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
645 |
|
|
|| eval $$failcom; \
|
646 |
|
|
done && test -z "$$fail"
|
647 |
|
|
tags-recursive:
|
648 |
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
649 |
|
|
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
650 |
|
|
done
|
651 |
|
|
ctags-recursive:
|
652 |
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
653 |
|
|
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
654 |
|
|
done
|
655 |
|
|
|
656 |
|
|
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
657 |
|
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
658 |
|
|
unique=`for i in $$list; do \
|
659 |
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
660 |
|
|
done | \
|
661 |
|
|
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
662 |
|
|
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
663 |
|
|
mkid -fID $$unique
|
664 |
|
|
tags: TAGS
|
665 |
|
|
|
666 |
|
|
TAGS: tags-recursive $(HEADERS) $(SOURCES) newlib.hin $(TAGS_DEPENDENCIES) \
|
667 |
|
|
$(TAGS_FILES) $(LISP)
|
668 |
|
|
set x; \
|
669 |
|
|
here=`pwd`; \
|
670 |
|
|
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
671 |
|
|
include_option=--etags-include; \
|
672 |
|
|
empty_fix=.; \
|
673 |
|
|
else \
|
674 |
|
|
include_option=--include; \
|
675 |
|
|
empty_fix=; \
|
676 |
|
|
fi; \
|
677 |
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
678 |
|
|
if test "$$subdir" = .; then :; else \
|
679 |
|
|
test ! -f $$subdir/TAGS || \
|
680 |
|
|
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
|
681 |
|
|
fi; \
|
682 |
|
|
done; \
|
683 |
|
|
list='$(SOURCES) $(HEADERS) newlib.hin $(LISP) $(TAGS_FILES)'; \
|
684 |
|
|
unique=`for i in $$list; do \
|
685 |
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
686 |
|
|
done | \
|
687 |
|
|
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
688 |
|
|
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
689 |
|
|
shift; \
|
690 |
|
|
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
691 |
|
|
test -n "$$unique" || unique=$$empty_fix; \
|
692 |
|
|
if test $$# -gt 0; then \
|
693 |
|
|
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
694 |
|
|
"$$@" $$unique; \
|
695 |
|
|
else \
|
696 |
|
|
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
697 |
|
|
$$unique; \
|
698 |
|
|
fi; \
|
699 |
|
|
fi
|
700 |
|
|
ctags: CTAGS
|
701 |
|
|
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) newlib.hin $(TAGS_DEPENDENCIES) \
|
702 |
|
|
$(TAGS_FILES) $(LISP)
|
703 |
|
|
list='$(SOURCES) $(HEADERS) newlib.hin $(LISP) $(TAGS_FILES)'; \
|
704 |
|
|
unique=`for i in $$list; do \
|
705 |
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
706 |
|
|
done | \
|
707 |
|
|
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
708 |
|
|
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
709 |
|
|
test -z "$(CTAGS_ARGS)$$unique" \
|
710 |
|
|
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
711 |
|
|
$$unique
|
712 |
|
|
|
713 |
|
|
GTAGS:
|
714 |
|
|
here=`$(am__cd) $(top_builddir) && pwd` \
|
715 |
|
|
&& $(am__cd) $(top_srcdir) \
|
716 |
|
|
&& gtags -i $(GTAGS_ARGS) "$$here"
|
717 |
|
|
|
718 |
|
|
distclean-tags:
|
719 |
|
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
720 |
|
|
|
721 |
|
|
distclean-DEJAGNU:
|
722 |
|
|
-rm -f site.exp site.bak
|
723 |
|
|
-l='$(DEJATOOL)'; for tool in $$l; do \
|
724 |
|
|
rm -f $$tool.sum $$tool.log; \
|
725 |
|
|
done
|
726 |
|
|
check-am:
|
727 |
|
|
$(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
|
728 |
|
|
check: check-recursive
|
729 |
|
|
all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(DATA) newlib.h
|
730 |
|
|
installdirs: installdirs-recursive
|
731 |
|
|
installdirs-am:
|
732 |
|
|
for dir in "$(DESTDIR)$(toollibdir)" "$(DESTDIR)$(toollibdir)" "$(DESTDIR)$(toollibdir)"; do \
|
733 |
|
|
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
|
734 |
|
|
done
|
735 |
|
|
install: install-recursive
|
736 |
|
|
install-exec: install-exec-recursive
|
737 |
|
|
install-data: install-data-recursive
|
738 |
|
|
uninstall: uninstall-recursive
|
739 |
|
|
|
740 |
|
|
install-am: all-am
|
741 |
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
742 |
|
|
|
743 |
|
|
installcheck: installcheck-recursive
|
744 |
|
|
install-strip:
|
745 |
|
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
746 |
|
|
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
747 |
|
|
`test -z '$(STRIP)' || \
|
748 |
|
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
749 |
|
|
mostlyclean-generic:
|
750 |
|
|
|
751 |
|
|
clean-generic:
|
752 |
|
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
753 |
|
|
|
754 |
|
|
distclean-generic:
|
755 |
|
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
756 |
|
|
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
757 |
|
|
|
758 |
|
|
maintainer-clean-generic:
|
759 |
|
|
@echo "This command is intended for maintainers to use"
|
760 |
|
|
@echo "it deletes files that may require special tools to rebuild."
|
761 |
|
|
clean: clean-recursive
|
762 |
|
|
|
763 |
|
|
clean-am: clean-generic clean-libtool clean-toollibLIBRARIES \
|
764 |
|
|
clean-toollibLTLIBRARIES mostlyclean-am
|
765 |
|
|
|
766 |
|
|
distclean: distclean-recursive
|
767 |
|
|
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
768 |
|
|
-rm -f Makefile
|
769 |
|
|
distclean-am: clean-am distclean-DEJAGNU distclean-compile \
|
770 |
|
|
distclean-generic distclean-hdr distclean-libtool \
|
771 |
|
|
distclean-tags
|
772 |
|
|
|
773 |
|
|
dvi: dvi-recursive
|
774 |
|
|
|
775 |
|
|
dvi-am:
|
776 |
|
|
|
777 |
|
|
html: html-recursive
|
778 |
|
|
|
779 |
|
|
html-am:
|
780 |
|
|
|
781 |
|
|
info: info-recursive
|
782 |
|
|
|
783 |
|
|
info-am:
|
784 |
|
|
|
785 |
|
|
install-data-am: install-data-local install-toollibDATA \
|
786 |
|
|
install-toollibLIBRARIES install-toollibLTLIBRARIES
|
787 |
|
|
|
788 |
|
|
install-dvi: install-dvi-recursive
|
789 |
|
|
|
790 |
|
|
install-dvi-am:
|
791 |
|
|
|
792 |
|
|
install-exec-am:
|
793 |
|
|
|
794 |
|
|
install-html: install-html-recursive
|
795 |
|
|
|
796 |
|
|
install-html-am:
|
797 |
|
|
|
798 |
|
|
install-info: install-info-recursive
|
799 |
|
|
|
800 |
|
|
install-info-am:
|
801 |
|
|
|
802 |
|
|
install-man:
|
803 |
|
|
|
804 |
|
|
install-pdf: install-pdf-recursive
|
805 |
|
|
|
806 |
|
|
install-pdf-am:
|
807 |
|
|
|
808 |
|
|
install-ps: install-ps-recursive
|
809 |
|
|
|
810 |
|
|
install-ps-am:
|
811 |
|
|
|
812 |
|
|
installcheck-am:
|
813 |
|
|
|
814 |
|
|
maintainer-clean: maintainer-clean-recursive
|
815 |
|
|
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
816 |
|
|
-rm -rf $(top_srcdir)/autom4te.cache
|
817 |
|
|
-rm -f Makefile
|
818 |
|
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
819 |
|
|
|
820 |
|
|
mostlyclean: mostlyclean-recursive
|
821 |
|
|
|
822 |
|
|
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
823 |
|
|
mostlyclean-libtool
|
824 |
|
|
|
825 |
|
|
pdf: pdf-recursive
|
826 |
|
|
|
827 |
|
|
pdf-am:
|
828 |
|
|
|
829 |
|
|
ps: ps-recursive
|
830 |
|
|
|
831 |
|
|
ps-am:
|
832 |
|
|
|
833 |
|
|
uninstall-am: uninstall-toollibDATA uninstall-toollibLIBRARIES \
|
834 |
|
|
uninstall-toollibLTLIBRARIES
|
835 |
|
|
|
836 |
|
|
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check-am \
|
837 |
|
|
ctags-recursive install-am install-strip tags-recursive
|
838 |
|
|
|
839 |
|
|
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
|
840 |
|
|
all all-am am--refresh check check-DEJAGNU check-am clean \
|
841 |
|
|
clean-generic clean-libtool clean-toollibLIBRARIES \
|
842 |
|
|
clean-toollibLTLIBRARIES ctags ctags-recursive distclean \
|
843 |
|
|
distclean-DEJAGNU distclean-compile distclean-generic \
|
844 |
|
|
distclean-hdr distclean-libtool distclean-tags dvi dvi-am html \
|
845 |
|
|
html-am info info-am install install-am install-data \
|
846 |
|
|
install-data-am install-data-local install-dvi install-dvi-am \
|
847 |
|
|
install-exec install-exec-am install-html install-html-am \
|
848 |
|
|
install-info install-info-am install-man install-pdf \
|
849 |
|
|
install-pdf-am install-ps install-ps-am install-strip \
|
850 |
|
|
install-toollibDATA install-toollibLIBRARIES \
|
851 |
|
|
install-toollibLTLIBRARIES installcheck installcheck-am \
|
852 |
|
|
installdirs installdirs-am maintainer-clean \
|
853 |
|
|
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
854 |
|
|
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
855 |
|
|
tags tags-recursive uninstall uninstall-am \
|
856 |
|
|
uninstall-toollibDATA uninstall-toollibLIBRARIES \
|
857 |
|
|
uninstall-toollibLTLIBRARIES
|
858 |
|
|
|
859 |
|
|
|
860 |
|
|
# objects listed later in LIBM_OBJECTLISTS will override those listed earlier
|
861 |
|
|
@USE_LIBTOOL_TRUE@libm-libtool-objectlist: $(LIBM_OBJECTLISTS)
|
862 |
|
|
@USE_LIBTOOL_TRUE@ cat $(LIBM_OBJECTLISTS) | $(AWK) '{ libm[$$1] = $$2 }; END { for (x in libm) printf ("%s\n", libm[x]) }' > $@
|
863 |
|
|
|
864 |
|
|
# objects listed later in LIBM_OBJECTLISTS and LIBC_OBJECTLISTS will override those listed earlier
|
865 |
|
|
@USE_LIBTOOL_TRUE@libc-libtool-objectlist: $(LIBM_OBJECTLISTS) $(LIBC_OBJECTLISTS)
|
866 |
|
|
@USE_LIBTOOL_TRUE@ cat $(LIBM_OBJECTLISTS) $(LIBC_OBJECTLISTS) | $(AWK) '{ libc[$$1] = $$2 }; END { for (x in libc) printf ("%s\n", libc[x]) }' > $@
|
867 |
|
|
|
868 |
|
|
@USE_LIBTOOL_FALSE@libc.a: libc/libc.a libm.a
|
869 |
|
|
@USE_LIBTOOL_FALSE@ rm -rf libc.a libg.a tmp
|
870 |
|
|
@USE_LIBTOOL_FALSE@ mkdir tmp
|
871 |
|
|
@USE_LIBTOOL_FALSE@ cd tmp; \
|
872 |
|
|
@USE_LIBTOOL_FALSE@ $(AR) x ../libm.a $(MATHOBJS_IN_LIBC) ; \
|
873 |
|
|
@USE_LIBTOOL_FALSE@ $(AR) x ../libc/libc.a ; \
|
874 |
|
|
@USE_LIBTOOL_FALSE@ $(AR) $(AR_FLAGS) ../$@ *.o
|
875 |
|
|
@USE_LIBTOOL_FALSE@ $(RANLIB) libc.a
|
876 |
|
|
@USE_LIBTOOL_FALSE@ ln libc.a libg.a >/dev/null 2>/dev/null || cp libc.a libg.a
|
877 |
|
|
@USE_LIBTOOL_FALSE@ rm -rf tmp
|
878 |
|
|
|
879 |
|
|
@USE_LIBTOOL_FALSE@libc/libc.a: ; @true
|
880 |
|
|
|
881 |
|
|
@USE_LIBTOOL_FALSE@libm.a: libm/libm.a
|
882 |
|
|
@USE_LIBTOOL_FALSE@ rm -f $@
|
883 |
|
|
@USE_LIBTOOL_FALSE@ ln libm/libm.a $@ >/dev/null 2>/dev/null || cp libm/libm.a $@
|
884 |
|
|
|
885 |
|
|
@USE_LIBTOOL_FALSE@libm/libm.a: ; @true
|
886 |
|
|
|
887 |
|
|
crt0.o: $(CRT0_DIR)$(CRT0)
|
888 |
|
|
rm -f $@
|
889 |
|
|
ln $(CRT0_DIR)$(CRT0) $@ >/dev/null 2>/dev/null \
|
890 |
|
|
|| cp $(CRT0_DIR)$(CRT0) $@
|
891 |
|
|
|
892 |
|
|
$(CRT0_DIR)$(CRT0): ; @true
|
893 |
|
|
|
894 |
|
|
crt1.o: $(CRT1_DIR)$(CRT1)
|
895 |
|
|
rm -f $@
|
896 |
|
|
ln $< $@ >/dev/null 2>/dev/null \
|
897 |
|
|
|| cp $< $@
|
898 |
|
|
|
899 |
|
|
$(CRT1_DIR)$(CRT1): ; @true
|
900 |
|
|
|
901 |
|
|
$(srcdir)/newlib.hin:
|
902 |
|
|
|
903 |
|
|
all-recursive: stmp-targ-include
|
904 |
|
|
|
905 |
|
|
# The targ-include directory just holds the includes files for the
|
906 |
|
|
# particular system and machine we have been configured for. It is
|
907 |
|
|
# used while building.
|
908 |
|
|
stmp-targ-include: config.status
|
909 |
|
|
-rm -rf targ-include stmp-targ-include
|
910 |
|
|
mkdir targ-include targ-include/sys targ-include/machine targ-include/bits
|
911 |
|
|
cp newlib.h targ-include/newlib.h
|
912 |
|
|
-for i in $(srcdir)/libc/machine/$(machine_dir)/machine/*.h; do \
|
913 |
|
|
if [ -f $$i ]; then \
|
914 |
|
|
cp $$i targ-include/machine/`basename $$i`; \
|
915 |
|
|
else true; fi ; \
|
916 |
|
|
done
|
917 |
|
|
-for i in $(srcdir)/libc/machine/$(machine_dir)/sys/*.h; do \
|
918 |
|
|
if [ -f $$i ]; then \
|
919 |
|
|
cp $$i targ-include/sys/`basename $$i`; \
|
920 |
|
|
else true; fi ; \
|
921 |
|
|
done
|
922 |
|
|
-for i in $(srcdir)/libc/machine/$(machine_dir)/include/*.h; do \
|
923 |
|
|
if [ -f $$i ]; then \
|
924 |
|
|
cp $$i targ-include/`basename $$i`; \
|
925 |
|
|
else true; fi ; \
|
926 |
|
|
done
|
927 |
|
|
-for i in $(srcdir)/libc/sys/$(sys_dir)/include/*.h; do \
|
928 |
|
|
if [ -f $$i ]; then \
|
929 |
|
|
cp $$i targ-include/`basename $$i`; \
|
930 |
|
|
else true; fi ; \
|
931 |
|
|
done
|
932 |
|
|
-for i in $(srcdir)/libc/sys/$(sys_dir)/sys/*.h; do \
|
933 |
|
|
if [ -f $$i ]; then \
|
934 |
|
|
cp $$i targ-include/sys/`basename $$i`; \
|
935 |
|
|
else true; fi ; \
|
936 |
|
|
done
|
937 |
|
|
-for i in $(srcdir)/libc/sys/$(sys_dir)/bits/*.h; do \
|
938 |
|
|
if [ -f $$i ]; then \
|
939 |
|
|
cp $$i targ-include/bits/`basename $$i`; \
|
940 |
|
|
else true; fi ; \
|
941 |
|
|
done
|
942 |
|
|
-for i in $(srcdir)/libc/sys/$(sys_dir)/machine/*.h; do \
|
943 |
|
|
if [ -f $$i ]; then \
|
944 |
|
|
cp $$i targ-include/machine/`basename $$i`; \
|
945 |
|
|
else true; fi ; \
|
946 |
|
|
done
|
947 |
|
|
-for i in $(srcdir)/libc/sys/$(sys_dir)/machine/$(machine_dir)/*.h; do \
|
948 |
|
|
if [ -f $$i ]; then \
|
949 |
|
|
cp $$i targ-include/machine/`basename $$i`; \
|
950 |
|
|
else true; fi ; \
|
951 |
|
|
done
|
952 |
|
|
-for i in $(srcdir)/libc/sys/$(sys_dir)/machine/$(machine_dir)/include/*.h; do \
|
953 |
|
|
if [ -f $$i ]; then \
|
954 |
|
|
cp $$i targ-include/machine/`basename $$i`; \
|
955 |
|
|
else true; fi ; \
|
956 |
|
|
done
|
957 |
|
|
touch $@
|
958 |
|
|
|
959 |
|
|
install-data-local: install-toollibLIBRARIES
|
960 |
|
|
@USE_LIBTOOL_FALSE@ rm -f $(DESTDIR)$(toollibdir)/libg.a
|
961 |
|
|
@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
|
962 |
|
|
$(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do # $(MAKE)
|
963 |
|
|
-if [ -z "$(MULTISUBDIR)" ]; then \
|
964 |
|
|
$(mkinstalldirs) $(DESTDIR)$(tooldir)/include; \
|
965 |
|
|
for i in $(srcdir)/libc/include/*.h; do \
|
966 |
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/`basename $$i`; \
|
967 |
|
|
done; \
|
968 |
|
|
$(INSTALL_DATA) newlib.h $(DESTDIR)$(tooldir)/include/newlib.h; \
|
969 |
|
|
$(mkinstalldirs) $(DESTDIR)$(tooldir)/include/machine; \
|
970 |
|
|
for i in $(srcdir)/libc/include/machine/*.h; do \
|
971 |
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
|
972 |
|
|
done; \
|
973 |
|
|
for i in $(srcdir)/libc/machine/$(machine_dir)/machine/*.h; do \
|
974 |
|
|
if [ -f $$i ]; then \
|
975 |
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
|
976 |
|
|
else true; fi ; \
|
977 |
|
|
done; \
|
978 |
|
|
$(mkinstalldirs) $(DESTDIR)$(tooldir)/include/sys; \
|
979 |
|
|
for i in $(srcdir)/libc/include/sys/*.h; do \
|
980 |
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \
|
981 |
|
|
done; \
|
982 |
|
|
for i in $(srcdir)/libc/machine/$(machine_dir)/sys/*.h; do \
|
983 |
|
|
if [ -f $$i ]; then \
|
984 |
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \
|
985 |
|
|
else true; fi ; \
|
986 |
|
|
done ; \
|
987 |
|
|
for i in $(srcdir)/libc/machine/$(machine_dir)/include/*.h; do \
|
988 |
|
|
if [ -f $$i ]; then \
|
989 |
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/`basename $$i`; \
|
990 |
|
|
else true; fi ; \
|
991 |
|
|
done ; \
|
992 |
|
|
for i in $(srcdir)/libc/sys/$(sys_dir)/sys/*.h; do \
|
993 |
|
|
if [ -f $$i ]; then \
|
994 |
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \
|
995 |
|
|
else true; fi ; \
|
996 |
|
|
done ; \
|
997 |
|
|
$(mkinstalldirs) $(DESTDIR)$(tooldir)/include/bits; \
|
998 |
|
|
for i in $(srcdir)/libc/sys/$(sys_dir)/bits/*.h; do \
|
999 |
|
|
if [ -f $$i ]; then \
|
1000 |
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/bits/`basename $$i`; \
|
1001 |
|
|
else true; fi ; \
|
1002 |
|
|
done ; \
|
1003 |
|
|
for i in $(srcdir)/libc/sys/$(sys_dir)/machine/*.h; do \
|
1004 |
|
|
if [ -f $$i ]; then \
|
1005 |
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
|
1006 |
|
|
else true; fi ; \
|
1007 |
|
|
done ; \
|
1008 |
|
|
for i in $(srcdir)/libc/sys/$(sys_dir)/include/*.h; do \
|
1009 |
|
|
if [ -f $$i ]; then \
|
1010 |
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/`basename $$i`; \
|
1011 |
|
|
else true; fi ; \
|
1012 |
|
|
done ; \
|
1013 |
|
|
for i in $(srcdir)/libc/sys/$(sys_dir)/machine/$(machine_dir)/include/*.h; do \
|
1014 |
|
|
if [ -f $$i ]; then \
|
1015 |
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
|
1016 |
|
|
else true; fi ; \
|
1017 |
|
|
done ; \
|
1018 |
|
|
else true; fi
|
1019 |
|
|
|
1020 |
|
|
# Force makedoc to be built before building info files.
|
1021 |
|
|
info-recursive: doc/makedoc
|
1022 |
|
|
dvi-recursive: doc/makedoc
|
1023 |
|
|
doc/makedoc:
|
1024 |
|
|
cd doc && $(MAKE) all
|
1025 |
|
|
|
1026 |
|
|
# Multilib support.
|
1027 |
|
|
.PHONY: all-multi check-multi mostlyclean-multi clean-multi distclean-multi \
|
1028 |
|
|
maintainer-clean-multi
|
1029 |
|
|
|
1030 |
|
|
all-recursive: all-multi
|
1031 |
|
|
check-recursive: check-multi
|
1032 |
|
|
mostlyclean-recursive: mostlyclean-multi
|
1033 |
|
|
clean-recursive: clean-multi
|
1034 |
|
|
distclean-recursive: distclean-multi
|
1035 |
|
|
maintainer-clean-recursive: maintainer-clean-multi
|
1036 |
|
|
|
1037 |
|
|
# The $(MAKE) comments below are to enable parallel building.
|
1038 |
|
|
all-multi:
|
1039 |
|
|
$(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do # $(MAKE)
|
1040 |
|
|
check-multi:
|
1041 |
|
|
$(MULTIDO) $(AM_MAKEFLAGS) DO=check multi-do # $(MAKE)
|
1042 |
|
|
mostlyclean-multi:
|
1043 |
|
|
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean # $(MAKE)
|
1044 |
|
|
clean-multi:
|
1045 |
|
|
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean # $(MAKE)
|
1046 |
|
|
distclean-multi:
|
1047 |
|
|
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean # $(MAKE)
|
1048 |
|
|
maintainer-clean-multi:
|
1049 |
|
|
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean # $(MAKE)
|
1050 |
|
|
|
1051 |
|
|
site.exp: Makefile
|
1052 |
|
|
@echo 'Making a new site.exp file...'
|
1053 |
|
|
@test ! -f site.bak || rm -f site.bak
|
1054 |
|
|
@echo '## these variables are automatically generated by make ##' > $@-t
|
1055 |
|
|
@echo '# Do not edit here. If you wish to override these values' >> $@-t
|
1056 |
|
|
@echo '# edit the last section' >> $@-t
|
1057 |
|
|
@echo 'set tool $(DEJATOOL)' >> $@-t
|
1058 |
|
|
@echo 'set tool_version $(VERSION)' >> $@-t
|
1059 |
|
|
@echo 'set srcdir $(srcdir)/testsuite' >> $@-t
|
1060 |
|
|
@echo 'set objdir' `pwd` >> $@-t
|
1061 |
|
|
@echo 'set tmpdir' `pwd`/testsuite >> $@-t
|
1062 |
|
|
@echo 'set multibuildtop ./$(MULTIBUILDTOP)' >> $@-t
|
1063 |
|
|
@echo 'set host_alias $(build_alias)' >> $@-t
|
1064 |
|
|
@echo 'set host_triplet $(build_triplet)' >> $@-t
|
1065 |
|
|
@echo 'set target_alias $(host_alias)' >> $@-t
|
1066 |
|
|
@echo 'set target_triplet $(host_triplet)' >> $@-t
|
1067 |
|
|
@echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t
|
1068 |
|
|
@test ! -f site.exp || sed '1,/^## All variables above are.*##/ d' site.exp >> $@-t
|
1069 |
|
|
@test ! -f site.exp || mv site.exp site.bak
|
1070 |
|
|
@mv $@-t site.exp
|
1071 |
|
|
|
1072 |
|
|
check-DEJAGNU: site.exp
|
1073 |
|
|
@if [ -d testsuite ] ; then \
|
1074 |
|
|
true ; \
|
1075 |
|
|
else \
|
1076 |
|
|
mkdir testsuite ; \
|
1077 |
|
|
fi
|
1078 |
|
|
@rm -f testsuite/site.exp
|
1079 |
|
|
@cp site.exp testsuite/site.exp
|
1080 |
|
|
@rootme=`pwd` ; \
|
1081 |
|
|
export rootme ; \
|
1082 |
|
|
srcdir=`cd ${srcdir}; pwd` ; \
|
1083 |
|
|
export srcdir ; \
|
1084 |
|
|
EXPECT=`if [ -f $${rootme}/${MULTIBUILDTOP}../../expect/expect ] ; then \
|
1085 |
|
|
echo $${rootme}/${MULTIBUILDTOP}../../expect/expect ; \
|
1086 |
|
|
else \
|
1087 |
|
|
echo expect ; \
|
1088 |
|
|
fi` ; \
|
1089 |
|
|
export EXPECT ; \
|
1090 |
|
|
echo "Found expect: $${EXPECT}" ; \
|
1091 |
|
|
if [ -f $(top_builddir)/$(MULTIBUILDTOP)../../expect/expect ] ; then \
|
1092 |
|
|
TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd` ; \
|
1093 |
|
|
export TCL_LIBRARY ; \
|
1094 |
|
|
echo "Found TCL library directory: $${TCL_LIBRARY}" ; \
|
1095 |
|
|
fi ; \
|
1096 |
|
|
RUNTEST=`if [ -f $${srcdir}/../dejagnu/runtest ] ; then \
|
1097 |
|
|
echo $${srcdir}/../dejagnu/runtest ; \
|
1098 |
|
|
else \
|
1099 |
|
|
echo runtest ; \
|
1100 |
|
|
fi` ; \
|
1101 |
|
|
export RUNTEST ; \
|
1102 |
|
|
echo "Found runtest: $${RUNTEST}" ; \
|
1103 |
|
|
cd testsuite ; \
|
1104 |
|
|
if $(SHELL) -c "$$RUNTEST --version" > /dev/null 2>&1 ; then \
|
1105 |
|
|
$$RUNTEST --tool $(DEJATOOL) --srcdir $${srcdir}/testsuite $(RUNTESTFLAGS) ; \
|
1106 |
|
|
: ; \
|
1107 |
|
|
else \
|
1108 |
|
|
echo "WARNING: could not find \`runtest'" 1>&2 ; \
|
1109 |
|
|
fi
|
1110 |
|
|
|
1111 |
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
1112 |
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
1113 |
|
|
.NOEXPORT:
|