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