]>
Commit | Line | Data |
---|---|---|
405ea7a0 NN |
1 | |
2 | # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'. | |
252b5132 RH |
3 | # |
4 | # Makefile for directory with subdirs to build. | |
5cec67bf | 5 | # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, |
91f0e695 | 6 | # 1999, 2000, 2001, 2002, 2003 Free Software Foundation |
252b5132 RH |
7 | # |
8 | # This file is free software; you can redistribute it and/or modify | |
9 | # it under the terms of the GNU General Public License as published by | |
10 | # the Free Software Foundation; either version 2 of the License, or | |
11 | # (at your option) any later version. | |
12 | # | |
13 | # This program is distributed in the hope that it will be useful, | |
14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | # GNU General Public License for more details. | |
17 | # | |
18 | # You should have received a copy of the GNU General Public License | |
19 | # along with this program; if not, write to the Free Software | |
20 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
21 | # | |
22 | ||
50212802 NN |
23 | # ------------------------------- |
24 | # Standard Autoconf-set variables | |
25 | # ------------------------------- | |
583d52d7 | 26 | VPATH=@srcdir@ |
583d52d7 NN |
27 | |
28 | build_alias=@build_alias@ | |
7f121bbf | 29 | build=@build@ |
583d52d7 | 30 | host_alias=@host_alias@ |
7f121bbf | 31 | host=@host@ |
583d52d7 | 32 | target_alias=@target_alias@ |
7f121bbf | 33 | target=@target@ |
583d52d7 | 34 | |
50212802 | 35 | program_transform_name = @program_transform_name@ |
403d9505 NN |
36 | |
37 | prefix = @prefix@ | |
38 | exec_prefix = @exec_prefix@ | |
39 | ||
50212802 NN |
40 | srcdir = @srcdir@ |
41 | ||
403d9505 NN |
42 | bindir = @bindir@ |
43 | sbindir = @sbindir@ | |
44 | libexecdir = @libexecdir@ | |
45 | datadir = @datadir@ | |
46 | sysconfdir = @sysconfdir@ | |
47 | sharedstatedir = @sharedstatedir@ | |
48 | localstatedir = @localstatedir@ | |
49 | libdir = @libdir@ | |
50 | includedir = @includedir@ | |
51 | oldincludedir = @oldincludedir@ | |
52 | infodir = @infodir@ | |
53 | mandir = @mandir@ | |
252b5132 RH |
54 | man1dir = $(mandir)/man1 |
55 | man2dir = $(mandir)/man2 | |
56 | man3dir = $(mandir)/man3 | |
57 | man4dir = $(mandir)/man4 | |
58 | man5dir = $(mandir)/man5 | |
59 | man6dir = $(mandir)/man6 | |
60 | man7dir = $(mandir)/man7 | |
61 | man8dir = $(mandir)/man8 | |
62 | man9dir = $(mandir)/man9 | |
d5de0a84 | 63 | |
e5c3f801 NN |
64 | INSTALL = @INSTALL@ |
65 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
66 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | |
67 | INSTALL_DATA = @INSTALL_DATA@ | |
252b5132 | 68 | |
50212802 NN |
69 | # ------------------------------------------------- |
70 | # Miscellaneous non-standard autoconf-set variables | |
71 | # ------------------------------------------------- | |
252b5132 | 72 | |
50212802 | 73 | links=@configlinks@ |
50212802 NN |
74 | # The file containing GCC's version number. |
75 | gcc_version_trigger = @gcc_version_trigger@ | |
76 | gcc_version = @gcc_version@ | |
252b5132 | 77 | |
50212802 NN |
78 | # The gcc driver likes to know the arguments it was configured with. |
79 | TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@ | |
252b5132 | 80 | |
50212802 NN |
81 | gxx_include_dir = @gxx_include_dir@ |
82 | libstdcxx_incdir = @libstdcxx_incdir@ | |
252b5132 | 83 | |
50212802 NN |
84 | tooldir = @tooldir@ |
85 | build_tooldir = @build_tooldir@ | |
252b5132 | 86 | |
50212802 | 87 | # Directory in which the compiler finds executables, libraries, etc. |
ede4fbe4 | 88 | libsubdir = $(libdir)/gcc/$(target_alias)/$(gcc_version) |
50212802 | 89 | GDB_NLM_DEPS = |
252b5132 | 90 | |
50212802 NN |
91 | # This is the name of the environment variable used for the path to |
92 | # the libraries. | |
93 | RPATH_ENVVAR = @RPATH_ENVVAR@ | |
252b5132 | 94 | |
50212802 NN |
95 | # This is set by configure to REALLY_SET_LIB_PATH if --enable-shared |
96 | # was used. | |
97 | SET_LIB_PATH = @SET_LIB_PATH@ | |
252b5132 | 98 | |
50212802 NN |
99 | # configure.in sets SET_LIB_PATH to this if --enable-shared was used. |
100 | # Some platforms don't like blank entries, so we remove duplicate, | |
101 | # leading and trailing colons. | |
102 | REALLY_SET_LIB_PATH = \ | |
103 | $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); | |
252b5132 | 104 | |
50212802 NN |
105 | # This is the list of directories to be built for the build system. |
106 | BUILD_CONFIGDIRS = libiberty | |
107 | # Build programs are put under this directory. | |
108 | BUILD_SUBDIR = @build_subdir@ | |
109 | # This is set by the configure script to the arguments to use when configuring | |
110 | # directories built for the build system. | |
111 | BUILD_CONFIGARGS = @build_configargs@ | |
112 | ||
113 | # This is the list of directories to built for the host system. | |
114 | SUBDIRS = @configdirs@ | |
115 | # This is set by the configure script to the arguments to use when configuring | |
116 | # directories built for the host system. | |
117 | HOST_CONFIGARGS = @host_configargs@ | |
118 | ||
119 | # This is set by the configure script to the list of directories which | |
120 | # should be built using the target tools. | |
121 | TARGET_CONFIGDIRS = @target_configdirs@ | |
122 | # Target libraries are put under this directory: | |
123 | TARGET_SUBDIR = @target_subdir@ | |
124 | # This is set by the configure script to the arguments to use when configuring | |
125 | # directories built for the target. | |
126 | TARGET_CONFIGARGS = @target_configargs@ | |
127 | ||
128 | # ---------------------------------------------- | |
129 | # Programs producing files for the BUILD machine | |
130 | # ---------------------------------------------- | |
131 | ||
132 | SHELL = @config_shell@ | |
133 | ||
134 | # pwd command to use. Allow user to override default by setting PWDCMD in | |
135 | # the environment to account for automounters. The make variable must not | |
136 | # be called PWDCMD, otherwise the value set here is passed to make | |
137 | # subprocesses and overrides the setting from the user's environment. | |
b40e3958 L |
138 | # Don't use PWD since it is a common shell environment variable and we |
139 | # don't want to corrupt it. | |
140 | PWD_COMMAND = $${PWDCMD-pwd} | |
50212802 NN |
141 | |
142 | # compilers to use to create programs which must be run in the build | |
143 | # environment. | |
144 | CC_FOR_BUILD = @CC_FOR_BUILD@ | |
5fbad20a | 145 | CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@ |
50212802 NN |
146 | |
147 | CXX_FOR_BUILD = $(CXX) | |
148 | ||
149 | # Special variables passed down in EXTRA_GCC_FLAGS. They are defined | |
150 | # here so that they can be overridden by Makefile fragments. | |
50212802 NN |
151 | BUILD_PREFIX = @BUILD_PREFIX@ |
152 | BUILD_PREFIX_1 = @BUILD_PREFIX_1@ | |
252b5132 | 153 | |
852e5f18 NN |
154 | BISON=@BISON@ |
155 | USUAL_BISON = `if [ -f $$r/bison/bison ] ; then \ | |
252b5132 RH |
156 | echo $$r/bison/bison -L $$s/bison/ ; \ |
157 | else \ | |
158 | echo bison ; \ | |
159 | fi` | |
160 | ||
50212802 | 161 | DEFAULT_YACC = @DEFAULT_YACC@ |
852e5f18 NN |
162 | YACC=@YACC@ |
163 | USUAL_YACC = `if [ -f $$r/bison/bison ] ; then \ | |
252b5132 RH |
164 | echo $$r/bison/bison -y -L $$s/bison/ ; \ |
165 | elif [ -f $$r/byacc/byacc ] ; then \ | |
166 | echo $$r/byacc/byacc ; \ | |
167 | else \ | |
168 | echo ${DEFAULT_YACC} ; \ | |
169 | fi` | |
170 | ||
50212802 | 171 | DEFAULT_LEX = @DEFAULT_LEX@ |
852e5f18 NN |
172 | LEX=@LEX@ |
173 | USUAL_LEX = `if [ -f $$r/flex/flex ] ; \ | |
252b5132 RH |
174 | then echo $$r/flex/flex ; \ |
175 | else echo ${DEFAULT_LEX} ; fi` | |
176 | ||
50212802 | 177 | DEFAULT_M4 = @DEFAULT_M4@ |
252b5132 RH |
178 | M4 = `if [ -f $$r/m4/m4 ] ; \ |
179 | then echo $$r/m4/m4 ; \ | |
180 | else echo ${DEFAULT_M4} ; fi` | |
181 | ||
77f7441a | 182 | # For an installed makeinfo, we require it to be from texinfo 4.2 or |
f08fa01d | 183 | # higher, else we use the "missing" dummy. |
852e5f18 NN |
184 | MAKEINFO=@MAKEINFO@ |
185 | USUAL_MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \ | |
252b5132 | 186 | then echo $$r/texinfo/makeinfo/makeinfo ; \ |
f08fa01d | 187 | else if (makeinfo --version \ |
77f7441a | 188 | | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \ |
f08fa01d | 189 | then echo makeinfo; else echo $$s/missing makeinfo; fi; fi` |
252b5132 RH |
190 | |
191 | # This just becomes part of the MAKEINFO definition passed down to | |
192 | # sub-makes. It lets flags be given on the command line while still | |
193 | # using the makeinfo from the object tree. | |
62a3fc85 DD |
194 | # (Default to avoid splitting info files by setting the threshold high.) |
195 | MAKEINFOFLAGS = --split-size=5000000 | |
252b5132 RH |
196 | |
197 | EXPECT = `if [ -f $$r/expect/expect ] ; \ | |
198 | then echo $$r/expect/expect ; \ | |
199 | else echo expect ; fi` | |
200 | ||
201 | RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \ | |
202 | then echo $$s/dejagnu/runtest ; \ | |
203 | else echo runtest ; fi` | |
204 | ||
50212802 NN |
205 | # --------------------------------------------- |
206 | # Programs producing files for the HOST machine | |
207 | # --------------------------------------------- | |
252b5132 | 208 | |
50212802 NN |
209 | # This is the list of directories that may be needed in RPATH_ENVVAR |
210 | # so that programs built for the host machine work. | |
211 | HOST_LIB_PATH = $$r/bfd:$$r/opcodes | |
252b5132 | 212 | |
50212802 | 213 | AS = @AS@ |
252b5132 | 214 | |
50212802 NN |
215 | AR = @AR@ |
216 | AR_FLAGS = rc | |
252b5132 | 217 | |
50212802 NN |
218 | CC = @CC@ |
219 | CFLAGS = @CFLAGS@ | |
220 | LIBCFLAGS = $(CFLAGS) | |
252b5132 | 221 | |
50212802 NN |
222 | CXX = @CXX@ |
223 | CXXFLAGS = @CXXFLAGS@ | |
224 | LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates | |
49b7683b | 225 | |
50212802 | 226 | DLLTOOL = @DLLTOOL@ |
252b5132 | 227 | |
50212802 | 228 | NM = @NM@ |
15723a45 | 229 | |
50212802 NN |
230 | LD = @LD@ |
231 | LDFLAGS = | |
15723a45 | 232 | |
50212802 | 233 | RANLIB = @RANLIB@ |
252b5132 | 234 | |
50212802 | 235 | WINDRES = @WINDRES@ |
252b5132 | 236 | |
50212802 NN |
237 | PICFLAG = |
238 | ||
239 | # ----------------------------------------------- | |
240 | # Programs producing files for the TARGET machine | |
241 | # ----------------------------------------------- | |
0da52010 AO |
242 | |
243 | # This is the list of directories that may be needed in RPATH_ENVVAR | |
244 | # so that prorgams built for the target machine work. | |
75205f78 | 245 | TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs: |
0da52010 | 246 | |
58daee98 | 247 | FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@ |
252b5132 | 248 | |
50212802 NN |
249 | AR_FOR_TARGET=@AR_FOR_TARGET@ |
250 | USUAL_AR_FOR_TARGET = ` \ | |
251 | if [ -f $$r/binutils/ar ] ; then \ | |
252 | echo $$r/binutils/ar ; \ | |
253 | else \ | |
7f121bbf | 254 | if [ '$(host)' = '$(target)' ] ; then \ |
50212802 NN |
255 | echo $(AR); \ |
256 | else \ | |
257 | echo ar | sed '$(program_transform_name)' ; \ | |
258 | fi; \ | |
259 | fi` | |
252b5132 | 260 | |
852e5f18 NN |
261 | AS_FOR_TARGET=@AS_FOR_TARGET@ |
262 | USUAL_AS_FOR_TARGET = ` \ | |
252b5132 RH |
263 | if [ -f $$r/gas/as-new ] ; then \ |
264 | echo $$r/gas/as-new ; \ | |
dc70af01 AO |
265 | elif [ -f $$r/gcc/xgcc ]; then \ |
266 | $(CC_FOR_TARGET) -print-prog-name=as ; \ | |
252b5132 | 267 | else \ |
7f121bbf | 268 | if [ '$(host)' = '$(target)' ] ; then \ |
252b5132 RH |
269 | echo $(AS); \ |
270 | else \ | |
43be203f | 271 | echo as | sed '$(program_transform_name)' ; \ |
252b5132 RH |
272 | fi; \ |
273 | fi` | |
274 | ||
50212802 NN |
275 | CC_FOR_TARGET = @CC_FOR_TARGET@ |
276 | # During gcc bootstrap, if we use some random cc for stage1 then | |
277 | # CFLAGS will be just -g. We want to ensure that TARGET libraries | |
278 | # (which we know are built with gcc) are built with optimizations so | |
279 | # prepend -O2 when setting CFLAGS_FOR_TARGET. | |
280 | CFLAGS_FOR_TARGET = -O2 $(CFLAGS) | |
281 | # If GCC_FOR_TARGET is not overriden on the command line, then this | |
282 | # variable is passed down to the gcc Makefile, where it is used to | |
283 | # build libgcc2.a. We define it here so that it can itself be | |
284 | # overridden on the command line. | |
285 | GCC_FOR_TARGET=@GCC_FOR_TARGET@ | |
286 | USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET) | |
287 | LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET) | |
288 | ||
289 | CXX_FOR_TARGET = @CXX_FOR_TARGET@ | |
290 | RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@ | |
291 | CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@ | |
292 | RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@ | |
293 | CXXFLAGS_FOR_TARGET = $(CXXFLAGS) | |
294 | LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates | |
252b5132 | 295 | |
852e5f18 NN |
296 | DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@ |
297 | USUAL_DLLTOOL_FOR_TARGET = ` \ | |
252b5132 RH |
298 | if [ -f $$r/binutils/dlltool ] ; then \ |
299 | echo $$r/binutils/dlltool ; \ | |
300 | else \ | |
7f121bbf | 301 | if [ '$(host)' = '$(target)' ] ; then \ |
252b5132 RH |
302 | echo $(DLLTOOL); \ |
303 | else \ | |
43be203f | 304 | echo dlltool | sed '$(program_transform_name)' ; \ |
252b5132 RH |
305 | fi; \ |
306 | fi` | |
307 | ||
50212802 NN |
308 | GCJ_FOR_TARGET = @GCJ_FOR_TARGET@ |
309 | ||
310 | LD_FOR_TARGET=@LD_FOR_TARGET@ | |
311 | USUAL_LD_FOR_TARGET = ` \ | |
312 | if [ -f $$r/ld/ld-new ] ; then \ | |
313 | echo $$r/ld/ld-new ; \ | |
314 | elif [ -f $$r/gcc/xgcc ]; then \ | |
315 | $(CC_FOR_TARGET) -print-prog-name=ld ; \ | |
252b5132 | 316 | else \ |
7f121bbf | 317 | if [ '$(host)' = '$(target)' ] ; then \ |
50212802 | 318 | echo $(LD); \ |
252b5132 | 319 | else \ |
50212802 | 320 | echo ld | sed '$(program_transform_name)' ; \ |
252b5132 RH |
321 | fi; \ |
322 | fi` | |
323 | ||
50212802 NN |
324 | LDFLAGS_FOR_TARGET = |
325 | ||
326 | NM_FOR_TARGET=@NM_FOR_TARGET@ | |
327 | USUAL_NM_FOR_TARGET = ` \ | |
328 | if [ -f $$r/binutils/nm-new ] ; then \ | |
329 | echo $$r/binutils/nm-new ; \ | |
330 | elif [ -f $$r/gcc/xgcc ]; then \ | |
331 | $(CC_FOR_TARGET) -print-prog-name=nm ; \ | |
252b5132 | 332 | else \ |
7f121bbf | 333 | if [ '$(host)' = '$(target)' ] ; then \ |
50212802 | 334 | echo $(NM); \ |
252b5132 | 335 | else \ |
50212802 | 336 | echo nm | sed '$(program_transform_name)' ; \ |
252b5132 RH |
337 | fi; \ |
338 | fi` | |
339 | ||
852e5f18 NN |
340 | RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@ |
341 | USUAL_RANLIB_FOR_TARGET = ` \ | |
252b5132 RH |
342 | if [ -f $$r/binutils/ranlib ] ; then \ |
343 | echo $$r/binutils/ranlib ; \ | |
344 | else \ | |
7f121bbf | 345 | if [ '$(host)' = '$(target)' ] ; then \ |
3f152009 AO |
346 | if [ x'$(RANLIB)' != x ]; then \ |
347 | echo $(RANLIB); \ | |
348 | else \ | |
349 | echo ranlib; \ | |
350 | fi; \ | |
252b5132 | 351 | else \ |
43be203f | 352 | echo ranlib | sed '$(program_transform_name)' ; \ |
252b5132 RH |
353 | fi; \ |
354 | fi` | |
355 | ||
50212802 NN |
356 | WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@ |
357 | USUAL_WINDRES_FOR_TARGET = ` \ | |
358 | if [ -f $$r/binutils/windres ] ; then \ | |
359 | echo $$r/binutils/windres ; \ | |
252b5132 | 360 | else \ |
7f121bbf | 361 | if [ '$(host)' = '$(target)' ] ; then \ |
50212802 | 362 | echo $(WINDRES); \ |
252b5132 | 363 | else \ |
50212802 | 364 | echo windres | sed '$(program_transform_name)' ; \ |
252b5132 RH |
365 | fi; \ |
366 | fi` | |
367 | ||
50212802 NN |
368 | PICFLAG_FOR_TARGET = |
369 | ||
370 | # ------------------------------------ | |
371 | # Miscellaneous targets and flag lists | |
372 | # ------------------------------------ | |
373 | ||
252b5132 RH |
374 | # The first rule in the file had better be this one. Don't put any above it. |
375 | # This lives here to allow makefile fragments to contain dependencies. | |
376 | all: all.normal | |
377 | .PHONY: all | |
378 | ||
252b5132 | 379 | #### host and target specific makefile fragments come in here. |
a0da8069 NN |
380 | @target_makefile_frag@ |
381 | @alphaieee_frag@ | |
382 | @ospace_frag@ | |
383 | @host_makefile_frag@ | |
252b5132 RH |
384 | ### |
385 | ||
386 | # Flags to pass down to all sub-makes. | |
252b5132 | 387 | BASE_FLAGS_TO_PASS = \ |
497f816e | 388 | "DESTDIR=$(DESTDIR)" \ |
252b5132 | 389 | "RPATH_ENVVAR=$(RPATH_ENVVAR)" \ |
252b5132 | 390 | "TARGET_SUBDIR=$(TARGET_SUBDIR)" \ |
252b5132 RH |
391 | "bindir=$(bindir)" \ |
392 | "datadir=$(datadir)" \ | |
393 | "exec_prefix=$(exec_prefix)" \ | |
394 | "includedir=$(includedir)" \ | |
395 | "infodir=$(infodir)" \ | |
396 | "libdir=$(libdir)" \ | |
397 | "libexecdir=$(libexecdir)" \ | |
398 | "lispdir=$(lispdir)" \ | |
75205f78 DD |
399 | "libstdcxx_incdir=$(libstdcxx_incdir)" \ |
400 | "libsubdir=$(libsubdir)" \ | |
252b5132 RH |
401 | "localstatedir=$(localstatedir)" \ |
402 | "mandir=$(mandir)" \ | |
403 | "oldincludedir=$(oldincludedir)" \ | |
404 | "prefix=$(prefix)" \ | |
405 | "sbindir=$(sbindir)" \ | |
406 | "sharedstatedir=$(sharedstatedir)" \ | |
407 | "sysconfdir=$(sysconfdir)" \ | |
408 | "tooldir=$(tooldir)" \ | |
ba73c63f | 409 | "build_tooldir=$(build_tooldir)" \ |
252b5132 RH |
410 | "gxx_include_dir=$(gxx_include_dir)" \ |
411 | "gcc_version=$(gcc_version)" \ | |
412 | "gcc_version_trigger=$(gcc_version_trigger)" \ | |
12f0bd74 NN |
413 | "target_alias=$(target_alias)" \ |
414 | "BISON=$(BISON)" \ | |
415 | "CC_FOR_BUILD=$(CC_FOR_BUILD)" \ | |
416 | "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \ | |
417 | "EXPECT=$(EXPECT)" \ | |
418 | "INSTALL=$(INSTALL)" \ | |
419 | "INSTALL_DATA=$(INSTALL_DATA)" \ | |
420 | "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ | |
421 | "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \ | |
422 | "LEX=$(LEX)" \ | |
423 | "M4=$(M4)" \ | |
424 | "MAKE=$(MAKE)" \ | |
425 | "RUNTEST=$(RUNTEST)" \ | |
426 | "RUNTESTFLAGS=$(RUNTESTFLAGS)" \ | |
427 | "SHELL=$(SHELL)" \ | |
428 | "YACC=$(YACC)" \ | |
429 | "AR_FLAGS=$(AR_FLAGS)" \ | |
430 | "CFLAGS=$(CFLAGS)" \ | |
431 | "CXXFLAGS=$(CXXFLAGS)" \ | |
432 | "LDFLAGS=$(LDFLAGS)" \ | |
433 | "LIBCFLAGS=$(LIBCFLAGS)" \ | |
434 | "LIBCXXFLAGS=$(LIBCXXFLAGS)" \ | |
435 | "AR_FOR_TARGET=$(AR_FOR_TARGET)" \ | |
436 | "AS_FOR_TARGET=$(AS_FOR_TARGET)" \ | |
437 | "CC_FOR_TARGET=$(CC_FOR_TARGET)" \ | |
438 | "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \ | |
439 | "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \ | |
440 | "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \ | |
441 | "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \ | |
442 | "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \ | |
443 | "LD_FOR_TARGET=$(LD_FOR_TARGET)" \ | |
444 | "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \ | |
445 | "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \ | |
446 | "NM_FOR_TARGET=$(NM_FOR_TARGET)" \ | |
447 | "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \ | |
448 | "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \ | |
449 | "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" | |
252b5132 | 450 | |
dec0cb0c AO |
451 | # For any flags above that may contain shell code that varies from one |
452 | # target library to another. When doing recursive invocations of the | |
453 | # top-level Makefile, we don't want the outer make to evaluate them, | |
454 | # so we pass these variables down unchanged. They must not contain | |
455 | # single nor double quotes. | |
456 | RECURSE_FLAGS = \ | |
930314a4 NN |
457 | CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \ |
458 | RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \ | |
dec0cb0c | 459 | |
252b5132 RH |
460 | # Flags to pass down to most sub-makes, in which we're building with |
461 | # the host environment. | |
252b5132 RH |
462 | EXTRA_HOST_FLAGS = \ |
463 | 'AR=$(AR)' \ | |
464 | 'AS=$(AS)' \ | |
465 | 'CC=$(CC)' \ | |
466 | 'CXX=$(CXX)' \ | |
467 | 'DLLTOOL=$(DLLTOOL)' \ | |
468 | 'LD=$(LD)' \ | |
469 | 'NM=$(NM)' \ | |
b9459e83 | 470 | 'RANLIB=$(RANLIB)' \ |
252b5132 RH |
471 | 'WINDRES=$(WINDRES)' |
472 | ||
473 | FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) | |
474 | ||
475 | # Flags that are concerned with the location of the X11 include files | |
476 | # and library files | |
477 | # | |
478 | # NOTE: until the top-level is getting the values via autoconf, it only | |
479 | # causes problems to have this top-level Makefile overriding the autoconf-set | |
480 | # values in child directories. Only variables that don't conflict with | |
481 | # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now. | |
482 | # | |
483 | X11_FLAGS_TO_PASS = \ | |
484 | 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \ | |
485 | 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)' | |
486 | ||
487 | # Flags to pass down to makes which are built with the target environment. | |
488 | # The double $ decreases the length of the command line; the variables | |
489 | # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. | |
252b5132 RH |
490 | EXTRA_TARGET_FLAGS = \ |
491 | 'AR=$$(AR_FOR_TARGET)' \ | |
492 | 'AS=$$(AS_FOR_TARGET)' \ | |
493 | 'CC=$$(CC_FOR_TARGET)' \ | |
494 | 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \ | |
495 | 'CXX=$$(CXX_FOR_TARGET)' \ | |
496 | 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \ | |
497 | 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \ | |
498 | 'LD=$$(LD_FOR_TARGET)' \ | |
499 | 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \ | |
500 | 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \ | |
501 | 'NM=$$(NM_FOR_TARGET)' \ | |
502 | 'RANLIB=$$(RANLIB_FOR_TARGET)' \ | |
503 | 'WINDRES=$$(WINDRES_FOR_TARGET)' | |
504 | ||
505 | TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) | |
506 | ||
507 | # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it | |
508 | # unfortunately needs the native compiler and the target ar and | |
509 | # ranlib. | |
510 | # If any variables are added here, they must be added to do-*, below. | |
2a4cbe27 | 511 | # The BUILD_* variables are a special case, which are used for the gcc |
252b5132 RH |
512 | # cross-building scheme. |
513 | EXTRA_GCC_FLAGS = \ | |
27f15fdd DD |
514 | 'BUILD_PREFIX=$(BUILD_PREFIX)' \ |
515 | 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \ | |
252b5132 | 516 | "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \ |
75205f78 | 517 | "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \ |
252b5132 RH |
518 | "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s/.*=$$/XFOO=/`" \ |
519 | "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s/.*=$$/XFOO=/`" \ | |
520 | "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s/.*=$$/XFOO=/`" \ | |
252b5132 RH |
521 | "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \ |
522 | "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \ | |
523 | "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s/.*=$$/XFOO=/`" \ | |
75205f78 | 524 | "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \ |
d9441a1f DD |
525 | "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \ |
526 | "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s/.*=$$/XFOO=/`" | |
252b5132 | 527 | |
f0b24077 | 528 | GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) |
252b5132 | 529 | |
dd12c3a8 NN |
530 | .PHONY: configure-host |
531 | configure-host: maybe-configure-gcc \ | |
532 | maybe-configure-ash \ | |
533 | maybe-configure-autoconf \ | |
534 | maybe-configure-automake \ | |
535 | maybe-configure-bash \ | |
536 | maybe-configure-bfd \ | |
537 | maybe-configure-opcodes \ | |
538 | maybe-configure-binutils \ | |
539 | maybe-configure-bison \ | |
540 | maybe-configure-byacc \ | |
541 | maybe-configure-bzip2 \ | |
542 | maybe-configure-dejagnu \ | |
543 | maybe-configure-diff \ | |
544 | maybe-configure-dosutils \ | |
545 | maybe-configure-etc \ | |
546 | maybe-configure-fastjar \ | |
547 | maybe-configure-fileutils \ | |
548 | maybe-configure-findutils \ | |
549 | maybe-configure-find \ | |
550 | maybe-configure-flex \ | |
551 | maybe-configure-gas \ | |
552 | maybe-configure-gawk \ | |
553 | maybe-configure-gettext \ | |
554 | maybe-configure-gnuserv \ | |
555 | maybe-configure-gprof \ | |
556 | maybe-configure-gzip \ | |
557 | maybe-configure-hello \ | |
558 | maybe-configure-indent \ | |
559 | maybe-configure-intl \ | |
560 | maybe-configure-tcl \ | |
561 | maybe-configure-itcl \ | |
562 | maybe-configure-ld \ | |
563 | maybe-configure-libgui \ | |
564 | maybe-configure-libiberty \ | |
565 | maybe-configure-libtool \ | |
566 | maybe-configure-m4 \ | |
567 | maybe-configure-make \ | |
568 | maybe-configure-mmalloc \ | |
569 | maybe-configure-patch \ | |
570 | maybe-configure-perl \ | |
571 | maybe-configure-prms \ | |
572 | maybe-configure-rcs \ | |
573 | maybe-configure-readline \ | |
574 | maybe-configure-release \ | |
575 | maybe-configure-recode \ | |
576 | maybe-configure-sed \ | |
577 | maybe-configure-send-pr \ | |
578 | maybe-configure-shellutils \ | |
579 | maybe-configure-sid \ | |
580 | maybe-configure-sim \ | |
581 | maybe-configure-tar \ | |
582 | maybe-configure-texinfo \ | |
583 | maybe-configure-textutils \ | |
584 | maybe-configure-time \ | |
585 | maybe-configure-uudecode \ | |
586 | maybe-configure-wdiff \ | |
587 | maybe-configure-zip \ | |
588 | maybe-configure-zlib \ | |
589 | maybe-configure-gdb \ | |
590 | maybe-configure-expect \ | |
591 | maybe-configure-guile \ | |
592 | maybe-configure-tk \ | |
593 | maybe-configure-tix \ | |
594 | maybe-configure-libtermcap \ | |
595 | maybe-configure-utils | |
596 | .PHONY: configure-target | |
597 | configure-target: \ | |
598 | maybe-configure-target-libstdc++-v3 \ | |
599 | maybe-configure-target-newlib \ | |
600 | maybe-configure-target-libf2c \ | |
601 | maybe-configure-target-libobjc \ | |
602 | maybe-configure-target-libtermcap \ | |
603 | maybe-configure-target-winsup \ | |
604 | maybe-configure-target-libgloss \ | |
605 | maybe-configure-target-libiberty \ | |
606 | maybe-configure-target-gperf \ | |
607 | maybe-configure-target-examples \ | |
608 | maybe-configure-target-libffi \ | |
609 | maybe-configure-target-libjava \ | |
610 | maybe-configure-target-zlib \ | |
611 | maybe-configure-target-boehm-gc \ | |
612 | maybe-configure-target-qthreads \ | |
613 | maybe-configure-target-rda | |
252b5132 | 614 | |
252b5132 RH |
615 | # The target built for a native build. |
616 | .PHONY: all.normal | |
dd12c3a8 NN |
617 | all.normal: @all_build_modules@ all-host all-target |
618 | ||
619 | .PHONY: all-host | |
620 | all-host: maybe-all-gcc \ | |
621 | maybe-all-ash \ | |
622 | maybe-all-autoconf \ | |
623 | maybe-all-automake \ | |
624 | maybe-all-bash \ | |
625 | maybe-all-bfd \ | |
626 | maybe-all-opcodes \ | |
627 | maybe-all-binutils \ | |
628 | maybe-all-bison \ | |
629 | maybe-all-byacc \ | |
630 | maybe-all-bzip2 \ | |
631 | maybe-all-dejagnu \ | |
632 | maybe-all-diff \ | |
633 | maybe-all-dosutils \ | |
634 | maybe-all-etc \ | |
635 | maybe-all-fastjar \ | |
636 | maybe-all-fileutils \ | |
637 | maybe-all-findutils \ | |
638 | maybe-all-find \ | |
639 | maybe-all-flex \ | |
640 | maybe-all-gas \ | |
641 | maybe-all-gawk \ | |
642 | maybe-all-gettext \ | |
643 | maybe-all-gnuserv \ | |
644 | maybe-all-gprof \ | |
645 | maybe-all-gzip \ | |
646 | maybe-all-hello \ | |
647 | maybe-all-indent \ | |
648 | maybe-all-intl \ | |
649 | maybe-all-tcl \ | |
650 | maybe-all-itcl \ | |
651 | maybe-all-ld \ | |
652 | maybe-all-libgui \ | |
653 | maybe-all-libiberty \ | |
654 | maybe-all-libtool \ | |
655 | maybe-all-m4 \ | |
656 | maybe-all-make \ | |
657 | maybe-all-mmalloc \ | |
658 | maybe-all-patch \ | |
659 | maybe-all-perl \ | |
660 | maybe-all-prms \ | |
661 | maybe-all-rcs \ | |
662 | maybe-all-readline \ | |
663 | maybe-all-release \ | |
664 | maybe-all-recode \ | |
665 | maybe-all-sed \ | |
666 | maybe-all-send-pr \ | |
667 | maybe-all-shellutils \ | |
668 | maybe-all-sid \ | |
669 | maybe-all-sim \ | |
670 | maybe-all-tar \ | |
671 | maybe-all-texinfo \ | |
672 | maybe-all-textutils \ | |
673 | maybe-all-time \ | |
674 | maybe-all-uudecode \ | |
675 | maybe-all-wdiff \ | |
676 | maybe-all-zip \ | |
677 | maybe-all-zlib \ | |
678 | maybe-all-gdb \ | |
679 | maybe-all-expect \ | |
680 | maybe-all-guile \ | |
681 | maybe-all-tk \ | |
682 | maybe-all-tix \ | |
683 | maybe-all-libtermcap \ | |
684 | maybe-all-utils | |
685 | .PHONY: all-target | |
686 | all-target: \ | |
687 | maybe-all-target-libstdc++-v3 \ | |
688 | maybe-all-target-newlib \ | |
689 | maybe-all-target-libf2c \ | |
690 | maybe-all-target-libobjc \ | |
691 | maybe-all-target-libtermcap \ | |
692 | maybe-all-target-winsup \ | |
693 | maybe-all-target-libgloss \ | |
694 | maybe-all-target-libiberty \ | |
695 | maybe-all-target-gperf \ | |
696 | maybe-all-target-examples \ | |
697 | maybe-all-target-libffi \ | |
698 | maybe-all-target-libjava \ | |
699 | maybe-all-target-zlib \ | |
700 | maybe-all-target-boehm-gc \ | |
701 | maybe-all-target-qthreads \ | |
702 | maybe-all-target-rda | |
252b5132 RH |
703 | |
704 | # Do a target for all the subdirectories. A ``make do-X'' will do a | |
705 | # ``make X'' in all subdirectories (because, in general, there is a | |
706 | # dependency (below) of X upon do-X, a ``make X'' will also do this, | |
707 | # but it may do additional work as well). | |
e393202e | 708 | |
2a4cbe27 NN |
709 | .PHONY: do-info |
710 | do-info: info-host info-target | |
e393202e | 711 | |
2a4cbe27 NN |
712 | .PHONY: info-host |
713 | info-host: maybe-info-gcc \ | |
714 | maybe-info-ash \ | |
715 | maybe-info-autoconf \ | |
716 | maybe-info-automake \ | |
717 | maybe-info-bash \ | |
718 | maybe-info-bfd \ | |
719 | maybe-info-opcodes \ | |
720 | maybe-info-binutils \ | |
721 | maybe-info-bison \ | |
722 | maybe-info-byacc \ | |
723 | maybe-info-bzip2 \ | |
724 | maybe-info-dejagnu \ | |
725 | maybe-info-diff \ | |
726 | maybe-info-dosutils \ | |
727 | maybe-info-etc \ | |
728 | maybe-info-fastjar \ | |
729 | maybe-info-fileutils \ | |
730 | maybe-info-findutils \ | |
731 | maybe-info-find \ | |
732 | maybe-info-flex \ | |
733 | maybe-info-gas \ | |
734 | maybe-info-gawk \ | |
735 | maybe-info-gettext \ | |
736 | maybe-info-gnuserv \ | |
737 | maybe-info-gprof \ | |
738 | maybe-info-gzip \ | |
739 | maybe-info-hello \ | |
740 | maybe-info-indent \ | |
741 | maybe-info-intl \ | |
742 | maybe-info-tcl \ | |
743 | maybe-info-itcl \ | |
744 | maybe-info-ld \ | |
745 | maybe-info-libgui \ | |
746 | maybe-info-libiberty \ | |
747 | maybe-info-libtool \ | |
748 | maybe-info-m4 \ | |
749 | maybe-info-make \ | |
750 | maybe-info-mmalloc \ | |
751 | maybe-info-patch \ | |
752 | maybe-info-perl \ | |
753 | maybe-info-prms \ | |
754 | maybe-info-rcs \ | |
755 | maybe-info-readline \ | |
756 | maybe-info-release \ | |
757 | maybe-info-recode \ | |
758 | maybe-info-sed \ | |
759 | maybe-info-send-pr \ | |
760 | maybe-info-shellutils \ | |
761 | maybe-info-sid \ | |
762 | maybe-info-sim \ | |
763 | maybe-info-tar \ | |
764 | maybe-info-texinfo \ | |
765 | maybe-info-textutils \ | |
766 | maybe-info-time \ | |
767 | maybe-info-uudecode \ | |
768 | maybe-info-wdiff \ | |
769 | maybe-info-zip \ | |
770 | maybe-info-zlib \ | |
771 | maybe-info-gdb \ | |
772 | maybe-info-expect \ | |
773 | maybe-info-guile \ | |
774 | maybe-info-tk \ | |
775 | maybe-info-tix \ | |
776 | maybe-info-libtermcap \ | |
777 | maybe-info-utils | |
252b5132 | 778 | |
2a4cbe27 NN |
779 | .PHONY: info-target |
780 | info-target: \ | |
781 | maybe-info-target-libstdc++-v3 \ | |
782 | maybe-info-target-newlib \ | |
783 | maybe-info-target-libf2c \ | |
784 | maybe-info-target-libobjc \ | |
785 | maybe-info-target-libtermcap \ | |
786 | maybe-info-target-winsup \ | |
787 | maybe-info-target-libgloss \ | |
788 | maybe-info-target-libiberty \ | |
789 | maybe-info-target-gperf \ | |
790 | maybe-info-target-examples \ | |
791 | maybe-info-target-libffi \ | |
792 | maybe-info-target-libjava \ | |
793 | maybe-info-target-zlib \ | |
794 | maybe-info-target-boehm-gc \ | |
795 | maybe-info-target-qthreads \ | |
796 | maybe-info-target-rda | |
252b5132 | 797 | |
2a4cbe27 NN |
798 | # GCC, the eternal special case |
799 | .PHONY: maybe-info-gcc info-gcc | |
800 | maybe-info-gcc: | |
801 | info-gcc: \ | |
802 | configure-gcc | |
803 | @[ -f ./gcc/Makefile ] || exit 0; \ | |
b40e3958 L |
804 | r=`${PWD_COMMAND}`; export r; \ |
805 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
806 | $(SET_LIB_PATH) \ |
807 | for flag in $(EXTRA_GCC_FLAGS); do \ | |
808 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
809 | done; \ | |
810 | echo "Doing info in gcc" ; \ | |
811 | (cd gcc && \ | |
812 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
813 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
814 | "RANLIB=$${RANLIB}" \ | |
815 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
816 | info) \ | |
817 | || exit 1 | |
252b5132 | 818 | |
2a4cbe27 | 819 | # Host modules. |
252b5132 | 820 | |
2a4cbe27 NN |
821 | .PHONY: maybe-info-ash info-ash |
822 | maybe-info-ash: | |
252b5132 | 823 | |
2a4cbe27 NN |
824 | info-ash: \ |
825 | configure-ash | |
826 | @[ -f ./ash/Makefile ] || exit 0; \ | |
b40e3958 L |
827 | r=`${PWD_COMMAND}`; export r; \ |
828 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
829 | $(SET_LIB_PATH) \ |
830 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
831 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
832 | done; \ | |
833 | echo "Doing info in ash" ; \ | |
834 | (cd ash && \ | |
835 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
836 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
837 | "RANLIB=$${RANLIB}" \ | |
838 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
839 | info) \ | |
840 | || exit 1 | |
252b5132 | 841 | |
e393202e | 842 | |
2a4cbe27 NN |
843 | .PHONY: maybe-info-autoconf info-autoconf |
844 | maybe-info-autoconf: | |
e393202e | 845 | |
2a4cbe27 NN |
846 | info-autoconf: \ |
847 | configure-autoconf | |
848 | @[ -f ./autoconf/Makefile ] || exit 0; \ | |
b40e3958 L |
849 | r=`${PWD_COMMAND}`; export r; \ |
850 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
851 | $(SET_LIB_PATH) \ |
852 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
853 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
854 | done; \ | |
855 | echo "Doing info in autoconf" ; \ | |
856 | (cd autoconf && \ | |
857 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
858 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
859 | "RANLIB=$${RANLIB}" \ | |
860 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
861 | info) \ | |
862 | || exit 1 | |
e393202e NN |
863 | |
864 | ||
2a4cbe27 NN |
865 | .PHONY: maybe-info-automake info-automake |
866 | maybe-info-automake: | |
e393202e | 867 | |
2a4cbe27 NN |
868 | info-automake: \ |
869 | configure-automake | |
870 | @[ -f ./automake/Makefile ] || exit 0; \ | |
b40e3958 L |
871 | r=`${PWD_COMMAND}`; export r; \ |
872 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
873 | $(SET_LIB_PATH) \ |
874 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
875 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
876 | done; \ | |
877 | echo "Doing info in automake" ; \ | |
878 | (cd automake && \ | |
879 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
880 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
881 | "RANLIB=$${RANLIB}" \ | |
882 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
883 | info) \ | |
884 | || exit 1 | |
e393202e | 885 | |
e393202e | 886 | |
2a4cbe27 NN |
887 | .PHONY: maybe-info-bash info-bash |
888 | maybe-info-bash: | |
889 | ||
890 | info-bash: \ | |
891 | configure-bash | |
892 | @[ -f ./bash/Makefile ] || exit 0; \ | |
b40e3958 L |
893 | r=`${PWD_COMMAND}`; export r; \ |
894 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
895 | $(SET_LIB_PATH) \ |
896 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
897 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
898 | done; \ | |
899 | echo "Doing info in bash" ; \ | |
900 | (cd bash && \ | |
901 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
902 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
903 | "RANLIB=$${RANLIB}" \ | |
904 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
905 | info) \ | |
906 | || exit 1 | |
e393202e | 907 | |
e393202e | 908 | |
2a4cbe27 NN |
909 | .PHONY: maybe-info-bfd info-bfd |
910 | maybe-info-bfd: | |
252b5132 | 911 | |
2a4cbe27 NN |
912 | info-bfd: \ |
913 | configure-bfd | |
914 | @[ -f ./bfd/Makefile ] || exit 0; \ | |
b40e3958 L |
915 | r=`${PWD_COMMAND}`; export r; \ |
916 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
917 | $(SET_LIB_PATH) \ |
918 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
919 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
920 | done; \ | |
921 | echo "Doing info in bfd" ; \ | |
922 | (cd bfd && \ | |
923 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
924 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
925 | "RANLIB=$${RANLIB}" \ | |
926 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
927 | info) \ | |
928 | || exit 1 | |
252b5132 | 929 | |
252b5132 | 930 | |
2a4cbe27 NN |
931 | .PHONY: maybe-info-opcodes info-opcodes |
932 | maybe-info-opcodes: | |
933 | ||
934 | info-opcodes: \ | |
935 | configure-opcodes | |
936 | @[ -f ./opcodes/Makefile ] || exit 0; \ | |
b40e3958 L |
937 | r=`${PWD_COMMAND}`; export r; \ |
938 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
939 | $(SET_LIB_PATH) \ |
940 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
941 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
942 | done; \ | |
943 | echo "Doing info in opcodes" ; \ | |
944 | (cd opcodes && \ | |
945 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
946 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
947 | "RANLIB=$${RANLIB}" \ | |
948 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
949 | info) \ | |
950 | || exit 1 | |
951 | ||
952 | ||
953 | .PHONY: maybe-info-binutils info-binutils | |
954 | maybe-info-binutils: | |
955 | ||
956 | info-binutils: \ | |
957 | configure-binutils | |
958 | @[ -f ./binutils/Makefile ] || exit 0; \ | |
b40e3958 L |
959 | r=`${PWD_COMMAND}`; export r; \ |
960 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
961 | $(SET_LIB_PATH) \ |
962 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
963 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
964 | done; \ | |
965 | echo "Doing info in binutils" ; \ | |
966 | (cd binutils && \ | |
967 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
968 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
969 | "RANLIB=$${RANLIB}" \ | |
970 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
971 | info) \ | |
972 | || exit 1 | |
973 | ||
974 | ||
975 | .PHONY: maybe-info-bison info-bison | |
976 | maybe-info-bison: | |
977 | ||
978 | info-bison: \ | |
979 | configure-bison | |
980 | @[ -f ./bison/Makefile ] || exit 0; \ | |
b40e3958 L |
981 | r=`${PWD_COMMAND}`; export r; \ |
982 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
983 | $(SET_LIB_PATH) \ |
984 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
985 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
986 | done; \ | |
987 | echo "Doing info in bison" ; \ | |
988 | (cd bison && \ | |
989 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
990 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
991 | "RANLIB=$${RANLIB}" \ | |
992 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
993 | info) \ | |
994 | || exit 1 | |
995 | ||
996 | ||
997 | .PHONY: maybe-info-byacc info-byacc | |
998 | maybe-info-byacc: | |
999 | ||
1000 | info-byacc: \ | |
1001 | configure-byacc | |
1002 | @[ -f ./byacc/Makefile ] || exit 0; \ | |
b40e3958 L |
1003 | r=`${PWD_COMMAND}`; export r; \ |
1004 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1005 | $(SET_LIB_PATH) \ |
1006 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1007 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1008 | done; \ | |
1009 | echo "Doing info in byacc" ; \ | |
1010 | (cd byacc && \ | |
1011 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1012 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1013 | "RANLIB=$${RANLIB}" \ | |
1014 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1015 | info) \ | |
1016 | || exit 1 | |
1017 | ||
1018 | ||
1019 | .PHONY: maybe-info-bzip2 info-bzip2 | |
1020 | maybe-info-bzip2: | |
1021 | ||
1022 | info-bzip2: \ | |
1023 | configure-bzip2 | |
1024 | @[ -f ./bzip2/Makefile ] || exit 0; \ | |
b40e3958 L |
1025 | r=`${PWD_COMMAND}`; export r; \ |
1026 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1027 | $(SET_LIB_PATH) \ |
1028 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1029 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1030 | done; \ | |
1031 | echo "Doing info in bzip2" ; \ | |
1032 | (cd bzip2 && \ | |
1033 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1034 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1035 | "RANLIB=$${RANLIB}" \ | |
1036 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1037 | info) \ | |
1038 | || exit 1 | |
1039 | ||
1040 | ||
1041 | .PHONY: maybe-info-dejagnu info-dejagnu | |
1042 | maybe-info-dejagnu: | |
1043 | ||
1044 | info-dejagnu: \ | |
1045 | configure-dejagnu | |
1046 | @[ -f ./dejagnu/Makefile ] || exit 0; \ | |
b40e3958 L |
1047 | r=`${PWD_COMMAND}`; export r; \ |
1048 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1049 | $(SET_LIB_PATH) \ |
1050 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1051 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1052 | done; \ | |
1053 | echo "Doing info in dejagnu" ; \ | |
1054 | (cd dejagnu && \ | |
1055 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1056 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1057 | "RANLIB=$${RANLIB}" \ | |
1058 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1059 | info) \ | |
1060 | || exit 1 | |
1061 | ||
1062 | ||
1063 | .PHONY: maybe-info-diff info-diff | |
1064 | maybe-info-diff: | |
1065 | ||
1066 | info-diff: \ | |
1067 | configure-diff | |
1068 | @[ -f ./diff/Makefile ] || exit 0; \ | |
b40e3958 L |
1069 | r=`${PWD_COMMAND}`; export r; \ |
1070 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1071 | $(SET_LIB_PATH) \ |
1072 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1073 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1074 | done; \ | |
1075 | echo "Doing info in diff" ; \ | |
1076 | (cd diff && \ | |
1077 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1078 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1079 | "RANLIB=$${RANLIB}" \ | |
1080 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1081 | info) \ | |
1082 | || exit 1 | |
1083 | ||
1084 | ||
1085 | .PHONY: maybe-info-dosutils info-dosutils | |
1086 | maybe-info-dosutils: | |
1087 | ||
1088 | info-dosutils: \ | |
1089 | configure-dosutils | |
1090 | @[ -f ./dosutils/Makefile ] || exit 0; \ | |
b40e3958 L |
1091 | r=`${PWD_COMMAND}`; export r; \ |
1092 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1093 | $(SET_LIB_PATH) \ |
1094 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1095 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1096 | done; \ | |
1097 | echo "Doing info in dosutils" ; \ | |
1098 | (cd dosutils && \ | |
1099 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1100 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1101 | "RANLIB=$${RANLIB}" \ | |
1102 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1103 | info) \ | |
1104 | || exit 1 | |
1105 | ||
1106 | ||
1107 | .PHONY: maybe-info-etc info-etc | |
1108 | maybe-info-etc: | |
1109 | ||
1110 | info-etc: \ | |
1111 | configure-etc | |
1112 | @[ -f ./etc/Makefile ] || exit 0; \ | |
b40e3958 L |
1113 | r=`${PWD_COMMAND}`; export r; \ |
1114 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1115 | $(SET_LIB_PATH) \ |
1116 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1117 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1118 | done; \ | |
1119 | echo "Doing info in etc" ; \ | |
1120 | (cd etc && \ | |
1121 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1122 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1123 | "RANLIB=$${RANLIB}" \ | |
1124 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1125 | info) \ | |
1126 | || exit 1 | |
1127 | ||
1128 | ||
1129 | .PHONY: maybe-info-fastjar info-fastjar | |
1130 | maybe-info-fastjar: | |
1131 | ||
1132 | info-fastjar: \ | |
1133 | configure-fastjar | |
1134 | @[ -f ./fastjar/Makefile ] || exit 0; \ | |
b40e3958 L |
1135 | r=`${PWD_COMMAND}`; export r; \ |
1136 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1137 | $(SET_LIB_PATH) \ |
1138 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1139 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1140 | done; \ | |
1141 | echo "Doing info in fastjar" ; \ | |
1142 | (cd fastjar && \ | |
1143 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1144 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1145 | "RANLIB=$${RANLIB}" \ | |
1146 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1147 | info) \ | |
1148 | || exit 1 | |
1149 | ||
1150 | ||
1151 | .PHONY: maybe-info-fileutils info-fileutils | |
1152 | maybe-info-fileutils: | |
1153 | ||
1154 | info-fileutils: \ | |
1155 | configure-fileutils | |
1156 | @[ -f ./fileutils/Makefile ] || exit 0; \ | |
b40e3958 L |
1157 | r=`${PWD_COMMAND}`; export r; \ |
1158 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1159 | $(SET_LIB_PATH) \ |
1160 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1161 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1162 | done; \ | |
1163 | echo "Doing info in fileutils" ; \ | |
1164 | (cd fileutils && \ | |
1165 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1166 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1167 | "RANLIB=$${RANLIB}" \ | |
1168 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1169 | info) \ | |
1170 | || exit 1 | |
1171 | ||
1172 | ||
1173 | .PHONY: maybe-info-findutils info-findutils | |
1174 | maybe-info-findutils: | |
1175 | ||
1176 | info-findutils: \ | |
1177 | configure-findutils | |
1178 | @[ -f ./findutils/Makefile ] || exit 0; \ | |
b40e3958 L |
1179 | r=`${PWD_COMMAND}`; export r; \ |
1180 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1181 | $(SET_LIB_PATH) \ |
1182 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1183 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1184 | done; \ | |
1185 | echo "Doing info in findutils" ; \ | |
1186 | (cd findutils && \ | |
1187 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1188 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1189 | "RANLIB=$${RANLIB}" \ | |
1190 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1191 | info) \ | |
1192 | || exit 1 | |
1193 | ||
1194 | ||
1195 | .PHONY: maybe-info-find info-find | |
1196 | maybe-info-find: | |
1197 | ||
1198 | info-find: \ | |
1199 | configure-find | |
1200 | @[ -f ./find/Makefile ] || exit 0; \ | |
b40e3958 L |
1201 | r=`${PWD_COMMAND}`; export r; \ |
1202 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1203 | $(SET_LIB_PATH) \ |
1204 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1205 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1206 | done; \ | |
1207 | echo "Doing info in find" ; \ | |
1208 | (cd find && \ | |
1209 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1210 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1211 | "RANLIB=$${RANLIB}" \ | |
1212 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1213 | info) \ | |
1214 | || exit 1 | |
1215 | ||
1216 | ||
1217 | .PHONY: maybe-info-flex info-flex | |
1218 | maybe-info-flex: | |
1219 | ||
1220 | info-flex: \ | |
1221 | configure-flex | |
1222 | @[ -f ./flex/Makefile ] || exit 0; \ | |
b40e3958 L |
1223 | r=`${PWD_COMMAND}`; export r; \ |
1224 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1225 | $(SET_LIB_PATH) \ |
1226 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1227 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1228 | done; \ | |
1229 | echo "Doing info in flex" ; \ | |
1230 | (cd flex && \ | |
1231 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1232 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1233 | "RANLIB=$${RANLIB}" \ | |
1234 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1235 | info) \ | |
1236 | || exit 1 | |
1237 | ||
1238 | ||
1239 | .PHONY: maybe-info-gas info-gas | |
1240 | maybe-info-gas: | |
1241 | ||
1242 | info-gas: \ | |
1243 | configure-gas | |
1244 | @[ -f ./gas/Makefile ] || exit 0; \ | |
b40e3958 L |
1245 | r=`${PWD_COMMAND}`; export r; \ |
1246 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1247 | $(SET_LIB_PATH) \ |
1248 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1249 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1250 | done; \ | |
1251 | echo "Doing info in gas" ; \ | |
1252 | (cd gas && \ | |
1253 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1254 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1255 | "RANLIB=$${RANLIB}" \ | |
1256 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1257 | info) \ | |
1258 | || exit 1 | |
1259 | ||
1260 | ||
1261 | .PHONY: maybe-info-gawk info-gawk | |
1262 | maybe-info-gawk: | |
1263 | ||
1264 | info-gawk: \ | |
1265 | configure-gawk | |
1266 | @[ -f ./gawk/Makefile ] || exit 0; \ | |
b40e3958 L |
1267 | r=`${PWD_COMMAND}`; export r; \ |
1268 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1269 | $(SET_LIB_PATH) \ |
1270 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1271 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1272 | done; \ | |
1273 | echo "Doing info in gawk" ; \ | |
1274 | (cd gawk && \ | |
1275 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1276 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1277 | "RANLIB=$${RANLIB}" \ | |
1278 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1279 | info) \ | |
1280 | || exit 1 | |
1281 | ||
1282 | ||
1283 | .PHONY: maybe-info-gettext info-gettext | |
1284 | maybe-info-gettext: | |
1285 | ||
1286 | info-gettext: \ | |
1287 | configure-gettext | |
1288 | @[ -f ./gettext/Makefile ] || exit 0; \ | |
b40e3958 L |
1289 | r=`${PWD_COMMAND}`; export r; \ |
1290 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1291 | $(SET_LIB_PATH) \ |
1292 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1293 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1294 | done; \ | |
1295 | echo "Doing info in gettext" ; \ | |
1296 | (cd gettext && \ | |
1297 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1298 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1299 | "RANLIB=$${RANLIB}" \ | |
1300 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1301 | info) \ | |
1302 | || exit 1 | |
1303 | ||
1304 | ||
1305 | .PHONY: maybe-info-gnuserv info-gnuserv | |
1306 | maybe-info-gnuserv: | |
1307 | ||
1308 | info-gnuserv: \ | |
1309 | configure-gnuserv | |
1310 | @[ -f ./gnuserv/Makefile ] || exit 0; \ | |
b40e3958 L |
1311 | r=`${PWD_COMMAND}`; export r; \ |
1312 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1313 | $(SET_LIB_PATH) \ |
1314 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1315 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1316 | done; \ | |
1317 | echo "Doing info in gnuserv" ; \ | |
1318 | (cd gnuserv && \ | |
1319 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1320 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1321 | "RANLIB=$${RANLIB}" \ | |
1322 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1323 | info) \ | |
1324 | || exit 1 | |
1325 | ||
1326 | ||
1327 | .PHONY: maybe-info-gprof info-gprof | |
1328 | maybe-info-gprof: | |
1329 | ||
1330 | info-gprof: \ | |
1331 | configure-gprof | |
1332 | @[ -f ./gprof/Makefile ] || exit 0; \ | |
b40e3958 L |
1333 | r=`${PWD_COMMAND}`; export r; \ |
1334 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1335 | $(SET_LIB_PATH) \ |
1336 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1337 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1338 | done; \ | |
1339 | echo "Doing info in gprof" ; \ | |
1340 | (cd gprof && \ | |
1341 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1342 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1343 | "RANLIB=$${RANLIB}" \ | |
1344 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1345 | info) \ | |
1346 | || exit 1 | |
1347 | ||
1348 | ||
1349 | .PHONY: maybe-info-gzip info-gzip | |
1350 | maybe-info-gzip: | |
1351 | ||
1352 | info-gzip: \ | |
1353 | configure-gzip | |
1354 | @[ -f ./gzip/Makefile ] || exit 0; \ | |
b40e3958 L |
1355 | r=`${PWD_COMMAND}`; export r; \ |
1356 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1357 | $(SET_LIB_PATH) \ |
1358 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1359 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1360 | done; \ | |
1361 | echo "Doing info in gzip" ; \ | |
1362 | (cd gzip && \ | |
1363 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1364 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1365 | "RANLIB=$${RANLIB}" \ | |
1366 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1367 | info) \ | |
1368 | || exit 1 | |
1369 | ||
1370 | ||
1371 | .PHONY: maybe-info-hello info-hello | |
1372 | maybe-info-hello: | |
1373 | ||
1374 | info-hello: \ | |
1375 | configure-hello | |
1376 | @[ -f ./hello/Makefile ] || exit 0; \ | |
b40e3958 L |
1377 | r=`${PWD_COMMAND}`; export r; \ |
1378 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1379 | $(SET_LIB_PATH) \ |
1380 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1381 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1382 | done; \ | |
1383 | echo "Doing info in hello" ; \ | |
1384 | (cd hello && \ | |
1385 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1386 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1387 | "RANLIB=$${RANLIB}" \ | |
1388 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1389 | info) \ | |
1390 | || exit 1 | |
1391 | ||
1392 | ||
1393 | .PHONY: maybe-info-indent info-indent | |
1394 | maybe-info-indent: | |
1395 | ||
1396 | info-indent: \ | |
1397 | configure-indent | |
1398 | @[ -f ./indent/Makefile ] || exit 0; \ | |
b40e3958 L |
1399 | r=`${PWD_COMMAND}`; export r; \ |
1400 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1401 | $(SET_LIB_PATH) \ |
1402 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1403 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1404 | done; \ | |
1405 | echo "Doing info in indent" ; \ | |
1406 | (cd indent && \ | |
1407 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1408 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1409 | "RANLIB=$${RANLIB}" \ | |
1410 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1411 | info) \ | |
1412 | || exit 1 | |
1413 | ||
1414 | ||
1415 | .PHONY: maybe-info-intl info-intl | |
1416 | maybe-info-intl: | |
1417 | ||
1418 | info-intl: \ | |
1419 | configure-intl | |
1420 | @[ -f ./intl/Makefile ] || exit 0; \ | |
b40e3958 L |
1421 | r=`${PWD_COMMAND}`; export r; \ |
1422 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1423 | $(SET_LIB_PATH) \ |
1424 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1425 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1426 | done; \ | |
1427 | echo "Doing info in intl" ; \ | |
1428 | (cd intl && \ | |
1429 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1430 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1431 | "RANLIB=$${RANLIB}" \ | |
1432 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1433 | info) \ | |
1434 | || exit 1 | |
1435 | ||
1436 | ||
1437 | .PHONY: maybe-info-tcl info-tcl | |
1438 | maybe-info-tcl: | |
1439 | ||
1440 | info-tcl: \ | |
1441 | configure-tcl | |
1442 | @[ -f ./tcl/Makefile ] || exit 0; \ | |
b40e3958 L |
1443 | r=`${PWD_COMMAND}`; export r; \ |
1444 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1445 | $(SET_LIB_PATH) \ |
1446 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1447 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1448 | done; \ | |
1449 | echo "Doing info in tcl" ; \ | |
1450 | (cd tcl && \ | |
1451 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1452 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1453 | "RANLIB=$${RANLIB}" \ | |
1454 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1455 | info) \ | |
1456 | || exit 1 | |
1457 | ||
1458 | ||
1459 | .PHONY: maybe-info-itcl info-itcl | |
1460 | maybe-info-itcl: | |
1461 | ||
1462 | info-itcl: \ | |
1463 | configure-itcl | |
1464 | @[ -f ./itcl/Makefile ] || exit 0; \ | |
b40e3958 L |
1465 | r=`${PWD_COMMAND}`; export r; \ |
1466 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1467 | $(SET_LIB_PATH) \ |
1468 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1469 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1470 | done; \ | |
1471 | echo "Doing info in itcl" ; \ | |
1472 | (cd itcl && \ | |
1473 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1474 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1475 | "RANLIB=$${RANLIB}" \ | |
1476 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1477 | info) \ | |
1478 | || exit 1 | |
1479 | ||
1480 | ||
1481 | .PHONY: maybe-info-ld info-ld | |
1482 | maybe-info-ld: | |
1483 | ||
1484 | info-ld: \ | |
1485 | configure-ld | |
1486 | @[ -f ./ld/Makefile ] || exit 0; \ | |
b40e3958 L |
1487 | r=`${PWD_COMMAND}`; export r; \ |
1488 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1489 | $(SET_LIB_PATH) \ |
1490 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1491 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1492 | done; \ | |
1493 | echo "Doing info in ld" ; \ | |
1494 | (cd ld && \ | |
1495 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1496 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1497 | "RANLIB=$${RANLIB}" \ | |
1498 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1499 | info) \ | |
1500 | || exit 1 | |
1501 | ||
1502 | ||
1503 | .PHONY: maybe-info-libgui info-libgui | |
1504 | maybe-info-libgui: | |
1505 | ||
1506 | info-libgui: \ | |
1507 | configure-libgui | |
1508 | @[ -f ./libgui/Makefile ] || exit 0; \ | |
b40e3958 L |
1509 | r=`${PWD_COMMAND}`; export r; \ |
1510 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1511 | $(SET_LIB_PATH) \ |
1512 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1513 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1514 | done; \ | |
1515 | echo "Doing info in libgui" ; \ | |
1516 | (cd libgui && \ | |
1517 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1518 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1519 | "RANLIB=$${RANLIB}" \ | |
1520 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1521 | info) \ | |
1522 | || exit 1 | |
1523 | ||
1524 | ||
1525 | .PHONY: maybe-info-libiberty info-libiberty | |
1526 | maybe-info-libiberty: | |
1527 | ||
1528 | info-libiberty: \ | |
1529 | configure-libiberty | |
1530 | @[ -f ./libiberty/Makefile ] || exit 0; \ | |
b40e3958 L |
1531 | r=`${PWD_COMMAND}`; export r; \ |
1532 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1533 | $(SET_LIB_PATH) \ |
1534 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1535 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1536 | done; \ | |
1537 | echo "Doing info in libiberty" ; \ | |
1538 | (cd libiberty && \ | |
1539 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1540 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1541 | "RANLIB=$${RANLIB}" \ | |
1542 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1543 | info) \ | |
1544 | || exit 1 | |
1545 | ||
1546 | ||
1547 | .PHONY: maybe-info-libtool info-libtool | |
1548 | maybe-info-libtool: | |
1549 | ||
1550 | info-libtool: \ | |
1551 | configure-libtool | |
1552 | @[ -f ./libtool/Makefile ] || exit 0; \ | |
b40e3958 L |
1553 | r=`${PWD_COMMAND}`; export r; \ |
1554 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1555 | $(SET_LIB_PATH) \ |
1556 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1557 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1558 | done; \ | |
1559 | echo "Doing info in libtool" ; \ | |
1560 | (cd libtool && \ | |
1561 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1562 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1563 | "RANLIB=$${RANLIB}" \ | |
1564 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1565 | info) \ | |
1566 | || exit 1 | |
1567 | ||
1568 | ||
1569 | .PHONY: maybe-info-m4 info-m4 | |
1570 | maybe-info-m4: | |
1571 | ||
1572 | info-m4: \ | |
1573 | configure-m4 | |
1574 | @[ -f ./m4/Makefile ] || exit 0; \ | |
b40e3958 L |
1575 | r=`${PWD_COMMAND}`; export r; \ |
1576 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1577 | $(SET_LIB_PATH) \ |
1578 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1579 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1580 | done; \ | |
1581 | echo "Doing info in m4" ; \ | |
1582 | (cd m4 && \ | |
1583 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1584 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1585 | "RANLIB=$${RANLIB}" \ | |
1586 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1587 | info) \ | |
1588 | || exit 1 | |
1589 | ||
1590 | ||
1591 | .PHONY: maybe-info-make info-make | |
1592 | maybe-info-make: | |
1593 | ||
1594 | info-make: \ | |
1595 | configure-make | |
1596 | @[ -f ./make/Makefile ] || exit 0; \ | |
b40e3958 L |
1597 | r=`${PWD_COMMAND}`; export r; \ |
1598 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1599 | $(SET_LIB_PATH) \ |
1600 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1601 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1602 | done; \ | |
1603 | echo "Doing info in make" ; \ | |
1604 | (cd make && \ | |
1605 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1606 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1607 | "RANLIB=$${RANLIB}" \ | |
1608 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1609 | info) \ | |
1610 | || exit 1 | |
1611 | ||
1612 | ||
1613 | .PHONY: maybe-info-mmalloc info-mmalloc | |
1614 | maybe-info-mmalloc: | |
1615 | ||
1616 | info-mmalloc: \ | |
1617 | configure-mmalloc | |
1618 | @[ -f ./mmalloc/Makefile ] || exit 0; \ | |
b40e3958 L |
1619 | r=`${PWD_COMMAND}`; export r; \ |
1620 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1621 | $(SET_LIB_PATH) \ |
1622 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1623 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1624 | done; \ | |
1625 | echo "Doing info in mmalloc" ; \ | |
1626 | (cd mmalloc && \ | |
1627 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1628 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1629 | "RANLIB=$${RANLIB}" \ | |
1630 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1631 | info) \ | |
1632 | || exit 1 | |
1633 | ||
1634 | ||
1635 | .PHONY: maybe-info-patch info-patch | |
1636 | maybe-info-patch: | |
1637 | ||
1638 | info-patch: \ | |
1639 | configure-patch | |
1640 | @[ -f ./patch/Makefile ] || exit 0; \ | |
b40e3958 L |
1641 | r=`${PWD_COMMAND}`; export r; \ |
1642 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1643 | $(SET_LIB_PATH) \ |
1644 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1645 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1646 | done; \ | |
1647 | echo "Doing info in patch" ; \ | |
1648 | (cd patch && \ | |
1649 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1650 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1651 | "RANLIB=$${RANLIB}" \ | |
1652 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1653 | info) \ | |
1654 | || exit 1 | |
1655 | ||
1656 | ||
1657 | .PHONY: maybe-info-perl info-perl | |
1658 | maybe-info-perl: | |
1659 | ||
1660 | info-perl: \ | |
1661 | configure-perl | |
1662 | @[ -f ./perl/Makefile ] || exit 0; \ | |
b40e3958 L |
1663 | r=`${PWD_COMMAND}`; export r; \ |
1664 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1665 | $(SET_LIB_PATH) \ |
1666 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1667 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1668 | done; \ | |
1669 | echo "Doing info in perl" ; \ | |
1670 | (cd perl && \ | |
1671 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1672 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1673 | "RANLIB=$${RANLIB}" \ | |
1674 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1675 | info) \ | |
1676 | || exit 1 | |
1677 | ||
1678 | ||
1679 | .PHONY: maybe-info-prms info-prms | |
1680 | maybe-info-prms: | |
1681 | ||
1682 | info-prms: \ | |
1683 | configure-prms | |
1684 | @[ -f ./prms/Makefile ] || exit 0; \ | |
b40e3958 L |
1685 | r=`${PWD_COMMAND}`; export r; \ |
1686 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1687 | $(SET_LIB_PATH) \ |
1688 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1689 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1690 | done; \ | |
1691 | echo "Doing info in prms" ; \ | |
1692 | (cd prms && \ | |
1693 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1694 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1695 | "RANLIB=$${RANLIB}" \ | |
1696 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1697 | info) \ | |
1698 | || exit 1 | |
1699 | ||
1700 | ||
1701 | .PHONY: maybe-info-rcs info-rcs | |
1702 | maybe-info-rcs: | |
1703 | ||
1704 | info-rcs: \ | |
1705 | configure-rcs | |
1706 | @[ -f ./rcs/Makefile ] || exit 0; \ | |
b40e3958 L |
1707 | r=`${PWD_COMMAND}`; export r; \ |
1708 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1709 | $(SET_LIB_PATH) \ |
1710 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1711 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1712 | done; \ | |
1713 | echo "Doing info in rcs" ; \ | |
1714 | (cd rcs && \ | |
1715 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1716 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1717 | "RANLIB=$${RANLIB}" \ | |
1718 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1719 | info) \ | |
1720 | || exit 1 | |
1721 | ||
1722 | ||
1723 | .PHONY: maybe-info-readline info-readline | |
1724 | maybe-info-readline: | |
1725 | ||
1726 | info-readline: \ | |
1727 | configure-readline | |
1728 | @[ -f ./readline/Makefile ] || exit 0; \ | |
b40e3958 L |
1729 | r=`${PWD_COMMAND}`; export r; \ |
1730 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1731 | $(SET_LIB_PATH) \ |
1732 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1733 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1734 | done; \ | |
1735 | echo "Doing info in readline" ; \ | |
1736 | (cd readline && \ | |
1737 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1738 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1739 | "RANLIB=$${RANLIB}" \ | |
1740 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1741 | info) \ | |
1742 | || exit 1 | |
1743 | ||
1744 | ||
1745 | .PHONY: maybe-info-release info-release | |
1746 | maybe-info-release: | |
1747 | ||
1748 | info-release: \ | |
1749 | configure-release | |
1750 | @[ -f ./release/Makefile ] || exit 0; \ | |
b40e3958 L |
1751 | r=`${PWD_COMMAND}`; export r; \ |
1752 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1753 | $(SET_LIB_PATH) \ |
1754 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1755 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1756 | done; \ | |
1757 | echo "Doing info in release" ; \ | |
1758 | (cd release && \ | |
1759 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1760 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1761 | "RANLIB=$${RANLIB}" \ | |
1762 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1763 | info) \ | |
1764 | || exit 1 | |
1765 | ||
1766 | ||
1767 | .PHONY: maybe-info-recode info-recode | |
1768 | maybe-info-recode: | |
1769 | ||
1770 | info-recode: \ | |
1771 | configure-recode | |
1772 | @[ -f ./recode/Makefile ] || exit 0; \ | |
b40e3958 L |
1773 | r=`${PWD_COMMAND}`; export r; \ |
1774 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1775 | $(SET_LIB_PATH) \ |
1776 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1777 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1778 | done; \ | |
1779 | echo "Doing info in recode" ; \ | |
1780 | (cd recode && \ | |
1781 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1782 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1783 | "RANLIB=$${RANLIB}" \ | |
1784 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1785 | info) \ | |
1786 | || exit 1 | |
1787 | ||
1788 | ||
1789 | .PHONY: maybe-info-sed info-sed | |
1790 | maybe-info-sed: | |
1791 | ||
1792 | info-sed: \ | |
1793 | configure-sed | |
1794 | @[ -f ./sed/Makefile ] || exit 0; \ | |
b40e3958 L |
1795 | r=`${PWD_COMMAND}`; export r; \ |
1796 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1797 | $(SET_LIB_PATH) \ |
1798 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1799 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1800 | done; \ | |
1801 | echo "Doing info in sed" ; \ | |
1802 | (cd sed && \ | |
1803 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1804 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1805 | "RANLIB=$${RANLIB}" \ | |
1806 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1807 | info) \ | |
1808 | || exit 1 | |
1809 | ||
1810 | ||
1811 | .PHONY: maybe-info-send-pr info-send-pr | |
1812 | maybe-info-send-pr: | |
1813 | ||
1814 | info-send-pr: \ | |
1815 | configure-send-pr | |
1816 | @[ -f ./send-pr/Makefile ] || exit 0; \ | |
b40e3958 L |
1817 | r=`${PWD_COMMAND}`; export r; \ |
1818 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1819 | $(SET_LIB_PATH) \ |
1820 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1821 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1822 | done; \ | |
1823 | echo "Doing info in send-pr" ; \ | |
1824 | (cd send-pr && \ | |
1825 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1826 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1827 | "RANLIB=$${RANLIB}" \ | |
1828 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1829 | info) \ | |
1830 | || exit 1 | |
1831 | ||
1832 | ||
1833 | .PHONY: maybe-info-shellutils info-shellutils | |
1834 | maybe-info-shellutils: | |
1835 | ||
1836 | info-shellutils: \ | |
1837 | configure-shellutils | |
1838 | @[ -f ./shellutils/Makefile ] || exit 0; \ | |
b40e3958 L |
1839 | r=`${PWD_COMMAND}`; export r; \ |
1840 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1841 | $(SET_LIB_PATH) \ |
1842 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1843 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1844 | done; \ | |
1845 | echo "Doing info in shellutils" ; \ | |
1846 | (cd shellutils && \ | |
1847 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1848 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1849 | "RANLIB=$${RANLIB}" \ | |
1850 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1851 | info) \ | |
1852 | || exit 1 | |
1853 | ||
1854 | ||
1855 | .PHONY: maybe-info-sid info-sid | |
1856 | maybe-info-sid: | |
1857 | ||
1858 | info-sid: \ | |
1859 | configure-sid | |
1860 | @[ -f ./sid/Makefile ] || exit 0; \ | |
b40e3958 L |
1861 | r=`${PWD_COMMAND}`; export r; \ |
1862 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1863 | $(SET_LIB_PATH) \ |
1864 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1865 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1866 | done; \ | |
1867 | echo "Doing info in sid" ; \ | |
1868 | (cd sid && \ | |
1869 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1870 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1871 | "RANLIB=$${RANLIB}" \ | |
1872 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1873 | info) \ | |
1874 | || exit 1 | |
1875 | ||
1876 | ||
1877 | .PHONY: maybe-info-sim info-sim | |
1878 | maybe-info-sim: | |
1879 | ||
1880 | info-sim: \ | |
1881 | configure-sim | |
1882 | @[ -f ./sim/Makefile ] || exit 0; \ | |
b40e3958 L |
1883 | r=`${PWD_COMMAND}`; export r; \ |
1884 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1885 | $(SET_LIB_PATH) \ |
1886 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1887 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1888 | done; \ | |
1889 | echo "Doing info in sim" ; \ | |
1890 | (cd sim && \ | |
1891 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1892 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1893 | "RANLIB=$${RANLIB}" \ | |
1894 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1895 | info) \ | |
1896 | || exit 1 | |
1897 | ||
1898 | ||
1899 | .PHONY: maybe-info-tar info-tar | |
1900 | maybe-info-tar: | |
1901 | ||
1902 | info-tar: \ | |
1903 | configure-tar | |
1904 | @[ -f ./tar/Makefile ] || exit 0; \ | |
b40e3958 L |
1905 | r=`${PWD_COMMAND}`; export r; \ |
1906 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1907 | $(SET_LIB_PATH) \ |
1908 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1909 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1910 | done; \ | |
1911 | echo "Doing info in tar" ; \ | |
1912 | (cd tar && \ | |
1913 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1914 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1915 | "RANLIB=$${RANLIB}" \ | |
1916 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1917 | info) \ | |
1918 | || exit 1 | |
1919 | ||
1920 | ||
1921 | .PHONY: maybe-info-texinfo info-texinfo | |
1922 | maybe-info-texinfo: | |
1923 | ||
1924 | info-texinfo: \ | |
1925 | configure-texinfo | |
1926 | @[ -f ./texinfo/Makefile ] || exit 0; \ | |
b40e3958 L |
1927 | r=`${PWD_COMMAND}`; export r; \ |
1928 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1929 | $(SET_LIB_PATH) \ |
1930 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1931 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1932 | done; \ | |
1933 | echo "Doing info in texinfo" ; \ | |
1934 | (cd texinfo && \ | |
1935 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1936 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1937 | "RANLIB=$${RANLIB}" \ | |
1938 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1939 | info) \ | |
1940 | || exit 1 | |
1941 | ||
1942 | ||
1943 | .PHONY: maybe-info-textutils info-textutils | |
1944 | maybe-info-textutils: | |
1945 | ||
1946 | info-textutils: \ | |
1947 | configure-textutils | |
1948 | @[ -f ./textutils/Makefile ] || exit 0; \ | |
b40e3958 L |
1949 | r=`${PWD_COMMAND}`; export r; \ |
1950 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1951 | $(SET_LIB_PATH) \ |
1952 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1953 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1954 | done; \ | |
1955 | echo "Doing info in textutils" ; \ | |
1956 | (cd textutils && \ | |
1957 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1958 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1959 | "RANLIB=$${RANLIB}" \ | |
1960 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1961 | info) \ | |
1962 | || exit 1 | |
1963 | ||
1964 | ||
1965 | .PHONY: maybe-info-time info-time | |
1966 | maybe-info-time: | |
1967 | ||
1968 | info-time: \ | |
1969 | configure-time | |
1970 | @[ -f ./time/Makefile ] || exit 0; \ | |
b40e3958 L |
1971 | r=`${PWD_COMMAND}`; export r; \ |
1972 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1973 | $(SET_LIB_PATH) \ |
1974 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1975 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1976 | done; \ | |
1977 | echo "Doing info in time" ; \ | |
1978 | (cd time && \ | |
1979 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1980 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1981 | "RANLIB=$${RANLIB}" \ | |
1982 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1983 | info) \ | |
1984 | || exit 1 | |
1985 | ||
1986 | ||
1987 | .PHONY: maybe-info-uudecode info-uudecode | |
1988 | maybe-info-uudecode: | |
1989 | ||
1990 | info-uudecode: \ | |
1991 | configure-uudecode | |
1992 | @[ -f ./uudecode/Makefile ] || exit 0; \ | |
b40e3958 L |
1993 | r=`${PWD_COMMAND}`; export r; \ |
1994 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1995 | $(SET_LIB_PATH) \ |
1996 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1997 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1998 | done; \ | |
1999 | echo "Doing info in uudecode" ; \ | |
2000 | (cd uudecode && \ | |
2001 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2002 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2003 | "RANLIB=$${RANLIB}" \ | |
2004 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2005 | info) \ | |
2006 | || exit 1 | |
2007 | ||
2008 | ||
2009 | .PHONY: maybe-info-wdiff info-wdiff | |
2010 | maybe-info-wdiff: | |
2011 | ||
2012 | info-wdiff: \ | |
2013 | configure-wdiff | |
2014 | @[ -f ./wdiff/Makefile ] || exit 0; \ | |
b40e3958 L |
2015 | r=`${PWD_COMMAND}`; export r; \ |
2016 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2017 | $(SET_LIB_PATH) \ |
2018 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2019 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2020 | done; \ | |
2021 | echo "Doing info in wdiff" ; \ | |
2022 | (cd wdiff && \ | |
2023 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2024 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2025 | "RANLIB=$${RANLIB}" \ | |
2026 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2027 | info) \ | |
2028 | || exit 1 | |
2029 | ||
2030 | ||
2031 | .PHONY: maybe-info-zip info-zip | |
2032 | maybe-info-zip: | |
2033 | ||
2034 | info-zip: \ | |
2035 | configure-zip | |
2036 | @[ -f ./zip/Makefile ] || exit 0; \ | |
b40e3958 L |
2037 | r=`${PWD_COMMAND}`; export r; \ |
2038 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2039 | $(SET_LIB_PATH) \ |
2040 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2041 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2042 | done; \ | |
2043 | echo "Doing info in zip" ; \ | |
2044 | (cd zip && \ | |
2045 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2046 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2047 | "RANLIB=$${RANLIB}" \ | |
2048 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2049 | info) \ | |
2050 | || exit 1 | |
2051 | ||
2052 | ||
2053 | .PHONY: maybe-info-zlib info-zlib | |
2054 | maybe-info-zlib: | |
2055 | ||
2056 | info-zlib: \ | |
2057 | configure-zlib | |
2058 | @[ -f ./zlib/Makefile ] || exit 0; \ | |
b40e3958 L |
2059 | r=`${PWD_COMMAND}`; export r; \ |
2060 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2061 | $(SET_LIB_PATH) \ |
2062 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2063 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2064 | done; \ | |
2065 | echo "Doing info in zlib" ; \ | |
2066 | (cd zlib && \ | |
2067 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2068 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2069 | "RANLIB=$${RANLIB}" \ | |
2070 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2071 | info) \ | |
2072 | || exit 1 | |
2073 | ||
2074 | ||
2075 | .PHONY: maybe-info-gdb info-gdb | |
2076 | maybe-info-gdb: | |
2077 | ||
2078 | info-gdb: \ | |
2079 | configure-gdb | |
2080 | @[ -f ./gdb/Makefile ] || exit 0; \ | |
b40e3958 L |
2081 | r=`${PWD_COMMAND}`; export r; \ |
2082 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2083 | $(SET_LIB_PATH) \ |
2084 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2085 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2086 | done; \ | |
2087 | echo "Doing info in gdb" ; \ | |
2088 | (cd gdb && \ | |
2089 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2090 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2091 | "RANLIB=$${RANLIB}" \ | |
2092 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2093 | info) \ | |
2094 | || exit 1 | |
2095 | ||
2096 | ||
2097 | .PHONY: maybe-info-expect info-expect | |
2098 | maybe-info-expect: | |
2099 | ||
2100 | info-expect: \ | |
2101 | configure-expect | |
2102 | @[ -f ./expect/Makefile ] || exit 0; \ | |
b40e3958 L |
2103 | r=`${PWD_COMMAND}`; export r; \ |
2104 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2105 | $(SET_LIB_PATH) \ |
2106 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2107 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2108 | done; \ | |
2109 | echo "Doing info in expect" ; \ | |
2110 | (cd expect && \ | |
2111 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2112 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2113 | "RANLIB=$${RANLIB}" \ | |
2114 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2115 | info) \ | |
2116 | || exit 1 | |
2117 | ||
2118 | ||
2119 | .PHONY: maybe-info-guile info-guile | |
2120 | maybe-info-guile: | |
2121 | ||
2122 | info-guile: \ | |
2123 | configure-guile | |
2124 | @[ -f ./guile/Makefile ] || exit 0; \ | |
b40e3958 L |
2125 | r=`${PWD_COMMAND}`; export r; \ |
2126 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2127 | $(SET_LIB_PATH) \ |
2128 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2129 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2130 | done; \ | |
2131 | echo "Doing info in guile" ; \ | |
2132 | (cd guile && \ | |
2133 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2134 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2135 | "RANLIB=$${RANLIB}" \ | |
2136 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2137 | info) \ | |
2138 | || exit 1 | |
2139 | ||
2140 | ||
2141 | .PHONY: maybe-info-tk info-tk | |
2142 | maybe-info-tk: | |
2143 | ||
2144 | info-tk: \ | |
2145 | configure-tk | |
2146 | @[ -f ./tk/Makefile ] || exit 0; \ | |
b40e3958 L |
2147 | r=`${PWD_COMMAND}`; export r; \ |
2148 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2149 | $(SET_LIB_PATH) \ |
2150 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2151 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2152 | done; \ | |
2153 | echo "Doing info in tk" ; \ | |
2154 | (cd tk && \ | |
2155 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2156 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2157 | "RANLIB=$${RANLIB}" \ | |
2158 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2159 | info) \ | |
2160 | || exit 1 | |
2161 | ||
2162 | ||
2163 | .PHONY: maybe-info-tix info-tix | |
2164 | maybe-info-tix: | |
2165 | ||
2166 | info-tix: \ | |
2167 | configure-tix | |
2168 | @[ -f ./tix/Makefile ] || exit 0; \ | |
b40e3958 L |
2169 | r=`${PWD_COMMAND}`; export r; \ |
2170 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2171 | $(SET_LIB_PATH) \ |
2172 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2173 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2174 | done; \ | |
2175 | echo "Doing info in tix" ; \ | |
2176 | (cd tix && \ | |
2177 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2178 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2179 | "RANLIB=$${RANLIB}" \ | |
2180 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2181 | info) \ | |
2182 | || exit 1 | |
2183 | ||
2184 | ||
2185 | .PHONY: maybe-info-libtermcap info-libtermcap | |
2186 | maybe-info-libtermcap: | |
2187 | ||
2188 | info-libtermcap: \ | |
2189 | configure-libtermcap | |
2190 | @[ -f ./libtermcap/Makefile ] || exit 0; \ | |
b40e3958 L |
2191 | r=`${PWD_COMMAND}`; export r; \ |
2192 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2193 | $(SET_LIB_PATH) \ |
2194 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2195 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2196 | done; \ | |
2197 | echo "Doing info in libtermcap" ; \ | |
2198 | (cd libtermcap && \ | |
2199 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2200 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2201 | "RANLIB=$${RANLIB}" \ | |
2202 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2203 | info) \ | |
2204 | || exit 1 | |
2205 | ||
2206 | ||
2207 | .PHONY: maybe-info-utils info-utils | |
2208 | maybe-info-utils: | |
2209 | ||
2210 | info-utils: \ | |
2211 | configure-utils | |
2212 | @[ -f ./utils/Makefile ] || exit 0; \ | |
b40e3958 L |
2213 | r=`${PWD_COMMAND}`; export r; \ |
2214 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2215 | $(SET_LIB_PATH) \ |
2216 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2217 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2218 | done; \ | |
2219 | echo "Doing info in utils" ; \ | |
2220 | (cd utils && \ | |
2221 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2222 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2223 | "RANLIB=$${RANLIB}" \ | |
2224 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2225 | info) \ | |
2226 | || exit 1 | |
2227 | ||
2228 | ||
2229 | ||
2230 | # Target modules. | |
2231 | ||
2232 | .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3 | |
2233 | maybe-info-target-libstdc++-v3: | |
2234 | ||
2235 | info-target-libstdc++-v3: \ | |
2236 | configure-target-libstdc++-v3 | |
2237 | @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ | |
b40e3958 L |
2238 | r=`${PWD_COMMAND}`; export r; \ |
2239 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2240 | $(SET_LIB_PATH) \ |
2241 | echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \ | |
2242 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2243 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2244 | done; \ | |
2245 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
2246 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2247 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2248 | "RANLIB=$${RANLIB}" \ | |
2249 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2250 | info) \ | |
2251 | || exit 1 | |
2252 | ||
2253 | ||
2254 | .PHONY: maybe-info-target-newlib info-target-newlib | |
2255 | maybe-info-target-newlib: | |
2256 | ||
2257 | info-target-newlib: \ | |
2258 | configure-target-newlib | |
2259 | @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
2260 | r=`${PWD_COMMAND}`; export r; \ |
2261 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2262 | $(SET_LIB_PATH) \ |
2263 | echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \ | |
2264 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2265 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2266 | done; \ | |
2267 | (cd $(TARGET_SUBDIR)/newlib && \ | |
2268 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2269 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2270 | "RANLIB=$${RANLIB}" \ | |
2271 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2272 | info) \ | |
2273 | || exit 1 | |
2274 | ||
2275 | ||
2276 | .PHONY: maybe-info-target-libf2c info-target-libf2c | |
2277 | maybe-info-target-libf2c: | |
2278 | ||
2279 | info-target-libf2c: \ | |
2280 | configure-target-libf2c | |
2281 | @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \ | |
b40e3958 L |
2282 | r=`${PWD_COMMAND}`; export r; \ |
2283 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2284 | $(SET_LIB_PATH) \ |
2285 | echo "Doing info in $(TARGET_SUBDIR)/libf2c" ; \ | |
2286 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2287 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2288 | done; \ | |
2289 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
2290 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2291 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2292 | "RANLIB=$${RANLIB}" \ | |
2293 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2294 | info) \ | |
2295 | || exit 1 | |
2296 | ||
2297 | ||
2298 | .PHONY: maybe-info-target-libobjc info-target-libobjc | |
2299 | maybe-info-target-libobjc: | |
2300 | ||
2301 | info-target-libobjc: \ | |
2302 | configure-target-libobjc | |
2303 | @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
2304 | r=`${PWD_COMMAND}`; export r; \ |
2305 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2306 | $(SET_LIB_PATH) \ |
2307 | echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \ | |
2308 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2309 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2310 | done; \ | |
2311 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
2312 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2313 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2314 | "RANLIB=$${RANLIB}" \ | |
2315 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2316 | info) \ | |
2317 | || exit 1 | |
2318 | ||
2319 | ||
2320 | .PHONY: maybe-info-target-libtermcap info-target-libtermcap | |
2321 | maybe-info-target-libtermcap: | |
2322 | ||
2323 | info-target-libtermcap: \ | |
2324 | configure-target-libtermcap | |
2325 | @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ | |
b40e3958 L |
2326 | r=`${PWD_COMMAND}`; export r; \ |
2327 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2328 | $(SET_LIB_PATH) \ |
2329 | echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \ | |
2330 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2331 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2332 | done; \ | |
2333 | (cd $(TARGET_SUBDIR)/libtermcap && \ | |
2334 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2335 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2336 | "RANLIB=$${RANLIB}" \ | |
2337 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2338 | info) \ | |
2339 | || exit 1 | |
2340 | ||
2341 | ||
2342 | .PHONY: maybe-info-target-winsup info-target-winsup | |
2343 | maybe-info-target-winsup: | |
2344 | ||
2345 | info-target-winsup: \ | |
2346 | configure-target-winsup | |
2347 | @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ | |
b40e3958 L |
2348 | r=`${PWD_COMMAND}`; export r; \ |
2349 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2350 | $(SET_LIB_PATH) \ |
2351 | echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \ | |
2352 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2353 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2354 | done; \ | |
2355 | (cd $(TARGET_SUBDIR)/winsup && \ | |
2356 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2357 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2358 | "RANLIB=$${RANLIB}" \ | |
2359 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2360 | info) \ | |
2361 | || exit 1 | |
2362 | ||
2363 | ||
2364 | .PHONY: maybe-info-target-libgloss info-target-libgloss | |
2365 | maybe-info-target-libgloss: | |
2366 | ||
2367 | info-target-libgloss: \ | |
2368 | configure-target-libgloss | |
2369 | @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ | |
b40e3958 L |
2370 | r=`${PWD_COMMAND}`; export r; \ |
2371 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2372 | $(SET_LIB_PATH) \ |
2373 | echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \ | |
2374 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2375 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2376 | done; \ | |
2377 | (cd $(TARGET_SUBDIR)/libgloss && \ | |
2378 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2379 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2380 | "RANLIB=$${RANLIB}" \ | |
2381 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2382 | info) \ | |
2383 | || exit 1 | |
2384 | ||
2385 | ||
2386 | .PHONY: maybe-info-target-libiberty info-target-libiberty | |
2387 | maybe-info-target-libiberty: | |
2388 | ||
2389 | info-target-libiberty: \ | |
2390 | configure-target-libiberty | |
2391 | @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ | |
b40e3958 L |
2392 | r=`${PWD_COMMAND}`; export r; \ |
2393 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2394 | $(SET_LIB_PATH) \ |
2395 | echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \ | |
2396 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2397 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2398 | done; \ | |
2399 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
2400 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2401 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2402 | "RANLIB=$${RANLIB}" \ | |
2403 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2404 | info) \ | |
2405 | || exit 1 | |
2406 | ||
2407 | ||
2408 | .PHONY: maybe-info-target-gperf info-target-gperf | |
2409 | maybe-info-target-gperf: | |
2410 | ||
2411 | info-target-gperf: \ | |
2412 | configure-target-gperf | |
2413 | @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ | |
b40e3958 L |
2414 | r=`${PWD_COMMAND}`; export r; \ |
2415 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2416 | $(SET_LIB_PATH) \ |
2417 | echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \ | |
2418 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2419 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2420 | done; \ | |
2421 | (cd $(TARGET_SUBDIR)/gperf && \ | |
2422 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2423 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2424 | "RANLIB=$${RANLIB}" \ | |
2425 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2426 | info) \ | |
2427 | || exit 1 | |
2428 | ||
2429 | ||
2430 | .PHONY: maybe-info-target-examples info-target-examples | |
2431 | maybe-info-target-examples: | |
2432 | ||
2433 | info-target-examples: \ | |
2434 | configure-target-examples | |
2435 | @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ | |
b40e3958 L |
2436 | r=`${PWD_COMMAND}`; export r; \ |
2437 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2438 | $(SET_LIB_PATH) \ |
2439 | echo "Doing info in $(TARGET_SUBDIR)/examples" ; \ | |
2440 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2441 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2442 | done; \ | |
2443 | (cd $(TARGET_SUBDIR)/examples && \ | |
2444 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2445 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2446 | "RANLIB=$${RANLIB}" \ | |
2447 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2448 | info) \ | |
2449 | || exit 1 | |
2450 | ||
2451 | ||
2452 | .PHONY: maybe-info-target-libffi info-target-libffi | |
2453 | maybe-info-target-libffi: | |
2454 | ||
2455 | info-target-libffi: \ | |
2456 | configure-target-libffi | |
2457 | @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ | |
b40e3958 L |
2458 | r=`${PWD_COMMAND}`; export r; \ |
2459 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2460 | $(SET_LIB_PATH) \ |
2461 | echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \ | |
2462 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2463 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2464 | done; \ | |
2465 | (cd $(TARGET_SUBDIR)/libffi && \ | |
2466 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2467 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2468 | "RANLIB=$${RANLIB}" \ | |
2469 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2470 | info) \ | |
2471 | || exit 1 | |
2472 | ||
2473 | ||
2474 | .PHONY: maybe-info-target-libjava info-target-libjava | |
2475 | maybe-info-target-libjava: | |
2476 | ||
2477 | info-target-libjava: \ | |
2478 | configure-target-libjava | |
2479 | @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ | |
b40e3958 L |
2480 | r=`${PWD_COMMAND}`; export r; \ |
2481 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2482 | $(SET_LIB_PATH) \ |
2483 | echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \ | |
2484 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2485 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2486 | done; \ | |
2487 | (cd $(TARGET_SUBDIR)/libjava && \ | |
2488 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2489 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2490 | "RANLIB=$${RANLIB}" \ | |
2491 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2492 | info) \ | |
2493 | || exit 1 | |
2494 | ||
2495 | ||
2496 | .PHONY: maybe-info-target-zlib info-target-zlib | |
2497 | maybe-info-target-zlib: | |
2498 | ||
2499 | info-target-zlib: \ | |
2500 | configure-target-zlib | |
2501 | @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
2502 | r=`${PWD_COMMAND}`; export r; \ |
2503 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2504 | $(SET_LIB_PATH) \ |
2505 | echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \ | |
2506 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2507 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2508 | done; \ | |
2509 | (cd $(TARGET_SUBDIR)/zlib && \ | |
2510 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2511 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2512 | "RANLIB=$${RANLIB}" \ | |
2513 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2514 | info) \ | |
2515 | || exit 1 | |
2516 | ||
2517 | ||
2518 | .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc | |
2519 | maybe-info-target-boehm-gc: | |
2520 | ||
2521 | info-target-boehm-gc: \ | |
2522 | configure-target-boehm-gc | |
2523 | @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
2524 | r=`${PWD_COMMAND}`; export r; \ |
2525 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2526 | $(SET_LIB_PATH) \ |
2527 | echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \ | |
2528 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2529 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2530 | done; \ | |
2531 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
2532 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2533 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2534 | "RANLIB=$${RANLIB}" \ | |
2535 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2536 | info) \ | |
2537 | || exit 1 | |
2538 | ||
2539 | ||
2540 | .PHONY: maybe-info-target-qthreads info-target-qthreads | |
2541 | maybe-info-target-qthreads: | |
2542 | ||
2543 | info-target-qthreads: \ | |
2544 | configure-target-qthreads | |
2545 | @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ | |
b40e3958 L |
2546 | r=`${PWD_COMMAND}`; export r; \ |
2547 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2548 | $(SET_LIB_PATH) \ |
2549 | echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \ | |
2550 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2551 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2552 | done; \ | |
2553 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
2554 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2555 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2556 | "RANLIB=$${RANLIB}" \ | |
2557 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2558 | info) \ | |
2559 | || exit 1 | |
2560 | ||
2561 | ||
2562 | .PHONY: maybe-info-target-rda info-target-rda | |
2563 | maybe-info-target-rda: | |
2564 | ||
2565 | info-target-rda: \ | |
2566 | configure-target-rda | |
2567 | @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ | |
b40e3958 L |
2568 | r=`${PWD_COMMAND}`; export r; \ |
2569 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2570 | $(SET_LIB_PATH) \ |
2571 | echo "Doing info in $(TARGET_SUBDIR)/rda" ; \ | |
2572 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2573 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2574 | done; \ | |
2575 | (cd $(TARGET_SUBDIR)/rda && \ | |
2576 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2577 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2578 | "RANLIB=$${RANLIB}" \ | |
2579 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2580 | info) \ | |
2581 | || exit 1 | |
2582 | ||
2583 | ||
2584 | ||
2585 | .PHONY: do-dvi | |
2586 | do-dvi: dvi-host dvi-target | |
2587 | ||
2588 | .PHONY: dvi-host | |
2589 | dvi-host: maybe-dvi-gcc \ | |
2590 | maybe-dvi-ash \ | |
2591 | maybe-dvi-autoconf \ | |
2592 | maybe-dvi-automake \ | |
2593 | maybe-dvi-bash \ | |
2594 | maybe-dvi-bfd \ | |
2595 | maybe-dvi-opcodes \ | |
2596 | maybe-dvi-binutils \ | |
2597 | maybe-dvi-bison \ | |
2598 | maybe-dvi-byacc \ | |
2599 | maybe-dvi-bzip2 \ | |
2600 | maybe-dvi-dejagnu \ | |
2601 | maybe-dvi-diff \ | |
2602 | maybe-dvi-dosutils \ | |
2603 | maybe-dvi-etc \ | |
2604 | maybe-dvi-fastjar \ | |
2605 | maybe-dvi-fileutils \ | |
2606 | maybe-dvi-findutils \ | |
2607 | maybe-dvi-find \ | |
2608 | maybe-dvi-flex \ | |
2609 | maybe-dvi-gas \ | |
2610 | maybe-dvi-gawk \ | |
2611 | maybe-dvi-gettext \ | |
2612 | maybe-dvi-gnuserv \ | |
2613 | maybe-dvi-gprof \ | |
2614 | maybe-dvi-gzip \ | |
2615 | maybe-dvi-hello \ | |
2616 | maybe-dvi-indent \ | |
2617 | maybe-dvi-intl \ | |
2618 | maybe-dvi-tcl \ | |
2619 | maybe-dvi-itcl \ | |
2620 | maybe-dvi-ld \ | |
2621 | maybe-dvi-libgui \ | |
2622 | maybe-dvi-libiberty \ | |
2623 | maybe-dvi-libtool \ | |
2624 | maybe-dvi-m4 \ | |
2625 | maybe-dvi-make \ | |
2626 | maybe-dvi-mmalloc \ | |
2627 | maybe-dvi-patch \ | |
2628 | maybe-dvi-perl \ | |
2629 | maybe-dvi-prms \ | |
2630 | maybe-dvi-rcs \ | |
2631 | maybe-dvi-readline \ | |
2632 | maybe-dvi-release \ | |
2633 | maybe-dvi-recode \ | |
2634 | maybe-dvi-sed \ | |
2635 | maybe-dvi-send-pr \ | |
2636 | maybe-dvi-shellutils \ | |
2637 | maybe-dvi-sid \ | |
2638 | maybe-dvi-sim \ | |
2639 | maybe-dvi-tar \ | |
2640 | maybe-dvi-texinfo \ | |
2641 | maybe-dvi-textutils \ | |
2642 | maybe-dvi-time \ | |
2643 | maybe-dvi-uudecode \ | |
2644 | maybe-dvi-wdiff \ | |
2645 | maybe-dvi-zip \ | |
2646 | maybe-dvi-zlib \ | |
2647 | maybe-dvi-gdb \ | |
2648 | maybe-dvi-expect \ | |
2649 | maybe-dvi-guile \ | |
2650 | maybe-dvi-tk \ | |
2651 | maybe-dvi-tix \ | |
2652 | maybe-dvi-libtermcap \ | |
2653 | maybe-dvi-utils | |
2654 | ||
2655 | .PHONY: dvi-target | |
2656 | dvi-target: \ | |
2657 | maybe-dvi-target-libstdc++-v3 \ | |
2658 | maybe-dvi-target-newlib \ | |
2659 | maybe-dvi-target-libf2c \ | |
2660 | maybe-dvi-target-libobjc \ | |
2661 | maybe-dvi-target-libtermcap \ | |
2662 | maybe-dvi-target-winsup \ | |
2663 | maybe-dvi-target-libgloss \ | |
2664 | maybe-dvi-target-libiberty \ | |
2665 | maybe-dvi-target-gperf \ | |
2666 | maybe-dvi-target-examples \ | |
2667 | maybe-dvi-target-libffi \ | |
2668 | maybe-dvi-target-libjava \ | |
2669 | maybe-dvi-target-zlib \ | |
2670 | maybe-dvi-target-boehm-gc \ | |
2671 | maybe-dvi-target-qthreads \ | |
2672 | maybe-dvi-target-rda | |
2673 | ||
2674 | # GCC, the eternal special case | |
2675 | .PHONY: maybe-dvi-gcc dvi-gcc | |
2676 | maybe-dvi-gcc: | |
2677 | dvi-gcc: \ | |
2678 | configure-gcc | |
2679 | @[ -f ./gcc/Makefile ] || exit 0; \ | |
b40e3958 L |
2680 | r=`${PWD_COMMAND}`; export r; \ |
2681 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2682 | $(SET_LIB_PATH) \ |
2683 | for flag in $(EXTRA_GCC_FLAGS); do \ | |
2684 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2685 | done; \ | |
2686 | echo "Doing dvi in gcc" ; \ | |
2687 | (cd gcc && \ | |
2688 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2689 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2690 | "RANLIB=$${RANLIB}" \ | |
2691 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2692 | dvi) \ | |
2693 | || exit 1 | |
2694 | ||
2695 | # Host modules. | |
2696 | ||
2697 | .PHONY: maybe-dvi-ash dvi-ash | |
2698 | maybe-dvi-ash: | |
2699 | ||
2700 | dvi-ash: \ | |
2701 | configure-ash | |
2702 | @[ -f ./ash/Makefile ] || exit 0; \ | |
b40e3958 L |
2703 | r=`${PWD_COMMAND}`; export r; \ |
2704 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2705 | $(SET_LIB_PATH) \ |
2706 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2707 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2708 | done; \ | |
2709 | echo "Doing dvi in ash" ; \ | |
2710 | (cd ash && \ | |
2711 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2712 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2713 | "RANLIB=$${RANLIB}" \ | |
2714 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2715 | dvi) \ | |
2716 | || exit 1 | |
2717 | ||
2718 | ||
2719 | .PHONY: maybe-dvi-autoconf dvi-autoconf | |
2720 | maybe-dvi-autoconf: | |
2721 | ||
2722 | dvi-autoconf: \ | |
2723 | configure-autoconf | |
2724 | @[ -f ./autoconf/Makefile ] || exit 0; \ | |
b40e3958 L |
2725 | r=`${PWD_COMMAND}`; export r; \ |
2726 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2727 | $(SET_LIB_PATH) \ |
2728 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2729 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2730 | done; \ | |
2731 | echo "Doing dvi in autoconf" ; \ | |
2732 | (cd autoconf && \ | |
2733 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2734 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2735 | "RANLIB=$${RANLIB}" \ | |
2736 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2737 | dvi) \ | |
2738 | || exit 1 | |
2739 | ||
2740 | ||
2741 | .PHONY: maybe-dvi-automake dvi-automake | |
2742 | maybe-dvi-automake: | |
2743 | ||
2744 | dvi-automake: \ | |
2745 | configure-automake | |
2746 | @[ -f ./automake/Makefile ] || exit 0; \ | |
b40e3958 L |
2747 | r=`${PWD_COMMAND}`; export r; \ |
2748 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2749 | $(SET_LIB_PATH) \ |
2750 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2751 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2752 | done; \ | |
2753 | echo "Doing dvi in automake" ; \ | |
2754 | (cd automake && \ | |
2755 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2756 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2757 | "RANLIB=$${RANLIB}" \ | |
2758 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2759 | dvi) \ | |
2760 | || exit 1 | |
2761 | ||
2762 | ||
2763 | .PHONY: maybe-dvi-bash dvi-bash | |
2764 | maybe-dvi-bash: | |
2765 | ||
2766 | dvi-bash: \ | |
2767 | configure-bash | |
2768 | @[ -f ./bash/Makefile ] || exit 0; \ | |
b40e3958 L |
2769 | r=`${PWD_COMMAND}`; export r; \ |
2770 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2771 | $(SET_LIB_PATH) \ |
2772 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2773 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2774 | done; \ | |
2775 | echo "Doing dvi in bash" ; \ | |
2776 | (cd bash && \ | |
2777 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2778 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2779 | "RANLIB=$${RANLIB}" \ | |
2780 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2781 | dvi) \ | |
2782 | || exit 1 | |
2783 | ||
2784 | ||
2785 | .PHONY: maybe-dvi-bfd dvi-bfd | |
2786 | maybe-dvi-bfd: | |
2787 | ||
2788 | dvi-bfd: \ | |
2789 | configure-bfd | |
2790 | @[ -f ./bfd/Makefile ] || exit 0; \ | |
b40e3958 L |
2791 | r=`${PWD_COMMAND}`; export r; \ |
2792 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2793 | $(SET_LIB_PATH) \ |
2794 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2795 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2796 | done; \ | |
2797 | echo "Doing dvi in bfd" ; \ | |
2798 | (cd bfd && \ | |
2799 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2800 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2801 | "RANLIB=$${RANLIB}" \ | |
2802 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2803 | dvi) \ | |
2804 | || exit 1 | |
2805 | ||
2806 | ||
2807 | .PHONY: maybe-dvi-opcodes dvi-opcodes | |
2808 | maybe-dvi-opcodes: | |
2809 | ||
2810 | dvi-opcodes: \ | |
2811 | configure-opcodes | |
2812 | @[ -f ./opcodes/Makefile ] || exit 0; \ | |
b40e3958 L |
2813 | r=`${PWD_COMMAND}`; export r; \ |
2814 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2815 | $(SET_LIB_PATH) \ |
2816 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2817 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2818 | done; \ | |
2819 | echo "Doing dvi in opcodes" ; \ | |
2820 | (cd opcodes && \ | |
2821 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2822 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2823 | "RANLIB=$${RANLIB}" \ | |
2824 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2825 | dvi) \ | |
2826 | || exit 1 | |
2827 | ||
2828 | ||
2829 | .PHONY: maybe-dvi-binutils dvi-binutils | |
2830 | maybe-dvi-binutils: | |
2831 | ||
2832 | dvi-binutils: \ | |
2833 | configure-binutils | |
2834 | @[ -f ./binutils/Makefile ] || exit 0; \ | |
b40e3958 L |
2835 | r=`${PWD_COMMAND}`; export r; \ |
2836 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2837 | $(SET_LIB_PATH) \ |
2838 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2839 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2840 | done; \ | |
2841 | echo "Doing dvi in binutils" ; \ | |
2842 | (cd binutils && \ | |
2843 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2844 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2845 | "RANLIB=$${RANLIB}" \ | |
2846 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2847 | dvi) \ | |
2848 | || exit 1 | |
2849 | ||
2850 | ||
2851 | .PHONY: maybe-dvi-bison dvi-bison | |
2852 | maybe-dvi-bison: | |
2853 | ||
2854 | dvi-bison: \ | |
2855 | configure-bison | |
2856 | @[ -f ./bison/Makefile ] || exit 0; \ | |
b40e3958 L |
2857 | r=`${PWD_COMMAND}`; export r; \ |
2858 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2859 | $(SET_LIB_PATH) \ |
2860 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2861 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2862 | done; \ | |
2863 | echo "Doing dvi in bison" ; \ | |
2864 | (cd bison && \ | |
2865 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2866 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2867 | "RANLIB=$${RANLIB}" \ | |
2868 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2869 | dvi) \ | |
2870 | || exit 1 | |
2871 | ||
2872 | ||
2873 | .PHONY: maybe-dvi-byacc dvi-byacc | |
2874 | maybe-dvi-byacc: | |
2875 | ||
2876 | dvi-byacc: \ | |
2877 | configure-byacc | |
2878 | @[ -f ./byacc/Makefile ] || exit 0; \ | |
b40e3958 L |
2879 | r=`${PWD_COMMAND}`; export r; \ |
2880 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2881 | $(SET_LIB_PATH) \ |
2882 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2883 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2884 | done; \ | |
2885 | echo "Doing dvi in byacc" ; \ | |
2886 | (cd byacc && \ | |
2887 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2888 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2889 | "RANLIB=$${RANLIB}" \ | |
2890 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2891 | dvi) \ | |
2892 | || exit 1 | |
2893 | ||
2894 | ||
2895 | .PHONY: maybe-dvi-bzip2 dvi-bzip2 | |
2896 | maybe-dvi-bzip2: | |
2897 | ||
2898 | dvi-bzip2: \ | |
2899 | configure-bzip2 | |
2900 | @[ -f ./bzip2/Makefile ] || exit 0; \ | |
b40e3958 L |
2901 | r=`${PWD_COMMAND}`; export r; \ |
2902 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2903 | $(SET_LIB_PATH) \ |
2904 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2905 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2906 | done; \ | |
2907 | echo "Doing dvi in bzip2" ; \ | |
2908 | (cd bzip2 && \ | |
2909 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2910 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2911 | "RANLIB=$${RANLIB}" \ | |
2912 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2913 | dvi) \ | |
2914 | || exit 1 | |
2915 | ||
2916 | ||
2917 | .PHONY: maybe-dvi-dejagnu dvi-dejagnu | |
2918 | maybe-dvi-dejagnu: | |
2919 | ||
2920 | dvi-dejagnu: \ | |
2921 | configure-dejagnu | |
2922 | @[ -f ./dejagnu/Makefile ] || exit 0; \ | |
b40e3958 L |
2923 | r=`${PWD_COMMAND}`; export r; \ |
2924 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2925 | $(SET_LIB_PATH) \ |
2926 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2927 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2928 | done; \ | |
2929 | echo "Doing dvi in dejagnu" ; \ | |
2930 | (cd dejagnu && \ | |
2931 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2932 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2933 | "RANLIB=$${RANLIB}" \ | |
2934 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2935 | dvi) \ | |
2936 | || exit 1 | |
2937 | ||
2938 | ||
2939 | .PHONY: maybe-dvi-diff dvi-diff | |
2940 | maybe-dvi-diff: | |
2941 | ||
2942 | dvi-diff: \ | |
2943 | configure-diff | |
2944 | @[ -f ./diff/Makefile ] || exit 0; \ | |
b40e3958 L |
2945 | r=`${PWD_COMMAND}`; export r; \ |
2946 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2947 | $(SET_LIB_PATH) \ |
2948 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2949 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2950 | done; \ | |
2951 | echo "Doing dvi in diff" ; \ | |
2952 | (cd diff && \ | |
2953 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2954 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2955 | "RANLIB=$${RANLIB}" \ | |
2956 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2957 | dvi) \ | |
2958 | || exit 1 | |
2959 | ||
2960 | ||
2961 | .PHONY: maybe-dvi-dosutils dvi-dosutils | |
2962 | maybe-dvi-dosutils: | |
2963 | ||
2964 | dvi-dosutils: \ | |
2965 | configure-dosutils | |
2966 | @[ -f ./dosutils/Makefile ] || exit 0; \ | |
b40e3958 L |
2967 | r=`${PWD_COMMAND}`; export r; \ |
2968 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2969 | $(SET_LIB_PATH) \ |
2970 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2971 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2972 | done; \ | |
2973 | echo "Doing dvi in dosutils" ; \ | |
2974 | (cd dosutils && \ | |
2975 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2976 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2977 | "RANLIB=$${RANLIB}" \ | |
2978 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2979 | dvi) \ | |
2980 | || exit 1 | |
2981 | ||
2982 | ||
2983 | .PHONY: maybe-dvi-etc dvi-etc | |
2984 | maybe-dvi-etc: | |
2985 | ||
2986 | dvi-etc: \ | |
2987 | configure-etc | |
2988 | @[ -f ./etc/Makefile ] || exit 0; \ | |
b40e3958 L |
2989 | r=`${PWD_COMMAND}`; export r; \ |
2990 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2991 | $(SET_LIB_PATH) \ |
2992 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2993 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2994 | done; \ | |
2995 | echo "Doing dvi in etc" ; \ | |
2996 | (cd etc && \ | |
2997 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2998 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2999 | "RANLIB=$${RANLIB}" \ | |
3000 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3001 | dvi) \ | |
3002 | || exit 1 | |
3003 | ||
3004 | ||
3005 | .PHONY: maybe-dvi-fastjar dvi-fastjar | |
3006 | maybe-dvi-fastjar: | |
3007 | ||
3008 | dvi-fastjar: \ | |
3009 | configure-fastjar | |
3010 | @[ -f ./fastjar/Makefile ] || exit 0; \ | |
b40e3958 L |
3011 | r=`${PWD_COMMAND}`; export r; \ |
3012 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3013 | $(SET_LIB_PATH) \ |
3014 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3015 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3016 | done; \ | |
3017 | echo "Doing dvi in fastjar" ; \ | |
3018 | (cd fastjar && \ | |
3019 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3020 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3021 | "RANLIB=$${RANLIB}" \ | |
3022 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3023 | dvi) \ | |
3024 | || exit 1 | |
3025 | ||
3026 | ||
3027 | .PHONY: maybe-dvi-fileutils dvi-fileutils | |
3028 | maybe-dvi-fileutils: | |
3029 | ||
3030 | dvi-fileutils: \ | |
3031 | configure-fileutils | |
3032 | @[ -f ./fileutils/Makefile ] || exit 0; \ | |
b40e3958 L |
3033 | r=`${PWD_COMMAND}`; export r; \ |
3034 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3035 | $(SET_LIB_PATH) \ |
3036 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3037 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3038 | done; \ | |
3039 | echo "Doing dvi in fileutils" ; \ | |
3040 | (cd fileutils && \ | |
3041 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3042 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3043 | "RANLIB=$${RANLIB}" \ | |
3044 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3045 | dvi) \ | |
3046 | || exit 1 | |
3047 | ||
3048 | ||
3049 | .PHONY: maybe-dvi-findutils dvi-findutils | |
3050 | maybe-dvi-findutils: | |
3051 | ||
3052 | dvi-findutils: \ | |
3053 | configure-findutils | |
3054 | @[ -f ./findutils/Makefile ] || exit 0; \ | |
b40e3958 L |
3055 | r=`${PWD_COMMAND}`; export r; \ |
3056 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3057 | $(SET_LIB_PATH) \ |
3058 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3059 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3060 | done; \ | |
3061 | echo "Doing dvi in findutils" ; \ | |
3062 | (cd findutils && \ | |
3063 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3064 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3065 | "RANLIB=$${RANLIB}" \ | |
3066 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3067 | dvi) \ | |
3068 | || exit 1 | |
3069 | ||
3070 | ||
3071 | .PHONY: maybe-dvi-find dvi-find | |
3072 | maybe-dvi-find: | |
3073 | ||
3074 | dvi-find: \ | |
3075 | configure-find | |
3076 | @[ -f ./find/Makefile ] || exit 0; \ | |
b40e3958 L |
3077 | r=`${PWD_COMMAND}`; export r; \ |
3078 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3079 | $(SET_LIB_PATH) \ |
3080 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3081 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3082 | done; \ | |
3083 | echo "Doing dvi in find" ; \ | |
3084 | (cd find && \ | |
3085 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3086 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3087 | "RANLIB=$${RANLIB}" \ | |
3088 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3089 | dvi) \ | |
3090 | || exit 1 | |
3091 | ||
3092 | ||
3093 | .PHONY: maybe-dvi-flex dvi-flex | |
3094 | maybe-dvi-flex: | |
3095 | ||
3096 | dvi-flex: \ | |
3097 | configure-flex | |
3098 | @[ -f ./flex/Makefile ] || exit 0; \ | |
b40e3958 L |
3099 | r=`${PWD_COMMAND}`; export r; \ |
3100 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3101 | $(SET_LIB_PATH) \ |
3102 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3103 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3104 | done; \ | |
3105 | echo "Doing dvi in flex" ; \ | |
3106 | (cd flex && \ | |
3107 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3108 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3109 | "RANLIB=$${RANLIB}" \ | |
3110 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3111 | dvi) \ | |
3112 | || exit 1 | |
3113 | ||
3114 | ||
3115 | .PHONY: maybe-dvi-gas dvi-gas | |
3116 | maybe-dvi-gas: | |
3117 | ||
3118 | dvi-gas: \ | |
3119 | configure-gas | |
3120 | @[ -f ./gas/Makefile ] || exit 0; \ | |
b40e3958 L |
3121 | r=`${PWD_COMMAND}`; export r; \ |
3122 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3123 | $(SET_LIB_PATH) \ |
3124 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3125 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3126 | done; \ | |
3127 | echo "Doing dvi in gas" ; \ | |
3128 | (cd gas && \ | |
3129 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3130 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3131 | "RANLIB=$${RANLIB}" \ | |
3132 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3133 | dvi) \ | |
3134 | || exit 1 | |
3135 | ||
3136 | ||
3137 | .PHONY: maybe-dvi-gawk dvi-gawk | |
3138 | maybe-dvi-gawk: | |
3139 | ||
3140 | dvi-gawk: \ | |
3141 | configure-gawk | |
3142 | @[ -f ./gawk/Makefile ] || exit 0; \ | |
b40e3958 L |
3143 | r=`${PWD_COMMAND}`; export r; \ |
3144 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3145 | $(SET_LIB_PATH) \ |
3146 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3147 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3148 | done; \ | |
3149 | echo "Doing dvi in gawk" ; \ | |
3150 | (cd gawk && \ | |
3151 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3152 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3153 | "RANLIB=$${RANLIB}" \ | |
3154 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3155 | dvi) \ | |
3156 | || exit 1 | |
3157 | ||
3158 | ||
3159 | .PHONY: maybe-dvi-gettext dvi-gettext | |
3160 | maybe-dvi-gettext: | |
3161 | ||
3162 | dvi-gettext: \ | |
3163 | configure-gettext | |
3164 | @[ -f ./gettext/Makefile ] || exit 0; \ | |
b40e3958 L |
3165 | r=`${PWD_COMMAND}`; export r; \ |
3166 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3167 | $(SET_LIB_PATH) \ |
3168 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3169 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3170 | done; \ | |
3171 | echo "Doing dvi in gettext" ; \ | |
3172 | (cd gettext && \ | |
3173 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3174 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3175 | "RANLIB=$${RANLIB}" \ | |
3176 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3177 | dvi) \ | |
3178 | || exit 1 | |
3179 | ||
3180 | ||
3181 | .PHONY: maybe-dvi-gnuserv dvi-gnuserv | |
3182 | maybe-dvi-gnuserv: | |
3183 | ||
3184 | dvi-gnuserv: \ | |
3185 | configure-gnuserv | |
3186 | @[ -f ./gnuserv/Makefile ] || exit 0; \ | |
b40e3958 L |
3187 | r=`${PWD_COMMAND}`; export r; \ |
3188 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3189 | $(SET_LIB_PATH) \ |
3190 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3191 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3192 | done; \ | |
3193 | echo "Doing dvi in gnuserv" ; \ | |
3194 | (cd gnuserv && \ | |
3195 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3196 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3197 | "RANLIB=$${RANLIB}" \ | |
3198 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3199 | dvi) \ | |
3200 | || exit 1 | |
3201 | ||
3202 | ||
3203 | .PHONY: maybe-dvi-gprof dvi-gprof | |
3204 | maybe-dvi-gprof: | |
3205 | ||
3206 | dvi-gprof: \ | |
3207 | configure-gprof | |
3208 | @[ -f ./gprof/Makefile ] || exit 0; \ | |
b40e3958 L |
3209 | r=`${PWD_COMMAND}`; export r; \ |
3210 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3211 | $(SET_LIB_PATH) \ |
3212 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3213 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3214 | done; \ | |
3215 | echo "Doing dvi in gprof" ; \ | |
3216 | (cd gprof && \ | |
3217 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3218 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3219 | "RANLIB=$${RANLIB}" \ | |
3220 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3221 | dvi) \ | |
3222 | || exit 1 | |
3223 | ||
3224 | ||
3225 | .PHONY: maybe-dvi-gzip dvi-gzip | |
3226 | maybe-dvi-gzip: | |
3227 | ||
3228 | dvi-gzip: \ | |
3229 | configure-gzip | |
3230 | @[ -f ./gzip/Makefile ] || exit 0; \ | |
b40e3958 L |
3231 | r=`${PWD_COMMAND}`; export r; \ |
3232 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3233 | $(SET_LIB_PATH) \ |
3234 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3235 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3236 | done; \ | |
3237 | echo "Doing dvi in gzip" ; \ | |
3238 | (cd gzip && \ | |
3239 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3240 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3241 | "RANLIB=$${RANLIB}" \ | |
3242 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3243 | dvi) \ | |
3244 | || exit 1 | |
3245 | ||
3246 | ||
3247 | .PHONY: maybe-dvi-hello dvi-hello | |
3248 | maybe-dvi-hello: | |
3249 | ||
3250 | dvi-hello: \ | |
3251 | configure-hello | |
3252 | @[ -f ./hello/Makefile ] || exit 0; \ | |
b40e3958 L |
3253 | r=`${PWD_COMMAND}`; export r; \ |
3254 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3255 | $(SET_LIB_PATH) \ |
3256 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3257 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3258 | done; \ | |
3259 | echo "Doing dvi in hello" ; \ | |
3260 | (cd hello && \ | |
3261 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3262 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3263 | "RANLIB=$${RANLIB}" \ | |
3264 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3265 | dvi) \ | |
3266 | || exit 1 | |
3267 | ||
3268 | ||
3269 | .PHONY: maybe-dvi-indent dvi-indent | |
3270 | maybe-dvi-indent: | |
3271 | ||
3272 | dvi-indent: \ | |
3273 | configure-indent | |
3274 | @[ -f ./indent/Makefile ] || exit 0; \ | |
b40e3958 L |
3275 | r=`${PWD_COMMAND}`; export r; \ |
3276 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3277 | $(SET_LIB_PATH) \ |
3278 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3279 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3280 | done; \ | |
3281 | echo "Doing dvi in indent" ; \ | |
3282 | (cd indent && \ | |
3283 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3284 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3285 | "RANLIB=$${RANLIB}" \ | |
3286 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3287 | dvi) \ | |
3288 | || exit 1 | |
3289 | ||
3290 | ||
3291 | .PHONY: maybe-dvi-intl dvi-intl | |
3292 | maybe-dvi-intl: | |
3293 | ||
3294 | dvi-intl: \ | |
3295 | configure-intl | |
3296 | @[ -f ./intl/Makefile ] || exit 0; \ | |
b40e3958 L |
3297 | r=`${PWD_COMMAND}`; export r; \ |
3298 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3299 | $(SET_LIB_PATH) \ |
3300 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3301 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3302 | done; \ | |
3303 | echo "Doing dvi in intl" ; \ | |
3304 | (cd intl && \ | |
3305 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3306 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3307 | "RANLIB=$${RANLIB}" \ | |
3308 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3309 | dvi) \ | |
3310 | || exit 1 | |
3311 | ||
3312 | ||
3313 | .PHONY: maybe-dvi-tcl dvi-tcl | |
3314 | maybe-dvi-tcl: | |
3315 | ||
3316 | dvi-tcl: \ | |
3317 | configure-tcl | |
3318 | @[ -f ./tcl/Makefile ] || exit 0; \ | |
b40e3958 L |
3319 | r=`${PWD_COMMAND}`; export r; \ |
3320 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3321 | $(SET_LIB_PATH) \ |
3322 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3323 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3324 | done; \ | |
3325 | echo "Doing dvi in tcl" ; \ | |
3326 | (cd tcl && \ | |
3327 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3328 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3329 | "RANLIB=$${RANLIB}" \ | |
3330 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3331 | dvi) \ | |
3332 | || exit 1 | |
3333 | ||
3334 | ||
3335 | .PHONY: maybe-dvi-itcl dvi-itcl | |
3336 | maybe-dvi-itcl: | |
3337 | ||
3338 | dvi-itcl: \ | |
3339 | configure-itcl | |
3340 | @[ -f ./itcl/Makefile ] || exit 0; \ | |
b40e3958 L |
3341 | r=`${PWD_COMMAND}`; export r; \ |
3342 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3343 | $(SET_LIB_PATH) \ |
3344 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3345 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3346 | done; \ | |
3347 | echo "Doing dvi in itcl" ; \ | |
3348 | (cd itcl && \ | |
3349 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3350 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3351 | "RANLIB=$${RANLIB}" \ | |
3352 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3353 | dvi) \ | |
3354 | || exit 1 | |
3355 | ||
3356 | ||
3357 | .PHONY: maybe-dvi-ld dvi-ld | |
3358 | maybe-dvi-ld: | |
3359 | ||
3360 | dvi-ld: \ | |
3361 | configure-ld | |
3362 | @[ -f ./ld/Makefile ] || exit 0; \ | |
b40e3958 L |
3363 | r=`${PWD_COMMAND}`; export r; \ |
3364 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3365 | $(SET_LIB_PATH) \ |
3366 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3367 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3368 | done; \ | |
3369 | echo "Doing dvi in ld" ; \ | |
3370 | (cd ld && \ | |
3371 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3372 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3373 | "RANLIB=$${RANLIB}" \ | |
3374 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3375 | dvi) \ | |
3376 | || exit 1 | |
3377 | ||
3378 | ||
3379 | .PHONY: maybe-dvi-libgui dvi-libgui | |
3380 | maybe-dvi-libgui: | |
3381 | ||
3382 | dvi-libgui: \ | |
3383 | configure-libgui | |
3384 | @[ -f ./libgui/Makefile ] || exit 0; \ | |
b40e3958 L |
3385 | r=`${PWD_COMMAND}`; export r; \ |
3386 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3387 | $(SET_LIB_PATH) \ |
3388 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3389 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3390 | done; \ | |
3391 | echo "Doing dvi in libgui" ; \ | |
3392 | (cd libgui && \ | |
3393 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3394 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3395 | "RANLIB=$${RANLIB}" \ | |
3396 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3397 | dvi) \ | |
3398 | || exit 1 | |
3399 | ||
3400 | ||
3401 | .PHONY: maybe-dvi-libiberty dvi-libiberty | |
3402 | maybe-dvi-libiberty: | |
3403 | ||
3404 | dvi-libiberty: \ | |
3405 | configure-libiberty | |
3406 | @[ -f ./libiberty/Makefile ] || exit 0; \ | |
b40e3958 L |
3407 | r=`${PWD_COMMAND}`; export r; \ |
3408 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3409 | $(SET_LIB_PATH) \ |
3410 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3411 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3412 | done; \ | |
3413 | echo "Doing dvi in libiberty" ; \ | |
3414 | (cd libiberty && \ | |
3415 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3416 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3417 | "RANLIB=$${RANLIB}" \ | |
3418 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3419 | dvi) \ | |
3420 | || exit 1 | |
3421 | ||
3422 | ||
3423 | .PHONY: maybe-dvi-libtool dvi-libtool | |
3424 | maybe-dvi-libtool: | |
3425 | ||
3426 | dvi-libtool: \ | |
3427 | configure-libtool | |
3428 | @[ -f ./libtool/Makefile ] || exit 0; \ | |
b40e3958 L |
3429 | r=`${PWD_COMMAND}`; export r; \ |
3430 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3431 | $(SET_LIB_PATH) \ |
3432 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3433 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3434 | done; \ | |
3435 | echo "Doing dvi in libtool" ; \ | |
3436 | (cd libtool && \ | |
3437 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3438 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3439 | "RANLIB=$${RANLIB}" \ | |
3440 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3441 | dvi) \ | |
3442 | || exit 1 | |
3443 | ||
3444 | ||
3445 | .PHONY: maybe-dvi-m4 dvi-m4 | |
3446 | maybe-dvi-m4: | |
3447 | ||
3448 | dvi-m4: \ | |
3449 | configure-m4 | |
3450 | @[ -f ./m4/Makefile ] || exit 0; \ | |
b40e3958 L |
3451 | r=`${PWD_COMMAND}`; export r; \ |
3452 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3453 | $(SET_LIB_PATH) \ |
3454 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3455 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3456 | done; \ | |
3457 | echo "Doing dvi in m4" ; \ | |
3458 | (cd m4 && \ | |
3459 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3460 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3461 | "RANLIB=$${RANLIB}" \ | |
3462 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3463 | dvi) \ | |
3464 | || exit 1 | |
3465 | ||
3466 | ||
3467 | .PHONY: maybe-dvi-make dvi-make | |
3468 | maybe-dvi-make: | |
3469 | ||
3470 | dvi-make: \ | |
3471 | configure-make | |
3472 | @[ -f ./make/Makefile ] || exit 0; \ | |
b40e3958 L |
3473 | r=`${PWD_COMMAND}`; export r; \ |
3474 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3475 | $(SET_LIB_PATH) \ |
3476 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3477 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3478 | done; \ | |
3479 | echo "Doing dvi in make" ; \ | |
3480 | (cd make && \ | |
3481 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3482 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3483 | "RANLIB=$${RANLIB}" \ | |
3484 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3485 | dvi) \ | |
3486 | || exit 1 | |
3487 | ||
3488 | ||
3489 | .PHONY: maybe-dvi-mmalloc dvi-mmalloc | |
3490 | maybe-dvi-mmalloc: | |
3491 | ||
3492 | dvi-mmalloc: \ | |
3493 | configure-mmalloc | |
3494 | @[ -f ./mmalloc/Makefile ] || exit 0; \ | |
b40e3958 L |
3495 | r=`${PWD_COMMAND}`; export r; \ |
3496 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3497 | $(SET_LIB_PATH) \ |
3498 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3499 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3500 | done; \ | |
3501 | echo "Doing dvi in mmalloc" ; \ | |
3502 | (cd mmalloc && \ | |
3503 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3504 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3505 | "RANLIB=$${RANLIB}" \ | |
3506 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3507 | dvi) \ | |
3508 | || exit 1 | |
3509 | ||
3510 | ||
3511 | .PHONY: maybe-dvi-patch dvi-patch | |
3512 | maybe-dvi-patch: | |
3513 | ||
3514 | dvi-patch: \ | |
3515 | configure-patch | |
3516 | @[ -f ./patch/Makefile ] || exit 0; \ | |
b40e3958 L |
3517 | r=`${PWD_COMMAND}`; export r; \ |
3518 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3519 | $(SET_LIB_PATH) \ |
3520 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3521 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3522 | done; \ | |
3523 | echo "Doing dvi in patch" ; \ | |
3524 | (cd patch && \ | |
3525 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3526 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3527 | "RANLIB=$${RANLIB}" \ | |
3528 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3529 | dvi) \ | |
3530 | || exit 1 | |
3531 | ||
3532 | ||
3533 | .PHONY: maybe-dvi-perl dvi-perl | |
3534 | maybe-dvi-perl: | |
3535 | ||
3536 | dvi-perl: \ | |
3537 | configure-perl | |
3538 | @[ -f ./perl/Makefile ] || exit 0; \ | |
b40e3958 L |
3539 | r=`${PWD_COMMAND}`; export r; \ |
3540 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3541 | $(SET_LIB_PATH) \ |
3542 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3543 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3544 | done; \ | |
3545 | echo "Doing dvi in perl" ; \ | |
3546 | (cd perl && \ | |
3547 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3548 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3549 | "RANLIB=$${RANLIB}" \ | |
3550 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3551 | dvi) \ | |
3552 | || exit 1 | |
3553 | ||
3554 | ||
3555 | .PHONY: maybe-dvi-prms dvi-prms | |
3556 | maybe-dvi-prms: | |
3557 | ||
3558 | dvi-prms: \ | |
3559 | configure-prms | |
3560 | @[ -f ./prms/Makefile ] || exit 0; \ | |
b40e3958 L |
3561 | r=`${PWD_COMMAND}`; export r; \ |
3562 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3563 | $(SET_LIB_PATH) \ |
3564 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3565 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3566 | done; \ | |
3567 | echo "Doing dvi in prms" ; \ | |
3568 | (cd prms && \ | |
3569 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3570 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3571 | "RANLIB=$${RANLIB}" \ | |
3572 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3573 | dvi) \ | |
3574 | || exit 1 | |
3575 | ||
3576 | ||
3577 | .PHONY: maybe-dvi-rcs dvi-rcs | |
3578 | maybe-dvi-rcs: | |
3579 | ||
3580 | dvi-rcs: \ | |
3581 | configure-rcs | |
3582 | @[ -f ./rcs/Makefile ] || exit 0; \ | |
b40e3958 L |
3583 | r=`${PWD_COMMAND}`; export r; \ |
3584 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3585 | $(SET_LIB_PATH) \ |
3586 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3587 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3588 | done; \ | |
3589 | echo "Doing dvi in rcs" ; \ | |
3590 | (cd rcs && \ | |
3591 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3592 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3593 | "RANLIB=$${RANLIB}" \ | |
3594 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3595 | dvi) \ | |
3596 | || exit 1 | |
3597 | ||
3598 | ||
3599 | .PHONY: maybe-dvi-readline dvi-readline | |
3600 | maybe-dvi-readline: | |
3601 | ||
3602 | dvi-readline: \ | |
3603 | configure-readline | |
3604 | @[ -f ./readline/Makefile ] || exit 0; \ | |
b40e3958 L |
3605 | r=`${PWD_COMMAND}`; export r; \ |
3606 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3607 | $(SET_LIB_PATH) \ |
3608 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3609 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3610 | done; \ | |
3611 | echo "Doing dvi in readline" ; \ | |
3612 | (cd readline && \ | |
3613 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3614 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3615 | "RANLIB=$${RANLIB}" \ | |
3616 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3617 | dvi) \ | |
3618 | || exit 1 | |
3619 | ||
3620 | ||
3621 | .PHONY: maybe-dvi-release dvi-release | |
3622 | maybe-dvi-release: | |
3623 | ||
3624 | dvi-release: \ | |
3625 | configure-release | |
3626 | @[ -f ./release/Makefile ] || exit 0; \ | |
b40e3958 L |
3627 | r=`${PWD_COMMAND}`; export r; \ |
3628 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3629 | $(SET_LIB_PATH) \ |
3630 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3631 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3632 | done; \ | |
3633 | echo "Doing dvi in release" ; \ | |
3634 | (cd release && \ | |
3635 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3636 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3637 | "RANLIB=$${RANLIB}" \ | |
3638 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3639 | dvi) \ | |
3640 | || exit 1 | |
3641 | ||
3642 | ||
3643 | .PHONY: maybe-dvi-recode dvi-recode | |
3644 | maybe-dvi-recode: | |
3645 | ||
3646 | dvi-recode: \ | |
3647 | configure-recode | |
3648 | @[ -f ./recode/Makefile ] || exit 0; \ | |
b40e3958 L |
3649 | r=`${PWD_COMMAND}`; export r; \ |
3650 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3651 | $(SET_LIB_PATH) \ |
3652 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3653 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3654 | done; \ | |
3655 | echo "Doing dvi in recode" ; \ | |
3656 | (cd recode && \ | |
3657 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3658 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3659 | "RANLIB=$${RANLIB}" \ | |
3660 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3661 | dvi) \ | |
3662 | || exit 1 | |
3663 | ||
3664 | ||
3665 | .PHONY: maybe-dvi-sed dvi-sed | |
3666 | maybe-dvi-sed: | |
3667 | ||
3668 | dvi-sed: \ | |
3669 | configure-sed | |
3670 | @[ -f ./sed/Makefile ] || exit 0; \ | |
b40e3958 L |
3671 | r=`${PWD_COMMAND}`; export r; \ |
3672 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3673 | $(SET_LIB_PATH) \ |
3674 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3675 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3676 | done; \ | |
3677 | echo "Doing dvi in sed" ; \ | |
3678 | (cd sed && \ | |
3679 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3680 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3681 | "RANLIB=$${RANLIB}" \ | |
3682 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3683 | dvi) \ | |
3684 | || exit 1 | |
3685 | ||
3686 | ||
3687 | .PHONY: maybe-dvi-send-pr dvi-send-pr | |
3688 | maybe-dvi-send-pr: | |
3689 | ||
3690 | dvi-send-pr: \ | |
3691 | configure-send-pr | |
3692 | @[ -f ./send-pr/Makefile ] || exit 0; \ | |
b40e3958 L |
3693 | r=`${PWD_COMMAND}`; export r; \ |
3694 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3695 | $(SET_LIB_PATH) \ |
3696 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3697 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3698 | done; \ | |
3699 | echo "Doing dvi in send-pr" ; \ | |
3700 | (cd send-pr && \ | |
3701 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3702 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3703 | "RANLIB=$${RANLIB}" \ | |
3704 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3705 | dvi) \ | |
3706 | || exit 1 | |
3707 | ||
3708 | ||
3709 | .PHONY: maybe-dvi-shellutils dvi-shellutils | |
3710 | maybe-dvi-shellutils: | |
3711 | ||
3712 | dvi-shellutils: \ | |
3713 | configure-shellutils | |
3714 | @[ -f ./shellutils/Makefile ] || exit 0; \ | |
b40e3958 L |
3715 | r=`${PWD_COMMAND}`; export r; \ |
3716 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3717 | $(SET_LIB_PATH) \ |
3718 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3719 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3720 | done; \ | |
3721 | echo "Doing dvi in shellutils" ; \ | |
3722 | (cd shellutils && \ | |
3723 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3724 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3725 | "RANLIB=$${RANLIB}" \ | |
3726 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3727 | dvi) \ | |
3728 | || exit 1 | |
3729 | ||
3730 | ||
3731 | .PHONY: maybe-dvi-sid dvi-sid | |
3732 | maybe-dvi-sid: | |
3733 | ||
3734 | dvi-sid: \ | |
3735 | configure-sid | |
3736 | @[ -f ./sid/Makefile ] || exit 0; \ | |
b40e3958 L |
3737 | r=`${PWD_COMMAND}`; export r; \ |
3738 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3739 | $(SET_LIB_PATH) \ |
3740 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3741 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3742 | done; \ | |
3743 | echo "Doing dvi in sid" ; \ | |
3744 | (cd sid && \ | |
3745 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3746 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3747 | "RANLIB=$${RANLIB}" \ | |
3748 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3749 | dvi) \ | |
3750 | || exit 1 | |
3751 | ||
3752 | ||
3753 | .PHONY: maybe-dvi-sim dvi-sim | |
3754 | maybe-dvi-sim: | |
3755 | ||
3756 | dvi-sim: \ | |
3757 | configure-sim | |
3758 | @[ -f ./sim/Makefile ] || exit 0; \ | |
b40e3958 L |
3759 | r=`${PWD_COMMAND}`; export r; \ |
3760 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3761 | $(SET_LIB_PATH) \ |
3762 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3763 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3764 | done; \ | |
3765 | echo "Doing dvi in sim" ; \ | |
3766 | (cd sim && \ | |
3767 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3768 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3769 | "RANLIB=$${RANLIB}" \ | |
3770 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3771 | dvi) \ | |
3772 | || exit 1 | |
3773 | ||
3774 | ||
3775 | .PHONY: maybe-dvi-tar dvi-tar | |
3776 | maybe-dvi-tar: | |
3777 | ||
3778 | dvi-tar: \ | |
3779 | configure-tar | |
3780 | @[ -f ./tar/Makefile ] || exit 0; \ | |
b40e3958 L |
3781 | r=`${PWD_COMMAND}`; export r; \ |
3782 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3783 | $(SET_LIB_PATH) \ |
3784 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3785 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3786 | done; \ | |
3787 | echo "Doing dvi in tar" ; \ | |
3788 | (cd tar && \ | |
3789 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3790 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3791 | "RANLIB=$${RANLIB}" \ | |
3792 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3793 | dvi) \ | |
3794 | || exit 1 | |
3795 | ||
3796 | ||
3797 | .PHONY: maybe-dvi-texinfo dvi-texinfo | |
3798 | maybe-dvi-texinfo: | |
3799 | ||
3800 | dvi-texinfo: \ | |
3801 | configure-texinfo | |
3802 | @[ -f ./texinfo/Makefile ] || exit 0; \ | |
b40e3958 L |
3803 | r=`${PWD_COMMAND}`; export r; \ |
3804 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3805 | $(SET_LIB_PATH) \ |
3806 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3807 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3808 | done; \ | |
3809 | echo "Doing dvi in texinfo" ; \ | |
3810 | (cd texinfo && \ | |
3811 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3812 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3813 | "RANLIB=$${RANLIB}" \ | |
3814 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3815 | dvi) \ | |
3816 | || exit 1 | |
3817 | ||
3818 | ||
3819 | .PHONY: maybe-dvi-textutils dvi-textutils | |
3820 | maybe-dvi-textutils: | |
3821 | ||
3822 | dvi-textutils: \ | |
3823 | configure-textutils | |
3824 | @[ -f ./textutils/Makefile ] || exit 0; \ | |
b40e3958 L |
3825 | r=`${PWD_COMMAND}`; export r; \ |
3826 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3827 | $(SET_LIB_PATH) \ |
3828 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3829 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3830 | done; \ | |
3831 | echo "Doing dvi in textutils" ; \ | |
3832 | (cd textutils && \ | |
3833 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3834 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3835 | "RANLIB=$${RANLIB}" \ | |
3836 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3837 | dvi) \ | |
3838 | || exit 1 | |
3839 | ||
3840 | ||
3841 | .PHONY: maybe-dvi-time dvi-time | |
3842 | maybe-dvi-time: | |
3843 | ||
3844 | dvi-time: \ | |
3845 | configure-time | |
3846 | @[ -f ./time/Makefile ] || exit 0; \ | |
b40e3958 L |
3847 | r=`${PWD_COMMAND}`; export r; \ |
3848 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3849 | $(SET_LIB_PATH) \ |
3850 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3851 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3852 | done; \ | |
3853 | echo "Doing dvi in time" ; \ | |
3854 | (cd time && \ | |
3855 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3856 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3857 | "RANLIB=$${RANLIB}" \ | |
3858 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3859 | dvi) \ | |
3860 | || exit 1 | |
3861 | ||
3862 | ||
3863 | .PHONY: maybe-dvi-uudecode dvi-uudecode | |
3864 | maybe-dvi-uudecode: | |
3865 | ||
3866 | dvi-uudecode: \ | |
3867 | configure-uudecode | |
3868 | @[ -f ./uudecode/Makefile ] || exit 0; \ | |
b40e3958 L |
3869 | r=`${PWD_COMMAND}`; export r; \ |
3870 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3871 | $(SET_LIB_PATH) \ |
3872 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3873 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3874 | done; \ | |
3875 | echo "Doing dvi in uudecode" ; \ | |
3876 | (cd uudecode && \ | |
3877 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3878 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3879 | "RANLIB=$${RANLIB}" \ | |
3880 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3881 | dvi) \ | |
3882 | || exit 1 | |
3883 | ||
3884 | ||
3885 | .PHONY: maybe-dvi-wdiff dvi-wdiff | |
3886 | maybe-dvi-wdiff: | |
3887 | ||
3888 | dvi-wdiff: \ | |
3889 | configure-wdiff | |
3890 | @[ -f ./wdiff/Makefile ] || exit 0; \ | |
b40e3958 L |
3891 | r=`${PWD_COMMAND}`; export r; \ |
3892 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3893 | $(SET_LIB_PATH) \ |
3894 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3895 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3896 | done; \ | |
3897 | echo "Doing dvi in wdiff" ; \ | |
3898 | (cd wdiff && \ | |
3899 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3900 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3901 | "RANLIB=$${RANLIB}" \ | |
3902 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3903 | dvi) \ | |
3904 | || exit 1 | |
3905 | ||
3906 | ||
3907 | .PHONY: maybe-dvi-zip dvi-zip | |
3908 | maybe-dvi-zip: | |
3909 | ||
3910 | dvi-zip: \ | |
3911 | configure-zip | |
3912 | @[ -f ./zip/Makefile ] || exit 0; \ | |
b40e3958 L |
3913 | r=`${PWD_COMMAND}`; export r; \ |
3914 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3915 | $(SET_LIB_PATH) \ |
3916 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3917 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3918 | done; \ | |
3919 | echo "Doing dvi in zip" ; \ | |
3920 | (cd zip && \ | |
3921 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3922 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3923 | "RANLIB=$${RANLIB}" \ | |
3924 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3925 | dvi) \ | |
3926 | || exit 1 | |
3927 | ||
3928 | ||
3929 | .PHONY: maybe-dvi-zlib dvi-zlib | |
3930 | maybe-dvi-zlib: | |
3931 | ||
3932 | dvi-zlib: \ | |
3933 | configure-zlib | |
3934 | @[ -f ./zlib/Makefile ] || exit 0; \ | |
b40e3958 L |
3935 | r=`${PWD_COMMAND}`; export r; \ |
3936 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3937 | $(SET_LIB_PATH) \ |
3938 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3939 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3940 | done; \ | |
3941 | echo "Doing dvi in zlib" ; \ | |
3942 | (cd zlib && \ | |
3943 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3944 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3945 | "RANLIB=$${RANLIB}" \ | |
3946 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3947 | dvi) \ | |
3948 | || exit 1 | |
3949 | ||
3950 | ||
3951 | .PHONY: maybe-dvi-gdb dvi-gdb | |
3952 | maybe-dvi-gdb: | |
3953 | ||
3954 | dvi-gdb: \ | |
3955 | configure-gdb | |
3956 | @[ -f ./gdb/Makefile ] || exit 0; \ | |
b40e3958 L |
3957 | r=`${PWD_COMMAND}`; export r; \ |
3958 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3959 | $(SET_LIB_PATH) \ |
3960 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3961 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3962 | done; \ | |
3963 | echo "Doing dvi in gdb" ; \ | |
3964 | (cd gdb && \ | |
3965 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3966 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3967 | "RANLIB=$${RANLIB}" \ | |
3968 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3969 | dvi) \ | |
3970 | || exit 1 | |
3971 | ||
3972 | ||
3973 | .PHONY: maybe-dvi-expect dvi-expect | |
3974 | maybe-dvi-expect: | |
3975 | ||
3976 | dvi-expect: \ | |
3977 | configure-expect | |
3978 | @[ -f ./expect/Makefile ] || exit 0; \ | |
b40e3958 L |
3979 | r=`${PWD_COMMAND}`; export r; \ |
3980 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3981 | $(SET_LIB_PATH) \ |
3982 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3983 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3984 | done; \ | |
3985 | echo "Doing dvi in expect" ; \ | |
3986 | (cd expect && \ | |
3987 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3988 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3989 | "RANLIB=$${RANLIB}" \ | |
3990 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3991 | dvi) \ | |
3992 | || exit 1 | |
3993 | ||
3994 | ||
3995 | .PHONY: maybe-dvi-guile dvi-guile | |
3996 | maybe-dvi-guile: | |
3997 | ||
3998 | dvi-guile: \ | |
3999 | configure-guile | |
4000 | @[ -f ./guile/Makefile ] || exit 0; \ | |
b40e3958 L |
4001 | r=`${PWD_COMMAND}`; export r; \ |
4002 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4003 | $(SET_LIB_PATH) \ |
4004 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4005 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4006 | done; \ | |
4007 | echo "Doing dvi in guile" ; \ | |
4008 | (cd guile && \ | |
4009 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4010 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4011 | "RANLIB=$${RANLIB}" \ | |
4012 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4013 | dvi) \ | |
4014 | || exit 1 | |
4015 | ||
4016 | ||
4017 | .PHONY: maybe-dvi-tk dvi-tk | |
4018 | maybe-dvi-tk: | |
4019 | ||
4020 | dvi-tk: \ | |
4021 | configure-tk | |
4022 | @[ -f ./tk/Makefile ] || exit 0; \ | |
b40e3958 L |
4023 | r=`${PWD_COMMAND}`; export r; \ |
4024 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4025 | $(SET_LIB_PATH) \ |
4026 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4027 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4028 | done; \ | |
4029 | echo "Doing dvi in tk" ; \ | |
4030 | (cd tk && \ | |
4031 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4032 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4033 | "RANLIB=$${RANLIB}" \ | |
4034 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4035 | dvi) \ | |
4036 | || exit 1 | |
4037 | ||
4038 | ||
4039 | .PHONY: maybe-dvi-tix dvi-tix | |
4040 | maybe-dvi-tix: | |
4041 | ||
4042 | dvi-tix: \ | |
4043 | configure-tix | |
4044 | @[ -f ./tix/Makefile ] || exit 0; \ | |
b40e3958 L |
4045 | r=`${PWD_COMMAND}`; export r; \ |
4046 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4047 | $(SET_LIB_PATH) \ |
4048 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4049 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4050 | done; \ | |
4051 | echo "Doing dvi in tix" ; \ | |
4052 | (cd tix && \ | |
4053 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4054 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4055 | "RANLIB=$${RANLIB}" \ | |
4056 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4057 | dvi) \ | |
4058 | || exit 1 | |
4059 | ||
4060 | ||
4061 | .PHONY: maybe-dvi-libtermcap dvi-libtermcap | |
4062 | maybe-dvi-libtermcap: | |
4063 | ||
4064 | dvi-libtermcap: \ | |
4065 | configure-libtermcap | |
4066 | @[ -f ./libtermcap/Makefile ] || exit 0; \ | |
b40e3958 L |
4067 | r=`${PWD_COMMAND}`; export r; \ |
4068 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4069 | $(SET_LIB_PATH) \ |
4070 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4071 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4072 | done; \ | |
4073 | echo "Doing dvi in libtermcap" ; \ | |
4074 | (cd libtermcap && \ | |
4075 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4076 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4077 | "RANLIB=$${RANLIB}" \ | |
4078 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4079 | dvi) \ | |
4080 | || exit 1 | |
4081 | ||
4082 | ||
4083 | .PHONY: maybe-dvi-utils dvi-utils | |
4084 | maybe-dvi-utils: | |
4085 | ||
4086 | dvi-utils: \ | |
4087 | configure-utils | |
4088 | @[ -f ./utils/Makefile ] || exit 0; \ | |
b40e3958 L |
4089 | r=`${PWD_COMMAND}`; export r; \ |
4090 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4091 | $(SET_LIB_PATH) \ |
4092 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4093 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4094 | done; \ | |
4095 | echo "Doing dvi in utils" ; \ | |
4096 | (cd utils && \ | |
4097 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4098 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4099 | "RANLIB=$${RANLIB}" \ | |
4100 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4101 | dvi) \ | |
4102 | || exit 1 | |
4103 | ||
4104 | ||
4105 | ||
4106 | # Target modules. | |
4107 | ||
4108 | .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3 | |
4109 | maybe-dvi-target-libstdc++-v3: | |
4110 | ||
4111 | dvi-target-libstdc++-v3: \ | |
4112 | configure-target-libstdc++-v3 | |
4113 | @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ | |
b40e3958 L |
4114 | r=`${PWD_COMMAND}`; export r; \ |
4115 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4116 | $(SET_LIB_PATH) \ |
4117 | echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \ | |
4118 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4119 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4120 | done; \ | |
4121 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
4122 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4123 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4124 | "RANLIB=$${RANLIB}" \ | |
4125 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4126 | dvi) \ | |
4127 | || exit 1 | |
4128 | ||
4129 | ||
4130 | .PHONY: maybe-dvi-target-newlib dvi-target-newlib | |
4131 | maybe-dvi-target-newlib: | |
4132 | ||
4133 | dvi-target-newlib: \ | |
4134 | configure-target-newlib | |
4135 | @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
4136 | r=`${PWD_COMMAND}`; export r; \ |
4137 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4138 | $(SET_LIB_PATH) \ |
4139 | echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \ | |
4140 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4141 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4142 | done; \ | |
4143 | (cd $(TARGET_SUBDIR)/newlib && \ | |
4144 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4145 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4146 | "RANLIB=$${RANLIB}" \ | |
4147 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4148 | dvi) \ | |
4149 | || exit 1 | |
4150 | ||
4151 | ||
4152 | .PHONY: maybe-dvi-target-libf2c dvi-target-libf2c | |
4153 | maybe-dvi-target-libf2c: | |
4154 | ||
4155 | dvi-target-libf2c: \ | |
4156 | configure-target-libf2c | |
4157 | @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \ | |
b40e3958 L |
4158 | r=`${PWD_COMMAND}`; export r; \ |
4159 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4160 | $(SET_LIB_PATH) \ |
4161 | echo "Doing dvi in $(TARGET_SUBDIR)/libf2c" ; \ | |
4162 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4163 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4164 | done; \ | |
4165 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
4166 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4167 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4168 | "RANLIB=$${RANLIB}" \ | |
4169 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4170 | dvi) \ | |
4171 | || exit 1 | |
4172 | ||
4173 | ||
4174 | .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc | |
4175 | maybe-dvi-target-libobjc: | |
4176 | ||
4177 | dvi-target-libobjc: \ | |
4178 | configure-target-libobjc | |
4179 | @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
4180 | r=`${PWD_COMMAND}`; export r; \ |
4181 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4182 | $(SET_LIB_PATH) \ |
4183 | echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \ | |
4184 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4185 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4186 | done; \ | |
4187 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
4188 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4189 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4190 | "RANLIB=$${RANLIB}" \ | |
4191 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4192 | dvi) \ | |
4193 | || exit 1 | |
4194 | ||
4195 | ||
4196 | .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap | |
4197 | maybe-dvi-target-libtermcap: | |
4198 | ||
4199 | dvi-target-libtermcap: \ | |
4200 | configure-target-libtermcap | |
4201 | @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ | |
b40e3958 L |
4202 | r=`${PWD_COMMAND}`; export r; \ |
4203 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4204 | $(SET_LIB_PATH) \ |
4205 | echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \ | |
4206 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4207 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4208 | done; \ | |
4209 | (cd $(TARGET_SUBDIR)/libtermcap && \ | |
4210 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4211 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4212 | "RANLIB=$${RANLIB}" \ | |
4213 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4214 | dvi) \ | |
4215 | || exit 1 | |
4216 | ||
4217 | ||
4218 | .PHONY: maybe-dvi-target-winsup dvi-target-winsup | |
4219 | maybe-dvi-target-winsup: | |
4220 | ||
4221 | dvi-target-winsup: \ | |
4222 | configure-target-winsup | |
4223 | @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ | |
b40e3958 L |
4224 | r=`${PWD_COMMAND}`; export r; \ |
4225 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4226 | $(SET_LIB_PATH) \ |
4227 | echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \ | |
4228 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4229 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4230 | done; \ | |
4231 | (cd $(TARGET_SUBDIR)/winsup && \ | |
4232 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4233 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4234 | "RANLIB=$${RANLIB}" \ | |
4235 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4236 | dvi) \ | |
4237 | || exit 1 | |
4238 | ||
4239 | ||
4240 | .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss | |
4241 | maybe-dvi-target-libgloss: | |
4242 | ||
4243 | dvi-target-libgloss: \ | |
4244 | configure-target-libgloss | |
4245 | @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ | |
b40e3958 L |
4246 | r=`${PWD_COMMAND}`; export r; \ |
4247 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4248 | $(SET_LIB_PATH) \ |
4249 | echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \ | |
4250 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4251 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4252 | done; \ | |
4253 | (cd $(TARGET_SUBDIR)/libgloss && \ | |
4254 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4255 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4256 | "RANLIB=$${RANLIB}" \ | |
4257 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4258 | dvi) \ | |
4259 | || exit 1 | |
4260 | ||
4261 | ||
4262 | .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty | |
4263 | maybe-dvi-target-libiberty: | |
4264 | ||
4265 | dvi-target-libiberty: \ | |
4266 | configure-target-libiberty | |
4267 | @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ | |
b40e3958 L |
4268 | r=`${PWD_COMMAND}`; export r; \ |
4269 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4270 | $(SET_LIB_PATH) \ |
4271 | echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \ | |
4272 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4273 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4274 | done; \ | |
4275 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
4276 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4277 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4278 | "RANLIB=$${RANLIB}" \ | |
4279 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4280 | dvi) \ | |
4281 | || exit 1 | |
4282 | ||
4283 | ||
4284 | .PHONY: maybe-dvi-target-gperf dvi-target-gperf | |
4285 | maybe-dvi-target-gperf: | |
4286 | ||
4287 | dvi-target-gperf: \ | |
4288 | configure-target-gperf | |
4289 | @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ | |
b40e3958 L |
4290 | r=`${PWD_COMMAND}`; export r; \ |
4291 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4292 | $(SET_LIB_PATH) \ |
4293 | echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \ | |
4294 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4295 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4296 | done; \ | |
4297 | (cd $(TARGET_SUBDIR)/gperf && \ | |
4298 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4299 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4300 | "RANLIB=$${RANLIB}" \ | |
4301 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4302 | dvi) \ | |
4303 | || exit 1 | |
4304 | ||
4305 | ||
4306 | .PHONY: maybe-dvi-target-examples dvi-target-examples | |
4307 | maybe-dvi-target-examples: | |
4308 | ||
4309 | dvi-target-examples: \ | |
4310 | configure-target-examples | |
4311 | @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ | |
b40e3958 L |
4312 | r=`${PWD_COMMAND}`; export r; \ |
4313 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4314 | $(SET_LIB_PATH) \ |
4315 | echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \ | |
4316 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4317 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4318 | done; \ | |
4319 | (cd $(TARGET_SUBDIR)/examples && \ | |
4320 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4321 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4322 | "RANLIB=$${RANLIB}" \ | |
4323 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4324 | dvi) \ | |
4325 | || exit 1 | |
4326 | ||
4327 | ||
4328 | .PHONY: maybe-dvi-target-libffi dvi-target-libffi | |
4329 | maybe-dvi-target-libffi: | |
4330 | ||
4331 | dvi-target-libffi: \ | |
4332 | configure-target-libffi | |
4333 | @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ | |
b40e3958 L |
4334 | r=`${PWD_COMMAND}`; export r; \ |
4335 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4336 | $(SET_LIB_PATH) \ |
4337 | echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \ | |
4338 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4339 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4340 | done; \ | |
4341 | (cd $(TARGET_SUBDIR)/libffi && \ | |
4342 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4343 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4344 | "RANLIB=$${RANLIB}" \ | |
4345 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4346 | dvi) \ | |
4347 | || exit 1 | |
4348 | ||
4349 | ||
4350 | .PHONY: maybe-dvi-target-libjava dvi-target-libjava | |
4351 | maybe-dvi-target-libjava: | |
4352 | ||
4353 | dvi-target-libjava: \ | |
4354 | configure-target-libjava | |
4355 | @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ | |
b40e3958 L |
4356 | r=`${PWD_COMMAND}`; export r; \ |
4357 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4358 | $(SET_LIB_PATH) \ |
4359 | echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \ | |
4360 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4361 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4362 | done; \ | |
4363 | (cd $(TARGET_SUBDIR)/libjava && \ | |
4364 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4365 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4366 | "RANLIB=$${RANLIB}" \ | |
4367 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4368 | dvi) \ | |
4369 | || exit 1 | |
4370 | ||
4371 | ||
4372 | .PHONY: maybe-dvi-target-zlib dvi-target-zlib | |
4373 | maybe-dvi-target-zlib: | |
4374 | ||
4375 | dvi-target-zlib: \ | |
4376 | configure-target-zlib | |
4377 | @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
4378 | r=`${PWD_COMMAND}`; export r; \ |
4379 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4380 | $(SET_LIB_PATH) \ |
4381 | echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \ | |
4382 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4383 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4384 | done; \ | |
4385 | (cd $(TARGET_SUBDIR)/zlib && \ | |
4386 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4387 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4388 | "RANLIB=$${RANLIB}" \ | |
4389 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4390 | dvi) \ | |
4391 | || exit 1 | |
4392 | ||
4393 | ||
4394 | .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc | |
4395 | maybe-dvi-target-boehm-gc: | |
4396 | ||
4397 | dvi-target-boehm-gc: \ | |
4398 | configure-target-boehm-gc | |
4399 | @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
4400 | r=`${PWD_COMMAND}`; export r; \ |
4401 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4402 | $(SET_LIB_PATH) \ |
4403 | echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \ | |
4404 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4405 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4406 | done; \ | |
4407 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
4408 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4409 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4410 | "RANLIB=$${RANLIB}" \ | |
4411 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4412 | dvi) \ | |
4413 | || exit 1 | |
4414 | ||
4415 | ||
4416 | .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads | |
4417 | maybe-dvi-target-qthreads: | |
4418 | ||
4419 | dvi-target-qthreads: \ | |
4420 | configure-target-qthreads | |
4421 | @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ | |
b40e3958 L |
4422 | r=`${PWD_COMMAND}`; export r; \ |
4423 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4424 | $(SET_LIB_PATH) \ |
4425 | echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \ | |
4426 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4427 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4428 | done; \ | |
4429 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
4430 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4431 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4432 | "RANLIB=$${RANLIB}" \ | |
4433 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4434 | dvi) \ | |
4435 | || exit 1 | |
4436 | ||
4437 | ||
4438 | .PHONY: maybe-dvi-target-rda dvi-target-rda | |
4439 | maybe-dvi-target-rda: | |
4440 | ||
4441 | dvi-target-rda: \ | |
4442 | configure-target-rda | |
4443 | @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ | |
b40e3958 L |
4444 | r=`${PWD_COMMAND}`; export r; \ |
4445 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4446 | $(SET_LIB_PATH) \ |
4447 | echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \ | |
4448 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4449 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4450 | done; \ | |
4451 | (cd $(TARGET_SUBDIR)/rda && \ | |
4452 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4453 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4454 | "RANLIB=$${RANLIB}" \ | |
4455 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4456 | dvi) \ | |
4457 | || exit 1 | |
4458 | ||
4459 | ||
4460 | ||
4461 | .PHONY: do-TAGS | |
4462 | do-TAGS: TAGS-host TAGS-target | |
4463 | ||
4464 | .PHONY: TAGS-host | |
4465 | TAGS-host: maybe-TAGS-gcc \ | |
4466 | maybe-TAGS-ash \ | |
4467 | maybe-TAGS-autoconf \ | |
4468 | maybe-TAGS-automake \ | |
4469 | maybe-TAGS-bash \ | |
4470 | maybe-TAGS-bfd \ | |
4471 | maybe-TAGS-opcodes \ | |
4472 | maybe-TAGS-binutils \ | |
4473 | maybe-TAGS-bison \ | |
4474 | maybe-TAGS-byacc \ | |
4475 | maybe-TAGS-bzip2 \ | |
4476 | maybe-TAGS-dejagnu \ | |
4477 | maybe-TAGS-diff \ | |
4478 | maybe-TAGS-dosutils \ | |
4479 | maybe-TAGS-etc \ | |
4480 | maybe-TAGS-fastjar \ | |
4481 | maybe-TAGS-fileutils \ | |
4482 | maybe-TAGS-findutils \ | |
4483 | maybe-TAGS-find \ | |
4484 | maybe-TAGS-flex \ | |
4485 | maybe-TAGS-gas \ | |
4486 | maybe-TAGS-gawk \ | |
4487 | maybe-TAGS-gettext \ | |
4488 | maybe-TAGS-gnuserv \ | |
4489 | maybe-TAGS-gprof \ | |
4490 | maybe-TAGS-gzip \ | |
4491 | maybe-TAGS-hello \ | |
4492 | maybe-TAGS-indent \ | |
4493 | maybe-TAGS-intl \ | |
4494 | maybe-TAGS-tcl \ | |
4495 | maybe-TAGS-itcl \ | |
4496 | maybe-TAGS-ld \ | |
4497 | maybe-TAGS-libgui \ | |
4498 | maybe-TAGS-libiberty \ | |
4499 | maybe-TAGS-libtool \ | |
4500 | maybe-TAGS-m4 \ | |
4501 | maybe-TAGS-make \ | |
4502 | maybe-TAGS-mmalloc \ | |
4503 | maybe-TAGS-patch \ | |
4504 | maybe-TAGS-perl \ | |
4505 | maybe-TAGS-prms \ | |
4506 | maybe-TAGS-rcs \ | |
4507 | maybe-TAGS-readline \ | |
4508 | maybe-TAGS-release \ | |
4509 | maybe-TAGS-recode \ | |
4510 | maybe-TAGS-sed \ | |
4511 | maybe-TAGS-send-pr \ | |
4512 | maybe-TAGS-shellutils \ | |
4513 | maybe-TAGS-sid \ | |
4514 | maybe-TAGS-sim \ | |
4515 | maybe-TAGS-tar \ | |
4516 | maybe-TAGS-texinfo \ | |
4517 | maybe-TAGS-textutils \ | |
4518 | maybe-TAGS-time \ | |
4519 | maybe-TAGS-uudecode \ | |
4520 | maybe-TAGS-wdiff \ | |
4521 | maybe-TAGS-zip \ | |
4522 | maybe-TAGS-zlib \ | |
4523 | maybe-TAGS-gdb \ | |
4524 | maybe-TAGS-expect \ | |
4525 | maybe-TAGS-guile \ | |
4526 | maybe-TAGS-tk \ | |
4527 | maybe-TAGS-tix \ | |
4528 | maybe-TAGS-libtermcap \ | |
4529 | maybe-TAGS-utils | |
4530 | ||
4531 | .PHONY: TAGS-target | |
4532 | TAGS-target: \ | |
4533 | maybe-TAGS-target-libstdc++-v3 \ | |
4534 | maybe-TAGS-target-newlib \ | |
4535 | maybe-TAGS-target-libf2c \ | |
4536 | maybe-TAGS-target-libobjc \ | |
4537 | maybe-TAGS-target-libtermcap \ | |
4538 | maybe-TAGS-target-winsup \ | |
4539 | maybe-TAGS-target-libgloss \ | |
4540 | maybe-TAGS-target-libiberty \ | |
4541 | maybe-TAGS-target-gperf \ | |
4542 | maybe-TAGS-target-examples \ | |
4543 | maybe-TAGS-target-libffi \ | |
4544 | maybe-TAGS-target-libjava \ | |
4545 | maybe-TAGS-target-zlib \ | |
4546 | maybe-TAGS-target-boehm-gc \ | |
4547 | maybe-TAGS-target-qthreads \ | |
4548 | maybe-TAGS-target-rda | |
4549 | ||
4550 | # GCC, the eternal special case | |
4551 | .PHONY: maybe-TAGS-gcc TAGS-gcc | |
4552 | maybe-TAGS-gcc: | |
4553 | TAGS-gcc: \ | |
4554 | configure-gcc | |
4555 | @[ -f ./gcc/Makefile ] || exit 0; \ | |
b40e3958 L |
4556 | r=`${PWD_COMMAND}`; export r; \ |
4557 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4558 | $(SET_LIB_PATH) \ |
4559 | for flag in $(EXTRA_GCC_FLAGS); do \ | |
4560 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4561 | done; \ | |
4562 | echo "Doing TAGS in gcc" ; \ | |
4563 | (cd gcc && \ | |
4564 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4565 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4566 | "RANLIB=$${RANLIB}" \ | |
4567 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4568 | TAGS) \ | |
4569 | || exit 1 | |
4570 | ||
4571 | # Host modules. | |
4572 | ||
4573 | .PHONY: maybe-TAGS-ash TAGS-ash | |
4574 | maybe-TAGS-ash: | |
4575 | ||
4576 | TAGS-ash: \ | |
4577 | configure-ash | |
4578 | @[ -f ./ash/Makefile ] || exit 0; \ | |
b40e3958 L |
4579 | r=`${PWD_COMMAND}`; export r; \ |
4580 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4581 | $(SET_LIB_PATH) \ |
4582 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4583 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4584 | done; \ | |
4585 | echo "Doing TAGS in ash" ; \ | |
4586 | (cd ash && \ | |
4587 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4588 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4589 | "RANLIB=$${RANLIB}" \ | |
4590 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4591 | TAGS) \ | |
4592 | || exit 1 | |
4593 | ||
4594 | ||
4595 | .PHONY: maybe-TAGS-autoconf TAGS-autoconf | |
4596 | maybe-TAGS-autoconf: | |
4597 | ||
4598 | TAGS-autoconf: \ | |
4599 | configure-autoconf | |
4600 | @[ -f ./autoconf/Makefile ] || exit 0; \ | |
b40e3958 L |
4601 | r=`${PWD_COMMAND}`; export r; \ |
4602 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4603 | $(SET_LIB_PATH) \ |
4604 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4605 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4606 | done; \ | |
4607 | echo "Doing TAGS in autoconf" ; \ | |
4608 | (cd autoconf && \ | |
4609 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4610 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4611 | "RANLIB=$${RANLIB}" \ | |
4612 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4613 | TAGS) \ | |
4614 | || exit 1 | |
4615 | ||
4616 | ||
4617 | .PHONY: maybe-TAGS-automake TAGS-automake | |
4618 | maybe-TAGS-automake: | |
4619 | ||
4620 | TAGS-automake: \ | |
4621 | configure-automake | |
4622 | @[ -f ./automake/Makefile ] || exit 0; \ | |
b40e3958 L |
4623 | r=`${PWD_COMMAND}`; export r; \ |
4624 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4625 | $(SET_LIB_PATH) \ |
4626 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4627 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4628 | done; \ | |
4629 | echo "Doing TAGS in automake" ; \ | |
4630 | (cd automake && \ | |
4631 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4632 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4633 | "RANLIB=$${RANLIB}" \ | |
4634 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4635 | TAGS) \ | |
4636 | || exit 1 | |
4637 | ||
4638 | ||
4639 | .PHONY: maybe-TAGS-bash TAGS-bash | |
4640 | maybe-TAGS-bash: | |
4641 | ||
4642 | TAGS-bash: \ | |
4643 | configure-bash | |
4644 | @[ -f ./bash/Makefile ] || exit 0; \ | |
b40e3958 L |
4645 | r=`${PWD_COMMAND}`; export r; \ |
4646 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4647 | $(SET_LIB_PATH) \ |
4648 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4649 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4650 | done; \ | |
4651 | echo "Doing TAGS in bash" ; \ | |
4652 | (cd bash && \ | |
4653 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4654 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4655 | "RANLIB=$${RANLIB}" \ | |
4656 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4657 | TAGS) \ | |
4658 | || exit 1 | |
4659 | ||
4660 | ||
4661 | .PHONY: maybe-TAGS-bfd TAGS-bfd | |
4662 | maybe-TAGS-bfd: | |
4663 | ||
4664 | TAGS-bfd: \ | |
4665 | configure-bfd | |
4666 | @[ -f ./bfd/Makefile ] || exit 0; \ | |
b40e3958 L |
4667 | r=`${PWD_COMMAND}`; export r; \ |
4668 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4669 | $(SET_LIB_PATH) \ |
4670 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4671 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4672 | done; \ | |
4673 | echo "Doing TAGS in bfd" ; \ | |
4674 | (cd bfd && \ | |
4675 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4676 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4677 | "RANLIB=$${RANLIB}" \ | |
4678 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4679 | TAGS) \ | |
4680 | || exit 1 | |
4681 | ||
4682 | ||
4683 | .PHONY: maybe-TAGS-opcodes TAGS-opcodes | |
4684 | maybe-TAGS-opcodes: | |
4685 | ||
4686 | TAGS-opcodes: \ | |
4687 | configure-opcodes | |
4688 | @[ -f ./opcodes/Makefile ] || exit 0; \ | |
b40e3958 L |
4689 | r=`${PWD_COMMAND}`; export r; \ |
4690 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4691 | $(SET_LIB_PATH) \ |
4692 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4693 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4694 | done; \ | |
4695 | echo "Doing TAGS in opcodes" ; \ | |
4696 | (cd opcodes && \ | |
4697 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4698 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4699 | "RANLIB=$${RANLIB}" \ | |
4700 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4701 | TAGS) \ | |
4702 | || exit 1 | |
4703 | ||
4704 | ||
4705 | .PHONY: maybe-TAGS-binutils TAGS-binutils | |
4706 | maybe-TAGS-binutils: | |
4707 | ||
4708 | TAGS-binutils: \ | |
4709 | configure-binutils | |
4710 | @[ -f ./binutils/Makefile ] || exit 0; \ | |
b40e3958 L |
4711 | r=`${PWD_COMMAND}`; export r; \ |
4712 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4713 | $(SET_LIB_PATH) \ |
4714 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4715 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4716 | done; \ | |
4717 | echo "Doing TAGS in binutils" ; \ | |
4718 | (cd binutils && \ | |
4719 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4720 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4721 | "RANLIB=$${RANLIB}" \ | |
4722 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4723 | TAGS) \ | |
4724 | || exit 1 | |
4725 | ||
4726 | ||
4727 | .PHONY: maybe-TAGS-bison TAGS-bison | |
4728 | maybe-TAGS-bison: | |
4729 | ||
4730 | TAGS-bison: \ | |
4731 | configure-bison | |
4732 | @[ -f ./bison/Makefile ] || exit 0; \ | |
b40e3958 L |
4733 | r=`${PWD_COMMAND}`; export r; \ |
4734 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4735 | $(SET_LIB_PATH) \ |
4736 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4737 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4738 | done; \ | |
4739 | echo "Doing TAGS in bison" ; \ | |
4740 | (cd bison && \ | |
4741 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4742 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4743 | "RANLIB=$${RANLIB}" \ | |
4744 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4745 | TAGS) \ | |
4746 | || exit 1 | |
4747 | ||
4748 | ||
4749 | .PHONY: maybe-TAGS-byacc TAGS-byacc | |
4750 | maybe-TAGS-byacc: | |
4751 | ||
4752 | TAGS-byacc: \ | |
4753 | configure-byacc | |
4754 | @[ -f ./byacc/Makefile ] || exit 0; \ | |
b40e3958 L |
4755 | r=`${PWD_COMMAND}`; export r; \ |
4756 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4757 | $(SET_LIB_PATH) \ |
4758 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4759 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4760 | done; \ | |
4761 | echo "Doing TAGS in byacc" ; \ | |
4762 | (cd byacc && \ | |
4763 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4764 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4765 | "RANLIB=$${RANLIB}" \ | |
4766 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4767 | TAGS) \ | |
4768 | || exit 1 | |
4769 | ||
4770 | ||
4771 | .PHONY: maybe-TAGS-bzip2 TAGS-bzip2 | |
4772 | maybe-TAGS-bzip2: | |
4773 | ||
4774 | TAGS-bzip2: \ | |
4775 | configure-bzip2 | |
4776 | @[ -f ./bzip2/Makefile ] || exit 0; \ | |
b40e3958 L |
4777 | r=`${PWD_COMMAND}`; export r; \ |
4778 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4779 | $(SET_LIB_PATH) \ |
4780 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4781 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4782 | done; \ | |
4783 | echo "Doing TAGS in bzip2" ; \ | |
4784 | (cd bzip2 && \ | |
4785 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4786 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4787 | "RANLIB=$${RANLIB}" \ | |
4788 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4789 | TAGS) \ | |
4790 | || exit 1 | |
4791 | ||
4792 | ||
4793 | .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu | |
4794 | maybe-TAGS-dejagnu: | |
4795 | ||
4796 | TAGS-dejagnu: \ | |
4797 | configure-dejagnu | |
4798 | @[ -f ./dejagnu/Makefile ] || exit 0; \ | |
b40e3958 L |
4799 | r=`${PWD_COMMAND}`; export r; \ |
4800 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4801 | $(SET_LIB_PATH) \ |
4802 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4803 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4804 | done; \ | |
4805 | echo "Doing TAGS in dejagnu" ; \ | |
4806 | (cd dejagnu && \ | |
4807 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4808 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4809 | "RANLIB=$${RANLIB}" \ | |
4810 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4811 | TAGS) \ | |
4812 | || exit 1 | |
4813 | ||
4814 | ||
4815 | .PHONY: maybe-TAGS-diff TAGS-diff | |
4816 | maybe-TAGS-diff: | |
4817 | ||
4818 | TAGS-diff: \ | |
4819 | configure-diff | |
4820 | @[ -f ./diff/Makefile ] || exit 0; \ | |
b40e3958 L |
4821 | r=`${PWD_COMMAND}`; export r; \ |
4822 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4823 | $(SET_LIB_PATH) \ |
4824 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4825 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4826 | done; \ | |
4827 | echo "Doing TAGS in diff" ; \ | |
4828 | (cd diff && \ | |
4829 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4830 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4831 | "RANLIB=$${RANLIB}" \ | |
4832 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4833 | TAGS) \ | |
4834 | || exit 1 | |
4835 | ||
4836 | ||
4837 | .PHONY: maybe-TAGS-dosutils TAGS-dosutils | |
4838 | maybe-TAGS-dosutils: | |
4839 | ||
4840 | TAGS-dosutils: \ | |
4841 | configure-dosutils | |
4842 | @[ -f ./dosutils/Makefile ] || exit 0; \ | |
b40e3958 L |
4843 | r=`${PWD_COMMAND}`; export r; \ |
4844 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4845 | $(SET_LIB_PATH) \ |
4846 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4847 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4848 | done; \ | |
4849 | echo "Doing TAGS in dosutils" ; \ | |
4850 | (cd dosutils && \ | |
4851 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4852 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4853 | "RANLIB=$${RANLIB}" \ | |
4854 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4855 | TAGS) \ | |
4856 | || exit 1 | |
4857 | ||
4858 | ||
4859 | .PHONY: maybe-TAGS-etc TAGS-etc | |
4860 | maybe-TAGS-etc: | |
4861 | ||
4862 | TAGS-etc: \ | |
4863 | configure-etc | |
4864 | @[ -f ./etc/Makefile ] || exit 0; \ | |
b40e3958 L |
4865 | r=`${PWD_COMMAND}`; export r; \ |
4866 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4867 | $(SET_LIB_PATH) \ |
4868 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4869 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4870 | done; \ | |
4871 | echo "Doing TAGS in etc" ; \ | |
4872 | (cd etc && \ | |
4873 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4874 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4875 | "RANLIB=$${RANLIB}" \ | |
4876 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4877 | TAGS) \ | |
4878 | || exit 1 | |
4879 | ||
4880 | ||
4881 | .PHONY: maybe-TAGS-fastjar TAGS-fastjar | |
4882 | maybe-TAGS-fastjar: | |
4883 | ||
4884 | TAGS-fastjar: \ | |
4885 | configure-fastjar | |
4886 | @[ -f ./fastjar/Makefile ] || exit 0; \ | |
b40e3958 L |
4887 | r=`${PWD_COMMAND}`; export r; \ |
4888 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4889 | $(SET_LIB_PATH) \ |
4890 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4891 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4892 | done; \ | |
4893 | echo "Doing TAGS in fastjar" ; \ | |
4894 | (cd fastjar && \ | |
4895 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4896 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4897 | "RANLIB=$${RANLIB}" \ | |
4898 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4899 | TAGS) \ | |
4900 | || exit 1 | |
4901 | ||
4902 | ||
4903 | .PHONY: maybe-TAGS-fileutils TAGS-fileutils | |
4904 | maybe-TAGS-fileutils: | |
4905 | ||
4906 | TAGS-fileutils: \ | |
4907 | configure-fileutils | |
4908 | @[ -f ./fileutils/Makefile ] || exit 0; \ | |
b40e3958 L |
4909 | r=`${PWD_COMMAND}`; export r; \ |
4910 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4911 | $(SET_LIB_PATH) \ |
4912 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4913 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4914 | done; \ | |
4915 | echo "Doing TAGS in fileutils" ; \ | |
4916 | (cd fileutils && \ | |
4917 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4918 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4919 | "RANLIB=$${RANLIB}" \ | |
4920 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4921 | TAGS) \ | |
4922 | || exit 1 | |
4923 | ||
4924 | ||
4925 | .PHONY: maybe-TAGS-findutils TAGS-findutils | |
4926 | maybe-TAGS-findutils: | |
4927 | ||
4928 | TAGS-findutils: \ | |
4929 | configure-findutils | |
4930 | @[ -f ./findutils/Makefile ] || exit 0; \ | |
b40e3958 L |
4931 | r=`${PWD_COMMAND}`; export r; \ |
4932 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4933 | $(SET_LIB_PATH) \ |
4934 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4935 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4936 | done; \ | |
4937 | echo "Doing TAGS in findutils" ; \ | |
4938 | (cd findutils && \ | |
4939 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4940 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4941 | "RANLIB=$${RANLIB}" \ | |
4942 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4943 | TAGS) \ | |
4944 | || exit 1 | |
4945 | ||
4946 | ||
4947 | .PHONY: maybe-TAGS-find TAGS-find | |
4948 | maybe-TAGS-find: | |
4949 | ||
4950 | TAGS-find: \ | |
4951 | configure-find | |
4952 | @[ -f ./find/Makefile ] || exit 0; \ | |
b40e3958 L |
4953 | r=`${PWD_COMMAND}`; export r; \ |
4954 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4955 | $(SET_LIB_PATH) \ |
4956 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4957 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4958 | done; \ | |
4959 | echo "Doing TAGS in find" ; \ | |
4960 | (cd find && \ | |
4961 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4962 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4963 | "RANLIB=$${RANLIB}" \ | |
4964 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4965 | TAGS) \ | |
4966 | || exit 1 | |
4967 | ||
4968 | ||
4969 | .PHONY: maybe-TAGS-flex TAGS-flex | |
4970 | maybe-TAGS-flex: | |
4971 | ||
4972 | TAGS-flex: \ | |
4973 | configure-flex | |
4974 | @[ -f ./flex/Makefile ] || exit 0; \ | |
b40e3958 L |
4975 | r=`${PWD_COMMAND}`; export r; \ |
4976 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4977 | $(SET_LIB_PATH) \ |
4978 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4979 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4980 | done; \ | |
4981 | echo "Doing TAGS in flex" ; \ | |
4982 | (cd flex && \ | |
4983 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4984 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4985 | "RANLIB=$${RANLIB}" \ | |
4986 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4987 | TAGS) \ | |
4988 | || exit 1 | |
4989 | ||
4990 | ||
4991 | .PHONY: maybe-TAGS-gas TAGS-gas | |
4992 | maybe-TAGS-gas: | |
4993 | ||
4994 | TAGS-gas: \ | |
4995 | configure-gas | |
4996 | @[ -f ./gas/Makefile ] || exit 0; \ | |
b40e3958 L |
4997 | r=`${PWD_COMMAND}`; export r; \ |
4998 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4999 | $(SET_LIB_PATH) \ |
5000 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5001 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5002 | done; \ | |
5003 | echo "Doing TAGS in gas" ; \ | |
5004 | (cd gas && \ | |
5005 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5006 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5007 | "RANLIB=$${RANLIB}" \ | |
5008 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5009 | TAGS) \ | |
5010 | || exit 1 | |
5011 | ||
5012 | ||
5013 | .PHONY: maybe-TAGS-gawk TAGS-gawk | |
5014 | maybe-TAGS-gawk: | |
5015 | ||
5016 | TAGS-gawk: \ | |
5017 | configure-gawk | |
5018 | @[ -f ./gawk/Makefile ] || exit 0; \ | |
b40e3958 L |
5019 | r=`${PWD_COMMAND}`; export r; \ |
5020 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5021 | $(SET_LIB_PATH) \ |
5022 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5023 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5024 | done; \ | |
5025 | echo "Doing TAGS in gawk" ; \ | |
5026 | (cd gawk && \ | |
5027 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5028 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5029 | "RANLIB=$${RANLIB}" \ | |
5030 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5031 | TAGS) \ | |
5032 | || exit 1 | |
5033 | ||
5034 | ||
5035 | .PHONY: maybe-TAGS-gettext TAGS-gettext | |
5036 | maybe-TAGS-gettext: | |
5037 | ||
5038 | TAGS-gettext: \ | |
5039 | configure-gettext | |
5040 | @[ -f ./gettext/Makefile ] || exit 0; \ | |
b40e3958 L |
5041 | r=`${PWD_COMMAND}`; export r; \ |
5042 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5043 | $(SET_LIB_PATH) \ |
5044 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5045 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5046 | done; \ | |
5047 | echo "Doing TAGS in gettext" ; \ | |
5048 | (cd gettext && \ | |
5049 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5050 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5051 | "RANLIB=$${RANLIB}" \ | |
5052 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5053 | TAGS) \ | |
5054 | || exit 1 | |
5055 | ||
5056 | ||
5057 | .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv | |
5058 | maybe-TAGS-gnuserv: | |
5059 | ||
5060 | TAGS-gnuserv: \ | |
5061 | configure-gnuserv | |
5062 | @[ -f ./gnuserv/Makefile ] || exit 0; \ | |
b40e3958 L |
5063 | r=`${PWD_COMMAND}`; export r; \ |
5064 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5065 | $(SET_LIB_PATH) \ |
5066 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5067 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5068 | done; \ | |
5069 | echo "Doing TAGS in gnuserv" ; \ | |
5070 | (cd gnuserv && \ | |
5071 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5072 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5073 | "RANLIB=$${RANLIB}" \ | |
5074 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5075 | TAGS) \ | |
5076 | || exit 1 | |
5077 | ||
5078 | ||
5079 | .PHONY: maybe-TAGS-gprof TAGS-gprof | |
5080 | maybe-TAGS-gprof: | |
5081 | ||
5082 | TAGS-gprof: \ | |
5083 | configure-gprof | |
5084 | @[ -f ./gprof/Makefile ] || exit 0; \ | |
b40e3958 L |
5085 | r=`${PWD_COMMAND}`; export r; \ |
5086 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5087 | $(SET_LIB_PATH) \ |
5088 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5089 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5090 | done; \ | |
5091 | echo "Doing TAGS in gprof" ; \ | |
5092 | (cd gprof && \ | |
5093 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5094 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5095 | "RANLIB=$${RANLIB}" \ | |
5096 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5097 | TAGS) \ | |
5098 | || exit 1 | |
5099 | ||
5100 | ||
5101 | .PHONY: maybe-TAGS-gzip TAGS-gzip | |
5102 | maybe-TAGS-gzip: | |
5103 | ||
5104 | TAGS-gzip: \ | |
5105 | configure-gzip | |
5106 | @[ -f ./gzip/Makefile ] || exit 0; \ | |
b40e3958 L |
5107 | r=`${PWD_COMMAND}`; export r; \ |
5108 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5109 | $(SET_LIB_PATH) \ |
5110 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5111 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5112 | done; \ | |
5113 | echo "Doing TAGS in gzip" ; \ | |
5114 | (cd gzip && \ | |
5115 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5116 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5117 | "RANLIB=$${RANLIB}" \ | |
5118 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5119 | TAGS) \ | |
5120 | || exit 1 | |
5121 | ||
5122 | ||
5123 | .PHONY: maybe-TAGS-hello TAGS-hello | |
5124 | maybe-TAGS-hello: | |
5125 | ||
5126 | TAGS-hello: \ | |
5127 | configure-hello | |
5128 | @[ -f ./hello/Makefile ] || exit 0; \ | |
b40e3958 L |
5129 | r=`${PWD_COMMAND}`; export r; \ |
5130 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5131 | $(SET_LIB_PATH) \ |
5132 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5133 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5134 | done; \ | |
5135 | echo "Doing TAGS in hello" ; \ | |
5136 | (cd hello && \ | |
5137 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5138 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5139 | "RANLIB=$${RANLIB}" \ | |
5140 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5141 | TAGS) \ | |
5142 | || exit 1 | |
5143 | ||
5144 | ||
5145 | .PHONY: maybe-TAGS-indent TAGS-indent | |
5146 | maybe-TAGS-indent: | |
5147 | ||
5148 | TAGS-indent: \ | |
5149 | configure-indent | |
5150 | @[ -f ./indent/Makefile ] || exit 0; \ | |
b40e3958 L |
5151 | r=`${PWD_COMMAND}`; export r; \ |
5152 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5153 | $(SET_LIB_PATH) \ |
5154 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5155 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5156 | done; \ | |
5157 | echo "Doing TAGS in indent" ; \ | |
5158 | (cd indent && \ | |
5159 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5160 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5161 | "RANLIB=$${RANLIB}" \ | |
5162 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5163 | TAGS) \ | |
5164 | || exit 1 | |
5165 | ||
5166 | ||
5167 | .PHONY: maybe-TAGS-intl TAGS-intl | |
5168 | maybe-TAGS-intl: | |
5169 | ||
5170 | TAGS-intl: \ | |
5171 | configure-intl | |
5172 | @[ -f ./intl/Makefile ] || exit 0; \ | |
b40e3958 L |
5173 | r=`${PWD_COMMAND}`; export r; \ |
5174 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5175 | $(SET_LIB_PATH) \ |
5176 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5177 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5178 | done; \ | |
5179 | echo "Doing TAGS in intl" ; \ | |
5180 | (cd intl && \ | |
5181 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5182 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5183 | "RANLIB=$${RANLIB}" \ | |
5184 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5185 | TAGS) \ | |
5186 | || exit 1 | |
5187 | ||
5188 | ||
5189 | .PHONY: maybe-TAGS-tcl TAGS-tcl | |
5190 | maybe-TAGS-tcl: | |
5191 | ||
5192 | TAGS-tcl: \ | |
5193 | configure-tcl | |
5194 | @[ -f ./tcl/Makefile ] || exit 0; \ | |
b40e3958 L |
5195 | r=`${PWD_COMMAND}`; export r; \ |
5196 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5197 | $(SET_LIB_PATH) \ |
5198 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5199 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5200 | done; \ | |
5201 | echo "Doing TAGS in tcl" ; \ | |
5202 | (cd tcl && \ | |
5203 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5204 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5205 | "RANLIB=$${RANLIB}" \ | |
5206 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5207 | TAGS) \ | |
5208 | || exit 1 | |
5209 | ||
5210 | ||
5211 | .PHONY: maybe-TAGS-itcl TAGS-itcl | |
5212 | maybe-TAGS-itcl: | |
5213 | ||
5214 | TAGS-itcl: \ | |
5215 | configure-itcl | |
5216 | @[ -f ./itcl/Makefile ] || exit 0; \ | |
b40e3958 L |
5217 | r=`${PWD_COMMAND}`; export r; \ |
5218 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5219 | $(SET_LIB_PATH) \ |
5220 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5221 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5222 | done; \ | |
5223 | echo "Doing TAGS in itcl" ; \ | |
5224 | (cd itcl && \ | |
5225 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5226 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5227 | "RANLIB=$${RANLIB}" \ | |
5228 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5229 | TAGS) \ | |
5230 | || exit 1 | |
5231 | ||
5232 | ||
5233 | .PHONY: maybe-TAGS-ld TAGS-ld | |
5234 | maybe-TAGS-ld: | |
5235 | ||
5236 | TAGS-ld: \ | |
5237 | configure-ld | |
5238 | @[ -f ./ld/Makefile ] || exit 0; \ | |
b40e3958 L |
5239 | r=`${PWD_COMMAND}`; export r; \ |
5240 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5241 | $(SET_LIB_PATH) \ |
5242 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5243 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5244 | done; \ | |
5245 | echo "Doing TAGS in ld" ; \ | |
5246 | (cd ld && \ | |
5247 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5248 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5249 | "RANLIB=$${RANLIB}" \ | |
5250 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5251 | TAGS) \ | |
5252 | || exit 1 | |
5253 | ||
5254 | ||
5255 | .PHONY: maybe-TAGS-libgui TAGS-libgui | |
5256 | maybe-TAGS-libgui: | |
5257 | ||
5258 | TAGS-libgui: \ | |
5259 | configure-libgui | |
5260 | @[ -f ./libgui/Makefile ] || exit 0; \ | |
b40e3958 L |
5261 | r=`${PWD_COMMAND}`; export r; \ |
5262 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5263 | $(SET_LIB_PATH) \ |
5264 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5265 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5266 | done; \ | |
5267 | echo "Doing TAGS in libgui" ; \ | |
5268 | (cd libgui && \ | |
5269 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5270 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5271 | "RANLIB=$${RANLIB}" \ | |
5272 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5273 | TAGS) \ | |
5274 | || exit 1 | |
5275 | ||
5276 | ||
5277 | .PHONY: maybe-TAGS-libiberty TAGS-libiberty | |
5278 | maybe-TAGS-libiberty: | |
5279 | ||
5280 | TAGS-libiberty: \ | |
5281 | configure-libiberty | |
5282 | @[ -f ./libiberty/Makefile ] || exit 0; \ | |
b40e3958 L |
5283 | r=`${PWD_COMMAND}`; export r; \ |
5284 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5285 | $(SET_LIB_PATH) \ |
5286 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5287 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5288 | done; \ | |
5289 | echo "Doing TAGS in libiberty" ; \ | |
5290 | (cd libiberty && \ | |
5291 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5292 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5293 | "RANLIB=$${RANLIB}" \ | |
5294 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5295 | TAGS) \ | |
5296 | || exit 1 | |
5297 | ||
5298 | ||
5299 | .PHONY: maybe-TAGS-libtool TAGS-libtool | |
5300 | maybe-TAGS-libtool: | |
5301 | ||
5302 | TAGS-libtool: \ | |
5303 | configure-libtool | |
5304 | @[ -f ./libtool/Makefile ] || exit 0; \ | |
b40e3958 L |
5305 | r=`${PWD_COMMAND}`; export r; \ |
5306 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5307 | $(SET_LIB_PATH) \ |
5308 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5309 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5310 | done; \ | |
5311 | echo "Doing TAGS in libtool" ; \ | |
5312 | (cd libtool && \ | |
5313 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5314 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5315 | "RANLIB=$${RANLIB}" \ | |
5316 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5317 | TAGS) \ | |
5318 | || exit 1 | |
5319 | ||
5320 | ||
5321 | .PHONY: maybe-TAGS-m4 TAGS-m4 | |
5322 | maybe-TAGS-m4: | |
5323 | ||
5324 | TAGS-m4: \ | |
5325 | configure-m4 | |
5326 | @[ -f ./m4/Makefile ] || exit 0; \ | |
b40e3958 L |
5327 | r=`${PWD_COMMAND}`; export r; \ |
5328 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5329 | $(SET_LIB_PATH) \ |
5330 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5331 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5332 | done; \ | |
5333 | echo "Doing TAGS in m4" ; \ | |
5334 | (cd m4 && \ | |
5335 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5336 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5337 | "RANLIB=$${RANLIB}" \ | |
5338 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5339 | TAGS) \ | |
5340 | || exit 1 | |
5341 | ||
5342 | ||
5343 | .PHONY: maybe-TAGS-make TAGS-make | |
5344 | maybe-TAGS-make: | |
5345 | ||
5346 | TAGS-make: \ | |
5347 | configure-make | |
5348 | @[ -f ./make/Makefile ] || exit 0; \ | |
b40e3958 L |
5349 | r=`${PWD_COMMAND}`; export r; \ |
5350 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5351 | $(SET_LIB_PATH) \ |
5352 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5353 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5354 | done; \ | |
5355 | echo "Doing TAGS in make" ; \ | |
5356 | (cd make && \ | |
5357 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5358 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5359 | "RANLIB=$${RANLIB}" \ | |
5360 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5361 | TAGS) \ | |
5362 | || exit 1 | |
5363 | ||
5364 | ||
5365 | .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc | |
5366 | maybe-TAGS-mmalloc: | |
5367 | ||
5368 | TAGS-mmalloc: \ | |
5369 | configure-mmalloc | |
5370 | @[ -f ./mmalloc/Makefile ] || exit 0; \ | |
b40e3958 L |
5371 | r=`${PWD_COMMAND}`; export r; \ |
5372 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5373 | $(SET_LIB_PATH) \ |
5374 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5375 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5376 | done; \ | |
5377 | echo "Doing TAGS in mmalloc" ; \ | |
5378 | (cd mmalloc && \ | |
5379 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5380 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5381 | "RANLIB=$${RANLIB}" \ | |
5382 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5383 | TAGS) \ | |
5384 | || exit 1 | |
5385 | ||
5386 | ||
5387 | .PHONY: maybe-TAGS-patch TAGS-patch | |
5388 | maybe-TAGS-patch: | |
5389 | ||
5390 | TAGS-patch: \ | |
5391 | configure-patch | |
5392 | @[ -f ./patch/Makefile ] || exit 0; \ | |
b40e3958 L |
5393 | r=`${PWD_COMMAND}`; export r; \ |
5394 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5395 | $(SET_LIB_PATH) \ |
5396 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5397 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5398 | done; \ | |
5399 | echo "Doing TAGS in patch" ; \ | |
5400 | (cd patch && \ | |
5401 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5402 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5403 | "RANLIB=$${RANLIB}" \ | |
5404 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5405 | TAGS) \ | |
5406 | || exit 1 | |
5407 | ||
5408 | ||
5409 | .PHONY: maybe-TAGS-perl TAGS-perl | |
5410 | maybe-TAGS-perl: | |
5411 | ||
5412 | TAGS-perl: \ | |
5413 | configure-perl | |
5414 | @[ -f ./perl/Makefile ] || exit 0; \ | |
b40e3958 L |
5415 | r=`${PWD_COMMAND}`; export r; \ |
5416 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5417 | $(SET_LIB_PATH) \ |
5418 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5419 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5420 | done; \ | |
5421 | echo "Doing TAGS in perl" ; \ | |
5422 | (cd perl && \ | |
5423 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5424 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5425 | "RANLIB=$${RANLIB}" \ | |
5426 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5427 | TAGS) \ | |
5428 | || exit 1 | |
5429 | ||
5430 | ||
5431 | .PHONY: maybe-TAGS-prms TAGS-prms | |
5432 | maybe-TAGS-prms: | |
5433 | ||
5434 | TAGS-prms: \ | |
5435 | configure-prms | |
5436 | @[ -f ./prms/Makefile ] || exit 0; \ | |
b40e3958 L |
5437 | r=`${PWD_COMMAND}`; export r; \ |
5438 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5439 | $(SET_LIB_PATH) \ |
5440 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5441 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5442 | done; \ | |
5443 | echo "Doing TAGS in prms" ; \ | |
5444 | (cd prms && \ | |
5445 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5446 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5447 | "RANLIB=$${RANLIB}" \ | |
5448 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5449 | TAGS) \ | |
5450 | || exit 1 | |
5451 | ||
5452 | ||
5453 | .PHONY: maybe-TAGS-rcs TAGS-rcs | |
5454 | maybe-TAGS-rcs: | |
5455 | ||
5456 | TAGS-rcs: \ | |
5457 | configure-rcs | |
5458 | @[ -f ./rcs/Makefile ] || exit 0; \ | |
b40e3958 L |
5459 | r=`${PWD_COMMAND}`; export r; \ |
5460 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5461 | $(SET_LIB_PATH) \ |
5462 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5463 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5464 | done; \ | |
5465 | echo "Doing TAGS in rcs" ; \ | |
5466 | (cd rcs && \ | |
5467 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5468 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5469 | "RANLIB=$${RANLIB}" \ | |
5470 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5471 | TAGS) \ | |
5472 | || exit 1 | |
5473 | ||
5474 | ||
5475 | .PHONY: maybe-TAGS-readline TAGS-readline | |
5476 | maybe-TAGS-readline: | |
5477 | ||
5478 | TAGS-readline: \ | |
5479 | configure-readline | |
5480 | @[ -f ./readline/Makefile ] || exit 0; \ | |
b40e3958 L |
5481 | r=`${PWD_COMMAND}`; export r; \ |
5482 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5483 | $(SET_LIB_PATH) \ |
5484 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5485 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5486 | done; \ | |
5487 | echo "Doing TAGS in readline" ; \ | |
5488 | (cd readline && \ | |
5489 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5490 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5491 | "RANLIB=$${RANLIB}" \ | |
5492 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5493 | TAGS) \ | |
5494 | || exit 1 | |
5495 | ||
5496 | ||
5497 | .PHONY: maybe-TAGS-release TAGS-release | |
5498 | maybe-TAGS-release: | |
5499 | ||
5500 | TAGS-release: \ | |
5501 | configure-release | |
5502 | @[ -f ./release/Makefile ] || exit 0; \ | |
b40e3958 L |
5503 | r=`${PWD_COMMAND}`; export r; \ |
5504 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5505 | $(SET_LIB_PATH) \ |
5506 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5507 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5508 | done; \ | |
5509 | echo "Doing TAGS in release" ; \ | |
5510 | (cd release && \ | |
5511 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5512 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5513 | "RANLIB=$${RANLIB}" \ | |
5514 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5515 | TAGS) \ | |
5516 | || exit 1 | |
5517 | ||
5518 | ||
5519 | .PHONY: maybe-TAGS-recode TAGS-recode | |
5520 | maybe-TAGS-recode: | |
5521 | ||
5522 | TAGS-recode: \ | |
5523 | configure-recode | |
5524 | @[ -f ./recode/Makefile ] || exit 0; \ | |
b40e3958 L |
5525 | r=`${PWD_COMMAND}`; export r; \ |
5526 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5527 | $(SET_LIB_PATH) \ |
5528 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5529 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5530 | done; \ | |
5531 | echo "Doing TAGS in recode" ; \ | |
5532 | (cd recode && \ | |
5533 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5534 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5535 | "RANLIB=$${RANLIB}" \ | |
5536 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5537 | TAGS) \ | |
5538 | || exit 1 | |
5539 | ||
5540 | ||
5541 | .PHONY: maybe-TAGS-sed TAGS-sed | |
5542 | maybe-TAGS-sed: | |
5543 | ||
5544 | TAGS-sed: \ | |
5545 | configure-sed | |
5546 | @[ -f ./sed/Makefile ] || exit 0; \ | |
b40e3958 L |
5547 | r=`${PWD_COMMAND}`; export r; \ |
5548 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5549 | $(SET_LIB_PATH) \ |
5550 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5551 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5552 | done; \ | |
5553 | echo "Doing TAGS in sed" ; \ | |
5554 | (cd sed && \ | |
5555 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5556 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5557 | "RANLIB=$${RANLIB}" \ | |
5558 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5559 | TAGS) \ | |
5560 | || exit 1 | |
5561 | ||
5562 | ||
5563 | .PHONY: maybe-TAGS-send-pr TAGS-send-pr | |
5564 | maybe-TAGS-send-pr: | |
5565 | ||
5566 | TAGS-send-pr: \ | |
5567 | configure-send-pr | |
5568 | @[ -f ./send-pr/Makefile ] || exit 0; \ | |
b40e3958 L |
5569 | r=`${PWD_COMMAND}`; export r; \ |
5570 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5571 | $(SET_LIB_PATH) \ |
5572 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5573 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5574 | done; \ | |
5575 | echo "Doing TAGS in send-pr" ; \ | |
5576 | (cd send-pr && \ | |
5577 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5578 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5579 | "RANLIB=$${RANLIB}" \ | |
5580 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5581 | TAGS) \ | |
5582 | || exit 1 | |
5583 | ||
5584 | ||
5585 | .PHONY: maybe-TAGS-shellutils TAGS-shellutils | |
5586 | maybe-TAGS-shellutils: | |
5587 | ||
5588 | TAGS-shellutils: \ | |
5589 | configure-shellutils | |
5590 | @[ -f ./shellutils/Makefile ] || exit 0; \ | |
b40e3958 L |
5591 | r=`${PWD_COMMAND}`; export r; \ |
5592 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5593 | $(SET_LIB_PATH) \ |
5594 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5595 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5596 | done; \ | |
5597 | echo "Doing TAGS in shellutils" ; \ | |
5598 | (cd shellutils && \ | |
5599 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5600 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5601 | "RANLIB=$${RANLIB}" \ | |
5602 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5603 | TAGS) \ | |
5604 | || exit 1 | |
5605 | ||
5606 | ||
5607 | .PHONY: maybe-TAGS-sid TAGS-sid | |
5608 | maybe-TAGS-sid: | |
5609 | ||
5610 | TAGS-sid: \ | |
5611 | configure-sid | |
5612 | @[ -f ./sid/Makefile ] || exit 0; \ | |
b40e3958 L |
5613 | r=`${PWD_COMMAND}`; export r; \ |
5614 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5615 | $(SET_LIB_PATH) \ |
5616 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5617 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5618 | done; \ | |
5619 | echo "Doing TAGS in sid" ; \ | |
5620 | (cd sid && \ | |
5621 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5622 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5623 | "RANLIB=$${RANLIB}" \ | |
5624 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5625 | TAGS) \ | |
5626 | || exit 1 | |
5627 | ||
5628 | ||
5629 | .PHONY: maybe-TAGS-sim TAGS-sim | |
5630 | maybe-TAGS-sim: | |
5631 | ||
5632 | TAGS-sim: \ | |
5633 | configure-sim | |
5634 | @[ -f ./sim/Makefile ] || exit 0; \ | |
b40e3958 L |
5635 | r=`${PWD_COMMAND}`; export r; \ |
5636 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5637 | $(SET_LIB_PATH) \ |
5638 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5639 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5640 | done; \ | |
5641 | echo "Doing TAGS in sim" ; \ | |
5642 | (cd sim && \ | |
5643 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5644 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5645 | "RANLIB=$${RANLIB}" \ | |
5646 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5647 | TAGS) \ | |
5648 | || exit 1 | |
5649 | ||
5650 | ||
5651 | .PHONY: maybe-TAGS-tar TAGS-tar | |
5652 | maybe-TAGS-tar: | |
5653 | ||
5654 | TAGS-tar: \ | |
5655 | configure-tar | |
5656 | @[ -f ./tar/Makefile ] || exit 0; \ | |
b40e3958 L |
5657 | r=`${PWD_COMMAND}`; export r; \ |
5658 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5659 | $(SET_LIB_PATH) \ |
5660 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5661 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5662 | done; \ | |
5663 | echo "Doing TAGS in tar" ; \ | |
5664 | (cd tar && \ | |
5665 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5666 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5667 | "RANLIB=$${RANLIB}" \ | |
5668 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5669 | TAGS) \ | |
5670 | || exit 1 | |
5671 | ||
5672 | ||
5673 | .PHONY: maybe-TAGS-texinfo TAGS-texinfo | |
5674 | maybe-TAGS-texinfo: | |
5675 | ||
5676 | TAGS-texinfo: \ | |
5677 | configure-texinfo | |
5678 | @[ -f ./texinfo/Makefile ] || exit 0; \ | |
b40e3958 L |
5679 | r=`${PWD_COMMAND}`; export r; \ |
5680 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5681 | $(SET_LIB_PATH) \ |
5682 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5683 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5684 | done; \ | |
5685 | echo "Doing TAGS in texinfo" ; \ | |
5686 | (cd texinfo && \ | |
5687 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5688 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5689 | "RANLIB=$${RANLIB}" \ | |
5690 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5691 | TAGS) \ | |
5692 | || exit 1 | |
5693 | ||
5694 | ||
5695 | .PHONY: maybe-TAGS-textutils TAGS-textutils | |
5696 | maybe-TAGS-textutils: | |
5697 | ||
5698 | TAGS-textutils: \ | |
5699 | configure-textutils | |
5700 | @[ -f ./textutils/Makefile ] || exit 0; \ | |
b40e3958 L |
5701 | r=`${PWD_COMMAND}`; export r; \ |
5702 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5703 | $(SET_LIB_PATH) \ |
5704 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5705 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5706 | done; \ | |
5707 | echo "Doing TAGS in textutils" ; \ | |
5708 | (cd textutils && \ | |
5709 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5710 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5711 | "RANLIB=$${RANLIB}" \ | |
5712 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5713 | TAGS) \ | |
5714 | || exit 1 | |
5715 | ||
5716 | ||
5717 | .PHONY: maybe-TAGS-time TAGS-time | |
5718 | maybe-TAGS-time: | |
5719 | ||
5720 | TAGS-time: \ | |
5721 | configure-time | |
5722 | @[ -f ./time/Makefile ] || exit 0; \ | |
b40e3958 L |
5723 | r=`${PWD_COMMAND}`; export r; \ |
5724 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5725 | $(SET_LIB_PATH) \ |
5726 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5727 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5728 | done; \ | |
5729 | echo "Doing TAGS in time" ; \ | |
5730 | (cd time && \ | |
5731 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5732 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5733 | "RANLIB=$${RANLIB}" \ | |
5734 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5735 | TAGS) \ | |
5736 | || exit 1 | |
5737 | ||
5738 | ||
5739 | .PHONY: maybe-TAGS-uudecode TAGS-uudecode | |
5740 | maybe-TAGS-uudecode: | |
5741 | ||
5742 | TAGS-uudecode: \ | |
5743 | configure-uudecode | |
5744 | @[ -f ./uudecode/Makefile ] || exit 0; \ | |
b40e3958 L |
5745 | r=`${PWD_COMMAND}`; export r; \ |
5746 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5747 | $(SET_LIB_PATH) \ |
5748 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5749 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5750 | done; \ | |
5751 | echo "Doing TAGS in uudecode" ; \ | |
5752 | (cd uudecode && \ | |
5753 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5754 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5755 | "RANLIB=$${RANLIB}" \ | |
5756 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5757 | TAGS) \ | |
5758 | || exit 1 | |
5759 | ||
5760 | ||
5761 | .PHONY: maybe-TAGS-wdiff TAGS-wdiff | |
5762 | maybe-TAGS-wdiff: | |
5763 | ||
5764 | TAGS-wdiff: \ | |
5765 | configure-wdiff | |
5766 | @[ -f ./wdiff/Makefile ] || exit 0; \ | |
b40e3958 L |
5767 | r=`${PWD_COMMAND}`; export r; \ |
5768 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5769 | $(SET_LIB_PATH) \ |
5770 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5771 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5772 | done; \ | |
5773 | echo "Doing TAGS in wdiff" ; \ | |
5774 | (cd wdiff && \ | |
5775 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5776 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5777 | "RANLIB=$${RANLIB}" \ | |
5778 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5779 | TAGS) \ | |
5780 | || exit 1 | |
5781 | ||
5782 | ||
5783 | .PHONY: maybe-TAGS-zip TAGS-zip | |
5784 | maybe-TAGS-zip: | |
5785 | ||
5786 | TAGS-zip: \ | |
5787 | configure-zip | |
5788 | @[ -f ./zip/Makefile ] || exit 0; \ | |
b40e3958 L |
5789 | r=`${PWD_COMMAND}`; export r; \ |
5790 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5791 | $(SET_LIB_PATH) \ |
5792 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5793 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5794 | done; \ | |
5795 | echo "Doing TAGS in zip" ; \ | |
5796 | (cd zip && \ | |
5797 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5798 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5799 | "RANLIB=$${RANLIB}" \ | |
5800 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5801 | TAGS) \ | |
5802 | || exit 1 | |
5803 | ||
5804 | ||
5805 | .PHONY: maybe-TAGS-zlib TAGS-zlib | |
5806 | maybe-TAGS-zlib: | |
5807 | ||
5808 | TAGS-zlib: \ | |
5809 | configure-zlib | |
5810 | @[ -f ./zlib/Makefile ] || exit 0; \ | |
b40e3958 L |
5811 | r=`${PWD_COMMAND}`; export r; \ |
5812 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5813 | $(SET_LIB_PATH) \ |
5814 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5815 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5816 | done; \ | |
5817 | echo "Doing TAGS in zlib" ; \ | |
5818 | (cd zlib && \ | |
5819 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5820 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5821 | "RANLIB=$${RANLIB}" \ | |
5822 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5823 | TAGS) \ | |
5824 | || exit 1 | |
5825 | ||
5826 | ||
5827 | .PHONY: maybe-TAGS-gdb TAGS-gdb | |
5828 | maybe-TAGS-gdb: | |
5829 | ||
5830 | TAGS-gdb: \ | |
5831 | configure-gdb | |
5832 | @[ -f ./gdb/Makefile ] || exit 0; \ | |
b40e3958 L |
5833 | r=`${PWD_COMMAND}`; export r; \ |
5834 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5835 | $(SET_LIB_PATH) \ |
5836 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5837 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5838 | done; \ | |
5839 | echo "Doing TAGS in gdb" ; \ | |
5840 | (cd gdb && \ | |
5841 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5842 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5843 | "RANLIB=$${RANLIB}" \ | |
5844 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5845 | TAGS) \ | |
5846 | || exit 1 | |
5847 | ||
5848 | ||
5849 | .PHONY: maybe-TAGS-expect TAGS-expect | |
5850 | maybe-TAGS-expect: | |
5851 | ||
5852 | TAGS-expect: \ | |
5853 | configure-expect | |
5854 | @[ -f ./expect/Makefile ] || exit 0; \ | |
b40e3958 L |
5855 | r=`${PWD_COMMAND}`; export r; \ |
5856 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5857 | $(SET_LIB_PATH) \ |
5858 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5859 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5860 | done; \ | |
5861 | echo "Doing TAGS in expect" ; \ | |
5862 | (cd expect && \ | |
5863 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5864 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5865 | "RANLIB=$${RANLIB}" \ | |
5866 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5867 | TAGS) \ | |
5868 | || exit 1 | |
5869 | ||
5870 | ||
5871 | .PHONY: maybe-TAGS-guile TAGS-guile | |
5872 | maybe-TAGS-guile: | |
5873 | ||
5874 | TAGS-guile: \ | |
5875 | configure-guile | |
5876 | @[ -f ./guile/Makefile ] || exit 0; \ | |
b40e3958 L |
5877 | r=`${PWD_COMMAND}`; export r; \ |
5878 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5879 | $(SET_LIB_PATH) \ |
5880 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5881 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5882 | done; \ | |
5883 | echo "Doing TAGS in guile" ; \ | |
5884 | (cd guile && \ | |
5885 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5886 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5887 | "RANLIB=$${RANLIB}" \ | |
5888 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5889 | TAGS) \ | |
5890 | || exit 1 | |
5891 | ||
5892 | ||
5893 | .PHONY: maybe-TAGS-tk TAGS-tk | |
5894 | maybe-TAGS-tk: | |
5895 | ||
5896 | TAGS-tk: \ | |
5897 | configure-tk | |
5898 | @[ -f ./tk/Makefile ] || exit 0; \ | |
b40e3958 L |
5899 | r=`${PWD_COMMAND}`; export r; \ |
5900 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5901 | $(SET_LIB_PATH) \ |
5902 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5903 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5904 | done; \ | |
5905 | echo "Doing TAGS in tk" ; \ | |
5906 | (cd tk && \ | |
5907 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5908 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5909 | "RANLIB=$${RANLIB}" \ | |
5910 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5911 | TAGS) \ | |
5912 | || exit 1 | |
5913 | ||
5914 | ||
5915 | .PHONY: maybe-TAGS-tix TAGS-tix | |
5916 | maybe-TAGS-tix: | |
5917 | ||
5918 | TAGS-tix: \ | |
5919 | configure-tix | |
5920 | @[ -f ./tix/Makefile ] || exit 0; \ | |
b40e3958 L |
5921 | r=`${PWD_COMMAND}`; export r; \ |
5922 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5923 | $(SET_LIB_PATH) \ |
5924 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5925 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5926 | done; \ | |
5927 | echo "Doing TAGS in tix" ; \ | |
5928 | (cd tix && \ | |
5929 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5930 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5931 | "RANLIB=$${RANLIB}" \ | |
5932 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5933 | TAGS) \ | |
5934 | || exit 1 | |
5935 | ||
5936 | ||
5937 | .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap | |
5938 | maybe-TAGS-libtermcap: | |
5939 | ||
5940 | TAGS-libtermcap: \ | |
5941 | configure-libtermcap | |
5942 | @[ -f ./libtermcap/Makefile ] || exit 0; \ | |
b40e3958 L |
5943 | r=`${PWD_COMMAND}`; export r; \ |
5944 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5945 | $(SET_LIB_PATH) \ |
5946 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5947 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5948 | done; \ | |
5949 | echo "Doing TAGS in libtermcap" ; \ | |
5950 | (cd libtermcap && \ | |
5951 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5952 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5953 | "RANLIB=$${RANLIB}" \ | |
5954 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5955 | TAGS) \ | |
5956 | || exit 1 | |
5957 | ||
5958 | ||
5959 | .PHONY: maybe-TAGS-utils TAGS-utils | |
5960 | maybe-TAGS-utils: | |
5961 | ||
5962 | TAGS-utils: \ | |
5963 | configure-utils | |
5964 | @[ -f ./utils/Makefile ] || exit 0; \ | |
b40e3958 L |
5965 | r=`${PWD_COMMAND}`; export r; \ |
5966 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5967 | $(SET_LIB_PATH) \ |
5968 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5969 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5970 | done; \ | |
5971 | echo "Doing TAGS in utils" ; \ | |
5972 | (cd utils && \ | |
5973 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5974 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5975 | "RANLIB=$${RANLIB}" \ | |
5976 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5977 | TAGS) \ | |
5978 | || exit 1 | |
5979 | ||
5980 | ||
5981 | ||
5982 | # Target modules. | |
5983 | ||
5984 | .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3 | |
5985 | maybe-TAGS-target-libstdc++-v3: | |
5986 | ||
5987 | TAGS-target-libstdc++-v3: \ | |
5988 | configure-target-libstdc++-v3 | |
5989 | @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ | |
b40e3958 L |
5990 | r=`${PWD_COMMAND}`; export r; \ |
5991 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5992 | $(SET_LIB_PATH) \ |
5993 | echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \ | |
5994 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
5995 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5996 | done; \ | |
5997 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
5998 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5999 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6000 | "RANLIB=$${RANLIB}" \ | |
6001 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6002 | TAGS) \ | |
6003 | || exit 1 | |
6004 | ||
6005 | ||
6006 | .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib | |
6007 | maybe-TAGS-target-newlib: | |
6008 | ||
6009 | TAGS-target-newlib: \ | |
6010 | configure-target-newlib | |
6011 | @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
6012 | r=`${PWD_COMMAND}`; export r; \ |
6013 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6014 | $(SET_LIB_PATH) \ |
6015 | echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \ | |
6016 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6017 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6018 | done; \ | |
6019 | (cd $(TARGET_SUBDIR)/newlib && \ | |
6020 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6021 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6022 | "RANLIB=$${RANLIB}" \ | |
6023 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6024 | TAGS) \ | |
6025 | || exit 1 | |
6026 | ||
6027 | ||
6028 | .PHONY: maybe-TAGS-target-libf2c TAGS-target-libf2c | |
6029 | maybe-TAGS-target-libf2c: | |
6030 | ||
6031 | TAGS-target-libf2c: \ | |
6032 | configure-target-libf2c | |
6033 | @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \ | |
b40e3958 L |
6034 | r=`${PWD_COMMAND}`; export r; \ |
6035 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6036 | $(SET_LIB_PATH) \ |
6037 | echo "Doing TAGS in $(TARGET_SUBDIR)/libf2c" ; \ | |
6038 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6039 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6040 | done; \ | |
6041 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
6042 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6043 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6044 | "RANLIB=$${RANLIB}" \ | |
6045 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6046 | TAGS) \ | |
6047 | || exit 1 | |
6048 | ||
6049 | ||
6050 | .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc | |
6051 | maybe-TAGS-target-libobjc: | |
6052 | ||
6053 | TAGS-target-libobjc: \ | |
6054 | configure-target-libobjc | |
6055 | @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
6056 | r=`${PWD_COMMAND}`; export r; \ |
6057 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6058 | $(SET_LIB_PATH) \ |
6059 | echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \ | |
6060 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6061 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6062 | done; \ | |
6063 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
6064 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6065 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6066 | "RANLIB=$${RANLIB}" \ | |
6067 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6068 | TAGS) \ | |
6069 | || exit 1 | |
6070 | ||
6071 | ||
6072 | .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap | |
6073 | maybe-TAGS-target-libtermcap: | |
6074 | ||
6075 | TAGS-target-libtermcap: \ | |
6076 | configure-target-libtermcap | |
6077 | @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ | |
b40e3958 L |
6078 | r=`${PWD_COMMAND}`; export r; \ |
6079 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6080 | $(SET_LIB_PATH) \ |
6081 | echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \ | |
6082 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6083 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6084 | done; \ | |
6085 | (cd $(TARGET_SUBDIR)/libtermcap && \ | |
6086 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6087 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6088 | "RANLIB=$${RANLIB}" \ | |
6089 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6090 | TAGS) \ | |
6091 | || exit 1 | |
6092 | ||
6093 | ||
6094 | .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup | |
6095 | maybe-TAGS-target-winsup: | |
6096 | ||
6097 | TAGS-target-winsup: \ | |
6098 | configure-target-winsup | |
6099 | @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ | |
b40e3958 L |
6100 | r=`${PWD_COMMAND}`; export r; \ |
6101 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6102 | $(SET_LIB_PATH) \ |
6103 | echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \ | |
6104 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6105 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6106 | done; \ | |
6107 | (cd $(TARGET_SUBDIR)/winsup && \ | |
6108 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6109 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6110 | "RANLIB=$${RANLIB}" \ | |
6111 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6112 | TAGS) \ | |
6113 | || exit 1 | |
6114 | ||
6115 | ||
6116 | .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss | |
6117 | maybe-TAGS-target-libgloss: | |
6118 | ||
6119 | TAGS-target-libgloss: \ | |
6120 | configure-target-libgloss | |
6121 | @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ | |
b40e3958 L |
6122 | r=`${PWD_COMMAND}`; export r; \ |
6123 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6124 | $(SET_LIB_PATH) \ |
6125 | echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \ | |
6126 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6127 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6128 | done; \ | |
6129 | (cd $(TARGET_SUBDIR)/libgloss && \ | |
6130 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6131 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6132 | "RANLIB=$${RANLIB}" \ | |
6133 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6134 | TAGS) \ | |
6135 | || exit 1 | |
6136 | ||
6137 | ||
6138 | .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty | |
6139 | maybe-TAGS-target-libiberty: | |
6140 | ||
6141 | TAGS-target-libiberty: \ | |
6142 | configure-target-libiberty | |
6143 | @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ | |
b40e3958 L |
6144 | r=`${PWD_COMMAND}`; export r; \ |
6145 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6146 | $(SET_LIB_PATH) \ |
6147 | echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \ | |
6148 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6149 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6150 | done; \ | |
6151 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
6152 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6153 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6154 | "RANLIB=$${RANLIB}" \ | |
6155 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6156 | TAGS) \ | |
6157 | || exit 1 | |
6158 | ||
6159 | ||
6160 | .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf | |
6161 | maybe-TAGS-target-gperf: | |
6162 | ||
6163 | TAGS-target-gperf: \ | |
6164 | configure-target-gperf | |
6165 | @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ | |
b40e3958 L |
6166 | r=`${PWD_COMMAND}`; export r; \ |
6167 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6168 | $(SET_LIB_PATH) \ |
6169 | echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \ | |
6170 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6171 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6172 | done; \ | |
6173 | (cd $(TARGET_SUBDIR)/gperf && \ | |
6174 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6175 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6176 | "RANLIB=$${RANLIB}" \ | |
6177 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6178 | TAGS) \ | |
6179 | || exit 1 | |
6180 | ||
6181 | ||
6182 | .PHONY: maybe-TAGS-target-examples TAGS-target-examples | |
6183 | maybe-TAGS-target-examples: | |
6184 | ||
6185 | TAGS-target-examples: \ | |
6186 | configure-target-examples | |
6187 | @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ | |
b40e3958 L |
6188 | r=`${PWD_COMMAND}`; export r; \ |
6189 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6190 | $(SET_LIB_PATH) \ |
6191 | echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \ | |
6192 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6193 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6194 | done; \ | |
6195 | (cd $(TARGET_SUBDIR)/examples && \ | |
6196 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6197 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6198 | "RANLIB=$${RANLIB}" \ | |
6199 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6200 | TAGS) \ | |
6201 | || exit 1 | |
6202 | ||
6203 | ||
6204 | .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi | |
6205 | maybe-TAGS-target-libffi: | |
6206 | ||
6207 | TAGS-target-libffi: \ | |
6208 | configure-target-libffi | |
6209 | @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ | |
b40e3958 L |
6210 | r=`${PWD_COMMAND}`; export r; \ |
6211 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6212 | $(SET_LIB_PATH) \ |
6213 | echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \ | |
6214 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6215 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6216 | done; \ | |
6217 | (cd $(TARGET_SUBDIR)/libffi && \ | |
6218 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6219 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6220 | "RANLIB=$${RANLIB}" \ | |
6221 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6222 | TAGS) \ | |
6223 | || exit 1 | |
6224 | ||
6225 | ||
6226 | .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava | |
6227 | maybe-TAGS-target-libjava: | |
6228 | ||
6229 | TAGS-target-libjava: \ | |
6230 | configure-target-libjava | |
6231 | @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ | |
b40e3958 L |
6232 | r=`${PWD_COMMAND}`; export r; \ |
6233 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6234 | $(SET_LIB_PATH) \ |
6235 | echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \ | |
6236 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6237 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6238 | done; \ | |
6239 | (cd $(TARGET_SUBDIR)/libjava && \ | |
6240 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6241 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6242 | "RANLIB=$${RANLIB}" \ | |
6243 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6244 | TAGS) \ | |
6245 | || exit 1 | |
6246 | ||
6247 | ||
6248 | .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib | |
6249 | maybe-TAGS-target-zlib: | |
6250 | ||
6251 | TAGS-target-zlib: \ | |
6252 | configure-target-zlib | |
6253 | @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
6254 | r=`${PWD_COMMAND}`; export r; \ |
6255 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6256 | $(SET_LIB_PATH) \ |
6257 | echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \ | |
6258 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6259 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6260 | done; \ | |
6261 | (cd $(TARGET_SUBDIR)/zlib && \ | |
6262 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6263 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6264 | "RANLIB=$${RANLIB}" \ | |
6265 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6266 | TAGS) \ | |
6267 | || exit 1 | |
6268 | ||
6269 | ||
6270 | .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc | |
6271 | maybe-TAGS-target-boehm-gc: | |
6272 | ||
6273 | TAGS-target-boehm-gc: \ | |
6274 | configure-target-boehm-gc | |
6275 | @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
6276 | r=`${PWD_COMMAND}`; export r; \ |
6277 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6278 | $(SET_LIB_PATH) \ |
6279 | echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \ | |
6280 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6281 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6282 | done; \ | |
6283 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
6284 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6285 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6286 | "RANLIB=$${RANLIB}" \ | |
6287 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6288 | TAGS) \ | |
6289 | || exit 1 | |
6290 | ||
6291 | ||
6292 | .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads | |
6293 | maybe-TAGS-target-qthreads: | |
6294 | ||
6295 | TAGS-target-qthreads: \ | |
6296 | configure-target-qthreads | |
6297 | @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ | |
b40e3958 L |
6298 | r=`${PWD_COMMAND}`; export r; \ |
6299 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6300 | $(SET_LIB_PATH) \ |
6301 | echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \ | |
6302 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6303 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6304 | done; \ | |
6305 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
6306 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6307 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6308 | "RANLIB=$${RANLIB}" \ | |
6309 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6310 | TAGS) \ | |
6311 | || exit 1 | |
6312 | ||
6313 | ||
6314 | .PHONY: maybe-TAGS-target-rda TAGS-target-rda | |
6315 | maybe-TAGS-target-rda: | |
6316 | ||
6317 | TAGS-target-rda: \ | |
6318 | configure-target-rda | |
6319 | @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ | |
b40e3958 L |
6320 | r=`${PWD_COMMAND}`; export r; \ |
6321 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6322 | $(SET_LIB_PATH) \ |
6323 | echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \ | |
6324 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6325 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6326 | done; \ | |
6327 | (cd $(TARGET_SUBDIR)/rda && \ | |
6328 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6329 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6330 | "RANLIB=$${RANLIB}" \ | |
6331 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6332 | TAGS) \ | |
6333 | || exit 1 | |
6334 | ||
6335 | ||
6336 | ||
6337 | .PHONY: do-install-info | |
6338 | do-install-info: install-info-host install-info-target | |
6339 | ||
6340 | .PHONY: install-info-host | |
6341 | install-info-host: maybe-install-info-gcc \ | |
6342 | maybe-install-info-ash \ | |
6343 | maybe-install-info-autoconf \ | |
6344 | maybe-install-info-automake \ | |
6345 | maybe-install-info-bash \ | |
6346 | maybe-install-info-bfd \ | |
6347 | maybe-install-info-opcodes \ | |
6348 | maybe-install-info-binutils \ | |
6349 | maybe-install-info-bison \ | |
6350 | maybe-install-info-byacc \ | |
6351 | maybe-install-info-bzip2 \ | |
6352 | maybe-install-info-dejagnu \ | |
6353 | maybe-install-info-diff \ | |
6354 | maybe-install-info-dosutils \ | |
6355 | maybe-install-info-etc \ | |
6356 | maybe-install-info-fastjar \ | |
6357 | maybe-install-info-fileutils \ | |
6358 | maybe-install-info-findutils \ | |
6359 | maybe-install-info-find \ | |
6360 | maybe-install-info-flex \ | |
6361 | maybe-install-info-gas \ | |
6362 | maybe-install-info-gawk \ | |
6363 | maybe-install-info-gettext \ | |
6364 | maybe-install-info-gnuserv \ | |
6365 | maybe-install-info-gprof \ | |
6366 | maybe-install-info-gzip \ | |
6367 | maybe-install-info-hello \ | |
6368 | maybe-install-info-indent \ | |
6369 | maybe-install-info-intl \ | |
6370 | maybe-install-info-tcl \ | |
6371 | maybe-install-info-itcl \ | |
6372 | maybe-install-info-ld \ | |
6373 | maybe-install-info-libgui \ | |
6374 | maybe-install-info-libiberty \ | |
6375 | maybe-install-info-libtool \ | |
6376 | maybe-install-info-m4 \ | |
6377 | maybe-install-info-make \ | |
6378 | maybe-install-info-mmalloc \ | |
6379 | maybe-install-info-patch \ | |
6380 | maybe-install-info-perl \ | |
6381 | maybe-install-info-prms \ | |
6382 | maybe-install-info-rcs \ | |
6383 | maybe-install-info-readline \ | |
6384 | maybe-install-info-release \ | |
6385 | maybe-install-info-recode \ | |
6386 | maybe-install-info-sed \ | |
6387 | maybe-install-info-send-pr \ | |
6388 | maybe-install-info-shellutils \ | |
6389 | maybe-install-info-sid \ | |
6390 | maybe-install-info-sim \ | |
6391 | maybe-install-info-tar \ | |
6392 | maybe-install-info-texinfo \ | |
6393 | maybe-install-info-textutils \ | |
6394 | maybe-install-info-time \ | |
6395 | maybe-install-info-uudecode \ | |
6396 | maybe-install-info-wdiff \ | |
6397 | maybe-install-info-zip \ | |
6398 | maybe-install-info-zlib \ | |
6399 | maybe-install-info-gdb \ | |
6400 | maybe-install-info-expect \ | |
6401 | maybe-install-info-guile \ | |
6402 | maybe-install-info-tk \ | |
6403 | maybe-install-info-tix \ | |
6404 | maybe-install-info-libtermcap \ | |
6405 | maybe-install-info-utils | |
6406 | ||
6407 | .PHONY: install-info-target | |
6408 | install-info-target: \ | |
6409 | maybe-install-info-target-libstdc++-v3 \ | |
6410 | maybe-install-info-target-newlib \ | |
6411 | maybe-install-info-target-libf2c \ | |
6412 | maybe-install-info-target-libobjc \ | |
6413 | maybe-install-info-target-libtermcap \ | |
6414 | maybe-install-info-target-winsup \ | |
6415 | maybe-install-info-target-libgloss \ | |
6416 | maybe-install-info-target-libiberty \ | |
6417 | maybe-install-info-target-gperf \ | |
6418 | maybe-install-info-target-examples \ | |
6419 | maybe-install-info-target-libffi \ | |
6420 | maybe-install-info-target-libjava \ | |
6421 | maybe-install-info-target-zlib \ | |
6422 | maybe-install-info-target-boehm-gc \ | |
6423 | maybe-install-info-target-qthreads \ | |
6424 | maybe-install-info-target-rda | |
6425 | ||
6426 | # GCC, the eternal special case | |
6427 | .PHONY: maybe-install-info-gcc install-info-gcc | |
6428 | maybe-install-info-gcc: | |
6429 | install-info-gcc: \ | |
6430 | configure-gcc \ | |
6431 | info-gcc | |
6432 | @[ -f ./gcc/Makefile ] || exit 0; \ | |
b40e3958 L |
6433 | r=`${PWD_COMMAND}`; export r; \ |
6434 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6435 | $(SET_LIB_PATH) \ |
6436 | for flag in $(EXTRA_GCC_FLAGS); do \ | |
6437 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6438 | done; \ | |
6439 | echo "Doing install-info in gcc" ; \ | |
6440 | (cd gcc && \ | |
6441 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6442 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6443 | "RANLIB=$${RANLIB}" \ | |
6444 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6445 | install-info) \ | |
6446 | || exit 1 | |
6447 | ||
6448 | # Host modules. | |
6449 | ||
6450 | .PHONY: maybe-install-info-ash install-info-ash | |
6451 | maybe-install-info-ash: | |
6452 | ||
6453 | install-info-ash: \ | |
6454 | configure-ash \ | |
6455 | info-ash | |
6456 | @[ -f ./ash/Makefile ] || exit 0; \ | |
b40e3958 L |
6457 | r=`${PWD_COMMAND}`; export r; \ |
6458 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6459 | $(SET_LIB_PATH) \ |
6460 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6461 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6462 | done; \ | |
6463 | echo "Doing install-info in ash" ; \ | |
6464 | (cd ash && \ | |
6465 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6466 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6467 | "RANLIB=$${RANLIB}" \ | |
6468 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6469 | install-info) \ | |
6470 | || exit 1 | |
6471 | ||
6472 | ||
6473 | .PHONY: maybe-install-info-autoconf install-info-autoconf | |
6474 | maybe-install-info-autoconf: | |
6475 | ||
6476 | install-info-autoconf: \ | |
6477 | configure-autoconf \ | |
6478 | info-autoconf | |
6479 | @[ -f ./autoconf/Makefile ] || exit 0; \ | |
b40e3958 L |
6480 | r=`${PWD_COMMAND}`; export r; \ |
6481 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6482 | $(SET_LIB_PATH) \ |
6483 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6484 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6485 | done; \ | |
6486 | echo "Doing install-info in autoconf" ; \ | |
6487 | (cd autoconf && \ | |
6488 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6489 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6490 | "RANLIB=$${RANLIB}" \ | |
6491 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6492 | install-info) \ | |
6493 | || exit 1 | |
6494 | ||
6495 | ||
6496 | .PHONY: maybe-install-info-automake install-info-automake | |
6497 | maybe-install-info-automake: | |
6498 | ||
6499 | install-info-automake: \ | |
6500 | configure-automake \ | |
6501 | info-automake | |
6502 | @[ -f ./automake/Makefile ] || exit 0; \ | |
b40e3958 L |
6503 | r=`${PWD_COMMAND}`; export r; \ |
6504 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6505 | $(SET_LIB_PATH) \ |
6506 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6507 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6508 | done; \ | |
6509 | echo "Doing install-info in automake" ; \ | |
6510 | (cd automake && \ | |
6511 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6512 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6513 | "RANLIB=$${RANLIB}" \ | |
6514 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6515 | install-info) \ | |
6516 | || exit 1 | |
6517 | ||
6518 | ||
6519 | .PHONY: maybe-install-info-bash install-info-bash | |
6520 | maybe-install-info-bash: | |
6521 | ||
6522 | install-info-bash: \ | |
6523 | configure-bash \ | |
6524 | info-bash | |
6525 | @[ -f ./bash/Makefile ] || exit 0; \ | |
b40e3958 L |
6526 | r=`${PWD_COMMAND}`; export r; \ |
6527 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6528 | $(SET_LIB_PATH) \ |
6529 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6530 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6531 | done; \ | |
6532 | echo "Doing install-info in bash" ; \ | |
6533 | (cd bash && \ | |
6534 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6535 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6536 | "RANLIB=$${RANLIB}" \ | |
6537 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6538 | install-info) \ | |
6539 | || exit 1 | |
6540 | ||
6541 | ||
6542 | .PHONY: maybe-install-info-bfd install-info-bfd | |
6543 | maybe-install-info-bfd: | |
6544 | ||
6545 | install-info-bfd: \ | |
6546 | configure-bfd \ | |
6547 | info-bfd | |
6548 | @[ -f ./bfd/Makefile ] || exit 0; \ | |
b40e3958 L |
6549 | r=`${PWD_COMMAND}`; export r; \ |
6550 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6551 | $(SET_LIB_PATH) \ |
6552 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6553 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6554 | done; \ | |
6555 | echo "Doing install-info in bfd" ; \ | |
6556 | (cd bfd && \ | |
6557 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6558 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6559 | "RANLIB=$${RANLIB}" \ | |
6560 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6561 | install-info) \ | |
6562 | || exit 1 | |
6563 | ||
6564 | ||
6565 | .PHONY: maybe-install-info-opcodes install-info-opcodes | |
6566 | maybe-install-info-opcodes: | |
6567 | ||
6568 | install-info-opcodes: \ | |
6569 | configure-opcodes \ | |
6570 | info-opcodes | |
6571 | @[ -f ./opcodes/Makefile ] || exit 0; \ | |
b40e3958 L |
6572 | r=`${PWD_COMMAND}`; export r; \ |
6573 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6574 | $(SET_LIB_PATH) \ |
6575 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6576 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6577 | done; \ | |
6578 | echo "Doing install-info in opcodes" ; \ | |
6579 | (cd opcodes && \ | |
6580 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6581 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6582 | "RANLIB=$${RANLIB}" \ | |
6583 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6584 | install-info) \ | |
6585 | || exit 1 | |
6586 | ||
6587 | ||
6588 | .PHONY: maybe-install-info-binutils install-info-binutils | |
6589 | maybe-install-info-binutils: | |
6590 | ||
6591 | install-info-binutils: \ | |
6592 | configure-binutils \ | |
6593 | info-binutils | |
6594 | @[ -f ./binutils/Makefile ] || exit 0; \ | |
b40e3958 L |
6595 | r=`${PWD_COMMAND}`; export r; \ |
6596 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6597 | $(SET_LIB_PATH) \ |
6598 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6599 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6600 | done; \ | |
6601 | echo "Doing install-info in binutils" ; \ | |
6602 | (cd binutils && \ | |
6603 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6604 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6605 | "RANLIB=$${RANLIB}" \ | |
6606 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6607 | install-info) \ | |
6608 | || exit 1 | |
6609 | ||
6610 | ||
6611 | .PHONY: maybe-install-info-bison install-info-bison | |
6612 | maybe-install-info-bison: | |
6613 | ||
6614 | install-info-bison: \ | |
6615 | configure-bison \ | |
6616 | info-bison | |
6617 | @[ -f ./bison/Makefile ] || exit 0; \ | |
b40e3958 L |
6618 | r=`${PWD_COMMAND}`; export r; \ |
6619 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6620 | $(SET_LIB_PATH) \ |
6621 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6622 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6623 | done; \ | |
6624 | echo "Doing install-info in bison" ; \ | |
6625 | (cd bison && \ | |
6626 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6627 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6628 | "RANLIB=$${RANLIB}" \ | |
6629 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6630 | install-info) \ | |
6631 | || exit 1 | |
6632 | ||
6633 | ||
6634 | .PHONY: maybe-install-info-byacc install-info-byacc | |
6635 | maybe-install-info-byacc: | |
6636 | ||
6637 | install-info-byacc: \ | |
6638 | configure-byacc \ | |
6639 | info-byacc | |
6640 | @[ -f ./byacc/Makefile ] || exit 0; \ | |
b40e3958 L |
6641 | r=`${PWD_COMMAND}`; export r; \ |
6642 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6643 | $(SET_LIB_PATH) \ |
6644 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6645 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6646 | done; \ | |
6647 | echo "Doing install-info in byacc" ; \ | |
6648 | (cd byacc && \ | |
6649 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6650 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6651 | "RANLIB=$${RANLIB}" \ | |
6652 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6653 | install-info) \ | |
6654 | || exit 1 | |
6655 | ||
6656 | ||
6657 | .PHONY: maybe-install-info-bzip2 install-info-bzip2 | |
6658 | maybe-install-info-bzip2: | |
6659 | ||
6660 | install-info-bzip2: \ | |
6661 | configure-bzip2 \ | |
6662 | info-bzip2 | |
6663 | @[ -f ./bzip2/Makefile ] || exit 0; \ | |
b40e3958 L |
6664 | r=`${PWD_COMMAND}`; export r; \ |
6665 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6666 | $(SET_LIB_PATH) \ |
6667 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6668 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6669 | done; \ | |
6670 | echo "Doing install-info in bzip2" ; \ | |
6671 | (cd bzip2 && \ | |
6672 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6673 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6674 | "RANLIB=$${RANLIB}" \ | |
6675 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6676 | install-info) \ | |
6677 | || exit 1 | |
6678 | ||
6679 | ||
6680 | .PHONY: maybe-install-info-dejagnu install-info-dejagnu | |
6681 | maybe-install-info-dejagnu: | |
6682 | ||
6683 | install-info-dejagnu: \ | |
6684 | configure-dejagnu \ | |
6685 | info-dejagnu | |
6686 | @[ -f ./dejagnu/Makefile ] || exit 0; \ | |
b40e3958 L |
6687 | r=`${PWD_COMMAND}`; export r; \ |
6688 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6689 | $(SET_LIB_PATH) \ |
6690 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6691 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6692 | done; \ | |
6693 | echo "Doing install-info in dejagnu" ; \ | |
6694 | (cd dejagnu && \ | |
6695 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6696 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6697 | "RANLIB=$${RANLIB}" \ | |
6698 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6699 | install-info) \ | |
6700 | || exit 1 | |
6701 | ||
6702 | ||
6703 | .PHONY: maybe-install-info-diff install-info-diff | |
6704 | maybe-install-info-diff: | |
6705 | ||
6706 | install-info-diff: \ | |
6707 | configure-diff \ | |
6708 | info-diff | |
6709 | @[ -f ./diff/Makefile ] || exit 0; \ | |
b40e3958 L |
6710 | r=`${PWD_COMMAND}`; export r; \ |
6711 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6712 | $(SET_LIB_PATH) \ |
6713 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6714 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6715 | done; \ | |
6716 | echo "Doing install-info in diff" ; \ | |
6717 | (cd diff && \ | |
6718 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6719 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6720 | "RANLIB=$${RANLIB}" \ | |
6721 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6722 | install-info) \ | |
6723 | || exit 1 | |
6724 | ||
6725 | ||
6726 | .PHONY: maybe-install-info-dosutils install-info-dosutils | |
6727 | maybe-install-info-dosutils: | |
6728 | ||
6729 | install-info-dosutils: \ | |
6730 | configure-dosutils \ | |
6731 | info-dosutils | |
6732 | @[ -f ./dosutils/Makefile ] || exit 0; \ | |
b40e3958 L |
6733 | r=`${PWD_COMMAND}`; export r; \ |
6734 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6735 | $(SET_LIB_PATH) \ |
6736 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6737 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6738 | done; \ | |
6739 | echo "Doing install-info in dosutils" ; \ | |
6740 | (cd dosutils && \ | |
6741 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6742 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6743 | "RANLIB=$${RANLIB}" \ | |
6744 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6745 | install-info) \ | |
6746 | || exit 1 | |
6747 | ||
6748 | ||
6749 | .PHONY: maybe-install-info-etc install-info-etc | |
6750 | maybe-install-info-etc: | |
6751 | ||
6752 | install-info-etc: \ | |
6753 | configure-etc \ | |
6754 | info-etc | |
6755 | @[ -f ./etc/Makefile ] || exit 0; \ | |
b40e3958 L |
6756 | r=`${PWD_COMMAND}`; export r; \ |
6757 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6758 | $(SET_LIB_PATH) \ |
6759 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6760 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6761 | done; \ | |
6762 | echo "Doing install-info in etc" ; \ | |
6763 | (cd etc && \ | |
6764 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6765 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6766 | "RANLIB=$${RANLIB}" \ | |
6767 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6768 | install-info) \ | |
6769 | || exit 1 | |
6770 | ||
6771 | ||
6772 | .PHONY: maybe-install-info-fastjar install-info-fastjar | |
6773 | maybe-install-info-fastjar: | |
6774 | ||
6775 | install-info-fastjar: \ | |
6776 | configure-fastjar \ | |
6777 | info-fastjar | |
6778 | @[ -f ./fastjar/Makefile ] || exit 0; \ | |
b40e3958 L |
6779 | r=`${PWD_COMMAND}`; export r; \ |
6780 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6781 | $(SET_LIB_PATH) \ |
6782 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6783 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6784 | done; \ | |
6785 | echo "Doing install-info in fastjar" ; \ | |
6786 | (cd fastjar && \ | |
6787 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6788 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6789 | "RANLIB=$${RANLIB}" \ | |
6790 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6791 | install-info) \ | |
6792 | || exit 1 | |
6793 | ||
6794 | ||
6795 | .PHONY: maybe-install-info-fileutils install-info-fileutils | |
6796 | maybe-install-info-fileutils: | |
6797 | ||
6798 | install-info-fileutils: \ | |
6799 | configure-fileutils \ | |
6800 | info-fileutils | |
6801 | @[ -f ./fileutils/Makefile ] || exit 0; \ | |
b40e3958 L |
6802 | r=`${PWD_COMMAND}`; export r; \ |
6803 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6804 | $(SET_LIB_PATH) \ |
6805 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6806 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6807 | done; \ | |
6808 | echo "Doing install-info in fileutils" ; \ | |
6809 | (cd fileutils && \ | |
6810 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6811 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6812 | "RANLIB=$${RANLIB}" \ | |
6813 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6814 | install-info) \ | |
6815 | || exit 1 | |
6816 | ||
6817 | ||
6818 | .PHONY: maybe-install-info-findutils install-info-findutils | |
6819 | maybe-install-info-findutils: | |
6820 | ||
6821 | install-info-findutils: \ | |
6822 | configure-findutils \ | |
6823 | info-findutils | |
6824 | @[ -f ./findutils/Makefile ] || exit 0; \ | |
b40e3958 L |
6825 | r=`${PWD_COMMAND}`; export r; \ |
6826 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6827 | $(SET_LIB_PATH) \ |
6828 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6829 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6830 | done; \ | |
6831 | echo "Doing install-info in findutils" ; \ | |
6832 | (cd findutils && \ | |
6833 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6834 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6835 | "RANLIB=$${RANLIB}" \ | |
6836 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6837 | install-info) \ | |
6838 | || exit 1 | |
6839 | ||
6840 | ||
6841 | .PHONY: maybe-install-info-find install-info-find | |
6842 | maybe-install-info-find: | |
6843 | ||
6844 | install-info-find: \ | |
6845 | configure-find \ | |
6846 | info-find | |
6847 | @[ -f ./find/Makefile ] || exit 0; \ | |
b40e3958 L |
6848 | r=`${PWD_COMMAND}`; export r; \ |
6849 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6850 | $(SET_LIB_PATH) \ |
6851 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6852 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6853 | done; \ | |
6854 | echo "Doing install-info in find" ; \ | |
6855 | (cd find && \ | |
6856 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6857 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6858 | "RANLIB=$${RANLIB}" \ | |
6859 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6860 | install-info) \ | |
6861 | || exit 1 | |
6862 | ||
6863 | ||
6864 | .PHONY: maybe-install-info-flex install-info-flex | |
6865 | maybe-install-info-flex: | |
6866 | ||
6867 | install-info-flex: \ | |
6868 | configure-flex \ | |
6869 | info-flex | |
6870 | @[ -f ./flex/Makefile ] || exit 0; \ | |
b40e3958 L |
6871 | r=`${PWD_COMMAND}`; export r; \ |
6872 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6873 | $(SET_LIB_PATH) \ |
6874 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6875 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6876 | done; \ | |
6877 | echo "Doing install-info in flex" ; \ | |
6878 | (cd flex && \ | |
6879 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6880 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6881 | "RANLIB=$${RANLIB}" \ | |
6882 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6883 | install-info) \ | |
6884 | || exit 1 | |
6885 | ||
6886 | ||
6887 | .PHONY: maybe-install-info-gas install-info-gas | |
6888 | maybe-install-info-gas: | |
6889 | ||
6890 | install-info-gas: \ | |
6891 | configure-gas \ | |
6892 | info-gas | |
6893 | @[ -f ./gas/Makefile ] || exit 0; \ | |
b40e3958 L |
6894 | r=`${PWD_COMMAND}`; export r; \ |
6895 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6896 | $(SET_LIB_PATH) \ |
6897 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6898 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6899 | done; \ | |
6900 | echo "Doing install-info in gas" ; \ | |
6901 | (cd gas && \ | |
6902 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6903 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6904 | "RANLIB=$${RANLIB}" \ | |
6905 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6906 | install-info) \ | |
6907 | || exit 1 | |
6908 | ||
6909 | ||
6910 | .PHONY: maybe-install-info-gawk install-info-gawk | |
6911 | maybe-install-info-gawk: | |
6912 | ||
6913 | install-info-gawk: \ | |
6914 | configure-gawk \ | |
6915 | info-gawk | |
6916 | @[ -f ./gawk/Makefile ] || exit 0; \ | |
b40e3958 L |
6917 | r=`${PWD_COMMAND}`; export r; \ |
6918 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6919 | $(SET_LIB_PATH) \ |
6920 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6921 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6922 | done; \ | |
6923 | echo "Doing install-info in gawk" ; \ | |
6924 | (cd gawk && \ | |
6925 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6926 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6927 | "RANLIB=$${RANLIB}" \ | |
6928 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6929 | install-info) \ | |
6930 | || exit 1 | |
6931 | ||
6932 | ||
6933 | .PHONY: maybe-install-info-gettext install-info-gettext | |
6934 | maybe-install-info-gettext: | |
6935 | ||
6936 | install-info-gettext: \ | |
6937 | configure-gettext \ | |
6938 | info-gettext | |
6939 | @[ -f ./gettext/Makefile ] || exit 0; \ | |
b40e3958 L |
6940 | r=`${PWD_COMMAND}`; export r; \ |
6941 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6942 | $(SET_LIB_PATH) \ |
6943 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6944 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6945 | done; \ | |
6946 | echo "Doing install-info in gettext" ; \ | |
6947 | (cd gettext && \ | |
6948 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6949 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6950 | "RANLIB=$${RANLIB}" \ | |
6951 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6952 | install-info) \ | |
6953 | || exit 1 | |
6954 | ||
6955 | ||
6956 | .PHONY: maybe-install-info-gnuserv install-info-gnuserv | |
6957 | maybe-install-info-gnuserv: | |
6958 | ||
6959 | install-info-gnuserv: \ | |
6960 | configure-gnuserv \ | |
6961 | info-gnuserv | |
6962 | @[ -f ./gnuserv/Makefile ] || exit 0; \ | |
b40e3958 L |
6963 | r=`${PWD_COMMAND}`; export r; \ |
6964 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6965 | $(SET_LIB_PATH) \ |
6966 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6967 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6968 | done; \ | |
6969 | echo "Doing install-info in gnuserv" ; \ | |
6970 | (cd gnuserv && \ | |
6971 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6972 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6973 | "RANLIB=$${RANLIB}" \ | |
6974 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6975 | install-info) \ | |
6976 | || exit 1 | |
6977 | ||
6978 | ||
6979 | .PHONY: maybe-install-info-gprof install-info-gprof | |
6980 | maybe-install-info-gprof: | |
6981 | ||
6982 | install-info-gprof: \ | |
6983 | configure-gprof \ | |
6984 | info-gprof | |
6985 | @[ -f ./gprof/Makefile ] || exit 0; \ | |
b40e3958 L |
6986 | r=`${PWD_COMMAND}`; export r; \ |
6987 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6988 | $(SET_LIB_PATH) \ |
6989 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6990 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6991 | done; \ | |
6992 | echo "Doing install-info in gprof" ; \ | |
6993 | (cd gprof && \ | |
6994 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6995 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6996 | "RANLIB=$${RANLIB}" \ | |
6997 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6998 | install-info) \ | |
6999 | || exit 1 | |
7000 | ||
7001 | ||
7002 | .PHONY: maybe-install-info-gzip install-info-gzip | |
7003 | maybe-install-info-gzip: | |
7004 | ||
7005 | install-info-gzip: \ | |
7006 | configure-gzip \ | |
7007 | info-gzip | |
7008 | @[ -f ./gzip/Makefile ] || exit 0; \ | |
b40e3958 L |
7009 | r=`${PWD_COMMAND}`; export r; \ |
7010 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7011 | $(SET_LIB_PATH) \ |
7012 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7013 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7014 | done; \ | |
7015 | echo "Doing install-info in gzip" ; \ | |
7016 | (cd gzip && \ | |
7017 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7018 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7019 | "RANLIB=$${RANLIB}" \ | |
7020 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7021 | install-info) \ | |
7022 | || exit 1 | |
7023 | ||
7024 | ||
7025 | .PHONY: maybe-install-info-hello install-info-hello | |
7026 | maybe-install-info-hello: | |
7027 | ||
7028 | install-info-hello: \ | |
7029 | configure-hello \ | |
7030 | info-hello | |
7031 | @[ -f ./hello/Makefile ] || exit 0; \ | |
b40e3958 L |
7032 | r=`${PWD_COMMAND}`; export r; \ |
7033 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7034 | $(SET_LIB_PATH) \ |
7035 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7036 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7037 | done; \ | |
7038 | echo "Doing install-info in hello" ; \ | |
7039 | (cd hello && \ | |
7040 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7041 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7042 | "RANLIB=$${RANLIB}" \ | |
7043 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7044 | install-info) \ | |
7045 | || exit 1 | |
7046 | ||
7047 | ||
7048 | .PHONY: maybe-install-info-indent install-info-indent | |
7049 | maybe-install-info-indent: | |
7050 | ||
7051 | install-info-indent: \ | |
7052 | configure-indent \ | |
7053 | info-indent | |
7054 | @[ -f ./indent/Makefile ] || exit 0; \ | |
b40e3958 L |
7055 | r=`${PWD_COMMAND}`; export r; \ |
7056 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7057 | $(SET_LIB_PATH) \ |
7058 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7059 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7060 | done; \ | |
7061 | echo "Doing install-info in indent" ; \ | |
7062 | (cd indent && \ | |
7063 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7064 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7065 | "RANLIB=$${RANLIB}" \ | |
7066 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7067 | install-info) \ | |
7068 | || exit 1 | |
7069 | ||
7070 | ||
7071 | .PHONY: maybe-install-info-intl install-info-intl | |
7072 | maybe-install-info-intl: | |
7073 | ||
7074 | install-info-intl: \ | |
7075 | configure-intl \ | |
7076 | info-intl | |
7077 | @[ -f ./intl/Makefile ] || exit 0; \ | |
b40e3958 L |
7078 | r=`${PWD_COMMAND}`; export r; \ |
7079 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7080 | $(SET_LIB_PATH) \ |
7081 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7082 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7083 | done; \ | |
7084 | echo "Doing install-info in intl" ; \ | |
7085 | (cd intl && \ | |
7086 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7087 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7088 | "RANLIB=$${RANLIB}" \ | |
7089 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7090 | install-info) \ | |
7091 | || exit 1 | |
7092 | ||
7093 | ||
7094 | .PHONY: maybe-install-info-tcl install-info-tcl | |
7095 | maybe-install-info-tcl: | |
7096 | ||
7097 | install-info-tcl: \ | |
7098 | configure-tcl \ | |
7099 | info-tcl | |
7100 | @[ -f ./tcl/Makefile ] || exit 0; \ | |
b40e3958 L |
7101 | r=`${PWD_COMMAND}`; export r; \ |
7102 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7103 | $(SET_LIB_PATH) \ |
7104 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7105 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7106 | done; \ | |
7107 | echo "Doing install-info in tcl" ; \ | |
7108 | (cd tcl && \ | |
7109 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7110 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7111 | "RANLIB=$${RANLIB}" \ | |
7112 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7113 | install-info) \ | |
7114 | || exit 1 | |
7115 | ||
7116 | ||
7117 | .PHONY: maybe-install-info-itcl install-info-itcl | |
7118 | maybe-install-info-itcl: | |
7119 | ||
7120 | install-info-itcl: \ | |
7121 | configure-itcl \ | |
7122 | info-itcl | |
7123 | @[ -f ./itcl/Makefile ] || exit 0; \ | |
b40e3958 L |
7124 | r=`${PWD_COMMAND}`; export r; \ |
7125 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7126 | $(SET_LIB_PATH) \ |
7127 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7128 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7129 | done; \ | |
7130 | echo "Doing install-info in itcl" ; \ | |
7131 | (cd itcl && \ | |
7132 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7133 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7134 | "RANLIB=$${RANLIB}" \ | |
7135 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7136 | install-info) \ | |
7137 | || exit 1 | |
7138 | ||
7139 | ||
7140 | .PHONY: maybe-install-info-ld install-info-ld | |
7141 | maybe-install-info-ld: | |
7142 | ||
7143 | install-info-ld: \ | |
7144 | configure-ld \ | |
7145 | info-ld | |
7146 | @[ -f ./ld/Makefile ] || exit 0; \ | |
b40e3958 L |
7147 | r=`${PWD_COMMAND}`; export r; \ |
7148 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7149 | $(SET_LIB_PATH) \ |
7150 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7151 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7152 | done; \ | |
7153 | echo "Doing install-info in ld" ; \ | |
7154 | (cd ld && \ | |
7155 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7156 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7157 | "RANLIB=$${RANLIB}" \ | |
7158 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7159 | install-info) \ | |
7160 | || exit 1 | |
7161 | ||
7162 | ||
7163 | .PHONY: maybe-install-info-libgui install-info-libgui | |
7164 | maybe-install-info-libgui: | |
7165 | ||
7166 | install-info-libgui: \ | |
7167 | configure-libgui \ | |
7168 | info-libgui | |
7169 | @[ -f ./libgui/Makefile ] || exit 0; \ | |
b40e3958 L |
7170 | r=`${PWD_COMMAND}`; export r; \ |
7171 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7172 | $(SET_LIB_PATH) \ |
7173 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7174 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7175 | done; \ | |
7176 | echo "Doing install-info in libgui" ; \ | |
7177 | (cd libgui && \ | |
7178 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7179 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7180 | "RANLIB=$${RANLIB}" \ | |
7181 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7182 | install-info) \ | |
7183 | || exit 1 | |
7184 | ||
7185 | ||
7186 | .PHONY: maybe-install-info-libiberty install-info-libiberty | |
7187 | maybe-install-info-libiberty: | |
7188 | ||
7189 | install-info-libiberty: \ | |
7190 | configure-libiberty \ | |
7191 | info-libiberty | |
7192 | @[ -f ./libiberty/Makefile ] || exit 0; \ | |
b40e3958 L |
7193 | r=`${PWD_COMMAND}`; export r; \ |
7194 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7195 | $(SET_LIB_PATH) \ |
7196 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7197 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7198 | done; \ | |
7199 | echo "Doing install-info in libiberty" ; \ | |
7200 | (cd libiberty && \ | |
7201 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7202 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7203 | "RANLIB=$${RANLIB}" \ | |
7204 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7205 | install-info) \ | |
7206 | || exit 1 | |
7207 | ||
7208 | ||
7209 | .PHONY: maybe-install-info-libtool install-info-libtool | |
7210 | maybe-install-info-libtool: | |
7211 | ||
7212 | install-info-libtool: \ | |
7213 | configure-libtool \ | |
7214 | info-libtool | |
7215 | @[ -f ./libtool/Makefile ] || exit 0; \ | |
b40e3958 L |
7216 | r=`${PWD_COMMAND}`; export r; \ |
7217 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7218 | $(SET_LIB_PATH) \ |
7219 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7220 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7221 | done; \ | |
7222 | echo "Doing install-info in libtool" ; \ | |
7223 | (cd libtool && \ | |
7224 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7225 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7226 | "RANLIB=$${RANLIB}" \ | |
7227 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7228 | install-info) \ | |
7229 | || exit 1 | |
7230 | ||
7231 | ||
7232 | .PHONY: maybe-install-info-m4 install-info-m4 | |
7233 | maybe-install-info-m4: | |
7234 | ||
7235 | install-info-m4: \ | |
7236 | configure-m4 \ | |
7237 | info-m4 | |
7238 | @[ -f ./m4/Makefile ] || exit 0; \ | |
b40e3958 L |
7239 | r=`${PWD_COMMAND}`; export r; \ |
7240 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7241 | $(SET_LIB_PATH) \ |
7242 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7243 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7244 | done; \ | |
7245 | echo "Doing install-info in m4" ; \ | |
7246 | (cd m4 && \ | |
7247 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7248 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7249 | "RANLIB=$${RANLIB}" \ | |
7250 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7251 | install-info) \ | |
7252 | || exit 1 | |
7253 | ||
7254 | ||
7255 | .PHONY: maybe-install-info-make install-info-make | |
7256 | maybe-install-info-make: | |
7257 | ||
7258 | install-info-make: \ | |
7259 | configure-make \ | |
7260 | info-make | |
7261 | @[ -f ./make/Makefile ] || exit 0; \ | |
b40e3958 L |
7262 | r=`${PWD_COMMAND}`; export r; \ |
7263 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7264 | $(SET_LIB_PATH) \ |
7265 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7266 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7267 | done; \ | |
7268 | echo "Doing install-info in make" ; \ | |
7269 | (cd make && \ | |
7270 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7271 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7272 | "RANLIB=$${RANLIB}" \ | |
7273 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7274 | install-info) \ | |
7275 | || exit 1 | |
7276 | ||
7277 | ||
7278 | .PHONY: maybe-install-info-mmalloc install-info-mmalloc | |
7279 | maybe-install-info-mmalloc: | |
7280 | ||
7281 | install-info-mmalloc: \ | |
7282 | configure-mmalloc \ | |
7283 | info-mmalloc | |
7284 | @[ -f ./mmalloc/Makefile ] || exit 0; \ | |
b40e3958 L |
7285 | r=`${PWD_COMMAND}`; export r; \ |
7286 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7287 | $(SET_LIB_PATH) \ |
7288 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7289 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7290 | done; \ | |
7291 | echo "Doing install-info in mmalloc" ; \ | |
7292 | (cd mmalloc && \ | |
7293 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7294 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7295 | "RANLIB=$${RANLIB}" \ | |
7296 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7297 | install-info) \ | |
7298 | || exit 1 | |
7299 | ||
7300 | ||
7301 | .PHONY: maybe-install-info-patch install-info-patch | |
7302 | maybe-install-info-patch: | |
7303 | ||
7304 | install-info-patch: \ | |
7305 | configure-patch \ | |
7306 | info-patch | |
7307 | @[ -f ./patch/Makefile ] || exit 0; \ | |
b40e3958 L |
7308 | r=`${PWD_COMMAND}`; export r; \ |
7309 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7310 | $(SET_LIB_PATH) \ |
7311 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7312 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7313 | done; \ | |
7314 | echo "Doing install-info in patch" ; \ | |
7315 | (cd patch && \ | |
7316 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7317 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7318 | "RANLIB=$${RANLIB}" \ | |
7319 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7320 | install-info) \ | |
7321 | || exit 1 | |
7322 | ||
7323 | ||
7324 | .PHONY: maybe-install-info-perl install-info-perl | |
7325 | maybe-install-info-perl: | |
7326 | ||
7327 | install-info-perl: \ | |
7328 | configure-perl \ | |
7329 | info-perl | |
7330 | @[ -f ./perl/Makefile ] || exit 0; \ | |
b40e3958 L |
7331 | r=`${PWD_COMMAND}`; export r; \ |
7332 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7333 | $(SET_LIB_PATH) \ |
7334 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7335 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7336 | done; \ | |
7337 | echo "Doing install-info in perl" ; \ | |
7338 | (cd perl && \ | |
7339 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7340 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7341 | "RANLIB=$${RANLIB}" \ | |
7342 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7343 | install-info) \ | |
7344 | || exit 1 | |
7345 | ||
7346 | ||
7347 | .PHONY: maybe-install-info-prms install-info-prms | |
7348 | maybe-install-info-prms: | |
7349 | ||
7350 | install-info-prms: \ | |
7351 | configure-prms \ | |
7352 | info-prms | |
7353 | @[ -f ./prms/Makefile ] || exit 0; \ | |
b40e3958 L |
7354 | r=`${PWD_COMMAND}`; export r; \ |
7355 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7356 | $(SET_LIB_PATH) \ |
7357 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7358 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7359 | done; \ | |
7360 | echo "Doing install-info in prms" ; \ | |
7361 | (cd prms && \ | |
7362 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7363 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7364 | "RANLIB=$${RANLIB}" \ | |
7365 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7366 | install-info) \ | |
7367 | || exit 1 | |
7368 | ||
7369 | ||
7370 | .PHONY: maybe-install-info-rcs install-info-rcs | |
7371 | maybe-install-info-rcs: | |
7372 | ||
7373 | install-info-rcs: \ | |
7374 | configure-rcs \ | |
7375 | info-rcs | |
7376 | @[ -f ./rcs/Makefile ] || exit 0; \ | |
b40e3958 L |
7377 | r=`${PWD_COMMAND}`; export r; \ |
7378 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7379 | $(SET_LIB_PATH) \ |
7380 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7381 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7382 | done; \ | |
7383 | echo "Doing install-info in rcs" ; \ | |
7384 | (cd rcs && \ | |
7385 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7386 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7387 | "RANLIB=$${RANLIB}" \ | |
7388 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7389 | install-info) \ | |
7390 | || exit 1 | |
7391 | ||
7392 | ||
7393 | .PHONY: maybe-install-info-readline install-info-readline | |
7394 | maybe-install-info-readline: | |
7395 | ||
7396 | install-info-readline: \ | |
7397 | configure-readline \ | |
7398 | info-readline | |
7399 | @[ -f ./readline/Makefile ] || exit 0; \ | |
b40e3958 L |
7400 | r=`${PWD_COMMAND}`; export r; \ |
7401 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7402 | $(SET_LIB_PATH) \ |
7403 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7404 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7405 | done; \ | |
7406 | echo "Doing install-info in readline" ; \ | |
7407 | (cd readline && \ | |
7408 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7409 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7410 | "RANLIB=$${RANLIB}" \ | |
7411 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7412 | install-info) \ | |
7413 | || exit 1 | |
7414 | ||
7415 | ||
7416 | .PHONY: maybe-install-info-release install-info-release | |
7417 | maybe-install-info-release: | |
7418 | ||
7419 | install-info-release: \ | |
7420 | configure-release \ | |
7421 | info-release | |
7422 | @[ -f ./release/Makefile ] || exit 0; \ | |
b40e3958 L |
7423 | r=`${PWD_COMMAND}`; export r; \ |
7424 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7425 | $(SET_LIB_PATH) \ |
7426 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7427 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7428 | done; \ | |
7429 | echo "Doing install-info in release" ; \ | |
7430 | (cd release && \ | |
7431 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7432 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7433 | "RANLIB=$${RANLIB}" \ | |
7434 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7435 | install-info) \ | |
7436 | || exit 1 | |
7437 | ||
7438 | ||
7439 | .PHONY: maybe-install-info-recode install-info-recode | |
7440 | maybe-install-info-recode: | |
7441 | ||
7442 | install-info-recode: \ | |
7443 | configure-recode \ | |
7444 | info-recode | |
7445 | @[ -f ./recode/Makefile ] || exit 0; \ | |
b40e3958 L |
7446 | r=`${PWD_COMMAND}`; export r; \ |
7447 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7448 | $(SET_LIB_PATH) \ |
7449 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7450 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7451 | done; \ | |
7452 | echo "Doing install-info in recode" ; \ | |
7453 | (cd recode && \ | |
7454 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7455 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7456 | "RANLIB=$${RANLIB}" \ | |
7457 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7458 | install-info) \ | |
7459 | || exit 1 | |
7460 | ||
7461 | ||
7462 | .PHONY: maybe-install-info-sed install-info-sed | |
7463 | maybe-install-info-sed: | |
7464 | ||
7465 | install-info-sed: \ | |
7466 | configure-sed \ | |
7467 | info-sed | |
7468 | @[ -f ./sed/Makefile ] || exit 0; \ | |
b40e3958 L |
7469 | r=`${PWD_COMMAND}`; export r; \ |
7470 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7471 | $(SET_LIB_PATH) \ |
7472 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7473 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7474 | done; \ | |
7475 | echo "Doing install-info in sed" ; \ | |
7476 | (cd sed && \ | |
7477 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7478 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7479 | "RANLIB=$${RANLIB}" \ | |
7480 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7481 | install-info) \ | |
7482 | || exit 1 | |
7483 | ||
7484 | ||
7485 | .PHONY: maybe-install-info-send-pr install-info-send-pr | |
7486 | maybe-install-info-send-pr: | |
7487 | ||
7488 | install-info-send-pr: \ | |
7489 | configure-send-pr \ | |
7490 | info-send-pr | |
7491 | @[ -f ./send-pr/Makefile ] || exit 0; \ | |
b40e3958 L |
7492 | r=`${PWD_COMMAND}`; export r; \ |
7493 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7494 | $(SET_LIB_PATH) \ |
7495 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7496 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7497 | done; \ | |
7498 | echo "Doing install-info in send-pr" ; \ | |
7499 | (cd send-pr && \ | |
7500 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7501 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7502 | "RANLIB=$${RANLIB}" \ | |
7503 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7504 | install-info) \ | |
7505 | || exit 1 | |
7506 | ||
7507 | ||
7508 | .PHONY: maybe-install-info-shellutils install-info-shellutils | |
7509 | maybe-install-info-shellutils: | |
7510 | ||
7511 | install-info-shellutils: \ | |
7512 | configure-shellutils \ | |
7513 | info-shellutils | |
7514 | @[ -f ./shellutils/Makefile ] || exit 0; \ | |
b40e3958 L |
7515 | r=`${PWD_COMMAND}`; export r; \ |
7516 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7517 | $(SET_LIB_PATH) \ |
7518 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7519 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7520 | done; \ | |
7521 | echo "Doing install-info in shellutils" ; \ | |
7522 | (cd shellutils && \ | |
7523 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7524 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7525 | "RANLIB=$${RANLIB}" \ | |
7526 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7527 | install-info) \ | |
7528 | || exit 1 | |
7529 | ||
7530 | ||
7531 | .PHONY: maybe-install-info-sid install-info-sid | |
7532 | maybe-install-info-sid: | |
7533 | ||
7534 | install-info-sid: \ | |
7535 | configure-sid \ | |
7536 | info-sid | |
7537 | @[ -f ./sid/Makefile ] || exit 0; \ | |
b40e3958 L |
7538 | r=`${PWD_COMMAND}`; export r; \ |
7539 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7540 | $(SET_LIB_PATH) \ |
7541 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7542 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7543 | done; \ | |
7544 | echo "Doing install-info in sid" ; \ | |
7545 | (cd sid && \ | |
7546 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7547 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7548 | "RANLIB=$${RANLIB}" \ | |
7549 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7550 | install-info) \ | |
7551 | || exit 1 | |
7552 | ||
7553 | ||
7554 | .PHONY: maybe-install-info-sim install-info-sim | |
7555 | maybe-install-info-sim: | |
7556 | ||
7557 | install-info-sim: \ | |
7558 | configure-sim \ | |
7559 | info-sim | |
7560 | @[ -f ./sim/Makefile ] || exit 0; \ | |
b40e3958 L |
7561 | r=`${PWD_COMMAND}`; export r; \ |
7562 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7563 | $(SET_LIB_PATH) \ |
7564 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7565 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7566 | done; \ | |
7567 | echo "Doing install-info in sim" ; \ | |
7568 | (cd sim && \ | |
7569 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7570 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7571 | "RANLIB=$${RANLIB}" \ | |
7572 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7573 | install-info) \ | |
7574 | || exit 1 | |
7575 | ||
7576 | ||
7577 | .PHONY: maybe-install-info-tar install-info-tar | |
7578 | maybe-install-info-tar: | |
7579 | ||
7580 | install-info-tar: \ | |
7581 | configure-tar \ | |
7582 | info-tar | |
7583 | @[ -f ./tar/Makefile ] || exit 0; \ | |
b40e3958 L |
7584 | r=`${PWD_COMMAND}`; export r; \ |
7585 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7586 | $(SET_LIB_PATH) \ |
7587 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7588 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7589 | done; \ | |
7590 | echo "Doing install-info in tar" ; \ | |
7591 | (cd tar && \ | |
7592 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7593 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7594 | "RANLIB=$${RANLIB}" \ | |
7595 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7596 | install-info) \ | |
7597 | || exit 1 | |
7598 | ||
7599 | ||
7600 | .PHONY: maybe-install-info-texinfo install-info-texinfo | |
7601 | maybe-install-info-texinfo: | |
7602 | ||
7603 | install-info-texinfo: \ | |
7604 | configure-texinfo \ | |
7605 | info-texinfo | |
7606 | @[ -f ./texinfo/Makefile ] || exit 0; \ | |
b40e3958 L |
7607 | r=`${PWD_COMMAND}`; export r; \ |
7608 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7609 | $(SET_LIB_PATH) \ |
7610 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7611 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7612 | done; \ | |
7613 | echo "Doing install-info in texinfo" ; \ | |
7614 | (cd texinfo && \ | |
7615 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7616 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7617 | "RANLIB=$${RANLIB}" \ | |
7618 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7619 | install-info) \ | |
7620 | || exit 1 | |
7621 | ||
7622 | ||
7623 | .PHONY: maybe-install-info-textutils install-info-textutils | |
7624 | maybe-install-info-textutils: | |
7625 | ||
7626 | install-info-textutils: \ | |
7627 | configure-textutils \ | |
7628 | info-textutils | |
7629 | @[ -f ./textutils/Makefile ] || exit 0; \ | |
b40e3958 L |
7630 | r=`${PWD_COMMAND}`; export r; \ |
7631 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7632 | $(SET_LIB_PATH) \ |
7633 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7634 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7635 | done; \ | |
7636 | echo "Doing install-info in textutils" ; \ | |
7637 | (cd textutils && \ | |
7638 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7639 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7640 | "RANLIB=$${RANLIB}" \ | |
7641 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7642 | install-info) \ | |
7643 | || exit 1 | |
7644 | ||
7645 | ||
7646 | .PHONY: maybe-install-info-time install-info-time | |
7647 | maybe-install-info-time: | |
7648 | ||
7649 | install-info-time: \ | |
7650 | configure-time \ | |
7651 | info-time | |
7652 | @[ -f ./time/Makefile ] || exit 0; \ | |
b40e3958 L |
7653 | r=`${PWD_COMMAND}`; export r; \ |
7654 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7655 | $(SET_LIB_PATH) \ |
7656 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7657 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7658 | done; \ | |
7659 | echo "Doing install-info in time" ; \ | |
7660 | (cd time && \ | |
7661 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7662 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7663 | "RANLIB=$${RANLIB}" \ | |
7664 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7665 | install-info) \ | |
7666 | || exit 1 | |
7667 | ||
7668 | ||
7669 | .PHONY: maybe-install-info-uudecode install-info-uudecode | |
7670 | maybe-install-info-uudecode: | |
7671 | ||
7672 | install-info-uudecode: \ | |
7673 | configure-uudecode \ | |
7674 | info-uudecode | |
7675 | @[ -f ./uudecode/Makefile ] || exit 0; \ | |
b40e3958 L |
7676 | r=`${PWD_COMMAND}`; export r; \ |
7677 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7678 | $(SET_LIB_PATH) \ |
7679 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7680 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7681 | done; \ | |
7682 | echo "Doing install-info in uudecode" ; \ | |
7683 | (cd uudecode && \ | |
7684 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7685 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7686 | "RANLIB=$${RANLIB}" \ | |
7687 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7688 | install-info) \ | |
7689 | || exit 1 | |
7690 | ||
7691 | ||
7692 | .PHONY: maybe-install-info-wdiff install-info-wdiff | |
7693 | maybe-install-info-wdiff: | |
7694 | ||
7695 | install-info-wdiff: \ | |
7696 | configure-wdiff \ | |
7697 | info-wdiff | |
7698 | @[ -f ./wdiff/Makefile ] || exit 0; \ | |
b40e3958 L |
7699 | r=`${PWD_COMMAND}`; export r; \ |
7700 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7701 | $(SET_LIB_PATH) \ |
7702 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7703 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7704 | done; \ | |
7705 | echo "Doing install-info in wdiff" ; \ | |
7706 | (cd wdiff && \ | |
7707 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7708 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7709 | "RANLIB=$${RANLIB}" \ | |
7710 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7711 | install-info) \ | |
7712 | || exit 1 | |
7713 | ||
7714 | ||
7715 | .PHONY: maybe-install-info-zip install-info-zip | |
7716 | maybe-install-info-zip: | |
7717 | ||
7718 | install-info-zip: \ | |
7719 | configure-zip \ | |
7720 | info-zip | |
7721 | @[ -f ./zip/Makefile ] || exit 0; \ | |
b40e3958 L |
7722 | r=`${PWD_COMMAND}`; export r; \ |
7723 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7724 | $(SET_LIB_PATH) \ |
7725 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7726 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7727 | done; \ | |
7728 | echo "Doing install-info in zip" ; \ | |
7729 | (cd zip && \ | |
7730 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7731 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7732 | "RANLIB=$${RANLIB}" \ | |
7733 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7734 | install-info) \ | |
7735 | || exit 1 | |
7736 | ||
7737 | ||
7738 | .PHONY: maybe-install-info-zlib install-info-zlib | |
7739 | maybe-install-info-zlib: | |
7740 | ||
7741 | install-info-zlib: \ | |
7742 | configure-zlib \ | |
7743 | info-zlib | |
7744 | @[ -f ./zlib/Makefile ] || exit 0; \ | |
b40e3958 L |
7745 | r=`${PWD_COMMAND}`; export r; \ |
7746 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7747 | $(SET_LIB_PATH) \ |
7748 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7749 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7750 | done; \ | |
7751 | echo "Doing install-info in zlib" ; \ | |
7752 | (cd zlib && \ | |
7753 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7754 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7755 | "RANLIB=$${RANLIB}" \ | |
7756 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7757 | install-info) \ | |
7758 | || exit 1 | |
7759 | ||
7760 | ||
7761 | .PHONY: maybe-install-info-gdb install-info-gdb | |
7762 | maybe-install-info-gdb: | |
7763 | ||
7764 | install-info-gdb: \ | |
7765 | configure-gdb \ | |
7766 | info-gdb | |
7767 | @[ -f ./gdb/Makefile ] || exit 0; \ | |
b40e3958 L |
7768 | r=`${PWD_COMMAND}`; export r; \ |
7769 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7770 | $(SET_LIB_PATH) \ |
7771 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7772 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7773 | done; \ | |
7774 | echo "Doing install-info in gdb" ; \ | |
7775 | (cd gdb && \ | |
7776 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7777 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7778 | "RANLIB=$${RANLIB}" \ | |
7779 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7780 | install-info) \ | |
7781 | || exit 1 | |
7782 | ||
7783 | ||
7784 | .PHONY: maybe-install-info-expect install-info-expect | |
7785 | maybe-install-info-expect: | |
7786 | ||
7787 | install-info-expect: \ | |
7788 | configure-expect \ | |
7789 | info-expect | |
7790 | @[ -f ./expect/Makefile ] || exit 0; \ | |
b40e3958 L |
7791 | r=`${PWD_COMMAND}`; export r; \ |
7792 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7793 | $(SET_LIB_PATH) \ |
7794 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7795 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7796 | done; \ | |
7797 | echo "Doing install-info in expect" ; \ | |
7798 | (cd expect && \ | |
7799 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7800 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7801 | "RANLIB=$${RANLIB}" \ | |
7802 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7803 | install-info) \ | |
7804 | || exit 1 | |
7805 | ||
7806 | ||
7807 | .PHONY: maybe-install-info-guile install-info-guile | |
7808 | maybe-install-info-guile: | |
7809 | ||
7810 | install-info-guile: \ | |
7811 | configure-guile \ | |
7812 | info-guile | |
7813 | @[ -f ./guile/Makefile ] || exit 0; \ | |
b40e3958 L |
7814 | r=`${PWD_COMMAND}`; export r; \ |
7815 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7816 | $(SET_LIB_PATH) \ |
7817 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7818 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7819 | done; \ | |
7820 | echo "Doing install-info in guile" ; \ | |
7821 | (cd guile && \ | |
7822 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7823 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7824 | "RANLIB=$${RANLIB}" \ | |
7825 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7826 | install-info) \ | |
7827 | || exit 1 | |
7828 | ||
7829 | ||
7830 | .PHONY: maybe-install-info-tk install-info-tk | |
7831 | maybe-install-info-tk: | |
7832 | ||
7833 | install-info-tk: \ | |
7834 | configure-tk \ | |
7835 | info-tk | |
7836 | @[ -f ./tk/Makefile ] || exit 0; \ | |
b40e3958 L |
7837 | r=`${PWD_COMMAND}`; export r; \ |
7838 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7839 | $(SET_LIB_PATH) \ |
7840 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7841 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7842 | done; \ | |
7843 | echo "Doing install-info in tk" ; \ | |
7844 | (cd tk && \ | |
7845 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7846 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7847 | "RANLIB=$${RANLIB}" \ | |
7848 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7849 | install-info) \ | |
7850 | || exit 1 | |
7851 | ||
7852 | ||
7853 | .PHONY: maybe-install-info-tix install-info-tix | |
7854 | maybe-install-info-tix: | |
7855 | ||
7856 | install-info-tix: \ | |
7857 | configure-tix \ | |
7858 | info-tix | |
7859 | @[ -f ./tix/Makefile ] || exit 0; \ | |
b40e3958 L |
7860 | r=`${PWD_COMMAND}`; export r; \ |
7861 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7862 | $(SET_LIB_PATH) \ |
7863 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7864 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7865 | done; \ | |
7866 | echo "Doing install-info in tix" ; \ | |
7867 | (cd tix && \ | |
7868 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7869 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7870 | "RANLIB=$${RANLIB}" \ | |
7871 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7872 | install-info) \ | |
7873 | || exit 1 | |
7874 | ||
7875 | ||
7876 | .PHONY: maybe-install-info-libtermcap install-info-libtermcap | |
7877 | maybe-install-info-libtermcap: | |
7878 | ||
7879 | install-info-libtermcap: \ | |
7880 | configure-libtermcap \ | |
7881 | info-libtermcap | |
7882 | @[ -f ./libtermcap/Makefile ] || exit 0; \ | |
b40e3958 L |
7883 | r=`${PWD_COMMAND}`; export r; \ |
7884 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7885 | $(SET_LIB_PATH) \ |
7886 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7887 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7888 | done; \ | |
7889 | echo "Doing install-info in libtermcap" ; \ | |
7890 | (cd libtermcap && \ | |
7891 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7892 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7893 | "RANLIB=$${RANLIB}" \ | |
7894 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7895 | install-info) \ | |
7896 | || exit 1 | |
7897 | ||
7898 | ||
7899 | .PHONY: maybe-install-info-utils install-info-utils | |
7900 | maybe-install-info-utils: | |
7901 | ||
7902 | install-info-utils: \ | |
7903 | configure-utils \ | |
7904 | info-utils | |
7905 | @[ -f ./utils/Makefile ] || exit 0; \ | |
b40e3958 L |
7906 | r=`${PWD_COMMAND}`; export r; \ |
7907 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7908 | $(SET_LIB_PATH) \ |
7909 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7910 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7911 | done; \ | |
7912 | echo "Doing install-info in utils" ; \ | |
7913 | (cd utils && \ | |
7914 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7915 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7916 | "RANLIB=$${RANLIB}" \ | |
7917 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7918 | install-info) \ | |
7919 | || exit 1 | |
7920 | ||
7921 | ||
7922 | ||
7923 | # Target modules. | |
7924 | ||
7925 | .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3 | |
7926 | maybe-install-info-target-libstdc++-v3: | |
7927 | ||
7928 | install-info-target-libstdc++-v3: \ | |
7929 | configure-target-libstdc++-v3 \ | |
7930 | info-target-libstdc++-v3 | |
7931 | @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ | |
b40e3958 L |
7932 | r=`${PWD_COMMAND}`; export r; \ |
7933 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7934 | $(SET_LIB_PATH) \ |
7935 | echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \ | |
7936 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
7937 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7938 | done; \ | |
7939 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
7940 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7941 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7942 | "RANLIB=$${RANLIB}" \ | |
7943 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7944 | install-info) \ | |
7945 | || exit 1 | |
7946 | ||
7947 | ||
7948 | .PHONY: maybe-install-info-target-newlib install-info-target-newlib | |
7949 | maybe-install-info-target-newlib: | |
7950 | ||
7951 | install-info-target-newlib: \ | |
7952 | configure-target-newlib \ | |
7953 | info-target-newlib | |
7954 | @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
7955 | r=`${PWD_COMMAND}`; export r; \ |
7956 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7957 | $(SET_LIB_PATH) \ |
7958 | echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \ | |
7959 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
7960 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7961 | done; \ | |
7962 | (cd $(TARGET_SUBDIR)/newlib && \ | |
7963 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7964 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7965 | "RANLIB=$${RANLIB}" \ | |
7966 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7967 | install-info) \ | |
7968 | || exit 1 | |
7969 | ||
7970 | ||
7971 | .PHONY: maybe-install-info-target-libf2c install-info-target-libf2c | |
7972 | maybe-install-info-target-libf2c: | |
7973 | ||
7974 | install-info-target-libf2c: \ | |
7975 | configure-target-libf2c \ | |
7976 | info-target-libf2c | |
7977 | @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \ | |
b40e3958 L |
7978 | r=`${PWD_COMMAND}`; export r; \ |
7979 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7980 | $(SET_LIB_PATH) \ |
7981 | echo "Doing install-info in $(TARGET_SUBDIR)/libf2c" ; \ | |
7982 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
7983 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7984 | done; \ | |
7985 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
7986 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7987 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7988 | "RANLIB=$${RANLIB}" \ | |
7989 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7990 | install-info) \ | |
7991 | || exit 1 | |
7992 | ||
7993 | ||
7994 | .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc | |
7995 | maybe-install-info-target-libobjc: | |
7996 | ||
7997 | install-info-target-libobjc: \ | |
7998 | configure-target-libobjc \ | |
7999 | info-target-libobjc | |
8000 | @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
8001 | r=`${PWD_COMMAND}`; export r; \ |
8002 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8003 | $(SET_LIB_PATH) \ |
8004 | echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \ | |
8005 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8006 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8007 | done; \ | |
8008 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
8009 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8010 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8011 | "RANLIB=$${RANLIB}" \ | |
8012 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8013 | install-info) \ | |
8014 | || exit 1 | |
8015 | ||
8016 | ||
8017 | .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap | |
8018 | maybe-install-info-target-libtermcap: | |
8019 | ||
8020 | install-info-target-libtermcap: \ | |
8021 | configure-target-libtermcap \ | |
8022 | info-target-libtermcap | |
8023 | @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ | |
b40e3958 L |
8024 | r=`${PWD_COMMAND}`; export r; \ |
8025 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8026 | $(SET_LIB_PATH) \ |
8027 | echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \ | |
8028 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8029 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8030 | done; \ | |
8031 | (cd $(TARGET_SUBDIR)/libtermcap && \ | |
8032 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8033 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8034 | "RANLIB=$${RANLIB}" \ | |
8035 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8036 | install-info) \ | |
8037 | || exit 1 | |
8038 | ||
8039 | ||
8040 | .PHONY: maybe-install-info-target-winsup install-info-target-winsup | |
8041 | maybe-install-info-target-winsup: | |
8042 | ||
8043 | install-info-target-winsup: \ | |
8044 | configure-target-winsup \ | |
8045 | info-target-winsup | |
8046 | @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ | |
b40e3958 L |
8047 | r=`${PWD_COMMAND}`; export r; \ |
8048 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8049 | $(SET_LIB_PATH) \ |
8050 | echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \ | |
8051 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8052 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8053 | done; \ | |
8054 | (cd $(TARGET_SUBDIR)/winsup && \ | |
8055 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8056 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8057 | "RANLIB=$${RANLIB}" \ | |
8058 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8059 | install-info) \ | |
8060 | || exit 1 | |
8061 | ||
8062 | ||
8063 | .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss | |
8064 | maybe-install-info-target-libgloss: | |
8065 | ||
8066 | install-info-target-libgloss: \ | |
8067 | configure-target-libgloss \ | |
8068 | info-target-libgloss | |
8069 | @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ | |
b40e3958 L |
8070 | r=`${PWD_COMMAND}`; export r; \ |
8071 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8072 | $(SET_LIB_PATH) \ |
8073 | echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \ | |
8074 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8075 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8076 | done; \ | |
8077 | (cd $(TARGET_SUBDIR)/libgloss && \ | |
8078 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8079 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8080 | "RANLIB=$${RANLIB}" \ | |
8081 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8082 | install-info) \ | |
8083 | || exit 1 | |
8084 | ||
8085 | ||
8086 | .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty | |
8087 | maybe-install-info-target-libiberty: | |
8088 | ||
8089 | install-info-target-libiberty: \ | |
8090 | configure-target-libiberty \ | |
8091 | info-target-libiberty | |
8092 | @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ | |
b40e3958 L |
8093 | r=`${PWD_COMMAND}`; export r; \ |
8094 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8095 | $(SET_LIB_PATH) \ |
8096 | echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \ | |
8097 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8098 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8099 | done; \ | |
8100 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
8101 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8102 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8103 | "RANLIB=$${RANLIB}" \ | |
8104 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8105 | install-info) \ | |
8106 | || exit 1 | |
8107 | ||
8108 | ||
8109 | .PHONY: maybe-install-info-target-gperf install-info-target-gperf | |
8110 | maybe-install-info-target-gperf: | |
8111 | ||
8112 | install-info-target-gperf: \ | |
8113 | configure-target-gperf \ | |
8114 | info-target-gperf | |
8115 | @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ | |
b40e3958 L |
8116 | r=`${PWD_COMMAND}`; export r; \ |
8117 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8118 | $(SET_LIB_PATH) \ |
8119 | echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \ | |
8120 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8121 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8122 | done; \ | |
8123 | (cd $(TARGET_SUBDIR)/gperf && \ | |
8124 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8125 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8126 | "RANLIB=$${RANLIB}" \ | |
8127 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8128 | install-info) \ | |
8129 | || exit 1 | |
8130 | ||
8131 | ||
8132 | .PHONY: maybe-install-info-target-examples install-info-target-examples | |
8133 | maybe-install-info-target-examples: | |
8134 | ||
8135 | install-info-target-examples: \ | |
8136 | configure-target-examples \ | |
8137 | info-target-examples | |
8138 | @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ | |
b40e3958 L |
8139 | r=`${PWD_COMMAND}`; export r; \ |
8140 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8141 | $(SET_LIB_PATH) \ |
8142 | echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \ | |
8143 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8144 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8145 | done; \ | |
8146 | (cd $(TARGET_SUBDIR)/examples && \ | |
8147 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8148 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8149 | "RANLIB=$${RANLIB}" \ | |
8150 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8151 | install-info) \ | |
8152 | || exit 1 | |
8153 | ||
8154 | ||
8155 | .PHONY: maybe-install-info-target-libffi install-info-target-libffi | |
8156 | maybe-install-info-target-libffi: | |
8157 | ||
8158 | install-info-target-libffi: \ | |
8159 | configure-target-libffi \ | |
8160 | info-target-libffi | |
8161 | @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ | |
b40e3958 L |
8162 | r=`${PWD_COMMAND}`; export r; \ |
8163 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8164 | $(SET_LIB_PATH) \ |
8165 | echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \ | |
8166 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8167 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8168 | done; \ | |
8169 | (cd $(TARGET_SUBDIR)/libffi && \ | |
8170 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8171 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8172 | "RANLIB=$${RANLIB}" \ | |
8173 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8174 | install-info) \ | |
8175 | || exit 1 | |
8176 | ||
8177 | ||
8178 | .PHONY: maybe-install-info-target-libjava install-info-target-libjava | |
8179 | maybe-install-info-target-libjava: | |
8180 | ||
8181 | install-info-target-libjava: \ | |
8182 | configure-target-libjava \ | |
8183 | info-target-libjava | |
8184 | @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ | |
b40e3958 L |
8185 | r=`${PWD_COMMAND}`; export r; \ |
8186 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8187 | $(SET_LIB_PATH) \ |
8188 | echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \ | |
8189 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8190 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8191 | done; \ | |
8192 | (cd $(TARGET_SUBDIR)/libjava && \ | |
8193 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8194 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8195 | "RANLIB=$${RANLIB}" \ | |
8196 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8197 | install-info) \ | |
8198 | || exit 1 | |
8199 | ||
8200 | ||
8201 | .PHONY: maybe-install-info-target-zlib install-info-target-zlib | |
8202 | maybe-install-info-target-zlib: | |
8203 | ||
8204 | install-info-target-zlib: \ | |
8205 | configure-target-zlib \ | |
8206 | info-target-zlib | |
8207 | @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
8208 | r=`${PWD_COMMAND}`; export r; \ |
8209 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8210 | $(SET_LIB_PATH) \ |
8211 | echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \ | |
8212 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8213 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8214 | done; \ | |
8215 | (cd $(TARGET_SUBDIR)/zlib && \ | |
8216 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8217 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8218 | "RANLIB=$${RANLIB}" \ | |
8219 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8220 | install-info) \ | |
8221 | || exit 1 | |
8222 | ||
8223 | ||
8224 | .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc | |
8225 | maybe-install-info-target-boehm-gc: | |
8226 | ||
8227 | install-info-target-boehm-gc: \ | |
8228 | configure-target-boehm-gc \ | |
8229 | info-target-boehm-gc | |
8230 | @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
8231 | r=`${PWD_COMMAND}`; export r; \ |
8232 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8233 | $(SET_LIB_PATH) \ |
8234 | echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \ | |
8235 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8236 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8237 | done; \ | |
8238 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
8239 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8240 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8241 | "RANLIB=$${RANLIB}" \ | |
8242 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8243 | install-info) \ | |
8244 | || exit 1 | |
8245 | ||
8246 | ||
8247 | .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads | |
8248 | maybe-install-info-target-qthreads: | |
8249 | ||
8250 | install-info-target-qthreads: \ | |
8251 | configure-target-qthreads \ | |
8252 | info-target-qthreads | |
8253 | @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ | |
b40e3958 L |
8254 | r=`${PWD_COMMAND}`; export r; \ |
8255 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8256 | $(SET_LIB_PATH) \ |
8257 | echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \ | |
8258 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8259 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8260 | done; \ | |
8261 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
8262 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8263 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8264 | "RANLIB=$${RANLIB}" \ | |
8265 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8266 | install-info) \ | |
8267 | || exit 1 | |
8268 | ||
8269 | ||
8270 | .PHONY: maybe-install-info-target-rda install-info-target-rda | |
8271 | maybe-install-info-target-rda: | |
8272 | ||
8273 | install-info-target-rda: \ | |
8274 | configure-target-rda \ | |
8275 | info-target-rda | |
8276 | @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ | |
b40e3958 L |
8277 | r=`${PWD_COMMAND}`; export r; \ |
8278 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8279 | $(SET_LIB_PATH) \ |
8280 | echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \ | |
8281 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8282 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8283 | done; \ | |
8284 | (cd $(TARGET_SUBDIR)/rda && \ | |
8285 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8286 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8287 | "RANLIB=$${RANLIB}" \ | |
8288 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8289 | install-info) \ | |
8290 | || exit 1 | |
8291 | ||
8292 | ||
8293 | ||
8294 | .PHONY: do-installcheck | |
8295 | do-installcheck: installcheck-host installcheck-target | |
8296 | ||
8297 | .PHONY: installcheck-host | |
8298 | installcheck-host: maybe-installcheck-gcc \ | |
8299 | maybe-installcheck-ash \ | |
8300 | maybe-installcheck-autoconf \ | |
8301 | maybe-installcheck-automake \ | |
8302 | maybe-installcheck-bash \ | |
8303 | maybe-installcheck-bfd \ | |
8304 | maybe-installcheck-opcodes \ | |
8305 | maybe-installcheck-binutils \ | |
8306 | maybe-installcheck-bison \ | |
8307 | maybe-installcheck-byacc \ | |
8308 | maybe-installcheck-bzip2 \ | |
8309 | maybe-installcheck-dejagnu \ | |
8310 | maybe-installcheck-diff \ | |
8311 | maybe-installcheck-dosutils \ | |
8312 | maybe-installcheck-etc \ | |
8313 | maybe-installcheck-fastjar \ | |
8314 | maybe-installcheck-fileutils \ | |
8315 | maybe-installcheck-findutils \ | |
8316 | maybe-installcheck-find \ | |
8317 | maybe-installcheck-flex \ | |
8318 | maybe-installcheck-gas \ | |
8319 | maybe-installcheck-gawk \ | |
8320 | maybe-installcheck-gettext \ | |
8321 | maybe-installcheck-gnuserv \ | |
8322 | maybe-installcheck-gprof \ | |
8323 | maybe-installcheck-gzip \ | |
8324 | maybe-installcheck-hello \ | |
8325 | maybe-installcheck-indent \ | |
8326 | maybe-installcheck-intl \ | |
8327 | maybe-installcheck-tcl \ | |
8328 | maybe-installcheck-itcl \ | |
8329 | maybe-installcheck-ld \ | |
8330 | maybe-installcheck-libgui \ | |
8331 | maybe-installcheck-libiberty \ | |
8332 | maybe-installcheck-libtool \ | |
8333 | maybe-installcheck-m4 \ | |
8334 | maybe-installcheck-make \ | |
8335 | maybe-installcheck-mmalloc \ | |
8336 | maybe-installcheck-patch \ | |
8337 | maybe-installcheck-perl \ | |
8338 | maybe-installcheck-prms \ | |
8339 | maybe-installcheck-rcs \ | |
8340 | maybe-installcheck-readline \ | |
8341 | maybe-installcheck-release \ | |
8342 | maybe-installcheck-recode \ | |
8343 | maybe-installcheck-sed \ | |
8344 | maybe-installcheck-send-pr \ | |
8345 | maybe-installcheck-shellutils \ | |
8346 | maybe-installcheck-sid \ | |
8347 | maybe-installcheck-sim \ | |
8348 | maybe-installcheck-tar \ | |
8349 | maybe-installcheck-texinfo \ | |
8350 | maybe-installcheck-textutils \ | |
8351 | maybe-installcheck-time \ | |
8352 | maybe-installcheck-uudecode \ | |
8353 | maybe-installcheck-wdiff \ | |
8354 | maybe-installcheck-zip \ | |
8355 | maybe-installcheck-zlib \ | |
8356 | maybe-installcheck-gdb \ | |
8357 | maybe-installcheck-expect \ | |
8358 | maybe-installcheck-guile \ | |
8359 | maybe-installcheck-tk \ | |
8360 | maybe-installcheck-tix \ | |
8361 | maybe-installcheck-libtermcap \ | |
8362 | maybe-installcheck-utils | |
8363 | ||
8364 | .PHONY: installcheck-target | |
8365 | installcheck-target: \ | |
8366 | maybe-installcheck-target-libstdc++-v3 \ | |
8367 | maybe-installcheck-target-newlib \ | |
8368 | maybe-installcheck-target-libf2c \ | |
8369 | maybe-installcheck-target-libobjc \ | |
8370 | maybe-installcheck-target-libtermcap \ | |
8371 | maybe-installcheck-target-winsup \ | |
8372 | maybe-installcheck-target-libgloss \ | |
8373 | maybe-installcheck-target-libiberty \ | |
8374 | maybe-installcheck-target-gperf \ | |
8375 | maybe-installcheck-target-examples \ | |
8376 | maybe-installcheck-target-libffi \ | |
8377 | maybe-installcheck-target-libjava \ | |
8378 | maybe-installcheck-target-zlib \ | |
8379 | maybe-installcheck-target-boehm-gc \ | |
8380 | maybe-installcheck-target-qthreads \ | |
8381 | maybe-installcheck-target-rda | |
8382 | ||
8383 | # GCC, the eternal special case | |
8384 | .PHONY: maybe-installcheck-gcc installcheck-gcc | |
8385 | maybe-installcheck-gcc: | |
8386 | installcheck-gcc: \ | |
8387 | configure-gcc | |
8388 | @[ -f ./gcc/Makefile ] || exit 0; \ | |
b40e3958 L |
8389 | r=`${PWD_COMMAND}`; export r; \ |
8390 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8391 | $(SET_LIB_PATH) \ |
8392 | for flag in $(EXTRA_GCC_FLAGS); do \ | |
8393 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8394 | done; \ | |
8395 | echo "Doing installcheck in gcc" ; \ | |
8396 | (cd gcc && \ | |
8397 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8398 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8399 | "RANLIB=$${RANLIB}" \ | |
8400 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8401 | installcheck) \ | |
8402 | || exit 1 | |
8403 | ||
8404 | # Host modules. | |
8405 | ||
8406 | .PHONY: maybe-installcheck-ash installcheck-ash | |
8407 | maybe-installcheck-ash: | |
8408 | ||
8409 | installcheck-ash: \ | |
8410 | configure-ash | |
8411 | @[ -f ./ash/Makefile ] || exit 0; \ | |
b40e3958 L |
8412 | r=`${PWD_COMMAND}`; export r; \ |
8413 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8414 | $(SET_LIB_PATH) \ |
8415 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8416 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8417 | done; \ | |
8418 | echo "Doing installcheck in ash" ; \ | |
8419 | (cd ash && \ | |
8420 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8421 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8422 | "RANLIB=$${RANLIB}" \ | |
8423 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8424 | installcheck) \ | |
8425 | || exit 1 | |
8426 | ||
8427 | ||
8428 | .PHONY: maybe-installcheck-autoconf installcheck-autoconf | |
8429 | maybe-installcheck-autoconf: | |
8430 | ||
8431 | installcheck-autoconf: \ | |
8432 | configure-autoconf | |
8433 | @[ -f ./autoconf/Makefile ] || exit 0; \ | |
b40e3958 L |
8434 | r=`${PWD_COMMAND}`; export r; \ |
8435 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8436 | $(SET_LIB_PATH) \ |
8437 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8438 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8439 | done; \ | |
8440 | echo "Doing installcheck in autoconf" ; \ | |
8441 | (cd autoconf && \ | |
8442 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8443 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8444 | "RANLIB=$${RANLIB}" \ | |
8445 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8446 | installcheck) \ | |
8447 | || exit 1 | |
8448 | ||
8449 | ||
8450 | .PHONY: maybe-installcheck-automake installcheck-automake | |
8451 | maybe-installcheck-automake: | |
8452 | ||
8453 | installcheck-automake: \ | |
8454 | configure-automake | |
8455 | @[ -f ./automake/Makefile ] || exit 0; \ | |
b40e3958 L |
8456 | r=`${PWD_COMMAND}`; export r; \ |
8457 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8458 | $(SET_LIB_PATH) \ |
8459 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8460 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8461 | done; \ | |
8462 | echo "Doing installcheck in automake" ; \ | |
8463 | (cd automake && \ | |
8464 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8465 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8466 | "RANLIB=$${RANLIB}" \ | |
8467 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8468 | installcheck) \ | |
8469 | || exit 1 | |
8470 | ||
8471 | ||
8472 | .PHONY: maybe-installcheck-bash installcheck-bash | |
8473 | maybe-installcheck-bash: | |
8474 | ||
8475 | installcheck-bash: \ | |
8476 | configure-bash | |
8477 | @[ -f ./bash/Makefile ] || exit 0; \ | |
b40e3958 L |
8478 | r=`${PWD_COMMAND}`; export r; \ |
8479 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8480 | $(SET_LIB_PATH) \ |
8481 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8482 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8483 | done; \ | |
8484 | echo "Doing installcheck in bash" ; \ | |
8485 | (cd bash && \ | |
8486 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8487 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8488 | "RANLIB=$${RANLIB}" \ | |
8489 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8490 | installcheck) \ | |
8491 | || exit 1 | |
8492 | ||
8493 | ||
8494 | .PHONY: maybe-installcheck-bfd installcheck-bfd | |
8495 | maybe-installcheck-bfd: | |
8496 | ||
8497 | installcheck-bfd: \ | |
8498 | configure-bfd | |
8499 | @[ -f ./bfd/Makefile ] || exit 0; \ | |
b40e3958 L |
8500 | r=`${PWD_COMMAND}`; export r; \ |
8501 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8502 | $(SET_LIB_PATH) \ |
8503 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8504 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8505 | done; \ | |
8506 | echo "Doing installcheck in bfd" ; \ | |
8507 | (cd bfd && \ | |
8508 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8509 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8510 | "RANLIB=$${RANLIB}" \ | |
8511 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8512 | installcheck) \ | |
8513 | || exit 1 | |
8514 | ||
8515 | ||
8516 | .PHONY: maybe-installcheck-opcodes installcheck-opcodes | |
8517 | maybe-installcheck-opcodes: | |
8518 | ||
8519 | installcheck-opcodes: \ | |
8520 | configure-opcodes | |
8521 | @[ -f ./opcodes/Makefile ] || exit 0; \ | |
b40e3958 L |
8522 | r=`${PWD_COMMAND}`; export r; \ |
8523 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8524 | $(SET_LIB_PATH) \ |
8525 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8526 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8527 | done; \ | |
8528 | echo "Doing installcheck in opcodes" ; \ | |
8529 | (cd opcodes && \ | |
8530 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8531 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8532 | "RANLIB=$${RANLIB}" \ | |
8533 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8534 | installcheck) \ | |
8535 | || exit 1 | |
8536 | ||
8537 | ||
8538 | .PHONY: maybe-installcheck-binutils installcheck-binutils | |
8539 | maybe-installcheck-binutils: | |
8540 | ||
8541 | installcheck-binutils: \ | |
8542 | configure-binutils | |
8543 | @[ -f ./binutils/Makefile ] || exit 0; \ | |
b40e3958 L |
8544 | r=`${PWD_COMMAND}`; export r; \ |
8545 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8546 | $(SET_LIB_PATH) \ |
8547 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8548 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8549 | done; \ | |
8550 | echo "Doing installcheck in binutils" ; \ | |
8551 | (cd binutils && \ | |
8552 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8553 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8554 | "RANLIB=$${RANLIB}" \ | |
8555 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8556 | installcheck) \ | |
8557 | || exit 1 | |
8558 | ||
8559 | ||
8560 | .PHONY: maybe-installcheck-bison installcheck-bison | |
8561 | maybe-installcheck-bison: | |
8562 | ||
8563 | installcheck-bison: \ | |
8564 | configure-bison | |
8565 | @[ -f ./bison/Makefile ] || exit 0; \ | |
b40e3958 L |
8566 | r=`${PWD_COMMAND}`; export r; \ |
8567 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8568 | $(SET_LIB_PATH) \ |
8569 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8570 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8571 | done; \ | |
8572 | echo "Doing installcheck in bison" ; \ | |
8573 | (cd bison && \ | |
8574 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8575 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8576 | "RANLIB=$${RANLIB}" \ | |
8577 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8578 | installcheck) \ | |
8579 | || exit 1 | |
8580 | ||
8581 | ||
8582 | .PHONY: maybe-installcheck-byacc installcheck-byacc | |
8583 | maybe-installcheck-byacc: | |
8584 | ||
8585 | installcheck-byacc: \ | |
8586 | configure-byacc | |
8587 | @[ -f ./byacc/Makefile ] || exit 0; \ | |
b40e3958 L |
8588 | r=`${PWD_COMMAND}`; export r; \ |
8589 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8590 | $(SET_LIB_PATH) \ |
8591 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8592 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8593 | done; \ | |
8594 | echo "Doing installcheck in byacc" ; \ | |
8595 | (cd byacc && \ | |
8596 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8597 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8598 | "RANLIB=$${RANLIB}" \ | |
8599 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8600 | installcheck) \ | |
8601 | || exit 1 | |
8602 | ||
8603 | ||
8604 | .PHONY: maybe-installcheck-bzip2 installcheck-bzip2 | |
8605 | maybe-installcheck-bzip2: | |
8606 | ||
8607 | installcheck-bzip2: \ | |
8608 | configure-bzip2 | |
8609 | @[ -f ./bzip2/Makefile ] || exit 0; \ | |
b40e3958 L |
8610 | r=`${PWD_COMMAND}`; export r; \ |
8611 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8612 | $(SET_LIB_PATH) \ |
8613 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8614 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8615 | done; \ | |
8616 | echo "Doing installcheck in bzip2" ; \ | |
8617 | (cd bzip2 && \ | |
8618 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8619 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8620 | "RANLIB=$${RANLIB}" \ | |
8621 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8622 | installcheck) \ | |
8623 | || exit 1 | |
8624 | ||
8625 | ||
8626 | .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu | |
8627 | maybe-installcheck-dejagnu: | |
8628 | ||
8629 | installcheck-dejagnu: \ | |
8630 | configure-dejagnu | |
8631 | @[ -f ./dejagnu/Makefile ] || exit 0; \ | |
b40e3958 L |
8632 | r=`${PWD_COMMAND}`; export r; \ |
8633 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8634 | $(SET_LIB_PATH) \ |
8635 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8636 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8637 | done; \ | |
8638 | echo "Doing installcheck in dejagnu" ; \ | |
8639 | (cd dejagnu && \ | |
8640 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8641 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8642 | "RANLIB=$${RANLIB}" \ | |
8643 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8644 | installcheck) \ | |
8645 | || exit 1 | |
8646 | ||
8647 | ||
8648 | .PHONY: maybe-installcheck-diff installcheck-diff | |
8649 | maybe-installcheck-diff: | |
8650 | ||
8651 | installcheck-diff: \ | |
8652 | configure-diff | |
8653 | @[ -f ./diff/Makefile ] || exit 0; \ | |
b40e3958 L |
8654 | r=`${PWD_COMMAND}`; export r; \ |
8655 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8656 | $(SET_LIB_PATH) \ |
8657 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8658 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8659 | done; \ | |
8660 | echo "Doing installcheck in diff" ; \ | |
8661 | (cd diff && \ | |
8662 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8663 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8664 | "RANLIB=$${RANLIB}" \ | |
8665 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8666 | installcheck) \ | |
8667 | || exit 1 | |
8668 | ||
8669 | ||
8670 | .PHONY: maybe-installcheck-dosutils installcheck-dosutils | |
8671 | maybe-installcheck-dosutils: | |
8672 | ||
8673 | installcheck-dosutils: \ | |
8674 | configure-dosutils | |
8675 | @[ -f ./dosutils/Makefile ] || exit 0; \ | |
b40e3958 L |
8676 | r=`${PWD_COMMAND}`; export r; \ |
8677 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8678 | $(SET_LIB_PATH) \ |
8679 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8680 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8681 | done; \ | |
8682 | echo "Doing installcheck in dosutils" ; \ | |
8683 | (cd dosutils && \ | |
8684 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8685 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8686 | "RANLIB=$${RANLIB}" \ | |
8687 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8688 | installcheck) \ | |
8689 | || exit 1 | |
8690 | ||
8691 | ||
8692 | .PHONY: maybe-installcheck-etc installcheck-etc | |
8693 | maybe-installcheck-etc: | |
8694 | ||
8695 | installcheck-etc: \ | |
8696 | configure-etc | |
8697 | @[ -f ./etc/Makefile ] || exit 0; \ | |
b40e3958 L |
8698 | r=`${PWD_COMMAND}`; export r; \ |
8699 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8700 | $(SET_LIB_PATH) \ |
8701 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8702 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8703 | done; \ | |
8704 | echo "Doing installcheck in etc" ; \ | |
8705 | (cd etc && \ | |
8706 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8707 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8708 | "RANLIB=$${RANLIB}" \ | |
8709 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8710 | installcheck) \ | |
8711 | || exit 1 | |
8712 | ||
8713 | ||
8714 | .PHONY: maybe-installcheck-fastjar installcheck-fastjar | |
8715 | maybe-installcheck-fastjar: | |
8716 | ||
8717 | installcheck-fastjar: \ | |
8718 | configure-fastjar | |
8719 | @[ -f ./fastjar/Makefile ] || exit 0; \ | |
b40e3958 L |
8720 | r=`${PWD_COMMAND}`; export r; \ |
8721 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8722 | $(SET_LIB_PATH) \ |
8723 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8724 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8725 | done; \ | |
8726 | echo "Doing installcheck in fastjar" ; \ | |
8727 | (cd fastjar && \ | |
8728 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8729 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8730 | "RANLIB=$${RANLIB}" \ | |
8731 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8732 | installcheck) \ | |
8733 | || exit 1 | |
8734 | ||
8735 | ||
8736 | .PHONY: maybe-installcheck-fileutils installcheck-fileutils | |
8737 | maybe-installcheck-fileutils: | |
8738 | ||
8739 | installcheck-fileutils: \ | |
8740 | configure-fileutils | |
8741 | @[ -f ./fileutils/Makefile ] || exit 0; \ | |
b40e3958 L |
8742 | r=`${PWD_COMMAND}`; export r; \ |
8743 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8744 | $(SET_LIB_PATH) \ |
8745 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8746 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8747 | done; \ | |
8748 | echo "Doing installcheck in fileutils" ; \ | |
8749 | (cd fileutils && \ | |
8750 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8751 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8752 | "RANLIB=$${RANLIB}" \ | |
8753 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8754 | installcheck) \ | |
8755 | || exit 1 | |
8756 | ||
8757 | ||
8758 | .PHONY: maybe-installcheck-findutils installcheck-findutils | |
8759 | maybe-installcheck-findutils: | |
8760 | ||
8761 | installcheck-findutils: \ | |
8762 | configure-findutils | |
8763 | @[ -f ./findutils/Makefile ] || exit 0; \ | |
b40e3958 L |
8764 | r=`${PWD_COMMAND}`; export r; \ |
8765 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8766 | $(SET_LIB_PATH) \ |
8767 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8768 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8769 | done; \ | |
8770 | echo "Doing installcheck in findutils" ; \ | |
8771 | (cd findutils && \ | |
8772 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8773 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8774 | "RANLIB=$${RANLIB}" \ | |
8775 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8776 | installcheck) \ | |
8777 | || exit 1 | |
8778 | ||
8779 | ||
8780 | .PHONY: maybe-installcheck-find installcheck-find | |
8781 | maybe-installcheck-find: | |
8782 | ||
8783 | installcheck-find: \ | |
8784 | configure-find | |
8785 | @[ -f ./find/Makefile ] || exit 0; \ | |
b40e3958 L |
8786 | r=`${PWD_COMMAND}`; export r; \ |
8787 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8788 | $(SET_LIB_PATH) \ |
8789 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8790 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8791 | done; \ | |
8792 | echo "Doing installcheck in find" ; \ | |
8793 | (cd find && \ | |
8794 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8795 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8796 | "RANLIB=$${RANLIB}" \ | |
8797 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8798 | installcheck) \ | |
8799 | || exit 1 | |
8800 | ||
8801 | ||
8802 | .PHONY: maybe-installcheck-flex installcheck-flex | |
8803 | maybe-installcheck-flex: | |
8804 | ||
8805 | installcheck-flex: \ | |
8806 | configure-flex | |
8807 | @[ -f ./flex/Makefile ] || exit 0; \ | |
b40e3958 L |
8808 | r=`${PWD_COMMAND}`; export r; \ |
8809 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8810 | $(SET_LIB_PATH) \ |
8811 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8812 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8813 | done; \ | |
8814 | echo "Doing installcheck in flex" ; \ | |
8815 | (cd flex && \ | |
8816 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8817 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8818 | "RANLIB=$${RANLIB}" \ | |
8819 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8820 | installcheck) \ | |
8821 | || exit 1 | |
8822 | ||
8823 | ||
8824 | .PHONY: maybe-installcheck-gas installcheck-gas | |
8825 | maybe-installcheck-gas: | |
8826 | ||
8827 | installcheck-gas: \ | |
8828 | configure-gas | |
8829 | @[ -f ./gas/Makefile ] || exit 0; \ | |
b40e3958 L |
8830 | r=`${PWD_COMMAND}`; export r; \ |
8831 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8832 | $(SET_LIB_PATH) \ |
8833 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8834 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8835 | done; \ | |
8836 | echo "Doing installcheck in gas" ; \ | |
8837 | (cd gas && \ | |
8838 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8839 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8840 | "RANLIB=$${RANLIB}" \ | |
8841 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8842 | installcheck) \ | |
8843 | || exit 1 | |
8844 | ||
8845 | ||
8846 | .PHONY: maybe-installcheck-gawk installcheck-gawk | |
8847 | maybe-installcheck-gawk: | |
8848 | ||
8849 | installcheck-gawk: \ | |
8850 | configure-gawk | |
8851 | @[ -f ./gawk/Makefile ] || exit 0; \ | |
b40e3958 L |
8852 | r=`${PWD_COMMAND}`; export r; \ |
8853 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8854 | $(SET_LIB_PATH) \ |
8855 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8856 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8857 | done; \ | |
8858 | echo "Doing installcheck in gawk" ; \ | |
8859 | (cd gawk && \ | |
8860 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8861 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8862 | "RANLIB=$${RANLIB}" \ | |
8863 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8864 | installcheck) \ | |
8865 | || exit 1 | |
8866 | ||
8867 | ||
8868 | .PHONY: maybe-installcheck-gettext installcheck-gettext | |
8869 | maybe-installcheck-gettext: | |
8870 | ||
8871 | installcheck-gettext: \ | |
8872 | configure-gettext | |
8873 | @[ -f ./gettext/Makefile ] || exit 0; \ | |
b40e3958 L |
8874 | r=`${PWD_COMMAND}`; export r; \ |
8875 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8876 | $(SET_LIB_PATH) \ |
8877 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8878 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8879 | done; \ | |
8880 | echo "Doing installcheck in gettext" ; \ | |
8881 | (cd gettext && \ | |
8882 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8883 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8884 | "RANLIB=$${RANLIB}" \ | |
8885 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8886 | installcheck) \ | |
8887 | || exit 1 | |
8888 | ||
8889 | ||
8890 | .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv | |
8891 | maybe-installcheck-gnuserv: | |
8892 | ||
8893 | installcheck-gnuserv: \ | |
8894 | configure-gnuserv | |
8895 | @[ -f ./gnuserv/Makefile ] || exit 0; \ | |
b40e3958 L |
8896 | r=`${PWD_COMMAND}`; export r; \ |
8897 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8898 | $(SET_LIB_PATH) \ |
8899 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8900 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8901 | done; \ | |
8902 | echo "Doing installcheck in gnuserv" ; \ | |
8903 | (cd gnuserv && \ | |
8904 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8905 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8906 | "RANLIB=$${RANLIB}" \ | |
8907 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8908 | installcheck) \ | |
8909 | || exit 1 | |
8910 | ||
8911 | ||
8912 | .PHONY: maybe-installcheck-gprof installcheck-gprof | |
8913 | maybe-installcheck-gprof: | |
8914 | ||
8915 | installcheck-gprof: \ | |
8916 | configure-gprof | |
8917 | @[ -f ./gprof/Makefile ] || exit 0; \ | |
b40e3958 L |
8918 | r=`${PWD_COMMAND}`; export r; \ |
8919 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8920 | $(SET_LIB_PATH) \ |
8921 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8922 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8923 | done; \ | |
8924 | echo "Doing installcheck in gprof" ; \ | |
8925 | (cd gprof && \ | |
8926 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8927 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8928 | "RANLIB=$${RANLIB}" \ | |
8929 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8930 | installcheck) \ | |
8931 | || exit 1 | |
8932 | ||
8933 | ||
8934 | .PHONY: maybe-installcheck-gzip installcheck-gzip | |
8935 | maybe-installcheck-gzip: | |
8936 | ||
8937 | installcheck-gzip: \ | |
8938 | configure-gzip | |
8939 | @[ -f ./gzip/Makefile ] || exit 0; \ | |
b40e3958 L |
8940 | r=`${PWD_COMMAND}`; export r; \ |
8941 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8942 | $(SET_LIB_PATH) \ |
8943 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8944 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8945 | done; \ | |
8946 | echo "Doing installcheck in gzip" ; \ | |
8947 | (cd gzip && \ | |
8948 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8949 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8950 | "RANLIB=$${RANLIB}" \ | |
8951 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8952 | installcheck) \ | |
8953 | || exit 1 | |
8954 | ||
8955 | ||
8956 | .PHONY: maybe-installcheck-hello installcheck-hello | |
8957 | maybe-installcheck-hello: | |
8958 | ||
8959 | installcheck-hello: \ | |
8960 | configure-hello | |
8961 | @[ -f ./hello/Makefile ] || exit 0; \ | |
b40e3958 L |
8962 | r=`${PWD_COMMAND}`; export r; \ |
8963 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8964 | $(SET_LIB_PATH) \ |
8965 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8966 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8967 | done; \ | |
8968 | echo "Doing installcheck in hello" ; \ | |
8969 | (cd hello && \ | |
8970 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8971 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8972 | "RANLIB=$${RANLIB}" \ | |
8973 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8974 | installcheck) \ | |
8975 | || exit 1 | |
8976 | ||
8977 | ||
8978 | .PHONY: maybe-installcheck-indent installcheck-indent | |
8979 | maybe-installcheck-indent: | |
8980 | ||
8981 | installcheck-indent: \ | |
8982 | configure-indent | |
8983 | @[ -f ./indent/Makefile ] || exit 0; \ | |
b40e3958 L |
8984 | r=`${PWD_COMMAND}`; export r; \ |
8985 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8986 | $(SET_LIB_PATH) \ |
8987 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8988 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8989 | done; \ | |
8990 | echo "Doing installcheck in indent" ; \ | |
8991 | (cd indent && \ | |
8992 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8993 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8994 | "RANLIB=$${RANLIB}" \ | |
8995 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8996 | installcheck) \ | |
8997 | || exit 1 | |
8998 | ||
8999 | ||
9000 | .PHONY: maybe-installcheck-intl installcheck-intl | |
9001 | maybe-installcheck-intl: | |
9002 | ||
9003 | installcheck-intl: \ | |
9004 | configure-intl | |
9005 | @[ -f ./intl/Makefile ] || exit 0; \ | |
b40e3958 L |
9006 | r=`${PWD_COMMAND}`; export r; \ |
9007 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9008 | $(SET_LIB_PATH) \ |
9009 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9010 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9011 | done; \ | |
9012 | echo "Doing installcheck in intl" ; \ | |
9013 | (cd intl && \ | |
9014 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9015 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9016 | "RANLIB=$${RANLIB}" \ | |
9017 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9018 | installcheck) \ | |
9019 | || exit 1 | |
9020 | ||
9021 | ||
9022 | .PHONY: maybe-installcheck-tcl installcheck-tcl | |
9023 | maybe-installcheck-tcl: | |
9024 | ||
9025 | installcheck-tcl: \ | |
9026 | configure-tcl | |
9027 | @[ -f ./tcl/Makefile ] || exit 0; \ | |
b40e3958 L |
9028 | r=`${PWD_COMMAND}`; export r; \ |
9029 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9030 | $(SET_LIB_PATH) \ |
9031 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9032 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9033 | done; \ | |
9034 | echo "Doing installcheck in tcl" ; \ | |
9035 | (cd tcl && \ | |
9036 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9037 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9038 | "RANLIB=$${RANLIB}" \ | |
9039 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9040 | installcheck) \ | |
9041 | || exit 1 | |
9042 | ||
9043 | ||
9044 | .PHONY: maybe-installcheck-itcl installcheck-itcl | |
9045 | maybe-installcheck-itcl: | |
9046 | ||
9047 | installcheck-itcl: \ | |
9048 | configure-itcl | |
9049 | @[ -f ./itcl/Makefile ] || exit 0; \ | |
b40e3958 L |
9050 | r=`${PWD_COMMAND}`; export r; \ |
9051 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9052 | $(SET_LIB_PATH) \ |
9053 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9054 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9055 | done; \ | |
9056 | echo "Doing installcheck in itcl" ; \ | |
9057 | (cd itcl && \ | |
9058 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9059 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9060 | "RANLIB=$${RANLIB}" \ | |
9061 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9062 | installcheck) \ | |
9063 | || exit 1 | |
9064 | ||
9065 | ||
9066 | .PHONY: maybe-installcheck-ld installcheck-ld | |
9067 | maybe-installcheck-ld: | |
9068 | ||
9069 | installcheck-ld: \ | |
9070 | configure-ld | |
9071 | @[ -f ./ld/Makefile ] || exit 0; \ | |
b40e3958 L |
9072 | r=`${PWD_COMMAND}`; export r; \ |
9073 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9074 | $(SET_LIB_PATH) \ |
9075 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9076 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9077 | done; \ | |
9078 | echo "Doing installcheck in ld" ; \ | |
9079 | (cd ld && \ | |
9080 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9081 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9082 | "RANLIB=$${RANLIB}" \ | |
9083 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9084 | installcheck) \ | |
9085 | || exit 1 | |
9086 | ||
9087 | ||
9088 | .PHONY: maybe-installcheck-libgui installcheck-libgui | |
9089 | maybe-installcheck-libgui: | |
9090 | ||
9091 | installcheck-libgui: \ | |
9092 | configure-libgui | |
9093 | @[ -f ./libgui/Makefile ] || exit 0; \ | |
b40e3958 L |
9094 | r=`${PWD_COMMAND}`; export r; \ |
9095 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9096 | $(SET_LIB_PATH) \ |
9097 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9098 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9099 | done; \ | |
9100 | echo "Doing installcheck in libgui" ; \ | |
9101 | (cd libgui && \ | |
9102 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9103 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9104 | "RANLIB=$${RANLIB}" \ | |
9105 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9106 | installcheck) \ | |
9107 | || exit 1 | |
9108 | ||
9109 | ||
9110 | .PHONY: maybe-installcheck-libiberty installcheck-libiberty | |
9111 | maybe-installcheck-libiberty: | |
9112 | ||
9113 | installcheck-libiberty: \ | |
9114 | configure-libiberty | |
9115 | @[ -f ./libiberty/Makefile ] || exit 0; \ | |
b40e3958 L |
9116 | r=`${PWD_COMMAND}`; export r; \ |
9117 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9118 | $(SET_LIB_PATH) \ |
9119 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9120 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9121 | done; \ | |
9122 | echo "Doing installcheck in libiberty" ; \ | |
9123 | (cd libiberty && \ | |
9124 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9125 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9126 | "RANLIB=$${RANLIB}" \ | |
9127 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9128 | installcheck) \ | |
9129 | || exit 1 | |
9130 | ||
9131 | ||
9132 | .PHONY: maybe-installcheck-libtool installcheck-libtool | |
9133 | maybe-installcheck-libtool: | |
9134 | ||
9135 | installcheck-libtool: \ | |
9136 | configure-libtool | |
9137 | @[ -f ./libtool/Makefile ] || exit 0; \ | |
b40e3958 L |
9138 | r=`${PWD_COMMAND}`; export r; \ |
9139 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9140 | $(SET_LIB_PATH) \ |
9141 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9142 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9143 | done; \ | |
9144 | echo "Doing installcheck in libtool" ; \ | |
9145 | (cd libtool && \ | |
9146 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9147 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9148 | "RANLIB=$${RANLIB}" \ | |
9149 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9150 | installcheck) \ | |
9151 | || exit 1 | |
9152 | ||
9153 | ||
9154 | .PHONY: maybe-installcheck-m4 installcheck-m4 | |
9155 | maybe-installcheck-m4: | |
9156 | ||
9157 | installcheck-m4: \ | |
9158 | configure-m4 | |
9159 | @[ -f ./m4/Makefile ] || exit 0; \ | |
b40e3958 L |
9160 | r=`${PWD_COMMAND}`; export r; \ |
9161 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9162 | $(SET_LIB_PATH) \ |
9163 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9164 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9165 | done; \ | |
9166 | echo "Doing installcheck in m4" ; \ | |
9167 | (cd m4 && \ | |
9168 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9169 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9170 | "RANLIB=$${RANLIB}" \ | |
9171 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9172 | installcheck) \ | |
9173 | || exit 1 | |
9174 | ||
9175 | ||
9176 | .PHONY: maybe-installcheck-make installcheck-make | |
9177 | maybe-installcheck-make: | |
9178 | ||
9179 | installcheck-make: \ | |
9180 | configure-make | |
9181 | @[ -f ./make/Makefile ] || exit 0; \ | |
b40e3958 L |
9182 | r=`${PWD_COMMAND}`; export r; \ |
9183 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9184 | $(SET_LIB_PATH) \ |
9185 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9186 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9187 | done; \ | |
9188 | echo "Doing installcheck in make" ; \ | |
9189 | (cd make && \ | |
9190 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9191 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9192 | "RANLIB=$${RANLIB}" \ | |
9193 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9194 | installcheck) \ | |
9195 | || exit 1 | |
9196 | ||
9197 | ||
9198 | .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc | |
9199 | maybe-installcheck-mmalloc: | |
9200 | ||
9201 | installcheck-mmalloc: \ | |
9202 | configure-mmalloc | |
9203 | @[ -f ./mmalloc/Makefile ] || exit 0; \ | |
b40e3958 L |
9204 | r=`${PWD_COMMAND}`; export r; \ |
9205 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9206 | $(SET_LIB_PATH) \ |
9207 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9208 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9209 | done; \ | |
9210 | echo "Doing installcheck in mmalloc" ; \ | |
9211 | (cd mmalloc && \ | |
9212 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9213 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9214 | "RANLIB=$${RANLIB}" \ | |
9215 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9216 | installcheck) \ | |
9217 | || exit 1 | |
9218 | ||
9219 | ||
9220 | .PHONY: maybe-installcheck-patch installcheck-patch | |
9221 | maybe-installcheck-patch: | |
9222 | ||
9223 | installcheck-patch: \ | |
9224 | configure-patch | |
9225 | @[ -f ./patch/Makefile ] || exit 0; \ | |
b40e3958 L |
9226 | r=`${PWD_COMMAND}`; export r; \ |
9227 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9228 | $(SET_LIB_PATH) \ |
9229 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9230 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9231 | done; \ | |
9232 | echo "Doing installcheck in patch" ; \ | |
9233 | (cd patch && \ | |
9234 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9235 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9236 | "RANLIB=$${RANLIB}" \ | |
9237 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9238 | installcheck) \ | |
9239 | || exit 1 | |
9240 | ||
9241 | ||
9242 | .PHONY: maybe-installcheck-perl installcheck-perl | |
9243 | maybe-installcheck-perl: | |
9244 | ||
9245 | installcheck-perl: \ | |
9246 | configure-perl | |
9247 | @[ -f ./perl/Makefile ] || exit 0; \ | |
b40e3958 L |
9248 | r=`${PWD_COMMAND}`; export r; \ |
9249 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9250 | $(SET_LIB_PATH) \ |
9251 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9252 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9253 | done; \ | |
9254 | echo "Doing installcheck in perl" ; \ | |
9255 | (cd perl && \ | |
9256 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9257 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9258 | "RANLIB=$${RANLIB}" \ | |
9259 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9260 | installcheck) \ | |
9261 | || exit 1 | |
9262 | ||
9263 | ||
9264 | .PHONY: maybe-installcheck-prms installcheck-prms | |
9265 | maybe-installcheck-prms: | |
9266 | ||
9267 | installcheck-prms: \ | |
9268 | configure-prms | |
9269 | @[ -f ./prms/Makefile ] || exit 0; \ | |
b40e3958 L |
9270 | r=`${PWD_COMMAND}`; export r; \ |
9271 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9272 | $(SET_LIB_PATH) \ |
9273 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9274 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9275 | done; \ | |
9276 | echo "Doing installcheck in prms" ; \ | |
9277 | (cd prms && \ | |
9278 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9279 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9280 | "RANLIB=$${RANLIB}" \ | |
9281 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9282 | installcheck) \ | |
9283 | || exit 1 | |
9284 | ||
9285 | ||
9286 | .PHONY: maybe-installcheck-rcs installcheck-rcs | |
9287 | maybe-installcheck-rcs: | |
9288 | ||
9289 | installcheck-rcs: \ | |
9290 | configure-rcs | |
9291 | @[ -f ./rcs/Makefile ] || exit 0; \ | |
b40e3958 L |
9292 | r=`${PWD_COMMAND}`; export r; \ |
9293 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9294 | $(SET_LIB_PATH) \ |
9295 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9296 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9297 | done; \ | |
9298 | echo "Doing installcheck in rcs" ; \ | |
9299 | (cd rcs && \ | |
9300 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9301 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9302 | "RANLIB=$${RANLIB}" \ | |
9303 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9304 | installcheck) \ | |
9305 | || exit 1 | |
9306 | ||
9307 | ||
9308 | .PHONY: maybe-installcheck-readline installcheck-readline | |
9309 | maybe-installcheck-readline: | |
9310 | ||
9311 | installcheck-readline: \ | |
9312 | configure-readline | |
9313 | @[ -f ./readline/Makefile ] || exit 0; \ | |
b40e3958 L |
9314 | r=`${PWD_COMMAND}`; export r; \ |
9315 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9316 | $(SET_LIB_PATH) \ |
9317 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9318 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9319 | done; \ | |
9320 | echo "Doing installcheck in readline" ; \ | |
9321 | (cd readline && \ | |
9322 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9323 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9324 | "RANLIB=$${RANLIB}" \ | |
9325 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9326 | installcheck) \ | |
9327 | || exit 1 | |
9328 | ||
9329 | ||
9330 | .PHONY: maybe-installcheck-release installcheck-release | |
9331 | maybe-installcheck-release: | |
9332 | ||
9333 | installcheck-release: \ | |
9334 | configure-release | |
9335 | @[ -f ./release/Makefile ] || exit 0; \ | |
b40e3958 L |
9336 | r=`${PWD_COMMAND}`; export r; \ |
9337 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9338 | $(SET_LIB_PATH) \ |
9339 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9340 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9341 | done; \ | |
9342 | echo "Doing installcheck in release" ; \ | |
9343 | (cd release && \ | |
9344 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9345 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9346 | "RANLIB=$${RANLIB}" \ | |
9347 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9348 | installcheck) \ | |
9349 | || exit 1 | |
9350 | ||
9351 | ||
9352 | .PHONY: maybe-installcheck-recode installcheck-recode | |
9353 | maybe-installcheck-recode: | |
9354 | ||
9355 | installcheck-recode: \ | |
9356 | configure-recode | |
9357 | @[ -f ./recode/Makefile ] || exit 0; \ | |
b40e3958 L |
9358 | r=`${PWD_COMMAND}`; export r; \ |
9359 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9360 | $(SET_LIB_PATH) \ |
9361 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9362 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9363 | done; \ | |
9364 | echo "Doing installcheck in recode" ; \ | |
9365 | (cd recode && \ | |
9366 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9367 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9368 | "RANLIB=$${RANLIB}" \ | |
9369 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9370 | installcheck) \ | |
9371 | || exit 1 | |
9372 | ||
9373 | ||
9374 | .PHONY: maybe-installcheck-sed installcheck-sed | |
9375 | maybe-installcheck-sed: | |
9376 | ||
9377 | installcheck-sed: \ | |
9378 | configure-sed | |
9379 | @[ -f ./sed/Makefile ] || exit 0; \ | |
b40e3958 L |
9380 | r=`${PWD_COMMAND}`; export r; \ |
9381 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9382 | $(SET_LIB_PATH) \ |
9383 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9384 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9385 | done; \ | |
9386 | echo "Doing installcheck in sed" ; \ | |
9387 | (cd sed && \ | |
9388 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9389 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9390 | "RANLIB=$${RANLIB}" \ | |
9391 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9392 | installcheck) \ | |
9393 | || exit 1 | |
9394 | ||
9395 | ||
9396 | .PHONY: maybe-installcheck-send-pr installcheck-send-pr | |
9397 | maybe-installcheck-send-pr: | |
9398 | ||
9399 | installcheck-send-pr: \ | |
9400 | configure-send-pr | |
9401 | @[ -f ./send-pr/Makefile ] || exit 0; \ | |
b40e3958 L |
9402 | r=`${PWD_COMMAND}`; export r; \ |
9403 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9404 | $(SET_LIB_PATH) \ |
9405 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9406 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9407 | done; \ | |
9408 | echo "Doing installcheck in send-pr" ; \ | |
9409 | (cd send-pr && \ | |
9410 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9411 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9412 | "RANLIB=$${RANLIB}" \ | |
9413 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9414 | installcheck) \ | |
9415 | || exit 1 | |
9416 | ||
9417 | ||
9418 | .PHONY: maybe-installcheck-shellutils installcheck-shellutils | |
9419 | maybe-installcheck-shellutils: | |
9420 | ||
9421 | installcheck-shellutils: \ | |
9422 | configure-shellutils | |
9423 | @[ -f ./shellutils/Makefile ] || exit 0; \ | |
b40e3958 L |
9424 | r=`${PWD_COMMAND}`; export r; \ |
9425 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9426 | $(SET_LIB_PATH) \ |
9427 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9428 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9429 | done; \ | |
9430 | echo "Doing installcheck in shellutils" ; \ | |
9431 | (cd shellutils && \ | |
9432 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9433 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9434 | "RANLIB=$${RANLIB}" \ | |
9435 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9436 | installcheck) \ | |
9437 | || exit 1 | |
9438 | ||
9439 | ||
9440 | .PHONY: maybe-installcheck-sid installcheck-sid | |
9441 | maybe-installcheck-sid: | |
9442 | ||
9443 | installcheck-sid: \ | |
9444 | configure-sid | |
9445 | @[ -f ./sid/Makefile ] || exit 0; \ | |
b40e3958 L |
9446 | r=`${PWD_COMMAND}`; export r; \ |
9447 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9448 | $(SET_LIB_PATH) \ |
9449 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9450 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9451 | done; \ | |
9452 | echo "Doing installcheck in sid" ; \ | |
9453 | (cd sid && \ | |
9454 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9455 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9456 | "RANLIB=$${RANLIB}" \ | |
9457 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9458 | installcheck) \ | |
9459 | || exit 1 | |
9460 | ||
9461 | ||
9462 | .PHONY: maybe-installcheck-sim installcheck-sim | |
9463 | maybe-installcheck-sim: | |
9464 | ||
9465 | installcheck-sim: \ | |
9466 | configure-sim | |
9467 | @[ -f ./sim/Makefile ] || exit 0; \ | |
b40e3958 L |
9468 | r=`${PWD_COMMAND}`; export r; \ |
9469 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9470 | $(SET_LIB_PATH) \ |
9471 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9472 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9473 | done; \ | |
9474 | echo "Doing installcheck in sim" ; \ | |
9475 | (cd sim && \ | |
9476 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9477 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9478 | "RANLIB=$${RANLIB}" \ | |
9479 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9480 | installcheck) \ | |
9481 | || exit 1 | |
9482 | ||
9483 | ||
9484 | .PHONY: maybe-installcheck-tar installcheck-tar | |
9485 | maybe-installcheck-tar: | |
9486 | ||
9487 | installcheck-tar: \ | |
9488 | configure-tar | |
9489 | @[ -f ./tar/Makefile ] || exit 0; \ | |
b40e3958 L |
9490 | r=`${PWD_COMMAND}`; export r; \ |
9491 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9492 | $(SET_LIB_PATH) \ |
9493 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9494 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9495 | done; \ | |
9496 | echo "Doing installcheck in tar" ; \ | |
9497 | (cd tar && \ | |
9498 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9499 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9500 | "RANLIB=$${RANLIB}" \ | |
9501 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9502 | installcheck) \ | |
9503 | || exit 1 | |
9504 | ||
9505 | ||
9506 | .PHONY: maybe-installcheck-texinfo installcheck-texinfo | |
9507 | maybe-installcheck-texinfo: | |
9508 | ||
9509 | installcheck-texinfo: \ | |
9510 | configure-texinfo | |
9511 | @[ -f ./texinfo/Makefile ] || exit 0; \ | |
b40e3958 L |
9512 | r=`${PWD_COMMAND}`; export r; \ |
9513 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9514 | $(SET_LIB_PATH) \ |
9515 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9516 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9517 | done; \ | |
9518 | echo "Doing installcheck in texinfo" ; \ | |
9519 | (cd texinfo && \ | |
9520 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9521 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9522 | "RANLIB=$${RANLIB}" \ | |
9523 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9524 | installcheck) \ | |
9525 | || exit 1 | |
9526 | ||
9527 | ||
9528 | .PHONY: maybe-installcheck-textutils installcheck-textutils | |
9529 | maybe-installcheck-textutils: | |
9530 | ||
9531 | installcheck-textutils: \ | |
9532 | configure-textutils | |
9533 | @[ -f ./textutils/Makefile ] || exit 0; \ | |
b40e3958 L |
9534 | r=`${PWD_COMMAND}`; export r; \ |
9535 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9536 | $(SET_LIB_PATH) \ |
9537 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9538 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9539 | done; \ | |
9540 | echo "Doing installcheck in textutils" ; \ | |
9541 | (cd textutils && \ | |
9542 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9543 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9544 | "RANLIB=$${RANLIB}" \ | |
9545 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9546 | installcheck) \ | |
9547 | || exit 1 | |
9548 | ||
9549 | ||
9550 | .PHONY: maybe-installcheck-time installcheck-time | |
9551 | maybe-installcheck-time: | |
9552 | ||
9553 | installcheck-time: \ | |
9554 | configure-time | |
9555 | @[ -f ./time/Makefile ] || exit 0; \ | |
b40e3958 L |
9556 | r=`${PWD_COMMAND}`; export r; \ |
9557 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9558 | $(SET_LIB_PATH) \ |
9559 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9560 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9561 | done; \ | |
9562 | echo "Doing installcheck in time" ; \ | |
9563 | (cd time && \ | |
9564 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9565 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9566 | "RANLIB=$${RANLIB}" \ | |
9567 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9568 | installcheck) \ | |
9569 | || exit 1 | |
9570 | ||
9571 | ||
9572 | .PHONY: maybe-installcheck-uudecode installcheck-uudecode | |
9573 | maybe-installcheck-uudecode: | |
9574 | ||
9575 | installcheck-uudecode: \ | |
9576 | configure-uudecode | |
9577 | @[ -f ./uudecode/Makefile ] || exit 0; \ | |
b40e3958 L |
9578 | r=`${PWD_COMMAND}`; export r; \ |
9579 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9580 | $(SET_LIB_PATH) \ |
9581 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9582 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9583 | done; \ | |
9584 | echo "Doing installcheck in uudecode" ; \ | |
9585 | (cd uudecode && \ | |
9586 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9587 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9588 | "RANLIB=$${RANLIB}" \ | |
9589 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9590 | installcheck) \ | |
9591 | || exit 1 | |
9592 | ||
9593 | ||
9594 | .PHONY: maybe-installcheck-wdiff installcheck-wdiff | |
9595 | maybe-installcheck-wdiff: | |
9596 | ||
9597 | installcheck-wdiff: \ | |
9598 | configure-wdiff | |
9599 | @[ -f ./wdiff/Makefile ] || exit 0; \ | |
b40e3958 L |
9600 | r=`${PWD_COMMAND}`; export r; \ |
9601 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9602 | $(SET_LIB_PATH) \ |
9603 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9604 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9605 | done; \ | |
9606 | echo "Doing installcheck in wdiff" ; \ | |
9607 | (cd wdiff && \ | |
9608 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9609 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9610 | "RANLIB=$${RANLIB}" \ | |
9611 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9612 | installcheck) \ | |
9613 | || exit 1 | |
9614 | ||
9615 | ||
9616 | .PHONY: maybe-installcheck-zip installcheck-zip | |
9617 | maybe-installcheck-zip: | |
9618 | ||
9619 | installcheck-zip: \ | |
9620 | configure-zip | |
9621 | @[ -f ./zip/Makefile ] || exit 0; \ | |
b40e3958 L |
9622 | r=`${PWD_COMMAND}`; export r; \ |
9623 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9624 | $(SET_LIB_PATH) \ |
9625 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9626 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9627 | done; \ | |
9628 | echo "Doing installcheck in zip" ; \ | |
9629 | (cd zip && \ | |
9630 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9631 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9632 | "RANLIB=$${RANLIB}" \ | |
9633 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9634 | installcheck) \ | |
9635 | || exit 1 | |
9636 | ||
9637 | ||
9638 | .PHONY: maybe-installcheck-zlib installcheck-zlib | |
9639 | maybe-installcheck-zlib: | |
9640 | ||
9641 | installcheck-zlib: \ | |
9642 | configure-zlib | |
9643 | @[ -f ./zlib/Makefile ] || exit 0; \ | |
b40e3958 L |
9644 | r=`${PWD_COMMAND}`; export r; \ |
9645 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9646 | $(SET_LIB_PATH) \ |
9647 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9648 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9649 | done; \ | |
9650 | echo "Doing installcheck in zlib" ; \ | |
9651 | (cd zlib && \ | |
9652 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9653 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9654 | "RANLIB=$${RANLIB}" \ | |
9655 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9656 | installcheck) \ | |
9657 | || exit 1 | |
9658 | ||
9659 | ||
9660 | .PHONY: maybe-installcheck-gdb installcheck-gdb | |
9661 | maybe-installcheck-gdb: | |
9662 | ||
9663 | installcheck-gdb: \ | |
9664 | configure-gdb | |
9665 | @[ -f ./gdb/Makefile ] || exit 0; \ | |
b40e3958 L |
9666 | r=`${PWD_COMMAND}`; export r; \ |
9667 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9668 | $(SET_LIB_PATH) \ |
9669 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9670 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9671 | done; \ | |
9672 | echo "Doing installcheck in gdb" ; \ | |
9673 | (cd gdb && \ | |
9674 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9675 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9676 | "RANLIB=$${RANLIB}" \ | |
9677 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9678 | installcheck) \ | |
9679 | || exit 1 | |
9680 | ||
9681 | ||
9682 | .PHONY: maybe-installcheck-expect installcheck-expect | |
9683 | maybe-installcheck-expect: | |
9684 | ||
9685 | installcheck-expect: \ | |
9686 | configure-expect | |
9687 | @[ -f ./expect/Makefile ] || exit 0; \ | |
b40e3958 L |
9688 | r=`${PWD_COMMAND}`; export r; \ |
9689 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9690 | $(SET_LIB_PATH) \ |
9691 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9692 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9693 | done; \ | |
9694 | echo "Doing installcheck in expect" ; \ | |
9695 | (cd expect && \ | |
9696 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9697 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9698 | "RANLIB=$${RANLIB}" \ | |
9699 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9700 | installcheck) \ | |
9701 | || exit 1 | |
9702 | ||
9703 | ||
9704 | .PHONY: maybe-installcheck-guile installcheck-guile | |
9705 | maybe-installcheck-guile: | |
9706 | ||
9707 | installcheck-guile: \ | |
9708 | configure-guile | |
9709 | @[ -f ./guile/Makefile ] || exit 0; \ | |
b40e3958 L |
9710 | r=`${PWD_COMMAND}`; export r; \ |
9711 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9712 | $(SET_LIB_PATH) \ |
9713 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9714 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9715 | done; \ | |
9716 | echo "Doing installcheck in guile" ; \ | |
9717 | (cd guile && \ | |
9718 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9719 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9720 | "RANLIB=$${RANLIB}" \ | |
9721 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9722 | installcheck) \ | |
9723 | || exit 1 | |
9724 | ||
9725 | ||
9726 | .PHONY: maybe-installcheck-tk installcheck-tk | |
9727 | maybe-installcheck-tk: | |
9728 | ||
9729 | installcheck-tk: \ | |
9730 | configure-tk | |
9731 | @[ -f ./tk/Makefile ] || exit 0; \ | |
b40e3958 L |
9732 | r=`${PWD_COMMAND}`; export r; \ |
9733 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9734 | $(SET_LIB_PATH) \ |
9735 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9736 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9737 | done; \ | |
9738 | echo "Doing installcheck in tk" ; \ | |
9739 | (cd tk && \ | |
9740 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9741 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9742 | "RANLIB=$${RANLIB}" \ | |
9743 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9744 | installcheck) \ | |
9745 | || exit 1 | |
9746 | ||
9747 | ||
9748 | .PHONY: maybe-installcheck-tix installcheck-tix | |
9749 | maybe-installcheck-tix: | |
9750 | ||
9751 | installcheck-tix: \ | |
9752 | configure-tix | |
9753 | @[ -f ./tix/Makefile ] || exit 0; \ | |
b40e3958 L |
9754 | r=`${PWD_COMMAND}`; export r; \ |
9755 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9756 | $(SET_LIB_PATH) \ |
9757 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9758 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9759 | done; \ | |
9760 | echo "Doing installcheck in tix" ; \ | |
9761 | (cd tix && \ | |
9762 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9763 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9764 | "RANLIB=$${RANLIB}" \ | |
9765 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9766 | installcheck) \ | |
9767 | || exit 1 | |
9768 | ||
9769 | ||
9770 | .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap | |
9771 | maybe-installcheck-libtermcap: | |
9772 | ||
9773 | installcheck-libtermcap: \ | |
9774 | configure-libtermcap | |
9775 | @[ -f ./libtermcap/Makefile ] || exit 0; \ | |
b40e3958 L |
9776 | r=`${PWD_COMMAND}`; export r; \ |
9777 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9778 | $(SET_LIB_PATH) \ |
9779 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9780 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9781 | done; \ | |
9782 | echo "Doing installcheck in libtermcap" ; \ | |
9783 | (cd libtermcap && \ | |
9784 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9785 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9786 | "RANLIB=$${RANLIB}" \ | |
9787 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9788 | installcheck) \ | |
9789 | || exit 1 | |
9790 | ||
9791 | ||
9792 | .PHONY: maybe-installcheck-utils installcheck-utils | |
9793 | maybe-installcheck-utils: | |
9794 | ||
9795 | installcheck-utils: \ | |
9796 | configure-utils | |
9797 | @[ -f ./utils/Makefile ] || exit 0; \ | |
b40e3958 L |
9798 | r=`${PWD_COMMAND}`; export r; \ |
9799 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9800 | $(SET_LIB_PATH) \ |
9801 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9802 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9803 | done; \ | |
9804 | echo "Doing installcheck in utils" ; \ | |
9805 | (cd utils && \ | |
9806 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9807 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9808 | "RANLIB=$${RANLIB}" \ | |
9809 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9810 | installcheck) \ | |
9811 | || exit 1 | |
9812 | ||
9813 | ||
9814 | ||
9815 | # Target modules. | |
9816 | ||
9817 | .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3 | |
9818 | maybe-installcheck-target-libstdc++-v3: | |
9819 | ||
9820 | installcheck-target-libstdc++-v3: \ | |
9821 | configure-target-libstdc++-v3 | |
9822 | @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ | |
b40e3958 L |
9823 | r=`${PWD_COMMAND}`; export r; \ |
9824 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9825 | $(SET_LIB_PATH) \ |
9826 | echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \ | |
9827 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
9828 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9829 | done; \ | |
9830 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
9831 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9832 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9833 | "RANLIB=$${RANLIB}" \ | |
9834 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9835 | installcheck) \ | |
9836 | || exit 1 | |
9837 | ||
9838 | ||
9839 | .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib | |
9840 | maybe-installcheck-target-newlib: | |
9841 | ||
9842 | installcheck-target-newlib: \ | |
9843 | configure-target-newlib | |
9844 | @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
9845 | r=`${PWD_COMMAND}`; export r; \ |
9846 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9847 | $(SET_LIB_PATH) \ |
9848 | echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \ | |
9849 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
9850 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9851 | done; \ | |
9852 | (cd $(TARGET_SUBDIR)/newlib && \ | |
9853 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9854 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9855 | "RANLIB=$${RANLIB}" \ | |
9856 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9857 | installcheck) \ | |
9858 | || exit 1 | |
9859 | ||
9860 | ||
9861 | .PHONY: maybe-installcheck-target-libf2c installcheck-target-libf2c | |
9862 | maybe-installcheck-target-libf2c: | |
9863 | ||
9864 | installcheck-target-libf2c: \ | |
9865 | configure-target-libf2c | |
9866 | @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \ | |
b40e3958 L |
9867 | r=`${PWD_COMMAND}`; export r; \ |
9868 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9869 | $(SET_LIB_PATH) \ |
9870 | echo "Doing installcheck in $(TARGET_SUBDIR)/libf2c" ; \ | |
9871 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
9872 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9873 | done; \ | |
9874 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
9875 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9876 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9877 | "RANLIB=$${RANLIB}" \ | |
9878 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9879 | installcheck) \ | |
9880 | || exit 1 | |
9881 | ||
9882 | ||
9883 | .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc | |
9884 | maybe-installcheck-target-libobjc: | |
9885 | ||
9886 | installcheck-target-libobjc: \ | |
9887 | configure-target-libobjc | |
9888 | @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
9889 | r=`${PWD_COMMAND}`; export r; \ |
9890 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9891 | $(SET_LIB_PATH) \ |
9892 | echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \ | |
9893 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
9894 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9895 | done; \ | |
9896 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
9897 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9898 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9899 | "RANLIB=$${RANLIB}" \ | |
9900 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9901 | installcheck) \ | |
9902 | || exit 1 | |
9903 | ||
9904 | ||
9905 | .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap | |
9906 | maybe-installcheck-target-libtermcap: | |
9907 | ||
9908 | installcheck-target-libtermcap: \ | |
9909 | configure-target-libtermcap | |
9910 | @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ | |
b40e3958 L |
9911 | r=`${PWD_COMMAND}`; export r; \ |
9912 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9913 | $(SET_LIB_PATH) \ |
9914 | echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \ | |
9915 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
9916 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9917 | done; \ | |
9918 | (cd $(TARGET_SUBDIR)/libtermcap && \ | |
9919 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9920 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9921 | "RANLIB=$${RANLIB}" \ | |
9922 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9923 | installcheck) \ | |
9924 | || exit 1 | |
9925 | ||
9926 | ||
9927 | .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup | |
9928 | maybe-installcheck-target-winsup: | |
9929 | ||
9930 | installcheck-target-winsup: \ | |
9931 | configure-target-winsup | |
9932 | @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ | |
b40e3958 L |
9933 | r=`${PWD_COMMAND}`; export r; \ |
9934 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9935 | $(SET_LIB_PATH) \ |
9936 | echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \ | |
9937 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
9938 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9939 | done; \ | |
9940 | (cd $(TARGET_SUBDIR)/winsup && \ | |
9941 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9942 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9943 | "RANLIB=$${RANLIB}" \ | |
9944 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9945 | installcheck) \ | |
9946 | || exit 1 | |
9947 | ||
9948 | ||
9949 | .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss | |
9950 | maybe-installcheck-target-libgloss: | |
9951 | ||
9952 | installcheck-target-libgloss: \ | |
9953 | configure-target-libgloss | |
9954 | @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ | |
b40e3958 L |
9955 | r=`${PWD_COMMAND}`; export r; \ |
9956 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9957 | $(SET_LIB_PATH) \ |
9958 | echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \ | |
9959 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
9960 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9961 | done; \ | |
9962 | (cd $(TARGET_SUBDIR)/libgloss && \ | |
9963 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9964 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9965 | "RANLIB=$${RANLIB}" \ | |
9966 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9967 | installcheck) \ | |
9968 | || exit 1 | |
9969 | ||
9970 | ||
9971 | .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty | |
9972 | maybe-installcheck-target-libiberty: | |
9973 | ||
9974 | installcheck-target-libiberty: \ | |
9975 | configure-target-libiberty | |
9976 | @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ | |
b40e3958 L |
9977 | r=`${PWD_COMMAND}`; export r; \ |
9978 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9979 | $(SET_LIB_PATH) \ |
9980 | echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \ | |
9981 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
9982 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9983 | done; \ | |
9984 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
9985 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9986 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9987 | "RANLIB=$${RANLIB}" \ | |
9988 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9989 | installcheck) \ | |
9990 | || exit 1 | |
9991 | ||
9992 | ||
9993 | .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf | |
9994 | maybe-installcheck-target-gperf: | |
9995 | ||
9996 | installcheck-target-gperf: \ | |
9997 | configure-target-gperf | |
9998 | @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ | |
b40e3958 L |
9999 | r=`${PWD_COMMAND}`; export r; \ |
10000 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10001 | $(SET_LIB_PATH) \ |
10002 | echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \ | |
10003 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
10004 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10005 | done; \ | |
10006 | (cd $(TARGET_SUBDIR)/gperf && \ | |
10007 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10008 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10009 | "RANLIB=$${RANLIB}" \ | |
10010 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10011 | installcheck) \ | |
10012 | || exit 1 | |
10013 | ||
10014 | ||
10015 | .PHONY: maybe-installcheck-target-examples installcheck-target-examples | |
10016 | maybe-installcheck-target-examples: | |
10017 | ||
10018 | installcheck-target-examples: \ | |
10019 | configure-target-examples | |
10020 | @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ | |
b40e3958 L |
10021 | r=`${PWD_COMMAND}`; export r; \ |
10022 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10023 | $(SET_LIB_PATH) \ |
10024 | echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \ | |
10025 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
10026 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10027 | done; \ | |
10028 | (cd $(TARGET_SUBDIR)/examples && \ | |
10029 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10030 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10031 | "RANLIB=$${RANLIB}" \ | |
10032 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10033 | installcheck) \ | |
10034 | || exit 1 | |
10035 | ||
10036 | ||
10037 | .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi | |
10038 | maybe-installcheck-target-libffi: | |
10039 | ||
10040 | installcheck-target-libffi: \ | |
10041 | configure-target-libffi | |
10042 | @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ | |
b40e3958 L |
10043 | r=`${PWD_COMMAND}`; export r; \ |
10044 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10045 | $(SET_LIB_PATH) \ |
10046 | echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \ | |
10047 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
10048 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10049 | done; \ | |
10050 | (cd $(TARGET_SUBDIR)/libffi && \ | |
10051 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10052 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10053 | "RANLIB=$${RANLIB}" \ | |
10054 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10055 | installcheck) \ | |
10056 | || exit 1 | |
10057 | ||
10058 | ||
10059 | .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava | |
10060 | maybe-installcheck-target-libjava: | |
10061 | ||
10062 | installcheck-target-libjava: \ | |
10063 | configure-target-libjava | |
10064 | @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ | |
b40e3958 L |
10065 | r=`${PWD_COMMAND}`; export r; \ |
10066 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10067 | $(SET_LIB_PATH) \ |
10068 | echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \ | |
10069 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
10070 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10071 | done; \ | |
10072 | (cd $(TARGET_SUBDIR)/libjava && \ | |
10073 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10074 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10075 | "RANLIB=$${RANLIB}" \ | |
10076 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10077 | installcheck) \ | |
10078 | || exit 1 | |
10079 | ||
10080 | ||
10081 | .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib | |
10082 | maybe-installcheck-target-zlib: | |
10083 | ||
10084 | installcheck-target-zlib: \ | |
10085 | configure-target-zlib | |
10086 | @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
10087 | r=`${PWD_COMMAND}`; export r; \ |
10088 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10089 | $(SET_LIB_PATH) \ |
10090 | echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \ | |
10091 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
10092 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10093 | done; \ | |
10094 | (cd $(TARGET_SUBDIR)/zlib && \ | |
10095 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10096 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10097 | "RANLIB=$${RANLIB}" \ | |
10098 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10099 | installcheck) \ | |
10100 | || exit 1 | |
10101 | ||
10102 | ||
10103 | .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc | |
10104 | maybe-installcheck-target-boehm-gc: | |
10105 | ||
10106 | installcheck-target-boehm-gc: \ | |
10107 | configure-target-boehm-gc | |
10108 | @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
10109 | r=`${PWD_COMMAND}`; export r; \ |
10110 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10111 | $(SET_LIB_PATH) \ |
10112 | echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \ | |
10113 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
10114 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10115 | done; \ | |
10116 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
10117 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10118 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10119 | "RANLIB=$${RANLIB}" \ | |
10120 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10121 | installcheck) \ | |
10122 | || exit 1 | |
10123 | ||
10124 | ||
10125 | .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads | |
10126 | maybe-installcheck-target-qthreads: | |
10127 | ||
10128 | installcheck-target-qthreads: \ | |
10129 | configure-target-qthreads | |
10130 | @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ | |
b40e3958 L |
10131 | r=`${PWD_COMMAND}`; export r; \ |
10132 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10133 | $(SET_LIB_PATH) \ |
10134 | echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \ | |
10135 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
10136 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10137 | done; \ | |
10138 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
10139 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10140 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10141 | "RANLIB=$${RANLIB}" \ | |
10142 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10143 | installcheck) \ | |
10144 | || exit 1 | |
10145 | ||
10146 | ||
10147 | .PHONY: maybe-installcheck-target-rda installcheck-target-rda | |
10148 | maybe-installcheck-target-rda: | |
10149 | ||
10150 | installcheck-target-rda: \ | |
10151 | configure-target-rda | |
10152 | @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ | |
b40e3958 L |
10153 | r=`${PWD_COMMAND}`; export r; \ |
10154 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10155 | $(SET_LIB_PATH) \ |
10156 | echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \ | |
10157 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
10158 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10159 | done; \ | |
10160 | (cd $(TARGET_SUBDIR)/rda && \ | |
10161 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10162 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10163 | "RANLIB=$${RANLIB}" \ | |
10164 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10165 | installcheck) \ | |
10166 | || exit 1 | |
10167 | ||
10168 | ||
10169 | ||
10170 | .PHONY: do-mostlyclean | |
10171 | do-mostlyclean: mostlyclean-host mostlyclean-target | |
10172 | ||
10173 | .PHONY: mostlyclean-host | |
10174 | mostlyclean-host: maybe-mostlyclean-gcc \ | |
10175 | maybe-mostlyclean-ash \ | |
10176 | maybe-mostlyclean-autoconf \ | |
10177 | maybe-mostlyclean-automake \ | |
10178 | maybe-mostlyclean-bash \ | |
10179 | maybe-mostlyclean-bfd \ | |
10180 | maybe-mostlyclean-opcodes \ | |
10181 | maybe-mostlyclean-binutils \ | |
10182 | maybe-mostlyclean-bison \ | |
10183 | maybe-mostlyclean-byacc \ | |
10184 | maybe-mostlyclean-bzip2 \ | |
10185 | maybe-mostlyclean-dejagnu \ | |
10186 | maybe-mostlyclean-diff \ | |
10187 | maybe-mostlyclean-dosutils \ | |
10188 | maybe-mostlyclean-etc \ | |
10189 | maybe-mostlyclean-fastjar \ | |
10190 | maybe-mostlyclean-fileutils \ | |
10191 | maybe-mostlyclean-findutils \ | |
10192 | maybe-mostlyclean-find \ | |
10193 | maybe-mostlyclean-flex \ | |
10194 | maybe-mostlyclean-gas \ | |
10195 | maybe-mostlyclean-gawk \ | |
10196 | maybe-mostlyclean-gettext \ | |
10197 | maybe-mostlyclean-gnuserv \ | |
10198 | maybe-mostlyclean-gprof \ | |
10199 | maybe-mostlyclean-gzip \ | |
10200 | maybe-mostlyclean-hello \ | |
10201 | maybe-mostlyclean-indent \ | |
10202 | maybe-mostlyclean-intl \ | |
10203 | maybe-mostlyclean-tcl \ | |
10204 | maybe-mostlyclean-itcl \ | |
10205 | maybe-mostlyclean-ld \ | |
10206 | maybe-mostlyclean-libgui \ | |
10207 | maybe-mostlyclean-libiberty \ | |
10208 | maybe-mostlyclean-libtool \ | |
10209 | maybe-mostlyclean-m4 \ | |
10210 | maybe-mostlyclean-make \ | |
10211 | maybe-mostlyclean-mmalloc \ | |
10212 | maybe-mostlyclean-patch \ | |
10213 | maybe-mostlyclean-perl \ | |
10214 | maybe-mostlyclean-prms \ | |
10215 | maybe-mostlyclean-rcs \ | |
10216 | maybe-mostlyclean-readline \ | |
10217 | maybe-mostlyclean-release \ | |
10218 | maybe-mostlyclean-recode \ | |
10219 | maybe-mostlyclean-sed \ | |
10220 | maybe-mostlyclean-send-pr \ | |
10221 | maybe-mostlyclean-shellutils \ | |
10222 | maybe-mostlyclean-sid \ | |
10223 | maybe-mostlyclean-sim \ | |
10224 | maybe-mostlyclean-tar \ | |
10225 | maybe-mostlyclean-texinfo \ | |
10226 | maybe-mostlyclean-textutils \ | |
10227 | maybe-mostlyclean-time \ | |
10228 | maybe-mostlyclean-uudecode \ | |
10229 | maybe-mostlyclean-wdiff \ | |
10230 | maybe-mostlyclean-zip \ | |
10231 | maybe-mostlyclean-zlib \ | |
10232 | maybe-mostlyclean-gdb \ | |
10233 | maybe-mostlyclean-expect \ | |
10234 | maybe-mostlyclean-guile \ | |
10235 | maybe-mostlyclean-tk \ | |
10236 | maybe-mostlyclean-tix \ | |
10237 | maybe-mostlyclean-libtermcap \ | |
10238 | maybe-mostlyclean-utils | |
10239 | ||
10240 | .PHONY: mostlyclean-target | |
10241 | mostlyclean-target: \ | |
10242 | maybe-mostlyclean-target-libstdc++-v3 \ | |
10243 | maybe-mostlyclean-target-newlib \ | |
10244 | maybe-mostlyclean-target-libf2c \ | |
10245 | maybe-mostlyclean-target-libobjc \ | |
10246 | maybe-mostlyclean-target-libtermcap \ | |
10247 | maybe-mostlyclean-target-winsup \ | |
10248 | maybe-mostlyclean-target-libgloss \ | |
10249 | maybe-mostlyclean-target-libiberty \ | |
10250 | maybe-mostlyclean-target-gperf \ | |
10251 | maybe-mostlyclean-target-examples \ | |
10252 | maybe-mostlyclean-target-libffi \ | |
10253 | maybe-mostlyclean-target-libjava \ | |
10254 | maybe-mostlyclean-target-zlib \ | |
10255 | maybe-mostlyclean-target-boehm-gc \ | |
10256 | maybe-mostlyclean-target-qthreads \ | |
10257 | maybe-mostlyclean-target-rda | |
10258 | ||
10259 | # GCC, the eternal special case | |
10260 | .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc | |
10261 | maybe-mostlyclean-gcc: | |
10262 | mostlyclean-gcc: | |
10263 | @[ -f ./gcc/Makefile ] || exit 0; \ | |
b40e3958 L |
10264 | r=`${PWD_COMMAND}`; export r; \ |
10265 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10266 | $(SET_LIB_PATH) \ |
10267 | for flag in $(EXTRA_GCC_FLAGS); do \ | |
10268 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10269 | done; \ | |
10270 | echo "Doing mostlyclean in gcc" ; \ | |
10271 | (cd gcc && \ | |
10272 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10273 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10274 | "RANLIB=$${RANLIB}" \ | |
10275 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10276 | mostlyclean) \ | |
10277 | || exit 1 | |
10278 | ||
10279 | # Host modules. | |
10280 | ||
10281 | .PHONY: maybe-mostlyclean-ash mostlyclean-ash | |
10282 | maybe-mostlyclean-ash: | |
10283 | ||
10284 | mostlyclean-ash: | |
10285 | @[ -f ./ash/Makefile ] || exit 0; \ | |
b40e3958 L |
10286 | r=`${PWD_COMMAND}`; export r; \ |
10287 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10288 | $(SET_LIB_PATH) \ |
10289 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10290 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10291 | done; \ | |
10292 | echo "Doing mostlyclean in ash" ; \ | |
10293 | (cd ash && \ | |
10294 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10295 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10296 | "RANLIB=$${RANLIB}" \ | |
10297 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10298 | mostlyclean) \ | |
10299 | || exit 1 | |
10300 | ||
10301 | ||
10302 | .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf | |
10303 | maybe-mostlyclean-autoconf: | |
10304 | ||
10305 | mostlyclean-autoconf: | |
10306 | @[ -f ./autoconf/Makefile ] || exit 0; \ | |
b40e3958 L |
10307 | r=`${PWD_COMMAND}`; export r; \ |
10308 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10309 | $(SET_LIB_PATH) \ |
10310 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10311 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10312 | done; \ | |
10313 | echo "Doing mostlyclean in autoconf" ; \ | |
10314 | (cd autoconf && \ | |
10315 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10316 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10317 | "RANLIB=$${RANLIB}" \ | |
10318 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10319 | mostlyclean) \ | |
10320 | || exit 1 | |
10321 | ||
10322 | ||
10323 | .PHONY: maybe-mostlyclean-automake mostlyclean-automake | |
10324 | maybe-mostlyclean-automake: | |
10325 | ||
10326 | mostlyclean-automake: | |
10327 | @[ -f ./automake/Makefile ] || exit 0; \ | |
b40e3958 L |
10328 | r=`${PWD_COMMAND}`; export r; \ |
10329 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10330 | $(SET_LIB_PATH) \ |
10331 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10332 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10333 | done; \ | |
10334 | echo "Doing mostlyclean in automake" ; \ | |
10335 | (cd automake && \ | |
10336 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10337 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10338 | "RANLIB=$${RANLIB}" \ | |
10339 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10340 | mostlyclean) \ | |
10341 | || exit 1 | |
10342 | ||
10343 | ||
10344 | .PHONY: maybe-mostlyclean-bash mostlyclean-bash | |
10345 | maybe-mostlyclean-bash: | |
10346 | ||
10347 | mostlyclean-bash: | |
10348 | @[ -f ./bash/Makefile ] || exit 0; \ | |
b40e3958 L |
10349 | r=`${PWD_COMMAND}`; export r; \ |
10350 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10351 | $(SET_LIB_PATH) \ |
10352 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10353 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10354 | done; \ | |
10355 | echo "Doing mostlyclean in bash" ; \ | |
10356 | (cd bash && \ | |
10357 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10358 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10359 | "RANLIB=$${RANLIB}" \ | |
10360 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10361 | mostlyclean) \ | |
10362 | || exit 1 | |
10363 | ||
10364 | ||
10365 | .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd | |
10366 | maybe-mostlyclean-bfd: | |
10367 | ||
10368 | mostlyclean-bfd: | |
10369 | @[ -f ./bfd/Makefile ] || exit 0; \ | |
b40e3958 L |
10370 | r=`${PWD_COMMAND}`; export r; \ |
10371 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10372 | $(SET_LIB_PATH) \ |
10373 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10374 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10375 | done; \ | |
10376 | echo "Doing mostlyclean in bfd" ; \ | |
10377 | (cd bfd && \ | |
10378 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10379 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10380 | "RANLIB=$${RANLIB}" \ | |
10381 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10382 | mostlyclean) \ | |
10383 | || exit 1 | |
10384 | ||
10385 | ||
10386 | .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes | |
10387 | maybe-mostlyclean-opcodes: | |
10388 | ||
10389 | mostlyclean-opcodes: | |
10390 | @[ -f ./opcodes/Makefile ] || exit 0; \ | |
b40e3958 L |
10391 | r=`${PWD_COMMAND}`; export r; \ |
10392 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10393 | $(SET_LIB_PATH) \ |
10394 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10395 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10396 | done; \ | |
10397 | echo "Doing mostlyclean in opcodes" ; \ | |
10398 | (cd opcodes && \ | |
10399 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10400 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10401 | "RANLIB=$${RANLIB}" \ | |
10402 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10403 | mostlyclean) \ | |
10404 | || exit 1 | |
10405 | ||
10406 | ||
10407 | .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils | |
10408 | maybe-mostlyclean-binutils: | |
10409 | ||
10410 | mostlyclean-binutils: | |
10411 | @[ -f ./binutils/Makefile ] || exit 0; \ | |
b40e3958 L |
10412 | r=`${PWD_COMMAND}`; export r; \ |
10413 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10414 | $(SET_LIB_PATH) \ |
10415 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10416 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10417 | done; \ | |
10418 | echo "Doing mostlyclean in binutils" ; \ | |
10419 | (cd binutils && \ | |
10420 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10421 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10422 | "RANLIB=$${RANLIB}" \ | |
10423 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10424 | mostlyclean) \ | |
10425 | || exit 1 | |
10426 | ||
10427 | ||
10428 | .PHONY: maybe-mostlyclean-bison mostlyclean-bison | |
10429 | maybe-mostlyclean-bison: | |
10430 | ||
10431 | mostlyclean-bison: | |
10432 | @[ -f ./bison/Makefile ] || exit 0; \ | |
b40e3958 L |
10433 | r=`${PWD_COMMAND}`; export r; \ |
10434 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10435 | $(SET_LIB_PATH) \ |
10436 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10437 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10438 | done; \ | |
10439 | echo "Doing mostlyclean in bison" ; \ | |
10440 | (cd bison && \ | |
10441 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10442 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10443 | "RANLIB=$${RANLIB}" \ | |
10444 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10445 | mostlyclean) \ | |
10446 | || exit 1 | |
10447 | ||
10448 | ||
10449 | .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc | |
10450 | maybe-mostlyclean-byacc: | |
10451 | ||
10452 | mostlyclean-byacc: | |
10453 | @[ -f ./byacc/Makefile ] || exit 0; \ | |
b40e3958 L |
10454 | r=`${PWD_COMMAND}`; export r; \ |
10455 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10456 | $(SET_LIB_PATH) \ |
10457 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10458 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10459 | done; \ | |
10460 | echo "Doing mostlyclean in byacc" ; \ | |
10461 | (cd byacc && \ | |
10462 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10463 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10464 | "RANLIB=$${RANLIB}" \ | |
10465 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10466 | mostlyclean) \ | |
10467 | || exit 1 | |
10468 | ||
10469 | ||
10470 | .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2 | |
10471 | maybe-mostlyclean-bzip2: | |
10472 | ||
10473 | mostlyclean-bzip2: | |
10474 | @[ -f ./bzip2/Makefile ] || exit 0; \ | |
b40e3958 L |
10475 | r=`${PWD_COMMAND}`; export r; \ |
10476 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10477 | $(SET_LIB_PATH) \ |
10478 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10479 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10480 | done; \ | |
10481 | echo "Doing mostlyclean in bzip2" ; \ | |
10482 | (cd bzip2 && \ | |
10483 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10484 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10485 | "RANLIB=$${RANLIB}" \ | |
10486 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10487 | mostlyclean) \ | |
10488 | || exit 1 | |
10489 | ||
10490 | ||
10491 | .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu | |
10492 | maybe-mostlyclean-dejagnu: | |
10493 | ||
10494 | mostlyclean-dejagnu: | |
10495 | @[ -f ./dejagnu/Makefile ] || exit 0; \ | |
b40e3958 L |
10496 | r=`${PWD_COMMAND}`; export r; \ |
10497 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10498 | $(SET_LIB_PATH) \ |
10499 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10500 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10501 | done; \ | |
10502 | echo "Doing mostlyclean in dejagnu" ; \ | |
10503 | (cd dejagnu && \ | |
10504 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10505 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10506 | "RANLIB=$${RANLIB}" \ | |
10507 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10508 | mostlyclean) \ | |
10509 | || exit 1 | |
10510 | ||
10511 | ||
10512 | .PHONY: maybe-mostlyclean-diff mostlyclean-diff | |
10513 | maybe-mostlyclean-diff: | |
10514 | ||
10515 | mostlyclean-diff: | |
10516 | @[ -f ./diff/Makefile ] || exit 0; \ | |
b40e3958 L |
10517 | r=`${PWD_COMMAND}`; export r; \ |
10518 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10519 | $(SET_LIB_PATH) \ |
10520 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10521 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10522 | done; \ | |
10523 | echo "Doing mostlyclean in diff" ; \ | |
10524 | (cd diff && \ | |
10525 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10526 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10527 | "RANLIB=$${RANLIB}" \ | |
10528 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10529 | mostlyclean) \ | |
10530 | || exit 1 | |
10531 | ||
10532 | ||
10533 | .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils | |
10534 | maybe-mostlyclean-dosutils: | |
10535 | ||
10536 | mostlyclean-dosutils: | |
10537 | @[ -f ./dosutils/Makefile ] || exit 0; \ | |
b40e3958 L |
10538 | r=`${PWD_COMMAND}`; export r; \ |
10539 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10540 | $(SET_LIB_PATH) \ |
10541 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10542 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10543 | done; \ | |
10544 | echo "Doing mostlyclean in dosutils" ; \ | |
10545 | (cd dosutils && \ | |
10546 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10547 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10548 | "RANLIB=$${RANLIB}" \ | |
10549 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10550 | mostlyclean) \ | |
10551 | || exit 1 | |
10552 | ||
10553 | ||
10554 | .PHONY: maybe-mostlyclean-etc mostlyclean-etc | |
10555 | maybe-mostlyclean-etc: | |
10556 | ||
10557 | mostlyclean-etc: | |
10558 | @[ -f ./etc/Makefile ] || exit 0; \ | |
b40e3958 L |
10559 | r=`${PWD_COMMAND}`; export r; \ |
10560 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10561 | $(SET_LIB_PATH) \ |
10562 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10563 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10564 | done; \ | |
10565 | echo "Doing mostlyclean in etc" ; \ | |
10566 | (cd etc && \ | |
10567 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10568 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10569 | "RANLIB=$${RANLIB}" \ | |
10570 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10571 | mostlyclean) \ | |
10572 | || exit 1 | |
10573 | ||
10574 | ||
10575 | .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar | |
10576 | maybe-mostlyclean-fastjar: | |
10577 | ||
10578 | mostlyclean-fastjar: | |
10579 | @[ -f ./fastjar/Makefile ] || exit 0; \ | |
b40e3958 L |
10580 | r=`${PWD_COMMAND}`; export r; \ |
10581 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10582 | $(SET_LIB_PATH) \ |
10583 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10584 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10585 | done; \ | |
10586 | echo "Doing mostlyclean in fastjar" ; \ | |
10587 | (cd fastjar && \ | |
10588 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10589 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10590 | "RANLIB=$${RANLIB}" \ | |
10591 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10592 | mostlyclean) \ | |
10593 | || exit 1 | |
10594 | ||
10595 | ||
10596 | .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils | |
10597 | maybe-mostlyclean-fileutils: | |
10598 | ||
10599 | mostlyclean-fileutils: | |
10600 | @[ -f ./fileutils/Makefile ] || exit 0; \ | |
b40e3958 L |
10601 | r=`${PWD_COMMAND}`; export r; \ |
10602 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10603 | $(SET_LIB_PATH) \ |
10604 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10605 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10606 | done; \ | |
10607 | echo "Doing mostlyclean in fileutils" ; \ | |
10608 | (cd fileutils && \ | |
10609 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10610 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10611 | "RANLIB=$${RANLIB}" \ | |
10612 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10613 | mostlyclean) \ | |
10614 | || exit 1 | |
10615 | ||
10616 | ||
10617 | .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils | |
10618 | maybe-mostlyclean-findutils: | |
10619 | ||
10620 | mostlyclean-findutils: | |
10621 | @[ -f ./findutils/Makefile ] || exit 0; \ | |
b40e3958 L |
10622 | r=`${PWD_COMMAND}`; export r; \ |
10623 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10624 | $(SET_LIB_PATH) \ |
10625 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10626 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10627 | done; \ | |
10628 | echo "Doing mostlyclean in findutils" ; \ | |
10629 | (cd findutils && \ | |
10630 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10631 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10632 | "RANLIB=$${RANLIB}" \ | |
10633 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10634 | mostlyclean) \ | |
10635 | || exit 1 | |
10636 | ||
10637 | ||
10638 | .PHONY: maybe-mostlyclean-find mostlyclean-find | |
10639 | maybe-mostlyclean-find: | |
10640 | ||
10641 | mostlyclean-find: | |
10642 | @[ -f ./find/Makefile ] || exit 0; \ | |
b40e3958 L |
10643 | r=`${PWD_COMMAND}`; export r; \ |
10644 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10645 | $(SET_LIB_PATH) \ |
10646 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10647 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10648 | done; \ | |
10649 | echo "Doing mostlyclean in find" ; \ | |
10650 | (cd find && \ | |
10651 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10652 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10653 | "RANLIB=$${RANLIB}" \ | |
10654 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10655 | mostlyclean) \ | |
10656 | || exit 1 | |
10657 | ||
10658 | ||
10659 | .PHONY: maybe-mostlyclean-flex mostlyclean-flex | |
10660 | maybe-mostlyclean-flex: | |
10661 | ||
10662 | mostlyclean-flex: | |
10663 | @[ -f ./flex/Makefile ] || exit 0; \ | |
b40e3958 L |
10664 | r=`${PWD_COMMAND}`; export r; \ |
10665 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10666 | $(SET_LIB_PATH) \ |
10667 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10668 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10669 | done; \ | |
10670 | echo "Doing mostlyclean in flex" ; \ | |
10671 | (cd flex && \ | |
10672 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10673 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10674 | "RANLIB=$${RANLIB}" \ | |
10675 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10676 | mostlyclean) \ | |
10677 | || exit 1 | |
10678 | ||
10679 | ||
10680 | .PHONY: maybe-mostlyclean-gas mostlyclean-gas | |
10681 | maybe-mostlyclean-gas: | |
10682 | ||
10683 | mostlyclean-gas: | |
10684 | @[ -f ./gas/Makefile ] || exit 0; \ | |
b40e3958 L |
10685 | r=`${PWD_COMMAND}`; export r; \ |
10686 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10687 | $(SET_LIB_PATH) \ |
10688 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10689 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10690 | done; \ | |
10691 | echo "Doing mostlyclean in gas" ; \ | |
10692 | (cd gas && \ | |
10693 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10694 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10695 | "RANLIB=$${RANLIB}" \ | |
10696 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10697 | mostlyclean) \ | |
10698 | || exit 1 | |
10699 | ||
10700 | ||
10701 | .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk | |
10702 | maybe-mostlyclean-gawk: | |
10703 | ||
10704 | mostlyclean-gawk: | |
10705 | @[ -f ./gawk/Makefile ] || exit 0; \ | |
b40e3958 L |
10706 | r=`${PWD_COMMAND}`; export r; \ |
10707 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10708 | $(SET_LIB_PATH) \ |
10709 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10710 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10711 | done; \ | |
10712 | echo "Doing mostlyclean in gawk" ; \ | |
10713 | (cd gawk && \ | |
10714 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10715 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10716 | "RANLIB=$${RANLIB}" \ | |
10717 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10718 | mostlyclean) \ | |
10719 | || exit 1 | |
10720 | ||
10721 | ||
10722 | .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext | |
10723 | maybe-mostlyclean-gettext: | |
10724 | ||
10725 | mostlyclean-gettext: | |
10726 | @[ -f ./gettext/Makefile ] || exit 0; \ | |
b40e3958 L |
10727 | r=`${PWD_COMMAND}`; export r; \ |
10728 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10729 | $(SET_LIB_PATH) \ |
10730 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10731 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10732 | done; \ | |
10733 | echo "Doing mostlyclean in gettext" ; \ | |
10734 | (cd gettext && \ | |
10735 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10736 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10737 | "RANLIB=$${RANLIB}" \ | |
10738 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10739 | mostlyclean) \ | |
10740 | || exit 1 | |
10741 | ||
10742 | ||
10743 | .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv | |
10744 | maybe-mostlyclean-gnuserv: | |
10745 | ||
10746 | mostlyclean-gnuserv: | |
10747 | @[ -f ./gnuserv/Makefile ] || exit 0; \ | |
b40e3958 L |
10748 | r=`${PWD_COMMAND}`; export r; \ |
10749 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10750 | $(SET_LIB_PATH) \ |
10751 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10752 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10753 | done; \ | |
10754 | echo "Doing mostlyclean in gnuserv" ; \ | |
10755 | (cd gnuserv && \ | |
10756 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10757 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10758 | "RANLIB=$${RANLIB}" \ | |
10759 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10760 | mostlyclean) \ | |
10761 | || exit 1 | |
10762 | ||
10763 | ||
10764 | .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof | |
10765 | maybe-mostlyclean-gprof: | |
10766 | ||
10767 | mostlyclean-gprof: | |
10768 | @[ -f ./gprof/Makefile ] || exit 0; \ | |
b40e3958 L |
10769 | r=`${PWD_COMMAND}`; export r; \ |
10770 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10771 | $(SET_LIB_PATH) \ |
10772 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10773 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10774 | done; \ | |
10775 | echo "Doing mostlyclean in gprof" ; \ | |
10776 | (cd gprof && \ | |
10777 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10778 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10779 | "RANLIB=$${RANLIB}" \ | |
10780 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10781 | mostlyclean) \ | |
10782 | || exit 1 | |
10783 | ||
10784 | ||
10785 | .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip | |
10786 | maybe-mostlyclean-gzip: | |
10787 | ||
10788 | mostlyclean-gzip: | |
10789 | @[ -f ./gzip/Makefile ] || exit 0; \ | |
b40e3958 L |
10790 | r=`${PWD_COMMAND}`; export r; \ |
10791 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10792 | $(SET_LIB_PATH) \ |
10793 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10794 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10795 | done; \ | |
10796 | echo "Doing mostlyclean in gzip" ; \ | |
10797 | (cd gzip && \ | |
10798 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10799 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10800 | "RANLIB=$${RANLIB}" \ | |
10801 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10802 | mostlyclean) \ | |
10803 | || exit 1 | |
10804 | ||
10805 | ||
10806 | .PHONY: maybe-mostlyclean-hello mostlyclean-hello | |
10807 | maybe-mostlyclean-hello: | |
10808 | ||
10809 | mostlyclean-hello: | |
10810 | @[ -f ./hello/Makefile ] || exit 0; \ | |
b40e3958 L |
10811 | r=`${PWD_COMMAND}`; export r; \ |
10812 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10813 | $(SET_LIB_PATH) \ |
10814 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10815 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10816 | done; \ | |
10817 | echo "Doing mostlyclean in hello" ; \ | |
10818 | (cd hello && \ | |
10819 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10820 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10821 | "RANLIB=$${RANLIB}" \ | |
10822 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10823 | mostlyclean) \ | |
10824 | || exit 1 | |
10825 | ||
10826 | ||
10827 | .PHONY: maybe-mostlyclean-indent mostlyclean-indent | |
10828 | maybe-mostlyclean-indent: | |
10829 | ||
10830 | mostlyclean-indent: | |
10831 | @[ -f ./indent/Makefile ] || exit 0; \ | |
b40e3958 L |
10832 | r=`${PWD_COMMAND}`; export r; \ |
10833 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10834 | $(SET_LIB_PATH) \ |
10835 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10836 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10837 | done; \ | |
10838 | echo "Doing mostlyclean in indent" ; \ | |
10839 | (cd indent && \ | |
10840 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10841 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10842 | "RANLIB=$${RANLIB}" \ | |
10843 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10844 | mostlyclean) \ | |
10845 | || exit 1 | |
10846 | ||
10847 | ||
10848 | .PHONY: maybe-mostlyclean-intl mostlyclean-intl | |
10849 | maybe-mostlyclean-intl: | |
10850 | ||
10851 | mostlyclean-intl: | |
10852 | @[ -f ./intl/Makefile ] || exit 0; \ | |
b40e3958 L |
10853 | r=`${PWD_COMMAND}`; export r; \ |
10854 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10855 | $(SET_LIB_PATH) \ |
10856 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10857 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10858 | done; \ | |
10859 | echo "Doing mostlyclean in intl" ; \ | |
10860 | (cd intl && \ | |
10861 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10862 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10863 | "RANLIB=$${RANLIB}" \ | |
10864 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10865 | mostlyclean) \ | |
10866 | || exit 1 | |
10867 | ||
10868 | ||
10869 | .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl | |
10870 | maybe-mostlyclean-tcl: | |
10871 | ||
10872 | # tcl doesn't support mostlyclean. | |
10873 | mostlyclean-tcl: | |
10874 | ||
10875 | ||
10876 | .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl | |
10877 | maybe-mostlyclean-itcl: | |
10878 | ||
10879 | mostlyclean-itcl: | |
10880 | @[ -f ./itcl/Makefile ] || exit 0; \ | |
b40e3958 L |
10881 | r=`${PWD_COMMAND}`; export r; \ |
10882 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10883 | $(SET_LIB_PATH) \ |
10884 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10885 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10886 | done; \ | |
10887 | echo "Doing mostlyclean in itcl" ; \ | |
10888 | (cd itcl && \ | |
10889 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10890 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10891 | "RANLIB=$${RANLIB}" \ | |
10892 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10893 | mostlyclean) \ | |
10894 | || exit 1 | |
10895 | ||
10896 | ||
10897 | .PHONY: maybe-mostlyclean-ld mostlyclean-ld | |
10898 | maybe-mostlyclean-ld: | |
10899 | ||
10900 | mostlyclean-ld: | |
10901 | @[ -f ./ld/Makefile ] || exit 0; \ | |
b40e3958 L |
10902 | r=`${PWD_COMMAND}`; export r; \ |
10903 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10904 | $(SET_LIB_PATH) \ |
10905 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10906 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10907 | done; \ | |
10908 | echo "Doing mostlyclean in ld" ; \ | |
10909 | (cd ld && \ | |
10910 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10911 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10912 | "RANLIB=$${RANLIB}" \ | |
10913 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10914 | mostlyclean) \ | |
10915 | || exit 1 | |
10916 | ||
10917 | ||
10918 | .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui | |
10919 | maybe-mostlyclean-libgui: | |
10920 | ||
10921 | mostlyclean-libgui: | |
10922 | @[ -f ./libgui/Makefile ] || exit 0; \ | |
b40e3958 L |
10923 | r=`${PWD_COMMAND}`; export r; \ |
10924 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10925 | $(SET_LIB_PATH) \ |
10926 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10927 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10928 | done; \ | |
10929 | echo "Doing mostlyclean in libgui" ; \ | |
10930 | (cd libgui && \ | |
10931 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10932 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10933 | "RANLIB=$${RANLIB}" \ | |
10934 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10935 | mostlyclean) \ | |
10936 | || exit 1 | |
10937 | ||
10938 | ||
10939 | .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty | |
10940 | maybe-mostlyclean-libiberty: | |
10941 | ||
10942 | mostlyclean-libiberty: | |
10943 | @[ -f ./libiberty/Makefile ] || exit 0; \ | |
b40e3958 L |
10944 | r=`${PWD_COMMAND}`; export r; \ |
10945 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10946 | $(SET_LIB_PATH) \ |
10947 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10948 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10949 | done; \ | |
10950 | echo "Doing mostlyclean in libiberty" ; \ | |
10951 | (cd libiberty && \ | |
10952 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10953 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10954 | "RANLIB=$${RANLIB}" \ | |
10955 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10956 | mostlyclean) \ | |
10957 | || exit 1 | |
10958 | ||
10959 | ||
10960 | .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool | |
10961 | maybe-mostlyclean-libtool: | |
10962 | ||
10963 | mostlyclean-libtool: | |
10964 | @[ -f ./libtool/Makefile ] || exit 0; \ | |
b40e3958 L |
10965 | r=`${PWD_COMMAND}`; export r; \ |
10966 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10967 | $(SET_LIB_PATH) \ |
10968 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10969 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10970 | done; \ | |
10971 | echo "Doing mostlyclean in libtool" ; \ | |
10972 | (cd libtool && \ | |
10973 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10974 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10975 | "RANLIB=$${RANLIB}" \ | |
10976 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10977 | mostlyclean) \ | |
10978 | || exit 1 | |
10979 | ||
10980 | ||
10981 | .PHONY: maybe-mostlyclean-m4 mostlyclean-m4 | |
10982 | maybe-mostlyclean-m4: | |
10983 | ||
10984 | mostlyclean-m4: | |
10985 | @[ -f ./m4/Makefile ] || exit 0; \ | |
b40e3958 L |
10986 | r=`${PWD_COMMAND}`; export r; \ |
10987 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10988 | $(SET_LIB_PATH) \ |
10989 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10990 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10991 | done; \ | |
10992 | echo "Doing mostlyclean in m4" ; \ | |
10993 | (cd m4 && \ | |
10994 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10995 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10996 | "RANLIB=$${RANLIB}" \ | |
10997 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10998 | mostlyclean) \ | |
10999 | || exit 1 | |
11000 | ||
11001 | ||
11002 | .PHONY: maybe-mostlyclean-make mostlyclean-make | |
11003 | maybe-mostlyclean-make: | |
11004 | ||
11005 | mostlyclean-make: | |
11006 | @[ -f ./make/Makefile ] || exit 0; \ | |
b40e3958 L |
11007 | r=`${PWD_COMMAND}`; export r; \ |
11008 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11009 | $(SET_LIB_PATH) \ |
11010 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11011 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11012 | done; \ | |
11013 | echo "Doing mostlyclean in make" ; \ | |
11014 | (cd make && \ | |
11015 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11016 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11017 | "RANLIB=$${RANLIB}" \ | |
11018 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11019 | mostlyclean) \ | |
11020 | || exit 1 | |
11021 | ||
11022 | ||
11023 | .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc | |
11024 | maybe-mostlyclean-mmalloc: | |
11025 | ||
11026 | mostlyclean-mmalloc: | |
11027 | @[ -f ./mmalloc/Makefile ] || exit 0; \ | |
b40e3958 L |
11028 | r=`${PWD_COMMAND}`; export r; \ |
11029 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11030 | $(SET_LIB_PATH) \ |
11031 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11032 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11033 | done; \ | |
11034 | echo "Doing mostlyclean in mmalloc" ; \ | |
11035 | (cd mmalloc && \ | |
11036 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11037 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11038 | "RANLIB=$${RANLIB}" \ | |
11039 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11040 | mostlyclean) \ | |
11041 | || exit 1 | |
11042 | ||
11043 | ||
11044 | .PHONY: maybe-mostlyclean-patch mostlyclean-patch | |
11045 | maybe-mostlyclean-patch: | |
11046 | ||
11047 | mostlyclean-patch: | |
11048 | @[ -f ./patch/Makefile ] || exit 0; \ | |
b40e3958 L |
11049 | r=`${PWD_COMMAND}`; export r; \ |
11050 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11051 | $(SET_LIB_PATH) \ |
11052 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11053 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11054 | done; \ | |
11055 | echo "Doing mostlyclean in patch" ; \ | |
11056 | (cd patch && \ | |
11057 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11058 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11059 | "RANLIB=$${RANLIB}" \ | |
11060 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11061 | mostlyclean) \ | |
11062 | || exit 1 | |
11063 | ||
11064 | ||
11065 | .PHONY: maybe-mostlyclean-perl mostlyclean-perl | |
11066 | maybe-mostlyclean-perl: | |
11067 | ||
11068 | mostlyclean-perl: | |
11069 | @[ -f ./perl/Makefile ] || exit 0; \ | |
b40e3958 L |
11070 | r=`${PWD_COMMAND}`; export r; \ |
11071 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11072 | $(SET_LIB_PATH) \ |
11073 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11074 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11075 | done; \ | |
11076 | echo "Doing mostlyclean in perl" ; \ | |
11077 | (cd perl && \ | |
11078 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11079 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11080 | "RANLIB=$${RANLIB}" \ | |
11081 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11082 | mostlyclean) \ | |
11083 | || exit 1 | |
11084 | ||
11085 | ||
11086 | .PHONY: maybe-mostlyclean-prms mostlyclean-prms | |
11087 | maybe-mostlyclean-prms: | |
11088 | ||
11089 | mostlyclean-prms: | |
11090 | @[ -f ./prms/Makefile ] || exit 0; \ | |
b40e3958 L |
11091 | r=`${PWD_COMMAND}`; export r; \ |
11092 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11093 | $(SET_LIB_PATH) \ |
11094 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11095 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11096 | done; \ | |
11097 | echo "Doing mostlyclean in prms" ; \ | |
11098 | (cd prms && \ | |
11099 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11100 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11101 | "RANLIB=$${RANLIB}" \ | |
11102 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11103 | mostlyclean) \ | |
11104 | || exit 1 | |
11105 | ||
11106 | ||
11107 | .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs | |
11108 | maybe-mostlyclean-rcs: | |
11109 | ||
11110 | mostlyclean-rcs: | |
11111 | @[ -f ./rcs/Makefile ] || exit 0; \ | |
b40e3958 L |
11112 | r=`${PWD_COMMAND}`; export r; \ |
11113 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11114 | $(SET_LIB_PATH) \ |
11115 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11116 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11117 | done; \ | |
11118 | echo "Doing mostlyclean in rcs" ; \ | |
11119 | (cd rcs && \ | |
11120 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11121 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11122 | "RANLIB=$${RANLIB}" \ | |
11123 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11124 | mostlyclean) \ | |
11125 | || exit 1 | |
11126 | ||
11127 | ||
11128 | .PHONY: maybe-mostlyclean-readline mostlyclean-readline | |
11129 | maybe-mostlyclean-readline: | |
11130 | ||
11131 | mostlyclean-readline: | |
11132 | @[ -f ./readline/Makefile ] || exit 0; \ | |
b40e3958 L |
11133 | r=`${PWD_COMMAND}`; export r; \ |
11134 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11135 | $(SET_LIB_PATH) \ |
11136 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11137 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11138 | done; \ | |
11139 | echo "Doing mostlyclean in readline" ; \ | |
11140 | (cd readline && \ | |
11141 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11142 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11143 | "RANLIB=$${RANLIB}" \ | |
11144 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11145 | mostlyclean) \ | |
11146 | || exit 1 | |
11147 | ||
11148 | ||
11149 | .PHONY: maybe-mostlyclean-release mostlyclean-release | |
11150 | maybe-mostlyclean-release: | |
11151 | ||
11152 | mostlyclean-release: | |
11153 | @[ -f ./release/Makefile ] || exit 0; \ | |
b40e3958 L |
11154 | r=`${PWD_COMMAND}`; export r; \ |
11155 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11156 | $(SET_LIB_PATH) \ |
11157 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11158 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11159 | done; \ | |
11160 | echo "Doing mostlyclean in release" ; \ | |
11161 | (cd release && \ | |
11162 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11163 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11164 | "RANLIB=$${RANLIB}" \ | |
11165 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11166 | mostlyclean) \ | |
11167 | || exit 1 | |
11168 | ||
11169 | ||
11170 | .PHONY: maybe-mostlyclean-recode mostlyclean-recode | |
11171 | maybe-mostlyclean-recode: | |
11172 | ||
11173 | mostlyclean-recode: | |
11174 | @[ -f ./recode/Makefile ] || exit 0; \ | |
b40e3958 L |
11175 | r=`${PWD_COMMAND}`; export r; \ |
11176 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11177 | $(SET_LIB_PATH) \ |
11178 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11179 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11180 | done; \ | |
11181 | echo "Doing mostlyclean in recode" ; \ | |
11182 | (cd recode && \ | |
11183 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11184 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11185 | "RANLIB=$${RANLIB}" \ | |
11186 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11187 | mostlyclean) \ | |
11188 | || exit 1 | |
11189 | ||
11190 | ||
11191 | .PHONY: maybe-mostlyclean-sed mostlyclean-sed | |
11192 | maybe-mostlyclean-sed: | |
11193 | ||
11194 | mostlyclean-sed: | |
11195 | @[ -f ./sed/Makefile ] || exit 0; \ | |
b40e3958 L |
11196 | r=`${PWD_COMMAND}`; export r; \ |
11197 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11198 | $(SET_LIB_PATH) \ |
11199 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11200 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11201 | done; \ | |
11202 | echo "Doing mostlyclean in sed" ; \ | |
11203 | (cd sed && \ | |
11204 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11205 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11206 | "RANLIB=$${RANLIB}" \ | |
11207 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11208 | mostlyclean) \ | |
11209 | || exit 1 | |
11210 | ||
11211 | ||
11212 | .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr | |
11213 | maybe-mostlyclean-send-pr: | |
11214 | ||
11215 | mostlyclean-send-pr: | |
11216 | @[ -f ./send-pr/Makefile ] || exit 0; \ | |
b40e3958 L |
11217 | r=`${PWD_COMMAND}`; export r; \ |
11218 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11219 | $(SET_LIB_PATH) \ |
11220 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11221 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11222 | done; \ | |
11223 | echo "Doing mostlyclean in send-pr" ; \ | |
11224 | (cd send-pr && \ | |
11225 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11226 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11227 | "RANLIB=$${RANLIB}" \ | |
11228 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11229 | mostlyclean) \ | |
11230 | || exit 1 | |
11231 | ||
11232 | ||
11233 | .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils | |
11234 | maybe-mostlyclean-shellutils: | |
11235 | ||
11236 | mostlyclean-shellutils: | |
11237 | @[ -f ./shellutils/Makefile ] || exit 0; \ | |
b40e3958 L |
11238 | r=`${PWD_COMMAND}`; export r; \ |
11239 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11240 | $(SET_LIB_PATH) \ |
11241 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11242 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11243 | done; \ | |
11244 | echo "Doing mostlyclean in shellutils" ; \ | |
11245 | (cd shellutils && \ | |
11246 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11247 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11248 | "RANLIB=$${RANLIB}" \ | |
11249 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11250 | mostlyclean) \ | |
11251 | || exit 1 | |
11252 | ||
11253 | ||
11254 | .PHONY: maybe-mostlyclean-sid mostlyclean-sid | |
11255 | maybe-mostlyclean-sid: | |
11256 | ||
11257 | mostlyclean-sid: | |
11258 | @[ -f ./sid/Makefile ] || exit 0; \ | |
b40e3958 L |
11259 | r=`${PWD_COMMAND}`; export r; \ |
11260 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11261 | $(SET_LIB_PATH) \ |
11262 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11263 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11264 | done; \ | |
11265 | echo "Doing mostlyclean in sid" ; \ | |
11266 | (cd sid && \ | |
11267 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11268 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11269 | "RANLIB=$${RANLIB}" \ | |
11270 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11271 | mostlyclean) \ | |
11272 | || exit 1 | |
11273 | ||
11274 | ||
11275 | .PHONY: maybe-mostlyclean-sim mostlyclean-sim | |
11276 | maybe-mostlyclean-sim: | |
11277 | ||
11278 | mostlyclean-sim: | |
11279 | @[ -f ./sim/Makefile ] || exit 0; \ | |
b40e3958 L |
11280 | r=`${PWD_COMMAND}`; export r; \ |
11281 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11282 | $(SET_LIB_PATH) \ |
11283 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11284 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11285 | done; \ | |
11286 | echo "Doing mostlyclean in sim" ; \ | |
11287 | (cd sim && \ | |
11288 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11289 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11290 | "RANLIB=$${RANLIB}" \ | |
11291 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11292 | mostlyclean) \ | |
11293 | || exit 1 | |
11294 | ||
11295 | ||
11296 | .PHONY: maybe-mostlyclean-tar mostlyclean-tar | |
11297 | maybe-mostlyclean-tar: | |
11298 | ||
11299 | mostlyclean-tar: | |
11300 | @[ -f ./tar/Makefile ] || exit 0; \ | |
b40e3958 L |
11301 | r=`${PWD_COMMAND}`; export r; \ |
11302 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11303 | $(SET_LIB_PATH) \ |
11304 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11305 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11306 | done; \ | |
11307 | echo "Doing mostlyclean in tar" ; \ | |
11308 | (cd tar && \ | |
11309 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11310 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11311 | "RANLIB=$${RANLIB}" \ | |
11312 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11313 | mostlyclean) \ | |
11314 | || exit 1 | |
11315 | ||
11316 | ||
11317 | .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo | |
11318 | maybe-mostlyclean-texinfo: | |
11319 | ||
11320 | mostlyclean-texinfo: | |
11321 | @[ -f ./texinfo/Makefile ] || exit 0; \ | |
b40e3958 L |
11322 | r=`${PWD_COMMAND}`; export r; \ |
11323 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11324 | $(SET_LIB_PATH) \ |
11325 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11326 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11327 | done; \ | |
11328 | echo "Doing mostlyclean in texinfo" ; \ | |
11329 | (cd texinfo && \ | |
11330 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11331 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11332 | "RANLIB=$${RANLIB}" \ | |
11333 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11334 | mostlyclean) \ | |
11335 | || exit 1 | |
11336 | ||
11337 | ||
11338 | .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils | |
11339 | maybe-mostlyclean-textutils: | |
11340 | ||
11341 | mostlyclean-textutils: | |
11342 | @[ -f ./textutils/Makefile ] || exit 0; \ | |
b40e3958 L |
11343 | r=`${PWD_COMMAND}`; export r; \ |
11344 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11345 | $(SET_LIB_PATH) \ |
11346 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11347 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11348 | done; \ | |
11349 | echo "Doing mostlyclean in textutils" ; \ | |
11350 | (cd textutils && \ | |
11351 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11352 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11353 | "RANLIB=$${RANLIB}" \ | |
11354 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11355 | mostlyclean) \ | |
11356 | || exit 1 | |
11357 | ||
11358 | ||
11359 | .PHONY: maybe-mostlyclean-time mostlyclean-time | |
11360 | maybe-mostlyclean-time: | |
11361 | ||
11362 | mostlyclean-time: | |
11363 | @[ -f ./time/Makefile ] || exit 0; \ | |
b40e3958 L |
11364 | r=`${PWD_COMMAND}`; export r; \ |
11365 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11366 | $(SET_LIB_PATH) \ |
11367 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11368 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11369 | done; \ | |
11370 | echo "Doing mostlyclean in time" ; \ | |
11371 | (cd time && \ | |
11372 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11373 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11374 | "RANLIB=$${RANLIB}" \ | |
11375 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11376 | mostlyclean) \ | |
11377 | || exit 1 | |
11378 | ||
11379 | ||
11380 | .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode | |
11381 | maybe-mostlyclean-uudecode: | |
11382 | ||
11383 | mostlyclean-uudecode: | |
11384 | @[ -f ./uudecode/Makefile ] || exit 0; \ | |
b40e3958 L |
11385 | r=`${PWD_COMMAND}`; export r; \ |
11386 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11387 | $(SET_LIB_PATH) \ |
11388 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11389 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11390 | done; \ | |
11391 | echo "Doing mostlyclean in uudecode" ; \ | |
11392 | (cd uudecode && \ | |
11393 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11394 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11395 | "RANLIB=$${RANLIB}" \ | |
11396 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11397 | mostlyclean) \ | |
11398 | || exit 1 | |
11399 | ||
11400 | ||
11401 | .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff | |
11402 | maybe-mostlyclean-wdiff: | |
11403 | ||
11404 | mostlyclean-wdiff: | |
11405 | @[ -f ./wdiff/Makefile ] || exit 0; \ | |
b40e3958 L |
11406 | r=`${PWD_COMMAND}`; export r; \ |
11407 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11408 | $(SET_LIB_PATH) \ |
11409 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11410 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11411 | done; \ | |
11412 | echo "Doing mostlyclean in wdiff" ; \ | |
11413 | (cd wdiff && \ | |
11414 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11415 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11416 | "RANLIB=$${RANLIB}" \ | |
11417 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11418 | mostlyclean) \ | |
11419 | || exit 1 | |
11420 | ||
11421 | ||
11422 | .PHONY: maybe-mostlyclean-zip mostlyclean-zip | |
11423 | maybe-mostlyclean-zip: | |
11424 | ||
11425 | mostlyclean-zip: | |
11426 | @[ -f ./zip/Makefile ] || exit 0; \ | |
b40e3958 L |
11427 | r=`${PWD_COMMAND}`; export r; \ |
11428 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11429 | $(SET_LIB_PATH) \ |
11430 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11431 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11432 | done; \ | |
11433 | echo "Doing mostlyclean in zip" ; \ | |
11434 | (cd zip && \ | |
11435 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11436 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11437 | "RANLIB=$${RANLIB}" \ | |
11438 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11439 | mostlyclean) \ | |
11440 | || exit 1 | |
11441 | ||
11442 | ||
11443 | .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib | |
11444 | maybe-mostlyclean-zlib: | |
11445 | ||
11446 | mostlyclean-zlib: | |
11447 | @[ -f ./zlib/Makefile ] || exit 0; \ | |
b40e3958 L |
11448 | r=`${PWD_COMMAND}`; export r; \ |
11449 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11450 | $(SET_LIB_PATH) \ |
11451 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11452 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11453 | done; \ | |
11454 | echo "Doing mostlyclean in zlib" ; \ | |
11455 | (cd zlib && \ | |
11456 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11457 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11458 | "RANLIB=$${RANLIB}" \ | |
11459 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11460 | mostlyclean) \ | |
11461 | || exit 1 | |
11462 | ||
11463 | ||
11464 | .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb | |
11465 | maybe-mostlyclean-gdb: | |
11466 | ||
11467 | mostlyclean-gdb: | |
11468 | @[ -f ./gdb/Makefile ] || exit 0; \ | |
b40e3958 L |
11469 | r=`${PWD_COMMAND}`; export r; \ |
11470 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11471 | $(SET_LIB_PATH) \ |
11472 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11473 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11474 | done; \ | |
11475 | echo "Doing mostlyclean in gdb" ; \ | |
11476 | (cd gdb && \ | |
11477 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11478 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11479 | "RANLIB=$${RANLIB}" \ | |
11480 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11481 | mostlyclean) \ | |
11482 | || exit 1 | |
11483 | ||
11484 | ||
11485 | .PHONY: maybe-mostlyclean-expect mostlyclean-expect | |
11486 | maybe-mostlyclean-expect: | |
11487 | ||
11488 | mostlyclean-expect: | |
11489 | @[ -f ./expect/Makefile ] || exit 0; \ | |
b40e3958 L |
11490 | r=`${PWD_COMMAND}`; export r; \ |
11491 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11492 | $(SET_LIB_PATH) \ |
11493 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11494 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11495 | done; \ | |
11496 | echo "Doing mostlyclean in expect" ; \ | |
11497 | (cd expect && \ | |
11498 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11499 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11500 | "RANLIB=$${RANLIB}" \ | |
11501 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11502 | mostlyclean) \ | |
11503 | || exit 1 | |
11504 | ||
11505 | ||
11506 | .PHONY: maybe-mostlyclean-guile mostlyclean-guile | |
11507 | maybe-mostlyclean-guile: | |
11508 | ||
11509 | mostlyclean-guile: | |
11510 | @[ -f ./guile/Makefile ] || exit 0; \ | |
b40e3958 L |
11511 | r=`${PWD_COMMAND}`; export r; \ |
11512 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11513 | $(SET_LIB_PATH) \ |
11514 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11515 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11516 | done; \ | |
11517 | echo "Doing mostlyclean in guile" ; \ | |
11518 | (cd guile && \ | |
11519 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11520 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11521 | "RANLIB=$${RANLIB}" \ | |
11522 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11523 | mostlyclean) \ | |
11524 | || exit 1 | |
11525 | ||
11526 | ||
11527 | .PHONY: maybe-mostlyclean-tk mostlyclean-tk | |
11528 | maybe-mostlyclean-tk: | |
11529 | ||
11530 | mostlyclean-tk: | |
11531 | @[ -f ./tk/Makefile ] || exit 0; \ | |
b40e3958 L |
11532 | r=`${PWD_COMMAND}`; export r; \ |
11533 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11534 | $(SET_LIB_PATH) \ |
11535 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11536 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11537 | done; \ | |
11538 | echo "Doing mostlyclean in tk" ; \ | |
11539 | (cd tk && \ | |
11540 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11541 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11542 | "RANLIB=$${RANLIB}" \ | |
11543 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11544 | mostlyclean) \ | |
11545 | || exit 1 | |
11546 | ||
11547 | ||
11548 | .PHONY: maybe-mostlyclean-tix mostlyclean-tix | |
11549 | maybe-mostlyclean-tix: | |
11550 | ||
11551 | mostlyclean-tix: | |
11552 | @[ -f ./tix/Makefile ] || exit 0; \ | |
b40e3958 L |
11553 | r=`${PWD_COMMAND}`; export r; \ |
11554 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11555 | $(SET_LIB_PATH) \ |
11556 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11557 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11558 | done; \ | |
11559 | echo "Doing mostlyclean in tix" ; \ | |
11560 | (cd tix && \ | |
11561 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11562 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11563 | "RANLIB=$${RANLIB}" \ | |
11564 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11565 | mostlyclean) \ | |
11566 | || exit 1 | |
11567 | ||
11568 | ||
11569 | .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap | |
11570 | maybe-mostlyclean-libtermcap: | |
11571 | ||
11572 | # libtermcap doesn't support mostlyclean. | |
11573 | mostlyclean-libtermcap: | |
11574 | ||
11575 | ||
11576 | .PHONY: maybe-mostlyclean-utils mostlyclean-utils | |
11577 | maybe-mostlyclean-utils: | |
11578 | ||
11579 | mostlyclean-utils: | |
11580 | @[ -f ./utils/Makefile ] || exit 0; \ | |
b40e3958 L |
11581 | r=`${PWD_COMMAND}`; export r; \ |
11582 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11583 | $(SET_LIB_PATH) \ |
11584 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11585 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11586 | done; \ | |
11587 | echo "Doing mostlyclean in utils" ; \ | |
11588 | (cd utils && \ | |
11589 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11590 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11591 | "RANLIB=$${RANLIB}" \ | |
11592 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11593 | mostlyclean) \ | |
11594 | || exit 1 | |
11595 | ||
11596 | ||
11597 | ||
11598 | # Target modules. | |
11599 | ||
11600 | .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3 | |
11601 | maybe-mostlyclean-target-libstdc++-v3: | |
11602 | ||
11603 | mostlyclean-target-libstdc++-v3: | |
11604 | @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ | |
b40e3958 L |
11605 | r=`${PWD_COMMAND}`; export r; \ |
11606 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11607 | $(SET_LIB_PATH) \ |
11608 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \ | |
11609 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11610 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11611 | done; \ | |
11612 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
11613 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11614 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11615 | "RANLIB=$${RANLIB}" \ | |
11616 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11617 | mostlyclean) \ | |
11618 | || exit 1 | |
11619 | ||
11620 | ||
11621 | .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib | |
11622 | maybe-mostlyclean-target-newlib: | |
11623 | ||
11624 | mostlyclean-target-newlib: | |
11625 | @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
11626 | r=`${PWD_COMMAND}`; export r; \ |
11627 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11628 | $(SET_LIB_PATH) \ |
11629 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \ | |
11630 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11631 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11632 | done; \ | |
11633 | (cd $(TARGET_SUBDIR)/newlib && \ | |
11634 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11635 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11636 | "RANLIB=$${RANLIB}" \ | |
11637 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11638 | mostlyclean) \ | |
11639 | || exit 1 | |
11640 | ||
11641 | ||
11642 | .PHONY: maybe-mostlyclean-target-libf2c mostlyclean-target-libf2c | |
11643 | maybe-mostlyclean-target-libf2c: | |
11644 | ||
11645 | mostlyclean-target-libf2c: | |
11646 | @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \ | |
b40e3958 L |
11647 | r=`${PWD_COMMAND}`; export r; \ |
11648 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11649 | $(SET_LIB_PATH) \ |
11650 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/libf2c" ; \ | |
11651 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11652 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11653 | done; \ | |
11654 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
11655 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11656 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11657 | "RANLIB=$${RANLIB}" \ | |
11658 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11659 | mostlyclean) \ | |
11660 | || exit 1 | |
11661 | ||
11662 | ||
11663 | .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc | |
11664 | maybe-mostlyclean-target-libobjc: | |
11665 | ||
11666 | mostlyclean-target-libobjc: | |
11667 | @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
11668 | r=`${PWD_COMMAND}`; export r; \ |
11669 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11670 | $(SET_LIB_PATH) \ |
11671 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \ | |
11672 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11673 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11674 | done; \ | |
11675 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
11676 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11677 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11678 | "RANLIB=$${RANLIB}" \ | |
11679 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11680 | mostlyclean) \ | |
11681 | || exit 1 | |
11682 | ||
11683 | ||
11684 | .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap | |
11685 | maybe-mostlyclean-target-libtermcap: | |
11686 | ||
11687 | # libtermcap doesn't support mostlyclean. | |
123494c8 | 11688 | mostlyclean-target-libtermcap: |
2a4cbe27 NN |
11689 | |
11690 | ||
11691 | .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup | |
11692 | maybe-mostlyclean-target-winsup: | |
11693 | ||
11694 | mostlyclean-target-winsup: | |
11695 | @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ | |
b40e3958 L |
11696 | r=`${PWD_COMMAND}`; export r; \ |
11697 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11698 | $(SET_LIB_PATH) \ |
11699 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \ | |
11700 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11701 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11702 | done; \ | |
11703 | (cd $(TARGET_SUBDIR)/winsup && \ | |
11704 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11705 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11706 | "RANLIB=$${RANLIB}" \ | |
11707 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11708 | mostlyclean) \ | |
11709 | || exit 1 | |
11710 | ||
11711 | ||
11712 | .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss | |
11713 | maybe-mostlyclean-target-libgloss: | |
11714 | ||
11715 | mostlyclean-target-libgloss: | |
11716 | @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ | |
b40e3958 L |
11717 | r=`${PWD_COMMAND}`; export r; \ |
11718 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11719 | $(SET_LIB_PATH) \ |
11720 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \ | |
11721 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11722 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11723 | done; \ | |
11724 | (cd $(TARGET_SUBDIR)/libgloss && \ | |
11725 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11726 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11727 | "RANLIB=$${RANLIB}" \ | |
11728 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11729 | mostlyclean) \ | |
11730 | || exit 1 | |
11731 | ||
11732 | ||
11733 | .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty | |
11734 | maybe-mostlyclean-target-libiberty: | |
11735 | ||
11736 | mostlyclean-target-libiberty: | |
11737 | @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ | |
b40e3958 L |
11738 | r=`${PWD_COMMAND}`; export r; \ |
11739 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11740 | $(SET_LIB_PATH) \ |
11741 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \ | |
11742 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11743 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11744 | done; \ | |
11745 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
11746 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11747 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11748 | "RANLIB=$${RANLIB}" \ | |
11749 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11750 | mostlyclean) \ | |
11751 | || exit 1 | |
11752 | ||
11753 | ||
11754 | .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf | |
11755 | maybe-mostlyclean-target-gperf: | |
11756 | ||
11757 | mostlyclean-target-gperf: | |
11758 | @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ | |
b40e3958 L |
11759 | r=`${PWD_COMMAND}`; export r; \ |
11760 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11761 | $(SET_LIB_PATH) \ |
11762 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \ | |
11763 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11764 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11765 | done; \ | |
11766 | (cd $(TARGET_SUBDIR)/gperf && \ | |
11767 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11768 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11769 | "RANLIB=$${RANLIB}" \ | |
11770 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11771 | mostlyclean) \ | |
11772 | || exit 1 | |
11773 | ||
11774 | ||
11775 | .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples | |
11776 | maybe-mostlyclean-target-examples: | |
11777 | ||
11778 | mostlyclean-target-examples: | |
11779 | @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ | |
b40e3958 L |
11780 | r=`${PWD_COMMAND}`; export r; \ |
11781 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11782 | $(SET_LIB_PATH) \ |
11783 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \ | |
11784 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11785 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11786 | done; \ | |
11787 | (cd $(TARGET_SUBDIR)/examples && \ | |
11788 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11789 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11790 | "RANLIB=$${RANLIB}" \ | |
11791 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11792 | mostlyclean) \ | |
11793 | || exit 1 | |
11794 | ||
11795 | ||
11796 | .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi | |
11797 | maybe-mostlyclean-target-libffi: | |
11798 | ||
11799 | mostlyclean-target-libffi: | |
11800 | @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ | |
b40e3958 L |
11801 | r=`${PWD_COMMAND}`; export r; \ |
11802 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11803 | $(SET_LIB_PATH) \ |
11804 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \ | |
11805 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11806 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11807 | done; \ | |
11808 | (cd $(TARGET_SUBDIR)/libffi && \ | |
11809 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11810 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11811 | "RANLIB=$${RANLIB}" \ | |
11812 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11813 | mostlyclean) \ | |
11814 | || exit 1 | |
11815 | ||
11816 | ||
11817 | .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava | |
11818 | maybe-mostlyclean-target-libjava: | |
11819 | ||
11820 | mostlyclean-target-libjava: | |
11821 | @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ | |
b40e3958 L |
11822 | r=`${PWD_COMMAND}`; export r; \ |
11823 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11824 | $(SET_LIB_PATH) \ |
11825 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \ | |
11826 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11827 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11828 | done; \ | |
11829 | (cd $(TARGET_SUBDIR)/libjava && \ | |
11830 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11831 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11832 | "RANLIB=$${RANLIB}" \ | |
11833 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11834 | mostlyclean) \ | |
11835 | || exit 1 | |
11836 | ||
11837 | ||
11838 | .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib | |
11839 | maybe-mostlyclean-target-zlib: | |
11840 | ||
11841 | mostlyclean-target-zlib: | |
11842 | @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
11843 | r=`${PWD_COMMAND}`; export r; \ |
11844 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11845 | $(SET_LIB_PATH) \ |
11846 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \ | |
11847 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11848 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11849 | done; \ | |
11850 | (cd $(TARGET_SUBDIR)/zlib && \ | |
11851 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11852 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11853 | "RANLIB=$${RANLIB}" \ | |
11854 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11855 | mostlyclean) \ | |
11856 | || exit 1 | |
11857 | ||
11858 | ||
11859 | .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc | |
11860 | maybe-mostlyclean-target-boehm-gc: | |
11861 | ||
11862 | mostlyclean-target-boehm-gc: | |
11863 | @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
11864 | r=`${PWD_COMMAND}`; export r; \ |
11865 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11866 | $(SET_LIB_PATH) \ |
11867 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \ | |
11868 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11869 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11870 | done; \ | |
11871 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
11872 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11873 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11874 | "RANLIB=$${RANLIB}" \ | |
11875 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11876 | mostlyclean) \ | |
11877 | || exit 1 | |
11878 | ||
11879 | ||
11880 | .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads | |
11881 | maybe-mostlyclean-target-qthreads: | |
11882 | ||
11883 | mostlyclean-target-qthreads: | |
11884 | @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ | |
b40e3958 L |
11885 | r=`${PWD_COMMAND}`; export r; \ |
11886 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11887 | $(SET_LIB_PATH) \ |
11888 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \ | |
11889 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11890 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11891 | done; \ | |
11892 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
11893 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11894 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11895 | "RANLIB=$${RANLIB}" \ | |
11896 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11897 | mostlyclean) \ | |
11898 | || exit 1 | |
11899 | ||
11900 | ||
11901 | .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda | |
11902 | maybe-mostlyclean-target-rda: | |
11903 | ||
11904 | mostlyclean-target-rda: | |
11905 | @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ | |
b40e3958 L |
11906 | r=`${PWD_COMMAND}`; export r; \ |
11907 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11908 | $(SET_LIB_PATH) \ |
11909 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \ | |
11910 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11911 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11912 | done; \ | |
11913 | (cd $(TARGET_SUBDIR)/rda && \ | |
11914 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11915 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11916 | "RANLIB=$${RANLIB}" \ | |
11917 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11918 | mostlyclean) \ | |
11919 | || exit 1 | |
11920 | ||
11921 | ||
11922 | ||
11923 | .PHONY: do-clean | |
11924 | do-clean: clean-host clean-target | |
11925 | ||
11926 | .PHONY: clean-host | |
11927 | clean-host: maybe-clean-gcc \ | |
11928 | maybe-clean-ash \ | |
11929 | maybe-clean-autoconf \ | |
11930 | maybe-clean-automake \ | |
11931 | maybe-clean-bash \ | |
11932 | maybe-clean-bfd \ | |
11933 | maybe-clean-opcodes \ | |
11934 | maybe-clean-binutils \ | |
11935 | maybe-clean-bison \ | |
11936 | maybe-clean-byacc \ | |
11937 | maybe-clean-bzip2 \ | |
11938 | maybe-clean-dejagnu \ | |
11939 | maybe-clean-diff \ | |
11940 | maybe-clean-dosutils \ | |
11941 | maybe-clean-etc \ | |
11942 | maybe-clean-fastjar \ | |
11943 | maybe-clean-fileutils \ | |
11944 | maybe-clean-findutils \ | |
11945 | maybe-clean-find \ | |
11946 | maybe-clean-flex \ | |
11947 | maybe-clean-gas \ | |
11948 | maybe-clean-gawk \ | |
11949 | maybe-clean-gettext \ | |
11950 | maybe-clean-gnuserv \ | |
11951 | maybe-clean-gprof \ | |
11952 | maybe-clean-gzip \ | |
11953 | maybe-clean-hello \ | |
11954 | maybe-clean-indent \ | |
11955 | maybe-clean-intl \ | |
11956 | maybe-clean-tcl \ | |
11957 | maybe-clean-itcl \ | |
11958 | maybe-clean-ld \ | |
11959 | maybe-clean-libgui \ | |
11960 | maybe-clean-libiberty \ | |
11961 | maybe-clean-libtool \ | |
11962 | maybe-clean-m4 \ | |
11963 | maybe-clean-make \ | |
11964 | maybe-clean-mmalloc \ | |
11965 | maybe-clean-patch \ | |
11966 | maybe-clean-perl \ | |
11967 | maybe-clean-prms \ | |
11968 | maybe-clean-rcs \ | |
11969 | maybe-clean-readline \ | |
11970 | maybe-clean-release \ | |
11971 | maybe-clean-recode \ | |
11972 | maybe-clean-sed \ | |
11973 | maybe-clean-send-pr \ | |
11974 | maybe-clean-shellutils \ | |
11975 | maybe-clean-sid \ | |
11976 | maybe-clean-sim \ | |
11977 | maybe-clean-tar \ | |
11978 | maybe-clean-texinfo \ | |
11979 | maybe-clean-textutils \ | |
11980 | maybe-clean-time \ | |
11981 | maybe-clean-uudecode \ | |
11982 | maybe-clean-wdiff \ | |
11983 | maybe-clean-zip \ | |
11984 | maybe-clean-zlib \ | |
11985 | maybe-clean-gdb \ | |
11986 | maybe-clean-expect \ | |
11987 | maybe-clean-guile \ | |
11988 | maybe-clean-tk \ | |
11989 | maybe-clean-tix \ | |
11990 | maybe-clean-libtermcap \ | |
11991 | maybe-clean-utils | |
11992 | ||
11993 | .PHONY: clean-target | |
11994 | clean-target: \ | |
11995 | maybe-clean-target-libstdc++-v3 \ | |
11996 | maybe-clean-target-newlib \ | |
11997 | maybe-clean-target-libf2c \ | |
11998 | maybe-clean-target-libobjc \ | |
11999 | maybe-clean-target-libtermcap \ | |
12000 | maybe-clean-target-winsup \ | |
12001 | maybe-clean-target-libgloss \ | |
12002 | maybe-clean-target-libiberty \ | |
12003 | maybe-clean-target-gperf \ | |
12004 | maybe-clean-target-examples \ | |
12005 | maybe-clean-target-libffi \ | |
12006 | maybe-clean-target-libjava \ | |
12007 | maybe-clean-target-zlib \ | |
12008 | maybe-clean-target-boehm-gc \ | |
12009 | maybe-clean-target-qthreads \ | |
12010 | maybe-clean-target-rda | |
12011 | ||
12012 | # GCC, the eternal special case | |
12013 | .PHONY: maybe-clean-gcc clean-gcc | |
12014 | maybe-clean-gcc: | |
12015 | clean-gcc: | |
12016 | @[ -f ./gcc/Makefile ] || exit 0; \ | |
b40e3958 L |
12017 | r=`${PWD_COMMAND}`; export r; \ |
12018 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12019 | $(SET_LIB_PATH) \ |
12020 | for flag in $(EXTRA_GCC_FLAGS); do \ | |
12021 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12022 | done; \ | |
12023 | echo "Doing clean in gcc" ; \ | |
12024 | (cd gcc && \ | |
12025 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12026 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12027 | "RANLIB=$${RANLIB}" \ | |
12028 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12029 | clean) \ | |
12030 | || exit 1 | |
12031 | ||
12032 | # Host modules. | |
12033 | ||
12034 | .PHONY: maybe-clean-ash clean-ash | |
12035 | maybe-clean-ash: | |
12036 | ||
12037 | clean-ash: | |
12038 | @[ -f ./ash/Makefile ] || exit 0; \ | |
b40e3958 L |
12039 | r=`${PWD_COMMAND}`; export r; \ |
12040 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12041 | $(SET_LIB_PATH) \ |
12042 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12043 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12044 | done; \ | |
12045 | echo "Doing clean in ash" ; \ | |
12046 | (cd ash && \ | |
12047 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12048 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12049 | "RANLIB=$${RANLIB}" \ | |
12050 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12051 | clean) \ | |
12052 | || exit 1 | |
12053 | ||
12054 | ||
12055 | .PHONY: maybe-clean-autoconf clean-autoconf | |
12056 | maybe-clean-autoconf: | |
12057 | ||
12058 | clean-autoconf: | |
12059 | @[ -f ./autoconf/Makefile ] || exit 0; \ | |
b40e3958 L |
12060 | r=`${PWD_COMMAND}`; export r; \ |
12061 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12062 | $(SET_LIB_PATH) \ |
12063 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12064 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12065 | done; \ | |
12066 | echo "Doing clean in autoconf" ; \ | |
12067 | (cd autoconf && \ | |
12068 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12069 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12070 | "RANLIB=$${RANLIB}" \ | |
12071 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12072 | clean) \ | |
12073 | || exit 1 | |
12074 | ||
12075 | ||
12076 | .PHONY: maybe-clean-automake clean-automake | |
12077 | maybe-clean-automake: | |
12078 | ||
12079 | clean-automake: | |
12080 | @[ -f ./automake/Makefile ] || exit 0; \ | |
b40e3958 L |
12081 | r=`${PWD_COMMAND}`; export r; \ |
12082 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12083 | $(SET_LIB_PATH) \ |
12084 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12085 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12086 | done; \ | |
12087 | echo "Doing clean in automake" ; \ | |
12088 | (cd automake && \ | |
12089 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12090 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12091 | "RANLIB=$${RANLIB}" \ | |
12092 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12093 | clean) \ | |
12094 | || exit 1 | |
12095 | ||
12096 | ||
12097 | .PHONY: maybe-clean-bash clean-bash | |
12098 | maybe-clean-bash: | |
12099 | ||
12100 | clean-bash: | |
12101 | @[ -f ./bash/Makefile ] || exit 0; \ | |
b40e3958 L |
12102 | r=`${PWD_COMMAND}`; export r; \ |
12103 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12104 | $(SET_LIB_PATH) \ |
12105 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12106 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12107 | done; \ | |
12108 | echo "Doing clean in bash" ; \ | |
12109 | (cd bash && \ | |
12110 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12111 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12112 | "RANLIB=$${RANLIB}" \ | |
12113 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12114 | clean) \ | |
12115 | || exit 1 | |
12116 | ||
12117 | ||
12118 | .PHONY: maybe-clean-bfd clean-bfd | |
12119 | maybe-clean-bfd: | |
12120 | ||
12121 | clean-bfd: | |
12122 | @[ -f ./bfd/Makefile ] || exit 0; \ | |
b40e3958 L |
12123 | r=`${PWD_COMMAND}`; export r; \ |
12124 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12125 | $(SET_LIB_PATH) \ |
12126 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12127 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12128 | done; \ | |
12129 | echo "Doing clean in bfd" ; \ | |
12130 | (cd bfd && \ | |
12131 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12132 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12133 | "RANLIB=$${RANLIB}" \ | |
12134 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12135 | clean) \ | |
12136 | || exit 1 | |
12137 | ||
12138 | ||
12139 | .PHONY: maybe-clean-opcodes clean-opcodes | |
12140 | maybe-clean-opcodes: | |
12141 | ||
12142 | clean-opcodes: | |
12143 | @[ -f ./opcodes/Makefile ] || exit 0; \ | |
b40e3958 L |
12144 | r=`${PWD_COMMAND}`; export r; \ |
12145 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12146 | $(SET_LIB_PATH) \ |
12147 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12148 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12149 | done; \ | |
12150 | echo "Doing clean in opcodes" ; \ | |
12151 | (cd opcodes && \ | |
12152 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12153 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12154 | "RANLIB=$${RANLIB}" \ | |
12155 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12156 | clean) \ | |
12157 | || exit 1 | |
12158 | ||
12159 | ||
12160 | .PHONY: maybe-clean-binutils clean-binutils | |
12161 | maybe-clean-binutils: | |
12162 | ||
12163 | clean-binutils: | |
12164 | @[ -f ./binutils/Makefile ] || exit 0; \ | |
b40e3958 L |
12165 | r=`${PWD_COMMAND}`; export r; \ |
12166 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12167 | $(SET_LIB_PATH) \ |
12168 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12169 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12170 | done; \ | |
12171 | echo "Doing clean in binutils" ; \ | |
12172 | (cd binutils && \ | |
12173 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12174 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12175 | "RANLIB=$${RANLIB}" \ | |
12176 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12177 | clean) \ | |
12178 | || exit 1 | |
12179 | ||
12180 | ||
12181 | .PHONY: maybe-clean-bison clean-bison | |
12182 | maybe-clean-bison: | |
12183 | ||
12184 | clean-bison: | |
12185 | @[ -f ./bison/Makefile ] || exit 0; \ | |
b40e3958 L |
12186 | r=`${PWD_COMMAND}`; export r; \ |
12187 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12188 | $(SET_LIB_PATH) \ |
12189 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12190 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12191 | done; \ | |
12192 | echo "Doing clean in bison" ; \ | |
12193 | (cd bison && \ | |
12194 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12195 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12196 | "RANLIB=$${RANLIB}" \ | |
12197 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12198 | clean) \ | |
12199 | || exit 1 | |
12200 | ||
12201 | ||
12202 | .PHONY: maybe-clean-byacc clean-byacc | |
12203 | maybe-clean-byacc: | |
12204 | ||
12205 | clean-byacc: | |
12206 | @[ -f ./byacc/Makefile ] || exit 0; \ | |
b40e3958 L |
12207 | r=`${PWD_COMMAND}`; export r; \ |
12208 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12209 | $(SET_LIB_PATH) \ |
12210 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12211 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12212 | done; \ | |
12213 | echo "Doing clean in byacc" ; \ | |
12214 | (cd byacc && \ | |
12215 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12216 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12217 | "RANLIB=$${RANLIB}" \ | |
12218 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12219 | clean) \ | |
12220 | || exit 1 | |
12221 | ||
12222 | ||
12223 | .PHONY: maybe-clean-bzip2 clean-bzip2 | |
12224 | maybe-clean-bzip2: | |
12225 | ||
12226 | clean-bzip2: | |
12227 | @[ -f ./bzip2/Makefile ] || exit 0; \ | |
b40e3958 L |
12228 | r=`${PWD_COMMAND}`; export r; \ |
12229 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12230 | $(SET_LIB_PATH) \ |
12231 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12232 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12233 | done; \ | |
12234 | echo "Doing clean in bzip2" ; \ | |
12235 | (cd bzip2 && \ | |
12236 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12237 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12238 | "RANLIB=$${RANLIB}" \ | |
12239 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12240 | clean) \ | |
12241 | || exit 1 | |
12242 | ||
12243 | ||
12244 | .PHONY: maybe-clean-dejagnu clean-dejagnu | |
12245 | maybe-clean-dejagnu: | |
12246 | ||
12247 | clean-dejagnu: | |
12248 | @[ -f ./dejagnu/Makefile ] || exit 0; \ | |
b40e3958 L |
12249 | r=`${PWD_COMMAND}`; export r; \ |
12250 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12251 | $(SET_LIB_PATH) \ |
12252 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12253 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12254 | done; \ | |
12255 | echo "Doing clean in dejagnu" ; \ | |
12256 | (cd dejagnu && \ | |
12257 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12258 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12259 | "RANLIB=$${RANLIB}" \ | |
12260 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12261 | clean) \ | |
12262 | || exit 1 | |
12263 | ||
12264 | ||
12265 | .PHONY: maybe-clean-diff clean-diff | |
12266 | maybe-clean-diff: | |
12267 | ||
12268 | clean-diff: | |
12269 | @[ -f ./diff/Makefile ] || exit 0; \ | |
b40e3958 L |
12270 | r=`${PWD_COMMAND}`; export r; \ |
12271 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12272 | $(SET_LIB_PATH) \ |
12273 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12274 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12275 | done; \ | |
12276 | echo "Doing clean in diff" ; \ | |
12277 | (cd diff && \ | |
12278 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12279 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12280 | "RANLIB=$${RANLIB}" \ | |
12281 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12282 | clean) \ | |
12283 | || exit 1 | |
12284 | ||
12285 | ||
12286 | .PHONY: maybe-clean-dosutils clean-dosutils | |
12287 | maybe-clean-dosutils: | |
12288 | ||
12289 | clean-dosutils: | |
12290 | @[ -f ./dosutils/Makefile ] || exit 0; \ | |
b40e3958 L |
12291 | r=`${PWD_COMMAND}`; export r; \ |
12292 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12293 | $(SET_LIB_PATH) \ |
12294 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12295 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12296 | done; \ | |
12297 | echo "Doing clean in dosutils" ; \ | |
12298 | (cd dosutils && \ | |
12299 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12300 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12301 | "RANLIB=$${RANLIB}" \ | |
12302 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12303 | clean) \ | |
12304 | || exit 1 | |
12305 | ||
12306 | ||
12307 | .PHONY: maybe-clean-etc clean-etc | |
12308 | maybe-clean-etc: | |
12309 | ||
12310 | clean-etc: | |
12311 | @[ -f ./etc/Makefile ] || exit 0; \ | |
b40e3958 L |
12312 | r=`${PWD_COMMAND}`; export r; \ |
12313 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12314 | $(SET_LIB_PATH) \ |
12315 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12316 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12317 | done; \ | |
12318 | echo "Doing clean in etc" ; \ | |
12319 | (cd etc && \ | |
12320 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12321 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12322 | "RANLIB=$${RANLIB}" \ | |
12323 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12324 | clean) \ | |
12325 | || exit 1 | |
12326 | ||
12327 | ||
12328 | .PHONY: maybe-clean-fastjar clean-fastjar | |
12329 | maybe-clean-fastjar: | |
12330 | ||
12331 | clean-fastjar: | |
12332 | @[ -f ./fastjar/Makefile ] || exit 0; \ | |
b40e3958 L |
12333 | r=`${PWD_COMMAND}`; export r; \ |
12334 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12335 | $(SET_LIB_PATH) \ |
12336 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12337 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12338 | done; \ | |
12339 | echo "Doing clean in fastjar" ; \ | |
12340 | (cd fastjar && \ | |
12341 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12342 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12343 | "RANLIB=$${RANLIB}" \ | |
12344 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12345 | clean) \ | |
12346 | || exit 1 | |
12347 | ||
12348 | ||
12349 | .PHONY: maybe-clean-fileutils clean-fileutils | |
12350 | maybe-clean-fileutils: | |
12351 | ||
12352 | clean-fileutils: | |
12353 | @[ -f ./fileutils/Makefile ] || exit 0; \ | |
b40e3958 L |
12354 | r=`${PWD_COMMAND}`; export r; \ |
12355 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12356 | $(SET_LIB_PATH) \ |
12357 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12358 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12359 | done; \ | |
12360 | echo "Doing clean in fileutils" ; \ | |
12361 | (cd fileutils && \ | |
12362 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12363 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12364 | "RANLIB=$${RANLIB}" \ | |
12365 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12366 | clean) \ | |
12367 | || exit 1 | |
12368 | ||
12369 | ||
12370 | .PHONY: maybe-clean-findutils clean-findutils | |
12371 | maybe-clean-findutils: | |
12372 | ||
12373 | clean-findutils: | |
12374 | @[ -f ./findutils/Makefile ] || exit 0; \ | |
b40e3958 L |
12375 | r=`${PWD_COMMAND}`; export r; \ |
12376 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12377 | $(SET_LIB_PATH) \ |
12378 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12379 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12380 | done; \ | |
12381 | echo "Doing clean in findutils" ; \ | |
12382 | (cd findutils && \ | |
12383 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12384 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12385 | "RANLIB=$${RANLIB}" \ | |
12386 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12387 | clean) \ | |
12388 | || exit 1 | |
12389 | ||
12390 | ||
12391 | .PHONY: maybe-clean-find clean-find | |
12392 | maybe-clean-find: | |
12393 | ||
12394 | clean-find: | |
12395 | @[ -f ./find/Makefile ] || exit 0; \ | |
b40e3958 L |
12396 | r=`${PWD_COMMAND}`; export r; \ |
12397 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12398 | $(SET_LIB_PATH) \ |
12399 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12400 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12401 | done; \ | |
12402 | echo "Doing clean in find" ; \ | |
12403 | (cd find && \ | |
12404 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12405 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12406 | "RANLIB=$${RANLIB}" \ | |
12407 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12408 | clean) \ | |
12409 | || exit 1 | |
12410 | ||
12411 | ||
12412 | .PHONY: maybe-clean-flex clean-flex | |
12413 | maybe-clean-flex: | |
12414 | ||
12415 | clean-flex: | |
12416 | @[ -f ./flex/Makefile ] || exit 0; \ | |
b40e3958 L |
12417 | r=`${PWD_COMMAND}`; export r; \ |
12418 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12419 | $(SET_LIB_PATH) \ |
12420 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12421 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12422 | done; \ | |
12423 | echo "Doing clean in flex" ; \ | |
12424 | (cd flex && \ | |
12425 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12426 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12427 | "RANLIB=$${RANLIB}" \ | |
12428 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12429 | clean) \ | |
12430 | || exit 1 | |
12431 | ||
12432 | ||
12433 | .PHONY: maybe-clean-gas clean-gas | |
12434 | maybe-clean-gas: | |
12435 | ||
12436 | clean-gas: | |
12437 | @[ -f ./gas/Makefile ] || exit 0; \ | |
b40e3958 L |
12438 | r=`${PWD_COMMAND}`; export r; \ |
12439 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12440 | $(SET_LIB_PATH) \ |
12441 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12442 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12443 | done; \ | |
12444 | echo "Doing clean in gas" ; \ | |
12445 | (cd gas && \ | |
12446 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12447 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12448 | "RANLIB=$${RANLIB}" \ | |
12449 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12450 | clean) \ | |
12451 | || exit 1 | |
12452 | ||
12453 | ||
12454 | .PHONY: maybe-clean-gawk clean-gawk | |
12455 | maybe-clean-gawk: | |
12456 | ||
12457 | clean-gawk: | |
12458 | @[ -f ./gawk/Makefile ] || exit 0; \ | |
b40e3958 L |
12459 | r=`${PWD_COMMAND}`; export r; \ |
12460 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12461 | $(SET_LIB_PATH) \ |
12462 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12463 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12464 | done; \ | |
12465 | echo "Doing clean in gawk" ; \ | |
12466 | (cd gawk && \ | |
12467 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12468 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12469 | "RANLIB=$${RANLIB}" \ | |
12470 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12471 | clean) \ | |
12472 | || exit 1 | |
12473 | ||
12474 | ||
12475 | .PHONY: maybe-clean-gettext clean-gettext | |
12476 | maybe-clean-gettext: | |
12477 | ||
12478 | clean-gettext: | |
12479 | @[ -f ./gettext/Makefile ] || exit 0; \ | |
b40e3958 L |
12480 | r=`${PWD_COMMAND}`; export r; \ |
12481 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12482 | $(SET_LIB_PATH) \ |
12483 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12484 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12485 | done; \ | |
12486 | echo "Doing clean in gettext" ; \ | |
12487 | (cd gettext && \ | |
12488 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12489 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12490 | "RANLIB=$${RANLIB}" \ | |
12491 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12492 | clean) \ | |
12493 | || exit 1 | |
12494 | ||
12495 | ||
12496 | .PHONY: maybe-clean-gnuserv clean-gnuserv | |
12497 | maybe-clean-gnuserv: | |
12498 | ||
12499 | clean-gnuserv: | |
12500 | @[ -f ./gnuserv/Makefile ] || exit 0; \ | |
b40e3958 L |
12501 | r=`${PWD_COMMAND}`; export r; \ |
12502 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12503 | $(SET_LIB_PATH) \ |
12504 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12505 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12506 | done; \ | |
12507 | echo "Doing clean in gnuserv" ; \ | |
12508 | (cd gnuserv && \ | |
12509 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12510 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12511 | "RANLIB=$${RANLIB}" \ | |
12512 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12513 | clean) \ | |
12514 | || exit 1 | |
12515 | ||
12516 | ||
12517 | .PHONY: maybe-clean-gprof clean-gprof | |
12518 | maybe-clean-gprof: | |
12519 | ||
12520 | clean-gprof: | |
12521 | @[ -f ./gprof/Makefile ] || exit 0; \ | |
b40e3958 L |
12522 | r=`${PWD_COMMAND}`; export r; \ |
12523 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12524 | $(SET_LIB_PATH) \ |
12525 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12526 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12527 | done; \ | |
12528 | echo "Doing clean in gprof" ; \ | |
12529 | (cd gprof && \ | |
12530 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12531 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12532 | "RANLIB=$${RANLIB}" \ | |
12533 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12534 | clean) \ | |
12535 | || exit 1 | |
12536 | ||
12537 | ||
12538 | .PHONY: maybe-clean-gzip clean-gzip | |
12539 | maybe-clean-gzip: | |
12540 | ||
12541 | clean-gzip: | |
12542 | @[ -f ./gzip/Makefile ] || exit 0; \ | |
b40e3958 L |
12543 | r=`${PWD_COMMAND}`; export r; \ |
12544 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12545 | $(SET_LIB_PATH) \ |
12546 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12547 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12548 | done; \ | |
12549 | echo "Doing clean in gzip" ; \ | |
12550 | (cd gzip && \ | |
12551 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12552 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12553 | "RANLIB=$${RANLIB}" \ | |
12554 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12555 | clean) \ | |
12556 | || exit 1 | |
12557 | ||
12558 | ||
12559 | .PHONY: maybe-clean-hello clean-hello | |
12560 | maybe-clean-hello: | |
12561 | ||
12562 | clean-hello: | |
12563 | @[ -f ./hello/Makefile ] || exit 0; \ | |
b40e3958 L |
12564 | r=`${PWD_COMMAND}`; export r; \ |
12565 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12566 | $(SET_LIB_PATH) \ |
12567 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12568 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12569 | done; \ | |
12570 | echo "Doing clean in hello" ; \ | |
12571 | (cd hello && \ | |
12572 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12573 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12574 | "RANLIB=$${RANLIB}" \ | |
12575 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12576 | clean) \ | |
12577 | || exit 1 | |
12578 | ||
12579 | ||
12580 | .PHONY: maybe-clean-indent clean-indent | |
12581 | maybe-clean-indent: | |
12582 | ||
12583 | clean-indent: | |
12584 | @[ -f ./indent/Makefile ] || exit 0; \ | |
b40e3958 L |
12585 | r=`${PWD_COMMAND}`; export r; \ |
12586 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12587 | $(SET_LIB_PATH) \ |
12588 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12589 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12590 | done; \ | |
12591 | echo "Doing clean in indent" ; \ | |
12592 | (cd indent && \ | |
12593 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12594 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12595 | "RANLIB=$${RANLIB}" \ | |
12596 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12597 | clean) \ | |
12598 | || exit 1 | |
12599 | ||
12600 | ||
12601 | .PHONY: maybe-clean-intl clean-intl | |
12602 | maybe-clean-intl: | |
12603 | ||
12604 | clean-intl: | |
12605 | @[ -f ./intl/Makefile ] || exit 0; \ | |
b40e3958 L |
12606 | r=`${PWD_COMMAND}`; export r; \ |
12607 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12608 | $(SET_LIB_PATH) \ |
12609 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12610 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12611 | done; \ | |
12612 | echo "Doing clean in intl" ; \ | |
12613 | (cd intl && \ | |
12614 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12615 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12616 | "RANLIB=$${RANLIB}" \ | |
12617 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12618 | clean) \ | |
12619 | || exit 1 | |
12620 | ||
12621 | ||
12622 | .PHONY: maybe-clean-tcl clean-tcl | |
12623 | maybe-clean-tcl: | |
12624 | ||
12625 | clean-tcl: | |
12626 | @[ -f ./tcl/Makefile ] || exit 0; \ | |
b40e3958 L |
12627 | r=`${PWD_COMMAND}`; export r; \ |
12628 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12629 | $(SET_LIB_PATH) \ |
12630 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12631 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12632 | done; \ | |
12633 | echo "Doing clean in tcl" ; \ | |
12634 | (cd tcl && \ | |
12635 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12636 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12637 | "RANLIB=$${RANLIB}" \ | |
12638 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12639 | clean) \ | |
12640 | || exit 1 | |
12641 | ||
12642 | ||
12643 | .PHONY: maybe-clean-itcl clean-itcl | |
12644 | maybe-clean-itcl: | |
12645 | ||
12646 | clean-itcl: | |
12647 | @[ -f ./itcl/Makefile ] || exit 0; \ | |
b40e3958 L |
12648 | r=`${PWD_COMMAND}`; export r; \ |
12649 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12650 | $(SET_LIB_PATH) \ |
12651 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12652 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12653 | done; \ | |
12654 | echo "Doing clean in itcl" ; \ | |
12655 | (cd itcl && \ | |
12656 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12657 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12658 | "RANLIB=$${RANLIB}" \ | |
12659 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12660 | clean) \ | |
12661 | || exit 1 | |
12662 | ||
12663 | ||
12664 | .PHONY: maybe-clean-ld clean-ld | |
12665 | maybe-clean-ld: | |
12666 | ||
12667 | clean-ld: | |
12668 | @[ -f ./ld/Makefile ] || exit 0; \ | |
b40e3958 L |
12669 | r=`${PWD_COMMAND}`; export r; \ |
12670 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12671 | $(SET_LIB_PATH) \ |
12672 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12673 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12674 | done; \ | |
12675 | echo "Doing clean in ld" ; \ | |
12676 | (cd ld && \ | |
12677 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12678 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12679 | "RANLIB=$${RANLIB}" \ | |
12680 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12681 | clean) \ | |
12682 | || exit 1 | |
12683 | ||
12684 | ||
12685 | .PHONY: maybe-clean-libgui clean-libgui | |
12686 | maybe-clean-libgui: | |
12687 | ||
12688 | clean-libgui: | |
12689 | @[ -f ./libgui/Makefile ] || exit 0; \ | |
b40e3958 L |
12690 | r=`${PWD_COMMAND}`; export r; \ |
12691 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12692 | $(SET_LIB_PATH) \ |
12693 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12694 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12695 | done; \ | |
12696 | echo "Doing clean in libgui" ; \ | |
12697 | (cd libgui && \ | |
12698 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12699 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12700 | "RANLIB=$${RANLIB}" \ | |
12701 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12702 | clean) \ | |
12703 | || exit 1 | |
12704 | ||
12705 | ||
12706 | .PHONY: maybe-clean-libiberty clean-libiberty | |
12707 | maybe-clean-libiberty: | |
12708 | ||
12709 | clean-libiberty: | |
12710 | @[ -f ./libiberty/Makefile ] || exit 0; \ | |
b40e3958 L |
12711 | r=`${PWD_COMMAND}`; export r; \ |
12712 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12713 | $(SET_LIB_PATH) \ |
12714 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12715 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12716 | done; \ | |
12717 | echo "Doing clean in libiberty" ; \ | |
12718 | (cd libiberty && \ | |
12719 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12720 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12721 | "RANLIB=$${RANLIB}" \ | |
12722 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12723 | clean) \ | |
12724 | || exit 1 | |
12725 | ||
12726 | ||
12727 | .PHONY: maybe-clean-libtool clean-libtool | |
12728 | maybe-clean-libtool: | |
12729 | ||
12730 | clean-libtool: | |
12731 | @[ -f ./libtool/Makefile ] || exit 0; \ | |
b40e3958 L |
12732 | r=`${PWD_COMMAND}`; export r; \ |
12733 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12734 | $(SET_LIB_PATH) \ |
12735 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12736 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12737 | done; \ | |
12738 | echo "Doing clean in libtool" ; \ | |
12739 | (cd libtool && \ | |
12740 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12741 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12742 | "RANLIB=$${RANLIB}" \ | |
12743 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12744 | clean) \ | |
12745 | || exit 1 | |
12746 | ||
12747 | ||
12748 | .PHONY: maybe-clean-m4 clean-m4 | |
12749 | maybe-clean-m4: | |
12750 | ||
12751 | clean-m4: | |
12752 | @[ -f ./m4/Makefile ] || exit 0; \ | |
b40e3958 L |
12753 | r=`${PWD_COMMAND}`; export r; \ |
12754 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12755 | $(SET_LIB_PATH) \ |
12756 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12757 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12758 | done; \ | |
12759 | echo "Doing clean in m4" ; \ | |
12760 | (cd m4 && \ | |
12761 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12762 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12763 | "RANLIB=$${RANLIB}" \ | |
12764 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12765 | clean) \ | |
12766 | || exit 1 | |
12767 | ||
12768 | ||
12769 | .PHONY: maybe-clean-make clean-make | |
12770 | maybe-clean-make: | |
12771 | ||
12772 | clean-make: | |
12773 | @[ -f ./make/Makefile ] || exit 0; \ | |
b40e3958 L |
12774 | r=`${PWD_COMMAND}`; export r; \ |
12775 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12776 | $(SET_LIB_PATH) \ |
12777 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12778 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12779 | done; \ | |
12780 | echo "Doing clean in make" ; \ | |
12781 | (cd make && \ | |
12782 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12783 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12784 | "RANLIB=$${RANLIB}" \ | |
12785 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12786 | clean) \ | |
12787 | || exit 1 | |
12788 | ||
12789 | ||
12790 | .PHONY: maybe-clean-mmalloc clean-mmalloc | |
12791 | maybe-clean-mmalloc: | |
12792 | ||
12793 | clean-mmalloc: | |
12794 | @[ -f ./mmalloc/Makefile ] || exit 0; \ | |
b40e3958 L |
12795 | r=`${PWD_COMMAND}`; export r; \ |
12796 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12797 | $(SET_LIB_PATH) \ |
12798 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12799 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12800 | done; \ | |
12801 | echo "Doing clean in mmalloc" ; \ | |
12802 | (cd mmalloc && \ | |
12803 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12804 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12805 | "RANLIB=$${RANLIB}" \ | |
12806 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12807 | clean) \ | |
12808 | || exit 1 | |
12809 | ||
12810 | ||
12811 | .PHONY: maybe-clean-patch clean-patch | |
12812 | maybe-clean-patch: | |
12813 | ||
12814 | clean-patch: | |
12815 | @[ -f ./patch/Makefile ] || exit 0; \ | |
b40e3958 L |
12816 | r=`${PWD_COMMAND}`; export r; \ |
12817 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12818 | $(SET_LIB_PATH) \ |
12819 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12820 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12821 | done; \ | |
12822 | echo "Doing clean in patch" ; \ | |
12823 | (cd patch && \ | |
12824 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12825 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12826 | "RANLIB=$${RANLIB}" \ | |
12827 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12828 | clean) \ | |
12829 | || exit 1 | |
12830 | ||
12831 | ||
12832 | .PHONY: maybe-clean-perl clean-perl | |
12833 | maybe-clean-perl: | |
12834 | ||
12835 | clean-perl: | |
12836 | @[ -f ./perl/Makefile ] || exit 0; \ | |
b40e3958 L |
12837 | r=`${PWD_COMMAND}`; export r; \ |
12838 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12839 | $(SET_LIB_PATH) \ |
12840 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12841 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12842 | done; \ | |
12843 | echo "Doing clean in perl" ; \ | |
12844 | (cd perl && \ | |
12845 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12846 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12847 | "RANLIB=$${RANLIB}" \ | |
12848 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12849 | clean) \ | |
12850 | || exit 1 | |
12851 | ||
12852 | ||
12853 | .PHONY: maybe-clean-prms clean-prms | |
12854 | maybe-clean-prms: | |
12855 | ||
12856 | clean-prms: | |
12857 | @[ -f ./prms/Makefile ] || exit 0; \ | |
b40e3958 L |
12858 | r=`${PWD_COMMAND}`; export r; \ |
12859 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12860 | $(SET_LIB_PATH) \ |
12861 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12862 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12863 | done; \ | |
12864 | echo "Doing clean in prms" ; \ | |
12865 | (cd prms && \ | |
12866 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12867 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12868 | "RANLIB=$${RANLIB}" \ | |
12869 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12870 | clean) \ | |
12871 | || exit 1 | |
12872 | ||
12873 | ||
12874 | .PHONY: maybe-clean-rcs clean-rcs | |
12875 | maybe-clean-rcs: | |
12876 | ||
12877 | clean-rcs: | |
12878 | @[ -f ./rcs/Makefile ] || exit 0; \ | |
b40e3958 L |
12879 | r=`${PWD_COMMAND}`; export r; \ |
12880 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12881 | $(SET_LIB_PATH) \ |
12882 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12883 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12884 | done; \ | |
12885 | echo "Doing clean in rcs" ; \ | |
12886 | (cd rcs && \ | |
12887 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12888 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12889 | "RANLIB=$${RANLIB}" \ | |
12890 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12891 | clean) \ | |
12892 | || exit 1 | |
12893 | ||
12894 | ||
12895 | .PHONY: maybe-clean-readline clean-readline | |
12896 | maybe-clean-readline: | |
12897 | ||
12898 | clean-readline: | |
12899 | @[ -f ./readline/Makefile ] || exit 0; \ | |
b40e3958 L |
12900 | r=`${PWD_COMMAND}`; export r; \ |
12901 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12902 | $(SET_LIB_PATH) \ |
12903 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12904 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12905 | done; \ | |
12906 | echo "Doing clean in readline" ; \ | |
12907 | (cd readline && \ | |
12908 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12909 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12910 | "RANLIB=$${RANLIB}" \ | |
12911 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12912 | clean) \ | |
12913 | || exit 1 | |
12914 | ||
12915 | ||
12916 | .PHONY: maybe-clean-release clean-release | |
12917 | maybe-clean-release: | |
12918 | ||
12919 | clean-release: | |
12920 | @[ -f ./release/Makefile ] || exit 0; \ | |
b40e3958 L |
12921 | r=`${PWD_COMMAND}`; export r; \ |
12922 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12923 | $(SET_LIB_PATH) \ |
12924 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12925 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12926 | done; \ | |
12927 | echo "Doing clean in release" ; \ | |
12928 | (cd release && \ | |
12929 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12930 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12931 | "RANLIB=$${RANLIB}" \ | |
12932 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12933 | clean) \ | |
12934 | || exit 1 | |
12935 | ||
12936 | ||
12937 | .PHONY: maybe-clean-recode clean-recode | |
12938 | maybe-clean-recode: | |
12939 | ||
12940 | clean-recode: | |
12941 | @[ -f ./recode/Makefile ] || exit 0; \ | |
b40e3958 L |
12942 | r=`${PWD_COMMAND}`; export r; \ |
12943 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12944 | $(SET_LIB_PATH) \ |
12945 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12946 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12947 | done; \ | |
12948 | echo "Doing clean in recode" ; \ | |
12949 | (cd recode && \ | |
12950 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12951 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12952 | "RANLIB=$${RANLIB}" \ | |
12953 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12954 | clean) \ | |
12955 | || exit 1 | |
12956 | ||
12957 | ||
12958 | .PHONY: maybe-clean-sed clean-sed | |
12959 | maybe-clean-sed: | |
12960 | ||
12961 | clean-sed: | |
12962 | @[ -f ./sed/Makefile ] || exit 0; \ | |
b40e3958 L |
12963 | r=`${PWD_COMMAND}`; export r; \ |
12964 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12965 | $(SET_LIB_PATH) \ |
12966 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12967 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12968 | done; \ | |
12969 | echo "Doing clean in sed" ; \ | |
12970 | (cd sed && \ | |
12971 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12972 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12973 | "RANLIB=$${RANLIB}" \ | |
12974 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12975 | clean) \ | |
12976 | || exit 1 | |
12977 | ||
12978 | ||
12979 | .PHONY: maybe-clean-send-pr clean-send-pr | |
12980 | maybe-clean-send-pr: | |
12981 | ||
12982 | clean-send-pr: | |
12983 | @[ -f ./send-pr/Makefile ] || exit 0; \ | |
b40e3958 L |
12984 | r=`${PWD_COMMAND}`; export r; \ |
12985 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12986 | $(SET_LIB_PATH) \ |
12987 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12988 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12989 | done; \ | |
12990 | echo "Doing clean in send-pr" ; \ | |
12991 | (cd send-pr && \ | |
12992 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12993 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12994 | "RANLIB=$${RANLIB}" \ | |
12995 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12996 | clean) \ | |
12997 | || exit 1 | |
12998 | ||
12999 | ||
13000 | .PHONY: maybe-clean-shellutils clean-shellutils | |
13001 | maybe-clean-shellutils: | |
13002 | ||
13003 | clean-shellutils: | |
13004 | @[ -f ./shellutils/Makefile ] || exit 0; \ | |
b40e3958 L |
13005 | r=`${PWD_COMMAND}`; export r; \ |
13006 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13007 | $(SET_LIB_PATH) \ |
13008 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13009 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13010 | done; \ | |
13011 | echo "Doing clean in shellutils" ; \ | |
13012 | (cd shellutils && \ | |
13013 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13014 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13015 | "RANLIB=$${RANLIB}" \ | |
13016 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13017 | clean) \ | |
13018 | || exit 1 | |
13019 | ||
13020 | ||
13021 | .PHONY: maybe-clean-sid clean-sid | |
13022 | maybe-clean-sid: | |
13023 | ||
13024 | clean-sid: | |
13025 | @[ -f ./sid/Makefile ] || exit 0; \ | |
b40e3958 L |
13026 | r=`${PWD_COMMAND}`; export r; \ |
13027 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13028 | $(SET_LIB_PATH) \ |
13029 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13030 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13031 | done; \ | |
13032 | echo "Doing clean in sid" ; \ | |
13033 | (cd sid && \ | |
13034 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13035 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13036 | "RANLIB=$${RANLIB}" \ | |
13037 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13038 | clean) \ | |
13039 | || exit 1 | |
13040 | ||
13041 | ||
13042 | .PHONY: maybe-clean-sim clean-sim | |
13043 | maybe-clean-sim: | |
13044 | ||
13045 | clean-sim: | |
13046 | @[ -f ./sim/Makefile ] || exit 0; \ | |
b40e3958 L |
13047 | r=`${PWD_COMMAND}`; export r; \ |
13048 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13049 | $(SET_LIB_PATH) \ |
13050 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13051 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13052 | done; \ | |
13053 | echo "Doing clean in sim" ; \ | |
13054 | (cd sim && \ | |
13055 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13056 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13057 | "RANLIB=$${RANLIB}" \ | |
13058 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13059 | clean) \ | |
13060 | || exit 1 | |
13061 | ||
13062 | ||
13063 | .PHONY: maybe-clean-tar clean-tar | |
13064 | maybe-clean-tar: | |
13065 | ||
13066 | clean-tar: | |
13067 | @[ -f ./tar/Makefile ] || exit 0; \ | |
b40e3958 L |
13068 | r=`${PWD_COMMAND}`; export r; \ |
13069 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13070 | $(SET_LIB_PATH) \ |
13071 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13072 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13073 | done; \ | |
13074 | echo "Doing clean in tar" ; \ | |
13075 | (cd tar && \ | |
13076 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13077 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13078 | "RANLIB=$${RANLIB}" \ | |
13079 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13080 | clean) \ | |
13081 | || exit 1 | |
13082 | ||
13083 | ||
13084 | .PHONY: maybe-clean-texinfo clean-texinfo | |
13085 | maybe-clean-texinfo: | |
13086 | ||
13087 | clean-texinfo: | |
13088 | @[ -f ./texinfo/Makefile ] || exit 0; \ | |
b40e3958 L |
13089 | r=`${PWD_COMMAND}`; export r; \ |
13090 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13091 | $(SET_LIB_PATH) \ |
13092 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13093 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13094 | done; \ | |
13095 | echo "Doing clean in texinfo" ; \ | |
13096 | (cd texinfo && \ | |
13097 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13098 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13099 | "RANLIB=$${RANLIB}" \ | |
13100 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13101 | clean) \ | |
13102 | || exit 1 | |
13103 | ||
13104 | ||
13105 | .PHONY: maybe-clean-textutils clean-textutils | |
13106 | maybe-clean-textutils: | |
13107 | ||
13108 | clean-textutils: | |
13109 | @[ -f ./textutils/Makefile ] || exit 0; \ | |
b40e3958 L |
13110 | r=`${PWD_COMMAND}`; export r; \ |
13111 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13112 | $(SET_LIB_PATH) \ |
13113 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13114 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13115 | done; \ | |
13116 | echo "Doing clean in textutils" ; \ | |
13117 | (cd textutils && \ | |
13118 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13119 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13120 | "RANLIB=$${RANLIB}" \ | |
13121 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13122 | clean) \ | |
13123 | || exit 1 | |
13124 | ||
13125 | ||
13126 | .PHONY: maybe-clean-time clean-time | |
13127 | maybe-clean-time: | |
13128 | ||
13129 | clean-time: | |
13130 | @[ -f ./time/Makefile ] || exit 0; \ | |
b40e3958 L |
13131 | r=`${PWD_COMMAND}`; export r; \ |
13132 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13133 | $(SET_LIB_PATH) \ |
13134 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13135 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13136 | done; \ | |
13137 | echo "Doing clean in time" ; \ | |
13138 | (cd time && \ | |
13139 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13140 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13141 | "RANLIB=$${RANLIB}" \ | |
13142 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13143 | clean) \ | |
13144 | || exit 1 | |
13145 | ||
13146 | ||
13147 | .PHONY: maybe-clean-uudecode clean-uudecode | |
13148 | maybe-clean-uudecode: | |
13149 | ||
13150 | clean-uudecode: | |
13151 | @[ -f ./uudecode/Makefile ] || exit 0; \ | |
b40e3958 L |
13152 | r=`${PWD_COMMAND}`; export r; \ |
13153 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13154 | $(SET_LIB_PATH) \ |
13155 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13156 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13157 | done; \ | |
13158 | echo "Doing clean in uudecode" ; \ | |
13159 | (cd uudecode && \ | |
13160 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13161 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13162 | "RANLIB=$${RANLIB}" \ | |
13163 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13164 | clean) \ | |
13165 | || exit 1 | |
13166 | ||
13167 | ||
13168 | .PHONY: maybe-clean-wdiff clean-wdiff | |
13169 | maybe-clean-wdiff: | |
13170 | ||
13171 | clean-wdiff: | |
13172 | @[ -f ./wdiff/Makefile ] || exit 0; \ | |
b40e3958 L |
13173 | r=`${PWD_COMMAND}`; export r; \ |
13174 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13175 | $(SET_LIB_PATH) \ |
13176 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13177 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13178 | done; \ | |
13179 | echo "Doing clean in wdiff" ; \ | |
13180 | (cd wdiff && \ | |
13181 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13182 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13183 | "RANLIB=$${RANLIB}" \ | |
13184 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13185 | clean) \ | |
13186 | || exit 1 | |
13187 | ||
13188 | ||
13189 | .PHONY: maybe-clean-zip clean-zip | |
13190 | maybe-clean-zip: | |
13191 | ||
13192 | clean-zip: | |
13193 | @[ -f ./zip/Makefile ] || exit 0; \ | |
b40e3958 L |
13194 | r=`${PWD_COMMAND}`; export r; \ |
13195 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13196 | $(SET_LIB_PATH) \ |
13197 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13198 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13199 | done; \ | |
13200 | echo "Doing clean in zip" ; \ | |
13201 | (cd zip && \ | |
13202 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13203 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13204 | "RANLIB=$${RANLIB}" \ | |
13205 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13206 | clean) \ | |
13207 | || exit 1 | |
13208 | ||
13209 | ||
13210 | .PHONY: maybe-clean-zlib clean-zlib | |
13211 | maybe-clean-zlib: | |
13212 | ||
13213 | clean-zlib: | |
13214 | @[ -f ./zlib/Makefile ] || exit 0; \ | |
b40e3958 L |
13215 | r=`${PWD_COMMAND}`; export r; \ |
13216 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13217 | $(SET_LIB_PATH) \ |
13218 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13219 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13220 | done; \ | |
13221 | echo "Doing clean in zlib" ; \ | |
13222 | (cd zlib && \ | |
13223 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13224 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13225 | "RANLIB=$${RANLIB}" \ | |
13226 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13227 | clean) \ | |
13228 | || exit 1 | |
13229 | ||
13230 | ||
13231 | .PHONY: maybe-clean-gdb clean-gdb | |
13232 | maybe-clean-gdb: | |
13233 | ||
13234 | clean-gdb: | |
13235 | @[ -f ./gdb/Makefile ] || exit 0; \ | |
b40e3958 L |
13236 | r=`${PWD_COMMAND}`; export r; \ |
13237 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13238 | $(SET_LIB_PATH) \ |
13239 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13240 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13241 | done; \ | |
13242 | echo "Doing clean in gdb" ; \ | |
13243 | (cd gdb && \ | |
13244 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13245 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13246 | "RANLIB=$${RANLIB}" \ | |
13247 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13248 | clean) \ | |
13249 | || exit 1 | |
13250 | ||
13251 | ||
13252 | .PHONY: maybe-clean-expect clean-expect | |
13253 | maybe-clean-expect: | |
13254 | ||
13255 | clean-expect: | |
13256 | @[ -f ./expect/Makefile ] || exit 0; \ | |
b40e3958 L |
13257 | r=`${PWD_COMMAND}`; export r; \ |
13258 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13259 | $(SET_LIB_PATH) \ |
13260 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13261 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13262 | done; \ | |
13263 | echo "Doing clean in expect" ; \ | |
13264 | (cd expect && \ | |
13265 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13266 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13267 | "RANLIB=$${RANLIB}" \ | |
13268 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13269 | clean) \ | |
13270 | || exit 1 | |
13271 | ||
13272 | ||
13273 | .PHONY: maybe-clean-guile clean-guile | |
13274 | maybe-clean-guile: | |
13275 | ||
13276 | clean-guile: | |
13277 | @[ -f ./guile/Makefile ] || exit 0; \ | |
b40e3958 L |
13278 | r=`${PWD_COMMAND}`; export r; \ |
13279 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13280 | $(SET_LIB_PATH) \ |
13281 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13282 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13283 | done; \ | |
13284 | echo "Doing clean in guile" ; \ | |
13285 | (cd guile && \ | |
13286 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13287 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13288 | "RANLIB=$${RANLIB}" \ | |
13289 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13290 | clean) \ | |
13291 | || exit 1 | |
13292 | ||
13293 | ||
13294 | .PHONY: maybe-clean-tk clean-tk | |
13295 | maybe-clean-tk: | |
13296 | ||
13297 | clean-tk: | |
13298 | @[ -f ./tk/Makefile ] || exit 0; \ | |
b40e3958 L |
13299 | r=`${PWD_COMMAND}`; export r; \ |
13300 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13301 | $(SET_LIB_PATH) \ |
13302 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13303 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13304 | done; \ | |
13305 | echo "Doing clean in tk" ; \ | |
13306 | (cd tk && \ | |
13307 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13308 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13309 | "RANLIB=$${RANLIB}" \ | |
13310 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13311 | clean) \ | |
13312 | || exit 1 | |
13313 | ||
13314 | ||
13315 | .PHONY: maybe-clean-tix clean-tix | |
13316 | maybe-clean-tix: | |
13317 | ||
13318 | clean-tix: | |
13319 | @[ -f ./tix/Makefile ] || exit 0; \ | |
b40e3958 L |
13320 | r=`${PWD_COMMAND}`; export r; \ |
13321 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13322 | $(SET_LIB_PATH) \ |
13323 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13324 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13325 | done; \ | |
13326 | echo "Doing clean in tix" ; \ | |
13327 | (cd tix && \ | |
13328 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13329 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13330 | "RANLIB=$${RANLIB}" \ | |
13331 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13332 | clean) \ | |
13333 | || exit 1 | |
13334 | ||
13335 | ||
13336 | .PHONY: maybe-clean-libtermcap clean-libtermcap | |
13337 | maybe-clean-libtermcap: | |
13338 | ||
13339 | # libtermcap doesn't support clean. | |
13340 | clean-libtermcap: | |
13341 | ||
13342 | ||
13343 | .PHONY: maybe-clean-utils clean-utils | |
13344 | maybe-clean-utils: | |
13345 | ||
13346 | clean-utils: | |
13347 | @[ -f ./utils/Makefile ] || exit 0; \ | |
b40e3958 L |
13348 | r=`${PWD_COMMAND}`; export r; \ |
13349 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13350 | $(SET_LIB_PATH) \ |
13351 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13352 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13353 | done; \ | |
13354 | echo "Doing clean in utils" ; \ | |
13355 | (cd utils && \ | |
13356 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13357 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13358 | "RANLIB=$${RANLIB}" \ | |
13359 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13360 | clean) \ | |
13361 | || exit 1 | |
13362 | ||
13363 | ||
13364 | ||
13365 | # Target modules. | |
13366 | ||
13367 | .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3 | |
13368 | maybe-clean-target-libstdc++-v3: | |
13369 | ||
13370 | clean-target-libstdc++-v3: | |
13371 | @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ | |
b40e3958 L |
13372 | r=`${PWD_COMMAND}`; export r; \ |
13373 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13374 | $(SET_LIB_PATH) \ |
13375 | echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \ | |
13376 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13377 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13378 | done; \ | |
13379 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
13380 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13381 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13382 | "RANLIB=$${RANLIB}" \ | |
13383 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13384 | clean) \ | |
13385 | || exit 1 | |
13386 | ||
13387 | ||
13388 | .PHONY: maybe-clean-target-newlib clean-target-newlib | |
13389 | maybe-clean-target-newlib: | |
13390 | ||
13391 | clean-target-newlib: | |
13392 | @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
13393 | r=`${PWD_COMMAND}`; export r; \ |
13394 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13395 | $(SET_LIB_PATH) \ |
13396 | echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \ | |
13397 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13398 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13399 | done; \ | |
13400 | (cd $(TARGET_SUBDIR)/newlib && \ | |
13401 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13402 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13403 | "RANLIB=$${RANLIB}" \ | |
13404 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13405 | clean) \ | |
13406 | || exit 1 | |
13407 | ||
13408 | ||
13409 | .PHONY: maybe-clean-target-libf2c clean-target-libf2c | |
13410 | maybe-clean-target-libf2c: | |
13411 | ||
13412 | clean-target-libf2c: | |
13413 | @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \ | |
b40e3958 L |
13414 | r=`${PWD_COMMAND}`; export r; \ |
13415 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13416 | $(SET_LIB_PATH) \ |
13417 | echo "Doing clean in $(TARGET_SUBDIR)/libf2c" ; \ | |
13418 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13419 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13420 | done; \ | |
13421 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
13422 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13423 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13424 | "RANLIB=$${RANLIB}" \ | |
13425 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13426 | clean) \ | |
13427 | || exit 1 | |
13428 | ||
13429 | ||
13430 | .PHONY: maybe-clean-target-libobjc clean-target-libobjc | |
13431 | maybe-clean-target-libobjc: | |
13432 | ||
13433 | clean-target-libobjc: | |
13434 | @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
13435 | r=`${PWD_COMMAND}`; export r; \ |
13436 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13437 | $(SET_LIB_PATH) \ |
13438 | echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \ | |
13439 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13440 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13441 | done; \ | |
13442 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
13443 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13444 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13445 | "RANLIB=$${RANLIB}" \ | |
13446 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13447 | clean) \ | |
13448 | || exit 1 | |
13449 | ||
13450 | ||
13451 | .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap | |
13452 | maybe-clean-target-libtermcap: | |
13453 | ||
13454 | # libtermcap doesn't support clean. | |
123494c8 | 13455 | clean-target-libtermcap: |
2a4cbe27 NN |
13456 | |
13457 | ||
13458 | .PHONY: maybe-clean-target-winsup clean-target-winsup | |
13459 | maybe-clean-target-winsup: | |
13460 | ||
13461 | clean-target-winsup: | |
13462 | @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ | |
b40e3958 L |
13463 | r=`${PWD_COMMAND}`; export r; \ |
13464 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13465 | $(SET_LIB_PATH) \ |
13466 | echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \ | |
13467 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13468 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13469 | done; \ | |
13470 | (cd $(TARGET_SUBDIR)/winsup && \ | |
13471 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13472 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13473 | "RANLIB=$${RANLIB}" \ | |
13474 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13475 | clean) \ | |
13476 | || exit 1 | |
13477 | ||
13478 | ||
13479 | .PHONY: maybe-clean-target-libgloss clean-target-libgloss | |
13480 | maybe-clean-target-libgloss: | |
13481 | ||
13482 | clean-target-libgloss: | |
13483 | @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ | |
b40e3958 L |
13484 | r=`${PWD_COMMAND}`; export r; \ |
13485 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13486 | $(SET_LIB_PATH) \ |
13487 | echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \ | |
13488 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13489 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13490 | done; \ | |
13491 | (cd $(TARGET_SUBDIR)/libgloss && \ | |
13492 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13493 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13494 | "RANLIB=$${RANLIB}" \ | |
13495 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13496 | clean) \ | |
13497 | || exit 1 | |
13498 | ||
13499 | ||
13500 | .PHONY: maybe-clean-target-libiberty clean-target-libiberty | |
13501 | maybe-clean-target-libiberty: | |
13502 | ||
13503 | clean-target-libiberty: | |
13504 | @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ | |
b40e3958 L |
13505 | r=`${PWD_COMMAND}`; export r; \ |
13506 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13507 | $(SET_LIB_PATH) \ |
13508 | echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \ | |
13509 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13510 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13511 | done; \ | |
13512 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
13513 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13514 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13515 | "RANLIB=$${RANLIB}" \ | |
13516 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13517 | clean) \ | |
13518 | || exit 1 | |
13519 | ||
13520 | ||
13521 | .PHONY: maybe-clean-target-gperf clean-target-gperf | |
13522 | maybe-clean-target-gperf: | |
13523 | ||
13524 | clean-target-gperf: | |
13525 | @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ | |
b40e3958 L |
13526 | r=`${PWD_COMMAND}`; export r; \ |
13527 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13528 | $(SET_LIB_PATH) \ |
13529 | echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \ | |
13530 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13531 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13532 | done; \ | |
13533 | (cd $(TARGET_SUBDIR)/gperf && \ | |
13534 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13535 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13536 | "RANLIB=$${RANLIB}" \ | |
13537 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13538 | clean) \ | |
13539 | || exit 1 | |
13540 | ||
13541 | ||
13542 | .PHONY: maybe-clean-target-examples clean-target-examples | |
13543 | maybe-clean-target-examples: | |
13544 | ||
13545 | clean-target-examples: | |
13546 | @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ | |
b40e3958 L |
13547 | r=`${PWD_COMMAND}`; export r; \ |
13548 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13549 | $(SET_LIB_PATH) \ |
13550 | echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \ | |
13551 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13552 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13553 | done; \ | |
13554 | (cd $(TARGET_SUBDIR)/examples && \ | |
13555 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13556 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13557 | "RANLIB=$${RANLIB}" \ | |
13558 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13559 | clean) \ | |
13560 | || exit 1 | |
13561 | ||
13562 | ||
13563 | .PHONY: maybe-clean-target-libffi clean-target-libffi | |
13564 | maybe-clean-target-libffi: | |
13565 | ||
13566 | clean-target-libffi: | |
13567 | @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ | |
b40e3958 L |
13568 | r=`${PWD_COMMAND}`; export r; \ |
13569 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13570 | $(SET_LIB_PATH) \ |
13571 | echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \ | |
13572 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13573 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13574 | done; \ | |
13575 | (cd $(TARGET_SUBDIR)/libffi && \ | |
13576 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13577 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13578 | "RANLIB=$${RANLIB}" \ | |
13579 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13580 | clean) \ | |
13581 | || exit 1 | |
13582 | ||
13583 | ||
13584 | .PHONY: maybe-clean-target-libjava clean-target-libjava | |
13585 | maybe-clean-target-libjava: | |
13586 | ||
13587 | clean-target-libjava: | |
13588 | @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ | |
b40e3958 L |
13589 | r=`${PWD_COMMAND}`; export r; \ |
13590 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13591 | $(SET_LIB_PATH) \ |
13592 | echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \ | |
13593 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13594 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13595 | done; \ | |
13596 | (cd $(TARGET_SUBDIR)/libjava && \ | |
13597 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13598 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13599 | "RANLIB=$${RANLIB}" \ | |
13600 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13601 | clean) \ | |
13602 | || exit 1 | |
13603 | ||
13604 | ||
13605 | .PHONY: maybe-clean-target-zlib clean-target-zlib | |
13606 | maybe-clean-target-zlib: | |
13607 | ||
13608 | clean-target-zlib: | |
13609 | @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
13610 | r=`${PWD_COMMAND}`; export r; \ |
13611 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13612 | $(SET_LIB_PATH) \ |
13613 | echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \ | |
13614 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13615 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13616 | done; \ | |
13617 | (cd $(TARGET_SUBDIR)/zlib && \ | |
13618 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13619 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13620 | "RANLIB=$${RANLIB}" \ | |
13621 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13622 | clean) \ | |
13623 | || exit 1 | |
13624 | ||
13625 | ||
13626 | .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc | |
13627 | maybe-clean-target-boehm-gc: | |
13628 | ||
13629 | clean-target-boehm-gc: | |
13630 | @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
13631 | r=`${PWD_COMMAND}`; export r; \ |
13632 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13633 | $(SET_LIB_PATH) \ |
13634 | echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \ | |
13635 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13636 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13637 | done; \ | |
13638 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
13639 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13640 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13641 | "RANLIB=$${RANLIB}" \ | |
13642 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13643 | clean) \ | |
13644 | || exit 1 | |
13645 | ||
13646 | ||
13647 | .PHONY: maybe-clean-target-qthreads clean-target-qthreads | |
13648 | maybe-clean-target-qthreads: | |
13649 | ||
13650 | clean-target-qthreads: | |
13651 | @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ | |
b40e3958 L |
13652 | r=`${PWD_COMMAND}`; export r; \ |
13653 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13654 | $(SET_LIB_PATH) \ |
13655 | echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \ | |
13656 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13657 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13658 | done; \ | |
13659 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
13660 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13661 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13662 | "RANLIB=$${RANLIB}" \ | |
13663 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13664 | clean) \ | |
13665 | || exit 1 | |
13666 | ||
13667 | ||
13668 | .PHONY: maybe-clean-target-rda clean-target-rda | |
13669 | maybe-clean-target-rda: | |
13670 | ||
13671 | clean-target-rda: | |
13672 | @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ | |
b40e3958 L |
13673 | r=`${PWD_COMMAND}`; export r; \ |
13674 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13675 | $(SET_LIB_PATH) \ |
13676 | echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \ | |
13677 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13678 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13679 | done; \ | |
13680 | (cd $(TARGET_SUBDIR)/rda && \ | |
13681 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13682 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13683 | "RANLIB=$${RANLIB}" \ | |
13684 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13685 | clean) \ | |
13686 | || exit 1 | |
13687 | ||
13688 | ||
13689 | ||
13690 | .PHONY: do-distclean | |
13691 | do-distclean: distclean-host distclean-target | |
13692 | ||
13693 | .PHONY: distclean-host | |
13694 | distclean-host: maybe-distclean-gcc \ | |
13695 | maybe-distclean-ash \ | |
13696 | maybe-distclean-autoconf \ | |
13697 | maybe-distclean-automake \ | |
13698 | maybe-distclean-bash \ | |
13699 | maybe-distclean-bfd \ | |
13700 | maybe-distclean-opcodes \ | |
13701 | maybe-distclean-binutils \ | |
13702 | maybe-distclean-bison \ | |
13703 | maybe-distclean-byacc \ | |
13704 | maybe-distclean-bzip2 \ | |
13705 | maybe-distclean-dejagnu \ | |
13706 | maybe-distclean-diff \ | |
13707 | maybe-distclean-dosutils \ | |
13708 | maybe-distclean-etc \ | |
13709 | maybe-distclean-fastjar \ | |
13710 | maybe-distclean-fileutils \ | |
13711 | maybe-distclean-findutils \ | |
13712 | maybe-distclean-find \ | |
13713 | maybe-distclean-flex \ | |
13714 | maybe-distclean-gas \ | |
13715 | maybe-distclean-gawk \ | |
13716 | maybe-distclean-gettext \ | |
13717 | maybe-distclean-gnuserv \ | |
13718 | maybe-distclean-gprof \ | |
13719 | maybe-distclean-gzip \ | |
13720 | maybe-distclean-hello \ | |
13721 | maybe-distclean-indent \ | |
13722 | maybe-distclean-intl \ | |
13723 | maybe-distclean-tcl \ | |
13724 | maybe-distclean-itcl \ | |
13725 | maybe-distclean-ld \ | |
13726 | maybe-distclean-libgui \ | |
13727 | maybe-distclean-libiberty \ | |
13728 | maybe-distclean-libtool \ | |
13729 | maybe-distclean-m4 \ | |
13730 | maybe-distclean-make \ | |
13731 | maybe-distclean-mmalloc \ | |
13732 | maybe-distclean-patch \ | |
13733 | maybe-distclean-perl \ | |
13734 | maybe-distclean-prms \ | |
13735 | maybe-distclean-rcs \ | |
13736 | maybe-distclean-readline \ | |
13737 | maybe-distclean-release \ | |
13738 | maybe-distclean-recode \ | |
13739 | maybe-distclean-sed \ | |
13740 | maybe-distclean-send-pr \ | |
13741 | maybe-distclean-shellutils \ | |
13742 | maybe-distclean-sid \ | |
13743 | maybe-distclean-sim \ | |
13744 | maybe-distclean-tar \ | |
13745 | maybe-distclean-texinfo \ | |
13746 | maybe-distclean-textutils \ | |
13747 | maybe-distclean-time \ | |
13748 | maybe-distclean-uudecode \ | |
13749 | maybe-distclean-wdiff \ | |
13750 | maybe-distclean-zip \ | |
13751 | maybe-distclean-zlib \ | |
13752 | maybe-distclean-gdb \ | |
13753 | maybe-distclean-expect \ | |
13754 | maybe-distclean-guile \ | |
13755 | maybe-distclean-tk \ | |
13756 | maybe-distclean-tix \ | |
13757 | maybe-distclean-libtermcap \ | |
13758 | maybe-distclean-utils | |
13759 | ||
13760 | .PHONY: distclean-target | |
13761 | distclean-target: \ | |
13762 | maybe-distclean-target-libstdc++-v3 \ | |
13763 | maybe-distclean-target-newlib \ | |
13764 | maybe-distclean-target-libf2c \ | |
13765 | maybe-distclean-target-libobjc \ | |
13766 | maybe-distclean-target-libtermcap \ | |
13767 | maybe-distclean-target-winsup \ | |
13768 | maybe-distclean-target-libgloss \ | |
13769 | maybe-distclean-target-libiberty \ | |
13770 | maybe-distclean-target-gperf \ | |
13771 | maybe-distclean-target-examples \ | |
13772 | maybe-distclean-target-libffi \ | |
13773 | maybe-distclean-target-libjava \ | |
13774 | maybe-distclean-target-zlib \ | |
13775 | maybe-distclean-target-boehm-gc \ | |
13776 | maybe-distclean-target-qthreads \ | |
13777 | maybe-distclean-target-rda | |
13778 | ||
13779 | # GCC, the eternal special case | |
13780 | .PHONY: maybe-distclean-gcc distclean-gcc | |
13781 | maybe-distclean-gcc: | |
13782 | distclean-gcc: | |
13783 | @[ -f ./gcc/Makefile ] || exit 0; \ | |
b40e3958 L |
13784 | r=`${PWD_COMMAND}`; export r; \ |
13785 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13786 | $(SET_LIB_PATH) \ |
13787 | for flag in $(EXTRA_GCC_FLAGS); do \ | |
13788 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13789 | done; \ | |
13790 | echo "Doing distclean in gcc" ; \ | |
13791 | (cd gcc && \ | |
13792 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13793 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13794 | "RANLIB=$${RANLIB}" \ | |
13795 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13796 | distclean) \ | |
13797 | || exit 1 | |
13798 | ||
13799 | # Host modules. | |
13800 | ||
13801 | .PHONY: maybe-distclean-ash distclean-ash | |
13802 | maybe-distclean-ash: | |
13803 | ||
13804 | distclean-ash: | |
13805 | @[ -f ./ash/Makefile ] || exit 0; \ | |
b40e3958 L |
13806 | r=`${PWD_COMMAND}`; export r; \ |
13807 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13808 | $(SET_LIB_PATH) \ |
13809 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13810 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13811 | done; \ | |
13812 | echo "Doing distclean in ash" ; \ | |
13813 | (cd ash && \ | |
13814 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13815 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13816 | "RANLIB=$${RANLIB}" \ | |
13817 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13818 | distclean) \ | |
13819 | || exit 1 | |
13820 | ||
13821 | ||
13822 | .PHONY: maybe-distclean-autoconf distclean-autoconf | |
13823 | maybe-distclean-autoconf: | |
13824 | ||
13825 | distclean-autoconf: | |
13826 | @[ -f ./autoconf/Makefile ] || exit 0; \ | |
b40e3958 L |
13827 | r=`${PWD_COMMAND}`; export r; \ |
13828 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13829 | $(SET_LIB_PATH) \ |
13830 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13831 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13832 | done; \ | |
13833 | echo "Doing distclean in autoconf" ; \ | |
13834 | (cd autoconf && \ | |
13835 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13836 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13837 | "RANLIB=$${RANLIB}" \ | |
13838 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13839 | distclean) \ | |
13840 | || exit 1 | |
13841 | ||
13842 | ||
13843 | .PHONY: maybe-distclean-automake distclean-automake | |
13844 | maybe-distclean-automake: | |
13845 | ||
13846 | distclean-automake: | |
13847 | @[ -f ./automake/Makefile ] || exit 0; \ | |
b40e3958 L |
13848 | r=`${PWD_COMMAND}`; export r; \ |
13849 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13850 | $(SET_LIB_PATH) \ |
13851 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13852 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13853 | done; \ | |
13854 | echo "Doing distclean in automake" ; \ | |
13855 | (cd automake && \ | |
13856 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13857 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13858 | "RANLIB=$${RANLIB}" \ | |
13859 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13860 | distclean) \ | |
13861 | || exit 1 | |
13862 | ||
13863 | ||
13864 | .PHONY: maybe-distclean-bash distclean-bash | |
13865 | maybe-distclean-bash: | |
13866 | ||
13867 | distclean-bash: | |
13868 | @[ -f ./bash/Makefile ] || exit 0; \ | |
b40e3958 L |
13869 | r=`${PWD_COMMAND}`; export r; \ |
13870 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13871 | $(SET_LIB_PATH) \ |
13872 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13873 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13874 | done; \ | |
13875 | echo "Doing distclean in bash" ; \ | |
13876 | (cd bash && \ | |
13877 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13878 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13879 | "RANLIB=$${RANLIB}" \ | |
13880 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13881 | distclean) \ | |
13882 | || exit 1 | |
13883 | ||
13884 | ||
13885 | .PHONY: maybe-distclean-bfd distclean-bfd | |
13886 | maybe-distclean-bfd: | |
13887 | ||
13888 | distclean-bfd: | |
13889 | @[ -f ./bfd/Makefile ] || exit 0; \ | |
b40e3958 L |
13890 | r=`${PWD_COMMAND}`; export r; \ |
13891 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13892 | $(SET_LIB_PATH) \ |
13893 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13894 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13895 | done; \ | |
13896 | echo "Doing distclean in bfd" ; \ | |
13897 | (cd bfd && \ | |
13898 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13899 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13900 | "RANLIB=$${RANLIB}" \ | |
13901 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13902 | distclean) \ | |
13903 | || exit 1 | |
13904 | ||
13905 | ||
13906 | .PHONY: maybe-distclean-opcodes distclean-opcodes | |
13907 | maybe-distclean-opcodes: | |
13908 | ||
13909 | distclean-opcodes: | |
13910 | @[ -f ./opcodes/Makefile ] || exit 0; \ | |
b40e3958 L |
13911 | r=`${PWD_COMMAND}`; export r; \ |
13912 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13913 | $(SET_LIB_PATH) \ |
13914 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13915 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13916 | done; \ | |
13917 | echo "Doing distclean in opcodes" ; \ | |
13918 | (cd opcodes && \ | |
13919 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13920 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13921 | "RANLIB=$${RANLIB}" \ | |
13922 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13923 | distclean) \ | |
13924 | || exit 1 | |
13925 | ||
13926 | ||
13927 | .PHONY: maybe-distclean-binutils distclean-binutils | |
13928 | maybe-distclean-binutils: | |
13929 | ||
13930 | distclean-binutils: | |
13931 | @[ -f ./binutils/Makefile ] || exit 0; \ | |
b40e3958 L |
13932 | r=`${PWD_COMMAND}`; export r; \ |
13933 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13934 | $(SET_LIB_PATH) \ |
13935 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13936 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13937 | done; \ | |
13938 | echo "Doing distclean in binutils" ; \ | |
13939 | (cd binutils && \ | |
13940 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13941 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13942 | "RANLIB=$${RANLIB}" \ | |
13943 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13944 | distclean) \ | |
13945 | || exit 1 | |
13946 | ||
13947 | ||
13948 | .PHONY: maybe-distclean-bison distclean-bison | |
13949 | maybe-distclean-bison: | |
13950 | ||
13951 | distclean-bison: | |
13952 | @[ -f ./bison/Makefile ] || exit 0; \ | |
b40e3958 L |
13953 | r=`${PWD_COMMAND}`; export r; \ |
13954 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13955 | $(SET_LIB_PATH) \ |
13956 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13957 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13958 | done; \ | |
13959 | echo "Doing distclean in bison" ; \ | |
13960 | (cd bison && \ | |
13961 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13962 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13963 | "RANLIB=$${RANLIB}" \ | |
13964 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13965 | distclean) \ | |
13966 | || exit 1 | |
13967 | ||
13968 | ||
13969 | .PHONY: maybe-distclean-byacc distclean-byacc | |
13970 | maybe-distclean-byacc: | |
13971 | ||
13972 | distclean-byacc: | |
13973 | @[ -f ./byacc/Makefile ] || exit 0; \ | |
b40e3958 L |
13974 | r=`${PWD_COMMAND}`; export r; \ |
13975 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13976 | $(SET_LIB_PATH) \ |
13977 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13978 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13979 | done; \ | |
13980 | echo "Doing distclean in byacc" ; \ | |
13981 | (cd byacc && \ | |
13982 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13983 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13984 | "RANLIB=$${RANLIB}" \ | |
13985 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13986 | distclean) \ | |
13987 | || exit 1 | |
13988 | ||
13989 | ||
13990 | .PHONY: maybe-distclean-bzip2 distclean-bzip2 | |
13991 | maybe-distclean-bzip2: | |
13992 | ||
13993 | distclean-bzip2: | |
13994 | @[ -f ./bzip2/Makefile ] || exit 0; \ | |
b40e3958 L |
13995 | r=`${PWD_COMMAND}`; export r; \ |
13996 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13997 | $(SET_LIB_PATH) \ |
13998 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13999 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14000 | done; \ | |
14001 | echo "Doing distclean in bzip2" ; \ | |
14002 | (cd bzip2 && \ | |
14003 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14004 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14005 | "RANLIB=$${RANLIB}" \ | |
14006 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14007 | distclean) \ | |
14008 | || exit 1 | |
14009 | ||
14010 | ||
14011 | .PHONY: maybe-distclean-dejagnu distclean-dejagnu | |
14012 | maybe-distclean-dejagnu: | |
14013 | ||
14014 | distclean-dejagnu: | |
14015 | @[ -f ./dejagnu/Makefile ] || exit 0; \ | |
b40e3958 L |
14016 | r=`${PWD_COMMAND}`; export r; \ |
14017 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14018 | $(SET_LIB_PATH) \ |
14019 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14020 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14021 | done; \ | |
14022 | echo "Doing distclean in dejagnu" ; \ | |
14023 | (cd dejagnu && \ | |
14024 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14025 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14026 | "RANLIB=$${RANLIB}" \ | |
14027 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14028 | distclean) \ | |
14029 | || exit 1 | |
14030 | ||
14031 | ||
14032 | .PHONY: maybe-distclean-diff distclean-diff | |
14033 | maybe-distclean-diff: | |
14034 | ||
14035 | distclean-diff: | |
14036 | @[ -f ./diff/Makefile ] || exit 0; \ | |
b40e3958 L |
14037 | r=`${PWD_COMMAND}`; export r; \ |
14038 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14039 | $(SET_LIB_PATH) \ |
14040 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14041 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14042 | done; \ | |
14043 | echo "Doing distclean in diff" ; \ | |
14044 | (cd diff && \ | |
14045 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14046 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14047 | "RANLIB=$${RANLIB}" \ | |
14048 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14049 | distclean) \ | |
14050 | || exit 1 | |
14051 | ||
14052 | ||
14053 | .PHONY: maybe-distclean-dosutils distclean-dosutils | |
14054 | maybe-distclean-dosutils: | |
14055 | ||
14056 | distclean-dosutils: | |
14057 | @[ -f ./dosutils/Makefile ] || exit 0; \ | |
b40e3958 L |
14058 | r=`${PWD_COMMAND}`; export r; \ |
14059 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14060 | $(SET_LIB_PATH) \ |
14061 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14062 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14063 | done; \ | |
14064 | echo "Doing distclean in dosutils" ; \ | |
14065 | (cd dosutils && \ | |
14066 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14067 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14068 | "RANLIB=$${RANLIB}" \ | |
14069 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14070 | distclean) \ | |
14071 | || exit 1 | |
14072 | ||
14073 | ||
14074 | .PHONY: maybe-distclean-etc distclean-etc | |
14075 | maybe-distclean-etc: | |
14076 | ||
14077 | distclean-etc: | |
14078 | @[ -f ./etc/Makefile ] || exit 0; \ | |
b40e3958 L |
14079 | r=`${PWD_COMMAND}`; export r; \ |
14080 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14081 | $(SET_LIB_PATH) \ |
14082 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14083 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14084 | done; \ | |
14085 | echo "Doing distclean in etc" ; \ | |
14086 | (cd etc && \ | |
14087 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14088 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14089 | "RANLIB=$${RANLIB}" \ | |
14090 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14091 | distclean) \ | |
14092 | || exit 1 | |
14093 | ||
14094 | ||
14095 | .PHONY: maybe-distclean-fastjar distclean-fastjar | |
14096 | maybe-distclean-fastjar: | |
14097 | ||
14098 | distclean-fastjar: | |
14099 | @[ -f ./fastjar/Makefile ] || exit 0; \ | |
b40e3958 L |
14100 | r=`${PWD_COMMAND}`; export r; \ |
14101 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14102 | $(SET_LIB_PATH) \ |
14103 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14104 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14105 | done; \ | |
14106 | echo "Doing distclean in fastjar" ; \ | |
14107 | (cd fastjar && \ | |
14108 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14109 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14110 | "RANLIB=$${RANLIB}" \ | |
14111 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14112 | distclean) \ | |
14113 | || exit 1 | |
14114 | ||
14115 | ||
14116 | .PHONY: maybe-distclean-fileutils distclean-fileutils | |
14117 | maybe-distclean-fileutils: | |
14118 | ||
14119 | distclean-fileutils: | |
14120 | @[ -f ./fileutils/Makefile ] || exit 0; \ | |
b40e3958 L |
14121 | r=`${PWD_COMMAND}`; export r; \ |
14122 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14123 | $(SET_LIB_PATH) \ |
14124 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14125 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14126 | done; \ | |
14127 | echo "Doing distclean in fileutils" ; \ | |
14128 | (cd fileutils && \ | |
14129 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14130 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14131 | "RANLIB=$${RANLIB}" \ | |
14132 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14133 | distclean) \ | |
14134 | || exit 1 | |
14135 | ||
14136 | ||
14137 | .PHONY: maybe-distclean-findutils distclean-findutils | |
14138 | maybe-distclean-findutils: | |
14139 | ||
14140 | distclean-findutils: | |
14141 | @[ -f ./findutils/Makefile ] || exit 0; \ | |
b40e3958 L |
14142 | r=`${PWD_COMMAND}`; export r; \ |
14143 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14144 | $(SET_LIB_PATH) \ |
14145 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14146 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14147 | done; \ | |
14148 | echo "Doing distclean in findutils" ; \ | |
14149 | (cd findutils && \ | |
14150 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14151 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14152 | "RANLIB=$${RANLIB}" \ | |
14153 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14154 | distclean) \ | |
14155 | || exit 1 | |
14156 | ||
14157 | ||
14158 | .PHONY: maybe-distclean-find distclean-find | |
14159 | maybe-distclean-find: | |
14160 | ||
14161 | distclean-find: | |
14162 | @[ -f ./find/Makefile ] || exit 0; \ | |
b40e3958 L |
14163 | r=`${PWD_COMMAND}`; export r; \ |
14164 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14165 | $(SET_LIB_PATH) \ |
14166 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14167 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14168 | done; \ | |
14169 | echo "Doing distclean in find" ; \ | |
14170 | (cd find && \ | |
14171 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14172 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14173 | "RANLIB=$${RANLIB}" \ | |
14174 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14175 | distclean) \ | |
14176 | || exit 1 | |
14177 | ||
14178 | ||
14179 | .PHONY: maybe-distclean-flex distclean-flex | |
14180 | maybe-distclean-flex: | |
14181 | ||
14182 | distclean-flex: | |
14183 | @[ -f ./flex/Makefile ] || exit 0; \ | |
b40e3958 L |
14184 | r=`${PWD_COMMAND}`; export r; \ |
14185 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14186 | $(SET_LIB_PATH) \ |
14187 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14188 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14189 | done; \ | |
14190 | echo "Doing distclean in flex" ; \ | |
14191 | (cd flex && \ | |
14192 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14193 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14194 | "RANLIB=$${RANLIB}" \ | |
14195 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14196 | distclean) \ | |
14197 | || exit 1 | |
14198 | ||
14199 | ||
14200 | .PHONY: maybe-distclean-gas distclean-gas | |
14201 | maybe-distclean-gas: | |
14202 | ||
14203 | distclean-gas: | |
14204 | @[ -f ./gas/Makefile ] || exit 0; \ | |
b40e3958 L |
14205 | r=`${PWD_COMMAND}`; export r; \ |
14206 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14207 | $(SET_LIB_PATH) \ |
14208 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14209 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14210 | done; \ | |
14211 | echo "Doing distclean in gas" ; \ | |
14212 | (cd gas && \ | |
14213 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14214 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14215 | "RANLIB=$${RANLIB}" \ | |
14216 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14217 | distclean) \ | |
14218 | || exit 1 | |
14219 | ||
14220 | ||
14221 | .PHONY: maybe-distclean-gawk distclean-gawk | |
14222 | maybe-distclean-gawk: | |
14223 | ||
14224 | distclean-gawk: | |
14225 | @[ -f ./gawk/Makefile ] || exit 0; \ | |
b40e3958 L |
14226 | r=`${PWD_COMMAND}`; export r; \ |
14227 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14228 | $(SET_LIB_PATH) \ |
14229 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14230 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14231 | done; \ | |
14232 | echo "Doing distclean in gawk" ; \ | |
14233 | (cd gawk && \ | |
14234 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14235 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14236 | "RANLIB=$${RANLIB}" \ | |
14237 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14238 | distclean) \ | |
14239 | || exit 1 | |
14240 | ||
14241 | ||
14242 | .PHONY: maybe-distclean-gettext distclean-gettext | |
14243 | maybe-distclean-gettext: | |
14244 | ||
14245 | distclean-gettext: | |
14246 | @[ -f ./gettext/Makefile ] || exit 0; \ | |
b40e3958 L |
14247 | r=`${PWD_COMMAND}`; export r; \ |
14248 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14249 | $(SET_LIB_PATH) \ |
14250 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14251 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14252 | done; \ | |
14253 | echo "Doing distclean in gettext" ; \ | |
14254 | (cd gettext && \ | |
14255 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14256 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14257 | "RANLIB=$${RANLIB}" \ | |
14258 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14259 | distclean) \ | |
14260 | || exit 1 | |
14261 | ||
14262 | ||
14263 | .PHONY: maybe-distclean-gnuserv distclean-gnuserv | |
14264 | maybe-distclean-gnuserv: | |
14265 | ||
14266 | distclean-gnuserv: | |
14267 | @[ -f ./gnuserv/Makefile ] || exit 0; \ | |
b40e3958 L |
14268 | r=`${PWD_COMMAND}`; export r; \ |
14269 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14270 | $(SET_LIB_PATH) \ |
14271 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14272 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14273 | done; \ | |
14274 | echo "Doing distclean in gnuserv" ; \ | |
14275 | (cd gnuserv && \ | |
14276 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14277 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14278 | "RANLIB=$${RANLIB}" \ | |
14279 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14280 | distclean) \ | |
14281 | || exit 1 | |
14282 | ||
14283 | ||
14284 | .PHONY: maybe-distclean-gprof distclean-gprof | |
14285 | maybe-distclean-gprof: | |
14286 | ||
14287 | distclean-gprof: | |
14288 | @[ -f ./gprof/Makefile ] || exit 0; \ | |
b40e3958 L |
14289 | r=`${PWD_COMMAND}`; export r; \ |
14290 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14291 | $(SET_LIB_PATH) \ |
14292 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14293 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14294 | done; \ | |
14295 | echo "Doing distclean in gprof" ; \ | |
14296 | (cd gprof && \ | |
14297 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14298 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14299 | "RANLIB=$${RANLIB}" \ | |
14300 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14301 | distclean) \ | |
14302 | || exit 1 | |
14303 | ||
14304 | ||
14305 | .PHONY: maybe-distclean-gzip distclean-gzip | |
14306 | maybe-distclean-gzip: | |
14307 | ||
14308 | distclean-gzip: | |
14309 | @[ -f ./gzip/Makefile ] || exit 0; \ | |
b40e3958 L |
14310 | r=`${PWD_COMMAND}`; export r; \ |
14311 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14312 | $(SET_LIB_PATH) \ |
14313 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14314 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14315 | done; \ | |
14316 | echo "Doing distclean in gzip" ; \ | |
14317 | (cd gzip && \ | |
14318 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14319 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14320 | "RANLIB=$${RANLIB}" \ | |
14321 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14322 | distclean) \ | |
14323 | || exit 1 | |
14324 | ||
14325 | ||
14326 | .PHONY: maybe-distclean-hello distclean-hello | |
14327 | maybe-distclean-hello: | |
14328 | ||
14329 | distclean-hello: | |
14330 | @[ -f ./hello/Makefile ] || exit 0; \ | |
b40e3958 L |
14331 | r=`${PWD_COMMAND}`; export r; \ |
14332 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14333 | $(SET_LIB_PATH) \ |
14334 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14335 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14336 | done; \ | |
14337 | echo "Doing distclean in hello" ; \ | |
14338 | (cd hello && \ | |
14339 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14340 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14341 | "RANLIB=$${RANLIB}" \ | |
14342 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14343 | distclean) \ | |
14344 | || exit 1 | |
14345 | ||
14346 | ||
14347 | .PHONY: maybe-distclean-indent distclean-indent | |
14348 | maybe-distclean-indent: | |
14349 | ||
14350 | distclean-indent: | |
14351 | @[ -f ./indent/Makefile ] || exit 0; \ | |
b40e3958 L |
14352 | r=`${PWD_COMMAND}`; export r; \ |
14353 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14354 | $(SET_LIB_PATH) \ |
14355 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14356 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14357 | done; \ | |
14358 | echo "Doing distclean in indent" ; \ | |
14359 | (cd indent && \ | |
14360 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14361 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14362 | "RANLIB=$${RANLIB}" \ | |
14363 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14364 | distclean) \ | |
14365 | || exit 1 | |
14366 | ||
14367 | ||
14368 | .PHONY: maybe-distclean-intl distclean-intl | |
14369 | maybe-distclean-intl: | |
14370 | ||
14371 | distclean-intl: | |
14372 | @[ -f ./intl/Makefile ] || exit 0; \ | |
b40e3958 L |
14373 | r=`${PWD_COMMAND}`; export r; \ |
14374 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14375 | $(SET_LIB_PATH) \ |
14376 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14377 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14378 | done; \ | |
14379 | echo "Doing distclean in intl" ; \ | |
14380 | (cd intl && \ | |
14381 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14382 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14383 | "RANLIB=$${RANLIB}" \ | |
14384 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14385 | distclean) \ | |
14386 | || exit 1 | |
14387 | ||
14388 | ||
14389 | .PHONY: maybe-distclean-tcl distclean-tcl | |
14390 | maybe-distclean-tcl: | |
14391 | ||
14392 | distclean-tcl: | |
14393 | @[ -f ./tcl/Makefile ] || exit 0; \ | |
b40e3958 L |
14394 | r=`${PWD_COMMAND}`; export r; \ |
14395 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14396 | $(SET_LIB_PATH) \ |
14397 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14398 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14399 | done; \ | |
14400 | echo "Doing distclean in tcl" ; \ | |
14401 | (cd tcl && \ | |
14402 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14403 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14404 | "RANLIB=$${RANLIB}" \ | |
14405 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14406 | distclean) \ | |
14407 | || exit 1 | |
14408 | ||
14409 | ||
14410 | .PHONY: maybe-distclean-itcl distclean-itcl | |
14411 | maybe-distclean-itcl: | |
14412 | ||
14413 | distclean-itcl: | |
14414 | @[ -f ./itcl/Makefile ] || exit 0; \ | |
b40e3958 L |
14415 | r=`${PWD_COMMAND}`; export r; \ |
14416 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14417 | $(SET_LIB_PATH) \ |
14418 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14419 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14420 | done; \ | |
14421 | echo "Doing distclean in itcl" ; \ | |
14422 | (cd itcl && \ | |
14423 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14424 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14425 | "RANLIB=$${RANLIB}" \ | |
14426 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14427 | distclean) \ | |
14428 | || exit 1 | |
14429 | ||
14430 | ||
14431 | .PHONY: maybe-distclean-ld distclean-ld | |
14432 | maybe-distclean-ld: | |
14433 | ||
14434 | distclean-ld: | |
14435 | @[ -f ./ld/Makefile ] || exit 0; \ | |
b40e3958 L |
14436 | r=`${PWD_COMMAND}`; export r; \ |
14437 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14438 | $(SET_LIB_PATH) \ |
14439 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14440 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14441 | done; \ | |
14442 | echo "Doing distclean in ld" ; \ | |
14443 | (cd ld && \ | |
14444 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14445 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14446 | "RANLIB=$${RANLIB}" \ | |
14447 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14448 | distclean) \ | |
14449 | || exit 1 | |
14450 | ||
14451 | ||
14452 | .PHONY: maybe-distclean-libgui distclean-libgui | |
14453 | maybe-distclean-libgui: | |
14454 | ||
14455 | distclean-libgui: | |
14456 | @[ -f ./libgui/Makefile ] || exit 0; \ | |
b40e3958 L |
14457 | r=`${PWD_COMMAND}`; export r; \ |
14458 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14459 | $(SET_LIB_PATH) \ |
14460 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14461 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14462 | done; \ | |
14463 | echo "Doing distclean in libgui" ; \ | |
14464 | (cd libgui && \ | |
14465 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14466 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14467 | "RANLIB=$${RANLIB}" \ | |
14468 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14469 | distclean) \ | |
14470 | || exit 1 | |
14471 | ||
14472 | ||
14473 | .PHONY: maybe-distclean-libiberty distclean-libiberty | |
14474 | maybe-distclean-libiberty: | |
14475 | ||
14476 | distclean-libiberty: | |
14477 | @[ -f ./libiberty/Makefile ] || exit 0; \ | |
b40e3958 L |
14478 | r=`${PWD_COMMAND}`; export r; \ |
14479 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14480 | $(SET_LIB_PATH) \ |
14481 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14482 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14483 | done; \ | |
14484 | echo "Doing distclean in libiberty" ; \ | |
14485 | (cd libiberty && \ | |
14486 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14487 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14488 | "RANLIB=$${RANLIB}" \ | |
14489 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14490 | distclean) \ | |
14491 | || exit 1 | |
14492 | ||
14493 | ||
14494 | .PHONY: maybe-distclean-libtool distclean-libtool | |
14495 | maybe-distclean-libtool: | |
14496 | ||
14497 | distclean-libtool: | |
14498 | @[ -f ./libtool/Makefile ] || exit 0; \ | |
b40e3958 L |
14499 | r=`${PWD_COMMAND}`; export r; \ |
14500 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14501 | $(SET_LIB_PATH) \ |
14502 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14503 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14504 | done; \ | |
14505 | echo "Doing distclean in libtool" ; \ | |
14506 | (cd libtool && \ | |
14507 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14508 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14509 | "RANLIB=$${RANLIB}" \ | |
14510 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14511 | distclean) \ | |
14512 | || exit 1 | |
14513 | ||
14514 | ||
14515 | .PHONY: maybe-distclean-m4 distclean-m4 | |
14516 | maybe-distclean-m4: | |
14517 | ||
14518 | distclean-m4: | |
14519 | @[ -f ./m4/Makefile ] || exit 0; \ | |
b40e3958 L |
14520 | r=`${PWD_COMMAND}`; export r; \ |
14521 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14522 | $(SET_LIB_PATH) \ |
14523 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14524 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14525 | done; \ | |
14526 | echo "Doing distclean in m4" ; \ | |
14527 | (cd m4 && \ | |
14528 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14529 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14530 | "RANLIB=$${RANLIB}" \ | |
14531 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14532 | distclean) \ | |
14533 | || exit 1 | |
14534 | ||
14535 | ||
14536 | .PHONY: maybe-distclean-make distclean-make | |
14537 | maybe-distclean-make: | |
14538 | ||
14539 | distclean-make: | |
14540 | @[ -f ./make/Makefile ] || exit 0; \ | |
b40e3958 L |
14541 | r=`${PWD_COMMAND}`; export r; \ |
14542 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14543 | $(SET_LIB_PATH) \ |
14544 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14545 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14546 | done; \ | |
14547 | echo "Doing distclean in make" ; \ | |
14548 | (cd make && \ | |
14549 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14550 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14551 | "RANLIB=$${RANLIB}" \ | |
14552 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14553 | distclean) \ | |
14554 | || exit 1 | |
14555 | ||
14556 | ||
14557 | .PHONY: maybe-distclean-mmalloc distclean-mmalloc | |
14558 | maybe-distclean-mmalloc: | |
14559 | ||
14560 | distclean-mmalloc: | |
14561 | @[ -f ./mmalloc/Makefile ] || exit 0; \ | |
b40e3958 L |
14562 | r=`${PWD_COMMAND}`; export r; \ |
14563 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14564 | $(SET_LIB_PATH) \ |
14565 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14566 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14567 | done; \ | |
14568 | echo "Doing distclean in mmalloc" ; \ | |
14569 | (cd mmalloc && \ | |
14570 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14571 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14572 | "RANLIB=$${RANLIB}" \ | |
14573 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14574 | distclean) \ | |
14575 | || exit 1 | |
14576 | ||
14577 | ||
14578 | .PHONY: maybe-distclean-patch distclean-patch | |
14579 | maybe-distclean-patch: | |
14580 | ||
14581 | distclean-patch: | |
14582 | @[ -f ./patch/Makefile ] || exit 0; \ | |
b40e3958 L |
14583 | r=`${PWD_COMMAND}`; export r; \ |
14584 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14585 | $(SET_LIB_PATH) \ |
14586 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14587 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14588 | done; \ | |
14589 | echo "Doing distclean in patch" ; \ | |
14590 | (cd patch && \ | |
14591 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14592 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14593 | "RANLIB=$${RANLIB}" \ | |
14594 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14595 | distclean) \ | |
14596 | || exit 1 | |
14597 | ||
14598 | ||
14599 | .PHONY: maybe-distclean-perl distclean-perl | |
14600 | maybe-distclean-perl: | |
14601 | ||
14602 | distclean-perl: | |
14603 | @[ -f ./perl/Makefile ] || exit 0; \ | |
b40e3958 L |
14604 | r=`${PWD_COMMAND}`; export r; \ |
14605 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14606 | $(SET_LIB_PATH) \ |
14607 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14608 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14609 | done; \ | |
14610 | echo "Doing distclean in perl" ; \ | |
14611 | (cd perl && \ | |
14612 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14613 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14614 | "RANLIB=$${RANLIB}" \ | |
14615 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14616 | distclean) \ | |
14617 | || exit 1 | |
14618 | ||
14619 | ||
14620 | .PHONY: maybe-distclean-prms distclean-prms | |
14621 | maybe-distclean-prms: | |
14622 | ||
14623 | distclean-prms: | |
14624 | @[ -f ./prms/Makefile ] || exit 0; \ | |
b40e3958 L |
14625 | r=`${PWD_COMMAND}`; export r; \ |
14626 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14627 | $(SET_LIB_PATH) \ |
14628 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14629 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14630 | done; \ | |
14631 | echo "Doing distclean in prms" ; \ | |
14632 | (cd prms && \ | |
14633 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14634 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14635 | "RANLIB=$${RANLIB}" \ | |
14636 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14637 | distclean) \ | |
14638 | || exit 1 | |
14639 | ||
14640 | ||
14641 | .PHONY: maybe-distclean-rcs distclean-rcs | |
14642 | maybe-distclean-rcs: | |
14643 | ||
14644 | distclean-rcs: | |
14645 | @[ -f ./rcs/Makefile ] || exit 0; \ | |
b40e3958 L |
14646 | r=`${PWD_COMMAND}`; export r; \ |
14647 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14648 | $(SET_LIB_PATH) \ |
14649 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14650 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14651 | done; \ | |
14652 | echo "Doing distclean in rcs" ; \ | |
14653 | (cd rcs && \ | |
14654 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14655 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14656 | "RANLIB=$${RANLIB}" \ | |
14657 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14658 | distclean) \ | |
14659 | || exit 1 | |
14660 | ||
14661 | ||
14662 | .PHONY: maybe-distclean-readline distclean-readline | |
14663 | maybe-distclean-readline: | |
14664 | ||
14665 | distclean-readline: | |
14666 | @[ -f ./readline/Makefile ] || exit 0; \ | |
b40e3958 L |
14667 | r=`${PWD_COMMAND}`; export r; \ |
14668 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14669 | $(SET_LIB_PATH) \ |
14670 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14671 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14672 | done; \ | |
14673 | echo "Doing distclean in readline" ; \ | |
14674 | (cd readline && \ | |
14675 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14676 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14677 | "RANLIB=$${RANLIB}" \ | |
14678 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14679 | distclean) \ | |
14680 | || exit 1 | |
14681 | ||
14682 | ||
14683 | .PHONY: maybe-distclean-release distclean-release | |
14684 | maybe-distclean-release: | |
14685 | ||
14686 | distclean-release: | |
14687 | @[ -f ./release/Makefile ] || exit 0; \ | |
b40e3958 L |
14688 | r=`${PWD_COMMAND}`; export r; \ |
14689 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14690 | $(SET_LIB_PATH) \ |
14691 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14692 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14693 | done; \ | |
14694 | echo "Doing distclean in release" ; \ | |
14695 | (cd release && \ | |
14696 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14697 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14698 | "RANLIB=$${RANLIB}" \ | |
14699 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14700 | distclean) \ | |
14701 | || exit 1 | |
14702 | ||
14703 | ||
14704 | .PHONY: maybe-distclean-recode distclean-recode | |
14705 | maybe-distclean-recode: | |
14706 | ||
14707 | distclean-recode: | |
14708 | @[ -f ./recode/Makefile ] || exit 0; \ | |
b40e3958 L |
14709 | r=`${PWD_COMMAND}`; export r; \ |
14710 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14711 | $(SET_LIB_PATH) \ |
14712 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14713 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14714 | done; \ | |
14715 | echo "Doing distclean in recode" ; \ | |
14716 | (cd recode && \ | |
14717 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14718 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14719 | "RANLIB=$${RANLIB}" \ | |
14720 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14721 | distclean) \ | |
14722 | || exit 1 | |
14723 | ||
14724 | ||
14725 | .PHONY: maybe-distclean-sed distclean-sed | |
14726 | maybe-distclean-sed: | |
14727 | ||
14728 | distclean-sed: | |
14729 | @[ -f ./sed/Makefile ] || exit 0; \ | |
b40e3958 L |
14730 | r=`${PWD_COMMAND}`; export r; \ |
14731 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14732 | $(SET_LIB_PATH) \ |
14733 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14734 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14735 | done; \ | |
14736 | echo "Doing distclean in sed" ; \ | |
14737 | (cd sed && \ | |
14738 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14739 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14740 | "RANLIB=$${RANLIB}" \ | |
14741 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14742 | distclean) \ | |
14743 | || exit 1 | |
14744 | ||
14745 | ||
14746 | .PHONY: maybe-distclean-send-pr distclean-send-pr | |
14747 | maybe-distclean-send-pr: | |
14748 | ||
14749 | distclean-send-pr: | |
14750 | @[ -f ./send-pr/Makefile ] || exit 0; \ | |
b40e3958 L |
14751 | r=`${PWD_COMMAND}`; export r; \ |
14752 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14753 | $(SET_LIB_PATH) \ |
14754 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14755 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14756 | done; \ | |
14757 | echo "Doing distclean in send-pr" ; \ | |
14758 | (cd send-pr && \ | |
14759 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14760 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14761 | "RANLIB=$${RANLIB}" \ | |
14762 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14763 | distclean) \ | |
14764 | || exit 1 | |
14765 | ||
14766 | ||
14767 | .PHONY: maybe-distclean-shellutils distclean-shellutils | |
14768 | maybe-distclean-shellutils: | |
14769 | ||
14770 | distclean-shellutils: | |
14771 | @[ -f ./shellutils/Makefile ] || exit 0; \ | |
b40e3958 L |
14772 | r=`${PWD_COMMAND}`; export r; \ |
14773 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14774 | $(SET_LIB_PATH) \ |
14775 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14776 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14777 | done; \ | |
14778 | echo "Doing distclean in shellutils" ; \ | |
14779 | (cd shellutils && \ | |
14780 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14781 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14782 | "RANLIB=$${RANLIB}" \ | |
14783 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14784 | distclean) \ | |
14785 | || exit 1 | |
14786 | ||
14787 | ||
14788 | .PHONY: maybe-distclean-sid distclean-sid | |
14789 | maybe-distclean-sid: | |
14790 | ||
14791 | distclean-sid: | |
14792 | @[ -f ./sid/Makefile ] || exit 0; \ | |
b40e3958 L |
14793 | r=`${PWD_COMMAND}`; export r; \ |
14794 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14795 | $(SET_LIB_PATH) \ |
14796 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14797 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14798 | done; \ | |
14799 | echo "Doing distclean in sid" ; \ | |
14800 | (cd sid && \ | |
14801 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14802 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14803 | "RANLIB=$${RANLIB}" \ | |
14804 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14805 | distclean) \ | |
14806 | || exit 1 | |
14807 | ||
14808 | ||
14809 | .PHONY: maybe-distclean-sim distclean-sim | |
14810 | maybe-distclean-sim: | |
14811 | ||
14812 | distclean-sim: | |
14813 | @[ -f ./sim/Makefile ] || exit 0; \ | |
b40e3958 L |
14814 | r=`${PWD_COMMAND}`; export r; \ |
14815 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14816 | $(SET_LIB_PATH) \ |
14817 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14818 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14819 | done; \ | |
14820 | echo "Doing distclean in sim" ; \ | |
14821 | (cd sim && \ | |
14822 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14823 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14824 | "RANLIB=$${RANLIB}" \ | |
14825 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14826 | distclean) \ | |
14827 | || exit 1 | |
14828 | ||
14829 | ||
14830 | .PHONY: maybe-distclean-tar distclean-tar | |
14831 | maybe-distclean-tar: | |
14832 | ||
14833 | distclean-tar: | |
14834 | @[ -f ./tar/Makefile ] || exit 0; \ | |
b40e3958 L |
14835 | r=`${PWD_COMMAND}`; export r; \ |
14836 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14837 | $(SET_LIB_PATH) \ |
14838 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14839 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14840 | done; \ | |
14841 | echo "Doing distclean in tar" ; \ | |
14842 | (cd tar && \ | |
14843 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14844 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14845 | "RANLIB=$${RANLIB}" \ | |
14846 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14847 | distclean) \ | |
14848 | || exit 1 | |
14849 | ||
14850 | ||
14851 | .PHONY: maybe-distclean-texinfo distclean-texinfo | |
14852 | maybe-distclean-texinfo: | |
14853 | ||
14854 | distclean-texinfo: | |
14855 | @[ -f ./texinfo/Makefile ] || exit 0; \ | |
b40e3958 L |
14856 | r=`${PWD_COMMAND}`; export r; \ |
14857 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14858 | $(SET_LIB_PATH) \ |
14859 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14860 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14861 | done; \ | |
14862 | echo "Doing distclean in texinfo" ; \ | |
14863 | (cd texinfo && \ | |
14864 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14865 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14866 | "RANLIB=$${RANLIB}" \ | |
14867 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14868 | distclean) \ | |
14869 | || exit 1 | |
14870 | ||
14871 | ||
14872 | .PHONY: maybe-distclean-textutils distclean-textutils | |
14873 | maybe-distclean-textutils: | |
14874 | ||
14875 | distclean-textutils: | |
14876 | @[ -f ./textutils/Makefile ] || exit 0; \ | |
b40e3958 L |
14877 | r=`${PWD_COMMAND}`; export r; \ |
14878 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14879 | $(SET_LIB_PATH) \ |
14880 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14881 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14882 | done; \ | |
14883 | echo "Doing distclean in textutils" ; \ | |
14884 | (cd textutils && \ | |
14885 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14886 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14887 | "RANLIB=$${RANLIB}" \ | |
14888 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14889 | distclean) \ | |
14890 | || exit 1 | |
14891 | ||
14892 | ||
14893 | .PHONY: maybe-distclean-time distclean-time | |
14894 | maybe-distclean-time: | |
14895 | ||
14896 | distclean-time: | |
14897 | @[ -f ./time/Makefile ] || exit 0; \ | |
b40e3958 L |
14898 | r=`${PWD_COMMAND}`; export r; \ |
14899 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14900 | $(SET_LIB_PATH) \ |
14901 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14902 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14903 | done; \ | |
14904 | echo "Doing distclean in time" ; \ | |
14905 | (cd time && \ | |
14906 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14907 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14908 | "RANLIB=$${RANLIB}" \ | |
14909 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14910 | distclean) \ | |
14911 | || exit 1 | |
14912 | ||
14913 | ||
14914 | .PHONY: maybe-distclean-uudecode distclean-uudecode | |
14915 | maybe-distclean-uudecode: | |
14916 | ||
14917 | distclean-uudecode: | |
14918 | @[ -f ./uudecode/Makefile ] || exit 0; \ | |
b40e3958 L |
14919 | r=`${PWD_COMMAND}`; export r; \ |
14920 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14921 | $(SET_LIB_PATH) \ |
14922 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14923 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14924 | done; \ | |
14925 | echo "Doing distclean in uudecode" ; \ | |
14926 | (cd uudecode && \ | |
14927 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14928 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14929 | "RANLIB=$${RANLIB}" \ | |
14930 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14931 | distclean) \ | |
14932 | || exit 1 | |
14933 | ||
14934 | ||
14935 | .PHONY: maybe-distclean-wdiff distclean-wdiff | |
14936 | maybe-distclean-wdiff: | |
14937 | ||
14938 | distclean-wdiff: | |
14939 | @[ -f ./wdiff/Makefile ] || exit 0; \ | |
b40e3958 L |
14940 | r=`${PWD_COMMAND}`; export r; \ |
14941 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14942 | $(SET_LIB_PATH) \ |
14943 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14944 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14945 | done; \ | |
14946 | echo "Doing distclean in wdiff" ; \ | |
14947 | (cd wdiff && \ | |
14948 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14949 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14950 | "RANLIB=$${RANLIB}" \ | |
14951 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14952 | distclean) \ | |
14953 | || exit 1 | |
14954 | ||
14955 | ||
14956 | .PHONY: maybe-distclean-zip distclean-zip | |
14957 | maybe-distclean-zip: | |
14958 | ||
14959 | distclean-zip: | |
14960 | @[ -f ./zip/Makefile ] || exit 0; \ | |
b40e3958 L |
14961 | r=`${PWD_COMMAND}`; export r; \ |
14962 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14963 | $(SET_LIB_PATH) \ |
14964 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14965 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14966 | done; \ | |
14967 | echo "Doing distclean in zip" ; \ | |
14968 | (cd zip && \ | |
14969 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14970 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14971 | "RANLIB=$${RANLIB}" \ | |
14972 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14973 | distclean) \ | |
14974 | || exit 1 | |
14975 | ||
14976 | ||
14977 | .PHONY: maybe-distclean-zlib distclean-zlib | |
14978 | maybe-distclean-zlib: | |
14979 | ||
14980 | distclean-zlib: | |
14981 | @[ -f ./zlib/Makefile ] || exit 0; \ | |
b40e3958 L |
14982 | r=`${PWD_COMMAND}`; export r; \ |
14983 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14984 | $(SET_LIB_PATH) \ |
14985 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14986 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14987 | done; \ | |
14988 | echo "Doing distclean in zlib" ; \ | |
14989 | (cd zlib && \ | |
14990 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14991 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14992 | "RANLIB=$${RANLIB}" \ | |
14993 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14994 | distclean) \ | |
14995 | || exit 1 | |
14996 | ||
14997 | ||
14998 | .PHONY: maybe-distclean-gdb distclean-gdb | |
14999 | maybe-distclean-gdb: | |
15000 | ||
15001 | distclean-gdb: | |
15002 | @[ -f ./gdb/Makefile ] || exit 0; \ | |
b40e3958 L |
15003 | r=`${PWD_COMMAND}`; export r; \ |
15004 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15005 | $(SET_LIB_PATH) \ |
15006 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15007 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15008 | done; \ | |
15009 | echo "Doing distclean in gdb" ; \ | |
15010 | (cd gdb && \ | |
15011 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15012 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15013 | "RANLIB=$${RANLIB}" \ | |
15014 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15015 | distclean) \ | |
15016 | || exit 1 | |
15017 | ||
15018 | ||
15019 | .PHONY: maybe-distclean-expect distclean-expect | |
15020 | maybe-distclean-expect: | |
15021 | ||
15022 | distclean-expect: | |
15023 | @[ -f ./expect/Makefile ] || exit 0; \ | |
b40e3958 L |
15024 | r=`${PWD_COMMAND}`; export r; \ |
15025 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15026 | $(SET_LIB_PATH) \ |
15027 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15028 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15029 | done; \ | |
15030 | echo "Doing distclean in expect" ; \ | |
15031 | (cd expect && \ | |
15032 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15033 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15034 | "RANLIB=$${RANLIB}" \ | |
15035 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15036 | distclean) \ | |
15037 | || exit 1 | |
15038 | ||
15039 | ||
15040 | .PHONY: maybe-distclean-guile distclean-guile | |
15041 | maybe-distclean-guile: | |
15042 | ||
15043 | distclean-guile: | |
15044 | @[ -f ./guile/Makefile ] || exit 0; \ | |
b40e3958 L |
15045 | r=`${PWD_COMMAND}`; export r; \ |
15046 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15047 | $(SET_LIB_PATH) \ |
15048 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15049 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15050 | done; \ | |
15051 | echo "Doing distclean in guile" ; \ | |
15052 | (cd guile && \ | |
15053 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15054 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15055 | "RANLIB=$${RANLIB}" \ | |
15056 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15057 | distclean) \ | |
15058 | || exit 1 | |
15059 | ||
15060 | ||
15061 | .PHONY: maybe-distclean-tk distclean-tk | |
15062 | maybe-distclean-tk: | |
15063 | ||
15064 | distclean-tk: | |
15065 | @[ -f ./tk/Makefile ] || exit 0; \ | |
b40e3958 L |
15066 | r=`${PWD_COMMAND}`; export r; \ |
15067 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15068 | $(SET_LIB_PATH) \ |
15069 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15070 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15071 | done; \ | |
15072 | echo "Doing distclean in tk" ; \ | |
15073 | (cd tk && \ | |
15074 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15075 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15076 | "RANLIB=$${RANLIB}" \ | |
15077 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15078 | distclean) \ | |
15079 | || exit 1 | |
15080 | ||
15081 | ||
15082 | .PHONY: maybe-distclean-tix distclean-tix | |
15083 | maybe-distclean-tix: | |
15084 | ||
15085 | distclean-tix: | |
15086 | @[ -f ./tix/Makefile ] || exit 0; \ | |
b40e3958 L |
15087 | r=`${PWD_COMMAND}`; export r; \ |
15088 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15089 | $(SET_LIB_PATH) \ |
15090 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15091 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15092 | done; \ | |
15093 | echo "Doing distclean in tix" ; \ | |
15094 | (cd tix && \ | |
15095 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15096 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15097 | "RANLIB=$${RANLIB}" \ | |
15098 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15099 | distclean) \ | |
15100 | || exit 1 | |
15101 | ||
15102 | ||
15103 | .PHONY: maybe-distclean-libtermcap distclean-libtermcap | |
15104 | maybe-distclean-libtermcap: | |
15105 | ||
15106 | # libtermcap doesn't support distclean. | |
15107 | distclean-libtermcap: | |
15108 | ||
15109 | ||
15110 | .PHONY: maybe-distclean-utils distclean-utils | |
15111 | maybe-distclean-utils: | |
15112 | ||
15113 | distclean-utils: | |
15114 | @[ -f ./utils/Makefile ] || exit 0; \ | |
b40e3958 L |
15115 | r=`${PWD_COMMAND}`; export r; \ |
15116 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15117 | $(SET_LIB_PATH) \ |
15118 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15119 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15120 | done; \ | |
15121 | echo "Doing distclean in utils" ; \ | |
15122 | (cd utils && \ | |
15123 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15124 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15125 | "RANLIB=$${RANLIB}" \ | |
15126 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15127 | distclean) \ | |
15128 | || exit 1 | |
15129 | ||
15130 | ||
15131 | ||
15132 | # Target modules. | |
15133 | ||
15134 | .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3 | |
15135 | maybe-distclean-target-libstdc++-v3: | |
15136 | ||
15137 | distclean-target-libstdc++-v3: | |
15138 | @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ | |
b40e3958 L |
15139 | r=`${PWD_COMMAND}`; export r; \ |
15140 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15141 | $(SET_LIB_PATH) \ |
15142 | echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \ | |
15143 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15144 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15145 | done; \ | |
15146 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
15147 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15148 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15149 | "RANLIB=$${RANLIB}" \ | |
15150 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15151 | distclean) \ | |
15152 | || exit 1 | |
15153 | ||
15154 | ||
15155 | .PHONY: maybe-distclean-target-newlib distclean-target-newlib | |
15156 | maybe-distclean-target-newlib: | |
15157 | ||
15158 | distclean-target-newlib: | |
15159 | @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
15160 | r=`${PWD_COMMAND}`; export r; \ |
15161 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15162 | $(SET_LIB_PATH) \ |
15163 | echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \ | |
15164 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15165 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15166 | done; \ | |
15167 | (cd $(TARGET_SUBDIR)/newlib && \ | |
15168 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15169 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15170 | "RANLIB=$${RANLIB}" \ | |
15171 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15172 | distclean) \ | |
15173 | || exit 1 | |
15174 | ||
15175 | ||
15176 | .PHONY: maybe-distclean-target-libf2c distclean-target-libf2c | |
15177 | maybe-distclean-target-libf2c: | |
15178 | ||
15179 | distclean-target-libf2c: | |
15180 | @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \ | |
b40e3958 L |
15181 | r=`${PWD_COMMAND}`; export r; \ |
15182 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15183 | $(SET_LIB_PATH) \ |
15184 | echo "Doing distclean in $(TARGET_SUBDIR)/libf2c" ; \ | |
15185 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15186 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15187 | done; \ | |
15188 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
15189 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15190 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15191 | "RANLIB=$${RANLIB}" \ | |
15192 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15193 | distclean) \ | |
15194 | || exit 1 | |
15195 | ||
15196 | ||
15197 | .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc | |
15198 | maybe-distclean-target-libobjc: | |
15199 | ||
15200 | distclean-target-libobjc: | |
15201 | @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
15202 | r=`${PWD_COMMAND}`; export r; \ |
15203 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15204 | $(SET_LIB_PATH) \ |
15205 | echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \ | |
15206 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15207 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15208 | done; \ | |
15209 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
15210 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15211 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15212 | "RANLIB=$${RANLIB}" \ | |
15213 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15214 | distclean) \ | |
15215 | || exit 1 | |
15216 | ||
15217 | ||
15218 | .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap | |
15219 | maybe-distclean-target-libtermcap: | |
15220 | ||
15221 | # libtermcap doesn't support distclean. | |
123494c8 | 15222 | distclean-target-libtermcap: |
2a4cbe27 NN |
15223 | |
15224 | ||
15225 | .PHONY: maybe-distclean-target-winsup distclean-target-winsup | |
15226 | maybe-distclean-target-winsup: | |
15227 | ||
15228 | distclean-target-winsup: | |
15229 | @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ | |
b40e3958 L |
15230 | r=`${PWD_COMMAND}`; export r; \ |
15231 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15232 | $(SET_LIB_PATH) \ |
15233 | echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \ | |
15234 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15235 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15236 | done; \ | |
15237 | (cd $(TARGET_SUBDIR)/winsup && \ | |
15238 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15239 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15240 | "RANLIB=$${RANLIB}" \ | |
15241 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15242 | distclean) \ | |
15243 | || exit 1 | |
15244 | ||
15245 | ||
15246 | .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss | |
15247 | maybe-distclean-target-libgloss: | |
15248 | ||
15249 | distclean-target-libgloss: | |
15250 | @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ | |
b40e3958 L |
15251 | r=`${PWD_COMMAND}`; export r; \ |
15252 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15253 | $(SET_LIB_PATH) \ |
15254 | echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \ | |
15255 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15256 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15257 | done; \ | |
15258 | (cd $(TARGET_SUBDIR)/libgloss && \ | |
15259 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15260 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15261 | "RANLIB=$${RANLIB}" \ | |
15262 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15263 | distclean) \ | |
15264 | || exit 1 | |
15265 | ||
15266 | ||
15267 | .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty | |
15268 | maybe-distclean-target-libiberty: | |
15269 | ||
15270 | distclean-target-libiberty: | |
15271 | @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ | |
b40e3958 L |
15272 | r=`${PWD_COMMAND}`; export r; \ |
15273 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15274 | $(SET_LIB_PATH) \ |
15275 | echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \ | |
15276 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15277 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15278 | done; \ | |
15279 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
15280 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15281 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15282 | "RANLIB=$${RANLIB}" \ | |
15283 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15284 | distclean) \ | |
15285 | || exit 1 | |
15286 | ||
15287 | ||
15288 | .PHONY: maybe-distclean-target-gperf distclean-target-gperf | |
15289 | maybe-distclean-target-gperf: | |
15290 | ||
15291 | distclean-target-gperf: | |
15292 | @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ | |
b40e3958 L |
15293 | r=`${PWD_COMMAND}`; export r; \ |
15294 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15295 | $(SET_LIB_PATH) \ |
15296 | echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \ | |
15297 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15298 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15299 | done; \ | |
15300 | (cd $(TARGET_SUBDIR)/gperf && \ | |
15301 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15302 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15303 | "RANLIB=$${RANLIB}" \ | |
15304 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15305 | distclean) \ | |
15306 | || exit 1 | |
15307 | ||
15308 | ||
15309 | .PHONY: maybe-distclean-target-examples distclean-target-examples | |
15310 | maybe-distclean-target-examples: | |
15311 | ||
15312 | distclean-target-examples: | |
15313 | @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ | |
b40e3958 L |
15314 | r=`${PWD_COMMAND}`; export r; \ |
15315 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15316 | $(SET_LIB_PATH) \ |
15317 | echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \ | |
15318 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15319 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15320 | done; \ | |
15321 | (cd $(TARGET_SUBDIR)/examples && \ | |
15322 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15323 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15324 | "RANLIB=$${RANLIB}" \ | |
15325 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15326 | distclean) \ | |
15327 | || exit 1 | |
15328 | ||
15329 | ||
15330 | .PHONY: maybe-distclean-target-libffi distclean-target-libffi | |
15331 | maybe-distclean-target-libffi: | |
15332 | ||
15333 | distclean-target-libffi: | |
15334 | @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ | |
b40e3958 L |
15335 | r=`${PWD_COMMAND}`; export r; \ |
15336 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15337 | $(SET_LIB_PATH) \ |
15338 | echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \ | |
15339 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15340 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15341 | done; \ | |
15342 | (cd $(TARGET_SUBDIR)/libffi && \ | |
15343 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15344 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15345 | "RANLIB=$${RANLIB}" \ | |
15346 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15347 | distclean) \ | |
15348 | || exit 1 | |
15349 | ||
15350 | ||
15351 | .PHONY: maybe-distclean-target-libjava distclean-target-libjava | |
15352 | maybe-distclean-target-libjava: | |
15353 | ||
15354 | distclean-target-libjava: | |
15355 | @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ | |
b40e3958 L |
15356 | r=`${PWD_COMMAND}`; export r; \ |
15357 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15358 | $(SET_LIB_PATH) \ |
15359 | echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \ | |
15360 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15361 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15362 | done; \ | |
15363 | (cd $(TARGET_SUBDIR)/libjava && \ | |
15364 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15365 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15366 | "RANLIB=$${RANLIB}" \ | |
15367 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15368 | distclean) \ | |
15369 | || exit 1 | |
15370 | ||
15371 | ||
15372 | .PHONY: maybe-distclean-target-zlib distclean-target-zlib | |
15373 | maybe-distclean-target-zlib: | |
15374 | ||
15375 | distclean-target-zlib: | |
15376 | @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
15377 | r=`${PWD_COMMAND}`; export r; \ |
15378 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15379 | $(SET_LIB_PATH) \ |
15380 | echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \ | |
15381 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15382 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15383 | done; \ | |
15384 | (cd $(TARGET_SUBDIR)/zlib && \ | |
15385 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15386 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15387 | "RANLIB=$${RANLIB}" \ | |
15388 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15389 | distclean) \ | |
15390 | || exit 1 | |
15391 | ||
15392 | ||
15393 | .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc | |
15394 | maybe-distclean-target-boehm-gc: | |
15395 | ||
15396 | distclean-target-boehm-gc: | |
15397 | @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
15398 | r=`${PWD_COMMAND}`; export r; \ |
15399 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15400 | $(SET_LIB_PATH) \ |
15401 | echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \ | |
15402 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15403 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15404 | done; \ | |
15405 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
15406 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15407 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15408 | "RANLIB=$${RANLIB}" \ | |
15409 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15410 | distclean) \ | |
15411 | || exit 1 | |
15412 | ||
15413 | ||
15414 | .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads | |
15415 | maybe-distclean-target-qthreads: | |
15416 | ||
15417 | distclean-target-qthreads: | |
15418 | @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ | |
b40e3958 L |
15419 | r=`${PWD_COMMAND}`; export r; \ |
15420 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15421 | $(SET_LIB_PATH) \ |
15422 | echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \ | |
15423 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15424 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15425 | done; \ | |
15426 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
15427 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15428 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15429 | "RANLIB=$${RANLIB}" \ | |
15430 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15431 | distclean) \ | |
15432 | || exit 1 | |
15433 | ||
15434 | ||
15435 | .PHONY: maybe-distclean-target-rda distclean-target-rda | |
15436 | maybe-distclean-target-rda: | |
15437 | ||
15438 | distclean-target-rda: | |
15439 | @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ | |
b40e3958 L |
15440 | r=`${PWD_COMMAND}`; export r; \ |
15441 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15442 | $(SET_LIB_PATH) \ |
15443 | echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \ | |
15444 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15445 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15446 | done; \ | |
15447 | (cd $(TARGET_SUBDIR)/rda && \ | |
15448 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15449 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15450 | "RANLIB=$${RANLIB}" \ | |
15451 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15452 | distclean) \ | |
15453 | || exit 1 | |
15454 | ||
15455 | ||
15456 | ||
15457 | .PHONY: do-maintainer-clean | |
15458 | do-maintainer-clean: maintainer-clean-host maintainer-clean-target | |
15459 | ||
15460 | .PHONY: maintainer-clean-host | |
15461 | maintainer-clean-host: maybe-maintainer-clean-gcc \ | |
15462 | maybe-maintainer-clean-ash \ | |
15463 | maybe-maintainer-clean-autoconf \ | |
15464 | maybe-maintainer-clean-automake \ | |
15465 | maybe-maintainer-clean-bash \ | |
15466 | maybe-maintainer-clean-bfd \ | |
15467 | maybe-maintainer-clean-opcodes \ | |
15468 | maybe-maintainer-clean-binutils \ | |
15469 | maybe-maintainer-clean-bison \ | |
15470 | maybe-maintainer-clean-byacc \ | |
15471 | maybe-maintainer-clean-bzip2 \ | |
15472 | maybe-maintainer-clean-dejagnu \ | |
15473 | maybe-maintainer-clean-diff \ | |
15474 | maybe-maintainer-clean-dosutils \ | |
15475 | maybe-maintainer-clean-etc \ | |
15476 | maybe-maintainer-clean-fastjar \ | |
15477 | maybe-maintainer-clean-fileutils \ | |
15478 | maybe-maintainer-clean-findutils \ | |
15479 | maybe-maintainer-clean-find \ | |
15480 | maybe-maintainer-clean-flex \ | |
15481 | maybe-maintainer-clean-gas \ | |
15482 | maybe-maintainer-clean-gawk \ | |
15483 | maybe-maintainer-clean-gettext \ | |
15484 | maybe-maintainer-clean-gnuserv \ | |
15485 | maybe-maintainer-clean-gprof \ | |
15486 | maybe-maintainer-clean-gzip \ | |
15487 | maybe-maintainer-clean-hello \ | |
15488 | maybe-maintainer-clean-indent \ | |
15489 | maybe-maintainer-clean-intl \ | |
15490 | maybe-maintainer-clean-tcl \ | |
15491 | maybe-maintainer-clean-itcl \ | |
15492 | maybe-maintainer-clean-ld \ | |
15493 | maybe-maintainer-clean-libgui \ | |
15494 | maybe-maintainer-clean-libiberty \ | |
15495 | maybe-maintainer-clean-libtool \ | |
15496 | maybe-maintainer-clean-m4 \ | |
15497 | maybe-maintainer-clean-make \ | |
15498 | maybe-maintainer-clean-mmalloc \ | |
15499 | maybe-maintainer-clean-patch \ | |
15500 | maybe-maintainer-clean-perl \ | |
15501 | maybe-maintainer-clean-prms \ | |
15502 | maybe-maintainer-clean-rcs \ | |
15503 | maybe-maintainer-clean-readline \ | |
15504 | maybe-maintainer-clean-release \ | |
15505 | maybe-maintainer-clean-recode \ | |
15506 | maybe-maintainer-clean-sed \ | |
15507 | maybe-maintainer-clean-send-pr \ | |
15508 | maybe-maintainer-clean-shellutils \ | |
15509 | maybe-maintainer-clean-sid \ | |
15510 | maybe-maintainer-clean-sim \ | |
15511 | maybe-maintainer-clean-tar \ | |
15512 | maybe-maintainer-clean-texinfo \ | |
15513 | maybe-maintainer-clean-textutils \ | |
15514 | maybe-maintainer-clean-time \ | |
15515 | maybe-maintainer-clean-uudecode \ | |
15516 | maybe-maintainer-clean-wdiff \ | |
15517 | maybe-maintainer-clean-zip \ | |
15518 | maybe-maintainer-clean-zlib \ | |
15519 | maybe-maintainer-clean-gdb \ | |
15520 | maybe-maintainer-clean-expect \ | |
15521 | maybe-maintainer-clean-guile \ | |
15522 | maybe-maintainer-clean-tk \ | |
15523 | maybe-maintainer-clean-tix \ | |
15524 | maybe-maintainer-clean-libtermcap \ | |
15525 | maybe-maintainer-clean-utils | |
15526 | ||
15527 | .PHONY: maintainer-clean-target | |
15528 | maintainer-clean-target: \ | |
15529 | maybe-maintainer-clean-target-libstdc++-v3 \ | |
15530 | maybe-maintainer-clean-target-newlib \ | |
15531 | maybe-maintainer-clean-target-libf2c \ | |
15532 | maybe-maintainer-clean-target-libobjc \ | |
15533 | maybe-maintainer-clean-target-libtermcap \ | |
15534 | maybe-maintainer-clean-target-winsup \ | |
15535 | maybe-maintainer-clean-target-libgloss \ | |
15536 | maybe-maintainer-clean-target-libiberty \ | |
15537 | maybe-maintainer-clean-target-gperf \ | |
15538 | maybe-maintainer-clean-target-examples \ | |
15539 | maybe-maintainer-clean-target-libffi \ | |
15540 | maybe-maintainer-clean-target-libjava \ | |
15541 | maybe-maintainer-clean-target-zlib \ | |
15542 | maybe-maintainer-clean-target-boehm-gc \ | |
15543 | maybe-maintainer-clean-target-qthreads \ | |
15544 | maybe-maintainer-clean-target-rda | |
15545 | ||
15546 | # GCC, the eternal special case | |
15547 | .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc | |
15548 | maybe-maintainer-clean-gcc: | |
15549 | maintainer-clean-gcc: | |
15550 | @[ -f ./gcc/Makefile ] || exit 0; \ | |
b40e3958 L |
15551 | r=`${PWD_COMMAND}`; export r; \ |
15552 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15553 | $(SET_LIB_PATH) \ |
15554 | for flag in $(EXTRA_GCC_FLAGS); do \ | |
15555 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15556 | done; \ | |
15557 | echo "Doing maintainer-clean in gcc" ; \ | |
15558 | (cd gcc && \ | |
15559 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15560 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15561 | "RANLIB=$${RANLIB}" \ | |
15562 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15563 | maintainer-clean) \ | |
15564 | || exit 1 | |
15565 | ||
15566 | # Host modules. | |
15567 | ||
15568 | .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash | |
15569 | maybe-maintainer-clean-ash: | |
15570 | ||
15571 | maintainer-clean-ash: | |
15572 | @[ -f ./ash/Makefile ] || exit 0; \ | |
b40e3958 L |
15573 | r=`${PWD_COMMAND}`; export r; \ |
15574 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15575 | $(SET_LIB_PATH) \ |
15576 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15577 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15578 | done; \ | |
15579 | echo "Doing maintainer-clean in ash" ; \ | |
15580 | (cd ash && \ | |
15581 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15582 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15583 | "RANLIB=$${RANLIB}" \ | |
15584 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15585 | maintainer-clean) \ | |
15586 | || exit 1 | |
15587 | ||
15588 | ||
15589 | .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf | |
15590 | maybe-maintainer-clean-autoconf: | |
15591 | ||
15592 | maintainer-clean-autoconf: | |
15593 | @[ -f ./autoconf/Makefile ] || exit 0; \ | |
b40e3958 L |
15594 | r=`${PWD_COMMAND}`; export r; \ |
15595 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15596 | $(SET_LIB_PATH) \ |
15597 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15598 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15599 | done; \ | |
15600 | echo "Doing maintainer-clean in autoconf" ; \ | |
15601 | (cd autoconf && \ | |
15602 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15603 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15604 | "RANLIB=$${RANLIB}" \ | |
15605 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15606 | maintainer-clean) \ | |
15607 | || exit 1 | |
15608 | ||
15609 | ||
15610 | .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake | |
15611 | maybe-maintainer-clean-automake: | |
15612 | ||
15613 | maintainer-clean-automake: | |
15614 | @[ -f ./automake/Makefile ] || exit 0; \ | |
b40e3958 L |
15615 | r=`${PWD_COMMAND}`; export r; \ |
15616 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15617 | $(SET_LIB_PATH) \ |
15618 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15619 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15620 | done; \ | |
15621 | echo "Doing maintainer-clean in automake" ; \ | |
15622 | (cd automake && \ | |
15623 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15624 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15625 | "RANLIB=$${RANLIB}" \ | |
15626 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15627 | maintainer-clean) \ | |
15628 | || exit 1 | |
15629 | ||
15630 | ||
15631 | .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash | |
15632 | maybe-maintainer-clean-bash: | |
15633 | ||
15634 | maintainer-clean-bash: | |
15635 | @[ -f ./bash/Makefile ] || exit 0; \ | |
b40e3958 L |
15636 | r=`${PWD_COMMAND}`; export r; \ |
15637 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15638 | $(SET_LIB_PATH) \ |
15639 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15640 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15641 | done; \ | |
15642 | echo "Doing maintainer-clean in bash" ; \ | |
15643 | (cd bash && \ | |
15644 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15645 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15646 | "RANLIB=$${RANLIB}" \ | |
15647 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15648 | maintainer-clean) \ | |
15649 | || exit 1 | |
15650 | ||
15651 | ||
15652 | .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd | |
15653 | maybe-maintainer-clean-bfd: | |
15654 | ||
15655 | maintainer-clean-bfd: | |
15656 | @[ -f ./bfd/Makefile ] || exit 0; \ | |
b40e3958 L |
15657 | r=`${PWD_COMMAND}`; export r; \ |
15658 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15659 | $(SET_LIB_PATH) \ |
15660 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15661 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15662 | done; \ | |
15663 | echo "Doing maintainer-clean in bfd" ; \ | |
15664 | (cd bfd && \ | |
15665 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15666 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15667 | "RANLIB=$${RANLIB}" \ | |
15668 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15669 | maintainer-clean) \ | |
15670 | || exit 1 | |
15671 | ||
15672 | ||
15673 | .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes | |
15674 | maybe-maintainer-clean-opcodes: | |
15675 | ||
15676 | maintainer-clean-opcodes: | |
15677 | @[ -f ./opcodes/Makefile ] || exit 0; \ | |
b40e3958 L |
15678 | r=`${PWD_COMMAND}`; export r; \ |
15679 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15680 | $(SET_LIB_PATH) \ |
15681 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15682 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15683 | done; \ | |
15684 | echo "Doing maintainer-clean in opcodes" ; \ | |
15685 | (cd opcodes && \ | |
15686 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15687 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15688 | "RANLIB=$${RANLIB}" \ | |
15689 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15690 | maintainer-clean) \ | |
15691 | || exit 1 | |
15692 | ||
15693 | ||
15694 | .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils | |
15695 | maybe-maintainer-clean-binutils: | |
15696 | ||
15697 | maintainer-clean-binutils: | |
15698 | @[ -f ./binutils/Makefile ] || exit 0; \ | |
b40e3958 L |
15699 | r=`${PWD_COMMAND}`; export r; \ |
15700 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15701 | $(SET_LIB_PATH) \ |
15702 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15703 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15704 | done; \ | |
15705 | echo "Doing maintainer-clean in binutils" ; \ | |
15706 | (cd binutils && \ | |
15707 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15708 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15709 | "RANLIB=$${RANLIB}" \ | |
15710 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15711 | maintainer-clean) \ | |
15712 | || exit 1 | |
15713 | ||
15714 | ||
15715 | .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison | |
15716 | maybe-maintainer-clean-bison: | |
15717 | ||
15718 | maintainer-clean-bison: | |
15719 | @[ -f ./bison/Makefile ] || exit 0; \ | |
b40e3958 L |
15720 | r=`${PWD_COMMAND}`; export r; \ |
15721 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15722 | $(SET_LIB_PATH) \ |
15723 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15724 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15725 | done; \ | |
15726 | echo "Doing maintainer-clean in bison" ; \ | |
15727 | (cd bison && \ | |
15728 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15729 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15730 | "RANLIB=$${RANLIB}" \ | |
15731 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15732 | maintainer-clean) \ | |
15733 | || exit 1 | |
15734 | ||
15735 | ||
15736 | .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc | |
15737 | maybe-maintainer-clean-byacc: | |
15738 | ||
15739 | maintainer-clean-byacc: | |
15740 | @[ -f ./byacc/Makefile ] || exit 0; \ | |
b40e3958 L |
15741 | r=`${PWD_COMMAND}`; export r; \ |
15742 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15743 | $(SET_LIB_PATH) \ |
15744 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15745 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15746 | done; \ | |
15747 | echo "Doing maintainer-clean in byacc" ; \ | |
15748 | (cd byacc && \ | |
15749 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15750 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15751 | "RANLIB=$${RANLIB}" \ | |
15752 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15753 | maintainer-clean) \ | |
15754 | || exit 1 | |
15755 | ||
15756 | ||
15757 | .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2 | |
15758 | maybe-maintainer-clean-bzip2: | |
15759 | ||
15760 | maintainer-clean-bzip2: | |
15761 | @[ -f ./bzip2/Makefile ] || exit 0; \ | |
b40e3958 L |
15762 | r=`${PWD_COMMAND}`; export r; \ |
15763 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15764 | $(SET_LIB_PATH) \ |
15765 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15766 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15767 | done; \ | |
15768 | echo "Doing maintainer-clean in bzip2" ; \ | |
15769 | (cd bzip2 && \ | |
15770 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15771 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15772 | "RANLIB=$${RANLIB}" \ | |
15773 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15774 | maintainer-clean) \ | |
15775 | || exit 1 | |
15776 | ||
15777 | ||
15778 | .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu | |
15779 | maybe-maintainer-clean-dejagnu: | |
15780 | ||
15781 | maintainer-clean-dejagnu: | |
15782 | @[ -f ./dejagnu/Makefile ] || exit 0; \ | |
b40e3958 L |
15783 | r=`${PWD_COMMAND}`; export r; \ |
15784 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15785 | $(SET_LIB_PATH) \ |
15786 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15787 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15788 | done; \ | |
15789 | echo "Doing maintainer-clean in dejagnu" ; \ | |
15790 | (cd dejagnu && \ | |
15791 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15792 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15793 | "RANLIB=$${RANLIB}" \ | |
15794 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15795 | maintainer-clean) \ | |
15796 | || exit 1 | |
15797 | ||
15798 | ||
15799 | .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff | |
15800 | maybe-maintainer-clean-diff: | |
15801 | ||
15802 | maintainer-clean-diff: | |
15803 | @[ -f ./diff/Makefile ] || exit 0; \ | |
b40e3958 L |
15804 | r=`${PWD_COMMAND}`; export r; \ |
15805 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15806 | $(SET_LIB_PATH) \ |
15807 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15808 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15809 | done; \ | |
15810 | echo "Doing maintainer-clean in diff" ; \ | |
15811 | (cd diff && \ | |
15812 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15813 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15814 | "RANLIB=$${RANLIB}" \ | |
15815 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15816 | maintainer-clean) \ | |
15817 | || exit 1 | |
15818 | ||
15819 | ||
15820 | .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils | |
15821 | maybe-maintainer-clean-dosutils: | |
15822 | ||
15823 | maintainer-clean-dosutils: | |
15824 | @[ -f ./dosutils/Makefile ] || exit 0; \ | |
b40e3958 L |
15825 | r=`${PWD_COMMAND}`; export r; \ |
15826 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15827 | $(SET_LIB_PATH) \ |
15828 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15829 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15830 | done; \ | |
15831 | echo "Doing maintainer-clean in dosutils" ; \ | |
15832 | (cd dosutils && \ | |
15833 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15834 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15835 | "RANLIB=$${RANLIB}" \ | |
15836 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15837 | maintainer-clean) \ | |
15838 | || exit 1 | |
15839 | ||
15840 | ||
15841 | .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc | |
15842 | maybe-maintainer-clean-etc: | |
15843 | ||
15844 | maintainer-clean-etc: | |
15845 | @[ -f ./etc/Makefile ] || exit 0; \ | |
b40e3958 L |
15846 | r=`${PWD_COMMAND}`; export r; \ |
15847 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15848 | $(SET_LIB_PATH) \ |
15849 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15850 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15851 | done; \ | |
15852 | echo "Doing maintainer-clean in etc" ; \ | |
15853 | (cd etc && \ | |
15854 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15855 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15856 | "RANLIB=$${RANLIB}" \ | |
15857 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15858 | maintainer-clean) \ | |
15859 | || exit 1 | |
15860 | ||
15861 | ||
15862 | .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar | |
15863 | maybe-maintainer-clean-fastjar: | |
15864 | ||
15865 | maintainer-clean-fastjar: | |
15866 | @[ -f ./fastjar/Makefile ] || exit 0; \ | |
b40e3958 L |
15867 | r=`${PWD_COMMAND}`; export r; \ |
15868 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15869 | $(SET_LIB_PATH) \ |
15870 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15871 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15872 | done; \ | |
15873 | echo "Doing maintainer-clean in fastjar" ; \ | |
15874 | (cd fastjar && \ | |
15875 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15876 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15877 | "RANLIB=$${RANLIB}" \ | |
15878 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15879 | maintainer-clean) \ | |
15880 | || exit 1 | |
15881 | ||
15882 | ||
15883 | .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils | |
15884 | maybe-maintainer-clean-fileutils: | |
15885 | ||
15886 | maintainer-clean-fileutils: | |
15887 | @[ -f ./fileutils/Makefile ] || exit 0; \ | |
b40e3958 L |
15888 | r=`${PWD_COMMAND}`; export r; \ |
15889 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15890 | $(SET_LIB_PATH) \ |
15891 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15892 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15893 | done; \ | |
15894 | echo "Doing maintainer-clean in fileutils" ; \ | |
15895 | (cd fileutils && \ | |
15896 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15897 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15898 | "RANLIB=$${RANLIB}" \ | |
15899 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15900 | maintainer-clean) \ | |
15901 | || exit 1 | |
15902 | ||
15903 | ||
15904 | .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils | |
15905 | maybe-maintainer-clean-findutils: | |
15906 | ||
15907 | maintainer-clean-findutils: | |
15908 | @[ -f ./findutils/Makefile ] || exit 0; \ | |
b40e3958 L |
15909 | r=`${PWD_COMMAND}`; export r; \ |
15910 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15911 | $(SET_LIB_PATH) \ |
15912 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15913 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15914 | done; \ | |
15915 | echo "Doing maintainer-clean in findutils" ; \ | |
15916 | (cd findutils && \ | |
15917 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15918 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15919 | "RANLIB=$${RANLIB}" \ | |
15920 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15921 | maintainer-clean) \ | |
15922 | || exit 1 | |
15923 | ||
15924 | ||
15925 | .PHONY: maybe-maintainer-clean-find maintainer-clean-find | |
15926 | maybe-maintainer-clean-find: | |
15927 | ||
15928 | maintainer-clean-find: | |
15929 | @[ -f ./find/Makefile ] || exit 0; \ | |
b40e3958 L |
15930 | r=`${PWD_COMMAND}`; export r; \ |
15931 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15932 | $(SET_LIB_PATH) \ |
15933 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15934 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15935 | done; \ | |
15936 | echo "Doing maintainer-clean in find" ; \ | |
15937 | (cd find && \ | |
15938 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15939 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15940 | "RANLIB=$${RANLIB}" \ | |
15941 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15942 | maintainer-clean) \ | |
15943 | || exit 1 | |
15944 | ||
15945 | ||
15946 | .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex | |
15947 | maybe-maintainer-clean-flex: | |
15948 | ||
15949 | maintainer-clean-flex: | |
15950 | @[ -f ./flex/Makefile ] || exit 0; \ | |
b40e3958 L |
15951 | r=`${PWD_COMMAND}`; export r; \ |
15952 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15953 | $(SET_LIB_PATH) \ |
15954 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15955 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15956 | done; \ | |
15957 | echo "Doing maintainer-clean in flex" ; \ | |
15958 | (cd flex && \ | |
15959 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15960 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15961 | "RANLIB=$${RANLIB}" \ | |
15962 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15963 | maintainer-clean) \ | |
15964 | || exit 1 | |
15965 | ||
15966 | ||
15967 | .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas | |
15968 | maybe-maintainer-clean-gas: | |
15969 | ||
15970 | maintainer-clean-gas: | |
15971 | @[ -f ./gas/Makefile ] || exit 0; \ | |
b40e3958 L |
15972 | r=`${PWD_COMMAND}`; export r; \ |
15973 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15974 | $(SET_LIB_PATH) \ |
15975 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15976 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15977 | done; \ | |
15978 | echo "Doing maintainer-clean in gas" ; \ | |
15979 | (cd gas && \ | |
15980 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15981 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15982 | "RANLIB=$${RANLIB}" \ | |
15983 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15984 | maintainer-clean) \ | |
15985 | || exit 1 | |
15986 | ||
15987 | ||
15988 | .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk | |
15989 | maybe-maintainer-clean-gawk: | |
15990 | ||
15991 | maintainer-clean-gawk: | |
15992 | @[ -f ./gawk/Makefile ] || exit 0; \ | |
b40e3958 L |
15993 | r=`${PWD_COMMAND}`; export r; \ |
15994 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15995 | $(SET_LIB_PATH) \ |
15996 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15997 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15998 | done; \ | |
15999 | echo "Doing maintainer-clean in gawk" ; \ | |
16000 | (cd gawk && \ | |
16001 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16002 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16003 | "RANLIB=$${RANLIB}" \ | |
16004 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16005 | maintainer-clean) \ | |
16006 | || exit 1 | |
16007 | ||
16008 | ||
16009 | .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext | |
16010 | maybe-maintainer-clean-gettext: | |
16011 | ||
16012 | maintainer-clean-gettext: | |
16013 | @[ -f ./gettext/Makefile ] || exit 0; \ | |
b40e3958 L |
16014 | r=`${PWD_COMMAND}`; export r; \ |
16015 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16016 | $(SET_LIB_PATH) \ |
16017 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16018 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16019 | done; \ | |
16020 | echo "Doing maintainer-clean in gettext" ; \ | |
16021 | (cd gettext && \ | |
16022 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16023 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16024 | "RANLIB=$${RANLIB}" \ | |
16025 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16026 | maintainer-clean) \ | |
16027 | || exit 1 | |
16028 | ||
16029 | ||
16030 | .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv | |
16031 | maybe-maintainer-clean-gnuserv: | |
16032 | ||
16033 | maintainer-clean-gnuserv: | |
16034 | @[ -f ./gnuserv/Makefile ] || exit 0; \ | |
b40e3958 L |
16035 | r=`${PWD_COMMAND}`; export r; \ |
16036 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16037 | $(SET_LIB_PATH) \ |
16038 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16039 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16040 | done; \ | |
16041 | echo "Doing maintainer-clean in gnuserv" ; \ | |
16042 | (cd gnuserv && \ | |
16043 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16044 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16045 | "RANLIB=$${RANLIB}" \ | |
16046 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16047 | maintainer-clean) \ | |
16048 | || exit 1 | |
16049 | ||
16050 | ||
16051 | .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof | |
16052 | maybe-maintainer-clean-gprof: | |
16053 | ||
16054 | maintainer-clean-gprof: | |
16055 | @[ -f ./gprof/Makefile ] || exit 0; \ | |
b40e3958 L |
16056 | r=`${PWD_COMMAND}`; export r; \ |
16057 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16058 | $(SET_LIB_PATH) \ |
16059 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16060 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16061 | done; \ | |
16062 | echo "Doing maintainer-clean in gprof" ; \ | |
16063 | (cd gprof && \ | |
16064 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16065 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16066 | "RANLIB=$${RANLIB}" \ | |
16067 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16068 | maintainer-clean) \ | |
16069 | || exit 1 | |
16070 | ||
16071 | ||
16072 | .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip | |
16073 | maybe-maintainer-clean-gzip: | |
16074 | ||
16075 | maintainer-clean-gzip: | |
16076 | @[ -f ./gzip/Makefile ] || exit 0; \ | |
b40e3958 L |
16077 | r=`${PWD_COMMAND}`; export r; \ |
16078 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16079 | $(SET_LIB_PATH) \ |
16080 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16081 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16082 | done; \ | |
16083 | echo "Doing maintainer-clean in gzip" ; \ | |
16084 | (cd gzip && \ | |
16085 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16086 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16087 | "RANLIB=$${RANLIB}" \ | |
16088 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16089 | maintainer-clean) \ | |
16090 | || exit 1 | |
16091 | ||
16092 | ||
16093 | .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello | |
16094 | maybe-maintainer-clean-hello: | |
16095 | ||
16096 | maintainer-clean-hello: | |
16097 | @[ -f ./hello/Makefile ] || exit 0; \ | |
b40e3958 L |
16098 | r=`${PWD_COMMAND}`; export r; \ |
16099 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16100 | $(SET_LIB_PATH) \ |
16101 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16102 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16103 | done; \ | |
16104 | echo "Doing maintainer-clean in hello" ; \ | |
16105 | (cd hello && \ | |
16106 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16107 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16108 | "RANLIB=$${RANLIB}" \ | |
16109 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16110 | maintainer-clean) \ | |
16111 | || exit 1 | |
16112 | ||
16113 | ||
16114 | .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent | |
16115 | maybe-maintainer-clean-indent: | |
16116 | ||
16117 | maintainer-clean-indent: | |
16118 | @[ -f ./indent/Makefile ] || exit 0; \ | |
b40e3958 L |
16119 | r=`${PWD_COMMAND}`; export r; \ |
16120 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16121 | $(SET_LIB_PATH) \ |
16122 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16123 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16124 | done; \ | |
16125 | echo "Doing maintainer-clean in indent" ; \ | |
16126 | (cd indent && \ | |
16127 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16128 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16129 | "RANLIB=$${RANLIB}" \ | |
16130 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16131 | maintainer-clean) \ | |
16132 | || exit 1 | |
16133 | ||
16134 | ||
16135 | .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl | |
16136 | maybe-maintainer-clean-intl: | |
16137 | ||
16138 | maintainer-clean-intl: | |
16139 | @[ -f ./intl/Makefile ] || exit 0; \ | |
b40e3958 L |
16140 | r=`${PWD_COMMAND}`; export r; \ |
16141 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16142 | $(SET_LIB_PATH) \ |
16143 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16144 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16145 | done; \ | |
16146 | echo "Doing maintainer-clean in intl" ; \ | |
16147 | (cd intl && \ | |
16148 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16149 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16150 | "RANLIB=$${RANLIB}" \ | |
16151 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16152 | maintainer-clean) \ | |
16153 | || exit 1 | |
16154 | ||
16155 | ||
16156 | .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl | |
16157 | maybe-maintainer-clean-tcl: | |
16158 | ||
16159 | maintainer-clean-tcl: | |
16160 | @[ -f ./tcl/Makefile ] || exit 0; \ | |
b40e3958 L |
16161 | r=`${PWD_COMMAND}`; export r; \ |
16162 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16163 | $(SET_LIB_PATH) \ |
16164 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16165 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16166 | done; \ | |
16167 | echo "Doing maintainer-clean in tcl" ; \ | |
16168 | (cd tcl && \ | |
16169 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16170 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16171 | "RANLIB=$${RANLIB}" \ | |
16172 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16173 | maintainer-clean) \ | |
16174 | || exit 1 | |
16175 | ||
16176 | ||
16177 | .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl | |
16178 | maybe-maintainer-clean-itcl: | |
16179 | ||
16180 | maintainer-clean-itcl: | |
16181 | @[ -f ./itcl/Makefile ] || exit 0; \ | |
b40e3958 L |
16182 | r=`${PWD_COMMAND}`; export r; \ |
16183 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16184 | $(SET_LIB_PATH) \ |
16185 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16186 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16187 | done; \ | |
16188 | echo "Doing maintainer-clean in itcl" ; \ | |
16189 | (cd itcl && \ | |
16190 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16191 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16192 | "RANLIB=$${RANLIB}" \ | |
16193 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16194 | maintainer-clean) \ | |
16195 | || exit 1 | |
16196 | ||
16197 | ||
16198 | .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld | |
16199 | maybe-maintainer-clean-ld: | |
16200 | ||
16201 | maintainer-clean-ld: | |
16202 | @[ -f ./ld/Makefile ] || exit 0; \ | |
b40e3958 L |
16203 | r=`${PWD_COMMAND}`; export r; \ |
16204 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16205 | $(SET_LIB_PATH) \ |
16206 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16207 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16208 | done; \ | |
16209 | echo "Doing maintainer-clean in ld" ; \ | |
16210 | (cd ld && \ | |
16211 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16212 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16213 | "RANLIB=$${RANLIB}" \ | |
16214 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16215 | maintainer-clean) \ | |
16216 | || exit 1 | |
16217 | ||
16218 | ||
16219 | .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui | |
16220 | maybe-maintainer-clean-libgui: | |
16221 | ||
16222 | maintainer-clean-libgui: | |
16223 | @[ -f ./libgui/Makefile ] || exit 0; \ | |
b40e3958 L |
16224 | r=`${PWD_COMMAND}`; export r; \ |
16225 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16226 | $(SET_LIB_PATH) \ |
16227 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16228 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16229 | done; \ | |
16230 | echo "Doing maintainer-clean in libgui" ; \ | |
16231 | (cd libgui && \ | |
16232 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16233 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16234 | "RANLIB=$${RANLIB}" \ | |
16235 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16236 | maintainer-clean) \ | |
16237 | || exit 1 | |
16238 | ||
16239 | ||
16240 | .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty | |
16241 | maybe-maintainer-clean-libiberty: | |
16242 | ||
16243 | maintainer-clean-libiberty: | |
16244 | @[ -f ./libiberty/Makefile ] || exit 0; \ | |
b40e3958 L |
16245 | r=`${PWD_COMMAND}`; export r; \ |
16246 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16247 | $(SET_LIB_PATH) \ |
16248 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16249 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16250 | done; \ | |
16251 | echo "Doing maintainer-clean in libiberty" ; \ | |
16252 | (cd libiberty && \ | |
16253 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16254 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16255 | "RANLIB=$${RANLIB}" \ | |
16256 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16257 | maintainer-clean) \ | |
16258 | || exit 1 | |
16259 | ||
16260 | ||
16261 | .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool | |
16262 | maybe-maintainer-clean-libtool: | |
16263 | ||
16264 | maintainer-clean-libtool: | |
16265 | @[ -f ./libtool/Makefile ] || exit 0; \ | |
b40e3958 L |
16266 | r=`${PWD_COMMAND}`; export r; \ |
16267 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16268 | $(SET_LIB_PATH) \ |
16269 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16270 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16271 | done; \ | |
16272 | echo "Doing maintainer-clean in libtool" ; \ | |
16273 | (cd libtool && \ | |
16274 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16275 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16276 | "RANLIB=$${RANLIB}" \ | |
16277 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16278 | maintainer-clean) \ | |
16279 | || exit 1 | |
16280 | ||
16281 | ||
16282 | .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4 | |
16283 | maybe-maintainer-clean-m4: | |
16284 | ||
16285 | maintainer-clean-m4: | |
16286 | @[ -f ./m4/Makefile ] || exit 0; \ | |
b40e3958 L |
16287 | r=`${PWD_COMMAND}`; export r; \ |
16288 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16289 | $(SET_LIB_PATH) \ |
16290 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16291 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16292 | done; \ | |
16293 | echo "Doing maintainer-clean in m4" ; \ | |
16294 | (cd m4 && \ | |
16295 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16296 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16297 | "RANLIB=$${RANLIB}" \ | |
16298 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16299 | maintainer-clean) \ | |
16300 | || exit 1 | |
16301 | ||
16302 | ||
16303 | .PHONY: maybe-maintainer-clean-make maintainer-clean-make | |
16304 | maybe-maintainer-clean-make: | |
16305 | ||
16306 | maintainer-clean-make: | |
16307 | @[ -f ./make/Makefile ] || exit 0; \ | |
b40e3958 L |
16308 | r=`${PWD_COMMAND}`; export r; \ |
16309 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16310 | $(SET_LIB_PATH) \ |
16311 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16312 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16313 | done; \ | |
16314 | echo "Doing maintainer-clean in make" ; \ | |
16315 | (cd make && \ | |
16316 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16317 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16318 | "RANLIB=$${RANLIB}" \ | |
16319 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16320 | maintainer-clean) \ | |
16321 | || exit 1 | |
16322 | ||
16323 | ||
16324 | .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc | |
16325 | maybe-maintainer-clean-mmalloc: | |
16326 | ||
16327 | maintainer-clean-mmalloc: | |
16328 | @[ -f ./mmalloc/Makefile ] || exit 0; \ | |
b40e3958 L |
16329 | r=`${PWD_COMMAND}`; export r; \ |
16330 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16331 | $(SET_LIB_PATH) \ |
16332 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16333 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16334 | done; \ | |
16335 | echo "Doing maintainer-clean in mmalloc" ; \ | |
16336 | (cd mmalloc && \ | |
16337 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16338 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16339 | "RANLIB=$${RANLIB}" \ | |
16340 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16341 | maintainer-clean) \ | |
16342 | || exit 1 | |
16343 | ||
16344 | ||
16345 | .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch | |
16346 | maybe-maintainer-clean-patch: | |
16347 | ||
16348 | maintainer-clean-patch: | |
16349 | @[ -f ./patch/Makefile ] || exit 0; \ | |
b40e3958 L |
16350 | r=`${PWD_COMMAND}`; export r; \ |
16351 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16352 | $(SET_LIB_PATH) \ |
16353 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16354 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16355 | done; \ | |
16356 | echo "Doing maintainer-clean in patch" ; \ | |
16357 | (cd patch && \ | |
16358 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16359 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16360 | "RANLIB=$${RANLIB}" \ | |
16361 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16362 | maintainer-clean) \ | |
16363 | || exit 1 | |
16364 | ||
16365 | ||
16366 | .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl | |
16367 | maybe-maintainer-clean-perl: | |
16368 | ||
16369 | maintainer-clean-perl: | |
16370 | @[ -f ./perl/Makefile ] || exit 0; \ | |
b40e3958 L |
16371 | r=`${PWD_COMMAND}`; export r; \ |
16372 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16373 | $(SET_LIB_PATH) \ |
16374 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16375 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16376 | done; \ | |
16377 | echo "Doing maintainer-clean in perl" ; \ | |
16378 | (cd perl && \ | |
16379 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16380 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16381 | "RANLIB=$${RANLIB}" \ | |
16382 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16383 | maintainer-clean) \ | |
16384 | || exit 1 | |
16385 | ||
16386 | ||
16387 | .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms | |
16388 | maybe-maintainer-clean-prms: | |
16389 | ||
16390 | maintainer-clean-prms: | |
16391 | @[ -f ./prms/Makefile ] || exit 0; \ | |
b40e3958 L |
16392 | r=`${PWD_COMMAND}`; export r; \ |
16393 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16394 | $(SET_LIB_PATH) \ |
16395 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16396 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16397 | done; \ | |
16398 | echo "Doing maintainer-clean in prms" ; \ | |
16399 | (cd prms && \ | |
16400 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16401 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16402 | "RANLIB=$${RANLIB}" \ | |
16403 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16404 | maintainer-clean) \ | |
16405 | || exit 1 | |
16406 | ||
16407 | ||
16408 | .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs | |
16409 | maybe-maintainer-clean-rcs: | |
16410 | ||
16411 | maintainer-clean-rcs: | |
16412 | @[ -f ./rcs/Makefile ] || exit 0; \ | |
b40e3958 L |
16413 | r=`${PWD_COMMAND}`; export r; \ |
16414 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16415 | $(SET_LIB_PATH) \ |
16416 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16417 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16418 | done; \ | |
16419 | echo "Doing maintainer-clean in rcs" ; \ | |
16420 | (cd rcs && \ | |
16421 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16422 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16423 | "RANLIB=$${RANLIB}" \ | |
16424 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16425 | maintainer-clean) \ | |
16426 | || exit 1 | |
16427 | ||
16428 | ||
16429 | .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline | |
16430 | maybe-maintainer-clean-readline: | |
16431 | ||
16432 | maintainer-clean-readline: | |
16433 | @[ -f ./readline/Makefile ] || exit 0; \ | |
b40e3958 L |
16434 | r=`${PWD_COMMAND}`; export r; \ |
16435 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16436 | $(SET_LIB_PATH) \ |
16437 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16438 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16439 | done; \ | |
16440 | echo "Doing maintainer-clean in readline" ; \ | |
16441 | (cd readline && \ | |
16442 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16443 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16444 | "RANLIB=$${RANLIB}" \ | |
16445 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16446 | maintainer-clean) \ | |
16447 | || exit 1 | |
16448 | ||
16449 | ||
16450 | .PHONY: maybe-maintainer-clean-release maintainer-clean-release | |
16451 | maybe-maintainer-clean-release: | |
16452 | ||
16453 | maintainer-clean-release: | |
16454 | @[ -f ./release/Makefile ] || exit 0; \ | |
b40e3958 L |
16455 | r=`${PWD_COMMAND}`; export r; \ |
16456 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16457 | $(SET_LIB_PATH) \ |
16458 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16459 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16460 | done; \ | |
16461 | echo "Doing maintainer-clean in release" ; \ | |
16462 | (cd release && \ | |
16463 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16464 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16465 | "RANLIB=$${RANLIB}" \ | |
16466 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16467 | maintainer-clean) \ | |
16468 | || exit 1 | |
16469 | ||
16470 | ||
16471 | .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode | |
16472 | maybe-maintainer-clean-recode: | |
16473 | ||
16474 | maintainer-clean-recode: | |
16475 | @[ -f ./recode/Makefile ] || exit 0; \ | |
b40e3958 L |
16476 | r=`${PWD_COMMAND}`; export r; \ |
16477 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16478 | $(SET_LIB_PATH) \ |
16479 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16480 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16481 | done; \ | |
16482 | echo "Doing maintainer-clean in recode" ; \ | |
16483 | (cd recode && \ | |
16484 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16485 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16486 | "RANLIB=$${RANLIB}" \ | |
16487 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16488 | maintainer-clean) \ | |
16489 | || exit 1 | |
16490 | ||
16491 | ||
16492 | .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed | |
16493 | maybe-maintainer-clean-sed: | |
16494 | ||
16495 | maintainer-clean-sed: | |
16496 | @[ -f ./sed/Makefile ] || exit 0; \ | |
b40e3958 L |
16497 | r=`${PWD_COMMAND}`; export r; \ |
16498 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16499 | $(SET_LIB_PATH) \ |
16500 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16501 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16502 | done; \ | |
16503 | echo "Doing maintainer-clean in sed" ; \ | |
16504 | (cd sed && \ | |
16505 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16506 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16507 | "RANLIB=$${RANLIB}" \ | |
16508 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16509 | maintainer-clean) \ | |
16510 | || exit 1 | |
16511 | ||
16512 | ||
16513 | .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr | |
16514 | maybe-maintainer-clean-send-pr: | |
16515 | ||
16516 | maintainer-clean-send-pr: | |
16517 | @[ -f ./send-pr/Makefile ] || exit 0; \ | |
b40e3958 L |
16518 | r=`${PWD_COMMAND}`; export r; \ |
16519 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16520 | $(SET_LIB_PATH) \ |
16521 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16522 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16523 | done; \ | |
16524 | echo "Doing maintainer-clean in send-pr" ; \ | |
16525 | (cd send-pr && \ | |
16526 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16527 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16528 | "RANLIB=$${RANLIB}" \ | |
16529 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16530 | maintainer-clean) \ | |
16531 | || exit 1 | |
16532 | ||
16533 | ||
16534 | .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils | |
16535 | maybe-maintainer-clean-shellutils: | |
16536 | ||
16537 | maintainer-clean-shellutils: | |
16538 | @[ -f ./shellutils/Makefile ] || exit 0; \ | |
b40e3958 L |
16539 | r=`${PWD_COMMAND}`; export r; \ |
16540 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16541 | $(SET_LIB_PATH) \ |
16542 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16543 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16544 | done; \ | |
16545 | echo "Doing maintainer-clean in shellutils" ; \ | |
16546 | (cd shellutils && \ | |
16547 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16548 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16549 | "RANLIB=$${RANLIB}" \ | |
16550 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16551 | maintainer-clean) \ | |
16552 | || exit 1 | |
16553 | ||
16554 | ||
16555 | .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid | |
16556 | maybe-maintainer-clean-sid: | |
16557 | ||
16558 | maintainer-clean-sid: | |
16559 | @[ -f ./sid/Makefile ] || exit 0; \ | |
b40e3958 L |
16560 | r=`${PWD_COMMAND}`; export r; \ |
16561 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16562 | $(SET_LIB_PATH) \ |
16563 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16564 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16565 | done; \ | |
16566 | echo "Doing maintainer-clean in sid" ; \ | |
16567 | (cd sid && \ | |
16568 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16569 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16570 | "RANLIB=$${RANLIB}" \ | |
16571 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16572 | maintainer-clean) \ | |
16573 | || exit 1 | |
16574 | ||
16575 | ||
16576 | .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim | |
16577 | maybe-maintainer-clean-sim: | |
16578 | ||
16579 | maintainer-clean-sim: | |
16580 | @[ -f ./sim/Makefile ] || exit 0; \ | |
b40e3958 L |
16581 | r=`${PWD_COMMAND}`; export r; \ |
16582 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16583 | $(SET_LIB_PATH) \ |
16584 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16585 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16586 | done; \ | |
16587 | echo "Doing maintainer-clean in sim" ; \ | |
16588 | (cd sim && \ | |
16589 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16590 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16591 | "RANLIB=$${RANLIB}" \ | |
16592 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16593 | maintainer-clean) \ | |
16594 | || exit 1 | |
16595 | ||
16596 | ||
16597 | .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar | |
16598 | maybe-maintainer-clean-tar: | |
16599 | ||
16600 | maintainer-clean-tar: | |
16601 | @[ -f ./tar/Makefile ] || exit 0; \ | |
b40e3958 L |
16602 | r=`${PWD_COMMAND}`; export r; \ |
16603 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16604 | $(SET_LIB_PATH) \ |
16605 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16606 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16607 | done; \ | |
16608 | echo "Doing maintainer-clean in tar" ; \ | |
16609 | (cd tar && \ | |
16610 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16611 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16612 | "RANLIB=$${RANLIB}" \ | |
16613 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16614 | maintainer-clean) \ | |
16615 | || exit 1 | |
16616 | ||
16617 | ||
16618 | .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo | |
16619 | maybe-maintainer-clean-texinfo: | |
16620 | ||
16621 | maintainer-clean-texinfo: | |
16622 | @[ -f ./texinfo/Makefile ] || exit 0; \ | |
b40e3958 L |
16623 | r=`${PWD_COMMAND}`; export r; \ |
16624 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16625 | $(SET_LIB_PATH) \ |
16626 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16627 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16628 | done; \ | |
16629 | echo "Doing maintainer-clean in texinfo" ; \ | |
16630 | (cd texinfo && \ | |
16631 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16632 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16633 | "RANLIB=$${RANLIB}" \ | |
16634 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16635 | maintainer-clean) \ | |
16636 | || exit 1 | |
16637 | ||
16638 | ||
16639 | .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils | |
16640 | maybe-maintainer-clean-textutils: | |
16641 | ||
16642 | maintainer-clean-textutils: | |
16643 | @[ -f ./textutils/Makefile ] || exit 0; \ | |
b40e3958 L |
16644 | r=`${PWD_COMMAND}`; export r; \ |
16645 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16646 | $(SET_LIB_PATH) \ |
16647 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16648 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16649 | done; \ | |
16650 | echo "Doing maintainer-clean in textutils" ; \ | |
16651 | (cd textutils && \ | |
16652 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16653 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16654 | "RANLIB=$${RANLIB}" \ | |
16655 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16656 | maintainer-clean) \ | |
16657 | || exit 1 | |
16658 | ||
16659 | ||
16660 | .PHONY: maybe-maintainer-clean-time maintainer-clean-time | |
16661 | maybe-maintainer-clean-time: | |
16662 | ||
16663 | maintainer-clean-time: | |
16664 | @[ -f ./time/Makefile ] || exit 0; \ | |
b40e3958 L |
16665 | r=`${PWD_COMMAND}`; export r; \ |
16666 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16667 | $(SET_LIB_PATH) \ |
16668 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16669 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16670 | done; \ | |
16671 | echo "Doing maintainer-clean in time" ; \ | |
16672 | (cd time && \ | |
16673 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16674 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16675 | "RANLIB=$${RANLIB}" \ | |
16676 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16677 | maintainer-clean) \ | |
16678 | || exit 1 | |
16679 | ||
16680 | ||
16681 | .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode | |
16682 | maybe-maintainer-clean-uudecode: | |
16683 | ||
16684 | maintainer-clean-uudecode: | |
16685 | @[ -f ./uudecode/Makefile ] || exit 0; \ | |
b40e3958 L |
16686 | r=`${PWD_COMMAND}`; export r; \ |
16687 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16688 | $(SET_LIB_PATH) \ |
16689 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16690 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16691 | done; \ | |
16692 | echo "Doing maintainer-clean in uudecode" ; \ | |
16693 | (cd uudecode && \ | |
16694 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16695 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16696 | "RANLIB=$${RANLIB}" \ | |
16697 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16698 | maintainer-clean) \ | |
16699 | || exit 1 | |
16700 | ||
16701 | ||
16702 | .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff | |
16703 | maybe-maintainer-clean-wdiff: | |
16704 | ||
16705 | maintainer-clean-wdiff: | |
16706 | @[ -f ./wdiff/Makefile ] || exit 0; \ | |
b40e3958 L |
16707 | r=`${PWD_COMMAND}`; export r; \ |
16708 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16709 | $(SET_LIB_PATH) \ |
16710 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16711 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16712 | done; \ | |
16713 | echo "Doing maintainer-clean in wdiff" ; \ | |
16714 | (cd wdiff && \ | |
16715 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16716 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16717 | "RANLIB=$${RANLIB}" \ | |
16718 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16719 | maintainer-clean) \ | |
16720 | || exit 1 | |
16721 | ||
16722 | ||
16723 | .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip | |
16724 | maybe-maintainer-clean-zip: | |
16725 | ||
16726 | maintainer-clean-zip: | |
16727 | @[ -f ./zip/Makefile ] || exit 0; \ | |
b40e3958 L |
16728 | r=`${PWD_COMMAND}`; export r; \ |
16729 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16730 | $(SET_LIB_PATH) \ |
16731 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16732 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16733 | done; \ | |
16734 | echo "Doing maintainer-clean in zip" ; \ | |
16735 | (cd zip && \ | |
16736 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16737 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16738 | "RANLIB=$${RANLIB}" \ | |
16739 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16740 | maintainer-clean) \ | |
16741 | || exit 1 | |
16742 | ||
16743 | ||
16744 | .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib | |
16745 | maybe-maintainer-clean-zlib: | |
16746 | ||
16747 | maintainer-clean-zlib: | |
16748 | @[ -f ./zlib/Makefile ] || exit 0; \ | |
b40e3958 L |
16749 | r=`${PWD_COMMAND}`; export r; \ |
16750 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16751 | $(SET_LIB_PATH) \ |
16752 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16753 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16754 | done; \ | |
16755 | echo "Doing maintainer-clean in zlib" ; \ | |
16756 | (cd zlib && \ | |
16757 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16758 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16759 | "RANLIB=$${RANLIB}" \ | |
16760 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16761 | maintainer-clean) \ | |
16762 | || exit 1 | |
16763 | ||
16764 | ||
16765 | .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb | |
16766 | maybe-maintainer-clean-gdb: | |
16767 | ||
16768 | maintainer-clean-gdb: | |
16769 | @[ -f ./gdb/Makefile ] || exit 0; \ | |
b40e3958 L |
16770 | r=`${PWD_COMMAND}`; export r; \ |
16771 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16772 | $(SET_LIB_PATH) \ |
16773 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16774 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16775 | done; \ | |
16776 | echo "Doing maintainer-clean in gdb" ; \ | |
16777 | (cd gdb && \ | |
16778 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16779 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16780 | "RANLIB=$${RANLIB}" \ | |
16781 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16782 | maintainer-clean) \ | |
16783 | || exit 1 | |
16784 | ||
16785 | ||
16786 | .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect | |
16787 | maybe-maintainer-clean-expect: | |
16788 | ||
16789 | maintainer-clean-expect: | |
16790 | @[ -f ./expect/Makefile ] || exit 0; \ | |
b40e3958 L |
16791 | r=`${PWD_COMMAND}`; export r; \ |
16792 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16793 | $(SET_LIB_PATH) \ |
16794 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16795 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16796 | done; \ | |
16797 | echo "Doing maintainer-clean in expect" ; \ | |
16798 | (cd expect && \ | |
16799 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16800 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16801 | "RANLIB=$${RANLIB}" \ | |
16802 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16803 | maintainer-clean) \ | |
16804 | || exit 1 | |
16805 | ||
16806 | ||
16807 | .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile | |
16808 | maybe-maintainer-clean-guile: | |
16809 | ||
16810 | maintainer-clean-guile: | |
16811 | @[ -f ./guile/Makefile ] || exit 0; \ | |
b40e3958 L |
16812 | r=`${PWD_COMMAND}`; export r; \ |
16813 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16814 | $(SET_LIB_PATH) \ |
16815 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16816 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16817 | done; \ | |
16818 | echo "Doing maintainer-clean in guile" ; \ | |
16819 | (cd guile && \ | |
16820 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16821 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16822 | "RANLIB=$${RANLIB}" \ | |
16823 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16824 | maintainer-clean) \ | |
16825 | || exit 1 | |
16826 | ||
16827 | ||
16828 | .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk | |
16829 | maybe-maintainer-clean-tk: | |
16830 | ||
16831 | maintainer-clean-tk: | |
16832 | @[ -f ./tk/Makefile ] || exit 0; \ | |
b40e3958 L |
16833 | r=`${PWD_COMMAND}`; export r; \ |
16834 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16835 | $(SET_LIB_PATH) \ |
16836 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16837 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16838 | done; \ | |
16839 | echo "Doing maintainer-clean in tk" ; \ | |
16840 | (cd tk && \ | |
16841 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16842 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16843 | "RANLIB=$${RANLIB}" \ | |
16844 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16845 | maintainer-clean) \ | |
16846 | || exit 1 | |
16847 | ||
16848 | ||
16849 | .PHONY: maybe-maintainer-clean-tix maintainer-clean-tix | |
16850 | maybe-maintainer-clean-tix: | |
16851 | ||
16852 | maintainer-clean-tix: | |
16853 | @[ -f ./tix/Makefile ] || exit 0; \ | |
b40e3958 L |
16854 | r=`${PWD_COMMAND}`; export r; \ |
16855 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16856 | $(SET_LIB_PATH) \ |
16857 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16858 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16859 | done; \ | |
16860 | echo "Doing maintainer-clean in tix" ; \ | |
16861 | (cd tix && \ | |
16862 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16863 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16864 | "RANLIB=$${RANLIB}" \ | |
16865 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16866 | maintainer-clean) \ | |
16867 | || exit 1 | |
16868 | ||
16869 | ||
16870 | .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap | |
16871 | maybe-maintainer-clean-libtermcap: | |
16872 | ||
16873 | # libtermcap doesn't support maintainer-clean. | |
16874 | maintainer-clean-libtermcap: | |
16875 | ||
16876 | ||
16877 | .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils | |
16878 | maybe-maintainer-clean-utils: | |
16879 | ||
16880 | maintainer-clean-utils: | |
16881 | @[ -f ./utils/Makefile ] || exit 0; \ | |
b40e3958 L |
16882 | r=`${PWD_COMMAND}`; export r; \ |
16883 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16884 | $(SET_LIB_PATH) \ |
16885 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16886 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16887 | done; \ | |
16888 | echo "Doing maintainer-clean in utils" ; \ | |
16889 | (cd utils && \ | |
16890 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16891 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16892 | "RANLIB=$${RANLIB}" \ | |
16893 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16894 | maintainer-clean) \ | |
16895 | || exit 1 | |
16896 | ||
16897 | ||
16898 | ||
16899 | # Target modules. | |
16900 | ||
16901 | .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3 | |
16902 | maybe-maintainer-clean-target-libstdc++-v3: | |
16903 | ||
16904 | maintainer-clean-target-libstdc++-v3: | |
16905 | @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ | |
b40e3958 L |
16906 | r=`${PWD_COMMAND}`; export r; \ |
16907 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16908 | $(SET_LIB_PATH) \ |
16909 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \ | |
16910 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
16911 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16912 | done; \ | |
16913 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
16914 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16915 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16916 | "RANLIB=$${RANLIB}" \ | |
16917 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16918 | maintainer-clean) \ | |
16919 | || exit 1 | |
16920 | ||
16921 | ||
16922 | .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib | |
16923 | maybe-maintainer-clean-target-newlib: | |
16924 | ||
16925 | maintainer-clean-target-newlib: | |
16926 | @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
16927 | r=`${PWD_COMMAND}`; export r; \ |
16928 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16929 | $(SET_LIB_PATH) \ |
16930 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \ | |
16931 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
16932 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16933 | done; \ | |
16934 | (cd $(TARGET_SUBDIR)/newlib && \ | |
16935 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16936 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16937 | "RANLIB=$${RANLIB}" \ | |
16938 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16939 | maintainer-clean) \ | |
16940 | || exit 1 | |
16941 | ||
16942 | ||
16943 | .PHONY: maybe-maintainer-clean-target-libf2c maintainer-clean-target-libf2c | |
16944 | maybe-maintainer-clean-target-libf2c: | |
16945 | ||
16946 | maintainer-clean-target-libf2c: | |
16947 | @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \ | |
b40e3958 L |
16948 | r=`${PWD_COMMAND}`; export r; \ |
16949 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16950 | $(SET_LIB_PATH) \ |
16951 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libf2c" ; \ | |
16952 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
16953 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16954 | done; \ | |
16955 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
16956 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16957 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16958 | "RANLIB=$${RANLIB}" \ | |
16959 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16960 | maintainer-clean) \ | |
16961 | || exit 1 | |
16962 | ||
16963 | ||
16964 | .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc | |
16965 | maybe-maintainer-clean-target-libobjc: | |
16966 | ||
16967 | maintainer-clean-target-libobjc: | |
16968 | @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
16969 | r=`${PWD_COMMAND}`; export r; \ |
16970 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16971 | $(SET_LIB_PATH) \ |
16972 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \ | |
16973 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
16974 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16975 | done; \ | |
16976 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
16977 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16978 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16979 | "RANLIB=$${RANLIB}" \ | |
16980 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16981 | maintainer-clean) \ | |
16982 | || exit 1 | |
16983 | ||
16984 | ||
16985 | .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap | |
16986 | maybe-maintainer-clean-target-libtermcap: | |
16987 | ||
16988 | # libtermcap doesn't support maintainer-clean. | |
123494c8 | 16989 | maintainer-clean-target-libtermcap: |
2a4cbe27 NN |
16990 | |
16991 | ||
16992 | .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup | |
16993 | maybe-maintainer-clean-target-winsup: | |
16994 | ||
16995 | maintainer-clean-target-winsup: | |
16996 | @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ | |
b40e3958 L |
16997 | r=`${PWD_COMMAND}`; export r; \ |
16998 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16999 | $(SET_LIB_PATH) \ |
17000 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \ | |
17001 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
17002 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
17003 | done; \ | |
17004 | (cd $(TARGET_SUBDIR)/winsup && \ | |
17005 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
17006 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
17007 | "RANLIB=$${RANLIB}" \ | |
17008 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
17009 | maintainer-clean) \ | |
17010 | || exit 1 | |
17011 | ||
17012 | ||
17013 | .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss | |
17014 | maybe-maintainer-clean-target-libgloss: | |
17015 | ||
17016 | maintainer-clean-target-libgloss: | |
17017 | @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ | |
b40e3958 L |
17018 | r=`${PWD_COMMAND}`; export r; \ |
17019 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
17020 | $(SET_LIB_PATH) \ |
17021 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \ | |
17022 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
17023 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
17024 | done; \ | |
17025 | (cd $(TARGET_SUBDIR)/libgloss && \ | |
17026 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
17027 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
17028 | "RANLIB=$${RANLIB}" \ | |
17029 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
17030 | maintainer-clean) \ | |
17031 | || exit 1 | |
17032 | ||
17033 | ||
17034 | .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty | |
17035 | maybe-maintainer-clean-target-libiberty: | |
17036 | ||
17037 | maintainer-clean-target-libiberty: | |
17038 | @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ | |
b40e3958 L |
17039 | r=`${PWD_COMMAND}`; export r; \ |
17040 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
17041 | $(SET_LIB_PATH) \ |
17042 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \ | |
17043 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
17044 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
17045 | done; \ | |
17046 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
17047 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
17048 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
17049 | "RANLIB=$${RANLIB}" \ | |
17050 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
17051 | maintainer-clean) \ | |
17052 | || exit 1 | |
17053 | ||
17054 | ||
17055 | .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf | |
17056 | maybe-maintainer-clean-target-gperf: | |
17057 | ||
17058 | maintainer-clean-target-gperf: | |
17059 | @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ | |
b40e3958 L |
17060 | r=`${PWD_COMMAND}`; export r; \ |
17061 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
17062 | $(SET_LIB_PATH) \ |
17063 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \ | |
17064 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
17065 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
17066 | done; \ | |
17067 | (cd $(TARGET_SUBDIR)/gperf && \ | |
17068 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
17069 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
17070 | "RANLIB=$${RANLIB}" \ | |
17071 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
17072 | maintainer-clean) \ | |
17073 | || exit 1 | |
17074 | ||
17075 | ||
17076 | .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples | |
17077 | maybe-maintainer-clean-target-examples: | |
17078 | ||
17079 | maintainer-clean-target-examples: | |
17080 | @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ | |
b40e3958 L |
17081 | r=`${PWD_COMMAND}`; export r; \ |
17082 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
17083 | $(SET_LIB_PATH) \ |
17084 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \ | |
17085 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
17086 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
17087 | done; \ | |
17088 | (cd $(TARGET_SUBDIR)/examples && \ | |
17089 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
17090 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
17091 | "RANLIB=$${RANLIB}" \ | |
17092 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
17093 | maintainer-clean) \ | |
17094 | || exit 1 | |
17095 | ||
17096 | ||
17097 | .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi | |
17098 | maybe-maintainer-clean-target-libffi: | |
17099 | ||
17100 | maintainer-clean-target-libffi: | |
17101 | @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ | |
b40e3958 L |
17102 | r=`${PWD_COMMAND}`; export r; \ |
17103 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
17104 | $(SET_LIB_PATH) \ |
17105 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \ | |
17106 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
17107 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
17108 | done; \ | |
17109 | (cd $(TARGET_SUBDIR)/libffi && \ | |
17110 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
17111 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
17112 | "RANLIB=$${RANLIB}" \ | |
17113 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
17114 | maintainer-clean) \ | |
17115 | || exit 1 | |
17116 | ||
17117 | ||
17118 | .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava | |
17119 | maybe-maintainer-clean-target-libjava: | |
17120 | ||
17121 | maintainer-clean-target-libjava: | |
17122 | @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ | |
b40e3958 L |
17123 | r=`${PWD_COMMAND}`; export r; \ |
17124 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
17125 | $(SET_LIB_PATH) \ |
17126 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \ | |
17127 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
17128 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
17129 | done; \ | |
17130 | (cd $(TARGET_SUBDIR)/libjava && \ | |
17131 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
17132 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
17133 | "RANLIB=$${RANLIB}" \ | |
17134 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
17135 | maintainer-clean) \ | |
17136 | || exit 1 | |
17137 | ||
17138 | ||
17139 | .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib | |
17140 | maybe-maintainer-clean-target-zlib: | |
17141 | ||
17142 | maintainer-clean-target-zlib: | |
17143 | @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
17144 | r=`${PWD_COMMAND}`; export r; \ |
17145 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
17146 | $(SET_LIB_PATH) \ |
17147 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \ | |
17148 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
17149 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
17150 | done; \ | |
17151 | (cd $(TARGET_SUBDIR)/zlib && \ | |
17152 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
17153 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
17154 | "RANLIB=$${RANLIB}" \ | |
17155 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
17156 | maintainer-clean) \ | |
17157 | || exit 1 | |
17158 | ||
17159 | ||
17160 | .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc | |
17161 | maybe-maintainer-clean-target-boehm-gc: | |
17162 | ||
17163 | maintainer-clean-target-boehm-gc: | |
17164 | @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
17165 | r=`${PWD_COMMAND}`; export r; \ |
17166 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
17167 | $(SET_LIB_PATH) \ |
17168 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \ | |
17169 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
17170 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
17171 | done; \ | |
17172 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
17173 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
17174 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
17175 | "RANLIB=$${RANLIB}" \ | |
17176 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
17177 | maintainer-clean) \ | |
17178 | || exit 1 | |
17179 | ||
17180 | ||
17181 | .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads | |
17182 | maybe-maintainer-clean-target-qthreads: | |
17183 | ||
17184 | maintainer-clean-target-qthreads: | |
17185 | @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ | |
b40e3958 L |
17186 | r=`${PWD_COMMAND}`; export r; \ |
17187 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
17188 | $(SET_LIB_PATH) \ |
17189 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \ | |
17190 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
17191 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
17192 | done; \ | |
17193 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
17194 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
17195 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
17196 | "RANLIB=$${RANLIB}" \ | |
17197 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
17198 | maintainer-clean) \ | |
17199 | || exit 1 | |
17200 | ||
17201 | ||
17202 | .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda | |
17203 | maybe-maintainer-clean-target-rda: | |
17204 | ||
17205 | maintainer-clean-target-rda: | |
17206 | @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ | |
b40e3958 L |
17207 | r=`${PWD_COMMAND}`; export r; \ |
17208 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
17209 | $(SET_LIB_PATH) \ |
17210 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \ | |
17211 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
17212 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
17213 | done; \ | |
17214 | (cd $(TARGET_SUBDIR)/rda && \ | |
17215 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
17216 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
17217 | "RANLIB=$${RANLIB}" \ | |
17218 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
17219 | maintainer-clean) \ | |
17220 | || exit 1 | |
17221 | ||
17222 | ||
17223 | ||
17224 | ||
17225 | # Here are the targets which correspond to the do-X targets. | |
17226 | ||
17227 | .PHONY: info installcheck dvi install-info | |
17228 | .PHONY: clean distclean mostlyclean maintainer-clean realclean | |
17229 | .PHONY: local-clean local-distclean local-maintainer-clean | |
17230 | info: do-info | |
17231 | installcheck: do-installcheck | |
17232 | dvi: do-dvi | |
17233 | ||
17234 | # Make sure makeinfo is built before we do a `make info', if we're | |
17235 | # in fact building texinfo. | |
17236 | do-info: maybe-all-texinfo | |
17237 | ||
17238 | install-info: do-install-info dir.info | |
b40e3958 | 17239 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
2a4cbe27 NN |
17240 | if [ -f dir.info ] ; then \ |
17241 | $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \ | |
17242 | else true ; fi | |
17243 | ||
17244 | local-clean: | |
17245 | -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log | |
17246 | ||
17247 | local-distclean: | |
17248 | -rm -f Makefile config.status config.cache mh-frag mt-frag | |
17249 | -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp | |
17250 | -if [ "$(TARGET_SUBDIR)" != "." ]; then \ | |
17251 | rm -rf $(TARGET_SUBDIR); \ | |
17252 | else true; fi | |
17253 | -rm -rf $(BUILD_SUBDIR) | |
17254 | -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile | |
17255 | -rm -f texinfo/doc/Makefile texinfo/po/POTFILES | |
17256 | -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null | |
17257 | -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null | |
17258 | -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null | |
17259 | ||
17260 | local-maintainer-clean: | |
17261 | @echo "This command is intended for maintainers to use;" | |
17262 | @echo "it deletes files that may require special tools to rebuild." | |
17263 | ||
17264 | clean: do-clean local-clean | |
17265 | mostlyclean: do-mostlyclean local-clean | |
17266 | distclean: do-distclean local-clean local-distclean | |
17267 | maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean | |
17268 | maintainer-clean: local-distclean | |
17269 | realclean: maintainer-clean | |
252b5132 | 17270 | |
2a4cbe27 NN |
17271 | # Extra dependency for clean-target, owing to the mixed nature of gcc |
17272 | clean-target: clean-target-libgcc | |
5cec67bf AO |
17273 | clean-target-libgcc: |
17274 | test ! -d gcc/libgcc || \ | |
17275 | (cd gcc/libgcc && find . -type d -print) | \ | |
17276 | while read d; do rm -f gcc/$$d/libgcc.a || : ; done | |
17277 | -rm -rf gcc/libgcc | |
252b5132 RH |
17278 | |
17279 | # Check target. | |
17280 | ||
80413487 | 17281 | .PHONY: check do-check |
ede4fbe4 | 17282 | check: do-check |
80413487 | 17283 | |
3866be5d | 17284 | # Only include modules actually being configured and built. |
16ae0395 NN |
17285 | do-check: maybe-check-gcc \ |
17286 | maybe-check-ash \ | |
17287 | maybe-check-autoconf \ | |
17288 | maybe-check-automake \ | |
17289 | maybe-check-bash \ | |
17290 | maybe-check-bfd \ | |
17291 | maybe-check-opcodes \ | |
17292 | maybe-check-binutils \ | |
17293 | maybe-check-bison \ | |
17294 | maybe-check-byacc \ | |
17295 | maybe-check-bzip2 \ | |
17296 | maybe-check-dejagnu \ | |
17297 | maybe-check-diff \ | |
17298 | maybe-check-dosutils \ | |
17299 | maybe-check-etc \ | |
17300 | maybe-check-fastjar \ | |
17301 | maybe-check-fileutils \ | |
17302 | maybe-check-findutils \ | |
17303 | maybe-check-find \ | |
17304 | maybe-check-flex \ | |
17305 | maybe-check-gas \ | |
17306 | maybe-check-gawk \ | |
17307 | maybe-check-gettext \ | |
17308 | maybe-check-gnuserv \ | |
17309 | maybe-check-gprof \ | |
17310 | maybe-check-gzip \ | |
17311 | maybe-check-hello \ | |
17312 | maybe-check-indent \ | |
17313 | maybe-check-intl \ | |
17314 | maybe-check-tcl \ | |
17315 | maybe-check-itcl \ | |
17316 | maybe-check-ld \ | |
17317 | maybe-check-libgui \ | |
17318 | maybe-check-libiberty \ | |
17319 | maybe-check-libtool \ | |
17320 | maybe-check-m4 \ | |
17321 | maybe-check-make \ | |
17322 | maybe-check-mmalloc \ | |
17323 | maybe-check-patch \ | |
17324 | maybe-check-perl \ | |
17325 | maybe-check-prms \ | |
17326 | maybe-check-rcs \ | |
17327 | maybe-check-readline \ | |
17328 | maybe-check-release \ | |
17329 | maybe-check-recode \ | |
17330 | maybe-check-sed \ | |
17331 | maybe-check-send-pr \ | |
17332 | maybe-check-shellutils \ | |
17333 | maybe-check-sid \ | |
17334 | maybe-check-sim \ | |
17335 | maybe-check-tar \ | |
17336 | maybe-check-texinfo \ | |
17337 | maybe-check-textutils \ | |
17338 | maybe-check-time \ | |
17339 | maybe-check-uudecode \ | |
17340 | maybe-check-wdiff \ | |
17341 | maybe-check-zip \ | |
17342 | maybe-check-zlib \ | |
17343 | maybe-check-gdb \ | |
17344 | maybe-check-expect \ | |
17345 | maybe-check-guile \ | |
17346 | maybe-check-tk \ | |
17347 | maybe-check-tix \ | |
17348 | maybe-check-libtermcap \ | |
17349 | maybe-check-utils \ | |
17350 | maybe-check-target-libstdc++-v3 \ | |
17351 | maybe-check-target-newlib \ | |
17352 | maybe-check-target-libf2c \ | |
17353 | maybe-check-target-libobjc \ | |
17354 | maybe-check-target-libtermcap \ | |
17355 | maybe-check-target-winsup \ | |
17356 | maybe-check-target-libgloss \ | |
17357 | maybe-check-target-libiberty \ | |
17358 | maybe-check-target-gperf \ | |
17359 | maybe-check-target-examples \ | |
17360 | maybe-check-target-libffi \ | |
17361 | maybe-check-target-libjava \ | |
17362 | maybe-check-target-zlib \ | |
17363 | maybe-check-target-boehm-gc \ | |
17364 | maybe-check-target-qthreads \ | |
17365 | maybe-check-target-rda | |
252b5132 RH |
17366 | |
17367 | # Automated reporting of test results. | |
17368 | ||
17369 | warning.log: build.log | |
17370 | $(srcdir)/contrib/warn_summary build.log > $@ | |
17371 | ||
17372 | mail-report.log: | |
17373 | if test x'$(BOOT_CFLAGS)' != x''; then \ | |
17374 | BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \ | |
17375 | fi; \ | |
17376 | $(srcdir)/contrib/test_summary -t >$@ | |
17377 | chmod +x $@ | |
17378 | echo If you really want to send e-mail, run ./$@ now | |
17379 | ||
17380 | mail-report-with-warnings.log: warning.log | |
17381 | if test x'$(BOOT_CFLAGS)' != x''; then \ | |
17382 | BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \ | |
17383 | fi; \ | |
17384 | $(srcdir)/contrib/test_summary -t -i warning.log >$@ | |
17385 | chmod +x $@ | |
17386 | echo If you really want to send e-mail, run ./$@ now | |
17387 | ||
17388 | # Installation targets. | |
17389 | ||
ae831be5 | 17390 | .PHONY: install uninstall |
dd12c3a8 NN |
17391 | install: installdirs install-host install-target |
17392 | ||
16ae0395 NN |
17393 | .PHONY: install-host-nogcc |
17394 | install-host-nogcc: \ | |
17395 | maybe-install-ash \ | |
17396 | maybe-install-autoconf \ | |
17397 | maybe-install-automake \ | |
17398 | maybe-install-bash \ | |
17399 | maybe-install-bfd \ | |
17400 | maybe-install-opcodes \ | |
17401 | maybe-install-binutils \ | |
17402 | maybe-install-bison \ | |
17403 | maybe-install-byacc \ | |
17404 | maybe-install-bzip2 \ | |
17405 | maybe-install-dejagnu \ | |
17406 | maybe-install-diff \ | |
17407 | maybe-install-dosutils \ | |
17408 | maybe-install-etc \ | |
17409 | maybe-install-fastjar \ | |
17410 | maybe-install-fileutils \ | |
17411 | maybe-install-findutils \ | |
17412 | maybe-install-find \ | |
17413 | maybe-install-flex \ | |
17414 | maybe-install-gas \ | |
17415 | maybe-install-gawk \ | |
17416 | maybe-install-gettext \ | |
17417 | maybe-install-gnuserv \ | |
17418 | maybe-install-gprof \ | |
17419 | maybe-install-gzip \ | |
17420 | maybe-install-hello \ | |
17421 | maybe-install-indent \ | |
17422 | maybe-install-intl \ | |
17423 | maybe-install-tcl \ | |
17424 | maybe-install-itcl \ | |
17425 | maybe-install-ld \ | |
17426 | maybe-install-libgui \ | |
17427 | maybe-install-libiberty \ | |
17428 | maybe-install-libtool \ | |
17429 | maybe-install-m4 \ | |
17430 | maybe-install-make \ | |
17431 | maybe-install-mmalloc \ | |
17432 | maybe-install-patch \ | |
17433 | maybe-install-perl \ | |
17434 | maybe-install-prms \ | |
17435 | maybe-install-rcs \ | |
17436 | maybe-install-readline \ | |
17437 | maybe-install-release \ | |
17438 | maybe-install-recode \ | |
17439 | maybe-install-sed \ | |
17440 | maybe-install-send-pr \ | |
17441 | maybe-install-shellutils \ | |
17442 | maybe-install-sid \ | |
17443 | maybe-install-sim \ | |
17444 | maybe-install-tar \ | |
17445 | maybe-install-texinfo \ | |
17446 | maybe-install-textutils \ | |
17447 | maybe-install-time \ | |
17448 | maybe-install-uudecode \ | |
17449 | maybe-install-wdiff \ | |
17450 | maybe-install-zip \ | |
17451 | maybe-install-zlib \ | |
17452 | maybe-install-gdb \ | |
17453 | maybe-install-expect \ | |
17454 | maybe-install-guile \ | |
17455 | maybe-install-tk \ | |
17456 | maybe-install-tix \ | |
17457 | maybe-install-libtermcap \ | |
17458 | maybe-install-utils | |
17459 | ||
dd12c3a8 NN |
17460 | .PHONY: install-host |
17461 | install-host: maybe-install-gcc \ | |
17462 | maybe-install-ash \ | |
17463 | maybe-install-autoconf \ | |
17464 | maybe-install-automake \ | |
17465 | maybe-install-bash \ | |
17466 | maybe-install-bfd \ | |
17467 | maybe-install-opcodes \ | |
17468 | maybe-install-binutils \ | |
17469 | maybe-install-bison \ | |
17470 | maybe-install-byacc \ | |
17471 | maybe-install-bzip2 \ | |
17472 | maybe-install-dejagnu \ | |
17473 | maybe-install-diff \ | |
17474 | maybe-install-dosutils \ | |
17475 | maybe-install-etc \ | |
17476 | maybe-install-fastjar \ | |
17477 | maybe-install-fileutils \ | |
17478 | maybe-install-findutils \ | |
17479 | maybe-install-find \ | |
17480 | maybe-install-flex \ | |
17481 | maybe-install-gas \ | |
17482 | maybe-install-gawk \ | |
17483 | maybe-install-gettext \ | |
17484 | maybe-install-gnuserv \ | |
17485 | maybe-install-gprof \ | |
17486 | maybe-install-gzip \ | |
17487 | maybe-install-hello \ | |
17488 | maybe-install-indent \ | |
17489 | maybe-install-intl \ | |
17490 | maybe-install-tcl \ | |
17491 | maybe-install-itcl \ | |
17492 | maybe-install-ld \ | |
17493 | maybe-install-libgui \ | |
17494 | maybe-install-libiberty \ | |
17495 | maybe-install-libtool \ | |
17496 | maybe-install-m4 \ | |
17497 | maybe-install-make \ | |
17498 | maybe-install-mmalloc \ | |
17499 | maybe-install-patch \ | |
17500 | maybe-install-perl \ | |
17501 | maybe-install-prms \ | |
17502 | maybe-install-rcs \ | |
17503 | maybe-install-readline \ | |
17504 | maybe-install-release \ | |
17505 | maybe-install-recode \ | |
17506 | maybe-install-sed \ | |
17507 | maybe-install-send-pr \ | |
17508 | maybe-install-shellutils \ | |
17509 | maybe-install-sid \ | |
17510 | maybe-install-sim \ | |
17511 | maybe-install-tar \ | |
17512 | maybe-install-texinfo \ | |
17513 | maybe-install-textutils \ | |
17514 | maybe-install-time \ | |
17515 | maybe-install-uudecode \ | |
17516 | maybe-install-wdiff \ | |
17517 | maybe-install-zip \ | |
17518 | maybe-install-zlib \ | |
17519 | maybe-install-gdb \ | |
17520 | maybe-install-expect \ | |
17521 | maybe-install-guile \ | |
17522 | maybe-install-tk \ | |
17523 | maybe-install-tix \ | |
17524 | maybe-install-libtermcap \ | |
17525 | maybe-install-utils | |
16ae0395 | 17526 | |
dd12c3a8 NN |
17527 | .PHONY: install-target |
17528 | install-target: \ | |
17529 | maybe-install-target-libstdc++-v3 \ | |
17530 | maybe-install-target-newlib \ | |
17531 | maybe-install-target-libf2c \ | |
17532 | maybe-install-target-libobjc \ | |
17533 | maybe-install-target-libtermcap \ | |
17534 | maybe-install-target-winsup \ | |
17535 | maybe-install-target-libgloss \ | |
17536 | maybe-install-target-libiberty \ | |
17537 | maybe-install-target-gperf \ | |
17538 | maybe-install-target-examples \ | |
17539 | maybe-install-target-libffi \ | |
17540 | maybe-install-target-libjava \ | |
17541 | maybe-install-target-zlib \ | |
17542 | maybe-install-target-boehm-gc \ | |
17543 | maybe-install-target-qthreads \ | |
17544 | maybe-install-target-rda | |
252b5132 RH |
17545 | |
17546 | uninstall: | |
17547 | @echo "the uninstall target is not supported in this tree" | |
17548 | ||
3866be5d NN |
17549 | .PHONY: install.all |
17550 | install.all: install-no-fixedincludes | |
17551 | @if [ -f ./gcc/Makefile ] ; then \ | |
b40e3958 | 17552 | r=`${PWD_COMMAND}` ; export r ; \ |
3866be5d | 17553 | $(SET_LIB_PATH) \ |
1086bc09 | 17554 | (cd ./gcc && \ |
3866be5d NN |
17555 | $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \ |
17556 | else \ | |
17557 | true ; \ | |
17558 | fi | |
17559 | ||
17560 | # install-no-fixedincludes is used because Cygnus can not distribute | |
17561 | # the fixed header files. | |
17562 | .PHONY: install-no-fixedincludes | |
16ae0395 | 17563 | install-no-fixedincludes: installdirs install-host-nogcc \ |
dd12c3a8 | 17564 | install-target gcc-no-fixedincludes |
3866be5d | 17565 | |
15723a45 | 17566 | ### other supporting targets |
3866be5d | 17567 | |
15723a45 NN |
17568 | MAKEDIRS= \ |
17569 | $(DESTDIR)$(prefix) \ | |
17570 | $(DESTDIR)$(exec_prefix) | |
17571 | .PHONY: installdirs | |
17572 | installdirs: mkinstalldirs | |
17573 | $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS) | |
3866be5d | 17574 | |
15723a45 NN |
17575 | dir.info: do-install-info |
17576 | if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \ | |
497f816e | 17577 | $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \ |
15723a45 NN |
17578 | mv -f dir.info.new dir.info ; \ |
17579 | else true ; \ | |
3866be5d NN |
17580 | fi |
17581 | ||
15723a45 NN |
17582 | dist: |
17583 | @echo "Building a full distribution of this tree isn't done" | |
17584 | @echo "via 'make dist'. Check out the etc/ subdirectory" | |
17585 | ||
17586 | etags tags: TAGS | |
17587 | ||
17588 | # Right now this just builds TAGS in each subdirectory. emacs19 has the | |
17589 | # ability to use several tags files at once, so there is probably no need | |
17590 | # to combine them into one big TAGS file (like CVS 1.3 does). We could | |
17591 | # (if we felt like it) have this Makefile write a piece of elisp which | |
17592 | # the user could load to tell emacs19 where all the TAGS files we just | |
17593 | # built are. | |
17594 | TAGS: do-TAGS | |
17595 | ||
15723a45 NN |
17596 | # -------------------------------------- |
17597 | # Modules which run on the build machine | |
17598 | # -------------------------------------- | |
17599 | ||
930314a4 NN |
17600 | .PHONY: configure-build-libiberty maybe-configure-build-libiberty |
17601 | maybe-configure-build-libiberty: | |
e6bfb94a AO |
17602 | configure-build-libiberty: |
17603 | @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \ | |
9175bfc0 | 17604 | $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \ |
b40e3958 L |
17605 | r=`${PWD_COMMAND}`; export r; \ |
17606 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
17607 | AR="$(AR_FOR_BUILD)"; export AR; \ |
17608 | AS="$(AS_FOR_BUILD)"; export AS; \ | |
17609 | CC="$(CC_FOR_BUILD)"; export CC; \ | |
17610 | CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \ | |
17611 | CXX="$(CXX_FOR_BUILD)"; export CXX; \ | |
17612 | CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \ | |
17613 | GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \ | |
17614 | DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \ | |
17615 | LD="$(LD_FOR_BUILD)"; export LD; \ | |
17616 | LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \ | |
17617 | NM="$(NM_FOR_BUILD)"; export NM; \ | |
17618 | RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \ | |
17619 | WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \ | |
17620 | echo Configuring in $(BUILD_SUBDIR)/libiberty; \ | |
17621 | cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \ | |
17622 | case $(srcdir) in \ | |
17623 | /* | [A-Za-z]:[\\/]*) \ | |
17624 | topdir=$(srcdir) ;; \ | |
17625 | *) \ | |
17626 | case "$(BUILD_SUBDIR)" in \ | |
3866be5d NN |
17627 | .) topdir="../$(srcdir)" ;; \ |
17628 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
17629 | esac ;; \ |
17630 | esac; \ | |
17631 | if [ "$(srcdir)" = "." ] ; then \ | |
17632 | if [ "$(BUILD_SUBDIR)" != "." ] ; then \ | |
17633 | if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \ | |
17634 | if [ -f Makefile ]; then \ | |
17635 | if $(MAKE) distclean; then \ | |
17636 | true; \ | |
17637 | else \ | |
17638 | exit 1; \ | |
17639 | fi; \ | |
3866be5d | 17640 | else \ |
bba45b8b | 17641 | true; \ |
3866be5d | 17642 | fi; \ |
3866be5d | 17643 | else \ |
bba45b8b | 17644 | exit 1; \ |
3866be5d | 17645 | fi; \ |
bba45b8b NN |
17646 | else \ |
17647 | true; \ | |
17648 | fi; \ | |
17649 | srcdiroption="--srcdir=."; \ | |
17650 | libsrcdir="."; \ | |
17651 | else \ | |
17652 | srcdiroption="--srcdir=$${topdir}/libiberty"; \ | |
17653 | libsrcdir="$$s/libiberty"; \ | |
17654 | fi; \ | |
17655 | rm -f no-such-file || : ; \ | |
17656 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
17657 | $(BUILD_CONFIGARGS) $${srcdiroption} \ | |
17658 | --with-build-subdir="$(BUILD_SUBDIR)" \ | |
17659 | || exit 1 | |
15723a45 NN |
17660 | |
17661 | .PHONY: all-build-libiberty maybe-all-build-libiberty | |
17662 | maybe-all-build-libiberty: | |
17663 | all-build-libiberty: configure-build-libiberty | |
b40e3958 L |
17664 | @r=`${PWD_COMMAND}`; export r; \ |
17665 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b | 17666 | (cd $(BUILD_SUBDIR)/libiberty && $(MAKE) all) |
3866be5d NN |
17667 | |
17668 | ||
15723a45 NN |
17669 | # -------------------------------------- |
17670 | # Modules which run on the host machine | |
17671 | # -------------------------------------- | |
3866be5d | 17672 | |
e2b9e2dc NN |
17673 | .PHONY: configure-ash maybe-configure-ash |
17674 | maybe-configure-ash: | |
e6bfb94a AO |
17675 | configure-ash: |
17676 | @test ! -f ash/Makefile || exit 0; \ | |
17677 | [ -d ash ] || mkdir ash; \ | |
b40e3958 L |
17678 | r=`${PWD_COMMAND}`; export r; \ |
17679 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
17680 | CC="$(CC)"; export CC; \ |
17681 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
17682 | CXX="$(CXX)"; export CXX; \ | |
17683 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
17684 | AR="$(AR)"; export AR; \ |
17685 | AS="$(AS)"; export AS; \ | |
17686 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
17687 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
17688 | LD="$(LD)"; export LD; \ | |
17689 | NM="$(NM)"; export NM; \ | |
17690 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
17691 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
17692 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
17693 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
17694 | echo Configuring in ash; \ |
17695 | cd ash || exit 1; \ | |
17696 | case $(srcdir) in \ | |
17697 | \.) \ | |
17698 | srcdiroption="--srcdir=."; \ | |
17699 | libsrcdir=".";; \ | |
17700 | /* | [A-Za-z]:[\\/]*) \ | |
17701 | srcdiroption="--srcdir=$(srcdir)/ash"; \ | |
17702 | libsrcdir="$$s/ash";; \ | |
17703 | *) \ | |
17704 | srcdiroption="--srcdir=../$(srcdir)/ash"; \ | |
17705 | libsrcdir="$$s/ash";; \ | |
17706 | esac; \ | |
17707 | $(SHELL) $${libsrcdir}/configure \ | |
17708 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
17709 | || exit 1 | |
17710 | ||
930314a4 NN |
17711 | .PHONY: all-ash maybe-all-ash |
17712 | maybe-all-ash: | |
db1ac78d | 17713 | all-ash: configure-ash |
b40e3958 L |
17714 | @r=`${PWD_COMMAND}`; export r; \ |
17715 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
17716 | $(SET_LIB_PATH) \ |
17717 | (cd ash && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 17718 | |
16ae0395 NN |
17719 | .PHONY: check-ash maybe-check-ash |
17720 | maybe-check-ash: | |
3866be5d | 17721 | |
3866be5d | 17722 | check-ash: |
b40e3958 L |
17723 | @r=`${PWD_COMMAND}`; export r; \ |
17724 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
17725 | $(SET_LIB_PATH) \ |
17726 | (cd ash && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
17727 | |
17728 | ||
930314a4 NN |
17729 | .PHONY: install-ash maybe-install-ash |
17730 | maybe-install-ash: | |
16ae0395 | 17731 | |
3866be5d | 17732 | install-ash: installdirs |
b40e3958 L |
17733 | @r=`${PWD_COMMAND}`; export r; \ |
17734 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
17735 | $(SET_LIB_PATH) \ |
17736 | (cd ash && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
17737 | |
17738 | ||
e2b9e2dc NN |
17739 | .PHONY: configure-autoconf maybe-configure-autoconf |
17740 | maybe-configure-autoconf: | |
e6bfb94a AO |
17741 | configure-autoconf: |
17742 | @test ! -f autoconf/Makefile || exit 0; \ | |
17743 | [ -d autoconf ] || mkdir autoconf; \ | |
b40e3958 L |
17744 | r=`${PWD_COMMAND}`; export r; \ |
17745 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
17746 | CC="$(CC)"; export CC; \ |
17747 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
17748 | CXX="$(CXX)"; export CXX; \ | |
17749 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
17750 | AR="$(AR)"; export AR; \ |
17751 | AS="$(AS)"; export AS; \ | |
17752 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
17753 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
17754 | LD="$(LD)"; export LD; \ | |
17755 | NM="$(NM)"; export NM; \ | |
17756 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
17757 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
17758 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
17759 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
17760 | echo Configuring in autoconf; \ |
17761 | cd autoconf || exit 1; \ | |
17762 | case $(srcdir) in \ | |
17763 | \.) \ | |
17764 | srcdiroption="--srcdir=."; \ | |
17765 | libsrcdir=".";; \ | |
17766 | /* | [A-Za-z]:[\\/]*) \ | |
17767 | srcdiroption="--srcdir=$(srcdir)/autoconf"; \ | |
17768 | libsrcdir="$$s/autoconf";; \ | |
17769 | *) \ | |
17770 | srcdiroption="--srcdir=../$(srcdir)/autoconf"; \ | |
17771 | libsrcdir="$$s/autoconf";; \ | |
17772 | esac; \ | |
17773 | $(SHELL) $${libsrcdir}/configure \ | |
17774 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
17775 | || exit 1 | |
17776 | ||
930314a4 NN |
17777 | .PHONY: all-autoconf maybe-all-autoconf |
17778 | maybe-all-autoconf: | |
db1ac78d | 17779 | all-autoconf: configure-autoconf |
b40e3958 L |
17780 | @r=`${PWD_COMMAND}`; export r; \ |
17781 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
17782 | $(SET_LIB_PATH) \ |
17783 | (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 17784 | |
16ae0395 NN |
17785 | .PHONY: check-autoconf maybe-check-autoconf |
17786 | maybe-check-autoconf: | |
3866be5d | 17787 | |
3866be5d | 17788 | check-autoconf: |
b40e3958 L |
17789 | @r=`${PWD_COMMAND}`; export r; \ |
17790 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
17791 | $(SET_LIB_PATH) \ |
17792 | (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
17793 | |
17794 | ||
930314a4 NN |
17795 | .PHONY: install-autoconf maybe-install-autoconf |
17796 | maybe-install-autoconf: | |
16ae0395 | 17797 | |
3866be5d | 17798 | install-autoconf: installdirs |
b40e3958 L |
17799 | @r=`${PWD_COMMAND}`; export r; \ |
17800 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
17801 | $(SET_LIB_PATH) \ |
17802 | (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
17803 | |
17804 | ||
e2b9e2dc NN |
17805 | .PHONY: configure-automake maybe-configure-automake |
17806 | maybe-configure-automake: | |
e6bfb94a AO |
17807 | configure-automake: |
17808 | @test ! -f automake/Makefile || exit 0; \ | |
17809 | [ -d automake ] || mkdir automake; \ | |
b40e3958 L |
17810 | r=`${PWD_COMMAND}`; export r; \ |
17811 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
17812 | CC="$(CC)"; export CC; \ |
17813 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
17814 | CXX="$(CXX)"; export CXX; \ | |
17815 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
17816 | AR="$(AR)"; export AR; \ |
17817 | AS="$(AS)"; export AS; \ | |
17818 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
17819 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
17820 | LD="$(LD)"; export LD; \ | |
17821 | NM="$(NM)"; export NM; \ | |
17822 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
17823 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
17824 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
17825 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
17826 | echo Configuring in automake; \ |
17827 | cd automake || exit 1; \ | |
17828 | case $(srcdir) in \ | |
17829 | \.) \ | |
17830 | srcdiroption="--srcdir=."; \ | |
17831 | libsrcdir=".";; \ | |
17832 | /* | [A-Za-z]:[\\/]*) \ | |
17833 | srcdiroption="--srcdir=$(srcdir)/automake"; \ | |
17834 | libsrcdir="$$s/automake";; \ | |
17835 | *) \ | |
17836 | srcdiroption="--srcdir=../$(srcdir)/automake"; \ | |
17837 | libsrcdir="$$s/automake";; \ | |
17838 | esac; \ | |
17839 | $(SHELL) $${libsrcdir}/configure \ | |
17840 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
17841 | || exit 1 | |
17842 | ||
930314a4 NN |
17843 | .PHONY: all-automake maybe-all-automake |
17844 | maybe-all-automake: | |
db1ac78d | 17845 | all-automake: configure-automake |
b40e3958 L |
17846 | @r=`${PWD_COMMAND}`; export r; \ |
17847 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
17848 | $(SET_LIB_PATH) \ |
17849 | (cd automake && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 17850 | |
16ae0395 NN |
17851 | .PHONY: check-automake maybe-check-automake |
17852 | maybe-check-automake: | |
3866be5d | 17853 | |
3866be5d | 17854 | check-automake: |
b40e3958 L |
17855 | @r=`${PWD_COMMAND}`; export r; \ |
17856 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
17857 | $(SET_LIB_PATH) \ |
17858 | (cd automake && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
17859 | |
17860 | ||
930314a4 NN |
17861 | .PHONY: install-automake maybe-install-automake |
17862 | maybe-install-automake: | |
16ae0395 | 17863 | |
3866be5d | 17864 | install-automake: installdirs |
b40e3958 L |
17865 | @r=`${PWD_COMMAND}`; export r; \ |
17866 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
17867 | $(SET_LIB_PATH) \ |
17868 | (cd automake && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
17869 | |
17870 | ||
e2b9e2dc NN |
17871 | .PHONY: configure-bash maybe-configure-bash |
17872 | maybe-configure-bash: | |
e6bfb94a AO |
17873 | configure-bash: |
17874 | @test ! -f bash/Makefile || exit 0; \ | |
17875 | [ -d bash ] || mkdir bash; \ | |
b40e3958 L |
17876 | r=`${PWD_COMMAND}`; export r; \ |
17877 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
17878 | CC="$(CC)"; export CC; \ |
17879 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
17880 | CXX="$(CXX)"; export CXX; \ | |
17881 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
17882 | AR="$(AR)"; export AR; \ |
17883 | AS="$(AS)"; export AS; \ | |
17884 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
17885 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
17886 | LD="$(LD)"; export LD; \ | |
17887 | NM="$(NM)"; export NM; \ | |
17888 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
17889 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
17890 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
17891 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
17892 | echo Configuring in bash; \ |
17893 | cd bash || exit 1; \ | |
17894 | case $(srcdir) in \ | |
17895 | \.) \ | |
17896 | srcdiroption="--srcdir=."; \ | |
17897 | libsrcdir=".";; \ | |
17898 | /* | [A-Za-z]:[\\/]*) \ | |
17899 | srcdiroption="--srcdir=$(srcdir)/bash"; \ | |
17900 | libsrcdir="$$s/bash";; \ | |
17901 | *) \ | |
17902 | srcdiroption="--srcdir=../$(srcdir)/bash"; \ | |
17903 | libsrcdir="$$s/bash";; \ | |
17904 | esac; \ | |
17905 | $(SHELL) $${libsrcdir}/configure \ | |
17906 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
17907 | || exit 1 | |
17908 | ||
930314a4 NN |
17909 | .PHONY: all-bash maybe-all-bash |
17910 | maybe-all-bash: | |
db1ac78d | 17911 | all-bash: configure-bash |
b40e3958 L |
17912 | @r=`${PWD_COMMAND}`; export r; \ |
17913 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
17914 | $(SET_LIB_PATH) \ |
17915 | (cd bash && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 17916 | |
16ae0395 NN |
17917 | .PHONY: check-bash maybe-check-bash |
17918 | maybe-check-bash: | |
3866be5d | 17919 | |
3866be5d | 17920 | check-bash: |
b40e3958 L |
17921 | @r=`${PWD_COMMAND}`; export r; \ |
17922 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
17923 | $(SET_LIB_PATH) \ |
17924 | (cd bash && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
17925 | |
17926 | ||
930314a4 NN |
17927 | .PHONY: install-bash maybe-install-bash |
17928 | maybe-install-bash: | |
16ae0395 | 17929 | |
3866be5d | 17930 | install-bash: installdirs |
b40e3958 L |
17931 | @r=`${PWD_COMMAND}`; export r; \ |
17932 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
17933 | $(SET_LIB_PATH) \ |
17934 | (cd bash && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
17935 | |
17936 | ||
e2b9e2dc NN |
17937 | .PHONY: configure-bfd maybe-configure-bfd |
17938 | maybe-configure-bfd: | |
e6bfb94a AO |
17939 | configure-bfd: |
17940 | @test ! -f bfd/Makefile || exit 0; \ | |
17941 | [ -d bfd ] || mkdir bfd; \ | |
b40e3958 L |
17942 | r=`${PWD_COMMAND}`; export r; \ |
17943 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
17944 | CC="$(CC)"; export CC; \ |
17945 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
17946 | CXX="$(CXX)"; export CXX; \ | |
17947 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
17948 | AR="$(AR)"; export AR; \ |
17949 | AS="$(AS)"; export AS; \ | |
17950 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
17951 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
17952 | LD="$(LD)"; export LD; \ | |
17953 | NM="$(NM)"; export NM; \ | |
17954 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
17955 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
17956 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
17957 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
17958 | echo Configuring in bfd; \ |
17959 | cd bfd || exit 1; \ | |
17960 | case $(srcdir) in \ | |
17961 | \.) \ | |
17962 | srcdiroption="--srcdir=."; \ | |
17963 | libsrcdir=".";; \ | |
17964 | /* | [A-Za-z]:[\\/]*) \ | |
17965 | srcdiroption="--srcdir=$(srcdir)/bfd"; \ | |
17966 | libsrcdir="$$s/bfd";; \ | |
17967 | *) \ | |
17968 | srcdiroption="--srcdir=../$(srcdir)/bfd"; \ | |
17969 | libsrcdir="$$s/bfd";; \ | |
17970 | esac; \ | |
17971 | $(SHELL) $${libsrcdir}/configure \ | |
17972 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
17973 | || exit 1 | |
17974 | ||
930314a4 NN |
17975 | .PHONY: all-bfd maybe-all-bfd |
17976 | maybe-all-bfd: | |
db1ac78d | 17977 | all-bfd: configure-bfd |
b40e3958 L |
17978 | @r=`${PWD_COMMAND}`; export r; \ |
17979 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
17980 | $(SET_LIB_PATH) \ |
17981 | (cd bfd && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 17982 | |
16ae0395 NN |
17983 | .PHONY: check-bfd maybe-check-bfd |
17984 | maybe-check-bfd: | |
3866be5d | 17985 | |
3866be5d | 17986 | check-bfd: |
b40e3958 L |
17987 | @r=`${PWD_COMMAND}`; export r; \ |
17988 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
17989 | $(SET_LIB_PATH) \ |
17990 | (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
17991 | |
17992 | ||
930314a4 NN |
17993 | .PHONY: install-bfd maybe-install-bfd |
17994 | maybe-install-bfd: | |
16ae0395 | 17995 | |
3866be5d | 17996 | install-bfd: installdirs |
b40e3958 L |
17997 | @r=`${PWD_COMMAND}`; export r; \ |
17998 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
17999 | $(SET_LIB_PATH) \ |
18000 | (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18001 | |
18002 | ||
e2b9e2dc NN |
18003 | .PHONY: configure-opcodes maybe-configure-opcodes |
18004 | maybe-configure-opcodes: | |
e6bfb94a AO |
18005 | configure-opcodes: |
18006 | @test ! -f opcodes/Makefile || exit 0; \ | |
18007 | [ -d opcodes ] || mkdir opcodes; \ | |
b40e3958 L |
18008 | r=`${PWD_COMMAND}`; export r; \ |
18009 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
18010 | CC="$(CC)"; export CC; \ |
18011 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18012 | CXX="$(CXX)"; export CXX; \ | |
18013 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18014 | AR="$(AR)"; export AR; \ |
18015 | AS="$(AS)"; export AS; \ | |
18016 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18017 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18018 | LD="$(LD)"; export LD; \ | |
18019 | NM="$(NM)"; export NM; \ | |
18020 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18021 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18022 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18023 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18024 | echo Configuring in opcodes; \ |
18025 | cd opcodes || exit 1; \ | |
18026 | case $(srcdir) in \ | |
18027 | \.) \ | |
18028 | srcdiroption="--srcdir=."; \ | |
18029 | libsrcdir=".";; \ | |
18030 | /* | [A-Za-z]:[\\/]*) \ | |
18031 | srcdiroption="--srcdir=$(srcdir)/opcodes"; \ | |
18032 | libsrcdir="$$s/opcodes";; \ | |
18033 | *) \ | |
18034 | srcdiroption="--srcdir=../$(srcdir)/opcodes"; \ | |
18035 | libsrcdir="$$s/opcodes";; \ | |
18036 | esac; \ | |
18037 | $(SHELL) $${libsrcdir}/configure \ | |
18038 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18039 | || exit 1 | |
18040 | ||
930314a4 NN |
18041 | .PHONY: all-opcodes maybe-all-opcodes |
18042 | maybe-all-opcodes: | |
db1ac78d | 18043 | all-opcodes: configure-opcodes |
b40e3958 L |
18044 | @r=`${PWD_COMMAND}`; export r; \ |
18045 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18046 | $(SET_LIB_PATH) \ |
18047 | (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18048 | |
16ae0395 NN |
18049 | .PHONY: check-opcodes maybe-check-opcodes |
18050 | maybe-check-opcodes: | |
3866be5d | 18051 | |
3866be5d | 18052 | check-opcodes: |
b40e3958 L |
18053 | @r=`${PWD_COMMAND}`; export r; \ |
18054 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18055 | $(SET_LIB_PATH) \ |
18056 | (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
18057 | |
18058 | ||
930314a4 NN |
18059 | .PHONY: install-opcodes maybe-install-opcodes |
18060 | maybe-install-opcodes: | |
16ae0395 | 18061 | |
3866be5d | 18062 | install-opcodes: installdirs |
b40e3958 L |
18063 | @r=`${PWD_COMMAND}`; export r; \ |
18064 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18065 | $(SET_LIB_PATH) \ |
18066 | (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18067 | |
18068 | ||
e2b9e2dc NN |
18069 | .PHONY: configure-binutils maybe-configure-binutils |
18070 | maybe-configure-binutils: | |
e6bfb94a AO |
18071 | configure-binutils: |
18072 | @test ! -f binutils/Makefile || exit 0; \ | |
18073 | [ -d binutils ] || mkdir binutils; \ | |
b40e3958 L |
18074 | r=`${PWD_COMMAND}`; export r; \ |
18075 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
18076 | CC="$(CC)"; export CC; \ |
18077 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18078 | CXX="$(CXX)"; export CXX; \ | |
18079 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18080 | AR="$(AR)"; export AR; \ |
18081 | AS="$(AS)"; export AS; \ | |
18082 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18083 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18084 | LD="$(LD)"; export LD; \ | |
18085 | NM="$(NM)"; export NM; \ | |
18086 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18087 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18088 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18089 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18090 | echo Configuring in binutils; \ |
18091 | cd binutils || exit 1; \ | |
18092 | case $(srcdir) in \ | |
18093 | \.) \ | |
18094 | srcdiroption="--srcdir=."; \ | |
18095 | libsrcdir=".";; \ | |
18096 | /* | [A-Za-z]:[\\/]*) \ | |
18097 | srcdiroption="--srcdir=$(srcdir)/binutils"; \ | |
18098 | libsrcdir="$$s/binutils";; \ | |
18099 | *) \ | |
18100 | srcdiroption="--srcdir=../$(srcdir)/binutils"; \ | |
18101 | libsrcdir="$$s/binutils";; \ | |
18102 | esac; \ | |
18103 | $(SHELL) $${libsrcdir}/configure \ | |
18104 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18105 | || exit 1 | |
18106 | ||
930314a4 NN |
18107 | .PHONY: all-binutils maybe-all-binutils |
18108 | maybe-all-binutils: | |
db1ac78d | 18109 | all-binutils: configure-binutils |
b40e3958 L |
18110 | @r=`${PWD_COMMAND}`; export r; \ |
18111 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18112 | $(SET_LIB_PATH) \ |
18113 | (cd binutils && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18114 | |
16ae0395 NN |
18115 | .PHONY: check-binutils maybe-check-binutils |
18116 | maybe-check-binutils: | |
3866be5d | 18117 | |
3866be5d | 18118 | check-binutils: |
b40e3958 L |
18119 | @r=`${PWD_COMMAND}`; export r; \ |
18120 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18121 | $(SET_LIB_PATH) \ |
18122 | (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
18123 | |
18124 | ||
930314a4 NN |
18125 | .PHONY: install-binutils maybe-install-binutils |
18126 | maybe-install-binutils: | |
16ae0395 | 18127 | |
3866be5d | 18128 | install-binutils: installdirs |
b40e3958 L |
18129 | @r=`${PWD_COMMAND}`; export r; \ |
18130 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18131 | $(SET_LIB_PATH) \ |
18132 | (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18133 | |
18134 | ||
e2b9e2dc NN |
18135 | .PHONY: configure-bison maybe-configure-bison |
18136 | maybe-configure-bison: | |
e6bfb94a AO |
18137 | configure-bison: |
18138 | @test ! -f bison/Makefile || exit 0; \ | |
18139 | [ -d bison ] || mkdir bison; \ | |
b40e3958 L |
18140 | r=`${PWD_COMMAND}`; export r; \ |
18141 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
18142 | CC="$(CC)"; export CC; \ |
18143 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18144 | CXX="$(CXX)"; export CXX; \ | |
18145 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18146 | AR="$(AR)"; export AR; \ |
18147 | AS="$(AS)"; export AS; \ | |
18148 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18149 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18150 | LD="$(LD)"; export LD; \ | |
18151 | NM="$(NM)"; export NM; \ | |
18152 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18153 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18154 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18155 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18156 | echo Configuring in bison; \ |
18157 | cd bison || exit 1; \ | |
18158 | case $(srcdir) in \ | |
18159 | \.) \ | |
18160 | srcdiroption="--srcdir=."; \ | |
18161 | libsrcdir=".";; \ | |
18162 | /* | [A-Za-z]:[\\/]*) \ | |
18163 | srcdiroption="--srcdir=$(srcdir)/bison"; \ | |
18164 | libsrcdir="$$s/bison";; \ | |
18165 | *) \ | |
18166 | srcdiroption="--srcdir=../$(srcdir)/bison"; \ | |
18167 | libsrcdir="$$s/bison";; \ | |
18168 | esac; \ | |
18169 | $(SHELL) $${libsrcdir}/configure \ | |
18170 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18171 | || exit 1 | |
18172 | ||
930314a4 NN |
18173 | .PHONY: all-bison maybe-all-bison |
18174 | maybe-all-bison: | |
db1ac78d | 18175 | all-bison: configure-bison |
b40e3958 L |
18176 | @r=`${PWD_COMMAND}`; export r; \ |
18177 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18178 | $(SET_LIB_PATH) \ |
18179 | (cd bison && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18180 | |
16ae0395 NN |
18181 | .PHONY: check-bison maybe-check-bison |
18182 | maybe-check-bison: | |
3866be5d | 18183 | |
3866be5d NN |
18184 | # This module is only tested in a native toolchain. |
18185 | check-bison: | |
7f121bbf | 18186 | @if [ '$(host)' = '$(target)' ] ; then \ |
b40e3958 L |
18187 | r=`${PWD_COMMAND}`; export r; \ |
18188 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18189 | $(SET_LIB_PATH) \ |
18190 | (cd bison && $(MAKE) $(FLAGS_TO_PASS) check); \ | |
3866be5d NN |
18191 | fi |
18192 | ||
18193 | ||
930314a4 NN |
18194 | .PHONY: install-bison maybe-install-bison |
18195 | maybe-install-bison: | |
16ae0395 | 18196 | |
3866be5d | 18197 | install-bison: installdirs |
b40e3958 L |
18198 | @r=`${PWD_COMMAND}`; export r; \ |
18199 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18200 | $(SET_LIB_PATH) \ |
18201 | (cd bison && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18202 | |
18203 | ||
e2b9e2dc NN |
18204 | .PHONY: configure-byacc maybe-configure-byacc |
18205 | maybe-configure-byacc: | |
e6bfb94a AO |
18206 | configure-byacc: |
18207 | @test ! -f byacc/Makefile || exit 0; \ | |
18208 | [ -d byacc ] || mkdir byacc; \ | |
b40e3958 L |
18209 | r=`${PWD_COMMAND}`; export r; \ |
18210 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
18211 | CC="$(CC)"; export CC; \ |
18212 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18213 | CXX="$(CXX)"; export CXX; \ | |
18214 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18215 | AR="$(AR)"; export AR; \ |
18216 | AS="$(AS)"; export AS; \ | |
18217 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18218 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18219 | LD="$(LD)"; export LD; \ | |
18220 | NM="$(NM)"; export NM; \ | |
18221 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18222 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18223 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18224 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18225 | echo Configuring in byacc; \ |
18226 | cd byacc || exit 1; \ | |
18227 | case $(srcdir) in \ | |
18228 | \.) \ | |
18229 | srcdiroption="--srcdir=."; \ | |
18230 | libsrcdir=".";; \ | |
18231 | /* | [A-Za-z]:[\\/]*) \ | |
18232 | srcdiroption="--srcdir=$(srcdir)/byacc"; \ | |
18233 | libsrcdir="$$s/byacc";; \ | |
18234 | *) \ | |
18235 | srcdiroption="--srcdir=../$(srcdir)/byacc"; \ | |
18236 | libsrcdir="$$s/byacc";; \ | |
18237 | esac; \ | |
18238 | $(SHELL) $${libsrcdir}/configure \ | |
18239 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18240 | || exit 1 | |
18241 | ||
930314a4 NN |
18242 | .PHONY: all-byacc maybe-all-byacc |
18243 | maybe-all-byacc: | |
db1ac78d | 18244 | all-byacc: configure-byacc |
b40e3958 L |
18245 | @r=`${PWD_COMMAND}`; export r; \ |
18246 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18247 | $(SET_LIB_PATH) \ |
18248 | (cd byacc && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18249 | |
16ae0395 NN |
18250 | .PHONY: check-byacc maybe-check-byacc |
18251 | maybe-check-byacc: | |
3866be5d | 18252 | |
3866be5d NN |
18253 | # This module is only tested in a native toolchain. |
18254 | check-byacc: | |
7f121bbf | 18255 | @if [ '$(host)' = '$(target)' ] ; then \ |
b40e3958 L |
18256 | r=`${PWD_COMMAND}`; export r; \ |
18257 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18258 | $(SET_LIB_PATH) \ |
18259 | (cd byacc && $(MAKE) $(FLAGS_TO_PASS) check); \ | |
3866be5d NN |
18260 | fi |
18261 | ||
18262 | ||
930314a4 NN |
18263 | .PHONY: install-byacc maybe-install-byacc |
18264 | maybe-install-byacc: | |
16ae0395 | 18265 | |
3866be5d | 18266 | install-byacc: installdirs |
b40e3958 L |
18267 | @r=`${PWD_COMMAND}`; export r; \ |
18268 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18269 | $(SET_LIB_PATH) \ |
18270 | (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18271 | |
18272 | ||
e2b9e2dc NN |
18273 | .PHONY: configure-bzip2 maybe-configure-bzip2 |
18274 | maybe-configure-bzip2: | |
e6bfb94a AO |
18275 | configure-bzip2: |
18276 | @test ! -f bzip2/Makefile || exit 0; \ | |
18277 | [ -d bzip2 ] || mkdir bzip2; \ | |
b40e3958 L |
18278 | r=`${PWD_COMMAND}`; export r; \ |
18279 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
18280 | CC="$(CC)"; export CC; \ |
18281 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18282 | CXX="$(CXX)"; export CXX; \ | |
18283 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18284 | AR="$(AR)"; export AR; \ |
18285 | AS="$(AS)"; export AS; \ | |
18286 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18287 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18288 | LD="$(LD)"; export LD; \ | |
18289 | NM="$(NM)"; export NM; \ | |
18290 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18291 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18292 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18293 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18294 | echo Configuring in bzip2; \ |
18295 | cd bzip2 || exit 1; \ | |
18296 | case $(srcdir) in \ | |
18297 | \.) \ | |
18298 | srcdiroption="--srcdir=."; \ | |
18299 | libsrcdir=".";; \ | |
18300 | /* | [A-Za-z]:[\\/]*) \ | |
18301 | srcdiroption="--srcdir=$(srcdir)/bzip2"; \ | |
18302 | libsrcdir="$$s/bzip2";; \ | |
18303 | *) \ | |
18304 | srcdiroption="--srcdir=../$(srcdir)/bzip2"; \ | |
18305 | libsrcdir="$$s/bzip2";; \ | |
18306 | esac; \ | |
18307 | $(SHELL) $${libsrcdir}/configure \ | |
18308 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18309 | || exit 1 | |
18310 | ||
930314a4 NN |
18311 | .PHONY: all-bzip2 maybe-all-bzip2 |
18312 | maybe-all-bzip2: | |
db1ac78d | 18313 | all-bzip2: configure-bzip2 |
b40e3958 L |
18314 | @r=`${PWD_COMMAND}`; export r; \ |
18315 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18316 | $(SET_LIB_PATH) \ |
18317 | (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18318 | |
16ae0395 NN |
18319 | .PHONY: check-bzip2 maybe-check-bzip2 |
18320 | maybe-check-bzip2: | |
3866be5d | 18321 | |
3866be5d | 18322 | check-bzip2: |
b40e3958 L |
18323 | @r=`${PWD_COMMAND}`; export r; \ |
18324 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18325 | $(SET_LIB_PATH) \ |
18326 | (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
18327 | |
18328 | ||
930314a4 NN |
18329 | .PHONY: install-bzip2 maybe-install-bzip2 |
18330 | maybe-install-bzip2: | |
16ae0395 | 18331 | |
3866be5d | 18332 | install-bzip2: installdirs |
b40e3958 L |
18333 | @r=`${PWD_COMMAND}`; export r; \ |
18334 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18335 | $(SET_LIB_PATH) \ |
18336 | (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18337 | |
18338 | ||
e2b9e2dc NN |
18339 | .PHONY: configure-dejagnu maybe-configure-dejagnu |
18340 | maybe-configure-dejagnu: | |
e6bfb94a AO |
18341 | configure-dejagnu: |
18342 | @test ! -f dejagnu/Makefile || exit 0; \ | |
18343 | [ -d dejagnu ] || mkdir dejagnu; \ | |
b40e3958 L |
18344 | r=`${PWD_COMMAND}`; export r; \ |
18345 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
18346 | CC="$(CC)"; export CC; \ |
18347 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18348 | CXX="$(CXX)"; export CXX; \ | |
18349 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18350 | AR="$(AR)"; export AR; \ |
18351 | AS="$(AS)"; export AS; \ | |
18352 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18353 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18354 | LD="$(LD)"; export LD; \ | |
18355 | NM="$(NM)"; export NM; \ | |
18356 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18357 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18358 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18359 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18360 | echo Configuring in dejagnu; \ |
18361 | cd dejagnu || exit 1; \ | |
18362 | case $(srcdir) in \ | |
18363 | \.) \ | |
18364 | srcdiroption="--srcdir=."; \ | |
18365 | libsrcdir=".";; \ | |
18366 | /* | [A-Za-z]:[\\/]*) \ | |
18367 | srcdiroption="--srcdir=$(srcdir)/dejagnu"; \ | |
18368 | libsrcdir="$$s/dejagnu";; \ | |
18369 | *) \ | |
18370 | srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \ | |
18371 | libsrcdir="$$s/dejagnu";; \ | |
18372 | esac; \ | |
18373 | $(SHELL) $${libsrcdir}/configure \ | |
18374 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18375 | || exit 1 | |
18376 | ||
930314a4 NN |
18377 | .PHONY: all-dejagnu maybe-all-dejagnu |
18378 | maybe-all-dejagnu: | |
db1ac78d | 18379 | all-dejagnu: configure-dejagnu |
b40e3958 L |
18380 | @r=`${PWD_COMMAND}`; export r; \ |
18381 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18382 | $(SET_LIB_PATH) \ |
18383 | (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18384 | |
16ae0395 NN |
18385 | .PHONY: check-dejagnu maybe-check-dejagnu |
18386 | maybe-check-dejagnu: | |
3866be5d | 18387 | |
3866be5d | 18388 | check-dejagnu: |
b40e3958 L |
18389 | @r=`${PWD_COMMAND}`; export r; \ |
18390 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18391 | $(SET_LIB_PATH) \ |
18392 | (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
18393 | |
18394 | ||
930314a4 NN |
18395 | .PHONY: install-dejagnu maybe-install-dejagnu |
18396 | maybe-install-dejagnu: | |
16ae0395 | 18397 | |
3866be5d | 18398 | install-dejagnu: installdirs |
b40e3958 L |
18399 | @r=`${PWD_COMMAND}`; export r; \ |
18400 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18401 | $(SET_LIB_PATH) \ |
18402 | (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18403 | |
18404 | ||
e2b9e2dc NN |
18405 | .PHONY: configure-diff maybe-configure-diff |
18406 | maybe-configure-diff: | |
e6bfb94a AO |
18407 | configure-diff: |
18408 | @test ! -f diff/Makefile || exit 0; \ | |
18409 | [ -d diff ] || mkdir diff; \ | |
b40e3958 L |
18410 | r=`${PWD_COMMAND}`; export r; \ |
18411 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
18412 | CC="$(CC)"; export CC; \ |
18413 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18414 | CXX="$(CXX)"; export CXX; \ | |
18415 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18416 | AR="$(AR)"; export AR; \ |
18417 | AS="$(AS)"; export AS; \ | |
18418 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18419 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18420 | LD="$(LD)"; export LD; \ | |
18421 | NM="$(NM)"; export NM; \ | |
18422 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18423 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18424 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18425 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18426 | echo Configuring in diff; \ |
18427 | cd diff || exit 1; \ | |
18428 | case $(srcdir) in \ | |
18429 | \.) \ | |
18430 | srcdiroption="--srcdir=."; \ | |
18431 | libsrcdir=".";; \ | |
18432 | /* | [A-Za-z]:[\\/]*) \ | |
18433 | srcdiroption="--srcdir=$(srcdir)/diff"; \ | |
18434 | libsrcdir="$$s/diff";; \ | |
18435 | *) \ | |
18436 | srcdiroption="--srcdir=../$(srcdir)/diff"; \ | |
18437 | libsrcdir="$$s/diff";; \ | |
18438 | esac; \ | |
18439 | $(SHELL) $${libsrcdir}/configure \ | |
18440 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18441 | || exit 1 | |
18442 | ||
930314a4 NN |
18443 | .PHONY: all-diff maybe-all-diff |
18444 | maybe-all-diff: | |
db1ac78d | 18445 | all-diff: configure-diff |
b40e3958 L |
18446 | @r=`${PWD_COMMAND}`; export r; \ |
18447 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18448 | $(SET_LIB_PATH) \ |
18449 | (cd diff && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18450 | |
16ae0395 NN |
18451 | .PHONY: check-diff maybe-check-diff |
18452 | maybe-check-diff: | |
3866be5d | 18453 | |
3866be5d | 18454 | check-diff: |
b40e3958 L |
18455 | @r=`${PWD_COMMAND}`; export r; \ |
18456 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18457 | $(SET_LIB_PATH) \ |
18458 | (cd diff && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
18459 | |
18460 | ||
930314a4 NN |
18461 | .PHONY: install-diff maybe-install-diff |
18462 | maybe-install-diff: | |
16ae0395 | 18463 | |
3866be5d | 18464 | install-diff: installdirs |
b40e3958 L |
18465 | @r=`${PWD_COMMAND}`; export r; \ |
18466 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18467 | $(SET_LIB_PATH) \ |
18468 | (cd diff && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18469 | |
18470 | ||
e2b9e2dc NN |
18471 | .PHONY: configure-dosutils maybe-configure-dosutils |
18472 | maybe-configure-dosutils: | |
e6bfb94a AO |
18473 | configure-dosutils: |
18474 | @test ! -f dosutils/Makefile || exit 0; \ | |
18475 | [ -d dosutils ] || mkdir dosutils; \ | |
b40e3958 L |
18476 | r=`${PWD_COMMAND}`; export r; \ |
18477 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
18478 | CC="$(CC)"; export CC; \ |
18479 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18480 | CXX="$(CXX)"; export CXX; \ | |
18481 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18482 | AR="$(AR)"; export AR; \ |
18483 | AS="$(AS)"; export AS; \ | |
18484 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18485 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18486 | LD="$(LD)"; export LD; \ | |
18487 | NM="$(NM)"; export NM; \ | |
18488 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18489 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18490 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18491 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18492 | echo Configuring in dosutils; \ |
18493 | cd dosutils || exit 1; \ | |
18494 | case $(srcdir) in \ | |
18495 | \.) \ | |
18496 | srcdiroption="--srcdir=."; \ | |
18497 | libsrcdir=".";; \ | |
18498 | /* | [A-Za-z]:[\\/]*) \ | |
18499 | srcdiroption="--srcdir=$(srcdir)/dosutils"; \ | |
18500 | libsrcdir="$$s/dosutils";; \ | |
18501 | *) \ | |
18502 | srcdiroption="--srcdir=../$(srcdir)/dosutils"; \ | |
18503 | libsrcdir="$$s/dosutils";; \ | |
18504 | esac; \ | |
18505 | $(SHELL) $${libsrcdir}/configure \ | |
18506 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18507 | || exit 1 | |
18508 | ||
930314a4 NN |
18509 | .PHONY: all-dosutils maybe-all-dosutils |
18510 | maybe-all-dosutils: | |
db1ac78d | 18511 | all-dosutils: configure-dosutils |
b40e3958 L |
18512 | @r=`${PWD_COMMAND}`; export r; \ |
18513 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18514 | $(SET_LIB_PATH) \ |
18515 | (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18516 | |
16ae0395 NN |
18517 | .PHONY: check-dosutils maybe-check-dosutils |
18518 | maybe-check-dosutils: | |
3866be5d | 18519 | |
3866be5d NN |
18520 | check-dosutils: |
18521 | ||
18522 | ||
930314a4 NN |
18523 | .PHONY: install-dosutils maybe-install-dosutils |
18524 | maybe-install-dosutils: | |
16ae0395 | 18525 | |
3866be5d | 18526 | install-dosutils: installdirs |
b40e3958 L |
18527 | @r=`${PWD_COMMAND}`; export r; \ |
18528 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18529 | $(SET_LIB_PATH) \ |
18530 | (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18531 | |
18532 | ||
e2b9e2dc NN |
18533 | .PHONY: configure-etc maybe-configure-etc |
18534 | maybe-configure-etc: | |
e6bfb94a AO |
18535 | configure-etc: |
18536 | @test ! -f etc/Makefile || exit 0; \ | |
18537 | [ -d etc ] || mkdir etc; \ | |
b40e3958 L |
18538 | r=`${PWD_COMMAND}`; export r; \ |
18539 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
18540 | CC="$(CC)"; export CC; \ |
18541 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18542 | CXX="$(CXX)"; export CXX; \ | |
18543 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18544 | AR="$(AR)"; export AR; \ |
18545 | AS="$(AS)"; export AS; \ | |
18546 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18547 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18548 | LD="$(LD)"; export LD; \ | |
18549 | NM="$(NM)"; export NM; \ | |
18550 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18551 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18552 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18553 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18554 | echo Configuring in etc; \ |
18555 | cd etc || exit 1; \ | |
18556 | case $(srcdir) in \ | |
18557 | \.) \ | |
18558 | srcdiroption="--srcdir=."; \ | |
18559 | libsrcdir=".";; \ | |
18560 | /* | [A-Za-z]:[\\/]*) \ | |
18561 | srcdiroption="--srcdir=$(srcdir)/etc"; \ | |
18562 | libsrcdir="$$s/etc";; \ | |
18563 | *) \ | |
18564 | srcdiroption="--srcdir=../$(srcdir)/etc"; \ | |
18565 | libsrcdir="$$s/etc";; \ | |
18566 | esac; \ | |
18567 | $(SHELL) $${libsrcdir}/configure \ | |
18568 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18569 | || exit 1 | |
18570 | ||
930314a4 NN |
18571 | .PHONY: all-etc maybe-all-etc |
18572 | maybe-all-etc: | |
db1ac78d | 18573 | all-etc: configure-etc |
b40e3958 L |
18574 | @r=`${PWD_COMMAND}`; export r; \ |
18575 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18576 | $(SET_LIB_PATH) \ |
18577 | (cd etc && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18578 | |
16ae0395 NN |
18579 | .PHONY: check-etc maybe-check-etc |
18580 | maybe-check-etc: | |
3866be5d | 18581 | |
3866be5d | 18582 | check-etc: |
b40e3958 L |
18583 | @r=`${PWD_COMMAND}`; export r; \ |
18584 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18585 | $(SET_LIB_PATH) \ |
18586 | (cd etc && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
18587 | |
18588 | ||
930314a4 NN |
18589 | .PHONY: install-etc maybe-install-etc |
18590 | maybe-install-etc: | |
16ae0395 | 18591 | |
3866be5d | 18592 | install-etc: installdirs |
b40e3958 L |
18593 | @r=`${PWD_COMMAND}`; export r; \ |
18594 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18595 | $(SET_LIB_PATH) \ |
18596 | (cd etc && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18597 | |
18598 | ||
e2b9e2dc NN |
18599 | .PHONY: configure-fastjar maybe-configure-fastjar |
18600 | maybe-configure-fastjar: | |
e6bfb94a AO |
18601 | configure-fastjar: |
18602 | @test ! -f fastjar/Makefile || exit 0; \ | |
18603 | [ -d fastjar ] || mkdir fastjar; \ | |
b40e3958 L |
18604 | r=`${PWD_COMMAND}`; export r; \ |
18605 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
18606 | CC="$(CC)"; export CC; \ |
18607 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18608 | CXX="$(CXX)"; export CXX; \ | |
18609 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18610 | AR="$(AR)"; export AR; \ |
18611 | AS="$(AS)"; export AS; \ | |
18612 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18613 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18614 | LD="$(LD)"; export LD; \ | |
18615 | NM="$(NM)"; export NM; \ | |
18616 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18617 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18618 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18619 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18620 | echo Configuring in fastjar; \ |
18621 | cd fastjar || exit 1; \ | |
18622 | case $(srcdir) in \ | |
18623 | \.) \ | |
18624 | srcdiroption="--srcdir=."; \ | |
18625 | libsrcdir=".";; \ | |
18626 | /* | [A-Za-z]:[\\/]*) \ | |
18627 | srcdiroption="--srcdir=$(srcdir)/fastjar"; \ | |
18628 | libsrcdir="$$s/fastjar";; \ | |
18629 | *) \ | |
18630 | srcdiroption="--srcdir=../$(srcdir)/fastjar"; \ | |
18631 | libsrcdir="$$s/fastjar";; \ | |
18632 | esac; \ | |
18633 | $(SHELL) $${libsrcdir}/configure \ | |
18634 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18635 | || exit 1 | |
18636 | ||
930314a4 NN |
18637 | .PHONY: all-fastjar maybe-all-fastjar |
18638 | maybe-all-fastjar: | |
db1ac78d | 18639 | all-fastjar: configure-fastjar |
b40e3958 L |
18640 | @r=`${PWD_COMMAND}`; export r; \ |
18641 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18642 | $(SET_LIB_PATH) \ |
18643 | (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18644 | |
16ae0395 NN |
18645 | .PHONY: check-fastjar maybe-check-fastjar |
18646 | maybe-check-fastjar: | |
3866be5d | 18647 | |
3866be5d NN |
18648 | # This module is only tested in a native toolchain. |
18649 | check-fastjar: | |
7f121bbf | 18650 | @if [ '$(host)' = '$(target)' ] ; then \ |
b40e3958 L |
18651 | r=`${PWD_COMMAND}`; export r; \ |
18652 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18653 | $(SET_LIB_PATH) \ |
18654 | (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) check); \ | |
3866be5d NN |
18655 | fi |
18656 | ||
18657 | ||
930314a4 NN |
18658 | .PHONY: install-fastjar maybe-install-fastjar |
18659 | maybe-install-fastjar: | |
16ae0395 | 18660 | |
3866be5d | 18661 | install-fastjar: installdirs |
b40e3958 L |
18662 | @r=`${PWD_COMMAND}`; export r; \ |
18663 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18664 | $(SET_LIB_PATH) \ |
18665 | (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18666 | |
18667 | ||
e2b9e2dc NN |
18668 | .PHONY: configure-fileutils maybe-configure-fileutils |
18669 | maybe-configure-fileutils: | |
e6bfb94a AO |
18670 | configure-fileutils: |
18671 | @test ! -f fileutils/Makefile || exit 0; \ | |
18672 | [ -d fileutils ] || mkdir fileutils; \ | |
b40e3958 L |
18673 | r=`${PWD_COMMAND}`; export r; \ |
18674 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
18675 | CC="$(CC)"; export CC; \ |
18676 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18677 | CXX="$(CXX)"; export CXX; \ | |
18678 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18679 | AR="$(AR)"; export AR; \ |
18680 | AS="$(AS)"; export AS; \ | |
18681 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18682 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18683 | LD="$(LD)"; export LD; \ | |
18684 | NM="$(NM)"; export NM; \ | |
18685 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18686 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18687 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18688 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18689 | echo Configuring in fileutils; \ |
18690 | cd fileutils || exit 1; \ | |
18691 | case $(srcdir) in \ | |
18692 | \.) \ | |
18693 | srcdiroption="--srcdir=."; \ | |
18694 | libsrcdir=".";; \ | |
18695 | /* | [A-Za-z]:[\\/]*) \ | |
18696 | srcdiroption="--srcdir=$(srcdir)/fileutils"; \ | |
18697 | libsrcdir="$$s/fileutils";; \ | |
18698 | *) \ | |
18699 | srcdiroption="--srcdir=../$(srcdir)/fileutils"; \ | |
18700 | libsrcdir="$$s/fileutils";; \ | |
18701 | esac; \ | |
18702 | $(SHELL) $${libsrcdir}/configure \ | |
18703 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18704 | || exit 1 | |
18705 | ||
930314a4 NN |
18706 | .PHONY: all-fileutils maybe-all-fileutils |
18707 | maybe-all-fileutils: | |
db1ac78d | 18708 | all-fileutils: configure-fileutils |
b40e3958 L |
18709 | @r=`${PWD_COMMAND}`; export r; \ |
18710 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18711 | $(SET_LIB_PATH) \ |
18712 | (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18713 | |
16ae0395 NN |
18714 | .PHONY: check-fileutils maybe-check-fileutils |
18715 | maybe-check-fileutils: | |
3866be5d | 18716 | |
3866be5d | 18717 | check-fileutils: |
b40e3958 L |
18718 | @r=`${PWD_COMMAND}`; export r; \ |
18719 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18720 | $(SET_LIB_PATH) \ |
18721 | (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
18722 | |
18723 | ||
930314a4 NN |
18724 | .PHONY: install-fileutils maybe-install-fileutils |
18725 | maybe-install-fileutils: | |
16ae0395 | 18726 | |
3866be5d | 18727 | install-fileutils: installdirs |
b40e3958 L |
18728 | @r=`${PWD_COMMAND}`; export r; \ |
18729 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18730 | $(SET_LIB_PATH) \ |
18731 | (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18732 | |
18733 | ||
e2b9e2dc NN |
18734 | .PHONY: configure-findutils maybe-configure-findutils |
18735 | maybe-configure-findutils: | |
e6bfb94a AO |
18736 | configure-findutils: |
18737 | @test ! -f findutils/Makefile || exit 0; \ | |
18738 | [ -d findutils ] || mkdir findutils; \ | |
b40e3958 L |
18739 | r=`${PWD_COMMAND}`; export r; \ |
18740 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
18741 | CC="$(CC)"; export CC; \ |
18742 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18743 | CXX="$(CXX)"; export CXX; \ | |
18744 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18745 | AR="$(AR)"; export AR; \ |
18746 | AS="$(AS)"; export AS; \ | |
18747 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18748 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18749 | LD="$(LD)"; export LD; \ | |
18750 | NM="$(NM)"; export NM; \ | |
18751 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18752 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18753 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18754 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18755 | echo Configuring in findutils; \ |
18756 | cd findutils || exit 1; \ | |
18757 | case $(srcdir) in \ | |
18758 | \.) \ | |
18759 | srcdiroption="--srcdir=."; \ | |
18760 | libsrcdir=".";; \ | |
18761 | /* | [A-Za-z]:[\\/]*) \ | |
18762 | srcdiroption="--srcdir=$(srcdir)/findutils"; \ | |
18763 | libsrcdir="$$s/findutils";; \ | |
18764 | *) \ | |
18765 | srcdiroption="--srcdir=../$(srcdir)/findutils"; \ | |
18766 | libsrcdir="$$s/findutils";; \ | |
18767 | esac; \ | |
18768 | $(SHELL) $${libsrcdir}/configure \ | |
18769 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18770 | || exit 1 | |
18771 | ||
930314a4 NN |
18772 | .PHONY: all-findutils maybe-all-findutils |
18773 | maybe-all-findutils: | |
db1ac78d | 18774 | all-findutils: configure-findutils |
b40e3958 L |
18775 | @r=`${PWD_COMMAND}`; export r; \ |
18776 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18777 | $(SET_LIB_PATH) \ |
18778 | (cd findutils && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18779 | |
16ae0395 NN |
18780 | .PHONY: check-findutils maybe-check-findutils |
18781 | maybe-check-findutils: | |
3866be5d | 18782 | |
3866be5d | 18783 | check-findutils: |
b40e3958 L |
18784 | @r=`${PWD_COMMAND}`; export r; \ |
18785 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18786 | $(SET_LIB_PATH) \ |
18787 | (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
18788 | |
18789 | ||
930314a4 NN |
18790 | .PHONY: install-findutils maybe-install-findutils |
18791 | maybe-install-findutils: | |
16ae0395 | 18792 | |
3866be5d | 18793 | install-findutils: installdirs |
b40e3958 L |
18794 | @r=`${PWD_COMMAND}`; export r; \ |
18795 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18796 | $(SET_LIB_PATH) \ |
18797 | (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18798 | |
18799 | ||
e2b9e2dc NN |
18800 | .PHONY: configure-find maybe-configure-find |
18801 | maybe-configure-find: | |
e6bfb94a AO |
18802 | configure-find: |
18803 | @test ! -f find/Makefile || exit 0; \ | |
18804 | [ -d find ] || mkdir find; \ | |
b40e3958 L |
18805 | r=`${PWD_COMMAND}`; export r; \ |
18806 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
18807 | CC="$(CC)"; export CC; \ |
18808 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18809 | CXX="$(CXX)"; export CXX; \ | |
18810 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18811 | AR="$(AR)"; export AR; \ |
18812 | AS="$(AS)"; export AS; \ | |
18813 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18814 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18815 | LD="$(LD)"; export LD; \ | |
18816 | NM="$(NM)"; export NM; \ | |
18817 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18818 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18819 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18820 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18821 | echo Configuring in find; \ |
18822 | cd find || exit 1; \ | |
18823 | case $(srcdir) in \ | |
18824 | \.) \ | |
18825 | srcdiroption="--srcdir=."; \ | |
18826 | libsrcdir=".";; \ | |
18827 | /* | [A-Za-z]:[\\/]*) \ | |
18828 | srcdiroption="--srcdir=$(srcdir)/find"; \ | |
18829 | libsrcdir="$$s/find";; \ | |
18830 | *) \ | |
18831 | srcdiroption="--srcdir=../$(srcdir)/find"; \ | |
18832 | libsrcdir="$$s/find";; \ | |
18833 | esac; \ | |
18834 | $(SHELL) $${libsrcdir}/configure \ | |
18835 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18836 | || exit 1 | |
18837 | ||
930314a4 NN |
18838 | .PHONY: all-find maybe-all-find |
18839 | maybe-all-find: | |
db1ac78d | 18840 | all-find: configure-find |
b40e3958 L |
18841 | @r=`${PWD_COMMAND}`; export r; \ |
18842 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18843 | $(SET_LIB_PATH) \ |
18844 | (cd find && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18845 | |
16ae0395 NN |
18846 | .PHONY: check-find maybe-check-find |
18847 | maybe-check-find: | |
3866be5d | 18848 | |
3866be5d | 18849 | check-find: |
b40e3958 L |
18850 | @r=`${PWD_COMMAND}`; export r; \ |
18851 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18852 | $(SET_LIB_PATH) \ |
18853 | (cd find && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
18854 | |
18855 | ||
930314a4 NN |
18856 | .PHONY: install-find maybe-install-find |
18857 | maybe-install-find: | |
16ae0395 | 18858 | |
3866be5d | 18859 | install-find: installdirs |
b40e3958 L |
18860 | @r=`${PWD_COMMAND}`; export r; \ |
18861 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18862 | $(SET_LIB_PATH) \ |
18863 | (cd find && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18864 | |
18865 | ||
e2b9e2dc NN |
18866 | .PHONY: configure-flex maybe-configure-flex |
18867 | maybe-configure-flex: | |
e6bfb94a AO |
18868 | configure-flex: |
18869 | @test ! -f flex/Makefile || exit 0; \ | |
18870 | [ -d flex ] || mkdir flex; \ | |
b40e3958 L |
18871 | r=`${PWD_COMMAND}`; export r; \ |
18872 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
18873 | CC="$(CC)"; export CC; \ |
18874 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18875 | CXX="$(CXX)"; export CXX; \ | |
18876 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18877 | AR="$(AR)"; export AR; \ |
18878 | AS="$(AS)"; export AS; \ | |
18879 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18880 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18881 | LD="$(LD)"; export LD; \ | |
18882 | NM="$(NM)"; export NM; \ | |
18883 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18884 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18885 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18886 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18887 | echo Configuring in flex; \ |
18888 | cd flex || exit 1; \ | |
18889 | case $(srcdir) in \ | |
18890 | \.) \ | |
18891 | srcdiroption="--srcdir=."; \ | |
18892 | libsrcdir=".";; \ | |
18893 | /* | [A-Za-z]:[\\/]*) \ | |
18894 | srcdiroption="--srcdir=$(srcdir)/flex"; \ | |
18895 | libsrcdir="$$s/flex";; \ | |
18896 | *) \ | |
18897 | srcdiroption="--srcdir=../$(srcdir)/flex"; \ | |
18898 | libsrcdir="$$s/flex";; \ | |
18899 | esac; \ | |
18900 | $(SHELL) $${libsrcdir}/configure \ | |
18901 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18902 | || exit 1 | |
18903 | ||
930314a4 NN |
18904 | .PHONY: all-flex maybe-all-flex |
18905 | maybe-all-flex: | |
db1ac78d | 18906 | all-flex: configure-flex |
b40e3958 L |
18907 | @r=`${PWD_COMMAND}`; export r; \ |
18908 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18909 | $(SET_LIB_PATH) \ |
18910 | (cd flex && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18911 | |
16ae0395 NN |
18912 | .PHONY: check-flex maybe-check-flex |
18913 | maybe-check-flex: | |
3866be5d | 18914 | |
3866be5d NN |
18915 | # This module is only tested in a native toolchain. |
18916 | check-flex: | |
7f121bbf | 18917 | @if [ '$(host)' = '$(target)' ] ; then \ |
b40e3958 L |
18918 | r=`${PWD_COMMAND}`; export r; \ |
18919 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18920 | $(SET_LIB_PATH) \ |
18921 | (cd flex && $(MAKE) $(FLAGS_TO_PASS) check); \ | |
3866be5d NN |
18922 | fi |
18923 | ||
18924 | ||
930314a4 NN |
18925 | .PHONY: install-flex maybe-install-flex |
18926 | maybe-install-flex: | |
16ae0395 | 18927 | |
3866be5d | 18928 | install-flex: installdirs |
b40e3958 L |
18929 | @r=`${PWD_COMMAND}`; export r; \ |
18930 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18931 | $(SET_LIB_PATH) \ |
18932 | (cd flex && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18933 | |
18934 | ||
e2b9e2dc NN |
18935 | .PHONY: configure-gas maybe-configure-gas |
18936 | maybe-configure-gas: | |
e6bfb94a AO |
18937 | configure-gas: |
18938 | @test ! -f gas/Makefile || exit 0; \ | |
18939 | [ -d gas ] || mkdir gas; \ | |
b40e3958 L |
18940 | r=`${PWD_COMMAND}`; export r; \ |
18941 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
18942 | CC="$(CC)"; export CC; \ |
18943 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18944 | CXX="$(CXX)"; export CXX; \ | |
18945 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18946 | AR="$(AR)"; export AR; \ |
18947 | AS="$(AS)"; export AS; \ | |
18948 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18949 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18950 | LD="$(LD)"; export LD; \ | |
18951 | NM="$(NM)"; export NM; \ | |
18952 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18953 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18954 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18955 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18956 | echo Configuring in gas; \ |
18957 | cd gas || exit 1; \ | |
18958 | case $(srcdir) in \ | |
18959 | \.) \ | |
18960 | srcdiroption="--srcdir=."; \ | |
18961 | libsrcdir=".";; \ | |
18962 | /* | [A-Za-z]:[\\/]*) \ | |
18963 | srcdiroption="--srcdir=$(srcdir)/gas"; \ | |
18964 | libsrcdir="$$s/gas";; \ | |
18965 | *) \ | |
18966 | srcdiroption="--srcdir=../$(srcdir)/gas"; \ | |
18967 | libsrcdir="$$s/gas";; \ | |
18968 | esac; \ | |
18969 | $(SHELL) $${libsrcdir}/configure \ | |
18970 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18971 | || exit 1 | |
18972 | ||
930314a4 NN |
18973 | .PHONY: all-gas maybe-all-gas |
18974 | maybe-all-gas: | |
db1ac78d | 18975 | all-gas: configure-gas |
b40e3958 L |
18976 | @r=`${PWD_COMMAND}`; export r; \ |
18977 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18978 | $(SET_LIB_PATH) \ |
18979 | (cd gas && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18980 | |
16ae0395 NN |
18981 | .PHONY: check-gas maybe-check-gas |
18982 | maybe-check-gas: | |
3866be5d | 18983 | |
3866be5d | 18984 | check-gas: |
b40e3958 L |
18985 | @r=`${PWD_COMMAND}`; export r; \ |
18986 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18987 | $(SET_LIB_PATH) \ |
18988 | (cd gas && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
18989 | |
18990 | ||
930314a4 NN |
18991 | .PHONY: install-gas maybe-install-gas |
18992 | maybe-install-gas: | |
16ae0395 | 18993 | |
3866be5d | 18994 | install-gas: installdirs |
b40e3958 L |
18995 | @r=`${PWD_COMMAND}`; export r; \ |
18996 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18997 | $(SET_LIB_PATH) \ |
18998 | (cd gas && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18999 | |
19000 | ||
e2b9e2dc NN |
19001 | .PHONY: configure-gawk maybe-configure-gawk |
19002 | maybe-configure-gawk: | |
e6bfb94a AO |
19003 | configure-gawk: |
19004 | @test ! -f gawk/Makefile || exit 0; \ | |
19005 | [ -d gawk ] || mkdir gawk; \ | |
b40e3958 L |
19006 | r=`${PWD_COMMAND}`; export r; \ |
19007 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
19008 | CC="$(CC)"; export CC; \ |
19009 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19010 | CXX="$(CXX)"; export CXX; \ | |
19011 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19012 | AR="$(AR)"; export AR; \ |
19013 | AS="$(AS)"; export AS; \ | |
19014 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19015 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19016 | LD="$(LD)"; export LD; \ | |
19017 | NM="$(NM)"; export NM; \ | |
19018 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19019 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19020 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19021 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19022 | echo Configuring in gawk; \ |
19023 | cd gawk || exit 1; \ | |
19024 | case $(srcdir) in \ | |
19025 | \.) \ | |
19026 | srcdiroption="--srcdir=."; \ | |
19027 | libsrcdir=".";; \ | |
19028 | /* | [A-Za-z]:[\\/]*) \ | |
19029 | srcdiroption="--srcdir=$(srcdir)/gawk"; \ | |
19030 | libsrcdir="$$s/gawk";; \ | |
19031 | *) \ | |
19032 | srcdiroption="--srcdir=../$(srcdir)/gawk"; \ | |
19033 | libsrcdir="$$s/gawk";; \ | |
19034 | esac; \ | |
19035 | $(SHELL) $${libsrcdir}/configure \ | |
19036 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19037 | || exit 1 | |
19038 | ||
930314a4 NN |
19039 | .PHONY: all-gawk maybe-all-gawk |
19040 | maybe-all-gawk: | |
db1ac78d | 19041 | all-gawk: configure-gawk |
b40e3958 L |
19042 | @r=`${PWD_COMMAND}`; export r; \ |
19043 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19044 | $(SET_LIB_PATH) \ |
19045 | (cd gawk && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19046 | |
16ae0395 NN |
19047 | .PHONY: check-gawk maybe-check-gawk |
19048 | maybe-check-gawk: | |
3866be5d | 19049 | |
3866be5d | 19050 | check-gawk: |
b40e3958 L |
19051 | @r=`${PWD_COMMAND}`; export r; \ |
19052 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19053 | $(SET_LIB_PATH) \ |
19054 | (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19055 | |
19056 | ||
930314a4 NN |
19057 | .PHONY: install-gawk maybe-install-gawk |
19058 | maybe-install-gawk: | |
16ae0395 | 19059 | |
3866be5d | 19060 | install-gawk: installdirs |
b40e3958 L |
19061 | @r=`${PWD_COMMAND}`; export r; \ |
19062 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19063 | $(SET_LIB_PATH) \ |
19064 | (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19065 | |
19066 | ||
e2b9e2dc NN |
19067 | .PHONY: configure-gettext maybe-configure-gettext |
19068 | maybe-configure-gettext: | |
e6bfb94a AO |
19069 | configure-gettext: |
19070 | @test ! -f gettext/Makefile || exit 0; \ | |
19071 | [ -d gettext ] || mkdir gettext; \ | |
b40e3958 L |
19072 | r=`${PWD_COMMAND}`; export r; \ |
19073 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
19074 | CC="$(CC)"; export CC; \ |
19075 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19076 | CXX="$(CXX)"; export CXX; \ | |
19077 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19078 | AR="$(AR)"; export AR; \ |
19079 | AS="$(AS)"; export AS; \ | |
19080 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19081 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19082 | LD="$(LD)"; export LD; \ | |
19083 | NM="$(NM)"; export NM; \ | |
19084 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19085 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19086 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19087 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19088 | echo Configuring in gettext; \ |
19089 | cd gettext || exit 1; \ | |
19090 | case $(srcdir) in \ | |
19091 | \.) \ | |
19092 | srcdiroption="--srcdir=."; \ | |
19093 | libsrcdir=".";; \ | |
19094 | /* | [A-Za-z]:[\\/]*) \ | |
19095 | srcdiroption="--srcdir=$(srcdir)/gettext"; \ | |
19096 | libsrcdir="$$s/gettext";; \ | |
19097 | *) \ | |
19098 | srcdiroption="--srcdir=../$(srcdir)/gettext"; \ | |
19099 | libsrcdir="$$s/gettext";; \ | |
19100 | esac; \ | |
19101 | $(SHELL) $${libsrcdir}/configure \ | |
19102 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19103 | || exit 1 | |
19104 | ||
930314a4 NN |
19105 | .PHONY: all-gettext maybe-all-gettext |
19106 | maybe-all-gettext: | |
db1ac78d | 19107 | all-gettext: configure-gettext |
b40e3958 L |
19108 | @r=`${PWD_COMMAND}`; export r; \ |
19109 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19110 | $(SET_LIB_PATH) \ |
19111 | (cd gettext && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19112 | |
16ae0395 NN |
19113 | .PHONY: check-gettext maybe-check-gettext |
19114 | maybe-check-gettext: | |
3866be5d | 19115 | |
3866be5d | 19116 | check-gettext: |
b40e3958 L |
19117 | @r=`${PWD_COMMAND}`; export r; \ |
19118 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19119 | $(SET_LIB_PATH) \ |
19120 | (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19121 | |
19122 | ||
930314a4 NN |
19123 | .PHONY: install-gettext maybe-install-gettext |
19124 | maybe-install-gettext: | |
16ae0395 | 19125 | |
3866be5d | 19126 | install-gettext: installdirs |
b40e3958 L |
19127 | @r=`${PWD_COMMAND}`; export r; \ |
19128 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19129 | $(SET_LIB_PATH) \ |
19130 | (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19131 | |
19132 | ||
e2b9e2dc NN |
19133 | .PHONY: configure-gnuserv maybe-configure-gnuserv |
19134 | maybe-configure-gnuserv: | |
e6bfb94a AO |
19135 | configure-gnuserv: |
19136 | @test ! -f gnuserv/Makefile || exit 0; \ | |
19137 | [ -d gnuserv ] || mkdir gnuserv; \ | |
b40e3958 L |
19138 | r=`${PWD_COMMAND}`; export r; \ |
19139 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
19140 | CC="$(CC)"; export CC; \ |
19141 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19142 | CXX="$(CXX)"; export CXX; \ | |
19143 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19144 | AR="$(AR)"; export AR; \ |
19145 | AS="$(AS)"; export AS; \ | |
19146 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19147 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19148 | LD="$(LD)"; export LD; \ | |
19149 | NM="$(NM)"; export NM; \ | |
19150 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19151 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19152 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19153 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19154 | echo Configuring in gnuserv; \ |
19155 | cd gnuserv || exit 1; \ | |
19156 | case $(srcdir) in \ | |
19157 | \.) \ | |
19158 | srcdiroption="--srcdir=."; \ | |
19159 | libsrcdir=".";; \ | |
19160 | /* | [A-Za-z]:[\\/]*) \ | |
19161 | srcdiroption="--srcdir=$(srcdir)/gnuserv"; \ | |
19162 | libsrcdir="$$s/gnuserv";; \ | |
19163 | *) \ | |
19164 | srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \ | |
19165 | libsrcdir="$$s/gnuserv";; \ | |
19166 | esac; \ | |
19167 | $(SHELL) $${libsrcdir}/configure \ | |
19168 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19169 | || exit 1 | |
19170 | ||
930314a4 NN |
19171 | .PHONY: all-gnuserv maybe-all-gnuserv |
19172 | maybe-all-gnuserv: | |
db1ac78d | 19173 | all-gnuserv: configure-gnuserv |
b40e3958 L |
19174 | @r=`${PWD_COMMAND}`; export r; \ |
19175 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19176 | $(SET_LIB_PATH) \ |
19177 | (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19178 | |
16ae0395 NN |
19179 | .PHONY: check-gnuserv maybe-check-gnuserv |
19180 | maybe-check-gnuserv: | |
3866be5d | 19181 | |
3866be5d | 19182 | check-gnuserv: |
b40e3958 L |
19183 | @r=`${PWD_COMMAND}`; export r; \ |
19184 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19185 | $(SET_LIB_PATH) \ |
19186 | (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19187 | |
19188 | ||
930314a4 NN |
19189 | .PHONY: install-gnuserv maybe-install-gnuserv |
19190 | maybe-install-gnuserv: | |
16ae0395 | 19191 | |
3866be5d | 19192 | install-gnuserv: installdirs |
b40e3958 L |
19193 | @r=`${PWD_COMMAND}`; export r; \ |
19194 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19195 | $(SET_LIB_PATH) \ |
19196 | (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19197 | |
19198 | ||
e2b9e2dc NN |
19199 | .PHONY: configure-gprof maybe-configure-gprof |
19200 | maybe-configure-gprof: | |
e6bfb94a AO |
19201 | configure-gprof: |
19202 | @test ! -f gprof/Makefile || exit 0; \ | |
19203 | [ -d gprof ] || mkdir gprof; \ | |
b40e3958 L |
19204 | r=`${PWD_COMMAND}`; export r; \ |
19205 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
19206 | CC="$(CC)"; export CC; \ |
19207 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19208 | CXX="$(CXX)"; export CXX; \ | |
19209 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19210 | AR="$(AR)"; export AR; \ |
19211 | AS="$(AS)"; export AS; \ | |
19212 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19213 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19214 | LD="$(LD)"; export LD; \ | |
19215 | NM="$(NM)"; export NM; \ | |
19216 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19217 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19218 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19219 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19220 | echo Configuring in gprof; \ |
19221 | cd gprof || exit 1; \ | |
19222 | case $(srcdir) in \ | |
19223 | \.) \ | |
19224 | srcdiroption="--srcdir=."; \ | |
19225 | libsrcdir=".";; \ | |
19226 | /* | [A-Za-z]:[\\/]*) \ | |
19227 | srcdiroption="--srcdir=$(srcdir)/gprof"; \ | |
19228 | libsrcdir="$$s/gprof";; \ | |
19229 | *) \ | |
19230 | srcdiroption="--srcdir=../$(srcdir)/gprof"; \ | |
19231 | libsrcdir="$$s/gprof";; \ | |
19232 | esac; \ | |
19233 | $(SHELL) $${libsrcdir}/configure \ | |
19234 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19235 | || exit 1 | |
19236 | ||
930314a4 NN |
19237 | .PHONY: all-gprof maybe-all-gprof |
19238 | maybe-all-gprof: | |
db1ac78d | 19239 | all-gprof: configure-gprof |
b40e3958 L |
19240 | @r=`${PWD_COMMAND}`; export r; \ |
19241 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19242 | $(SET_LIB_PATH) \ |
19243 | (cd gprof && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19244 | |
16ae0395 NN |
19245 | .PHONY: check-gprof maybe-check-gprof |
19246 | maybe-check-gprof: | |
3866be5d | 19247 | |
3866be5d | 19248 | check-gprof: |
b40e3958 L |
19249 | @r=`${PWD_COMMAND}`; export r; \ |
19250 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19251 | $(SET_LIB_PATH) \ |
19252 | (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19253 | |
19254 | ||
930314a4 NN |
19255 | .PHONY: install-gprof maybe-install-gprof |
19256 | maybe-install-gprof: | |
16ae0395 | 19257 | |
3866be5d | 19258 | install-gprof: installdirs |
b40e3958 L |
19259 | @r=`${PWD_COMMAND}`; export r; \ |
19260 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19261 | $(SET_LIB_PATH) \ |
19262 | (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19263 | |
19264 | ||
e2b9e2dc NN |
19265 | .PHONY: configure-gzip maybe-configure-gzip |
19266 | maybe-configure-gzip: | |
e6bfb94a AO |
19267 | configure-gzip: |
19268 | @test ! -f gzip/Makefile || exit 0; \ | |
19269 | [ -d gzip ] || mkdir gzip; \ | |
b40e3958 L |
19270 | r=`${PWD_COMMAND}`; export r; \ |
19271 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
19272 | CC="$(CC)"; export CC; \ |
19273 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19274 | CXX="$(CXX)"; export CXX; \ | |
19275 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19276 | AR="$(AR)"; export AR; \ |
19277 | AS="$(AS)"; export AS; \ | |
19278 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19279 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19280 | LD="$(LD)"; export LD; \ | |
19281 | NM="$(NM)"; export NM; \ | |
19282 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19283 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19284 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19285 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19286 | echo Configuring in gzip; \ |
19287 | cd gzip || exit 1; \ | |
19288 | case $(srcdir) in \ | |
19289 | \.) \ | |
19290 | srcdiroption="--srcdir=."; \ | |
19291 | libsrcdir=".";; \ | |
19292 | /* | [A-Za-z]:[\\/]*) \ | |
19293 | srcdiroption="--srcdir=$(srcdir)/gzip"; \ | |
19294 | libsrcdir="$$s/gzip";; \ | |
19295 | *) \ | |
19296 | srcdiroption="--srcdir=../$(srcdir)/gzip"; \ | |
19297 | libsrcdir="$$s/gzip";; \ | |
19298 | esac; \ | |
19299 | $(SHELL) $${libsrcdir}/configure \ | |
19300 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19301 | || exit 1 | |
19302 | ||
930314a4 NN |
19303 | .PHONY: all-gzip maybe-all-gzip |
19304 | maybe-all-gzip: | |
db1ac78d | 19305 | all-gzip: configure-gzip |
b40e3958 L |
19306 | @r=`${PWD_COMMAND}`; export r; \ |
19307 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19308 | $(SET_LIB_PATH) \ |
19309 | (cd gzip && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19310 | |
16ae0395 NN |
19311 | .PHONY: check-gzip maybe-check-gzip |
19312 | maybe-check-gzip: | |
3866be5d | 19313 | |
3866be5d | 19314 | check-gzip: |
b40e3958 L |
19315 | @r=`${PWD_COMMAND}`; export r; \ |
19316 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19317 | $(SET_LIB_PATH) \ |
19318 | (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19319 | |
19320 | ||
930314a4 NN |
19321 | .PHONY: install-gzip maybe-install-gzip |
19322 | maybe-install-gzip: | |
16ae0395 | 19323 | |
3866be5d | 19324 | install-gzip: installdirs |
b40e3958 L |
19325 | @r=`${PWD_COMMAND}`; export r; \ |
19326 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19327 | $(SET_LIB_PATH) \ |
19328 | (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19329 | |
19330 | ||
e2b9e2dc NN |
19331 | .PHONY: configure-hello maybe-configure-hello |
19332 | maybe-configure-hello: | |
e6bfb94a AO |
19333 | configure-hello: |
19334 | @test ! -f hello/Makefile || exit 0; \ | |
19335 | [ -d hello ] || mkdir hello; \ | |
b40e3958 L |
19336 | r=`${PWD_COMMAND}`; export r; \ |
19337 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
19338 | CC="$(CC)"; export CC; \ |
19339 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19340 | CXX="$(CXX)"; export CXX; \ | |
19341 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19342 | AR="$(AR)"; export AR; \ |
19343 | AS="$(AS)"; export AS; \ | |
19344 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19345 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19346 | LD="$(LD)"; export LD; \ | |
19347 | NM="$(NM)"; export NM; \ | |
19348 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19349 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19350 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19351 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19352 | echo Configuring in hello; \ |
19353 | cd hello || exit 1; \ | |
19354 | case $(srcdir) in \ | |
19355 | \.) \ | |
19356 | srcdiroption="--srcdir=."; \ | |
19357 | libsrcdir=".";; \ | |
19358 | /* | [A-Za-z]:[\\/]*) \ | |
19359 | srcdiroption="--srcdir=$(srcdir)/hello"; \ | |
19360 | libsrcdir="$$s/hello";; \ | |
19361 | *) \ | |
19362 | srcdiroption="--srcdir=../$(srcdir)/hello"; \ | |
19363 | libsrcdir="$$s/hello";; \ | |
19364 | esac; \ | |
19365 | $(SHELL) $${libsrcdir}/configure \ | |
19366 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19367 | || exit 1 | |
19368 | ||
930314a4 NN |
19369 | .PHONY: all-hello maybe-all-hello |
19370 | maybe-all-hello: | |
db1ac78d | 19371 | all-hello: configure-hello |
b40e3958 L |
19372 | @r=`${PWD_COMMAND}`; export r; \ |
19373 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19374 | $(SET_LIB_PATH) \ |
19375 | (cd hello && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19376 | |
16ae0395 NN |
19377 | .PHONY: check-hello maybe-check-hello |
19378 | maybe-check-hello: | |
3866be5d | 19379 | |
3866be5d | 19380 | check-hello: |
b40e3958 L |
19381 | @r=`${PWD_COMMAND}`; export r; \ |
19382 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19383 | $(SET_LIB_PATH) \ |
19384 | (cd hello && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19385 | |
19386 | ||
930314a4 NN |
19387 | .PHONY: install-hello maybe-install-hello |
19388 | maybe-install-hello: | |
16ae0395 | 19389 | |
3866be5d | 19390 | install-hello: installdirs |
b40e3958 L |
19391 | @r=`${PWD_COMMAND}`; export r; \ |
19392 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19393 | $(SET_LIB_PATH) \ |
19394 | (cd hello && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19395 | |
19396 | ||
e2b9e2dc NN |
19397 | .PHONY: configure-indent maybe-configure-indent |
19398 | maybe-configure-indent: | |
e6bfb94a AO |
19399 | configure-indent: |
19400 | @test ! -f indent/Makefile || exit 0; \ | |
19401 | [ -d indent ] || mkdir indent; \ | |
b40e3958 L |
19402 | r=`${PWD_COMMAND}`; export r; \ |
19403 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
19404 | CC="$(CC)"; export CC; \ |
19405 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19406 | CXX="$(CXX)"; export CXX; \ | |
19407 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19408 | AR="$(AR)"; export AR; \ |
19409 | AS="$(AS)"; export AS; \ | |
19410 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19411 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19412 | LD="$(LD)"; export LD; \ | |
19413 | NM="$(NM)"; export NM; \ | |
19414 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19415 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19416 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19417 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19418 | echo Configuring in indent; \ |
19419 | cd indent || exit 1; \ | |
19420 | case $(srcdir) in \ | |
19421 | \.) \ | |
19422 | srcdiroption="--srcdir=."; \ | |
19423 | libsrcdir=".";; \ | |
19424 | /* | [A-Za-z]:[\\/]*) \ | |
19425 | srcdiroption="--srcdir=$(srcdir)/indent"; \ | |
19426 | libsrcdir="$$s/indent";; \ | |
19427 | *) \ | |
19428 | srcdiroption="--srcdir=../$(srcdir)/indent"; \ | |
19429 | libsrcdir="$$s/indent";; \ | |
19430 | esac; \ | |
19431 | $(SHELL) $${libsrcdir}/configure \ | |
19432 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19433 | || exit 1 | |
19434 | ||
930314a4 NN |
19435 | .PHONY: all-indent maybe-all-indent |
19436 | maybe-all-indent: | |
db1ac78d | 19437 | all-indent: configure-indent |
b40e3958 L |
19438 | @r=`${PWD_COMMAND}`; export r; \ |
19439 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19440 | $(SET_LIB_PATH) \ |
19441 | (cd indent && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19442 | |
16ae0395 NN |
19443 | .PHONY: check-indent maybe-check-indent |
19444 | maybe-check-indent: | |
3866be5d | 19445 | |
3866be5d | 19446 | check-indent: |
b40e3958 L |
19447 | @r=`${PWD_COMMAND}`; export r; \ |
19448 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19449 | $(SET_LIB_PATH) \ |
19450 | (cd indent && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19451 | |
19452 | ||
930314a4 NN |
19453 | .PHONY: install-indent maybe-install-indent |
19454 | maybe-install-indent: | |
16ae0395 | 19455 | |
3866be5d | 19456 | install-indent: installdirs |
b40e3958 L |
19457 | @r=`${PWD_COMMAND}`; export r; \ |
19458 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19459 | $(SET_LIB_PATH) \ |
19460 | (cd indent && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19461 | |
19462 | ||
e2b9e2dc NN |
19463 | .PHONY: configure-intl maybe-configure-intl |
19464 | maybe-configure-intl: | |
e6bfb94a AO |
19465 | configure-intl: |
19466 | @test ! -f intl/Makefile || exit 0; \ | |
19467 | [ -d intl ] || mkdir intl; \ | |
b40e3958 L |
19468 | r=`${PWD_COMMAND}`; export r; \ |
19469 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
19470 | CC="$(CC)"; export CC; \ |
19471 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19472 | CXX="$(CXX)"; export CXX; \ | |
19473 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19474 | AR="$(AR)"; export AR; \ |
19475 | AS="$(AS)"; export AS; \ | |
19476 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19477 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19478 | LD="$(LD)"; export LD; \ | |
19479 | NM="$(NM)"; export NM; \ | |
19480 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19481 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19482 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19483 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19484 | echo Configuring in intl; \ |
19485 | cd intl || exit 1; \ | |
19486 | case $(srcdir) in \ | |
19487 | \.) \ | |
19488 | srcdiroption="--srcdir=."; \ | |
19489 | libsrcdir=".";; \ | |
19490 | /* | [A-Za-z]:[\\/]*) \ | |
19491 | srcdiroption="--srcdir=$(srcdir)/intl"; \ | |
19492 | libsrcdir="$$s/intl";; \ | |
19493 | *) \ | |
19494 | srcdiroption="--srcdir=../$(srcdir)/intl"; \ | |
19495 | libsrcdir="$$s/intl";; \ | |
19496 | esac; \ | |
19497 | $(SHELL) $${libsrcdir}/configure \ | |
19498 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19499 | || exit 1 | |
19500 | ||
930314a4 NN |
19501 | .PHONY: all-intl maybe-all-intl |
19502 | maybe-all-intl: | |
db1ac78d | 19503 | all-intl: configure-intl |
b40e3958 L |
19504 | @r=`${PWD_COMMAND}`; export r; \ |
19505 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19506 | $(SET_LIB_PATH) \ |
19507 | (cd intl && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19508 | |
16ae0395 NN |
19509 | .PHONY: check-intl maybe-check-intl |
19510 | maybe-check-intl: | |
3866be5d | 19511 | |
3866be5d | 19512 | check-intl: |
b40e3958 L |
19513 | @r=`${PWD_COMMAND}`; export r; \ |
19514 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19515 | $(SET_LIB_PATH) \ |
19516 | (cd intl && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19517 | |
19518 | ||
930314a4 NN |
19519 | .PHONY: install-intl maybe-install-intl |
19520 | maybe-install-intl: | |
16ae0395 | 19521 | |
3866be5d | 19522 | install-intl: installdirs |
b40e3958 L |
19523 | @r=`${PWD_COMMAND}`; export r; \ |
19524 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19525 | $(SET_LIB_PATH) \ |
19526 | (cd intl && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19527 | |
19528 | ||
e2b9e2dc NN |
19529 | .PHONY: configure-tcl maybe-configure-tcl |
19530 | maybe-configure-tcl: | |
e6bfb94a AO |
19531 | configure-tcl: |
19532 | @test ! -f tcl/Makefile || exit 0; \ | |
19533 | [ -d tcl ] || mkdir tcl; \ | |
b40e3958 L |
19534 | r=`${PWD_COMMAND}`; export r; \ |
19535 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
19536 | CC="$(CC)"; export CC; \ |
19537 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19538 | CXX="$(CXX)"; export CXX; \ | |
19539 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19540 | AR="$(AR)"; export AR; \ |
19541 | AS="$(AS)"; export AS; \ | |
19542 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19543 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19544 | LD="$(LD)"; export LD; \ | |
19545 | NM="$(NM)"; export NM; \ | |
19546 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19547 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19548 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19549 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19550 | echo Configuring in tcl; \ |
19551 | cd tcl || exit 1; \ | |
19552 | case $(srcdir) in \ | |
19553 | \.) \ | |
19554 | srcdiroption="--srcdir=."; \ | |
19555 | libsrcdir=".";; \ | |
19556 | /* | [A-Za-z]:[\\/]*) \ | |
19557 | srcdiroption="--srcdir=$(srcdir)/tcl"; \ | |
19558 | libsrcdir="$$s/tcl";; \ | |
19559 | *) \ | |
19560 | srcdiroption="--srcdir=../$(srcdir)/tcl"; \ | |
19561 | libsrcdir="$$s/tcl";; \ | |
19562 | esac; \ | |
19563 | $(SHELL) $${libsrcdir}/configure \ | |
19564 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19565 | || exit 1 | |
19566 | ||
930314a4 NN |
19567 | .PHONY: all-tcl maybe-all-tcl |
19568 | maybe-all-tcl: | |
db1ac78d | 19569 | all-tcl: configure-tcl |
b40e3958 L |
19570 | @r=`${PWD_COMMAND}`; export r; \ |
19571 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19572 | $(SET_LIB_PATH) \ |
19573 | (cd tcl && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19574 | |
16ae0395 NN |
19575 | .PHONY: check-tcl maybe-check-tcl |
19576 | maybe-check-tcl: | |
3866be5d | 19577 | |
3866be5d | 19578 | check-tcl: |
b40e3958 L |
19579 | @r=`${PWD_COMMAND}`; export r; \ |
19580 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19581 | $(SET_LIB_PATH) \ |
19582 | (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19583 | |
19584 | ||
930314a4 NN |
19585 | .PHONY: install-tcl maybe-install-tcl |
19586 | maybe-install-tcl: | |
16ae0395 | 19587 | |
3866be5d | 19588 | install-tcl: installdirs |
b40e3958 L |
19589 | @r=`${PWD_COMMAND}`; export r; \ |
19590 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19591 | $(SET_LIB_PATH) \ |
19592 | (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19593 | |
19594 | ||
e2b9e2dc NN |
19595 | .PHONY: configure-itcl maybe-configure-itcl |
19596 | maybe-configure-itcl: | |
e6bfb94a AO |
19597 | configure-itcl: |
19598 | @test ! -f itcl/Makefile || exit 0; \ | |
19599 | [ -d itcl ] || mkdir itcl; \ | |
b40e3958 L |
19600 | r=`${PWD_COMMAND}`; export r; \ |
19601 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
19602 | CC="$(CC)"; export CC; \ |
19603 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19604 | CXX="$(CXX)"; export CXX; \ | |
19605 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19606 | AR="$(AR)"; export AR; \ |
19607 | AS="$(AS)"; export AS; \ | |
19608 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19609 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19610 | LD="$(LD)"; export LD; \ | |
19611 | NM="$(NM)"; export NM; \ | |
19612 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19613 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19614 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19615 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19616 | echo Configuring in itcl; \ |
19617 | cd itcl || exit 1; \ | |
19618 | case $(srcdir) in \ | |
19619 | \.) \ | |
19620 | srcdiroption="--srcdir=."; \ | |
19621 | libsrcdir=".";; \ | |
19622 | /* | [A-Za-z]:[\\/]*) \ | |
19623 | srcdiroption="--srcdir=$(srcdir)/itcl"; \ | |
19624 | libsrcdir="$$s/itcl";; \ | |
19625 | *) \ | |
19626 | srcdiroption="--srcdir=../$(srcdir)/itcl"; \ | |
19627 | libsrcdir="$$s/itcl";; \ | |
19628 | esac; \ | |
19629 | $(SHELL) $${libsrcdir}/configure \ | |
19630 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19631 | || exit 1 | |
19632 | ||
930314a4 NN |
19633 | .PHONY: all-itcl maybe-all-itcl |
19634 | maybe-all-itcl: | |
db1ac78d | 19635 | all-itcl: configure-itcl |
b40e3958 L |
19636 | @r=`${PWD_COMMAND}`; export r; \ |
19637 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19638 | $(SET_LIB_PATH) \ |
19639 | (cd itcl && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19640 | |
16ae0395 NN |
19641 | .PHONY: check-itcl maybe-check-itcl |
19642 | maybe-check-itcl: | |
3866be5d | 19643 | |
3866be5d | 19644 | check-itcl: |
b40e3958 L |
19645 | @r=`${PWD_COMMAND}`; export r; \ |
19646 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19647 | $(SET_LIB_PATH) \ |
19648 | (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19649 | |
19650 | ||
930314a4 NN |
19651 | .PHONY: install-itcl maybe-install-itcl |
19652 | maybe-install-itcl: | |
16ae0395 | 19653 | |
3866be5d | 19654 | install-itcl: installdirs |
b40e3958 L |
19655 | @r=`${PWD_COMMAND}`; export r; \ |
19656 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19657 | $(SET_LIB_PATH) \ |
19658 | (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19659 | |
19660 | ||
e2b9e2dc NN |
19661 | .PHONY: configure-ld maybe-configure-ld |
19662 | maybe-configure-ld: | |
e6bfb94a AO |
19663 | configure-ld: |
19664 | @test ! -f ld/Makefile || exit 0; \ | |
19665 | [ -d ld ] || mkdir ld; \ | |
b40e3958 L |
19666 | r=`${PWD_COMMAND}`; export r; \ |
19667 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
19668 | CC="$(CC)"; export CC; \ |
19669 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19670 | CXX="$(CXX)"; export CXX; \ | |
19671 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19672 | AR="$(AR)"; export AR; \ |
19673 | AS="$(AS)"; export AS; \ | |
19674 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19675 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19676 | LD="$(LD)"; export LD; \ | |
19677 | NM="$(NM)"; export NM; \ | |
19678 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19679 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19680 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19681 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19682 | echo Configuring in ld; \ |
19683 | cd ld || exit 1; \ | |
19684 | case $(srcdir) in \ | |
19685 | \.) \ | |
19686 | srcdiroption="--srcdir=."; \ | |
19687 | libsrcdir=".";; \ | |
19688 | /* | [A-Za-z]:[\\/]*) \ | |
19689 | srcdiroption="--srcdir=$(srcdir)/ld"; \ | |
19690 | libsrcdir="$$s/ld";; \ | |
19691 | *) \ | |
19692 | srcdiroption="--srcdir=../$(srcdir)/ld"; \ | |
19693 | libsrcdir="$$s/ld";; \ | |
19694 | esac; \ | |
19695 | $(SHELL) $${libsrcdir}/configure \ | |
19696 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19697 | || exit 1 | |
19698 | ||
930314a4 NN |
19699 | .PHONY: all-ld maybe-all-ld |
19700 | maybe-all-ld: | |
db1ac78d | 19701 | all-ld: configure-ld |
b40e3958 L |
19702 | @r=`${PWD_COMMAND}`; export r; \ |
19703 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19704 | $(SET_LIB_PATH) \ |
19705 | (cd ld && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19706 | |
16ae0395 NN |
19707 | .PHONY: check-ld maybe-check-ld |
19708 | maybe-check-ld: | |
3866be5d | 19709 | |
3866be5d | 19710 | check-ld: |
b40e3958 L |
19711 | @r=`${PWD_COMMAND}`; export r; \ |
19712 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19713 | $(SET_LIB_PATH) \ |
19714 | (cd ld && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19715 | |
19716 | ||
930314a4 NN |
19717 | .PHONY: install-ld maybe-install-ld |
19718 | maybe-install-ld: | |
16ae0395 | 19719 | |
3866be5d | 19720 | install-ld: installdirs |
b40e3958 L |
19721 | @r=`${PWD_COMMAND}`; export r; \ |
19722 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19723 | $(SET_LIB_PATH) \ |
19724 | (cd ld && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19725 | |
19726 | ||
e2b9e2dc NN |
19727 | .PHONY: configure-libgui maybe-configure-libgui |
19728 | maybe-configure-libgui: | |
e6bfb94a AO |
19729 | configure-libgui: |
19730 | @test ! -f libgui/Makefile || exit 0; \ | |
19731 | [ -d libgui ] || mkdir libgui; \ | |
b40e3958 L |
19732 | r=`${PWD_COMMAND}`; export r; \ |
19733 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
19734 | CC="$(CC)"; export CC; \ |
19735 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19736 | CXX="$(CXX)"; export CXX; \ | |
19737 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19738 | AR="$(AR)"; export AR; \ |
19739 | AS="$(AS)"; export AS; \ | |
19740 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19741 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19742 | LD="$(LD)"; export LD; \ | |
19743 | NM="$(NM)"; export NM; \ | |
19744 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19745 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19746 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19747 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19748 | echo Configuring in libgui; \ |
19749 | cd libgui || exit 1; \ | |
19750 | case $(srcdir) in \ | |
19751 | \.) \ | |
19752 | srcdiroption="--srcdir=."; \ | |
19753 | libsrcdir=".";; \ | |
19754 | /* | [A-Za-z]:[\\/]*) \ | |
19755 | srcdiroption="--srcdir=$(srcdir)/libgui"; \ | |
19756 | libsrcdir="$$s/libgui";; \ | |
19757 | *) \ | |
19758 | srcdiroption="--srcdir=../$(srcdir)/libgui"; \ | |
19759 | libsrcdir="$$s/libgui";; \ | |
19760 | esac; \ | |
19761 | $(SHELL) $${libsrcdir}/configure \ | |
19762 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19763 | || exit 1 | |
19764 | ||
930314a4 NN |
19765 | .PHONY: all-libgui maybe-all-libgui |
19766 | maybe-all-libgui: | |
db1ac78d | 19767 | all-libgui: configure-libgui |
b40e3958 L |
19768 | @r=`${PWD_COMMAND}`; export r; \ |
19769 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19770 | $(SET_LIB_PATH) \ |
19771 | (cd libgui && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19772 | |
16ae0395 NN |
19773 | .PHONY: check-libgui maybe-check-libgui |
19774 | maybe-check-libgui: | |
3866be5d | 19775 | |
3866be5d | 19776 | check-libgui: |
b40e3958 L |
19777 | @r=`${PWD_COMMAND}`; export r; \ |
19778 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19779 | $(SET_LIB_PATH) \ |
19780 | (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19781 | |
19782 | ||
930314a4 NN |
19783 | .PHONY: install-libgui maybe-install-libgui |
19784 | maybe-install-libgui: | |
16ae0395 | 19785 | |
3866be5d | 19786 | install-libgui: installdirs |
b40e3958 L |
19787 | @r=`${PWD_COMMAND}`; export r; \ |
19788 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19789 | $(SET_LIB_PATH) \ |
19790 | (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19791 | |
19792 | ||
e2b9e2dc NN |
19793 | .PHONY: configure-libiberty maybe-configure-libiberty |
19794 | maybe-configure-libiberty: | |
e6bfb94a AO |
19795 | configure-libiberty: |
19796 | @test ! -f libiberty/Makefile || exit 0; \ | |
19797 | [ -d libiberty ] || mkdir libiberty; \ | |
b40e3958 L |
19798 | r=`${PWD_COMMAND}`; export r; \ |
19799 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
19800 | CC="$(CC)"; export CC; \ |
19801 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19802 | CXX="$(CXX)"; export CXX; \ | |
19803 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19804 | AR="$(AR)"; export AR; \ |
19805 | AS="$(AS)"; export AS; \ | |
19806 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19807 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19808 | LD="$(LD)"; export LD; \ | |
19809 | NM="$(NM)"; export NM; \ | |
19810 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19811 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19812 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19813 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19814 | echo Configuring in libiberty; \ |
19815 | cd libiberty || exit 1; \ | |
19816 | case $(srcdir) in \ | |
19817 | \.) \ | |
19818 | srcdiroption="--srcdir=."; \ | |
19819 | libsrcdir=".";; \ | |
19820 | /* | [A-Za-z]:[\\/]*) \ | |
19821 | srcdiroption="--srcdir=$(srcdir)/libiberty"; \ | |
19822 | libsrcdir="$$s/libiberty";; \ | |
19823 | *) \ | |
19824 | srcdiroption="--srcdir=../$(srcdir)/libiberty"; \ | |
19825 | libsrcdir="$$s/libiberty";; \ | |
19826 | esac; \ | |
19827 | $(SHELL) $${libsrcdir}/configure \ | |
19828 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19829 | || exit 1 | |
19830 | ||
930314a4 NN |
19831 | .PHONY: all-libiberty maybe-all-libiberty |
19832 | maybe-all-libiberty: | |
db1ac78d | 19833 | all-libiberty: configure-libiberty |
b40e3958 L |
19834 | @r=`${PWD_COMMAND}`; export r; \ |
19835 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19836 | $(SET_LIB_PATH) \ |
19837 | (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19838 | |
16ae0395 NN |
19839 | .PHONY: check-libiberty maybe-check-libiberty |
19840 | maybe-check-libiberty: | |
3866be5d | 19841 | |
3866be5d | 19842 | check-libiberty: |
b40e3958 L |
19843 | @r=`${PWD_COMMAND}`; export r; \ |
19844 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19845 | $(SET_LIB_PATH) \ |
19846 | (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19847 | |
19848 | ||
930314a4 NN |
19849 | .PHONY: install-libiberty maybe-install-libiberty |
19850 | maybe-install-libiberty: | |
16ae0395 | 19851 | |
3866be5d | 19852 | install-libiberty: installdirs |
b40e3958 L |
19853 | @r=`${PWD_COMMAND}`; export r; \ |
19854 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19855 | $(SET_LIB_PATH) \ |
19856 | (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19857 | |
19858 | ||
e2b9e2dc NN |
19859 | .PHONY: configure-libtool maybe-configure-libtool |
19860 | maybe-configure-libtool: | |
e6bfb94a AO |
19861 | configure-libtool: |
19862 | @test ! -f libtool/Makefile || exit 0; \ | |
19863 | [ -d libtool ] || mkdir libtool; \ | |
b40e3958 L |
19864 | r=`${PWD_COMMAND}`; export r; \ |
19865 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
19866 | CC="$(CC)"; export CC; \ |
19867 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19868 | CXX="$(CXX)"; export CXX; \ | |
19869 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19870 | AR="$(AR)"; export AR; \ |
19871 | AS="$(AS)"; export AS; \ | |
19872 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19873 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19874 | LD="$(LD)"; export LD; \ | |
19875 | NM="$(NM)"; export NM; \ | |
19876 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19877 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19878 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19879 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19880 | echo Configuring in libtool; \ |
19881 | cd libtool || exit 1; \ | |
19882 | case $(srcdir) in \ | |
19883 | \.) \ | |
19884 | srcdiroption="--srcdir=."; \ | |
19885 | libsrcdir=".";; \ | |
19886 | /* | [A-Za-z]:[\\/]*) \ | |
19887 | srcdiroption="--srcdir=$(srcdir)/libtool"; \ | |
19888 | libsrcdir="$$s/libtool";; \ | |
19889 | *) \ | |
19890 | srcdiroption="--srcdir=../$(srcdir)/libtool"; \ | |
19891 | libsrcdir="$$s/libtool";; \ | |
19892 | esac; \ | |
19893 | $(SHELL) $${libsrcdir}/configure \ | |
19894 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19895 | || exit 1 | |
19896 | ||
930314a4 NN |
19897 | .PHONY: all-libtool maybe-all-libtool |
19898 | maybe-all-libtool: | |
db1ac78d | 19899 | all-libtool: configure-libtool |
b40e3958 L |
19900 | @r=`${PWD_COMMAND}`; export r; \ |
19901 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19902 | $(SET_LIB_PATH) \ |
19903 | (cd libtool && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19904 | |
16ae0395 NN |
19905 | .PHONY: check-libtool maybe-check-libtool |
19906 | maybe-check-libtool: | |
3866be5d | 19907 | |
3866be5d | 19908 | check-libtool: |
b40e3958 L |
19909 | @r=`${PWD_COMMAND}`; export r; \ |
19910 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19911 | $(SET_LIB_PATH) \ |
19912 | (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19913 | |
19914 | ||
930314a4 NN |
19915 | .PHONY: install-libtool maybe-install-libtool |
19916 | maybe-install-libtool: | |
16ae0395 | 19917 | |
3866be5d | 19918 | install-libtool: installdirs |
b40e3958 L |
19919 | @r=`${PWD_COMMAND}`; export r; \ |
19920 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19921 | $(SET_LIB_PATH) \ |
19922 | (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19923 | |
19924 | ||
e2b9e2dc NN |
19925 | .PHONY: configure-m4 maybe-configure-m4 |
19926 | maybe-configure-m4: | |
e6bfb94a AO |
19927 | configure-m4: |
19928 | @test ! -f m4/Makefile || exit 0; \ | |
19929 | [ -d m4 ] || mkdir m4; \ | |
b40e3958 L |
19930 | r=`${PWD_COMMAND}`; export r; \ |
19931 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
19932 | CC="$(CC)"; export CC; \ |
19933 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19934 | CXX="$(CXX)"; export CXX; \ | |
19935 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19936 | AR="$(AR)"; export AR; \ |
19937 | AS="$(AS)"; export AS; \ | |
19938 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19939 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19940 | LD="$(LD)"; export LD; \ | |
19941 | NM="$(NM)"; export NM; \ | |
19942 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19943 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19944 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19945 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19946 | echo Configuring in m4; \ |
19947 | cd m4 || exit 1; \ | |
19948 | case $(srcdir) in \ | |
19949 | \.) \ | |
19950 | srcdiroption="--srcdir=."; \ | |
19951 | libsrcdir=".";; \ | |
19952 | /* | [A-Za-z]:[\\/]*) \ | |
19953 | srcdiroption="--srcdir=$(srcdir)/m4"; \ | |
19954 | libsrcdir="$$s/m4";; \ | |
19955 | *) \ | |
19956 | srcdiroption="--srcdir=../$(srcdir)/m4"; \ | |
19957 | libsrcdir="$$s/m4";; \ | |
19958 | esac; \ | |
19959 | $(SHELL) $${libsrcdir}/configure \ | |
19960 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19961 | || exit 1 | |
19962 | ||
930314a4 NN |
19963 | .PHONY: all-m4 maybe-all-m4 |
19964 | maybe-all-m4: | |
db1ac78d | 19965 | all-m4: configure-m4 |
b40e3958 L |
19966 | @r=`${PWD_COMMAND}`; export r; \ |
19967 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19968 | $(SET_LIB_PATH) \ |
19969 | (cd m4 && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19970 | |
16ae0395 NN |
19971 | .PHONY: check-m4 maybe-check-m4 |
19972 | maybe-check-m4: | |
3866be5d | 19973 | |
3866be5d | 19974 | check-m4: |
b40e3958 L |
19975 | @r=`${PWD_COMMAND}`; export r; \ |
19976 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19977 | $(SET_LIB_PATH) \ |
19978 | (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19979 | |
19980 | ||
930314a4 NN |
19981 | .PHONY: install-m4 maybe-install-m4 |
19982 | maybe-install-m4: | |
16ae0395 | 19983 | |
3866be5d | 19984 | install-m4: installdirs |
b40e3958 L |
19985 | @r=`${PWD_COMMAND}`; export r; \ |
19986 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19987 | $(SET_LIB_PATH) \ |
19988 | (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19989 | |
19990 | ||
e2b9e2dc NN |
19991 | .PHONY: configure-make maybe-configure-make |
19992 | maybe-configure-make: | |
e6bfb94a AO |
19993 | configure-make: |
19994 | @test ! -f make/Makefile || exit 0; \ | |
19995 | [ -d make ] || mkdir make; \ | |
b40e3958 L |
19996 | r=`${PWD_COMMAND}`; export r; \ |
19997 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
19998 | CC="$(CC)"; export CC; \ |
19999 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20000 | CXX="$(CXX)"; export CXX; \ | |
20001 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20002 | AR="$(AR)"; export AR; \ |
20003 | AS="$(AS)"; export AS; \ | |
20004 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20005 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20006 | LD="$(LD)"; export LD; \ | |
20007 | NM="$(NM)"; export NM; \ | |
20008 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20009 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20010 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20011 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20012 | echo Configuring in make; \ |
20013 | cd make || exit 1; \ | |
20014 | case $(srcdir) in \ | |
20015 | \.) \ | |
20016 | srcdiroption="--srcdir=."; \ | |
20017 | libsrcdir=".";; \ | |
20018 | /* | [A-Za-z]:[\\/]*) \ | |
20019 | srcdiroption="--srcdir=$(srcdir)/make"; \ | |
20020 | libsrcdir="$$s/make";; \ | |
20021 | *) \ | |
20022 | srcdiroption="--srcdir=../$(srcdir)/make"; \ | |
20023 | libsrcdir="$$s/make";; \ | |
20024 | esac; \ | |
20025 | $(SHELL) $${libsrcdir}/configure \ | |
20026 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20027 | || exit 1 | |
20028 | ||
930314a4 NN |
20029 | .PHONY: all-make maybe-all-make |
20030 | maybe-all-make: | |
db1ac78d | 20031 | all-make: configure-make |
b40e3958 L |
20032 | @r=`${PWD_COMMAND}`; export r; \ |
20033 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20034 | $(SET_LIB_PATH) \ |
20035 | (cd make && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20036 | |
16ae0395 NN |
20037 | .PHONY: check-make maybe-check-make |
20038 | maybe-check-make: | |
3866be5d | 20039 | |
3866be5d | 20040 | check-make: |
b40e3958 L |
20041 | @r=`${PWD_COMMAND}`; export r; \ |
20042 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20043 | $(SET_LIB_PATH) \ |
20044 | (cd make && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20045 | |
20046 | ||
930314a4 NN |
20047 | .PHONY: install-make maybe-install-make |
20048 | maybe-install-make: | |
16ae0395 | 20049 | |
3866be5d | 20050 | install-make: installdirs |
b40e3958 L |
20051 | @r=`${PWD_COMMAND}`; export r; \ |
20052 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20053 | $(SET_LIB_PATH) \ |
20054 | (cd make && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20055 | |
20056 | ||
e2b9e2dc NN |
20057 | .PHONY: configure-mmalloc maybe-configure-mmalloc |
20058 | maybe-configure-mmalloc: | |
e6bfb94a AO |
20059 | configure-mmalloc: |
20060 | @test ! -f mmalloc/Makefile || exit 0; \ | |
20061 | [ -d mmalloc ] || mkdir mmalloc; \ | |
b40e3958 L |
20062 | r=`${PWD_COMMAND}`; export r; \ |
20063 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
20064 | CC="$(CC)"; export CC; \ |
20065 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20066 | CXX="$(CXX)"; export CXX; \ | |
20067 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20068 | AR="$(AR)"; export AR; \ |
20069 | AS="$(AS)"; export AS; \ | |
20070 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20071 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20072 | LD="$(LD)"; export LD; \ | |
20073 | NM="$(NM)"; export NM; \ | |
20074 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20075 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20076 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20077 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20078 | echo Configuring in mmalloc; \ |
20079 | cd mmalloc || exit 1; \ | |
20080 | case $(srcdir) in \ | |
20081 | \.) \ | |
20082 | srcdiroption="--srcdir=."; \ | |
20083 | libsrcdir=".";; \ | |
20084 | /* | [A-Za-z]:[\\/]*) \ | |
20085 | srcdiroption="--srcdir=$(srcdir)/mmalloc"; \ | |
20086 | libsrcdir="$$s/mmalloc";; \ | |
20087 | *) \ | |
20088 | srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \ | |
20089 | libsrcdir="$$s/mmalloc";; \ | |
20090 | esac; \ | |
20091 | $(SHELL) $${libsrcdir}/configure \ | |
20092 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20093 | || exit 1 | |
20094 | ||
930314a4 NN |
20095 | .PHONY: all-mmalloc maybe-all-mmalloc |
20096 | maybe-all-mmalloc: | |
db1ac78d | 20097 | all-mmalloc: configure-mmalloc |
b40e3958 L |
20098 | @r=`${PWD_COMMAND}`; export r; \ |
20099 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20100 | $(SET_LIB_PATH) \ |
20101 | (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20102 | |
16ae0395 NN |
20103 | .PHONY: check-mmalloc maybe-check-mmalloc |
20104 | maybe-check-mmalloc: | |
3866be5d | 20105 | |
3866be5d NN |
20106 | check-mmalloc: |
20107 | ||
20108 | ||
930314a4 NN |
20109 | .PHONY: install-mmalloc maybe-install-mmalloc |
20110 | maybe-install-mmalloc: | |
16ae0395 | 20111 | |
3866be5d | 20112 | install-mmalloc: installdirs |
b40e3958 L |
20113 | @r=`${PWD_COMMAND}`; export r; \ |
20114 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20115 | $(SET_LIB_PATH) \ |
20116 | (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20117 | |
20118 | ||
e2b9e2dc NN |
20119 | .PHONY: configure-patch maybe-configure-patch |
20120 | maybe-configure-patch: | |
e6bfb94a AO |
20121 | configure-patch: |
20122 | @test ! -f patch/Makefile || exit 0; \ | |
20123 | [ -d patch ] || mkdir patch; \ | |
b40e3958 L |
20124 | r=`${PWD_COMMAND}`; export r; \ |
20125 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
20126 | CC="$(CC)"; export CC; \ |
20127 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20128 | CXX="$(CXX)"; export CXX; \ | |
20129 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20130 | AR="$(AR)"; export AR; \ |
20131 | AS="$(AS)"; export AS; \ | |
20132 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20133 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20134 | LD="$(LD)"; export LD; \ | |
20135 | NM="$(NM)"; export NM; \ | |
20136 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20137 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20138 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20139 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20140 | echo Configuring in patch; \ |
20141 | cd patch || exit 1; \ | |
20142 | case $(srcdir) in \ | |
20143 | \.) \ | |
20144 | srcdiroption="--srcdir=."; \ | |
20145 | libsrcdir=".";; \ | |
20146 | /* | [A-Za-z]:[\\/]*) \ | |
20147 | srcdiroption="--srcdir=$(srcdir)/patch"; \ | |
20148 | libsrcdir="$$s/patch";; \ | |
20149 | *) \ | |
20150 | srcdiroption="--srcdir=../$(srcdir)/patch"; \ | |
20151 | libsrcdir="$$s/patch";; \ | |
20152 | esac; \ | |
20153 | $(SHELL) $${libsrcdir}/configure \ | |
20154 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20155 | || exit 1 | |
20156 | ||
930314a4 NN |
20157 | .PHONY: all-patch maybe-all-patch |
20158 | maybe-all-patch: | |
db1ac78d | 20159 | all-patch: configure-patch |
b40e3958 L |
20160 | @r=`${PWD_COMMAND}`; export r; \ |
20161 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20162 | $(SET_LIB_PATH) \ |
20163 | (cd patch && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20164 | |
16ae0395 NN |
20165 | .PHONY: check-patch maybe-check-patch |
20166 | maybe-check-patch: | |
3866be5d | 20167 | |
3866be5d | 20168 | check-patch: |
b40e3958 L |
20169 | @r=`${PWD_COMMAND}`; export r; \ |
20170 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20171 | $(SET_LIB_PATH) \ |
20172 | (cd patch && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20173 | |
20174 | ||
930314a4 NN |
20175 | .PHONY: install-patch maybe-install-patch |
20176 | maybe-install-patch: | |
16ae0395 | 20177 | |
3866be5d | 20178 | install-patch: installdirs |
b40e3958 L |
20179 | @r=`${PWD_COMMAND}`; export r; \ |
20180 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20181 | $(SET_LIB_PATH) \ |
20182 | (cd patch && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20183 | |
20184 | ||
e2b9e2dc NN |
20185 | .PHONY: configure-perl maybe-configure-perl |
20186 | maybe-configure-perl: | |
e6bfb94a AO |
20187 | configure-perl: |
20188 | @test ! -f perl/Makefile || exit 0; \ | |
20189 | [ -d perl ] || mkdir perl; \ | |
b40e3958 L |
20190 | r=`${PWD_COMMAND}`; export r; \ |
20191 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
20192 | CC="$(CC)"; export CC; \ |
20193 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20194 | CXX="$(CXX)"; export CXX; \ | |
20195 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20196 | AR="$(AR)"; export AR; \ |
20197 | AS="$(AS)"; export AS; \ | |
20198 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20199 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20200 | LD="$(LD)"; export LD; \ | |
20201 | NM="$(NM)"; export NM; \ | |
20202 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20203 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20204 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20205 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20206 | echo Configuring in perl; \ |
20207 | cd perl || exit 1; \ | |
20208 | case $(srcdir) in \ | |
20209 | \.) \ | |
20210 | srcdiroption="--srcdir=."; \ | |
20211 | libsrcdir=".";; \ | |
20212 | /* | [A-Za-z]:[\\/]*) \ | |
20213 | srcdiroption="--srcdir=$(srcdir)/perl"; \ | |
20214 | libsrcdir="$$s/perl";; \ | |
20215 | *) \ | |
20216 | srcdiroption="--srcdir=../$(srcdir)/perl"; \ | |
20217 | libsrcdir="$$s/perl";; \ | |
20218 | esac; \ | |
20219 | $(SHELL) $${libsrcdir}/configure \ | |
20220 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20221 | || exit 1 | |
20222 | ||
930314a4 NN |
20223 | .PHONY: all-perl maybe-all-perl |
20224 | maybe-all-perl: | |
db1ac78d | 20225 | all-perl: configure-perl |
b40e3958 L |
20226 | @r=`${PWD_COMMAND}`; export r; \ |
20227 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20228 | $(SET_LIB_PATH) \ |
20229 | (cd perl && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20230 | |
16ae0395 NN |
20231 | .PHONY: check-perl maybe-check-perl |
20232 | maybe-check-perl: | |
3866be5d | 20233 | |
3866be5d | 20234 | check-perl: |
b40e3958 L |
20235 | @r=`${PWD_COMMAND}`; export r; \ |
20236 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20237 | $(SET_LIB_PATH) \ |
20238 | (cd perl && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20239 | |
20240 | ||
930314a4 NN |
20241 | .PHONY: install-perl maybe-install-perl |
20242 | maybe-install-perl: | |
16ae0395 | 20243 | |
3866be5d | 20244 | install-perl: installdirs |
b40e3958 L |
20245 | @r=`${PWD_COMMAND}`; export r; \ |
20246 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20247 | $(SET_LIB_PATH) \ |
20248 | (cd perl && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20249 | |
20250 | ||
e2b9e2dc NN |
20251 | .PHONY: configure-prms maybe-configure-prms |
20252 | maybe-configure-prms: | |
e6bfb94a AO |
20253 | configure-prms: |
20254 | @test ! -f prms/Makefile || exit 0; \ | |
20255 | [ -d prms ] || mkdir prms; \ | |
b40e3958 L |
20256 | r=`${PWD_COMMAND}`; export r; \ |
20257 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
20258 | CC="$(CC)"; export CC; \ |
20259 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20260 | CXX="$(CXX)"; export CXX; \ | |
20261 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20262 | AR="$(AR)"; export AR; \ |
20263 | AS="$(AS)"; export AS; \ | |
20264 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20265 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20266 | LD="$(LD)"; export LD; \ | |
20267 | NM="$(NM)"; export NM; \ | |
20268 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20269 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20270 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20271 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20272 | echo Configuring in prms; \ |
20273 | cd prms || exit 1; \ | |
20274 | case $(srcdir) in \ | |
20275 | \.) \ | |
20276 | srcdiroption="--srcdir=."; \ | |
20277 | libsrcdir=".";; \ | |
20278 | /* | [A-Za-z]:[\\/]*) \ | |
20279 | srcdiroption="--srcdir=$(srcdir)/prms"; \ | |
20280 | libsrcdir="$$s/prms";; \ | |
20281 | *) \ | |
20282 | srcdiroption="--srcdir=../$(srcdir)/prms"; \ | |
20283 | libsrcdir="$$s/prms";; \ | |
20284 | esac; \ | |
20285 | $(SHELL) $${libsrcdir}/configure \ | |
20286 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20287 | || exit 1 | |
20288 | ||
930314a4 NN |
20289 | .PHONY: all-prms maybe-all-prms |
20290 | maybe-all-prms: | |
db1ac78d | 20291 | all-prms: configure-prms |
b40e3958 L |
20292 | @r=`${PWD_COMMAND}`; export r; \ |
20293 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20294 | $(SET_LIB_PATH) \ |
20295 | (cd prms && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20296 | |
16ae0395 NN |
20297 | .PHONY: check-prms maybe-check-prms |
20298 | maybe-check-prms: | |
3866be5d | 20299 | |
3866be5d | 20300 | check-prms: |
b40e3958 L |
20301 | @r=`${PWD_COMMAND}`; export r; \ |
20302 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20303 | $(SET_LIB_PATH) \ |
20304 | (cd prms && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20305 | |
20306 | ||
930314a4 NN |
20307 | .PHONY: install-prms maybe-install-prms |
20308 | maybe-install-prms: | |
16ae0395 | 20309 | |
3866be5d | 20310 | install-prms: installdirs |
b40e3958 L |
20311 | @r=`${PWD_COMMAND}`; export r; \ |
20312 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20313 | $(SET_LIB_PATH) \ |
20314 | (cd prms && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20315 | |
20316 | ||
e2b9e2dc NN |
20317 | .PHONY: configure-rcs maybe-configure-rcs |
20318 | maybe-configure-rcs: | |
e6bfb94a AO |
20319 | configure-rcs: |
20320 | @test ! -f rcs/Makefile || exit 0; \ | |
20321 | [ -d rcs ] || mkdir rcs; \ | |
b40e3958 L |
20322 | r=`${PWD_COMMAND}`; export r; \ |
20323 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
20324 | CC="$(CC)"; export CC; \ |
20325 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20326 | CXX="$(CXX)"; export CXX; \ | |
20327 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20328 | AR="$(AR)"; export AR; \ |
20329 | AS="$(AS)"; export AS; \ | |
20330 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20331 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20332 | LD="$(LD)"; export LD; \ | |
20333 | NM="$(NM)"; export NM; \ | |
20334 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20335 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20336 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20337 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20338 | echo Configuring in rcs; \ |
20339 | cd rcs || exit 1; \ | |
20340 | case $(srcdir) in \ | |
20341 | \.) \ | |
20342 | srcdiroption="--srcdir=."; \ | |
20343 | libsrcdir=".";; \ | |
20344 | /* | [A-Za-z]:[\\/]*) \ | |
20345 | srcdiroption="--srcdir=$(srcdir)/rcs"; \ | |
20346 | libsrcdir="$$s/rcs";; \ | |
20347 | *) \ | |
20348 | srcdiroption="--srcdir=../$(srcdir)/rcs"; \ | |
20349 | libsrcdir="$$s/rcs";; \ | |
20350 | esac; \ | |
20351 | $(SHELL) $${libsrcdir}/configure \ | |
20352 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20353 | || exit 1 | |
20354 | ||
930314a4 NN |
20355 | .PHONY: all-rcs maybe-all-rcs |
20356 | maybe-all-rcs: | |
db1ac78d | 20357 | all-rcs: configure-rcs |
b40e3958 L |
20358 | @r=`${PWD_COMMAND}`; export r; \ |
20359 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20360 | $(SET_LIB_PATH) \ |
20361 | (cd rcs && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20362 | |
16ae0395 NN |
20363 | .PHONY: check-rcs maybe-check-rcs |
20364 | maybe-check-rcs: | |
3866be5d | 20365 | |
3866be5d | 20366 | check-rcs: |
b40e3958 L |
20367 | @r=`${PWD_COMMAND}`; export r; \ |
20368 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20369 | $(SET_LIB_PATH) \ |
20370 | (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20371 | |
20372 | ||
930314a4 NN |
20373 | .PHONY: install-rcs maybe-install-rcs |
20374 | maybe-install-rcs: | |
16ae0395 | 20375 | |
3866be5d | 20376 | install-rcs: installdirs |
b40e3958 L |
20377 | @r=`${PWD_COMMAND}`; export r; \ |
20378 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20379 | $(SET_LIB_PATH) \ |
20380 | (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20381 | |
20382 | ||
e2b9e2dc NN |
20383 | .PHONY: configure-readline maybe-configure-readline |
20384 | maybe-configure-readline: | |
e6bfb94a AO |
20385 | configure-readline: |
20386 | @test ! -f readline/Makefile || exit 0; \ | |
20387 | [ -d readline ] || mkdir readline; \ | |
b40e3958 L |
20388 | r=`${PWD_COMMAND}`; export r; \ |
20389 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
20390 | CC="$(CC)"; export CC; \ |
20391 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20392 | CXX="$(CXX)"; export CXX; \ | |
20393 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20394 | AR="$(AR)"; export AR; \ |
20395 | AS="$(AS)"; export AS; \ | |
20396 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20397 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20398 | LD="$(LD)"; export LD; \ | |
20399 | NM="$(NM)"; export NM; \ | |
20400 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20401 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20402 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20403 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20404 | echo Configuring in readline; \ |
20405 | cd readline || exit 1; \ | |
20406 | case $(srcdir) in \ | |
20407 | \.) \ | |
20408 | srcdiroption="--srcdir=."; \ | |
20409 | libsrcdir=".";; \ | |
20410 | /* | [A-Za-z]:[\\/]*) \ | |
20411 | srcdiroption="--srcdir=$(srcdir)/readline"; \ | |
20412 | libsrcdir="$$s/readline";; \ | |
20413 | *) \ | |
20414 | srcdiroption="--srcdir=../$(srcdir)/readline"; \ | |
20415 | libsrcdir="$$s/readline";; \ | |
20416 | esac; \ | |
20417 | $(SHELL) $${libsrcdir}/configure \ | |
20418 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20419 | || exit 1 | |
20420 | ||
930314a4 NN |
20421 | .PHONY: all-readline maybe-all-readline |
20422 | maybe-all-readline: | |
db1ac78d | 20423 | all-readline: configure-readline |
b40e3958 L |
20424 | @r=`${PWD_COMMAND}`; export r; \ |
20425 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20426 | $(SET_LIB_PATH) \ |
20427 | (cd readline && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20428 | |
16ae0395 NN |
20429 | .PHONY: check-readline maybe-check-readline |
20430 | maybe-check-readline: | |
3866be5d | 20431 | |
3866be5d | 20432 | check-readline: |
b40e3958 L |
20433 | @r=`${PWD_COMMAND}`; export r; \ |
20434 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20435 | $(SET_LIB_PATH) \ |
20436 | (cd readline && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20437 | |
20438 | ||
930314a4 NN |
20439 | .PHONY: install-readline maybe-install-readline |
20440 | maybe-install-readline: | |
16ae0395 | 20441 | |
3866be5d | 20442 | install-readline: installdirs |
b40e3958 L |
20443 | @r=`${PWD_COMMAND}`; export r; \ |
20444 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20445 | $(SET_LIB_PATH) \ |
20446 | (cd readline && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20447 | |
20448 | ||
e2b9e2dc NN |
20449 | .PHONY: configure-release maybe-configure-release |
20450 | maybe-configure-release: | |
e6bfb94a AO |
20451 | configure-release: |
20452 | @test ! -f release/Makefile || exit 0; \ | |
20453 | [ -d release ] || mkdir release; \ | |
b40e3958 L |
20454 | r=`${PWD_COMMAND}`; export r; \ |
20455 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
20456 | CC="$(CC)"; export CC; \ |
20457 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20458 | CXX="$(CXX)"; export CXX; \ | |
20459 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20460 | AR="$(AR)"; export AR; \ |
20461 | AS="$(AS)"; export AS; \ | |
20462 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20463 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20464 | LD="$(LD)"; export LD; \ | |
20465 | NM="$(NM)"; export NM; \ | |
20466 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20467 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20468 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20469 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20470 | echo Configuring in release; \ |
20471 | cd release || exit 1; \ | |
20472 | case $(srcdir) in \ | |
20473 | \.) \ | |
20474 | srcdiroption="--srcdir=."; \ | |
20475 | libsrcdir=".";; \ | |
20476 | /* | [A-Za-z]:[\\/]*) \ | |
20477 | srcdiroption="--srcdir=$(srcdir)/release"; \ | |
20478 | libsrcdir="$$s/release";; \ | |
20479 | *) \ | |
20480 | srcdiroption="--srcdir=../$(srcdir)/release"; \ | |
20481 | libsrcdir="$$s/release";; \ | |
20482 | esac; \ | |
20483 | $(SHELL) $${libsrcdir}/configure \ | |
20484 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20485 | || exit 1 | |
20486 | ||
930314a4 NN |
20487 | .PHONY: all-release maybe-all-release |
20488 | maybe-all-release: | |
db1ac78d | 20489 | all-release: configure-release |
b40e3958 L |
20490 | @r=`${PWD_COMMAND}`; export r; \ |
20491 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20492 | $(SET_LIB_PATH) \ |
20493 | (cd release && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20494 | |
16ae0395 NN |
20495 | .PHONY: check-release maybe-check-release |
20496 | maybe-check-release: | |
3866be5d | 20497 | |
3866be5d NN |
20498 | check-release: |
20499 | ||
20500 | ||
930314a4 NN |
20501 | .PHONY: install-release maybe-install-release |
20502 | maybe-install-release: | |
16ae0395 | 20503 | |
3866be5d NN |
20504 | install-release: |
20505 | ||
20506 | ||
e2b9e2dc NN |
20507 | .PHONY: configure-recode maybe-configure-recode |
20508 | maybe-configure-recode: | |
e6bfb94a AO |
20509 | configure-recode: |
20510 | @test ! -f recode/Makefile || exit 0; \ | |
20511 | [ -d recode ] || mkdir recode; \ | |
b40e3958 L |
20512 | r=`${PWD_COMMAND}`; export r; \ |
20513 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
20514 | CC="$(CC)"; export CC; \ |
20515 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20516 | CXX="$(CXX)"; export CXX; \ | |
20517 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20518 | AR="$(AR)"; export AR; \ |
20519 | AS="$(AS)"; export AS; \ | |
20520 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20521 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20522 | LD="$(LD)"; export LD; \ | |
20523 | NM="$(NM)"; export NM; \ | |
20524 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20525 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20526 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20527 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20528 | echo Configuring in recode; \ |
20529 | cd recode || exit 1; \ | |
20530 | case $(srcdir) in \ | |
20531 | \.) \ | |
20532 | srcdiroption="--srcdir=."; \ | |
20533 | libsrcdir=".";; \ | |
20534 | /* | [A-Za-z]:[\\/]*) \ | |
20535 | srcdiroption="--srcdir=$(srcdir)/recode"; \ | |
20536 | libsrcdir="$$s/recode";; \ | |
20537 | *) \ | |
20538 | srcdiroption="--srcdir=../$(srcdir)/recode"; \ | |
20539 | libsrcdir="$$s/recode";; \ | |
20540 | esac; \ | |
20541 | $(SHELL) $${libsrcdir}/configure \ | |
20542 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20543 | || exit 1 | |
20544 | ||
930314a4 NN |
20545 | .PHONY: all-recode maybe-all-recode |
20546 | maybe-all-recode: | |
db1ac78d | 20547 | all-recode: configure-recode |
b40e3958 L |
20548 | @r=`${PWD_COMMAND}`; export r; \ |
20549 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20550 | $(SET_LIB_PATH) \ |
20551 | (cd recode && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20552 | |
16ae0395 NN |
20553 | .PHONY: check-recode maybe-check-recode |
20554 | maybe-check-recode: | |
3866be5d | 20555 | |
3866be5d | 20556 | check-recode: |
b40e3958 L |
20557 | @r=`${PWD_COMMAND}`; export r; \ |
20558 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20559 | $(SET_LIB_PATH) \ |
20560 | (cd recode && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20561 | |
20562 | ||
930314a4 NN |
20563 | .PHONY: install-recode maybe-install-recode |
20564 | maybe-install-recode: | |
16ae0395 | 20565 | |
3866be5d | 20566 | install-recode: installdirs |
b40e3958 L |
20567 | @r=`${PWD_COMMAND}`; export r; \ |
20568 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20569 | $(SET_LIB_PATH) \ |
20570 | (cd recode && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20571 | |
20572 | ||
e2b9e2dc NN |
20573 | .PHONY: configure-sed maybe-configure-sed |
20574 | maybe-configure-sed: | |
e6bfb94a AO |
20575 | configure-sed: |
20576 | @test ! -f sed/Makefile || exit 0; \ | |
20577 | [ -d sed ] || mkdir sed; \ | |
b40e3958 L |
20578 | r=`${PWD_COMMAND}`; export r; \ |
20579 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
20580 | CC="$(CC)"; export CC; \ |
20581 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20582 | CXX="$(CXX)"; export CXX; \ | |
20583 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20584 | AR="$(AR)"; export AR; \ |
20585 | AS="$(AS)"; export AS; \ | |
20586 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20587 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20588 | LD="$(LD)"; export LD; \ | |
20589 | NM="$(NM)"; export NM; \ | |
20590 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20591 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20592 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20593 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20594 | echo Configuring in sed; \ |
20595 | cd sed || exit 1; \ | |
20596 | case $(srcdir) in \ | |
20597 | \.) \ | |
20598 | srcdiroption="--srcdir=."; \ | |
20599 | libsrcdir=".";; \ | |
20600 | /* | [A-Za-z]:[\\/]*) \ | |
20601 | srcdiroption="--srcdir=$(srcdir)/sed"; \ | |
20602 | libsrcdir="$$s/sed";; \ | |
20603 | *) \ | |
20604 | srcdiroption="--srcdir=../$(srcdir)/sed"; \ | |
20605 | libsrcdir="$$s/sed";; \ | |
20606 | esac; \ | |
20607 | $(SHELL) $${libsrcdir}/configure \ | |
20608 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20609 | || exit 1 | |
20610 | ||
930314a4 NN |
20611 | .PHONY: all-sed maybe-all-sed |
20612 | maybe-all-sed: | |
db1ac78d | 20613 | all-sed: configure-sed |
b40e3958 L |
20614 | @r=`${PWD_COMMAND}`; export r; \ |
20615 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20616 | $(SET_LIB_PATH) \ |
20617 | (cd sed && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20618 | |
16ae0395 NN |
20619 | .PHONY: check-sed maybe-check-sed |
20620 | maybe-check-sed: | |
3866be5d | 20621 | |
3866be5d | 20622 | check-sed: |
b40e3958 L |
20623 | @r=`${PWD_COMMAND}`; export r; \ |
20624 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20625 | $(SET_LIB_PATH) \ |
20626 | (cd sed && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20627 | |
20628 | ||
930314a4 NN |
20629 | .PHONY: install-sed maybe-install-sed |
20630 | maybe-install-sed: | |
16ae0395 | 20631 | |
3866be5d | 20632 | install-sed: installdirs |
b40e3958 L |
20633 | @r=`${PWD_COMMAND}`; export r; \ |
20634 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20635 | $(SET_LIB_PATH) \ |
20636 | (cd sed && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20637 | |
20638 | ||
e2b9e2dc NN |
20639 | .PHONY: configure-send-pr maybe-configure-send-pr |
20640 | maybe-configure-send-pr: | |
e6bfb94a AO |
20641 | configure-send-pr: |
20642 | @test ! -f send-pr/Makefile || exit 0; \ | |
20643 | [ -d send-pr ] || mkdir send-pr; \ | |
b40e3958 L |
20644 | r=`${PWD_COMMAND}`; export r; \ |
20645 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
20646 | CC="$(CC)"; export CC; \ |
20647 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20648 | CXX="$(CXX)"; export CXX; \ | |
20649 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20650 | AR="$(AR)"; export AR; \ |
20651 | AS="$(AS)"; export AS; \ | |
20652 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20653 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20654 | LD="$(LD)"; export LD; \ | |
20655 | NM="$(NM)"; export NM; \ | |
20656 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20657 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20658 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20659 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20660 | echo Configuring in send-pr; \ |
20661 | cd send-pr || exit 1; \ | |
20662 | case $(srcdir) in \ | |
20663 | \.) \ | |
20664 | srcdiroption="--srcdir=."; \ | |
20665 | libsrcdir=".";; \ | |
20666 | /* | [A-Za-z]:[\\/]*) \ | |
20667 | srcdiroption="--srcdir=$(srcdir)/send-pr"; \ | |
20668 | libsrcdir="$$s/send-pr";; \ | |
20669 | *) \ | |
20670 | srcdiroption="--srcdir=../$(srcdir)/send-pr"; \ | |
20671 | libsrcdir="$$s/send-pr";; \ | |
20672 | esac; \ | |
20673 | $(SHELL) $${libsrcdir}/configure \ | |
20674 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20675 | || exit 1 | |
20676 | ||
930314a4 NN |
20677 | .PHONY: all-send-pr maybe-all-send-pr |
20678 | maybe-all-send-pr: | |
db1ac78d | 20679 | all-send-pr: configure-send-pr |
b40e3958 L |
20680 | @r=`${PWD_COMMAND}`; export r; \ |
20681 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20682 | $(SET_LIB_PATH) \ |
20683 | (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20684 | |
16ae0395 NN |
20685 | .PHONY: check-send-pr maybe-check-send-pr |
20686 | maybe-check-send-pr: | |
3866be5d | 20687 | |
3866be5d | 20688 | check-send-pr: |
b40e3958 L |
20689 | @r=`${PWD_COMMAND}`; export r; \ |
20690 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20691 | $(SET_LIB_PATH) \ |
20692 | (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20693 | |
20694 | ||
930314a4 NN |
20695 | .PHONY: install-send-pr maybe-install-send-pr |
20696 | maybe-install-send-pr: | |
16ae0395 | 20697 | |
3866be5d | 20698 | install-send-pr: installdirs |
b40e3958 L |
20699 | @r=`${PWD_COMMAND}`; export r; \ |
20700 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20701 | $(SET_LIB_PATH) \ |
20702 | (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20703 | |
20704 | ||
e2b9e2dc NN |
20705 | .PHONY: configure-shellutils maybe-configure-shellutils |
20706 | maybe-configure-shellutils: | |
e6bfb94a AO |
20707 | configure-shellutils: |
20708 | @test ! -f shellutils/Makefile || exit 0; \ | |
20709 | [ -d shellutils ] || mkdir shellutils; \ | |
b40e3958 L |
20710 | r=`${PWD_COMMAND}`; export r; \ |
20711 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
20712 | CC="$(CC)"; export CC; \ |
20713 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20714 | CXX="$(CXX)"; export CXX; \ | |
20715 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20716 | AR="$(AR)"; export AR; \ |
20717 | AS="$(AS)"; export AS; \ | |
20718 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20719 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20720 | LD="$(LD)"; export LD; \ | |
20721 | NM="$(NM)"; export NM; \ | |
20722 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20723 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20724 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20725 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20726 | echo Configuring in shellutils; \ |
20727 | cd shellutils || exit 1; \ | |
20728 | case $(srcdir) in \ | |
20729 | \.) \ | |
20730 | srcdiroption="--srcdir=."; \ | |
20731 | libsrcdir=".";; \ | |
20732 | /* | [A-Za-z]:[\\/]*) \ | |
20733 | srcdiroption="--srcdir=$(srcdir)/shellutils"; \ | |
20734 | libsrcdir="$$s/shellutils";; \ | |
20735 | *) \ | |
20736 | srcdiroption="--srcdir=../$(srcdir)/shellutils"; \ | |
20737 | libsrcdir="$$s/shellutils";; \ | |
20738 | esac; \ | |
20739 | $(SHELL) $${libsrcdir}/configure \ | |
20740 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20741 | || exit 1 | |
20742 | ||
930314a4 NN |
20743 | .PHONY: all-shellutils maybe-all-shellutils |
20744 | maybe-all-shellutils: | |
db1ac78d | 20745 | all-shellutils: configure-shellutils |
b40e3958 L |
20746 | @r=`${PWD_COMMAND}`; export r; \ |
20747 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20748 | $(SET_LIB_PATH) \ |
20749 | (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20750 | |
16ae0395 NN |
20751 | .PHONY: check-shellutils maybe-check-shellutils |
20752 | maybe-check-shellutils: | |
3866be5d | 20753 | |
3866be5d | 20754 | check-shellutils: |
b40e3958 L |
20755 | @r=`${PWD_COMMAND}`; export r; \ |
20756 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20757 | $(SET_LIB_PATH) \ |
20758 | (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20759 | |
20760 | ||
930314a4 NN |
20761 | .PHONY: install-shellutils maybe-install-shellutils |
20762 | maybe-install-shellutils: | |
16ae0395 | 20763 | |
3866be5d | 20764 | install-shellutils: installdirs |
b40e3958 L |
20765 | @r=`${PWD_COMMAND}`; export r; \ |
20766 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20767 | $(SET_LIB_PATH) \ |
20768 | (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20769 | |
20770 | ||
e2b9e2dc NN |
20771 | .PHONY: configure-sid maybe-configure-sid |
20772 | maybe-configure-sid: | |
e6bfb94a AO |
20773 | configure-sid: |
20774 | @test ! -f sid/Makefile || exit 0; \ | |
20775 | [ -d sid ] || mkdir sid; \ | |
b40e3958 L |
20776 | r=`${PWD_COMMAND}`; export r; \ |
20777 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
20778 | CC="$(CC)"; export CC; \ |
20779 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20780 | CXX="$(CXX)"; export CXX; \ | |
20781 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20782 | AR="$(AR)"; export AR; \ |
20783 | AS="$(AS)"; export AS; \ | |
20784 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20785 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20786 | LD="$(LD)"; export LD; \ | |
20787 | NM="$(NM)"; export NM; \ | |
20788 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20789 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20790 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20791 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20792 | echo Configuring in sid; \ |
20793 | cd sid || exit 1; \ | |
20794 | case $(srcdir) in \ | |
20795 | \.) \ | |
20796 | srcdiroption="--srcdir=."; \ | |
20797 | libsrcdir=".";; \ | |
20798 | /* | [A-Za-z]:[\\/]*) \ | |
20799 | srcdiroption="--srcdir=$(srcdir)/sid"; \ | |
20800 | libsrcdir="$$s/sid";; \ | |
20801 | *) \ | |
20802 | srcdiroption="--srcdir=../$(srcdir)/sid"; \ | |
20803 | libsrcdir="$$s/sid";; \ | |
20804 | esac; \ | |
20805 | $(SHELL) $${libsrcdir}/configure \ | |
20806 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20807 | || exit 1 | |
20808 | ||
930314a4 NN |
20809 | .PHONY: all-sid maybe-all-sid |
20810 | maybe-all-sid: | |
db1ac78d | 20811 | all-sid: configure-sid |
b40e3958 L |
20812 | @r=`${PWD_COMMAND}`; export r; \ |
20813 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20814 | $(SET_LIB_PATH) \ |
20815 | (cd sid && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20816 | |
16ae0395 NN |
20817 | .PHONY: check-sid maybe-check-sid |
20818 | maybe-check-sid: | |
3866be5d | 20819 | |
3866be5d | 20820 | check-sid: |
b40e3958 L |
20821 | @r=`${PWD_COMMAND}`; export r; \ |
20822 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20823 | $(SET_LIB_PATH) \ |
20824 | (cd sid && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20825 | |
20826 | ||
930314a4 NN |
20827 | .PHONY: install-sid maybe-install-sid |
20828 | maybe-install-sid: | |
16ae0395 | 20829 | |
3866be5d | 20830 | install-sid: installdirs |
b40e3958 L |
20831 | @r=`${PWD_COMMAND}`; export r; \ |
20832 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20833 | $(SET_LIB_PATH) \ |
20834 | (cd sid && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20835 | |
20836 | ||
e2b9e2dc NN |
20837 | .PHONY: configure-sim maybe-configure-sim |
20838 | maybe-configure-sim: | |
e6bfb94a AO |
20839 | configure-sim: |
20840 | @test ! -f sim/Makefile || exit 0; \ | |
20841 | [ -d sim ] || mkdir sim; \ | |
b40e3958 L |
20842 | r=`${PWD_COMMAND}`; export r; \ |
20843 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
20844 | CC="$(CC)"; export CC; \ |
20845 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20846 | CXX="$(CXX)"; export CXX; \ | |
20847 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20848 | AR="$(AR)"; export AR; \ |
20849 | AS="$(AS)"; export AS; \ | |
20850 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20851 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20852 | LD="$(LD)"; export LD; \ | |
20853 | NM="$(NM)"; export NM; \ | |
20854 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20855 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20856 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20857 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20858 | echo Configuring in sim; \ |
20859 | cd sim || exit 1; \ | |
20860 | case $(srcdir) in \ | |
20861 | \.) \ | |
20862 | srcdiroption="--srcdir=."; \ | |
20863 | libsrcdir=".";; \ | |
20864 | /* | [A-Za-z]:[\\/]*) \ | |
20865 | srcdiroption="--srcdir=$(srcdir)/sim"; \ | |
20866 | libsrcdir="$$s/sim";; \ | |
20867 | *) \ | |
20868 | srcdiroption="--srcdir=../$(srcdir)/sim"; \ | |
20869 | libsrcdir="$$s/sim";; \ | |
20870 | esac; \ | |
20871 | $(SHELL) $${libsrcdir}/configure \ | |
20872 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20873 | || exit 1 | |
20874 | ||
930314a4 NN |
20875 | .PHONY: all-sim maybe-all-sim |
20876 | maybe-all-sim: | |
db1ac78d | 20877 | all-sim: configure-sim |
b40e3958 L |
20878 | @r=`${PWD_COMMAND}`; export r; \ |
20879 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20880 | $(SET_LIB_PATH) \ |
20881 | (cd sim && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20882 | |
16ae0395 NN |
20883 | .PHONY: check-sim maybe-check-sim |
20884 | maybe-check-sim: | |
3866be5d | 20885 | |
3866be5d | 20886 | check-sim: |
b40e3958 L |
20887 | @r=`${PWD_COMMAND}`; export r; \ |
20888 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20889 | $(SET_LIB_PATH) \ |
20890 | (cd sim && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20891 | |
20892 | ||
930314a4 NN |
20893 | .PHONY: install-sim maybe-install-sim |
20894 | maybe-install-sim: | |
16ae0395 | 20895 | |
3866be5d | 20896 | install-sim: installdirs |
b40e3958 L |
20897 | @r=`${PWD_COMMAND}`; export r; \ |
20898 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20899 | $(SET_LIB_PATH) \ |
20900 | (cd sim && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20901 | |
20902 | ||
e2b9e2dc NN |
20903 | .PHONY: configure-tar maybe-configure-tar |
20904 | maybe-configure-tar: | |
e6bfb94a AO |
20905 | configure-tar: |
20906 | @test ! -f tar/Makefile || exit 0; \ | |
20907 | [ -d tar ] || mkdir tar; \ | |
b40e3958 L |
20908 | r=`${PWD_COMMAND}`; export r; \ |
20909 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
20910 | CC="$(CC)"; export CC; \ |
20911 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20912 | CXX="$(CXX)"; export CXX; \ | |
20913 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20914 | AR="$(AR)"; export AR; \ |
20915 | AS="$(AS)"; export AS; \ | |
20916 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20917 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20918 | LD="$(LD)"; export LD; \ | |
20919 | NM="$(NM)"; export NM; \ | |
20920 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20921 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20922 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20923 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20924 | echo Configuring in tar; \ |
20925 | cd tar || exit 1; \ | |
20926 | case $(srcdir) in \ | |
20927 | \.) \ | |
20928 | srcdiroption="--srcdir=."; \ | |
20929 | libsrcdir=".";; \ | |
20930 | /* | [A-Za-z]:[\\/]*) \ | |
20931 | srcdiroption="--srcdir=$(srcdir)/tar"; \ | |
20932 | libsrcdir="$$s/tar";; \ | |
20933 | *) \ | |
20934 | srcdiroption="--srcdir=../$(srcdir)/tar"; \ | |
20935 | libsrcdir="$$s/tar";; \ | |
20936 | esac; \ | |
20937 | $(SHELL) $${libsrcdir}/configure \ | |
20938 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20939 | || exit 1 | |
20940 | ||
930314a4 NN |
20941 | .PHONY: all-tar maybe-all-tar |
20942 | maybe-all-tar: | |
db1ac78d | 20943 | all-tar: configure-tar |
b40e3958 L |
20944 | @r=`${PWD_COMMAND}`; export r; \ |
20945 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20946 | $(SET_LIB_PATH) \ |
20947 | (cd tar && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20948 | |
16ae0395 NN |
20949 | .PHONY: check-tar maybe-check-tar |
20950 | maybe-check-tar: | |
3866be5d | 20951 | |
3866be5d | 20952 | check-tar: |
b40e3958 L |
20953 | @r=`${PWD_COMMAND}`; export r; \ |
20954 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20955 | $(SET_LIB_PATH) \ |
20956 | (cd tar && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20957 | |
20958 | ||
930314a4 NN |
20959 | .PHONY: install-tar maybe-install-tar |
20960 | maybe-install-tar: | |
16ae0395 | 20961 | |
3866be5d | 20962 | install-tar: installdirs |
b40e3958 L |
20963 | @r=`${PWD_COMMAND}`; export r; \ |
20964 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20965 | $(SET_LIB_PATH) \ |
20966 | (cd tar && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20967 | |
20968 | ||
e2b9e2dc NN |
20969 | .PHONY: configure-texinfo maybe-configure-texinfo |
20970 | maybe-configure-texinfo: | |
e6bfb94a AO |
20971 | configure-texinfo: |
20972 | @test ! -f texinfo/Makefile || exit 0; \ | |
20973 | [ -d texinfo ] || mkdir texinfo; \ | |
b40e3958 L |
20974 | r=`${PWD_COMMAND}`; export r; \ |
20975 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
20976 | CC="$(CC)"; export CC; \ |
20977 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20978 | CXX="$(CXX)"; export CXX; \ | |
20979 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20980 | AR="$(AR)"; export AR; \ |
20981 | AS="$(AS)"; export AS; \ | |
20982 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20983 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20984 | LD="$(LD)"; export LD; \ | |
20985 | NM="$(NM)"; export NM; \ | |
20986 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20987 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20988 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20989 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20990 | echo Configuring in texinfo; \ |
20991 | cd texinfo || exit 1; \ | |
20992 | case $(srcdir) in \ | |
20993 | \.) \ | |
20994 | srcdiroption="--srcdir=."; \ | |
20995 | libsrcdir=".";; \ | |
20996 | /* | [A-Za-z]:[\\/]*) \ | |
20997 | srcdiroption="--srcdir=$(srcdir)/texinfo"; \ | |
20998 | libsrcdir="$$s/texinfo";; \ | |
20999 | *) \ | |
21000 | srcdiroption="--srcdir=../$(srcdir)/texinfo"; \ | |
21001 | libsrcdir="$$s/texinfo";; \ | |
21002 | esac; \ | |
21003 | $(SHELL) $${libsrcdir}/configure \ | |
21004 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21005 | || exit 1 | |
21006 | ||
930314a4 NN |
21007 | .PHONY: all-texinfo maybe-all-texinfo |
21008 | maybe-all-texinfo: | |
db1ac78d | 21009 | all-texinfo: configure-texinfo |
b40e3958 L |
21010 | @r=`${PWD_COMMAND}`; export r; \ |
21011 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21012 | $(SET_LIB_PATH) \ |
21013 | (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 21014 | |
16ae0395 NN |
21015 | .PHONY: check-texinfo maybe-check-texinfo |
21016 | maybe-check-texinfo: | |
3866be5d | 21017 | |
3866be5d | 21018 | check-texinfo: |
b40e3958 L |
21019 | @r=`${PWD_COMMAND}`; export r; \ |
21020 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21021 | $(SET_LIB_PATH) \ |
21022 | (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
21023 | |
21024 | ||
930314a4 NN |
21025 | .PHONY: install-texinfo maybe-install-texinfo |
21026 | maybe-install-texinfo: | |
16ae0395 | 21027 | |
3866be5d NN |
21028 | install-texinfo: |
21029 | ||
21030 | ||
e2b9e2dc NN |
21031 | .PHONY: configure-textutils maybe-configure-textutils |
21032 | maybe-configure-textutils: | |
e6bfb94a AO |
21033 | configure-textutils: |
21034 | @test ! -f textutils/Makefile || exit 0; \ | |
21035 | [ -d textutils ] || mkdir textutils; \ | |
b40e3958 L |
21036 | r=`${PWD_COMMAND}`; export r; \ |
21037 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
21038 | CC="$(CC)"; export CC; \ |
21039 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21040 | CXX="$(CXX)"; export CXX; \ | |
21041 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21042 | AR="$(AR)"; export AR; \ |
21043 | AS="$(AS)"; export AS; \ | |
21044 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21045 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21046 | LD="$(LD)"; export LD; \ | |
21047 | NM="$(NM)"; export NM; \ | |
21048 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21049 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21050 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21051 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21052 | echo Configuring in textutils; \ |
21053 | cd textutils || exit 1; \ | |
21054 | case $(srcdir) in \ | |
21055 | \.) \ | |
21056 | srcdiroption="--srcdir=."; \ | |
21057 | libsrcdir=".";; \ | |
21058 | /* | [A-Za-z]:[\\/]*) \ | |
21059 | srcdiroption="--srcdir=$(srcdir)/textutils"; \ | |
21060 | libsrcdir="$$s/textutils";; \ | |
21061 | *) \ | |
21062 | srcdiroption="--srcdir=../$(srcdir)/textutils"; \ | |
21063 | libsrcdir="$$s/textutils";; \ | |
21064 | esac; \ | |
21065 | $(SHELL) $${libsrcdir}/configure \ | |
21066 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21067 | || exit 1 | |
21068 | ||
930314a4 NN |
21069 | .PHONY: all-textutils maybe-all-textutils |
21070 | maybe-all-textutils: | |
db1ac78d | 21071 | all-textutils: configure-textutils |
b40e3958 L |
21072 | @r=`${PWD_COMMAND}`; export r; \ |
21073 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21074 | $(SET_LIB_PATH) \ |
21075 | (cd textutils && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 21076 | |
16ae0395 NN |
21077 | .PHONY: check-textutils maybe-check-textutils |
21078 | maybe-check-textutils: | |
3866be5d | 21079 | |
3866be5d | 21080 | check-textutils: |
b40e3958 L |
21081 | @r=`${PWD_COMMAND}`; export r; \ |
21082 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21083 | $(SET_LIB_PATH) \ |
21084 | (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
21085 | |
21086 | ||
930314a4 NN |
21087 | .PHONY: install-textutils maybe-install-textutils |
21088 | maybe-install-textutils: | |
16ae0395 | 21089 | |
3866be5d | 21090 | install-textutils: installdirs |
b40e3958 L |
21091 | @r=`${PWD_COMMAND}`; export r; \ |
21092 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21093 | $(SET_LIB_PATH) \ |
21094 | (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
21095 | |
21096 | ||
e2b9e2dc NN |
21097 | .PHONY: configure-time maybe-configure-time |
21098 | maybe-configure-time: | |
e6bfb94a AO |
21099 | configure-time: |
21100 | @test ! -f time/Makefile || exit 0; \ | |
21101 | [ -d time ] || mkdir time; \ | |
b40e3958 L |
21102 | r=`${PWD_COMMAND}`; export r; \ |
21103 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
21104 | CC="$(CC)"; export CC; \ |
21105 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21106 | CXX="$(CXX)"; export CXX; \ | |
21107 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21108 | AR="$(AR)"; export AR; \ |
21109 | AS="$(AS)"; export AS; \ | |
21110 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21111 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21112 | LD="$(LD)"; export LD; \ | |
21113 | NM="$(NM)"; export NM; \ | |
21114 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21115 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21116 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21117 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21118 | echo Configuring in time; \ |
21119 | cd time || exit 1; \ | |
21120 | case $(srcdir) in \ | |
21121 | \.) \ | |
21122 | srcdiroption="--srcdir=."; \ | |
21123 | libsrcdir=".";; \ | |
21124 | /* | [A-Za-z]:[\\/]*) \ | |
21125 | srcdiroption="--srcdir=$(srcdir)/time"; \ | |
21126 | libsrcdir="$$s/time";; \ | |
21127 | *) \ | |
21128 | srcdiroption="--srcdir=../$(srcdir)/time"; \ | |
21129 | libsrcdir="$$s/time";; \ | |
21130 | esac; \ | |
21131 | $(SHELL) $${libsrcdir}/configure \ | |
21132 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21133 | || exit 1 | |
21134 | ||
930314a4 NN |
21135 | .PHONY: all-time maybe-all-time |
21136 | maybe-all-time: | |
db1ac78d | 21137 | all-time: configure-time |
b40e3958 L |
21138 | @r=`${PWD_COMMAND}`; export r; \ |
21139 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21140 | $(SET_LIB_PATH) \ |
21141 | (cd time && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 21142 | |
16ae0395 NN |
21143 | .PHONY: check-time maybe-check-time |
21144 | maybe-check-time: | |
3866be5d | 21145 | |
3866be5d | 21146 | check-time: |
b40e3958 L |
21147 | @r=`${PWD_COMMAND}`; export r; \ |
21148 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21149 | $(SET_LIB_PATH) \ |
21150 | (cd time && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
21151 | |
21152 | ||
930314a4 NN |
21153 | .PHONY: install-time maybe-install-time |
21154 | maybe-install-time: | |
16ae0395 | 21155 | |
3866be5d | 21156 | install-time: installdirs |
b40e3958 L |
21157 | @r=`${PWD_COMMAND}`; export r; \ |
21158 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21159 | $(SET_LIB_PATH) \ |
21160 | (cd time && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
21161 | |
21162 | ||
e2b9e2dc NN |
21163 | .PHONY: configure-uudecode maybe-configure-uudecode |
21164 | maybe-configure-uudecode: | |
e6bfb94a AO |
21165 | configure-uudecode: |
21166 | @test ! -f uudecode/Makefile || exit 0; \ | |
21167 | [ -d uudecode ] || mkdir uudecode; \ | |
b40e3958 L |
21168 | r=`${PWD_COMMAND}`; export r; \ |
21169 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
21170 | CC="$(CC)"; export CC; \ |
21171 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21172 | CXX="$(CXX)"; export CXX; \ | |
21173 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21174 | AR="$(AR)"; export AR; \ |
21175 | AS="$(AS)"; export AS; \ | |
21176 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21177 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21178 | LD="$(LD)"; export LD; \ | |
21179 | NM="$(NM)"; export NM; \ | |
21180 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21181 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21182 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21183 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21184 | echo Configuring in uudecode; \ |
21185 | cd uudecode || exit 1; \ | |
21186 | case $(srcdir) in \ | |
21187 | \.) \ | |
21188 | srcdiroption="--srcdir=."; \ | |
21189 | libsrcdir=".";; \ | |
21190 | /* | [A-Za-z]:[\\/]*) \ | |
21191 | srcdiroption="--srcdir=$(srcdir)/uudecode"; \ | |
21192 | libsrcdir="$$s/uudecode";; \ | |
21193 | *) \ | |
21194 | srcdiroption="--srcdir=../$(srcdir)/uudecode"; \ | |
21195 | libsrcdir="$$s/uudecode";; \ | |
21196 | esac; \ | |
21197 | $(SHELL) $${libsrcdir}/configure \ | |
21198 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21199 | || exit 1 | |
21200 | ||
930314a4 NN |
21201 | .PHONY: all-uudecode maybe-all-uudecode |
21202 | maybe-all-uudecode: | |
db1ac78d | 21203 | all-uudecode: configure-uudecode |
b40e3958 L |
21204 | @r=`${PWD_COMMAND}`; export r; \ |
21205 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21206 | $(SET_LIB_PATH) \ |
21207 | (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 21208 | |
16ae0395 NN |
21209 | .PHONY: check-uudecode maybe-check-uudecode |
21210 | maybe-check-uudecode: | |
3866be5d | 21211 | |
3866be5d | 21212 | check-uudecode: |
b40e3958 L |
21213 | @r=`${PWD_COMMAND}`; export r; \ |
21214 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21215 | $(SET_LIB_PATH) \ |
21216 | (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
21217 | |
21218 | ||
930314a4 NN |
21219 | .PHONY: install-uudecode maybe-install-uudecode |
21220 | maybe-install-uudecode: | |
16ae0395 | 21221 | |
3866be5d | 21222 | install-uudecode: installdirs |
b40e3958 L |
21223 | @r=`${PWD_COMMAND}`; export r; \ |
21224 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21225 | $(SET_LIB_PATH) \ |
21226 | (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
21227 | |
21228 | ||
e2b9e2dc NN |
21229 | .PHONY: configure-wdiff maybe-configure-wdiff |
21230 | maybe-configure-wdiff: | |
e6bfb94a AO |
21231 | configure-wdiff: |
21232 | @test ! -f wdiff/Makefile || exit 0; \ | |
21233 | [ -d wdiff ] || mkdir wdiff; \ | |
b40e3958 L |
21234 | r=`${PWD_COMMAND}`; export r; \ |
21235 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
21236 | CC="$(CC)"; export CC; \ |
21237 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21238 | CXX="$(CXX)"; export CXX; \ | |
21239 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21240 | AR="$(AR)"; export AR; \ |
21241 | AS="$(AS)"; export AS; \ | |
21242 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21243 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21244 | LD="$(LD)"; export LD; \ | |
21245 | NM="$(NM)"; export NM; \ | |
21246 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21247 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21248 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21249 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21250 | echo Configuring in wdiff; \ |
21251 | cd wdiff || exit 1; \ | |
21252 | case $(srcdir) in \ | |
21253 | \.) \ | |
21254 | srcdiroption="--srcdir=."; \ | |
21255 | libsrcdir=".";; \ | |
21256 | /* | [A-Za-z]:[\\/]*) \ | |
21257 | srcdiroption="--srcdir=$(srcdir)/wdiff"; \ | |
21258 | libsrcdir="$$s/wdiff";; \ | |
21259 | *) \ | |
21260 | srcdiroption="--srcdir=../$(srcdir)/wdiff"; \ | |
21261 | libsrcdir="$$s/wdiff";; \ | |
21262 | esac; \ | |
21263 | $(SHELL) $${libsrcdir}/configure \ | |
21264 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21265 | || exit 1 | |
21266 | ||
930314a4 NN |
21267 | .PHONY: all-wdiff maybe-all-wdiff |
21268 | maybe-all-wdiff: | |
db1ac78d | 21269 | all-wdiff: configure-wdiff |
b40e3958 L |
21270 | @r=`${PWD_COMMAND}`; export r; \ |
21271 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21272 | $(SET_LIB_PATH) \ |
21273 | (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 21274 | |
16ae0395 NN |
21275 | .PHONY: check-wdiff maybe-check-wdiff |
21276 | maybe-check-wdiff: | |
3866be5d | 21277 | |
3866be5d | 21278 | check-wdiff: |
b40e3958 L |
21279 | @r=`${PWD_COMMAND}`; export r; \ |
21280 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21281 | $(SET_LIB_PATH) \ |
21282 | (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
21283 | |
21284 | ||
930314a4 NN |
21285 | .PHONY: install-wdiff maybe-install-wdiff |
21286 | maybe-install-wdiff: | |
16ae0395 | 21287 | |
3866be5d | 21288 | install-wdiff: installdirs |
b40e3958 L |
21289 | @r=`${PWD_COMMAND}`; export r; \ |
21290 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21291 | $(SET_LIB_PATH) \ |
21292 | (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
21293 | |
21294 | ||
e2b9e2dc NN |
21295 | .PHONY: configure-zip maybe-configure-zip |
21296 | maybe-configure-zip: | |
e6bfb94a AO |
21297 | configure-zip: |
21298 | @test ! -f zip/Makefile || exit 0; \ | |
21299 | [ -d zip ] || mkdir zip; \ | |
b40e3958 L |
21300 | r=`${PWD_COMMAND}`; export r; \ |
21301 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
21302 | CC="$(CC)"; export CC; \ |
21303 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21304 | CXX="$(CXX)"; export CXX; \ | |
21305 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21306 | AR="$(AR)"; export AR; \ |
21307 | AS="$(AS)"; export AS; \ | |
21308 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21309 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21310 | LD="$(LD)"; export LD; \ | |
21311 | NM="$(NM)"; export NM; \ | |
21312 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21313 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21314 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21315 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21316 | echo Configuring in zip; \ |
21317 | cd zip || exit 1; \ | |
21318 | case $(srcdir) in \ | |
21319 | \.) \ | |
21320 | srcdiroption="--srcdir=."; \ | |
21321 | libsrcdir=".";; \ | |
21322 | /* | [A-Za-z]:[\\/]*) \ | |
21323 | srcdiroption="--srcdir=$(srcdir)/zip"; \ | |
21324 | libsrcdir="$$s/zip";; \ | |
21325 | *) \ | |
21326 | srcdiroption="--srcdir=../$(srcdir)/zip"; \ | |
21327 | libsrcdir="$$s/zip";; \ | |
21328 | esac; \ | |
21329 | $(SHELL) $${libsrcdir}/configure \ | |
21330 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21331 | || exit 1 | |
21332 | ||
930314a4 NN |
21333 | .PHONY: all-zip maybe-all-zip |
21334 | maybe-all-zip: | |
db1ac78d | 21335 | all-zip: configure-zip |
b40e3958 L |
21336 | @r=`${PWD_COMMAND}`; export r; \ |
21337 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21338 | $(SET_LIB_PATH) \ |
21339 | (cd zip && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 21340 | |
16ae0395 NN |
21341 | .PHONY: check-zip maybe-check-zip |
21342 | maybe-check-zip: | |
3866be5d | 21343 | |
3866be5d NN |
21344 | # This module is only tested in a native toolchain. |
21345 | check-zip: | |
7f121bbf | 21346 | @if [ '$(host)' = '$(target)' ] ; then \ |
b40e3958 L |
21347 | r=`${PWD_COMMAND}`; export r; \ |
21348 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21349 | $(SET_LIB_PATH) \ |
21350 | (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \ | |
3866be5d NN |
21351 | fi |
21352 | ||
21353 | ||
930314a4 NN |
21354 | .PHONY: install-zip maybe-install-zip |
21355 | maybe-install-zip: | |
16ae0395 | 21356 | |
3866be5d | 21357 | install-zip: installdirs |
b40e3958 L |
21358 | @r=`${PWD_COMMAND}`; export r; \ |
21359 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21360 | $(SET_LIB_PATH) \ |
21361 | (cd zip && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
21362 | |
21363 | ||
e2b9e2dc NN |
21364 | .PHONY: configure-zlib maybe-configure-zlib |
21365 | maybe-configure-zlib: | |
e6bfb94a AO |
21366 | configure-zlib: |
21367 | @test ! -f zlib/Makefile || exit 0; \ | |
21368 | [ -d zlib ] || mkdir zlib; \ | |
b40e3958 L |
21369 | r=`${PWD_COMMAND}`; export r; \ |
21370 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
21371 | CC="$(CC)"; export CC; \ |
21372 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21373 | CXX="$(CXX)"; export CXX; \ | |
21374 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21375 | AR="$(AR)"; export AR; \ |
21376 | AS="$(AS)"; export AS; \ | |
21377 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21378 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21379 | LD="$(LD)"; export LD; \ | |
21380 | NM="$(NM)"; export NM; \ | |
21381 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21382 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21383 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21384 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21385 | echo Configuring in zlib; \ |
21386 | cd zlib || exit 1; \ | |
21387 | case $(srcdir) in \ | |
21388 | \.) \ | |
21389 | srcdiroption="--srcdir=."; \ | |
21390 | libsrcdir=".";; \ | |
21391 | /* | [A-Za-z]:[\\/]*) \ | |
21392 | srcdiroption="--srcdir=$(srcdir)/zlib"; \ | |
21393 | libsrcdir="$$s/zlib";; \ | |
21394 | *) \ | |
21395 | srcdiroption="--srcdir=../$(srcdir)/zlib"; \ | |
21396 | libsrcdir="$$s/zlib";; \ | |
21397 | esac; \ | |
21398 | $(SHELL) $${libsrcdir}/configure \ | |
21399 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21400 | || exit 1 | |
21401 | ||
930314a4 NN |
21402 | .PHONY: all-zlib maybe-all-zlib |
21403 | maybe-all-zlib: | |
db1ac78d | 21404 | all-zlib: configure-zlib |
b40e3958 L |
21405 | @r=`${PWD_COMMAND}`; export r; \ |
21406 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21407 | $(SET_LIB_PATH) \ |
21408 | (cd zlib && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 21409 | |
16ae0395 NN |
21410 | .PHONY: check-zlib maybe-check-zlib |
21411 | maybe-check-zlib: | |
3866be5d | 21412 | |
3866be5d NN |
21413 | check-zlib: |
21414 | ||
21415 | ||
930314a4 NN |
21416 | .PHONY: install-zlib maybe-install-zlib |
21417 | maybe-install-zlib: | |
16ae0395 | 21418 | |
3866be5d NN |
21419 | install-zlib: |
21420 | ||
21421 | ||
e2b9e2dc NN |
21422 | .PHONY: configure-gdb maybe-configure-gdb |
21423 | maybe-configure-gdb: | |
e6bfb94a AO |
21424 | configure-gdb: |
21425 | @test ! -f gdb/Makefile || exit 0; \ | |
21426 | [ -d gdb ] || mkdir gdb; \ | |
b40e3958 L |
21427 | r=`${PWD_COMMAND}`; export r; \ |
21428 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
21429 | CC="$(CC)"; export CC; \ |
21430 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21431 | CXX="$(CXX)"; export CXX; \ | |
21432 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21433 | AR="$(AR)"; export AR; \ |
21434 | AS="$(AS)"; export AS; \ | |
21435 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21436 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21437 | LD="$(LD)"; export LD; \ | |
21438 | NM="$(NM)"; export NM; \ | |
21439 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21440 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21441 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21442 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21443 | echo Configuring in gdb; \ |
21444 | cd gdb || exit 1; \ | |
21445 | case $(srcdir) in \ | |
21446 | \.) \ | |
21447 | srcdiroption="--srcdir=."; \ | |
21448 | libsrcdir=".";; \ | |
21449 | /* | [A-Za-z]:[\\/]*) \ | |
21450 | srcdiroption="--srcdir=$(srcdir)/gdb"; \ | |
21451 | libsrcdir="$$s/gdb";; \ | |
21452 | *) \ | |
21453 | srcdiroption="--srcdir=../$(srcdir)/gdb"; \ | |
21454 | libsrcdir="$$s/gdb";; \ | |
21455 | esac; \ | |
21456 | $(SHELL) $${libsrcdir}/configure \ | |
21457 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21458 | || exit 1 | |
21459 | ||
930314a4 NN |
21460 | .PHONY: all-gdb maybe-all-gdb |
21461 | maybe-all-gdb: | |
db1ac78d | 21462 | all-gdb: configure-gdb |
b40e3958 L |
21463 | @r=`${PWD_COMMAND}`; export r; \ |
21464 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21465 | $(SET_LIB_PATH) \ |
21466 | (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all) | |
3866be5d | 21467 | |
16ae0395 NN |
21468 | .PHONY: check-gdb maybe-check-gdb |
21469 | maybe-check-gdb: | |
3866be5d | 21470 | |
3866be5d | 21471 | check-gdb: |
b40e3958 L |
21472 | @r=`${PWD_COMMAND}`; export r; \ |
21473 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21474 | $(SET_LIB_PATH) \ |
21475 | (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check) | |
3866be5d NN |
21476 | |
21477 | ||
930314a4 NN |
21478 | .PHONY: install-gdb maybe-install-gdb |
21479 | maybe-install-gdb: | |
16ae0395 | 21480 | |
3866be5d | 21481 | install-gdb: installdirs |
b40e3958 L |
21482 | @r=`${PWD_COMMAND}`; export r; \ |
21483 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21484 | $(SET_LIB_PATH) \ |
21485 | (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install) | |
3866be5d NN |
21486 | |
21487 | ||
e2b9e2dc NN |
21488 | .PHONY: configure-expect maybe-configure-expect |
21489 | maybe-configure-expect: | |
e6bfb94a AO |
21490 | configure-expect: |
21491 | @test ! -f expect/Makefile || exit 0; \ | |
21492 | [ -d expect ] || mkdir expect; \ | |
b40e3958 L |
21493 | r=`${PWD_COMMAND}`; export r; \ |
21494 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
21495 | CC="$(CC)"; export CC; \ |
21496 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21497 | CXX="$(CXX)"; export CXX; \ | |
21498 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21499 | AR="$(AR)"; export AR; \ |
21500 | AS="$(AS)"; export AS; \ | |
21501 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21502 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21503 | LD="$(LD)"; export LD; \ | |
21504 | NM="$(NM)"; export NM; \ | |
21505 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21506 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21507 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21508 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21509 | echo Configuring in expect; \ |
21510 | cd expect || exit 1; \ | |
21511 | case $(srcdir) in \ | |
21512 | \.) \ | |
21513 | srcdiroption="--srcdir=."; \ | |
21514 | libsrcdir=".";; \ | |
21515 | /* | [A-Za-z]:[\\/]*) \ | |
21516 | srcdiroption="--srcdir=$(srcdir)/expect"; \ | |
21517 | libsrcdir="$$s/expect";; \ | |
21518 | *) \ | |
21519 | srcdiroption="--srcdir=../$(srcdir)/expect"; \ | |
21520 | libsrcdir="$$s/expect";; \ | |
21521 | esac; \ | |
21522 | $(SHELL) $${libsrcdir}/configure \ | |
21523 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21524 | || exit 1 | |
21525 | ||
930314a4 NN |
21526 | .PHONY: all-expect maybe-all-expect |
21527 | maybe-all-expect: | |
db1ac78d | 21528 | all-expect: configure-expect |
b40e3958 L |
21529 | @r=`${PWD_COMMAND}`; export r; \ |
21530 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21531 | $(SET_LIB_PATH) \ |
21532 | (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all) | |
3866be5d | 21533 | |
16ae0395 NN |
21534 | .PHONY: check-expect maybe-check-expect |
21535 | maybe-check-expect: | |
3866be5d | 21536 | |
3866be5d | 21537 | check-expect: |
b40e3958 L |
21538 | @r=`${PWD_COMMAND}`; export r; \ |
21539 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21540 | $(SET_LIB_PATH) \ |
21541 | (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check) | |
3866be5d NN |
21542 | |
21543 | ||
930314a4 NN |
21544 | .PHONY: install-expect maybe-install-expect |
21545 | maybe-install-expect: | |
16ae0395 | 21546 | |
3866be5d | 21547 | install-expect: installdirs |
b40e3958 L |
21548 | @r=`${PWD_COMMAND}`; export r; \ |
21549 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21550 | $(SET_LIB_PATH) \ |
21551 | (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install) | |
3866be5d NN |
21552 | |
21553 | ||
e2b9e2dc NN |
21554 | .PHONY: configure-guile maybe-configure-guile |
21555 | maybe-configure-guile: | |
e6bfb94a AO |
21556 | configure-guile: |
21557 | @test ! -f guile/Makefile || exit 0; \ | |
21558 | [ -d guile ] || mkdir guile; \ | |
b40e3958 L |
21559 | r=`${PWD_COMMAND}`; export r; \ |
21560 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
21561 | CC="$(CC)"; export CC; \ |
21562 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21563 | CXX="$(CXX)"; export CXX; \ | |
21564 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21565 | AR="$(AR)"; export AR; \ |
21566 | AS="$(AS)"; export AS; \ | |
21567 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21568 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21569 | LD="$(LD)"; export LD; \ | |
21570 | NM="$(NM)"; export NM; \ | |
21571 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21572 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21573 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21574 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21575 | echo Configuring in guile; \ |
21576 | cd guile || exit 1; \ | |
21577 | case $(srcdir) in \ | |
21578 | \.) \ | |
21579 | srcdiroption="--srcdir=."; \ | |
21580 | libsrcdir=".";; \ | |
21581 | /* | [A-Za-z]:[\\/]*) \ | |
21582 | srcdiroption="--srcdir=$(srcdir)/guile"; \ | |
21583 | libsrcdir="$$s/guile";; \ | |
21584 | *) \ | |
21585 | srcdiroption="--srcdir=../$(srcdir)/guile"; \ | |
21586 | libsrcdir="$$s/guile";; \ | |
21587 | esac; \ | |
21588 | $(SHELL) $${libsrcdir}/configure \ | |
21589 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21590 | || exit 1 | |
21591 | ||
930314a4 NN |
21592 | .PHONY: all-guile maybe-all-guile |
21593 | maybe-all-guile: | |
db1ac78d | 21594 | all-guile: configure-guile |
b40e3958 L |
21595 | @r=`${PWD_COMMAND}`; export r; \ |
21596 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21597 | $(SET_LIB_PATH) \ |
21598 | (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all) | |
3866be5d | 21599 | |
16ae0395 NN |
21600 | .PHONY: check-guile maybe-check-guile |
21601 | maybe-check-guile: | |
3866be5d | 21602 | |
3866be5d | 21603 | check-guile: |
b40e3958 L |
21604 | @r=`${PWD_COMMAND}`; export r; \ |
21605 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21606 | $(SET_LIB_PATH) \ |
21607 | (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check) | |
3866be5d NN |
21608 | |
21609 | ||
930314a4 NN |
21610 | .PHONY: install-guile maybe-install-guile |
21611 | maybe-install-guile: | |
16ae0395 | 21612 | |
3866be5d | 21613 | install-guile: installdirs |
b40e3958 L |
21614 | @r=`${PWD_COMMAND}`; export r; \ |
21615 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21616 | $(SET_LIB_PATH) \ |
21617 | (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install) | |
3866be5d NN |
21618 | |
21619 | ||
e2b9e2dc NN |
21620 | .PHONY: configure-tk maybe-configure-tk |
21621 | maybe-configure-tk: | |
e6bfb94a AO |
21622 | configure-tk: |
21623 | @test ! -f tk/Makefile || exit 0; \ | |
21624 | [ -d tk ] || mkdir tk; \ | |
b40e3958 L |
21625 | r=`${PWD_COMMAND}`; export r; \ |
21626 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
21627 | CC="$(CC)"; export CC; \ |
21628 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21629 | CXX="$(CXX)"; export CXX; \ | |
21630 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21631 | AR="$(AR)"; export AR; \ |
21632 | AS="$(AS)"; export AS; \ | |
21633 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21634 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21635 | LD="$(LD)"; export LD; \ | |
21636 | NM="$(NM)"; export NM; \ | |
21637 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21638 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21639 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21640 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21641 | echo Configuring in tk; \ |
21642 | cd tk || exit 1; \ | |
21643 | case $(srcdir) in \ | |
21644 | \.) \ | |
21645 | srcdiroption="--srcdir=."; \ | |
21646 | libsrcdir=".";; \ | |
21647 | /* | [A-Za-z]:[\\/]*) \ | |
21648 | srcdiroption="--srcdir=$(srcdir)/tk"; \ | |
21649 | libsrcdir="$$s/tk";; \ | |
21650 | *) \ | |
21651 | srcdiroption="--srcdir=../$(srcdir)/tk"; \ | |
21652 | libsrcdir="$$s/tk";; \ | |
21653 | esac; \ | |
21654 | $(SHELL) $${libsrcdir}/configure \ | |
21655 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21656 | || exit 1 | |
21657 | ||
930314a4 NN |
21658 | .PHONY: all-tk maybe-all-tk |
21659 | maybe-all-tk: | |
db1ac78d | 21660 | all-tk: configure-tk |
b40e3958 L |
21661 | @r=`${PWD_COMMAND}`; export r; \ |
21662 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21663 | $(SET_LIB_PATH) \ |
21664 | (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all) | |
e393202e | 21665 | |
16ae0395 NN |
21666 | .PHONY: check-tk maybe-check-tk |
21667 | maybe-check-tk: | |
e393202e | 21668 | |
3866be5d | 21669 | check-tk: |
b40e3958 L |
21670 | @r=`${PWD_COMMAND}`; export r; \ |
21671 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21672 | $(SET_LIB_PATH) \ |
21673 | (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check) | |
e393202e | 21674 | |
e393202e | 21675 | |
930314a4 NN |
21676 | .PHONY: install-tk maybe-install-tk |
21677 | maybe-install-tk: | |
16ae0395 | 21678 | |
3866be5d | 21679 | install-tk: installdirs |
b40e3958 L |
21680 | @r=`${PWD_COMMAND}`; export r; \ |
21681 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21682 | $(SET_LIB_PATH) \ |
21683 | (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install) | |
e393202e | 21684 | |
3866be5d | 21685 | |
ce5b542e MC |
21686 | .PHONY: configure-tix maybe-configure-tix |
21687 | maybe-configure-tix: | |
21688 | configure-tix: | |
21689 | @test ! -f tix/Makefile || exit 0; \ | |
21690 | [ -d tix ] || mkdir tix; \ | |
b40e3958 L |
21691 | r=`${PWD_COMMAND}`; export r; \ |
21692 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
ce5b542e MC |
21693 | CC="$(CC)"; export CC; \ |
21694 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21695 | CXX="$(CXX)"; export CXX; \ | |
21696 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21697 | AR="$(AR)"; export AR; \ |
21698 | AS="$(AS)"; export AS; \ | |
21699 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21700 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21701 | LD="$(LD)"; export LD; \ | |
21702 | NM="$(NM)"; export NM; \ | |
21703 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21704 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21705 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21706 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
ce5b542e MC |
21707 | echo Configuring in tix; \ |
21708 | cd tix || exit 1; \ | |
21709 | case $(srcdir) in \ | |
21710 | \.) \ | |
21711 | srcdiroption="--srcdir=."; \ | |
21712 | libsrcdir=".";; \ | |
21713 | /* | [A-Za-z]:[\\/]*) \ | |
21714 | srcdiroption="--srcdir=$(srcdir)/tix"; \ | |
21715 | libsrcdir="$$s/tix";; \ | |
21716 | *) \ | |
21717 | srcdiroption="--srcdir=../$(srcdir)/tix"; \ | |
21718 | libsrcdir="$$s/tix";; \ | |
21719 | esac; \ | |
21720 | $(SHELL) $${libsrcdir}/configure \ | |
21721 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21722 | || exit 1 | |
21723 | ||
21724 | .PHONY: all-tix maybe-all-tix | |
21725 | maybe-all-tix: | |
21726 | all-tix: configure-tix | |
b40e3958 L |
21727 | @r=`${PWD_COMMAND}`; export r; \ |
21728 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
ce5b542e MC |
21729 | $(SET_LIB_PATH) \ |
21730 | (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all) | |
21731 | ||
16ae0395 NN |
21732 | .PHONY: check-tix maybe-check-tix |
21733 | maybe-check-tix: | |
ce5b542e | 21734 | |
ce5b542e | 21735 | check-tix: |
b40e3958 L |
21736 | @r=`${PWD_COMMAND}`; export r; \ |
21737 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
ce5b542e MC |
21738 | $(SET_LIB_PATH) \ |
21739 | (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check) | |
21740 | ||
21741 | ||
ce5b542e MC |
21742 | .PHONY: install-tix maybe-install-tix |
21743 | maybe-install-tix: | |
16ae0395 | 21744 | |
ce5b542e | 21745 | install-tix: installdirs |
b40e3958 L |
21746 | @r=`${PWD_COMMAND}`; export r; \ |
21747 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
ce5b542e MC |
21748 | $(SET_LIB_PATH) \ |
21749 | (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install) | |
21750 | ||
21751 | ||
e2b9e2dc NN |
21752 | .PHONY: configure-libtermcap maybe-configure-libtermcap |
21753 | maybe-configure-libtermcap: | |
e6bfb94a AO |
21754 | configure-libtermcap: |
21755 | @test ! -f libtermcap/Makefile || exit 0; \ | |
21756 | [ -d libtermcap ] || mkdir libtermcap; \ | |
b40e3958 L |
21757 | r=`${PWD_COMMAND}`; export r; \ |
21758 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
21759 | CC="$(CC)"; export CC; \ |
21760 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21761 | CXX="$(CXX)"; export CXX; \ | |
21762 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21763 | AR="$(AR)"; export AR; \ |
21764 | AS="$(AS)"; export AS; \ | |
21765 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21766 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21767 | LD="$(LD)"; export LD; \ | |
21768 | NM="$(NM)"; export NM; \ | |
21769 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21770 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21771 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21772 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21773 | echo Configuring in libtermcap; \ |
21774 | cd libtermcap || exit 1; \ | |
21775 | case $(srcdir) in \ | |
21776 | \.) \ | |
21777 | srcdiroption="--srcdir=."; \ | |
21778 | libsrcdir=".";; \ | |
21779 | /* | [A-Za-z]:[\\/]*) \ | |
21780 | srcdiroption="--srcdir=$(srcdir)/libtermcap"; \ | |
21781 | libsrcdir="$$s/libtermcap";; \ | |
21782 | *) \ | |
21783 | srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \ | |
21784 | libsrcdir="$$s/libtermcap";; \ | |
21785 | esac; \ | |
21786 | $(SHELL) $${libsrcdir}/configure \ | |
21787 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21788 | || exit 1 | |
21789 | ||
930314a4 NN |
21790 | .PHONY: all-libtermcap maybe-all-libtermcap |
21791 | maybe-all-libtermcap: | |
db1ac78d | 21792 | all-libtermcap: configure-libtermcap |
b40e3958 L |
21793 | @r=`${PWD_COMMAND}`; export r; \ |
21794 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21795 | $(SET_LIB_PATH) \ |
21796 | (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) all) | |
e393202e | 21797 | |
16ae0395 NN |
21798 | .PHONY: check-libtermcap maybe-check-libtermcap |
21799 | maybe-check-libtermcap: | |
e393202e | 21800 | |
3866be5d NN |
21801 | check-libtermcap: |
21802 | ||
21803 | ||
930314a4 NN |
21804 | .PHONY: install-libtermcap maybe-install-libtermcap |
21805 | maybe-install-libtermcap: | |
16ae0395 | 21806 | |
3866be5d | 21807 | install-libtermcap: installdirs |
b40e3958 L |
21808 | @r=`${PWD_COMMAND}`; export r; \ |
21809 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21810 | $(SET_LIB_PATH) \ |
21811 | (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install) | |
e393202e | 21812 | |
3866be5d | 21813 | |
e2b9e2dc NN |
21814 | .PHONY: configure-utils maybe-configure-utils |
21815 | maybe-configure-utils: | |
e6bfb94a AO |
21816 | configure-utils: |
21817 | @test ! -f utils/Makefile || exit 0; \ | |
21818 | [ -d utils ] || mkdir utils; \ | |
b40e3958 L |
21819 | r=`${PWD_COMMAND}`; export r; \ |
21820 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
21821 | CC="$(CC)"; export CC; \ |
21822 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21823 | CXX="$(CXX)"; export CXX; \ | |
21824 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21825 | AR="$(AR)"; export AR; \ |
21826 | AS="$(AS)"; export AS; \ | |
21827 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21828 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21829 | LD="$(LD)"; export LD; \ | |
21830 | NM="$(NM)"; export NM; \ | |
21831 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21832 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21833 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21834 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21835 | echo Configuring in utils; \ |
21836 | cd utils || exit 1; \ | |
21837 | case $(srcdir) in \ | |
21838 | \.) \ | |
21839 | srcdiroption="--srcdir=."; \ | |
21840 | libsrcdir=".";; \ | |
21841 | /* | [A-Za-z]:[\\/]*) \ | |
21842 | srcdiroption="--srcdir=$(srcdir)/utils"; \ | |
21843 | libsrcdir="$$s/utils";; \ | |
21844 | *) \ | |
21845 | srcdiroption="--srcdir=../$(srcdir)/utils"; \ | |
21846 | libsrcdir="$$s/utils";; \ | |
21847 | esac; \ | |
21848 | $(SHELL) $${libsrcdir}/configure \ | |
21849 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21850 | || exit 1 | |
21851 | ||
930314a4 NN |
21852 | .PHONY: all-utils maybe-all-utils |
21853 | maybe-all-utils: | |
db1ac78d | 21854 | all-utils: configure-utils |
b40e3958 L |
21855 | @r=`${PWD_COMMAND}`; export r; \ |
21856 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21857 | $(SET_LIB_PATH) \ |
21858 | (cd utils && $(MAKE) $(FLAGS_TO_PASS) all) | |
e393202e | 21859 | |
16ae0395 NN |
21860 | .PHONY: check-utils maybe-check-utils |
21861 | maybe-check-utils: | |
3866be5d | 21862 | |
3866be5d NN |
21863 | check-utils: |
21864 | ||
21865 | ||
930314a4 NN |
21866 | .PHONY: install-utils maybe-install-utils |
21867 | maybe-install-utils: | |
16ae0395 | 21868 | |
3866be5d | 21869 | install-utils: installdirs |
b40e3958 L |
21870 | @r=`${PWD_COMMAND}`; export r; \ |
21871 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21872 | $(SET_LIB_PATH) \ |
21873 | (cd utils && $(MAKE) $(FLAGS_TO_PASS) install) | |
e393202e | 21874 | |
3866be5d NN |
21875 | |
21876 | ||
15723a45 NN |
21877 | # --------------------------------------- |
21878 | # Modules which run on the target machine | |
21879 | # --------------------------------------- | |
e393202e | 21880 | |
930314a4 NN |
21881 | .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3 |
21882 | maybe-configure-target-libstdc++-v3: | |
15723a45 | 21883 | |
1086bc09 NN |
21884 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
21885 | $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out | |
9175bfc0 | 21886 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \ |
e6bfb94a | 21887 | rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \ |
1086bc09 | 21888 | cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out |
15723a45 | 21889 | |
e6bfb94a AO |
21890 | configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out |
21891 | @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \ | |
9175bfc0 | 21892 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \ |
b40e3958 L |
21893 | r=`${PWD_COMMAND}`; export r; \ |
21894 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21895 | $(SET_LIB_PATH) \ |
21896 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
21897 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
21898 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
21899 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
21900 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
21901 | CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \ | |
21902 | CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \ | |
21903 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
21904 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
21905 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
21906 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
21907 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
21908 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
21909 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
21910 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
21911 | echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \ | |
21912 | cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \ | |
21913 | case $(srcdir) in \ | |
21914 | /* | [A-Za-z]:[\\/]*) \ | |
21915 | topdir=$(srcdir) ;; \ | |
21916 | *) \ | |
21917 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
21918 | .) topdir="../$(srcdir)" ;; \ |
21919 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
21920 | esac ;; \ |
21921 | esac; \ | |
21922 | if [ "$(srcdir)" = "." ] ; then \ | |
21923 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
21924 | if $(SHELL) $$s/symlink-tree $${topdir}/libstdc++-v3 "no-such-file" ; then \ | |
21925 | if [ -f Makefile ]; then \ | |
21926 | if $(MAKE) distclean; then \ | |
21927 | true; \ | |
21928 | else \ | |
21929 | exit 1; \ | |
21930 | fi; \ | |
e393202e | 21931 | else \ |
bba45b8b | 21932 | true; \ |
e393202e | 21933 | fi; \ |
e393202e | 21934 | else \ |
bba45b8b | 21935 | exit 1; \ |
e393202e | 21936 | fi; \ |
bba45b8b NN |
21937 | else \ |
21938 | true; \ | |
21939 | fi; \ | |
21940 | srcdiroption="--srcdir=."; \ | |
21941 | libsrcdir="."; \ | |
21942 | else \ | |
21943 | srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \ | |
21944 | libsrcdir="$$s/libstdc++-v3"; \ | |
21945 | fi; \ | |
21946 | rm -f no-such-file || : ; \ | |
21947 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
21948 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
21949 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
21950 | || exit 1 | |
e393202e | 21951 | |
930314a4 NN |
21952 | .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3 |
21953 | maybe-all-target-libstdc++-v3: | |
15723a45 | 21954 | all-target-libstdc++-v3: configure-target-libstdc++-v3 |
b40e3958 L |
21955 | @r=`${PWD_COMMAND}`; export r; \ |
21956 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21957 | $(SET_LIB_PATH) \ |
21958 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
21959 | $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all) | |
e393202e | 21960 | |
16ae0395 NN |
21961 | .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3 |
21962 | maybe-check-target-libstdc++-v3: | |
21963 | ||
e393202e | 21964 | check-target-libstdc++-v3: |
b40e3958 L |
21965 | @r=`${PWD_COMMAND}`; export r; \ |
21966 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21967 | $(SET_LIB_PATH) \ |
21968 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
21969 | $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check) | |
930314a4 | 21970 | |
e393202e | 21971 | |
930314a4 NN |
21972 | .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3 |
21973 | maybe-install-target-libstdc++-v3: | |
16ae0395 | 21974 | |
e393202e | 21975 | install-target-libstdc++-v3: installdirs |
b40e3958 L |
21976 | @r=`${PWD_COMMAND}`; export r; \ |
21977 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21978 | $(SET_LIB_PATH) \ |
21979 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
21980 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e NN |
21981 | |
21982 | ||
930314a4 NN |
21983 | .PHONY: configure-target-newlib maybe-configure-target-newlib |
21984 | maybe-configure-target-newlib: | |
15723a45 | 21985 | |
1086bc09 NN |
21986 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
21987 | $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out | |
9175bfc0 | 21988 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \ |
e6bfb94a | 21989 | rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \ |
1086bc09 | 21990 | cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out |
15723a45 | 21991 | |
e6bfb94a AO |
21992 | configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out |
21993 | @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \ | |
9175bfc0 | 21994 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \ |
b40e3958 L |
21995 | r=`${PWD_COMMAND}`; export r; \ |
21996 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21997 | $(SET_LIB_PATH) \ |
21998 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
21999 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
22000 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
22001 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
22002 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
22003 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
22004 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
22005 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
22006 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
22007 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
22008 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
22009 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
22010 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
22011 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
22012 | echo Configuring in $(TARGET_SUBDIR)/newlib; \ | |
22013 | cd "$(TARGET_SUBDIR)/newlib" || exit 1; \ | |
22014 | case $(srcdir) in \ | |
22015 | /* | [A-Za-z]:[\\/]*) \ | |
22016 | topdir=$(srcdir) ;; \ | |
22017 | *) \ | |
22018 | case "$(TARGET_SUBDIR)" in \ | |
22019 | .) topdir="../$(srcdir)" ;; \ | |
22020 | *) topdir="../../$(srcdir)" ;; \ | |
22021 | esac ;; \ | |
22022 | esac; \ | |
22023 | if [ "$(srcdir)" = "." ] ; then \ | |
22024 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
22025 | if $(SHELL) $$s/symlink-tree $${topdir}/newlib "no-such-file" ; then \ | |
22026 | if [ -f Makefile ]; then \ | |
22027 | if $(MAKE) distclean; then \ | |
22028 | true; \ | |
22029 | else \ | |
22030 | exit 1; \ | |
22031 | fi; \ | |
22032 | else \ | |
22033 | true; \ | |
22034 | fi; \ | |
22035 | else \ | |
22036 | exit 1; \ | |
e393202e | 22037 | fi; \ |
bba45b8b NN |
22038 | else \ |
22039 | true; \ | |
22040 | fi; \ | |
22041 | srcdiroption="--srcdir=."; \ | |
22042 | libsrcdir="."; \ | |
22043 | else \ | |
22044 | srcdiroption="--srcdir=$${topdir}/newlib"; \ | |
22045 | libsrcdir="$$s/newlib"; \ | |
22046 | fi; \ | |
22047 | rm -f no-such-file || : ; \ | |
22048 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
22049 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
22050 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
22051 | || exit 1 | |
e393202e | 22052 | |
930314a4 NN |
22053 | .PHONY: all-target-newlib maybe-all-target-newlib |
22054 | maybe-all-target-newlib: | |
15723a45 | 22055 | all-target-newlib: configure-target-newlib |
b40e3958 L |
22056 | @r=`${PWD_COMMAND}`; export r; \ |
22057 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22058 | $(SET_LIB_PATH) \ |
22059 | (cd $(TARGET_SUBDIR)/newlib && \ | |
22060 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
e393202e | 22061 | |
16ae0395 NN |
22062 | .PHONY: check-target-newlib maybe-check-target-newlib |
22063 | maybe-check-target-newlib: | |
22064 | ||
e393202e | 22065 | check-target-newlib: |
b40e3958 L |
22066 | @r=`${PWD_COMMAND}`; export r; \ |
22067 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22068 | $(SET_LIB_PATH) \ |
22069 | (cd $(TARGET_SUBDIR)/newlib && \ | |
22070 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check) | |
930314a4 | 22071 | |
e393202e | 22072 | |
930314a4 NN |
22073 | .PHONY: install-target-newlib maybe-install-target-newlib |
22074 | maybe-install-target-newlib: | |
16ae0395 | 22075 | |
e393202e | 22076 | install-target-newlib: installdirs |
b40e3958 L |
22077 | @r=`${PWD_COMMAND}`; export r; \ |
22078 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22079 | $(SET_LIB_PATH) \ |
22080 | (cd $(TARGET_SUBDIR)/newlib && \ | |
22081 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e NN |
22082 | |
22083 | ||
930314a4 NN |
22084 | .PHONY: configure-target-libf2c maybe-configure-target-libf2c |
22085 | maybe-configure-target-libf2c: | |
15723a45 | 22086 | |
1086bc09 NN |
22087 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
22088 | $(TARGET_SUBDIR)/libf2c/multilib.out: multilib.out | |
9175bfc0 | 22089 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libf2c ; \ |
e6bfb94a | 22090 | rm -f $(TARGET_SUBDIR)/libf2c/Makefile || : ; \ |
1086bc09 | 22091 | cp multilib.out $(TARGET_SUBDIR)/libf2c/multilib.out |
15723a45 | 22092 | |
e6bfb94a AO |
22093 | configure-target-libf2c: $(TARGET_SUBDIR)/libf2c/multilib.out |
22094 | @test ! -f $(TARGET_SUBDIR)/libf2c/Makefile || exit 0; \ | |
9175bfc0 | 22095 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libf2c ; \ |
b40e3958 L |
22096 | r=`${PWD_COMMAND}`; export r; \ |
22097 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22098 | $(SET_LIB_PATH) \ |
22099 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
22100 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
22101 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
22102 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
22103 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
22104 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
22105 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
22106 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
22107 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
22108 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
22109 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
22110 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
22111 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
22112 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
22113 | echo Configuring in $(TARGET_SUBDIR)/libf2c; \ | |
22114 | cd "$(TARGET_SUBDIR)/libf2c" || exit 1; \ | |
22115 | case $(srcdir) in \ | |
22116 | /* | [A-Za-z]:[\\/]*) \ | |
22117 | topdir=$(srcdir) ;; \ | |
22118 | *) \ | |
22119 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
22120 | .) topdir="../$(srcdir)" ;; \ |
22121 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
22122 | esac ;; \ |
22123 | esac; \ | |
22124 | if [ "$(srcdir)" = "." ] ; then \ | |
22125 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
22126 | if $(SHELL) $$s/symlink-tree $${topdir}/libf2c "no-such-file" ; then \ | |
22127 | if [ -f Makefile ]; then \ | |
22128 | if $(MAKE) distclean; then \ | |
22129 | true; \ | |
22130 | else \ | |
22131 | exit 1; \ | |
22132 | fi; \ | |
e393202e | 22133 | else \ |
bba45b8b | 22134 | true; \ |
e393202e | 22135 | fi; \ |
e393202e | 22136 | else \ |
bba45b8b | 22137 | exit 1; \ |
e393202e | 22138 | fi; \ |
bba45b8b NN |
22139 | else \ |
22140 | true; \ | |
22141 | fi; \ | |
22142 | srcdiroption="--srcdir=."; \ | |
22143 | libsrcdir="."; \ | |
22144 | else \ | |
22145 | srcdiroption="--srcdir=$${topdir}/libf2c"; \ | |
22146 | libsrcdir="$$s/libf2c"; \ | |
22147 | fi; \ | |
22148 | rm -f no-such-file || : ; \ | |
22149 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
22150 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
22151 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
22152 | || exit 1 | |
e393202e | 22153 | |
930314a4 NN |
22154 | .PHONY: all-target-libf2c maybe-all-target-libf2c |
22155 | maybe-all-target-libf2c: | |
15723a45 | 22156 | all-target-libf2c: configure-target-libf2c |
b40e3958 L |
22157 | @r=`${PWD_COMMAND}`; export r; \ |
22158 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22159 | $(SET_LIB_PATH) \ |
22160 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
22161 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
e393202e | 22162 | |
16ae0395 NN |
22163 | .PHONY: check-target-libf2c maybe-check-target-libf2c |
22164 | maybe-check-target-libf2c: | |
22165 | ||
e393202e | 22166 | check-target-libf2c: |
b40e3958 L |
22167 | @r=`${PWD_COMMAND}`; export r; \ |
22168 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22169 | $(SET_LIB_PATH) \ |
22170 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
22171 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check) | |
930314a4 | 22172 | |
e393202e | 22173 | |
930314a4 NN |
22174 | .PHONY: install-target-libf2c maybe-install-target-libf2c |
22175 | maybe-install-target-libf2c: | |
16ae0395 | 22176 | |
e393202e | 22177 | install-target-libf2c: installdirs |
b40e3958 L |
22178 | @r=`${PWD_COMMAND}`; export r; \ |
22179 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22180 | $(SET_LIB_PATH) \ |
22181 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
22182 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e NN |
22183 | |
22184 | ||
930314a4 NN |
22185 | .PHONY: configure-target-libobjc maybe-configure-target-libobjc |
22186 | maybe-configure-target-libobjc: | |
15723a45 | 22187 | |
1086bc09 NN |
22188 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
22189 | $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out | |
9175bfc0 | 22190 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \ |
e6bfb94a | 22191 | rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \ |
1086bc09 | 22192 | cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out |
15723a45 | 22193 | |
e6bfb94a AO |
22194 | configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out |
22195 | @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \ | |
9175bfc0 | 22196 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \ |
b40e3958 L |
22197 | r=`${PWD_COMMAND}`; export r; \ |
22198 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22199 | $(SET_LIB_PATH) \ |
22200 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
22201 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
22202 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
22203 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
22204 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
22205 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
22206 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
22207 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
22208 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
22209 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
22210 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
22211 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
22212 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
22213 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
22214 | echo Configuring in $(TARGET_SUBDIR)/libobjc; \ | |
22215 | cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \ | |
22216 | case $(srcdir) in \ | |
22217 | /* | [A-Za-z]:[\\/]*) \ | |
22218 | topdir=$(srcdir) ;; \ | |
22219 | *) \ | |
22220 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
22221 | .) topdir="../$(srcdir)" ;; \ |
22222 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
22223 | esac ;; \ |
22224 | esac; \ | |
22225 | if [ "$(srcdir)" = "." ] ; then \ | |
22226 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
22227 | if $(SHELL) $$s/symlink-tree $${topdir}/libobjc "no-such-file" ; then \ | |
22228 | if [ -f Makefile ]; then \ | |
22229 | if $(MAKE) distclean; then \ | |
22230 | true; \ | |
22231 | else \ | |
22232 | exit 1; \ | |
22233 | fi; \ | |
e393202e | 22234 | else \ |
bba45b8b | 22235 | true; \ |
e393202e | 22236 | fi; \ |
e393202e | 22237 | else \ |
bba45b8b | 22238 | exit 1; \ |
e393202e | 22239 | fi; \ |
bba45b8b NN |
22240 | else \ |
22241 | true; \ | |
22242 | fi; \ | |
22243 | srcdiroption="--srcdir=."; \ | |
22244 | libsrcdir="."; \ | |
22245 | else \ | |
22246 | srcdiroption="--srcdir=$${topdir}/libobjc"; \ | |
22247 | libsrcdir="$$s/libobjc"; \ | |
22248 | fi; \ | |
22249 | rm -f no-such-file || : ; \ | |
22250 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
22251 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
22252 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
22253 | || exit 1 | |
e393202e | 22254 | |
930314a4 NN |
22255 | .PHONY: all-target-libobjc maybe-all-target-libobjc |
22256 | maybe-all-target-libobjc: | |
15723a45 | 22257 | all-target-libobjc: configure-target-libobjc |
b40e3958 L |
22258 | @r=`${PWD_COMMAND}`; export r; \ |
22259 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22260 | $(SET_LIB_PATH) \ |
22261 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
22262 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
e393202e | 22263 | |
16ae0395 NN |
22264 | .PHONY: check-target-libobjc maybe-check-target-libobjc |
22265 | maybe-check-target-libobjc: | |
22266 | ||
e393202e | 22267 | check-target-libobjc: |
b40e3958 L |
22268 | @r=`${PWD_COMMAND}`; export r; \ |
22269 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22270 | $(SET_LIB_PATH) \ |
22271 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
22272 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check) | |
930314a4 | 22273 | |
e393202e | 22274 | |
930314a4 NN |
22275 | .PHONY: install-target-libobjc maybe-install-target-libobjc |
22276 | maybe-install-target-libobjc: | |
16ae0395 | 22277 | |
e393202e | 22278 | install-target-libobjc: installdirs |
b40e3958 L |
22279 | @r=`${PWD_COMMAND}`; export r; \ |
22280 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22281 | $(SET_LIB_PATH) \ |
22282 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
22283 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e NN |
22284 | |
22285 | ||
930314a4 NN |
22286 | .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap |
22287 | maybe-configure-target-libtermcap: | |
15723a45 | 22288 | |
1086bc09 NN |
22289 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
22290 | $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out | |
9175bfc0 | 22291 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \ |
e6bfb94a | 22292 | rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \ |
1086bc09 | 22293 | cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out |
15723a45 | 22294 | |
e6bfb94a AO |
22295 | configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out |
22296 | @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \ | |
9175bfc0 | 22297 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \ |
b40e3958 L |
22298 | r=`${PWD_COMMAND}`; export r; \ |
22299 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22300 | $(SET_LIB_PATH) \ |
22301 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
22302 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
22303 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
22304 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
22305 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
22306 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
22307 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
22308 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
22309 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
22310 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
22311 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
22312 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
22313 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
22314 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
22315 | echo Configuring in $(TARGET_SUBDIR)/libtermcap; \ | |
22316 | cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \ | |
22317 | case $(srcdir) in \ | |
22318 | /* | [A-Za-z]:[\\/]*) \ | |
22319 | topdir=$(srcdir) ;; \ | |
22320 | *) \ | |
22321 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
22322 | .) topdir="../$(srcdir)" ;; \ |
22323 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
22324 | esac ;; \ |
22325 | esac; \ | |
22326 | if [ "$(srcdir)" = "." ] ; then \ | |
22327 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
22328 | if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \ | |
22329 | if [ -f Makefile ]; then \ | |
22330 | if $(MAKE) distclean; then \ | |
22331 | true; \ | |
22332 | else \ | |
22333 | exit 1; \ | |
22334 | fi; \ | |
e393202e | 22335 | else \ |
bba45b8b | 22336 | true; \ |
e393202e | 22337 | fi; \ |
e393202e | 22338 | else \ |
bba45b8b | 22339 | exit 1; \ |
e393202e | 22340 | fi; \ |
bba45b8b NN |
22341 | else \ |
22342 | true; \ | |
22343 | fi; \ | |
22344 | srcdiroption="--srcdir=."; \ | |
22345 | libsrcdir="."; \ | |
22346 | else \ | |
22347 | srcdiroption="--srcdir=$${topdir}/libtermcap"; \ | |
22348 | libsrcdir="$$s/libtermcap"; \ | |
22349 | fi; \ | |
22350 | rm -f no-such-file || : ; \ | |
22351 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
22352 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
22353 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
22354 | || exit 1 | |
e393202e | 22355 | |
930314a4 NN |
22356 | .PHONY: all-target-libtermcap maybe-all-target-libtermcap |
22357 | maybe-all-target-libtermcap: | |
15723a45 | 22358 | all-target-libtermcap: configure-target-libtermcap |
b40e3958 L |
22359 | @r=`${PWD_COMMAND}`; export r; \ |
22360 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22361 | $(SET_LIB_PATH) \ |
22362 | (cd $(TARGET_SUBDIR)/libtermcap && \ | |
22363 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
e393202e | 22364 | |
16ae0395 NN |
22365 | .PHONY: check-target-libtermcap maybe-check-target-libtermcap |
22366 | maybe-check-target-libtermcap: | |
22367 | ||
3866be5d | 22368 | # Dummy target for uncheckable module. |
3866be5d NN |
22369 | check-target-libtermcap: |
22370 | ||
930314a4 NN |
22371 | |
22372 | .PHONY: install-target-libtermcap maybe-install-target-libtermcap | |
22373 | maybe-install-target-libtermcap: | |
16ae0395 | 22374 | |
e393202e | 22375 | install-target-libtermcap: installdirs |
b40e3958 L |
22376 | @r=`${PWD_COMMAND}`; export r; \ |
22377 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22378 | $(SET_LIB_PATH) \ |
22379 | (cd $(TARGET_SUBDIR)/libtermcap && \ | |
22380 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e NN |
22381 | |
22382 | ||
930314a4 NN |
22383 | .PHONY: configure-target-winsup maybe-configure-target-winsup |
22384 | maybe-configure-target-winsup: | |
15723a45 | 22385 | |
1086bc09 NN |
22386 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
22387 | $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out | |
9175bfc0 | 22388 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \ |
e6bfb94a | 22389 | rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \ |
1086bc09 | 22390 | cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out |
15723a45 | 22391 | |
e6bfb94a AO |
22392 | configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out |
22393 | @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \ | |
9175bfc0 | 22394 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \ |
b40e3958 L |
22395 | r=`${PWD_COMMAND}`; export r; \ |
22396 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22397 | $(SET_LIB_PATH) \ |
22398 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
22399 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
22400 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
22401 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
22402 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
22403 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
22404 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
22405 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
22406 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
22407 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
22408 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
22409 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
22410 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
22411 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
22412 | echo Configuring in $(TARGET_SUBDIR)/winsup; \ | |
22413 | cd "$(TARGET_SUBDIR)/winsup" || exit 1; \ | |
22414 | case $(srcdir) in \ | |
22415 | /* | [A-Za-z]:[\\/]*) \ | |
22416 | topdir=$(srcdir) ;; \ | |
22417 | *) \ | |
22418 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
22419 | .) topdir="../$(srcdir)" ;; \ |
22420 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
22421 | esac ;; \ |
22422 | esac; \ | |
22423 | if [ "$(srcdir)" = "." ] ; then \ | |
22424 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
22425 | if $(SHELL) $$s/symlink-tree $${topdir}/winsup "no-such-file" ; then \ | |
22426 | if [ -f Makefile ]; then \ | |
22427 | if $(MAKE) distclean; then \ | |
22428 | true; \ | |
22429 | else \ | |
22430 | exit 1; \ | |
22431 | fi; \ | |
e393202e | 22432 | else \ |
bba45b8b | 22433 | true; \ |
e393202e | 22434 | fi; \ |
e393202e | 22435 | else \ |
bba45b8b | 22436 | exit 1; \ |
e393202e | 22437 | fi; \ |
bba45b8b NN |
22438 | else \ |
22439 | true; \ | |
22440 | fi; \ | |
22441 | srcdiroption="--srcdir=."; \ | |
22442 | libsrcdir="."; \ | |
22443 | else \ | |
22444 | srcdiroption="--srcdir=$${topdir}/winsup"; \ | |
22445 | libsrcdir="$$s/winsup"; \ | |
22446 | fi; \ | |
22447 | rm -f no-such-file || : ; \ | |
22448 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
22449 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
22450 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
22451 | || exit 1 | |
e393202e | 22452 | |
930314a4 NN |
22453 | .PHONY: all-target-winsup maybe-all-target-winsup |
22454 | maybe-all-target-winsup: | |
15723a45 | 22455 | all-target-winsup: configure-target-winsup |
b40e3958 L |
22456 | @r=`${PWD_COMMAND}`; export r; \ |
22457 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22458 | $(SET_LIB_PATH) \ |
22459 | (cd $(TARGET_SUBDIR)/winsup && \ | |
22460 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
e393202e | 22461 | |
16ae0395 NN |
22462 | .PHONY: check-target-winsup maybe-check-target-winsup |
22463 | maybe-check-target-winsup: | |
22464 | ||
e393202e | 22465 | check-target-winsup: |
b40e3958 L |
22466 | @r=`${PWD_COMMAND}`; export r; \ |
22467 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22468 | $(SET_LIB_PATH) \ |
22469 | (cd $(TARGET_SUBDIR)/winsup && \ | |
22470 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check) | |
e393202e | 22471 | |
930314a4 NN |
22472 | |
22473 | .PHONY: install-target-winsup maybe-install-target-winsup | |
22474 | maybe-install-target-winsup: | |
16ae0395 | 22475 | |
e393202e | 22476 | install-target-winsup: installdirs |
b40e3958 L |
22477 | @r=`${PWD_COMMAND}`; export r; \ |
22478 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22479 | $(SET_LIB_PATH) \ |
22480 | (cd $(TARGET_SUBDIR)/winsup && \ | |
22481 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e NN |
22482 | |
22483 | ||
930314a4 NN |
22484 | .PHONY: configure-target-libgloss maybe-configure-target-libgloss |
22485 | maybe-configure-target-libgloss: | |
15723a45 | 22486 | |
1086bc09 NN |
22487 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
22488 | $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out | |
9175bfc0 | 22489 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \ |
e6bfb94a | 22490 | rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \ |
1086bc09 | 22491 | cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out |
15723a45 | 22492 | |
e6bfb94a AO |
22493 | configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out |
22494 | @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \ | |
9175bfc0 | 22495 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \ |
b40e3958 L |
22496 | r=`${PWD_COMMAND}`; export r; \ |
22497 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22498 | $(SET_LIB_PATH) \ |
22499 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
22500 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
22501 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
22502 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
22503 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
22504 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
22505 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
22506 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
22507 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
22508 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
22509 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
22510 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
22511 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
22512 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
22513 | echo Configuring in $(TARGET_SUBDIR)/libgloss; \ | |
22514 | cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \ | |
22515 | case $(srcdir) in \ | |
22516 | /* | [A-Za-z]:[\\/]*) \ | |
22517 | topdir=$(srcdir) ;; \ | |
22518 | *) \ | |
22519 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
22520 | .) topdir="../$(srcdir)" ;; \ |
22521 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
22522 | esac ;; \ |
22523 | esac; \ | |
22524 | if [ "$(srcdir)" = "." ] ; then \ | |
22525 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
22526 | if $(SHELL) $$s/symlink-tree $${topdir}/libgloss "no-such-file" ; then \ | |
22527 | if [ -f Makefile ]; then \ | |
22528 | if $(MAKE) distclean; then \ | |
22529 | true; \ | |
22530 | else \ | |
22531 | exit 1; \ | |
22532 | fi; \ | |
e393202e | 22533 | else \ |
bba45b8b | 22534 | true; \ |
e393202e | 22535 | fi; \ |
e393202e | 22536 | else \ |
bba45b8b | 22537 | exit 1; \ |
e393202e | 22538 | fi; \ |
bba45b8b NN |
22539 | else \ |
22540 | true; \ | |
22541 | fi; \ | |
22542 | srcdiroption="--srcdir=."; \ | |
22543 | libsrcdir="."; \ | |
22544 | else \ | |
22545 | srcdiroption="--srcdir=$${topdir}/libgloss"; \ | |
22546 | libsrcdir="$$s/libgloss"; \ | |
22547 | fi; \ | |
22548 | rm -f no-such-file || : ; \ | |
22549 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
22550 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
22551 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
22552 | || exit 1 | |
e393202e | 22553 | |
930314a4 NN |
22554 | .PHONY: all-target-libgloss maybe-all-target-libgloss |
22555 | maybe-all-target-libgloss: | |
15723a45 | 22556 | all-target-libgloss: configure-target-libgloss |
b40e3958 L |
22557 | @r=`${PWD_COMMAND}`; export r; \ |
22558 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22559 | $(SET_LIB_PATH) \ |
22560 | (cd $(TARGET_SUBDIR)/libgloss && \ | |
22561 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
e393202e | 22562 | |
16ae0395 NN |
22563 | .PHONY: check-target-libgloss maybe-check-target-libgloss |
22564 | maybe-check-target-libgloss: | |
22565 | ||
3866be5d | 22566 | # Dummy target for uncheckable module. |
3866be5d NN |
22567 | check-target-libgloss: |
22568 | ||
930314a4 NN |
22569 | |
22570 | .PHONY: install-target-libgloss maybe-install-target-libgloss | |
22571 | maybe-install-target-libgloss: | |
16ae0395 | 22572 | |
e393202e | 22573 | install-target-libgloss: installdirs |
b40e3958 L |
22574 | @r=`${PWD_COMMAND}`; export r; \ |
22575 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22576 | $(SET_LIB_PATH) \ |
22577 | (cd $(TARGET_SUBDIR)/libgloss && \ | |
22578 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e NN |
22579 | |
22580 | ||
930314a4 NN |
22581 | .PHONY: configure-target-libiberty maybe-configure-target-libiberty |
22582 | maybe-configure-target-libiberty: | |
15723a45 | 22583 | |
1086bc09 NN |
22584 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
22585 | $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out | |
9175bfc0 | 22586 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \ |
e6bfb94a | 22587 | rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \ |
1086bc09 | 22588 | cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out |
15723a45 | 22589 | |
e6bfb94a AO |
22590 | configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out |
22591 | @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \ | |
9175bfc0 | 22592 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \ |
b40e3958 L |
22593 | r=`${PWD_COMMAND}`; export r; \ |
22594 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22595 | $(SET_LIB_PATH) \ |
22596 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
22597 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
22598 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
22599 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
22600 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
22601 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
22602 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
22603 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
22604 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
22605 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
22606 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
22607 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
22608 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
22609 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
22610 | echo Configuring in $(TARGET_SUBDIR)/libiberty; \ | |
22611 | cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \ | |
22612 | case $(srcdir) in \ | |
22613 | /* | [A-Za-z]:[\\/]*) \ | |
22614 | topdir=$(srcdir) ;; \ | |
22615 | *) \ | |
22616 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
22617 | .) topdir="../$(srcdir)" ;; \ |
22618 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
22619 | esac ;; \ |
22620 | esac; \ | |
22621 | if [ "$(srcdir)" = "." ] ; then \ | |
22622 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
22623 | if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \ | |
22624 | if [ -f Makefile ]; then \ | |
22625 | if $(MAKE) distclean; then \ | |
22626 | true; \ | |
22627 | else \ | |
22628 | exit 1; \ | |
22629 | fi; \ | |
e393202e | 22630 | else \ |
bba45b8b | 22631 | true; \ |
e393202e | 22632 | fi; \ |
e393202e | 22633 | else \ |
bba45b8b | 22634 | exit 1; \ |
e393202e | 22635 | fi; \ |
bba45b8b NN |
22636 | else \ |
22637 | true; \ | |
22638 | fi; \ | |
22639 | srcdiroption="--srcdir=."; \ | |
22640 | libsrcdir="."; \ | |
22641 | else \ | |
22642 | srcdiroption="--srcdir=$${topdir}/libiberty"; \ | |
22643 | libsrcdir="$$s/libiberty"; \ | |
22644 | fi; \ | |
22645 | rm -f no-such-file || : ; \ | |
22646 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
22647 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
22648 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
22649 | || exit 1 | |
e393202e | 22650 | |
930314a4 NN |
22651 | .PHONY: all-target-libiberty maybe-all-target-libiberty |
22652 | maybe-all-target-libiberty: | |
15723a45 | 22653 | all-target-libiberty: configure-target-libiberty |
b40e3958 L |
22654 | @r=`${PWD_COMMAND}`; export r; \ |
22655 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22656 | $(SET_LIB_PATH) \ |
22657 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
22658 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
e393202e | 22659 | |
16ae0395 NN |
22660 | .PHONY: check-target-libiberty maybe-check-target-libiberty |
22661 | maybe-check-target-libiberty: | |
22662 | ||
e393202e | 22663 | check-target-libiberty: |
b40e3958 L |
22664 | @r=`${PWD_COMMAND}`; export r; \ |
22665 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22666 | $(SET_LIB_PATH) \ |
22667 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
22668 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check) | |
e393202e | 22669 | |
930314a4 NN |
22670 | |
22671 | .PHONY: install-target-libiberty maybe-install-target-libiberty | |
22672 | maybe-install-target-libiberty: | |
16ae0395 | 22673 | |
e393202e | 22674 | install-target-libiberty: installdirs |
b40e3958 L |
22675 | @r=`${PWD_COMMAND}`; export r; \ |
22676 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22677 | $(SET_LIB_PATH) \ |
22678 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
22679 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e NN |
22680 | |
22681 | ||
930314a4 NN |
22682 | .PHONY: configure-target-gperf maybe-configure-target-gperf |
22683 | maybe-configure-target-gperf: | |
15723a45 | 22684 | |
1086bc09 NN |
22685 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
22686 | $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out | |
9175bfc0 | 22687 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \ |
e6bfb94a | 22688 | rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \ |
1086bc09 | 22689 | cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out |
15723a45 | 22690 | |
e6bfb94a AO |
22691 | configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out |
22692 | @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \ | |
9175bfc0 | 22693 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \ |
b40e3958 L |
22694 | r=`${PWD_COMMAND}`; export r; \ |
22695 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22696 | $(SET_LIB_PATH) \ |
22697 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
22698 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
22699 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
22700 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
22701 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
22702 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
22703 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
22704 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
22705 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
22706 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
22707 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
22708 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
22709 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
22710 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
22711 | echo Configuring in $(TARGET_SUBDIR)/gperf; \ | |
22712 | cd "$(TARGET_SUBDIR)/gperf" || exit 1; \ | |
22713 | case $(srcdir) in \ | |
22714 | /* | [A-Za-z]:[\\/]*) \ | |
22715 | topdir=$(srcdir) ;; \ | |
22716 | *) \ | |
22717 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
22718 | .) topdir="../$(srcdir)" ;; \ |
22719 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
22720 | esac ;; \ |
22721 | esac; \ | |
22722 | if [ "$(srcdir)" = "." ] ; then \ | |
22723 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
22724 | if $(SHELL) $$s/symlink-tree $${topdir}/gperf "no-such-file" ; then \ | |
22725 | if [ -f Makefile ]; then \ | |
22726 | if $(MAKE) distclean; then \ | |
22727 | true; \ | |
22728 | else \ | |
22729 | exit 1; \ | |
22730 | fi; \ | |
e393202e | 22731 | else \ |
bba45b8b | 22732 | true; \ |
e393202e | 22733 | fi; \ |
e393202e | 22734 | else \ |
bba45b8b | 22735 | exit 1; \ |
e393202e | 22736 | fi; \ |
bba45b8b NN |
22737 | else \ |
22738 | true; \ | |
22739 | fi; \ | |
22740 | srcdiroption="--srcdir=."; \ | |
22741 | libsrcdir="."; \ | |
22742 | else \ | |
22743 | srcdiroption="--srcdir=$${topdir}/gperf"; \ | |
22744 | libsrcdir="$$s/gperf"; \ | |
22745 | fi; \ | |
22746 | rm -f no-such-file || : ; \ | |
22747 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
22748 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
22749 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
22750 | || exit 1 | |
e393202e | 22751 | |
930314a4 NN |
22752 | .PHONY: all-target-gperf maybe-all-target-gperf |
22753 | maybe-all-target-gperf: | |
15723a45 | 22754 | all-target-gperf: configure-target-gperf |
b40e3958 L |
22755 | @r=`${PWD_COMMAND}`; export r; \ |
22756 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22757 | $(SET_LIB_PATH) \ |
22758 | (cd $(TARGET_SUBDIR)/gperf && \ | |
22759 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
e393202e | 22760 | |
16ae0395 NN |
22761 | .PHONY: check-target-gperf maybe-check-target-gperf |
22762 | maybe-check-target-gperf: | |
22763 | ||
e393202e | 22764 | check-target-gperf: |
b40e3958 L |
22765 | @r=`${PWD_COMMAND}`; export r; \ |
22766 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22767 | $(SET_LIB_PATH) \ |
22768 | (cd $(TARGET_SUBDIR)/gperf && \ | |
22769 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check) | |
e393202e | 22770 | |
930314a4 NN |
22771 | |
22772 | .PHONY: install-target-gperf maybe-install-target-gperf | |
22773 | maybe-install-target-gperf: | |
16ae0395 | 22774 | |
e393202e | 22775 | install-target-gperf: installdirs |
b40e3958 L |
22776 | @r=`${PWD_COMMAND}`; export r; \ |
22777 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22778 | $(SET_LIB_PATH) \ |
22779 | (cd $(TARGET_SUBDIR)/gperf && \ | |
22780 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e NN |
22781 | |
22782 | ||
930314a4 NN |
22783 | .PHONY: configure-target-examples maybe-configure-target-examples |
22784 | maybe-configure-target-examples: | |
15723a45 | 22785 | |
1086bc09 NN |
22786 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
22787 | $(TARGET_SUBDIR)/examples/multilib.out: multilib.out | |
9175bfc0 | 22788 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \ |
e6bfb94a | 22789 | rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \ |
1086bc09 | 22790 | cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out |
15723a45 | 22791 | |
e6bfb94a AO |
22792 | configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out |
22793 | @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \ | |
9175bfc0 | 22794 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \ |
b40e3958 L |
22795 | r=`${PWD_COMMAND}`; export r; \ |
22796 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22797 | $(SET_LIB_PATH) \ |
22798 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
22799 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
22800 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
22801 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
22802 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
22803 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
22804 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
22805 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
22806 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
22807 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
22808 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
22809 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
22810 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
22811 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
22812 | echo Configuring in $(TARGET_SUBDIR)/examples; \ | |
22813 | cd "$(TARGET_SUBDIR)/examples" || exit 1; \ | |
22814 | case $(srcdir) in \ | |
22815 | /* | [A-Za-z]:[\\/]*) \ | |
22816 | topdir=$(srcdir) ;; \ | |
22817 | *) \ | |
22818 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
22819 | .) topdir="../$(srcdir)" ;; \ |
22820 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
22821 | esac ;; \ |
22822 | esac; \ | |
22823 | if [ "$(srcdir)" = "." ] ; then \ | |
22824 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
22825 | if $(SHELL) $$s/symlink-tree $${topdir}/examples "no-such-file" ; then \ | |
22826 | if [ -f Makefile ]; then \ | |
22827 | if $(MAKE) distclean; then \ | |
22828 | true; \ | |
22829 | else \ | |
22830 | exit 1; \ | |
22831 | fi; \ | |
e393202e | 22832 | else \ |
bba45b8b | 22833 | true; \ |
e393202e | 22834 | fi; \ |
e393202e | 22835 | else \ |
bba45b8b | 22836 | exit 1; \ |
e393202e | 22837 | fi; \ |
bba45b8b NN |
22838 | else \ |
22839 | true; \ | |
22840 | fi; \ | |
22841 | srcdiroption="--srcdir=."; \ | |
22842 | libsrcdir="."; \ | |
22843 | else \ | |
22844 | srcdiroption="--srcdir=$${topdir}/examples"; \ | |
22845 | libsrcdir="$$s/examples"; \ | |
22846 | fi; \ | |
22847 | rm -f no-such-file || : ; \ | |
22848 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
22849 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
22850 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
22851 | || exit 1 | |
e393202e | 22852 | |
930314a4 NN |
22853 | .PHONY: all-target-examples maybe-all-target-examples |
22854 | maybe-all-target-examples: | |
15723a45 | 22855 | all-target-examples: configure-target-examples |
b40e3958 L |
22856 | @r=`${PWD_COMMAND}`; export r; \ |
22857 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22858 | $(SET_LIB_PATH) \ |
22859 | (cd $(TARGET_SUBDIR)/examples && \ | |
22860 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
e393202e | 22861 | |
16ae0395 NN |
22862 | .PHONY: check-target-examples maybe-check-target-examples |
22863 | maybe-check-target-examples: | |
22864 | ||
3866be5d | 22865 | # Dummy target for uncheckable module. |
3866be5d NN |
22866 | check-target-examples: |
22867 | ||
e393202e | 22868 | |
930314a4 NN |
22869 | .PHONY: install-target-examples maybe-install-target-examples |
22870 | maybe-install-target-examples: | |
16ae0395 | 22871 | |
930314a4 NN |
22872 | # Dummy target for uninstallable. |
22873 | install-target-examples: | |
22874 | ||
e393202e | 22875 | |
930314a4 NN |
22876 | .PHONY: configure-target-libffi maybe-configure-target-libffi |
22877 | maybe-configure-target-libffi: | |
15723a45 | 22878 | |
1086bc09 NN |
22879 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
22880 | $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out | |
9175bfc0 | 22881 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \ |
e6bfb94a | 22882 | rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \ |
1086bc09 | 22883 | cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out |
15723a45 | 22884 | |
e6bfb94a AO |
22885 | configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out |
22886 | @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \ | |
9175bfc0 | 22887 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \ |
b40e3958 L |
22888 | r=`${PWD_COMMAND}`; export r; \ |
22889 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22890 | $(SET_LIB_PATH) \ |
22891 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
22892 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
22893 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
22894 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
22895 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
22896 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
22897 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
22898 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
22899 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
22900 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
22901 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
22902 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
22903 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
22904 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
22905 | echo Configuring in $(TARGET_SUBDIR)/libffi; \ | |
22906 | cd "$(TARGET_SUBDIR)/libffi" || exit 1; \ | |
22907 | case $(srcdir) in \ | |
22908 | /* | [A-Za-z]:[\\/]*) \ | |
22909 | topdir=$(srcdir) ;; \ | |
22910 | *) \ | |
22911 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
22912 | .) topdir="../$(srcdir)" ;; \ |
22913 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
22914 | esac ;; \ |
22915 | esac; \ | |
22916 | if [ "$(srcdir)" = "." ] ; then \ | |
22917 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
22918 | if $(SHELL) $$s/symlink-tree $${topdir}/libffi "no-such-file" ; then \ | |
22919 | if [ -f Makefile ]; then \ | |
22920 | if $(MAKE) distclean; then \ | |
22921 | true; \ | |
22922 | else \ | |
22923 | exit 1; \ | |
22924 | fi; \ | |
e393202e | 22925 | else \ |
bba45b8b | 22926 | true; \ |
e393202e | 22927 | fi; \ |
e393202e | 22928 | else \ |
bba45b8b | 22929 | exit 1; \ |
e393202e | 22930 | fi; \ |
bba45b8b NN |
22931 | else \ |
22932 | true; \ | |
22933 | fi; \ | |
22934 | srcdiroption="--srcdir=."; \ | |
22935 | libsrcdir="."; \ | |
22936 | else \ | |
22937 | srcdiroption="--srcdir=$${topdir}/libffi"; \ | |
22938 | libsrcdir="$$s/libffi"; \ | |
22939 | fi; \ | |
22940 | rm -f no-such-file || : ; \ | |
22941 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
22942 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
22943 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
22944 | || exit 1 | |
e393202e | 22945 | |
930314a4 NN |
22946 | .PHONY: all-target-libffi maybe-all-target-libffi |
22947 | maybe-all-target-libffi: | |
15723a45 | 22948 | all-target-libffi: configure-target-libffi |
b40e3958 L |
22949 | @r=`${PWD_COMMAND}`; export r; \ |
22950 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22951 | $(SET_LIB_PATH) \ |
22952 | (cd $(TARGET_SUBDIR)/libffi && \ | |
22953 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
e393202e | 22954 | |
16ae0395 NN |
22955 | .PHONY: check-target-libffi maybe-check-target-libffi |
22956 | maybe-check-target-libffi: | |
22957 | ||
e393202e | 22958 | check-target-libffi: |
b40e3958 L |
22959 | @r=`${PWD_COMMAND}`; export r; \ |
22960 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22961 | $(SET_LIB_PATH) \ |
22962 | (cd $(TARGET_SUBDIR)/libffi && \ | |
22963 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check) | |
e393202e NN |
22964 | |
22965 | ||
930314a4 NN |
22966 | .PHONY: install-target-libffi maybe-install-target-libffi |
22967 | maybe-install-target-libffi: | |
16ae0395 | 22968 | |
50ceb20c | 22969 | install-target-libffi: installdirs |
b40e3958 L |
22970 | @r=`${PWD_COMMAND}`; export r; \ |
22971 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22972 | $(SET_LIB_PATH) \ |
22973 | (cd $(TARGET_SUBDIR)/libffi && \ | |
22974 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e | 22975 | |
930314a4 NN |
22976 | |
22977 | .PHONY: configure-target-libjava maybe-configure-target-libjava | |
22978 | maybe-configure-target-libjava: | |
15723a45 | 22979 | |
1086bc09 NN |
22980 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
22981 | $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out | |
9175bfc0 | 22982 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \ |
e6bfb94a | 22983 | rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \ |
1086bc09 | 22984 | cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out |
15723a45 | 22985 | |
e6bfb94a AO |
22986 | configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out |
22987 | @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \ | |
9175bfc0 | 22988 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \ |
b40e3958 L |
22989 | r=`${PWD_COMMAND}`; export r; \ |
22990 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22991 | $(SET_LIB_PATH) \ |
22992 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
22993 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
22994 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
22995 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
22996 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
22997 | CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \ | |
22998 | CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \ | |
22999 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
23000 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
23001 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
23002 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
23003 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
23004 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
23005 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
23006 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
23007 | echo Configuring in $(TARGET_SUBDIR)/libjava; \ | |
23008 | cd "$(TARGET_SUBDIR)/libjava" || exit 1; \ | |
23009 | case $(srcdir) in \ | |
23010 | /* | [A-Za-z]:[\\/]*) \ | |
23011 | topdir=$(srcdir) ;; \ | |
23012 | *) \ | |
23013 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
23014 | .) topdir="../$(srcdir)" ;; \ |
23015 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
23016 | esac ;; \ |
23017 | esac; \ | |
23018 | if [ "$(srcdir)" = "." ] ; then \ | |
23019 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
23020 | if $(SHELL) $$s/symlink-tree $${topdir}/libjava "no-such-file" ; then \ | |
23021 | if [ -f Makefile ]; then \ | |
23022 | if $(MAKE) distclean; then \ | |
23023 | true; \ | |
23024 | else \ | |
23025 | exit 1; \ | |
23026 | fi; \ | |
e393202e | 23027 | else \ |
bba45b8b | 23028 | true; \ |
e393202e | 23029 | fi; \ |
e393202e | 23030 | else \ |
bba45b8b | 23031 | exit 1; \ |
e393202e | 23032 | fi; \ |
bba45b8b NN |
23033 | else \ |
23034 | true; \ | |
23035 | fi; \ | |
23036 | srcdiroption="--srcdir=."; \ | |
23037 | libsrcdir="."; \ | |
23038 | else \ | |
23039 | srcdiroption="--srcdir=$${topdir}/libjava"; \ | |
23040 | libsrcdir="$$s/libjava"; \ | |
23041 | fi; \ | |
23042 | rm -f no-such-file || : ; \ | |
23043 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
23044 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
23045 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
23046 | || exit 1 | |
e393202e | 23047 | |
930314a4 NN |
23048 | .PHONY: all-target-libjava maybe-all-target-libjava |
23049 | maybe-all-target-libjava: | |
15723a45 | 23050 | all-target-libjava: configure-target-libjava |
b40e3958 L |
23051 | @r=`${PWD_COMMAND}`; export r; \ |
23052 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23053 | $(SET_LIB_PATH) \ |
23054 | (cd $(TARGET_SUBDIR)/libjava && \ | |
23055 | $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all) | |
e393202e | 23056 | |
16ae0395 NN |
23057 | .PHONY: check-target-libjava maybe-check-target-libjava |
23058 | maybe-check-target-libjava: | |
23059 | ||
e393202e | 23060 | check-target-libjava: |
b40e3958 L |
23061 | @r=`${PWD_COMMAND}`; export r; \ |
23062 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23063 | $(SET_LIB_PATH) \ |
23064 | (cd $(TARGET_SUBDIR)/libjava && \ | |
23065 | $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check) | |
e393202e | 23066 | |
930314a4 NN |
23067 | |
23068 | .PHONY: install-target-libjava maybe-install-target-libjava | |
23069 | maybe-install-target-libjava: | |
16ae0395 | 23070 | |
e393202e | 23071 | install-target-libjava: installdirs |
b40e3958 L |
23072 | @r=`${PWD_COMMAND}`; export r; \ |
23073 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23074 | $(SET_LIB_PATH) \ |
23075 | (cd $(TARGET_SUBDIR)/libjava && \ | |
23076 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e NN |
23077 | |
23078 | ||
930314a4 NN |
23079 | .PHONY: configure-target-zlib maybe-configure-target-zlib |
23080 | maybe-configure-target-zlib: | |
15723a45 | 23081 | |
1086bc09 NN |
23082 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
23083 | $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out | |
9175bfc0 | 23084 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \ |
e6bfb94a | 23085 | rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \ |
1086bc09 | 23086 | cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out |
15723a45 | 23087 | |
e6bfb94a AO |
23088 | configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out |
23089 | @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \ | |
9175bfc0 | 23090 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \ |
b40e3958 L |
23091 | r=`${PWD_COMMAND}`; export r; \ |
23092 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23093 | $(SET_LIB_PATH) \ |
23094 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
23095 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
23096 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
23097 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
23098 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
23099 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
23100 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
23101 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
23102 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
23103 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
23104 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
23105 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
23106 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
23107 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
23108 | echo Configuring in $(TARGET_SUBDIR)/zlib; \ | |
23109 | cd "$(TARGET_SUBDIR)/zlib" || exit 1; \ | |
23110 | case $(srcdir) in \ | |
23111 | /* | [A-Za-z]:[\\/]*) \ | |
23112 | topdir=$(srcdir) ;; \ | |
23113 | *) \ | |
23114 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
23115 | .) topdir="../$(srcdir)" ;; \ |
23116 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
23117 | esac ;; \ |
23118 | esac; \ | |
23119 | if [ "$(srcdir)" = "." ] ; then \ | |
23120 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
23121 | if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \ | |
23122 | if [ -f Makefile ]; then \ | |
23123 | if $(MAKE) distclean; then \ | |
23124 | true; \ | |
23125 | else \ | |
23126 | exit 1; \ | |
23127 | fi; \ | |
e393202e | 23128 | else \ |
bba45b8b | 23129 | true; \ |
e393202e | 23130 | fi; \ |
e393202e | 23131 | else \ |
bba45b8b | 23132 | exit 1; \ |
e393202e | 23133 | fi; \ |
bba45b8b NN |
23134 | else \ |
23135 | true; \ | |
23136 | fi; \ | |
23137 | srcdiroption="--srcdir=."; \ | |
23138 | libsrcdir="."; \ | |
23139 | else \ | |
23140 | srcdiroption="--srcdir=$${topdir}/zlib"; \ | |
23141 | libsrcdir="$$s/zlib"; \ | |
23142 | fi; \ | |
23143 | rm -f no-such-file || : ; \ | |
23144 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
23145 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
23146 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
23147 | || exit 1 | |
252b5132 | 23148 | |
930314a4 NN |
23149 | .PHONY: all-target-zlib maybe-all-target-zlib |
23150 | maybe-all-target-zlib: | |
15723a45 | 23151 | all-target-zlib: configure-target-zlib |
b40e3958 L |
23152 | @r=`${PWD_COMMAND}`; export r; \ |
23153 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23154 | $(SET_LIB_PATH) \ |
23155 | (cd $(TARGET_SUBDIR)/zlib && \ | |
23156 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
252b5132 | 23157 | |
16ae0395 NN |
23158 | .PHONY: check-target-zlib maybe-check-target-zlib |
23159 | maybe-check-target-zlib: | |
23160 | ||
e393202e | 23161 | check-target-zlib: |
b40e3958 L |
23162 | @r=`${PWD_COMMAND}`; export r; \ |
23163 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23164 | $(SET_LIB_PATH) \ |
23165 | (cd $(TARGET_SUBDIR)/zlib && \ | |
23166 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check) | |
252b5132 | 23167 | |
930314a4 NN |
23168 | |
23169 | .PHONY: install-target-zlib maybe-install-target-zlib | |
23170 | maybe-install-target-zlib: | |
16ae0395 | 23171 | |
e393202e | 23172 | install-target-zlib: installdirs |
b40e3958 L |
23173 | @r=`${PWD_COMMAND}`; export r; \ |
23174 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23175 | $(SET_LIB_PATH) \ |
23176 | (cd $(TARGET_SUBDIR)/zlib && \ | |
23177 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
49b7683b | 23178 | |
e393202e | 23179 | |
930314a4 NN |
23180 | .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc |
23181 | maybe-configure-target-boehm-gc: | |
15723a45 | 23182 | |
1086bc09 NN |
23183 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
23184 | $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out | |
9175bfc0 | 23185 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \ |
e6bfb94a | 23186 | rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \ |
1086bc09 | 23187 | cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out |
15723a45 | 23188 | |
e6bfb94a AO |
23189 | configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out |
23190 | @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \ | |
9175bfc0 | 23191 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \ |
b40e3958 L |
23192 | r=`${PWD_COMMAND}`; export r; \ |
23193 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23194 | $(SET_LIB_PATH) \ |
23195 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
23196 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
23197 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
23198 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
23199 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
23200 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
23201 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
23202 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
23203 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
23204 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
23205 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
23206 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
23207 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
23208 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
23209 | echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \ | |
23210 | cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \ | |
23211 | case $(srcdir) in \ | |
23212 | /* | [A-Za-z]:[\\/]*) \ | |
23213 | topdir=$(srcdir) ;; \ | |
23214 | *) \ | |
23215 | case "$(TARGET_SUBDIR)" in \ | |
49b7683b DD |
23216 | .) topdir="../$(srcdir)" ;; \ |
23217 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
23218 | esac ;; \ |
23219 | esac; \ | |
23220 | if [ "$(srcdir)" = "." ] ; then \ | |
23221 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
23222 | if $(SHELL) $$s/symlink-tree $${topdir}/boehm-gc "no-such-file" ; then \ | |
23223 | if [ -f Makefile ]; then \ | |
23224 | if $(MAKE) distclean; then \ | |
23225 | true; \ | |
23226 | else \ | |
23227 | exit 1; \ | |
23228 | fi; \ | |
49b7683b | 23229 | else \ |
bba45b8b | 23230 | true; \ |
49b7683b | 23231 | fi; \ |
49b7683b | 23232 | else \ |
bba45b8b | 23233 | exit 1; \ |
49b7683b | 23234 | fi; \ |
bba45b8b NN |
23235 | else \ |
23236 | true; \ | |
23237 | fi; \ | |
23238 | srcdiroption="--srcdir=."; \ | |
23239 | libsrcdir="."; \ | |
23240 | else \ | |
23241 | srcdiroption="--srcdir=$${topdir}/boehm-gc"; \ | |
23242 | libsrcdir="$$s/boehm-gc"; \ | |
23243 | fi; \ | |
23244 | rm -f no-such-file || : ; \ | |
23245 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
23246 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
23247 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
23248 | || exit 1 | |
49b7683b | 23249 | |
930314a4 NN |
23250 | .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc |
23251 | maybe-all-target-boehm-gc: | |
15723a45 | 23252 | all-target-boehm-gc: configure-target-boehm-gc |
b40e3958 L |
23253 | @r=`${PWD_COMMAND}`; export r; \ |
23254 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23255 | $(SET_LIB_PATH) \ |
23256 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
23257 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
252b5132 | 23258 | |
16ae0395 NN |
23259 | .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc |
23260 | maybe-check-target-boehm-gc: | |
23261 | ||
e393202e | 23262 | check-target-boehm-gc: |
b40e3958 L |
23263 | @r=`${PWD_COMMAND}`; export r; \ |
23264 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23265 | $(SET_LIB_PATH) \ |
23266 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
23267 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check) | |
252b5132 | 23268 | |
930314a4 NN |
23269 | |
23270 | .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc | |
23271 | maybe-install-target-boehm-gc: | |
16ae0395 | 23272 | |
e393202e | 23273 | install-target-boehm-gc: installdirs |
b40e3958 L |
23274 | @r=`${PWD_COMMAND}`; export r; \ |
23275 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23276 | $(SET_LIB_PATH) \ |
23277 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
23278 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e NN |
23279 | |
23280 | ||
930314a4 NN |
23281 | .PHONY: configure-target-qthreads maybe-configure-target-qthreads |
23282 | maybe-configure-target-qthreads: | |
15723a45 | 23283 | |
1086bc09 NN |
23284 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
23285 | $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out | |
9175bfc0 | 23286 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \ |
e6bfb94a | 23287 | rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \ |
1086bc09 | 23288 | cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out |
15723a45 | 23289 | |
e6bfb94a AO |
23290 | configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out |
23291 | @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \ | |
9175bfc0 | 23292 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \ |
b40e3958 L |
23293 | r=`${PWD_COMMAND}`; export r; \ |
23294 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23295 | $(SET_LIB_PATH) \ |
23296 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
23297 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
23298 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
23299 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
23300 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
23301 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
23302 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
23303 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
23304 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
23305 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
23306 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
23307 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
23308 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
23309 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
23310 | echo Configuring in $(TARGET_SUBDIR)/qthreads; \ | |
23311 | cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \ | |
23312 | case $(srcdir) in \ | |
23313 | /* | [A-Za-z]:[\\/]*) \ | |
23314 | topdir=$(srcdir) ;; \ | |
23315 | *) \ | |
23316 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
23317 | .) topdir="../$(srcdir)" ;; \ |
23318 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
23319 | esac ;; \ |
23320 | esac; \ | |
23321 | if [ "$(srcdir)" = "." ] ; then \ | |
23322 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
23323 | if $(SHELL) $$s/symlink-tree $${topdir}/qthreads "no-such-file" ; then \ | |
23324 | if [ -f Makefile ]; then \ | |
23325 | if $(MAKE) distclean; then \ | |
23326 | true; \ | |
23327 | else \ | |
23328 | exit 1; \ | |
23329 | fi; \ | |
e393202e | 23330 | else \ |
bba45b8b | 23331 | true; \ |
e393202e | 23332 | fi; \ |
e393202e | 23333 | else \ |
bba45b8b | 23334 | exit 1; \ |
e393202e | 23335 | fi; \ |
bba45b8b NN |
23336 | else \ |
23337 | true; \ | |
23338 | fi; \ | |
23339 | srcdiroption="--srcdir=."; \ | |
23340 | libsrcdir="."; \ | |
23341 | else \ | |
23342 | srcdiroption="--srcdir=$${topdir}/qthreads"; \ | |
23343 | libsrcdir="$$s/qthreads"; \ | |
23344 | fi; \ | |
23345 | rm -f no-such-file || : ; \ | |
23346 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
23347 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
23348 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
23349 | || exit 1 | |
252b5132 | 23350 | |
930314a4 NN |
23351 | .PHONY: all-target-qthreads maybe-all-target-qthreads |
23352 | maybe-all-target-qthreads: | |
15723a45 | 23353 | all-target-qthreads: configure-target-qthreads |
b40e3958 L |
23354 | @r=`${PWD_COMMAND}`; export r; \ |
23355 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23356 | $(SET_LIB_PATH) \ |
23357 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
23358 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
252b5132 | 23359 | |
16ae0395 NN |
23360 | .PHONY: check-target-qthreads maybe-check-target-qthreads |
23361 | maybe-check-target-qthreads: | |
23362 | ||
e393202e | 23363 | check-target-qthreads: |
b40e3958 L |
23364 | @r=`${PWD_COMMAND}`; export r; \ |
23365 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23366 | $(SET_LIB_PATH) \ |
23367 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
23368 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check) | |
e393202e | 23369 | |
930314a4 NN |
23370 | |
23371 | .PHONY: install-target-qthreads maybe-install-target-qthreads | |
23372 | maybe-install-target-qthreads: | |
16ae0395 | 23373 | |
e393202e | 23374 | install-target-qthreads: installdirs |
b40e3958 L |
23375 | @r=`${PWD_COMMAND}`; export r; \ |
23376 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23377 | $(SET_LIB_PATH) \ |
23378 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
23379 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
252b5132 | 23380 | |
e393202e | 23381 | |
930314a4 NN |
23382 | .PHONY: configure-target-rda maybe-configure-target-rda |
23383 | maybe-configure-target-rda: | |
15723a45 | 23384 | |
1086bc09 NN |
23385 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
23386 | $(TARGET_SUBDIR)/rda/multilib.out: multilib.out | |
9175bfc0 | 23387 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \ |
e6bfb94a | 23388 | rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \ |
1086bc09 | 23389 | cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out |
15723a45 | 23390 | |
e6bfb94a AO |
23391 | configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out |
23392 | @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \ | |
9175bfc0 | 23393 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \ |
b40e3958 L |
23394 | r=`${PWD_COMMAND}`; export r; \ |
23395 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23396 | $(SET_LIB_PATH) \ |
23397 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
23398 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
23399 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
23400 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
23401 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
23402 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
23403 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
23404 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
23405 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
23406 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
23407 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
23408 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
23409 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
23410 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
23411 | echo Configuring in $(TARGET_SUBDIR)/rda; \ | |
23412 | cd "$(TARGET_SUBDIR)/rda" || exit 1; \ | |
23413 | case $(srcdir) in \ | |
23414 | /* | [A-Za-z]:[\\/]*) \ | |
23415 | topdir=$(srcdir) ;; \ | |
23416 | *) \ | |
23417 | case "$(TARGET_SUBDIR)" in \ | |
252b5132 RH |
23418 | .) topdir="../$(srcdir)" ;; \ |
23419 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
23420 | esac ;; \ |
23421 | esac; \ | |
23422 | if [ "$(srcdir)" = "." ] ; then \ | |
23423 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
23424 | if $(SHELL) $$s/symlink-tree $${topdir}/rda "no-such-file" ; then \ | |
23425 | if [ -f Makefile ]; then \ | |
23426 | if $(MAKE) distclean; then \ | |
23427 | true; \ | |
23428 | else \ | |
23429 | exit 1; \ | |
23430 | fi; \ | |
252b5132 | 23431 | else \ |
bba45b8b | 23432 | true; \ |
252b5132 | 23433 | fi; \ |
252b5132 | 23434 | else \ |
bba45b8b | 23435 | exit 1; \ |
252b5132 | 23436 | fi; \ |
bba45b8b NN |
23437 | else \ |
23438 | true; \ | |
23439 | fi; \ | |
23440 | srcdiroption="--srcdir=."; \ | |
23441 | libsrcdir="."; \ | |
23442 | else \ | |
23443 | srcdiroption="--srcdir=$${topdir}/rda"; \ | |
23444 | libsrcdir="$$s/rda"; \ | |
23445 | fi; \ | |
23446 | rm -f no-such-file || : ; \ | |
23447 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
23448 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
23449 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
23450 | || exit 1 | |
252b5132 | 23451 | |
930314a4 NN |
23452 | .PHONY: all-target-rda maybe-all-target-rda |
23453 | maybe-all-target-rda: | |
15723a45 | 23454 | all-target-rda: configure-target-rda |
b40e3958 L |
23455 | @r=`${PWD_COMMAND}`; export r; \ |
23456 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23457 | $(SET_LIB_PATH) \ |
23458 | (cd $(TARGET_SUBDIR)/rda && \ | |
23459 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
252b5132 | 23460 | |
16ae0395 NN |
23461 | .PHONY: check-target-rda maybe-check-target-rda |
23462 | maybe-check-target-rda: | |
23463 | ||
e393202e | 23464 | check-target-rda: |
b40e3958 L |
23465 | @r=`${PWD_COMMAND}`; export r; \ |
23466 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23467 | $(SET_LIB_PATH) \ |
23468 | (cd $(TARGET_SUBDIR)/rda && \ | |
23469 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check) | |
252b5132 | 23470 | |
930314a4 NN |
23471 | |
23472 | .PHONY: install-target-rda maybe-install-target-rda | |
23473 | maybe-install-target-rda: | |
16ae0395 | 23474 | |
e393202e | 23475 | install-target-rda: installdirs |
b40e3958 L |
23476 | @r=`${PWD_COMMAND}`; export r; \ |
23477 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23478 | $(SET_LIB_PATH) \ |
23479 | (cd $(TARGET_SUBDIR)/rda && \ | |
23480 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
252b5132 | 23481 | |
e393202e NN |
23482 | |
23483 | ||
15723a45 NN |
23484 | # ---------- |
23485 | # GCC module | |
23486 | # ---------- | |
23487 | ||
23488 | # Unfortunately, while gcc _should_ be a host module, | |
23489 | # libgcc is a target module, and gen* programs are | |
23490 | # build modules. So GCC is a sort of hybrid. | |
23491 | ||
252b5132 | 23492 | # gcc is the only module which uses GCC_FLAGS_TO_PASS. |
e2b9e2dc NN |
23493 | .PHONY: configure-gcc maybe-configure-gcc |
23494 | maybe-configure-gcc: | |
e6bfb94a AO |
23495 | configure-gcc: |
23496 | @test ! -f gcc/Makefile || exit 0; \ | |
23497 | [ -d gcc ] || mkdir gcc; \ | |
b40e3958 L |
23498 | r=`${PWD_COMMAND}`; export r; \ |
23499 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
23500 | CC="$(CC)"; export CC; \ |
23501 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
23502 | CXX="$(CXX)"; export CXX; \ | |
23503 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
586c0873 | 23504 | TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \ |
ec7e0995 NN |
23505 | AR="$(AR)"; export AR; \ |
23506 | AS="$(AS)"; export AS; \ | |
23507 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
23508 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
23509 | LD="$(LD)"; export LD; \ | |
23510 | NM="$(NM)"; export NM; \ | |
23511 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
23512 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
23513 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
23514 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
23515 | echo Configuring in gcc; \ |
23516 | cd gcc || exit 1; \ | |
23517 | case $(srcdir) in \ | |
23518 | \.) \ | |
23519 | srcdiroption="--srcdir=."; \ | |
23520 | libsrcdir=".";; \ | |
23521 | /* | [A-Za-z]:[\\/]*) \ | |
23522 | srcdiroption="--srcdir=$(srcdir)/gcc"; \ | |
23523 | libsrcdir="$$s/gcc";; \ | |
23524 | *) \ | |
23525 | srcdiroption="--srcdir=../$(srcdir)/gcc"; \ | |
23526 | libsrcdir="$$s/gcc";; \ | |
23527 | esac; \ | |
23528 | $(SHELL) $${libsrcdir}/configure \ | |
23529 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
23530 | || exit 1 | |
23531 | ||
b72e6a2d JM |
23532 | # Don't 'make all' in gcc if it's already been made by 'bootstrap'; that |
23533 | # causes trouble. This wart will be fixed eventually by moving | |
db1ac78d | 23534 | # the bootstrap behavior to this file. |
930314a4 NN |
23535 | .PHONY: all-gcc maybe-all-gcc |
23536 | maybe-all-gcc: | |
db1ac78d | 23537 | all-gcc: configure-gcc |
b72e6a2d | 23538 | @if [ -f gcc/stage_last ] ; then \ |
b40e3958 L |
23539 | r=`${PWD_COMMAND}`; export r; \ |
23540 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
b72e6a2d | 23541 | $(SET_LIB_PATH) \ |
1086bc09 | 23542 | (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) quickstrap); \ |
db1ac78d | 23543 | else \ |
b40e3958 L |
23544 | r=`${PWD_COMMAND}`; export r; \ |
23545 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
252b5132 | 23546 | $(SET_LIB_PATH) \ |
1086bc09 | 23547 | (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) all); \ |
252b5132 RH |
23548 | fi |
23549 | ||
23550 | # Building GCC uses some tools for rebuilding "source" files | |
23551 | # like texinfo, bison/byacc, etc. So we must depend on those. | |
23552 | # | |
23553 | # While building GCC, it may be necessary to run various target | |
23554 | # programs like the assembler, linker, etc. So we depend on | |
23555 | # those too. | |
23556 | # | |
23557 | # In theory, on an SMP all those dependencies can be resolved | |
23558 | # in parallel. | |
23559 | # | |
5b474aa8 DD |
23560 | GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap |
23561 | .PHONY: $(GCC_STRAP_TARGETS) | |
23562 | $(GCC_STRAP_TARGETS): all-bootstrap configure-gcc | |
b40e3958 L |
23563 | @r=`${PWD_COMMAND}`; export r; \ |
23564 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
252b5132 RH |
23565 | $(SET_LIB_PATH) \ |
23566 | echo "Bootstrapping the compiler"; \ | |
5cec67bf | 23567 | cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@ |
b40e3958 L |
23568 | @r=`${PWD_COMMAND}`; export r; \ |
23569 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
252b5132 RH |
23570 | case "$@" in \ |
23571 | *bootstrap4-lean ) \ | |
bba45b8b NN |
23572 | msg="Comparing stage3 and stage4 of the compiler"; \ |
23573 | compare=compare3-lean ;; \ | |
23574 | *bootstrap4 ) \ | |
23575 | msg="Comparing stage3 and stage4 of the compiler"; \ | |
23576 | compare=compare3 ;; \ | |
23577 | *-lean ) \ | |
23578 | msg="Comparing stage2 and stage3 of the compiler"; \ | |
23579 | compare=compare-lean ;; \ | |
23580 | * ) \ | |
23581 | msg="Comparing stage2 and stage3 of the compiler"; \ | |
23582 | compare=compare ;; \ | |
252b5132 RH |
23583 | esac; \ |
23584 | $(SET_LIB_PATH) \ | |
23585 | echo "$$msg"; \ | |
5cec67bf | 23586 | cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare |
b40e3958 L |
23587 | @r=`${PWD_COMMAND}`; export r; \ |
23588 | s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \ | |
252b5132 RH |
23589 | $(SET_LIB_PATH) \ |
23590 | echo "Building runtime libraries"; \ | |
dec0cb0c | 23591 | $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all |
252b5132 | 23592 | |
ec7e0995 | 23593 | profiledbootstrap: all-bootstrap configure-gcc |
b40e3958 L |
23594 | @r=`${PWD_COMMAND}`; export r; \ |
23595 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
ec7e0995 NN |
23596 | $(SET_LIB_PATH) \ |
23597 | echo "Bootstrapping the compiler"; \ | |
23598 | cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build | |
b40e3958 L |
23599 | @r=`${PWD_COMMAND}`; export r; \ |
23600 | s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \ | |
ec7e0995 NN |
23601 | $(SET_LIB_PATH) \ |
23602 | echo "Building runtime libraries and training compiler"; \ | |
23603 | $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all | |
b40e3958 L |
23604 | @r=`${PWD_COMMAND}`; export r; \ |
23605 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
ec7e0995 NN |
23606 | $(SET_LIB_PATH) \ |
23607 | echo "Building feedback based compiler"; \ | |
23608 | cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build | |
23609 | ||
252b5132 RH |
23610 | .PHONY: cross |
23611 | cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld | |
b40e3958 L |
23612 | @r=`${PWD_COMMAND}`; export r; \ |
23613 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
252b5132 RH |
23614 | $(SET_LIB_PATH) \ |
23615 | echo "Building the C and C++ compiler"; \ | |
5cec67bf | 23616 | cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++" |
b40e3958 L |
23617 | @r=`${PWD_COMMAND}`; export r; \ |
23618 | s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \ | |
252b5132 RH |
23619 | $(SET_LIB_PATH) \ |
23620 | echo "Building runtime libraries"; \ | |
dec0cb0c AO |
23621 | $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) \ |
23622 | LANGUAGES="c c++" all | |
252b5132 | 23623 | |
8945c6bb | 23624 | .PHONY: check-gcc maybe-check-gcc |
44482353 | 23625 | maybe-check-gcc: |
252b5132 RH |
23626 | check-gcc: |
23627 | @if [ -f ./gcc/Makefile ] ; then \ | |
b40e3958 L |
23628 | r=`${PWD_COMMAND}`; export r; \ |
23629 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
252b5132 | 23630 | $(SET_LIB_PATH) \ |
1086bc09 | 23631 | (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check); \ |
252b5132 RH |
23632 | else \ |
23633 | true; \ | |
23634 | fi | |
23635 | ||
7d695d07 JM |
23636 | .PHONY: check-gcc-c++ |
23637 | check-gcc-c++: | |
75205f78 | 23638 | @if [ -f ./gcc/Makefile ] ; then \ |
b40e3958 L |
23639 | r=`${PWD_COMMAND}`; export r; \ |
23640 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
75205f78 | 23641 | $(SET_LIB_PATH) \ |
1086bc09 | 23642 | (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \ |
75205f78 DD |
23643 | else \ |
23644 | true; \ | |
7d695d07 JM |
23645 | fi |
23646 | ||
23647 | .PHONY: check-c++ | |
ede4fbe4 | 23648 | check-c++: check-target-libstdc++-v3 check-gcc-c++ |
75205f78 | 23649 | |
930314a4 NN |
23650 | .PHONY: install-gcc maybe-install-gcc |
23651 | maybe-install-gcc: | |
252b5132 RH |
23652 | install-gcc: |
23653 | @if [ -f ./gcc/Makefile ] ; then \ | |
b40e3958 L |
23654 | r=`${PWD_COMMAND}`; export r; \ |
23655 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
252b5132 | 23656 | $(SET_LIB_PATH) \ |
1086bc09 | 23657 | (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) install); \ |
252b5132 RH |
23658 | else \ |
23659 | true; \ | |
23660 | fi | |
23661 | ||
15723a45 NN |
23662 | # Install the gcc headers files, but not the fixed include files, |
23663 | # which Cygnus is not allowed to distribute. This rule is very | |
23664 | # dependent on the workings of the gcc Makefile.in. | |
23665 | .PHONY: gcc-no-fixedincludes | |
23666 | gcc-no-fixedincludes: | |
23667 | @if [ -f ./gcc/Makefile ]; then \ | |
23668 | rm -rf gcc/tmp-include; \ | |
23669 | mv gcc/include gcc/tmp-include 2>/dev/null; \ | |
23670 | mkdir gcc/include; \ | |
23671 | cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \ | |
23672 | touch gcc/stmp-fixinc gcc/include/fixed; \ | |
23673 | rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \ | |
b40e3958 L |
23674 | r=`${PWD_COMMAND}`; export r; \ |
23675 | s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \ | |
15723a45 | 23676 | $(SET_LIB_PATH) \ |
1086bc09 | 23677 | (cd ./gcc && \ |
15723a45 NN |
23678 | $(MAKE) $(GCC_FLAGS_TO_PASS) install); \ |
23679 | rm -rf gcc/include; \ | |
23680 | mv gcc/tmp-include gcc/include 2>/dev/null; \ | |
23681 | else true; fi | |
23682 | ||
ae831be5 NN |
23683 | # -------------------------------------- |
23684 | # Dependencies between different modules | |
23685 | # -------------------------------------- | |
252b5132 | 23686 | |
ae831be5 NN |
23687 | # There are two types of dependencies here: 'hard' dependencies, where one |
23688 | # module simply won't build without the other; and 'soft' dependencies, where | |
23689 | # if the depended-on module is missing, the depending module will do without | |
23690 | # or find a substitute somewhere (perhaps installed). Soft dependencies | |
23691 | # are specified by depending on a 'maybe-' target. If you're not sure, | |
23692 | # it's safer to use a soft dependency. | |
23693 | ||
23694 | # Host modules specific to gcc. | |
e2b9e2dc | 23695 | # GCC needs to identify certain tools. |
e5c3f801 NN |
23696 | # GCC also needs the information exported by the intl configure script. |
23697 | configure-gcc: maybe-configure-intl maybe-configure-binutils maybe-configure-gas maybe-configure-ld maybe-configure-bison maybe-configure-flex | |
23698 | all-gcc: maybe-all-libiberty maybe-all-intl maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib | |
ae831be5 NN |
23699 | # This is a slightly kludgy method of getting dependencies on |
23700 | # all-build-libiberty correct; it would be better to build it every time. | |
23701 | all-gcc: maybe-all-build-libiberty | |
e5c3f801 | 23702 | all-bootstrap: maybe-all-libiberty maybe-all-intl maybe-all-texinfo maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib |
ae831be5 NN |
23703 | |
23704 | # Host modules specific to gdb. | |
e2b9e2dc | 23705 | # GDB needs to know that the simulator is being built. |
8f32e830 | 23706 | configure-gdb: maybe-configure-itcl maybe-configure-tcl maybe-configure-tk maybe-configure-sim |
ae831be5 NN |
23707 | GDB_TK = @GDB_TK@ |
23708 | all-gdb: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-mmalloc maybe-all-readline maybe-all-bison maybe-all-byacc maybe-all-sim $(gdbnlmrequirements) $(GDB_TK) | |
23709 | install-gdb: maybe-install-tcl maybe-install-tk maybe-install-itcl maybe-install-tix maybe-install-libgui | |
59da4fe6 | 23710 | configure-libgui: maybe-configure-tcl maybe-configure-tk |
ae831be5 NN |
23711 | all-libgui: maybe-all-tcl maybe-all-tk maybe-all-itcl |
23712 | ||
23713 | # Host modules specific to binutils. | |
b4a77b47 | 23714 | configure-bfd: configure-libiberty |
930314a4 NN |
23715 | all-bfd: maybe-all-libiberty maybe-all-intl |
23716 | all-binutils: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-flex maybe-all-bison maybe-all-byacc maybe-all-intl | |
ae831be5 NN |
23717 | # We put install-opcodes before install-binutils because the installed |
23718 | # binutils might be on PATH, and they might need the shared opcodes | |
23719 | # library. | |
23720 | install-binutils: maybe-install-opcodes | |
cf662e21 AJ |
23721 | # libopcodes depends on libbfd |
23722 | install-opcodes: maybe-install-bfd | |
ae831be5 NN |
23723 | all-gas: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-intl |
23724 | all-gprof: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-intl | |
23725 | all-ld: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-intl | |
23726 | all-opcodes: maybe-all-bfd maybe-all-libiberty | |
23727 | ||
23728 | # Other host modules in the 'src' repository. | |
930314a4 | 23729 | all-dejagnu: maybe-all-tcl maybe-all-expect maybe-all-tk |
b4a77b47 | 23730 | configure-expect: maybe-configure-tcl maybe-configure-tk |
930314a4 | 23731 | all-expect: maybe-all-tcl maybe-all-tk |
b4a77b47 | 23732 | configure-itcl: maybe-configure-tcl maybe-configure-tk |
ae831be5 NN |
23733 | all-itcl: maybe-all-tcl maybe-all-tk |
23734 | # We put install-tcl before install-itcl because itcl wants to run a | |
23735 | # program on installation which uses the Tcl libraries. | |
23736 | install-itcl: maybe-install-tcl | |
122bfa92 | 23737 | all-sid: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-tcl maybe-all-tk |
ae831be5 | 23738 | install-sid: maybe-install-tcl maybe-install-tk |
a36d530e | 23739 | all-sim: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline maybe-configure-gdb |
b4a77b47 | 23740 | configure-tk: maybe-configure-tcl |
ae831be5 | 23741 | all-tk: maybe-all-tcl |
b4a77b47 | 23742 | configure-tix: maybe-configure-tcl maybe-configure-tk |
ae831be5 NN |
23743 | all-tix: maybe-all-tcl maybe-all-tk |
23744 | all-texinfo: maybe-all-libiberty | |
23745 | ||
23746 | # Other host modules. Warning, these are not well tested. | |
23747 | all-autoconf: maybe-all-m4 maybe-all-texinfo | |
23748 | all-automake: maybe-all-m4 maybe-all-texinfo | |
23749 | all-bison: maybe-all-texinfo | |
23750 | all-diff: maybe-all-libiberty | |
23751 | all-fastjar: maybe-all-zlib maybe-all-libiberty | |
930314a4 NN |
23752 | all-fileutils: maybe-all-libiberty |
23753 | all-flex: maybe-all-libiberty maybe-all-bison maybe-all-byacc | |
930314a4 NN |
23754 | all-gzip: maybe-all-libiberty |
23755 | all-hello: maybe-all-libiberty | |
930314a4 | 23756 | all-m4: maybe-all-libiberty maybe-all-texinfo |
b9abda6a | 23757 | all-make: maybe-all-libiberty maybe-all-intl |
930314a4 NN |
23758 | all-patch: maybe-all-libiberty |
23759 | all-prms: maybe-all-libiberty | |
930314a4 NN |
23760 | all-recode: maybe-all-libiberty |
23761 | all-sed: maybe-all-libiberty | |
23762 | all-send-pr: maybe-all-prms | |
930314a4 | 23763 | all-tar: maybe-all-libiberty |
930314a4 | 23764 | all-uudecode: maybe-all-libiberty |
ae831be5 NN |
23765 | |
23766 | ALL_GCC = maybe-all-gcc | |
23767 | ALL_GCC_C = $(ALL_GCC) maybe-all-target-newlib maybe-all-target-libgloss | |
23768 | ALL_GCC_CXX = $(ALL_GCC_C) maybe-all-target-libstdc++-v3 | |
23769 | ||
23770 | # Target modules specific to gcc. | |
b4a77b47 DD |
23771 | configure-target-boehm-gc: $(ALL_GCC_C) maybe-configure-target-qthreads |
23772 | configure-target-fastjar: maybe-configure-target-zlib | |
930314a4 | 23773 | all-target-fastjar: maybe-all-target-zlib maybe-all-target-libiberty |
b4a77b47 | 23774 | configure-target-libf2c: $(ALL_GCC_C) |
ae831be5 | 23775 | all-target-libf2c: maybe-all-target-libiberty |
b4a77b47 DD |
23776 | configure-target-libffi: $(ALL_GCC_C) |
23777 | configure-target-libjava: $(ALL_GCC_C) maybe-configure-target-zlib maybe-configure-target-boehm-gc maybe-configure-target-qthreads maybe-configure-target-libffi | |
ae831be5 | 23778 | all-target-libjava: maybe-all-fastjar maybe-all-target-zlib maybe-all-target-boehm-gc maybe-all-target-qthreads maybe-all-target-libffi |
b4a77b47 | 23779 | configure-target-libobjc: $(ALL_GCC_C) |
ae831be5 | 23780 | all-target-libobjc: maybe-all-target-libiberty |
b4a77b47 | 23781 | configure-target-libstdc++-v3: $(ALL_GCC_C) |
ae831be5 | 23782 | all-target-libstdc++-v3: maybe-all-target-libiberty |
b4a77b47 | 23783 | configure-target-zlib: $(ALL_GCC_C) |
a9590527 | 23784 | |
ae831be5 | 23785 | # Target modules in the 'src' repository. |
b4a77b47 DD |
23786 | configure-target-examples: $(ALL_GCC_C) |
23787 | configure-target-libgloss: $(ALL_GCC) | |
ae831be5 | 23788 | all-target-libgloss: maybe-configure-target-newlib |
3a12db16 | 23789 | configure-target-libiberty: $(ALL_GCC) |
b4a77b47 DD |
23790 | configure-target-libtermcap: $(ALL_GCC_C) |
23791 | configure-target-newlib: $(ALL_GCC) | |
7dda0df6 | 23792 | configure-target-rda: $(ALL_GCC_C) |
b4a77b47 | 23793 | configure-target-winsup: $(ALL_GCC_C) |
ae831be5 | 23794 | all-target-winsup: maybe-all-target-libiberty maybe-all-target-libtermcap |
a9590527 | 23795 | |
ae831be5 | 23796 | # Other target modules. Warning, these are not well tested. |
b4a77b47 | 23797 | configure-target-gperf: $(ALL_GCC_CXX) |
ae831be5 | 23798 | all-target-gperf: maybe-all-target-libiberty maybe-all-target-libstdc++-v3 |
b4a77b47 | 23799 | configure-target-qthreads: $(ALL_GCC_C) |
907a7241 | 23800 | |
930314a4 NN |
23801 | # Dependencies of maybe-foo on foo. These are used because, for example, |
23802 | # all-gcc only depends on all-gas if gas is present and being configured. | |
23803 | @maybe_dependencies@ | |
23804 | ||
a2cc058a NN |
23805 | # Serialization dependencies. Host configures don't work well in parallel to |
23806 | # each other, due to contention over config.cache. Target configures and | |
23807 | # build configures are similar. | |
23808 | @serialization_dependencies@ | |
23809 | ||
15723a45 NN |
23810 | # -------------------------------- |
23811 | # Regenerating top level configury | |
23812 | # -------------------------------- | |
252b5132 | 23813 | |
1086bc09 NN |
23814 | # Multilib.out tells target dirs what multilibs they should build. |
23815 | # There is really only one copy. We use the 'timestamp' method to | |
23816 | # work around various timestamp bugs on some systems. | |
23817 | # We use move-if-change so that it's only considered updated when it | |
23818 | # actually changes, because it has to depend on a phony target. | |
e6bfb94a | 23819 | multilib.out: maybe-all-gcc |
b40e3958 | 23820 | @r=`${PWD_COMMAND}`; export r; \ |
1086bc09 NN |
23821 | echo "Checking multilib configuration..."; \ |
23822 | $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \ | |
23823 | $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \ | |
1086bc09 | 23824 | |
14a2a2f1 | 23825 | # Rebuilding Makefile.in, using autogen. |
43be203f | 23826 | AUTOGEN = autogen |
6b784d9f | 23827 | $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def |
43be203f | 23828 | cd $(srcdir) && $(AUTOGEN) Makefile.def |
14a2a2f1 | 23829 | |
a0da8069 | 23830 | # Rebuilding Makefile. |
43be203f AO |
23831 | Makefile: $(srcdir)/Makefile.in config.status |
23832 | CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status | |
23833 | ||
23834 | config.status: configure $(gcc_version_trigger) | |
a0da8069 | 23835 | $(SHELL) ./config.status --recheck |
252b5132 | 23836 | |
a0da8069 | 23837 | # Rebuilding configure. |
43be203f | 23838 | AUTOCONF = autoconf |
6b784d9f | 23839 | $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4 |
43be203f | 23840 | cd $(srcdir) && $(AUTOCONF) |
252b5132 | 23841 | |
3728fade NN |
23842 | # ------------------------------ |
23843 | # Special directives to GNU Make | |
23844 | # ------------------------------ | |
23845 | ||
3728fade NN |
23846 | # Don't pass command-line variables to submakes. |
23847 | .NOEXPORT: | |
23848 | MAKEOVERRIDES= | |
23849 | ||
252b5132 | 23850 | # end of Makefile.in |