]>
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@ | |
145 | CFLAGS_FOR_BUILD = $(CFLAGS) | |
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 = \ | |
514 | 'AR=$(AR)' \ | |
515 | 'AS=$(AS)' \ | |
516 | 'CC=$(CC)' \ | |
517 | 'CXX=$(CXX)' \ | |
518 | 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \ | |
27f15fdd DD |
519 | 'BUILD_PREFIX=$(BUILD_PREFIX)' \ |
520 | 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \ | |
252b5132 | 521 | 'NM=$(NM)' \ |
b9459e83 | 522 | 'RANLIB=$(RANLIB)' \ |
252b5132 RH |
523 | 'WINDRES=$$(WINDRES_FOR_TARGET)' \ |
524 | "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \ | |
75205f78 | 525 | "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \ |
252b5132 RH |
526 | "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s/.*=$$/XFOO=/`" \ |
527 | "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s/.*=$$/XFOO=/`" \ | |
528 | "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s/.*=$$/XFOO=/`" \ | |
252b5132 RH |
529 | "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \ |
530 | "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \ | |
531 | "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s/.*=$$/XFOO=/`" \ | |
532 | "`echo 'ENQUIRE=$(ENQUIRE)' | sed -e s/.*=$$/XFOO=/`" \ | |
75205f78 | 533 | "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \ |
252b5132 RH |
534 | "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" |
535 | ||
536 | GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) | |
537 | ||
dd12c3a8 NN |
538 | .PHONY: configure-host |
539 | configure-host: maybe-configure-gcc \ | |
540 | maybe-configure-ash \ | |
541 | maybe-configure-autoconf \ | |
542 | maybe-configure-automake \ | |
543 | maybe-configure-bash \ | |
544 | maybe-configure-bfd \ | |
545 | maybe-configure-opcodes \ | |
546 | maybe-configure-binutils \ | |
547 | maybe-configure-bison \ | |
548 | maybe-configure-byacc \ | |
549 | maybe-configure-bzip2 \ | |
550 | maybe-configure-dejagnu \ | |
551 | maybe-configure-diff \ | |
552 | maybe-configure-dosutils \ | |
553 | maybe-configure-etc \ | |
554 | maybe-configure-fastjar \ | |
555 | maybe-configure-fileutils \ | |
556 | maybe-configure-findutils \ | |
557 | maybe-configure-find \ | |
558 | maybe-configure-flex \ | |
559 | maybe-configure-gas \ | |
560 | maybe-configure-gawk \ | |
561 | maybe-configure-gettext \ | |
562 | maybe-configure-gnuserv \ | |
563 | maybe-configure-gprof \ | |
564 | maybe-configure-gzip \ | |
565 | maybe-configure-hello \ | |
566 | maybe-configure-indent \ | |
567 | maybe-configure-intl \ | |
568 | maybe-configure-tcl \ | |
569 | maybe-configure-itcl \ | |
570 | maybe-configure-ld \ | |
571 | maybe-configure-libgui \ | |
572 | maybe-configure-libiberty \ | |
573 | maybe-configure-libtool \ | |
574 | maybe-configure-m4 \ | |
575 | maybe-configure-make \ | |
576 | maybe-configure-mmalloc \ | |
577 | maybe-configure-patch \ | |
578 | maybe-configure-perl \ | |
579 | maybe-configure-prms \ | |
580 | maybe-configure-rcs \ | |
581 | maybe-configure-readline \ | |
582 | maybe-configure-release \ | |
583 | maybe-configure-recode \ | |
584 | maybe-configure-sed \ | |
585 | maybe-configure-send-pr \ | |
586 | maybe-configure-shellutils \ | |
587 | maybe-configure-sid \ | |
588 | maybe-configure-sim \ | |
589 | maybe-configure-tar \ | |
590 | maybe-configure-texinfo \ | |
591 | maybe-configure-textutils \ | |
592 | maybe-configure-time \ | |
593 | maybe-configure-uudecode \ | |
594 | maybe-configure-wdiff \ | |
595 | maybe-configure-zip \ | |
596 | maybe-configure-zlib \ | |
597 | maybe-configure-gdb \ | |
598 | maybe-configure-expect \ | |
599 | maybe-configure-guile \ | |
600 | maybe-configure-tk \ | |
601 | maybe-configure-tix \ | |
602 | maybe-configure-libtermcap \ | |
603 | maybe-configure-utils | |
604 | .PHONY: configure-target | |
605 | configure-target: \ | |
606 | maybe-configure-target-libstdc++-v3 \ | |
607 | maybe-configure-target-newlib \ | |
608 | maybe-configure-target-libf2c \ | |
609 | maybe-configure-target-libobjc \ | |
610 | maybe-configure-target-libtermcap \ | |
611 | maybe-configure-target-winsup \ | |
612 | maybe-configure-target-libgloss \ | |
613 | maybe-configure-target-libiberty \ | |
614 | maybe-configure-target-gperf \ | |
615 | maybe-configure-target-examples \ | |
616 | maybe-configure-target-libffi \ | |
617 | maybe-configure-target-libjava \ | |
618 | maybe-configure-target-zlib \ | |
619 | maybe-configure-target-boehm-gc \ | |
620 | maybe-configure-target-qthreads \ | |
621 | maybe-configure-target-rda | |
252b5132 | 622 | |
252b5132 RH |
623 | # The target built for a native build. |
624 | .PHONY: all.normal | |
dd12c3a8 NN |
625 | all.normal: @all_build_modules@ all-host all-target |
626 | ||
627 | .PHONY: all-host | |
628 | all-host: maybe-all-gcc \ | |
629 | maybe-all-ash \ | |
630 | maybe-all-autoconf \ | |
631 | maybe-all-automake \ | |
632 | maybe-all-bash \ | |
633 | maybe-all-bfd \ | |
634 | maybe-all-opcodes \ | |
635 | maybe-all-binutils \ | |
636 | maybe-all-bison \ | |
637 | maybe-all-byacc \ | |
638 | maybe-all-bzip2 \ | |
639 | maybe-all-dejagnu \ | |
640 | maybe-all-diff \ | |
641 | maybe-all-dosutils \ | |
642 | maybe-all-etc \ | |
643 | maybe-all-fastjar \ | |
644 | maybe-all-fileutils \ | |
645 | maybe-all-findutils \ | |
646 | maybe-all-find \ | |
647 | maybe-all-flex \ | |
648 | maybe-all-gas \ | |
649 | maybe-all-gawk \ | |
650 | maybe-all-gettext \ | |
651 | maybe-all-gnuserv \ | |
652 | maybe-all-gprof \ | |
653 | maybe-all-gzip \ | |
654 | maybe-all-hello \ | |
655 | maybe-all-indent \ | |
656 | maybe-all-intl \ | |
657 | maybe-all-tcl \ | |
658 | maybe-all-itcl \ | |
659 | maybe-all-ld \ | |
660 | maybe-all-libgui \ | |
661 | maybe-all-libiberty \ | |
662 | maybe-all-libtool \ | |
663 | maybe-all-m4 \ | |
664 | maybe-all-make \ | |
665 | maybe-all-mmalloc \ | |
666 | maybe-all-patch \ | |
667 | maybe-all-perl \ | |
668 | maybe-all-prms \ | |
669 | maybe-all-rcs \ | |
670 | maybe-all-readline \ | |
671 | maybe-all-release \ | |
672 | maybe-all-recode \ | |
673 | maybe-all-sed \ | |
674 | maybe-all-send-pr \ | |
675 | maybe-all-shellutils \ | |
676 | maybe-all-sid \ | |
677 | maybe-all-sim \ | |
678 | maybe-all-tar \ | |
679 | maybe-all-texinfo \ | |
680 | maybe-all-textutils \ | |
681 | maybe-all-time \ | |
682 | maybe-all-uudecode \ | |
683 | maybe-all-wdiff \ | |
684 | maybe-all-zip \ | |
685 | maybe-all-zlib \ | |
686 | maybe-all-gdb \ | |
687 | maybe-all-expect \ | |
688 | maybe-all-guile \ | |
689 | maybe-all-tk \ | |
690 | maybe-all-tix \ | |
691 | maybe-all-libtermcap \ | |
692 | maybe-all-utils | |
693 | .PHONY: all-target | |
694 | all-target: \ | |
695 | maybe-all-target-libstdc++-v3 \ | |
696 | maybe-all-target-newlib \ | |
697 | maybe-all-target-libf2c \ | |
698 | maybe-all-target-libobjc \ | |
699 | maybe-all-target-libtermcap \ | |
700 | maybe-all-target-winsup \ | |
701 | maybe-all-target-libgloss \ | |
702 | maybe-all-target-libiberty \ | |
703 | maybe-all-target-gperf \ | |
704 | maybe-all-target-examples \ | |
705 | maybe-all-target-libffi \ | |
706 | maybe-all-target-libjava \ | |
707 | maybe-all-target-zlib \ | |
708 | maybe-all-target-boehm-gc \ | |
709 | maybe-all-target-qthreads \ | |
710 | maybe-all-target-rda | |
252b5132 RH |
711 | |
712 | # Do a target for all the subdirectories. A ``make do-X'' will do a | |
713 | # ``make X'' in all subdirectories (because, in general, there is a | |
714 | # dependency (below) of X upon do-X, a ``make X'' will also do this, | |
715 | # but it may do additional work as well). | |
e393202e | 716 | |
2a4cbe27 NN |
717 | .PHONY: do-info |
718 | do-info: info-host info-target | |
e393202e | 719 | |
2a4cbe27 NN |
720 | .PHONY: info-host |
721 | info-host: maybe-info-gcc \ | |
722 | maybe-info-ash \ | |
723 | maybe-info-autoconf \ | |
724 | maybe-info-automake \ | |
725 | maybe-info-bash \ | |
726 | maybe-info-bfd \ | |
727 | maybe-info-opcodes \ | |
728 | maybe-info-binutils \ | |
729 | maybe-info-bison \ | |
730 | maybe-info-byacc \ | |
731 | maybe-info-bzip2 \ | |
732 | maybe-info-dejagnu \ | |
733 | maybe-info-diff \ | |
734 | maybe-info-dosutils \ | |
735 | maybe-info-etc \ | |
736 | maybe-info-fastjar \ | |
737 | maybe-info-fileutils \ | |
738 | maybe-info-findutils \ | |
739 | maybe-info-find \ | |
740 | maybe-info-flex \ | |
741 | maybe-info-gas \ | |
742 | maybe-info-gawk \ | |
743 | maybe-info-gettext \ | |
744 | maybe-info-gnuserv \ | |
745 | maybe-info-gprof \ | |
746 | maybe-info-gzip \ | |
747 | maybe-info-hello \ | |
748 | maybe-info-indent \ | |
749 | maybe-info-intl \ | |
750 | maybe-info-tcl \ | |
751 | maybe-info-itcl \ | |
752 | maybe-info-ld \ | |
753 | maybe-info-libgui \ | |
754 | maybe-info-libiberty \ | |
755 | maybe-info-libtool \ | |
756 | maybe-info-m4 \ | |
757 | maybe-info-make \ | |
758 | maybe-info-mmalloc \ | |
759 | maybe-info-patch \ | |
760 | maybe-info-perl \ | |
761 | maybe-info-prms \ | |
762 | maybe-info-rcs \ | |
763 | maybe-info-readline \ | |
764 | maybe-info-release \ | |
765 | maybe-info-recode \ | |
766 | maybe-info-sed \ | |
767 | maybe-info-send-pr \ | |
768 | maybe-info-shellutils \ | |
769 | maybe-info-sid \ | |
770 | maybe-info-sim \ | |
771 | maybe-info-tar \ | |
772 | maybe-info-texinfo \ | |
773 | maybe-info-textutils \ | |
774 | maybe-info-time \ | |
775 | maybe-info-uudecode \ | |
776 | maybe-info-wdiff \ | |
777 | maybe-info-zip \ | |
778 | maybe-info-zlib \ | |
779 | maybe-info-gdb \ | |
780 | maybe-info-expect \ | |
781 | maybe-info-guile \ | |
782 | maybe-info-tk \ | |
783 | maybe-info-tix \ | |
784 | maybe-info-libtermcap \ | |
785 | maybe-info-utils | |
252b5132 | 786 | |
2a4cbe27 NN |
787 | .PHONY: info-target |
788 | info-target: \ | |
789 | maybe-info-target-libstdc++-v3 \ | |
790 | maybe-info-target-newlib \ | |
791 | maybe-info-target-libf2c \ | |
792 | maybe-info-target-libobjc \ | |
793 | maybe-info-target-libtermcap \ | |
794 | maybe-info-target-winsup \ | |
795 | maybe-info-target-libgloss \ | |
796 | maybe-info-target-libiberty \ | |
797 | maybe-info-target-gperf \ | |
798 | maybe-info-target-examples \ | |
799 | maybe-info-target-libffi \ | |
800 | maybe-info-target-libjava \ | |
801 | maybe-info-target-zlib \ | |
802 | maybe-info-target-boehm-gc \ | |
803 | maybe-info-target-qthreads \ | |
804 | maybe-info-target-rda | |
252b5132 | 805 | |
2a4cbe27 NN |
806 | # GCC, the eternal special case |
807 | .PHONY: maybe-info-gcc info-gcc | |
808 | maybe-info-gcc: | |
809 | info-gcc: \ | |
810 | configure-gcc | |
811 | @[ -f ./gcc/Makefile ] || exit 0; \ | |
b40e3958 L |
812 | r=`${PWD_COMMAND}`; export r; \ |
813 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
814 | $(SET_LIB_PATH) \ |
815 | for flag in $(EXTRA_GCC_FLAGS); do \ | |
816 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
817 | done; \ | |
818 | echo "Doing info in gcc" ; \ | |
819 | (cd gcc && \ | |
820 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
821 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
822 | "RANLIB=$${RANLIB}" \ | |
823 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
824 | info) \ | |
825 | || exit 1 | |
252b5132 | 826 | |
2a4cbe27 | 827 | # Host modules. |
252b5132 | 828 | |
2a4cbe27 NN |
829 | .PHONY: maybe-info-ash info-ash |
830 | maybe-info-ash: | |
252b5132 | 831 | |
2a4cbe27 NN |
832 | info-ash: \ |
833 | configure-ash | |
834 | @[ -f ./ash/Makefile ] || exit 0; \ | |
b40e3958 L |
835 | r=`${PWD_COMMAND}`; export r; \ |
836 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
837 | $(SET_LIB_PATH) \ |
838 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
839 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
840 | done; \ | |
841 | echo "Doing info in ash" ; \ | |
842 | (cd ash && \ | |
843 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
844 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
845 | "RANLIB=$${RANLIB}" \ | |
846 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
847 | info) \ | |
848 | || exit 1 | |
252b5132 | 849 | |
e393202e | 850 | |
2a4cbe27 NN |
851 | .PHONY: maybe-info-autoconf info-autoconf |
852 | maybe-info-autoconf: | |
e393202e | 853 | |
2a4cbe27 NN |
854 | info-autoconf: \ |
855 | configure-autoconf | |
856 | @[ -f ./autoconf/Makefile ] || exit 0; \ | |
b40e3958 L |
857 | r=`${PWD_COMMAND}`; export r; \ |
858 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
859 | $(SET_LIB_PATH) \ |
860 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
861 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
862 | done; \ | |
863 | echo "Doing info in autoconf" ; \ | |
864 | (cd autoconf && \ | |
865 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
866 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
867 | "RANLIB=$${RANLIB}" \ | |
868 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
869 | info) \ | |
870 | || exit 1 | |
e393202e NN |
871 | |
872 | ||
2a4cbe27 NN |
873 | .PHONY: maybe-info-automake info-automake |
874 | maybe-info-automake: | |
e393202e | 875 | |
2a4cbe27 NN |
876 | info-automake: \ |
877 | configure-automake | |
878 | @[ -f ./automake/Makefile ] || exit 0; \ | |
b40e3958 L |
879 | r=`${PWD_COMMAND}`; export r; \ |
880 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
881 | $(SET_LIB_PATH) \ |
882 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
883 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
884 | done; \ | |
885 | echo "Doing info in automake" ; \ | |
886 | (cd automake && \ | |
887 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
888 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
889 | "RANLIB=$${RANLIB}" \ | |
890 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
891 | info) \ | |
892 | || exit 1 | |
e393202e | 893 | |
e393202e | 894 | |
2a4cbe27 NN |
895 | .PHONY: maybe-info-bash info-bash |
896 | maybe-info-bash: | |
897 | ||
898 | info-bash: \ | |
899 | configure-bash | |
900 | @[ -f ./bash/Makefile ] || exit 0; \ | |
b40e3958 L |
901 | r=`${PWD_COMMAND}`; export r; \ |
902 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
903 | $(SET_LIB_PATH) \ |
904 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
905 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
906 | done; \ | |
907 | echo "Doing info in bash" ; \ | |
908 | (cd bash && \ | |
909 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
910 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
911 | "RANLIB=$${RANLIB}" \ | |
912 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
913 | info) \ | |
914 | || exit 1 | |
e393202e | 915 | |
e393202e | 916 | |
2a4cbe27 NN |
917 | .PHONY: maybe-info-bfd info-bfd |
918 | maybe-info-bfd: | |
252b5132 | 919 | |
2a4cbe27 NN |
920 | info-bfd: \ |
921 | configure-bfd | |
922 | @[ -f ./bfd/Makefile ] || exit 0; \ | |
b40e3958 L |
923 | r=`${PWD_COMMAND}`; export r; \ |
924 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
925 | $(SET_LIB_PATH) \ |
926 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
927 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
928 | done; \ | |
929 | echo "Doing info in bfd" ; \ | |
930 | (cd bfd && \ | |
931 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
932 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
933 | "RANLIB=$${RANLIB}" \ | |
934 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
935 | info) \ | |
936 | || exit 1 | |
252b5132 | 937 | |
252b5132 | 938 | |
2a4cbe27 NN |
939 | .PHONY: maybe-info-opcodes info-opcodes |
940 | maybe-info-opcodes: | |
941 | ||
942 | info-opcodes: \ | |
943 | configure-opcodes | |
944 | @[ -f ./opcodes/Makefile ] || exit 0; \ | |
b40e3958 L |
945 | r=`${PWD_COMMAND}`; export r; \ |
946 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
947 | $(SET_LIB_PATH) \ |
948 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
949 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
950 | done; \ | |
951 | echo "Doing info in opcodes" ; \ | |
952 | (cd opcodes && \ | |
953 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
954 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
955 | "RANLIB=$${RANLIB}" \ | |
956 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
957 | info) \ | |
958 | || exit 1 | |
959 | ||
960 | ||
961 | .PHONY: maybe-info-binutils info-binutils | |
962 | maybe-info-binutils: | |
963 | ||
964 | info-binutils: \ | |
965 | configure-binutils | |
966 | @[ -f ./binutils/Makefile ] || exit 0; \ | |
b40e3958 L |
967 | r=`${PWD_COMMAND}`; export r; \ |
968 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
969 | $(SET_LIB_PATH) \ |
970 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
971 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
972 | done; \ | |
973 | echo "Doing info in binutils" ; \ | |
974 | (cd binutils && \ | |
975 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
976 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
977 | "RANLIB=$${RANLIB}" \ | |
978 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
979 | info) \ | |
980 | || exit 1 | |
981 | ||
982 | ||
983 | .PHONY: maybe-info-bison info-bison | |
984 | maybe-info-bison: | |
985 | ||
986 | info-bison: \ | |
987 | configure-bison | |
988 | @[ -f ./bison/Makefile ] || exit 0; \ | |
b40e3958 L |
989 | r=`${PWD_COMMAND}`; export r; \ |
990 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
991 | $(SET_LIB_PATH) \ |
992 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
993 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
994 | done; \ | |
995 | echo "Doing info in bison" ; \ | |
996 | (cd bison && \ | |
997 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
998 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
999 | "RANLIB=$${RANLIB}" \ | |
1000 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1001 | info) \ | |
1002 | || exit 1 | |
1003 | ||
1004 | ||
1005 | .PHONY: maybe-info-byacc info-byacc | |
1006 | maybe-info-byacc: | |
1007 | ||
1008 | info-byacc: \ | |
1009 | configure-byacc | |
1010 | @[ -f ./byacc/Makefile ] || exit 0; \ | |
b40e3958 L |
1011 | r=`${PWD_COMMAND}`; export r; \ |
1012 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1013 | $(SET_LIB_PATH) \ |
1014 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1015 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1016 | done; \ | |
1017 | echo "Doing info in byacc" ; \ | |
1018 | (cd byacc && \ | |
1019 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1020 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1021 | "RANLIB=$${RANLIB}" \ | |
1022 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1023 | info) \ | |
1024 | || exit 1 | |
1025 | ||
1026 | ||
1027 | .PHONY: maybe-info-bzip2 info-bzip2 | |
1028 | maybe-info-bzip2: | |
1029 | ||
1030 | info-bzip2: \ | |
1031 | configure-bzip2 | |
1032 | @[ -f ./bzip2/Makefile ] || exit 0; \ | |
b40e3958 L |
1033 | r=`${PWD_COMMAND}`; export r; \ |
1034 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1035 | $(SET_LIB_PATH) \ |
1036 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1037 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1038 | done; \ | |
1039 | echo "Doing info in bzip2" ; \ | |
1040 | (cd bzip2 && \ | |
1041 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1042 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1043 | "RANLIB=$${RANLIB}" \ | |
1044 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1045 | info) \ | |
1046 | || exit 1 | |
1047 | ||
1048 | ||
1049 | .PHONY: maybe-info-dejagnu info-dejagnu | |
1050 | maybe-info-dejagnu: | |
1051 | ||
1052 | info-dejagnu: \ | |
1053 | configure-dejagnu | |
1054 | @[ -f ./dejagnu/Makefile ] || exit 0; \ | |
b40e3958 L |
1055 | r=`${PWD_COMMAND}`; export r; \ |
1056 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1057 | $(SET_LIB_PATH) \ |
1058 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1059 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1060 | done; \ | |
1061 | echo "Doing info in dejagnu" ; \ | |
1062 | (cd dejagnu && \ | |
1063 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1064 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1065 | "RANLIB=$${RANLIB}" \ | |
1066 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1067 | info) \ | |
1068 | || exit 1 | |
1069 | ||
1070 | ||
1071 | .PHONY: maybe-info-diff info-diff | |
1072 | maybe-info-diff: | |
1073 | ||
1074 | info-diff: \ | |
1075 | configure-diff | |
1076 | @[ -f ./diff/Makefile ] || exit 0; \ | |
b40e3958 L |
1077 | r=`${PWD_COMMAND}`; export r; \ |
1078 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1079 | $(SET_LIB_PATH) \ |
1080 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1081 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1082 | done; \ | |
1083 | echo "Doing info in diff" ; \ | |
1084 | (cd diff && \ | |
1085 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1086 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1087 | "RANLIB=$${RANLIB}" \ | |
1088 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1089 | info) \ | |
1090 | || exit 1 | |
1091 | ||
1092 | ||
1093 | .PHONY: maybe-info-dosutils info-dosutils | |
1094 | maybe-info-dosutils: | |
1095 | ||
1096 | info-dosutils: \ | |
1097 | configure-dosutils | |
1098 | @[ -f ./dosutils/Makefile ] || exit 0; \ | |
b40e3958 L |
1099 | r=`${PWD_COMMAND}`; export r; \ |
1100 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1101 | $(SET_LIB_PATH) \ |
1102 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1103 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1104 | done; \ | |
1105 | echo "Doing info in dosutils" ; \ | |
1106 | (cd dosutils && \ | |
1107 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1108 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1109 | "RANLIB=$${RANLIB}" \ | |
1110 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1111 | info) \ | |
1112 | || exit 1 | |
1113 | ||
1114 | ||
1115 | .PHONY: maybe-info-etc info-etc | |
1116 | maybe-info-etc: | |
1117 | ||
1118 | info-etc: \ | |
1119 | configure-etc | |
1120 | @[ -f ./etc/Makefile ] || exit 0; \ | |
b40e3958 L |
1121 | r=`${PWD_COMMAND}`; export r; \ |
1122 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1123 | $(SET_LIB_PATH) \ |
1124 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1125 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1126 | done; \ | |
1127 | echo "Doing info in etc" ; \ | |
1128 | (cd etc && \ | |
1129 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1130 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1131 | "RANLIB=$${RANLIB}" \ | |
1132 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1133 | info) \ | |
1134 | || exit 1 | |
1135 | ||
1136 | ||
1137 | .PHONY: maybe-info-fastjar info-fastjar | |
1138 | maybe-info-fastjar: | |
1139 | ||
1140 | info-fastjar: \ | |
1141 | configure-fastjar | |
1142 | @[ -f ./fastjar/Makefile ] || exit 0; \ | |
b40e3958 L |
1143 | r=`${PWD_COMMAND}`; export r; \ |
1144 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1145 | $(SET_LIB_PATH) \ |
1146 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1147 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1148 | done; \ | |
1149 | echo "Doing info in fastjar" ; \ | |
1150 | (cd fastjar && \ | |
1151 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1152 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1153 | "RANLIB=$${RANLIB}" \ | |
1154 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1155 | info) \ | |
1156 | || exit 1 | |
1157 | ||
1158 | ||
1159 | .PHONY: maybe-info-fileutils info-fileutils | |
1160 | maybe-info-fileutils: | |
1161 | ||
1162 | info-fileutils: \ | |
1163 | configure-fileutils | |
1164 | @[ -f ./fileutils/Makefile ] || exit 0; \ | |
b40e3958 L |
1165 | r=`${PWD_COMMAND}`; export r; \ |
1166 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1167 | $(SET_LIB_PATH) \ |
1168 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1169 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1170 | done; \ | |
1171 | echo "Doing info in fileutils" ; \ | |
1172 | (cd fileutils && \ | |
1173 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1174 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1175 | "RANLIB=$${RANLIB}" \ | |
1176 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1177 | info) \ | |
1178 | || exit 1 | |
1179 | ||
1180 | ||
1181 | .PHONY: maybe-info-findutils info-findutils | |
1182 | maybe-info-findutils: | |
1183 | ||
1184 | info-findutils: \ | |
1185 | configure-findutils | |
1186 | @[ -f ./findutils/Makefile ] || exit 0; \ | |
b40e3958 L |
1187 | r=`${PWD_COMMAND}`; export r; \ |
1188 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1189 | $(SET_LIB_PATH) \ |
1190 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1191 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1192 | done; \ | |
1193 | echo "Doing info in findutils" ; \ | |
1194 | (cd findutils && \ | |
1195 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1196 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1197 | "RANLIB=$${RANLIB}" \ | |
1198 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1199 | info) \ | |
1200 | || exit 1 | |
1201 | ||
1202 | ||
1203 | .PHONY: maybe-info-find info-find | |
1204 | maybe-info-find: | |
1205 | ||
1206 | info-find: \ | |
1207 | configure-find | |
1208 | @[ -f ./find/Makefile ] || exit 0; \ | |
b40e3958 L |
1209 | r=`${PWD_COMMAND}`; export r; \ |
1210 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1211 | $(SET_LIB_PATH) \ |
1212 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1213 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1214 | done; \ | |
1215 | echo "Doing info in find" ; \ | |
1216 | (cd find && \ | |
1217 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1218 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1219 | "RANLIB=$${RANLIB}" \ | |
1220 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1221 | info) \ | |
1222 | || exit 1 | |
1223 | ||
1224 | ||
1225 | .PHONY: maybe-info-flex info-flex | |
1226 | maybe-info-flex: | |
1227 | ||
1228 | info-flex: \ | |
1229 | configure-flex | |
1230 | @[ -f ./flex/Makefile ] || exit 0; \ | |
b40e3958 L |
1231 | r=`${PWD_COMMAND}`; export r; \ |
1232 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1233 | $(SET_LIB_PATH) \ |
1234 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1235 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1236 | done; \ | |
1237 | echo "Doing info in flex" ; \ | |
1238 | (cd flex && \ | |
1239 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1240 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1241 | "RANLIB=$${RANLIB}" \ | |
1242 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1243 | info) \ | |
1244 | || exit 1 | |
1245 | ||
1246 | ||
1247 | .PHONY: maybe-info-gas info-gas | |
1248 | maybe-info-gas: | |
1249 | ||
1250 | info-gas: \ | |
1251 | configure-gas | |
1252 | @[ -f ./gas/Makefile ] || exit 0; \ | |
b40e3958 L |
1253 | r=`${PWD_COMMAND}`; export r; \ |
1254 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1255 | $(SET_LIB_PATH) \ |
1256 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1257 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1258 | done; \ | |
1259 | echo "Doing info in gas" ; \ | |
1260 | (cd gas && \ | |
1261 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1262 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1263 | "RANLIB=$${RANLIB}" \ | |
1264 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1265 | info) \ | |
1266 | || exit 1 | |
1267 | ||
1268 | ||
1269 | .PHONY: maybe-info-gawk info-gawk | |
1270 | maybe-info-gawk: | |
1271 | ||
1272 | info-gawk: \ | |
1273 | configure-gawk | |
1274 | @[ -f ./gawk/Makefile ] || exit 0; \ | |
b40e3958 L |
1275 | r=`${PWD_COMMAND}`; export r; \ |
1276 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1277 | $(SET_LIB_PATH) \ |
1278 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1279 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1280 | done; \ | |
1281 | echo "Doing info in gawk" ; \ | |
1282 | (cd gawk && \ | |
1283 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1284 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1285 | "RANLIB=$${RANLIB}" \ | |
1286 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1287 | info) \ | |
1288 | || exit 1 | |
1289 | ||
1290 | ||
1291 | .PHONY: maybe-info-gettext info-gettext | |
1292 | maybe-info-gettext: | |
1293 | ||
1294 | info-gettext: \ | |
1295 | configure-gettext | |
1296 | @[ -f ./gettext/Makefile ] || exit 0; \ | |
b40e3958 L |
1297 | r=`${PWD_COMMAND}`; export r; \ |
1298 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1299 | $(SET_LIB_PATH) \ |
1300 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1301 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1302 | done; \ | |
1303 | echo "Doing info in gettext" ; \ | |
1304 | (cd gettext && \ | |
1305 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1306 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1307 | "RANLIB=$${RANLIB}" \ | |
1308 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1309 | info) \ | |
1310 | || exit 1 | |
1311 | ||
1312 | ||
1313 | .PHONY: maybe-info-gnuserv info-gnuserv | |
1314 | maybe-info-gnuserv: | |
1315 | ||
1316 | info-gnuserv: \ | |
1317 | configure-gnuserv | |
1318 | @[ -f ./gnuserv/Makefile ] || exit 0; \ | |
b40e3958 L |
1319 | r=`${PWD_COMMAND}`; export r; \ |
1320 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1321 | $(SET_LIB_PATH) \ |
1322 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1323 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1324 | done; \ | |
1325 | echo "Doing info in gnuserv" ; \ | |
1326 | (cd gnuserv && \ | |
1327 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1328 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1329 | "RANLIB=$${RANLIB}" \ | |
1330 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1331 | info) \ | |
1332 | || exit 1 | |
1333 | ||
1334 | ||
1335 | .PHONY: maybe-info-gprof info-gprof | |
1336 | maybe-info-gprof: | |
1337 | ||
1338 | info-gprof: \ | |
1339 | configure-gprof | |
1340 | @[ -f ./gprof/Makefile ] || exit 0; \ | |
b40e3958 L |
1341 | r=`${PWD_COMMAND}`; export r; \ |
1342 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1343 | $(SET_LIB_PATH) \ |
1344 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1345 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1346 | done; \ | |
1347 | echo "Doing info in gprof" ; \ | |
1348 | (cd gprof && \ | |
1349 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1350 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1351 | "RANLIB=$${RANLIB}" \ | |
1352 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1353 | info) \ | |
1354 | || exit 1 | |
1355 | ||
1356 | ||
1357 | .PHONY: maybe-info-gzip info-gzip | |
1358 | maybe-info-gzip: | |
1359 | ||
1360 | info-gzip: \ | |
1361 | configure-gzip | |
1362 | @[ -f ./gzip/Makefile ] || exit 0; \ | |
b40e3958 L |
1363 | r=`${PWD_COMMAND}`; export r; \ |
1364 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1365 | $(SET_LIB_PATH) \ |
1366 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1367 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1368 | done; \ | |
1369 | echo "Doing info in gzip" ; \ | |
1370 | (cd gzip && \ | |
1371 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1372 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1373 | "RANLIB=$${RANLIB}" \ | |
1374 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1375 | info) \ | |
1376 | || exit 1 | |
1377 | ||
1378 | ||
1379 | .PHONY: maybe-info-hello info-hello | |
1380 | maybe-info-hello: | |
1381 | ||
1382 | info-hello: \ | |
1383 | configure-hello | |
1384 | @[ -f ./hello/Makefile ] || exit 0; \ | |
b40e3958 L |
1385 | r=`${PWD_COMMAND}`; export r; \ |
1386 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1387 | $(SET_LIB_PATH) \ |
1388 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1389 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1390 | done; \ | |
1391 | echo "Doing info in hello" ; \ | |
1392 | (cd hello && \ | |
1393 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1394 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1395 | "RANLIB=$${RANLIB}" \ | |
1396 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1397 | info) \ | |
1398 | || exit 1 | |
1399 | ||
1400 | ||
1401 | .PHONY: maybe-info-indent info-indent | |
1402 | maybe-info-indent: | |
1403 | ||
1404 | info-indent: \ | |
1405 | configure-indent | |
1406 | @[ -f ./indent/Makefile ] || exit 0; \ | |
b40e3958 L |
1407 | r=`${PWD_COMMAND}`; export r; \ |
1408 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1409 | $(SET_LIB_PATH) \ |
1410 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1411 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1412 | done; \ | |
1413 | echo "Doing info in indent" ; \ | |
1414 | (cd indent && \ | |
1415 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1416 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1417 | "RANLIB=$${RANLIB}" \ | |
1418 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1419 | info) \ | |
1420 | || exit 1 | |
1421 | ||
1422 | ||
1423 | .PHONY: maybe-info-intl info-intl | |
1424 | maybe-info-intl: | |
1425 | ||
1426 | info-intl: \ | |
1427 | configure-intl | |
1428 | @[ -f ./intl/Makefile ] || exit 0; \ | |
b40e3958 L |
1429 | r=`${PWD_COMMAND}`; export r; \ |
1430 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1431 | $(SET_LIB_PATH) \ |
1432 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1433 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1434 | done; \ | |
1435 | echo "Doing info in intl" ; \ | |
1436 | (cd intl && \ | |
1437 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1438 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1439 | "RANLIB=$${RANLIB}" \ | |
1440 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1441 | info) \ | |
1442 | || exit 1 | |
1443 | ||
1444 | ||
1445 | .PHONY: maybe-info-tcl info-tcl | |
1446 | maybe-info-tcl: | |
1447 | ||
1448 | info-tcl: \ | |
1449 | configure-tcl | |
1450 | @[ -f ./tcl/Makefile ] || exit 0; \ | |
b40e3958 L |
1451 | r=`${PWD_COMMAND}`; export r; \ |
1452 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1453 | $(SET_LIB_PATH) \ |
1454 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1455 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1456 | done; \ | |
1457 | echo "Doing info in tcl" ; \ | |
1458 | (cd tcl && \ | |
1459 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1460 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1461 | "RANLIB=$${RANLIB}" \ | |
1462 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1463 | info) \ | |
1464 | || exit 1 | |
1465 | ||
1466 | ||
1467 | .PHONY: maybe-info-itcl info-itcl | |
1468 | maybe-info-itcl: | |
1469 | ||
1470 | info-itcl: \ | |
1471 | configure-itcl | |
1472 | @[ -f ./itcl/Makefile ] || exit 0; \ | |
b40e3958 L |
1473 | r=`${PWD_COMMAND}`; export r; \ |
1474 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1475 | $(SET_LIB_PATH) \ |
1476 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1477 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1478 | done; \ | |
1479 | echo "Doing info in itcl" ; \ | |
1480 | (cd itcl && \ | |
1481 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1482 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1483 | "RANLIB=$${RANLIB}" \ | |
1484 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1485 | info) \ | |
1486 | || exit 1 | |
1487 | ||
1488 | ||
1489 | .PHONY: maybe-info-ld info-ld | |
1490 | maybe-info-ld: | |
1491 | ||
1492 | info-ld: \ | |
1493 | configure-ld | |
1494 | @[ -f ./ld/Makefile ] || exit 0; \ | |
b40e3958 L |
1495 | r=`${PWD_COMMAND}`; export r; \ |
1496 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1497 | $(SET_LIB_PATH) \ |
1498 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1499 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1500 | done; \ | |
1501 | echo "Doing info in ld" ; \ | |
1502 | (cd ld && \ | |
1503 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1504 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1505 | "RANLIB=$${RANLIB}" \ | |
1506 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1507 | info) \ | |
1508 | || exit 1 | |
1509 | ||
1510 | ||
1511 | .PHONY: maybe-info-libgui info-libgui | |
1512 | maybe-info-libgui: | |
1513 | ||
1514 | info-libgui: \ | |
1515 | configure-libgui | |
1516 | @[ -f ./libgui/Makefile ] || exit 0; \ | |
b40e3958 L |
1517 | r=`${PWD_COMMAND}`; export r; \ |
1518 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1519 | $(SET_LIB_PATH) \ |
1520 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1521 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1522 | done; \ | |
1523 | echo "Doing info in libgui" ; \ | |
1524 | (cd libgui && \ | |
1525 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1526 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1527 | "RANLIB=$${RANLIB}" \ | |
1528 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1529 | info) \ | |
1530 | || exit 1 | |
1531 | ||
1532 | ||
1533 | .PHONY: maybe-info-libiberty info-libiberty | |
1534 | maybe-info-libiberty: | |
1535 | ||
1536 | info-libiberty: \ | |
1537 | configure-libiberty | |
1538 | @[ -f ./libiberty/Makefile ] || exit 0; \ | |
b40e3958 L |
1539 | r=`${PWD_COMMAND}`; export r; \ |
1540 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1541 | $(SET_LIB_PATH) \ |
1542 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1543 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1544 | done; \ | |
1545 | echo "Doing info in libiberty" ; \ | |
1546 | (cd libiberty && \ | |
1547 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1548 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1549 | "RANLIB=$${RANLIB}" \ | |
1550 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1551 | info) \ | |
1552 | || exit 1 | |
1553 | ||
1554 | ||
1555 | .PHONY: maybe-info-libtool info-libtool | |
1556 | maybe-info-libtool: | |
1557 | ||
1558 | info-libtool: \ | |
1559 | configure-libtool | |
1560 | @[ -f ./libtool/Makefile ] || exit 0; \ | |
b40e3958 L |
1561 | r=`${PWD_COMMAND}`; export r; \ |
1562 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1563 | $(SET_LIB_PATH) \ |
1564 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1565 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1566 | done; \ | |
1567 | echo "Doing info in libtool" ; \ | |
1568 | (cd libtool && \ | |
1569 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1570 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1571 | "RANLIB=$${RANLIB}" \ | |
1572 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1573 | info) \ | |
1574 | || exit 1 | |
1575 | ||
1576 | ||
1577 | .PHONY: maybe-info-m4 info-m4 | |
1578 | maybe-info-m4: | |
1579 | ||
1580 | info-m4: \ | |
1581 | configure-m4 | |
1582 | @[ -f ./m4/Makefile ] || exit 0; \ | |
b40e3958 L |
1583 | r=`${PWD_COMMAND}`; export r; \ |
1584 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1585 | $(SET_LIB_PATH) \ |
1586 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1587 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1588 | done; \ | |
1589 | echo "Doing info in m4" ; \ | |
1590 | (cd m4 && \ | |
1591 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1592 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1593 | "RANLIB=$${RANLIB}" \ | |
1594 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1595 | info) \ | |
1596 | || exit 1 | |
1597 | ||
1598 | ||
1599 | .PHONY: maybe-info-make info-make | |
1600 | maybe-info-make: | |
1601 | ||
1602 | info-make: \ | |
1603 | configure-make | |
1604 | @[ -f ./make/Makefile ] || exit 0; \ | |
b40e3958 L |
1605 | r=`${PWD_COMMAND}`; export r; \ |
1606 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1607 | $(SET_LIB_PATH) \ |
1608 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1609 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1610 | done; \ | |
1611 | echo "Doing info in make" ; \ | |
1612 | (cd make && \ | |
1613 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1614 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1615 | "RANLIB=$${RANLIB}" \ | |
1616 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1617 | info) \ | |
1618 | || exit 1 | |
1619 | ||
1620 | ||
1621 | .PHONY: maybe-info-mmalloc info-mmalloc | |
1622 | maybe-info-mmalloc: | |
1623 | ||
1624 | info-mmalloc: \ | |
1625 | configure-mmalloc | |
1626 | @[ -f ./mmalloc/Makefile ] || exit 0; \ | |
b40e3958 L |
1627 | r=`${PWD_COMMAND}`; export r; \ |
1628 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1629 | $(SET_LIB_PATH) \ |
1630 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1631 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1632 | done; \ | |
1633 | echo "Doing info in mmalloc" ; \ | |
1634 | (cd mmalloc && \ | |
1635 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1636 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1637 | "RANLIB=$${RANLIB}" \ | |
1638 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1639 | info) \ | |
1640 | || exit 1 | |
1641 | ||
1642 | ||
1643 | .PHONY: maybe-info-patch info-patch | |
1644 | maybe-info-patch: | |
1645 | ||
1646 | info-patch: \ | |
1647 | configure-patch | |
1648 | @[ -f ./patch/Makefile ] || exit 0; \ | |
b40e3958 L |
1649 | r=`${PWD_COMMAND}`; export r; \ |
1650 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1651 | $(SET_LIB_PATH) \ |
1652 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1653 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1654 | done; \ | |
1655 | echo "Doing info in patch" ; \ | |
1656 | (cd patch && \ | |
1657 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1658 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1659 | "RANLIB=$${RANLIB}" \ | |
1660 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1661 | info) \ | |
1662 | || exit 1 | |
1663 | ||
1664 | ||
1665 | .PHONY: maybe-info-perl info-perl | |
1666 | maybe-info-perl: | |
1667 | ||
1668 | info-perl: \ | |
1669 | configure-perl | |
1670 | @[ -f ./perl/Makefile ] || exit 0; \ | |
b40e3958 L |
1671 | r=`${PWD_COMMAND}`; export r; \ |
1672 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1673 | $(SET_LIB_PATH) \ |
1674 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1675 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1676 | done; \ | |
1677 | echo "Doing info in perl" ; \ | |
1678 | (cd perl && \ | |
1679 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1680 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1681 | "RANLIB=$${RANLIB}" \ | |
1682 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1683 | info) \ | |
1684 | || exit 1 | |
1685 | ||
1686 | ||
1687 | .PHONY: maybe-info-prms info-prms | |
1688 | maybe-info-prms: | |
1689 | ||
1690 | info-prms: \ | |
1691 | configure-prms | |
1692 | @[ -f ./prms/Makefile ] || exit 0; \ | |
b40e3958 L |
1693 | r=`${PWD_COMMAND}`; export r; \ |
1694 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1695 | $(SET_LIB_PATH) \ |
1696 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1697 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1698 | done; \ | |
1699 | echo "Doing info in prms" ; \ | |
1700 | (cd prms && \ | |
1701 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1702 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1703 | "RANLIB=$${RANLIB}" \ | |
1704 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1705 | info) \ | |
1706 | || exit 1 | |
1707 | ||
1708 | ||
1709 | .PHONY: maybe-info-rcs info-rcs | |
1710 | maybe-info-rcs: | |
1711 | ||
1712 | info-rcs: \ | |
1713 | configure-rcs | |
1714 | @[ -f ./rcs/Makefile ] || exit 0; \ | |
b40e3958 L |
1715 | r=`${PWD_COMMAND}`; export r; \ |
1716 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1717 | $(SET_LIB_PATH) \ |
1718 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1719 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1720 | done; \ | |
1721 | echo "Doing info in rcs" ; \ | |
1722 | (cd rcs && \ | |
1723 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1724 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1725 | "RANLIB=$${RANLIB}" \ | |
1726 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1727 | info) \ | |
1728 | || exit 1 | |
1729 | ||
1730 | ||
1731 | .PHONY: maybe-info-readline info-readline | |
1732 | maybe-info-readline: | |
1733 | ||
1734 | info-readline: \ | |
1735 | configure-readline | |
1736 | @[ -f ./readline/Makefile ] || exit 0; \ | |
b40e3958 L |
1737 | r=`${PWD_COMMAND}`; export r; \ |
1738 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1739 | $(SET_LIB_PATH) \ |
1740 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1741 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1742 | done; \ | |
1743 | echo "Doing info in readline" ; \ | |
1744 | (cd readline && \ | |
1745 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1746 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1747 | "RANLIB=$${RANLIB}" \ | |
1748 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1749 | info) \ | |
1750 | || exit 1 | |
1751 | ||
1752 | ||
1753 | .PHONY: maybe-info-release info-release | |
1754 | maybe-info-release: | |
1755 | ||
1756 | info-release: \ | |
1757 | configure-release | |
1758 | @[ -f ./release/Makefile ] || exit 0; \ | |
b40e3958 L |
1759 | r=`${PWD_COMMAND}`; export r; \ |
1760 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1761 | $(SET_LIB_PATH) \ |
1762 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1763 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1764 | done; \ | |
1765 | echo "Doing info in release" ; \ | |
1766 | (cd release && \ | |
1767 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1768 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1769 | "RANLIB=$${RANLIB}" \ | |
1770 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1771 | info) \ | |
1772 | || exit 1 | |
1773 | ||
1774 | ||
1775 | .PHONY: maybe-info-recode info-recode | |
1776 | maybe-info-recode: | |
1777 | ||
1778 | info-recode: \ | |
1779 | configure-recode | |
1780 | @[ -f ./recode/Makefile ] || exit 0; \ | |
b40e3958 L |
1781 | r=`${PWD_COMMAND}`; export r; \ |
1782 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1783 | $(SET_LIB_PATH) \ |
1784 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1785 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1786 | done; \ | |
1787 | echo "Doing info in recode" ; \ | |
1788 | (cd recode && \ | |
1789 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1790 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1791 | "RANLIB=$${RANLIB}" \ | |
1792 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1793 | info) \ | |
1794 | || exit 1 | |
1795 | ||
1796 | ||
1797 | .PHONY: maybe-info-sed info-sed | |
1798 | maybe-info-sed: | |
1799 | ||
1800 | info-sed: \ | |
1801 | configure-sed | |
1802 | @[ -f ./sed/Makefile ] || exit 0; \ | |
b40e3958 L |
1803 | r=`${PWD_COMMAND}`; export r; \ |
1804 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1805 | $(SET_LIB_PATH) \ |
1806 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1807 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1808 | done; \ | |
1809 | echo "Doing info in sed" ; \ | |
1810 | (cd sed && \ | |
1811 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1812 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1813 | "RANLIB=$${RANLIB}" \ | |
1814 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1815 | info) \ | |
1816 | || exit 1 | |
1817 | ||
1818 | ||
1819 | .PHONY: maybe-info-send-pr info-send-pr | |
1820 | maybe-info-send-pr: | |
1821 | ||
1822 | info-send-pr: \ | |
1823 | configure-send-pr | |
1824 | @[ -f ./send-pr/Makefile ] || exit 0; \ | |
b40e3958 L |
1825 | r=`${PWD_COMMAND}`; export r; \ |
1826 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1827 | $(SET_LIB_PATH) \ |
1828 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1829 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1830 | done; \ | |
1831 | echo "Doing info in send-pr" ; \ | |
1832 | (cd send-pr && \ | |
1833 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1834 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1835 | "RANLIB=$${RANLIB}" \ | |
1836 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1837 | info) \ | |
1838 | || exit 1 | |
1839 | ||
1840 | ||
1841 | .PHONY: maybe-info-shellutils info-shellutils | |
1842 | maybe-info-shellutils: | |
1843 | ||
1844 | info-shellutils: \ | |
1845 | configure-shellutils | |
1846 | @[ -f ./shellutils/Makefile ] || exit 0; \ | |
b40e3958 L |
1847 | r=`${PWD_COMMAND}`; export r; \ |
1848 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1849 | $(SET_LIB_PATH) \ |
1850 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1851 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1852 | done; \ | |
1853 | echo "Doing info in shellutils" ; \ | |
1854 | (cd shellutils && \ | |
1855 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1856 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1857 | "RANLIB=$${RANLIB}" \ | |
1858 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1859 | info) \ | |
1860 | || exit 1 | |
1861 | ||
1862 | ||
1863 | .PHONY: maybe-info-sid info-sid | |
1864 | maybe-info-sid: | |
1865 | ||
1866 | info-sid: \ | |
1867 | configure-sid | |
1868 | @[ -f ./sid/Makefile ] || exit 0; \ | |
b40e3958 L |
1869 | r=`${PWD_COMMAND}`; export r; \ |
1870 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1871 | $(SET_LIB_PATH) \ |
1872 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1873 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1874 | done; \ | |
1875 | echo "Doing info in sid" ; \ | |
1876 | (cd sid && \ | |
1877 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1878 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1879 | "RANLIB=$${RANLIB}" \ | |
1880 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1881 | info) \ | |
1882 | || exit 1 | |
1883 | ||
1884 | ||
1885 | .PHONY: maybe-info-sim info-sim | |
1886 | maybe-info-sim: | |
1887 | ||
1888 | info-sim: \ | |
1889 | configure-sim | |
1890 | @[ -f ./sim/Makefile ] || exit 0; \ | |
b40e3958 L |
1891 | r=`${PWD_COMMAND}`; export r; \ |
1892 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1893 | $(SET_LIB_PATH) \ |
1894 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1895 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1896 | done; \ | |
1897 | echo "Doing info in sim" ; \ | |
1898 | (cd sim && \ | |
1899 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1900 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1901 | "RANLIB=$${RANLIB}" \ | |
1902 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1903 | info) \ | |
1904 | || exit 1 | |
1905 | ||
1906 | ||
1907 | .PHONY: maybe-info-tar info-tar | |
1908 | maybe-info-tar: | |
1909 | ||
1910 | info-tar: \ | |
1911 | configure-tar | |
1912 | @[ -f ./tar/Makefile ] || exit 0; \ | |
b40e3958 L |
1913 | r=`${PWD_COMMAND}`; export r; \ |
1914 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1915 | $(SET_LIB_PATH) \ |
1916 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1917 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1918 | done; \ | |
1919 | echo "Doing info in tar" ; \ | |
1920 | (cd tar && \ | |
1921 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1922 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1923 | "RANLIB=$${RANLIB}" \ | |
1924 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1925 | info) \ | |
1926 | || exit 1 | |
1927 | ||
1928 | ||
1929 | .PHONY: maybe-info-texinfo info-texinfo | |
1930 | maybe-info-texinfo: | |
1931 | ||
1932 | info-texinfo: \ | |
1933 | configure-texinfo | |
1934 | @[ -f ./texinfo/Makefile ] || exit 0; \ | |
b40e3958 L |
1935 | r=`${PWD_COMMAND}`; export r; \ |
1936 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1937 | $(SET_LIB_PATH) \ |
1938 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1939 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1940 | done; \ | |
1941 | echo "Doing info in texinfo" ; \ | |
1942 | (cd texinfo && \ | |
1943 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1944 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1945 | "RANLIB=$${RANLIB}" \ | |
1946 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1947 | info) \ | |
1948 | || exit 1 | |
1949 | ||
1950 | ||
1951 | .PHONY: maybe-info-textutils info-textutils | |
1952 | maybe-info-textutils: | |
1953 | ||
1954 | info-textutils: \ | |
1955 | configure-textutils | |
1956 | @[ -f ./textutils/Makefile ] || exit 0; \ | |
b40e3958 L |
1957 | r=`${PWD_COMMAND}`; export r; \ |
1958 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1959 | $(SET_LIB_PATH) \ |
1960 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1961 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1962 | done; \ | |
1963 | echo "Doing info in textutils" ; \ | |
1964 | (cd textutils && \ | |
1965 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1966 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1967 | "RANLIB=$${RANLIB}" \ | |
1968 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1969 | info) \ | |
1970 | || exit 1 | |
1971 | ||
1972 | ||
1973 | .PHONY: maybe-info-time info-time | |
1974 | maybe-info-time: | |
1975 | ||
1976 | info-time: \ | |
1977 | configure-time | |
1978 | @[ -f ./time/Makefile ] || exit 0; \ | |
b40e3958 L |
1979 | r=`${PWD_COMMAND}`; export r; \ |
1980 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
1981 | $(SET_LIB_PATH) \ |
1982 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1983 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1984 | done; \ | |
1985 | echo "Doing info in time" ; \ | |
1986 | (cd time && \ | |
1987 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1988 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1989 | "RANLIB=$${RANLIB}" \ | |
1990 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1991 | info) \ | |
1992 | || exit 1 | |
1993 | ||
1994 | ||
1995 | .PHONY: maybe-info-uudecode info-uudecode | |
1996 | maybe-info-uudecode: | |
1997 | ||
1998 | info-uudecode: \ | |
1999 | configure-uudecode | |
2000 | @[ -f ./uudecode/Makefile ] || exit 0; \ | |
b40e3958 L |
2001 | r=`${PWD_COMMAND}`; export r; \ |
2002 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2003 | $(SET_LIB_PATH) \ |
2004 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2005 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2006 | done; \ | |
2007 | echo "Doing info in uudecode" ; \ | |
2008 | (cd uudecode && \ | |
2009 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2010 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2011 | "RANLIB=$${RANLIB}" \ | |
2012 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2013 | info) \ | |
2014 | || exit 1 | |
2015 | ||
2016 | ||
2017 | .PHONY: maybe-info-wdiff info-wdiff | |
2018 | maybe-info-wdiff: | |
2019 | ||
2020 | info-wdiff: \ | |
2021 | configure-wdiff | |
2022 | @[ -f ./wdiff/Makefile ] || exit 0; \ | |
b40e3958 L |
2023 | r=`${PWD_COMMAND}`; export r; \ |
2024 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2025 | $(SET_LIB_PATH) \ |
2026 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2027 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2028 | done; \ | |
2029 | echo "Doing info in wdiff" ; \ | |
2030 | (cd wdiff && \ | |
2031 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2032 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2033 | "RANLIB=$${RANLIB}" \ | |
2034 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2035 | info) \ | |
2036 | || exit 1 | |
2037 | ||
2038 | ||
2039 | .PHONY: maybe-info-zip info-zip | |
2040 | maybe-info-zip: | |
2041 | ||
2042 | info-zip: \ | |
2043 | configure-zip | |
2044 | @[ -f ./zip/Makefile ] || exit 0; \ | |
b40e3958 L |
2045 | r=`${PWD_COMMAND}`; export r; \ |
2046 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2047 | $(SET_LIB_PATH) \ |
2048 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2049 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2050 | done; \ | |
2051 | echo "Doing info in zip" ; \ | |
2052 | (cd zip && \ | |
2053 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2054 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2055 | "RANLIB=$${RANLIB}" \ | |
2056 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2057 | info) \ | |
2058 | || exit 1 | |
2059 | ||
2060 | ||
2061 | .PHONY: maybe-info-zlib info-zlib | |
2062 | maybe-info-zlib: | |
2063 | ||
2064 | info-zlib: \ | |
2065 | configure-zlib | |
2066 | @[ -f ./zlib/Makefile ] || exit 0; \ | |
b40e3958 L |
2067 | r=`${PWD_COMMAND}`; export r; \ |
2068 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2069 | $(SET_LIB_PATH) \ |
2070 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2071 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2072 | done; \ | |
2073 | echo "Doing info in zlib" ; \ | |
2074 | (cd zlib && \ | |
2075 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2076 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2077 | "RANLIB=$${RANLIB}" \ | |
2078 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2079 | info) \ | |
2080 | || exit 1 | |
2081 | ||
2082 | ||
2083 | .PHONY: maybe-info-gdb info-gdb | |
2084 | maybe-info-gdb: | |
2085 | ||
2086 | info-gdb: \ | |
2087 | configure-gdb | |
2088 | @[ -f ./gdb/Makefile ] || exit 0; \ | |
b40e3958 L |
2089 | r=`${PWD_COMMAND}`; export r; \ |
2090 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2091 | $(SET_LIB_PATH) \ |
2092 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2093 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2094 | done; \ | |
2095 | echo "Doing info in gdb" ; \ | |
2096 | (cd gdb && \ | |
2097 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2098 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2099 | "RANLIB=$${RANLIB}" \ | |
2100 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2101 | info) \ | |
2102 | || exit 1 | |
2103 | ||
2104 | ||
2105 | .PHONY: maybe-info-expect info-expect | |
2106 | maybe-info-expect: | |
2107 | ||
2108 | info-expect: \ | |
2109 | configure-expect | |
2110 | @[ -f ./expect/Makefile ] || exit 0; \ | |
b40e3958 L |
2111 | r=`${PWD_COMMAND}`; export r; \ |
2112 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2113 | $(SET_LIB_PATH) \ |
2114 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2115 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2116 | done; \ | |
2117 | echo "Doing info in expect" ; \ | |
2118 | (cd expect && \ | |
2119 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2120 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2121 | "RANLIB=$${RANLIB}" \ | |
2122 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2123 | info) \ | |
2124 | || exit 1 | |
2125 | ||
2126 | ||
2127 | .PHONY: maybe-info-guile info-guile | |
2128 | maybe-info-guile: | |
2129 | ||
2130 | info-guile: \ | |
2131 | configure-guile | |
2132 | @[ -f ./guile/Makefile ] || exit 0; \ | |
b40e3958 L |
2133 | r=`${PWD_COMMAND}`; export r; \ |
2134 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2135 | $(SET_LIB_PATH) \ |
2136 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2137 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2138 | done; \ | |
2139 | echo "Doing info in guile" ; \ | |
2140 | (cd guile && \ | |
2141 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2142 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2143 | "RANLIB=$${RANLIB}" \ | |
2144 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2145 | info) \ | |
2146 | || exit 1 | |
2147 | ||
2148 | ||
2149 | .PHONY: maybe-info-tk info-tk | |
2150 | maybe-info-tk: | |
2151 | ||
2152 | info-tk: \ | |
2153 | configure-tk | |
2154 | @[ -f ./tk/Makefile ] || exit 0; \ | |
b40e3958 L |
2155 | r=`${PWD_COMMAND}`; export r; \ |
2156 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2157 | $(SET_LIB_PATH) \ |
2158 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2159 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2160 | done; \ | |
2161 | echo "Doing info in tk" ; \ | |
2162 | (cd tk && \ | |
2163 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2164 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2165 | "RANLIB=$${RANLIB}" \ | |
2166 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2167 | info) \ | |
2168 | || exit 1 | |
2169 | ||
2170 | ||
2171 | .PHONY: maybe-info-tix info-tix | |
2172 | maybe-info-tix: | |
2173 | ||
2174 | info-tix: \ | |
2175 | configure-tix | |
2176 | @[ -f ./tix/Makefile ] || exit 0; \ | |
b40e3958 L |
2177 | r=`${PWD_COMMAND}`; export r; \ |
2178 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2179 | $(SET_LIB_PATH) \ |
2180 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2181 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2182 | done; \ | |
2183 | echo "Doing info in tix" ; \ | |
2184 | (cd tix && \ | |
2185 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2186 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2187 | "RANLIB=$${RANLIB}" \ | |
2188 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2189 | info) \ | |
2190 | || exit 1 | |
2191 | ||
2192 | ||
2193 | .PHONY: maybe-info-libtermcap info-libtermcap | |
2194 | maybe-info-libtermcap: | |
2195 | ||
2196 | info-libtermcap: \ | |
2197 | configure-libtermcap | |
2198 | @[ -f ./libtermcap/Makefile ] || exit 0; \ | |
b40e3958 L |
2199 | r=`${PWD_COMMAND}`; export r; \ |
2200 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2201 | $(SET_LIB_PATH) \ |
2202 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2203 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2204 | done; \ | |
2205 | echo "Doing info in libtermcap" ; \ | |
2206 | (cd libtermcap && \ | |
2207 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2208 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2209 | "RANLIB=$${RANLIB}" \ | |
2210 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2211 | info) \ | |
2212 | || exit 1 | |
2213 | ||
2214 | ||
2215 | .PHONY: maybe-info-utils info-utils | |
2216 | maybe-info-utils: | |
2217 | ||
2218 | info-utils: \ | |
2219 | configure-utils | |
2220 | @[ -f ./utils/Makefile ] || exit 0; \ | |
b40e3958 L |
2221 | r=`${PWD_COMMAND}`; export r; \ |
2222 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2223 | $(SET_LIB_PATH) \ |
2224 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2225 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2226 | done; \ | |
2227 | echo "Doing info in utils" ; \ | |
2228 | (cd utils && \ | |
2229 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2230 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2231 | "RANLIB=$${RANLIB}" \ | |
2232 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2233 | info) \ | |
2234 | || exit 1 | |
2235 | ||
2236 | ||
2237 | ||
2238 | # Target modules. | |
2239 | ||
2240 | .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3 | |
2241 | maybe-info-target-libstdc++-v3: | |
2242 | ||
2243 | info-target-libstdc++-v3: \ | |
2244 | configure-target-libstdc++-v3 | |
2245 | @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ | |
b40e3958 L |
2246 | r=`${PWD_COMMAND}`; export r; \ |
2247 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2248 | $(SET_LIB_PATH) \ |
2249 | echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \ | |
2250 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2251 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2252 | done; \ | |
2253 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
2254 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2255 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2256 | "RANLIB=$${RANLIB}" \ | |
2257 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2258 | info) \ | |
2259 | || exit 1 | |
2260 | ||
2261 | ||
2262 | .PHONY: maybe-info-target-newlib info-target-newlib | |
2263 | maybe-info-target-newlib: | |
2264 | ||
2265 | info-target-newlib: \ | |
2266 | configure-target-newlib | |
2267 | @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
2268 | r=`${PWD_COMMAND}`; export r; \ |
2269 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2270 | $(SET_LIB_PATH) \ |
2271 | echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \ | |
2272 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2273 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2274 | done; \ | |
2275 | (cd $(TARGET_SUBDIR)/newlib && \ | |
2276 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2277 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2278 | "RANLIB=$${RANLIB}" \ | |
2279 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2280 | info) \ | |
2281 | || exit 1 | |
2282 | ||
2283 | ||
2284 | .PHONY: maybe-info-target-libf2c info-target-libf2c | |
2285 | maybe-info-target-libf2c: | |
2286 | ||
2287 | info-target-libf2c: \ | |
2288 | configure-target-libf2c | |
2289 | @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \ | |
b40e3958 L |
2290 | r=`${PWD_COMMAND}`; export r; \ |
2291 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2292 | $(SET_LIB_PATH) \ |
2293 | echo "Doing info in $(TARGET_SUBDIR)/libf2c" ; \ | |
2294 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2295 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2296 | done; \ | |
2297 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
2298 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2299 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2300 | "RANLIB=$${RANLIB}" \ | |
2301 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2302 | info) \ | |
2303 | || exit 1 | |
2304 | ||
2305 | ||
2306 | .PHONY: maybe-info-target-libobjc info-target-libobjc | |
2307 | maybe-info-target-libobjc: | |
2308 | ||
2309 | info-target-libobjc: \ | |
2310 | configure-target-libobjc | |
2311 | @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
2312 | r=`${PWD_COMMAND}`; export r; \ |
2313 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2314 | $(SET_LIB_PATH) \ |
2315 | echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \ | |
2316 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2317 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2318 | done; \ | |
2319 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
2320 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2321 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2322 | "RANLIB=$${RANLIB}" \ | |
2323 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2324 | info) \ | |
2325 | || exit 1 | |
2326 | ||
2327 | ||
2328 | .PHONY: maybe-info-target-libtermcap info-target-libtermcap | |
2329 | maybe-info-target-libtermcap: | |
2330 | ||
2331 | info-target-libtermcap: \ | |
2332 | configure-target-libtermcap | |
2333 | @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ | |
b40e3958 L |
2334 | r=`${PWD_COMMAND}`; export r; \ |
2335 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2336 | $(SET_LIB_PATH) \ |
2337 | echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \ | |
2338 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2339 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2340 | done; \ | |
2341 | (cd $(TARGET_SUBDIR)/libtermcap && \ | |
2342 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2343 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2344 | "RANLIB=$${RANLIB}" \ | |
2345 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2346 | info) \ | |
2347 | || exit 1 | |
2348 | ||
2349 | ||
2350 | .PHONY: maybe-info-target-winsup info-target-winsup | |
2351 | maybe-info-target-winsup: | |
2352 | ||
2353 | info-target-winsup: \ | |
2354 | configure-target-winsup | |
2355 | @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ | |
b40e3958 L |
2356 | r=`${PWD_COMMAND}`; export r; \ |
2357 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2358 | $(SET_LIB_PATH) \ |
2359 | echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \ | |
2360 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2361 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2362 | done; \ | |
2363 | (cd $(TARGET_SUBDIR)/winsup && \ | |
2364 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2365 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2366 | "RANLIB=$${RANLIB}" \ | |
2367 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2368 | info) \ | |
2369 | || exit 1 | |
2370 | ||
2371 | ||
2372 | .PHONY: maybe-info-target-libgloss info-target-libgloss | |
2373 | maybe-info-target-libgloss: | |
2374 | ||
2375 | info-target-libgloss: \ | |
2376 | configure-target-libgloss | |
2377 | @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ | |
b40e3958 L |
2378 | r=`${PWD_COMMAND}`; export r; \ |
2379 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2380 | $(SET_LIB_PATH) \ |
2381 | echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \ | |
2382 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2383 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2384 | done; \ | |
2385 | (cd $(TARGET_SUBDIR)/libgloss && \ | |
2386 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2387 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2388 | "RANLIB=$${RANLIB}" \ | |
2389 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2390 | info) \ | |
2391 | || exit 1 | |
2392 | ||
2393 | ||
2394 | .PHONY: maybe-info-target-libiberty info-target-libiberty | |
2395 | maybe-info-target-libiberty: | |
2396 | ||
2397 | info-target-libiberty: \ | |
2398 | configure-target-libiberty | |
2399 | @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ | |
b40e3958 L |
2400 | r=`${PWD_COMMAND}`; export r; \ |
2401 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2402 | $(SET_LIB_PATH) \ |
2403 | echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \ | |
2404 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2405 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2406 | done; \ | |
2407 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
2408 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2409 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2410 | "RANLIB=$${RANLIB}" \ | |
2411 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2412 | info) \ | |
2413 | || exit 1 | |
2414 | ||
2415 | ||
2416 | .PHONY: maybe-info-target-gperf info-target-gperf | |
2417 | maybe-info-target-gperf: | |
2418 | ||
2419 | info-target-gperf: \ | |
2420 | configure-target-gperf | |
2421 | @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ | |
b40e3958 L |
2422 | r=`${PWD_COMMAND}`; export r; \ |
2423 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2424 | $(SET_LIB_PATH) \ |
2425 | echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \ | |
2426 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2427 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2428 | done; \ | |
2429 | (cd $(TARGET_SUBDIR)/gperf && \ | |
2430 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2431 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2432 | "RANLIB=$${RANLIB}" \ | |
2433 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2434 | info) \ | |
2435 | || exit 1 | |
2436 | ||
2437 | ||
2438 | .PHONY: maybe-info-target-examples info-target-examples | |
2439 | maybe-info-target-examples: | |
2440 | ||
2441 | info-target-examples: \ | |
2442 | configure-target-examples | |
2443 | @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ | |
b40e3958 L |
2444 | r=`${PWD_COMMAND}`; export r; \ |
2445 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2446 | $(SET_LIB_PATH) \ |
2447 | echo "Doing info in $(TARGET_SUBDIR)/examples" ; \ | |
2448 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2449 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2450 | done; \ | |
2451 | (cd $(TARGET_SUBDIR)/examples && \ | |
2452 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2453 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2454 | "RANLIB=$${RANLIB}" \ | |
2455 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2456 | info) \ | |
2457 | || exit 1 | |
2458 | ||
2459 | ||
2460 | .PHONY: maybe-info-target-libffi info-target-libffi | |
2461 | maybe-info-target-libffi: | |
2462 | ||
2463 | info-target-libffi: \ | |
2464 | configure-target-libffi | |
2465 | @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ | |
b40e3958 L |
2466 | r=`${PWD_COMMAND}`; export r; \ |
2467 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2468 | $(SET_LIB_PATH) \ |
2469 | echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \ | |
2470 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2471 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2472 | done; \ | |
2473 | (cd $(TARGET_SUBDIR)/libffi && \ | |
2474 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2475 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2476 | "RANLIB=$${RANLIB}" \ | |
2477 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2478 | info) \ | |
2479 | || exit 1 | |
2480 | ||
2481 | ||
2482 | .PHONY: maybe-info-target-libjava info-target-libjava | |
2483 | maybe-info-target-libjava: | |
2484 | ||
2485 | info-target-libjava: \ | |
2486 | configure-target-libjava | |
2487 | @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ | |
b40e3958 L |
2488 | r=`${PWD_COMMAND}`; export r; \ |
2489 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2490 | $(SET_LIB_PATH) \ |
2491 | echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \ | |
2492 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2493 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2494 | done; \ | |
2495 | (cd $(TARGET_SUBDIR)/libjava && \ | |
2496 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2497 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2498 | "RANLIB=$${RANLIB}" \ | |
2499 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2500 | info) \ | |
2501 | || exit 1 | |
2502 | ||
2503 | ||
2504 | .PHONY: maybe-info-target-zlib info-target-zlib | |
2505 | maybe-info-target-zlib: | |
2506 | ||
2507 | info-target-zlib: \ | |
2508 | configure-target-zlib | |
2509 | @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
2510 | r=`${PWD_COMMAND}`; export r; \ |
2511 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2512 | $(SET_LIB_PATH) \ |
2513 | echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \ | |
2514 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2515 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2516 | done; \ | |
2517 | (cd $(TARGET_SUBDIR)/zlib && \ | |
2518 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2519 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2520 | "RANLIB=$${RANLIB}" \ | |
2521 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2522 | info) \ | |
2523 | || exit 1 | |
2524 | ||
2525 | ||
2526 | .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc | |
2527 | maybe-info-target-boehm-gc: | |
2528 | ||
2529 | info-target-boehm-gc: \ | |
2530 | configure-target-boehm-gc | |
2531 | @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
2532 | r=`${PWD_COMMAND}`; export r; \ |
2533 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2534 | $(SET_LIB_PATH) \ |
2535 | echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \ | |
2536 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2537 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2538 | done; \ | |
2539 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
2540 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2541 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2542 | "RANLIB=$${RANLIB}" \ | |
2543 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2544 | info) \ | |
2545 | || exit 1 | |
2546 | ||
2547 | ||
2548 | .PHONY: maybe-info-target-qthreads info-target-qthreads | |
2549 | maybe-info-target-qthreads: | |
2550 | ||
2551 | info-target-qthreads: \ | |
2552 | configure-target-qthreads | |
2553 | @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ | |
b40e3958 L |
2554 | r=`${PWD_COMMAND}`; export r; \ |
2555 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2556 | $(SET_LIB_PATH) \ |
2557 | echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \ | |
2558 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2559 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2560 | done; \ | |
2561 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
2562 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2563 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2564 | "RANLIB=$${RANLIB}" \ | |
2565 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2566 | info) \ | |
2567 | || exit 1 | |
2568 | ||
2569 | ||
2570 | .PHONY: maybe-info-target-rda info-target-rda | |
2571 | maybe-info-target-rda: | |
2572 | ||
2573 | info-target-rda: \ | |
2574 | configure-target-rda | |
2575 | @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ | |
b40e3958 L |
2576 | r=`${PWD_COMMAND}`; export r; \ |
2577 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2578 | $(SET_LIB_PATH) \ |
2579 | echo "Doing info in $(TARGET_SUBDIR)/rda" ; \ | |
2580 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2581 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2582 | done; \ | |
2583 | (cd $(TARGET_SUBDIR)/rda && \ | |
2584 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2585 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2586 | "RANLIB=$${RANLIB}" \ | |
2587 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2588 | info) \ | |
2589 | || exit 1 | |
2590 | ||
2591 | ||
2592 | ||
2593 | .PHONY: do-dvi | |
2594 | do-dvi: dvi-host dvi-target | |
2595 | ||
2596 | .PHONY: dvi-host | |
2597 | dvi-host: maybe-dvi-gcc \ | |
2598 | maybe-dvi-ash \ | |
2599 | maybe-dvi-autoconf \ | |
2600 | maybe-dvi-automake \ | |
2601 | maybe-dvi-bash \ | |
2602 | maybe-dvi-bfd \ | |
2603 | maybe-dvi-opcodes \ | |
2604 | maybe-dvi-binutils \ | |
2605 | maybe-dvi-bison \ | |
2606 | maybe-dvi-byacc \ | |
2607 | maybe-dvi-bzip2 \ | |
2608 | maybe-dvi-dejagnu \ | |
2609 | maybe-dvi-diff \ | |
2610 | maybe-dvi-dosutils \ | |
2611 | maybe-dvi-etc \ | |
2612 | maybe-dvi-fastjar \ | |
2613 | maybe-dvi-fileutils \ | |
2614 | maybe-dvi-findutils \ | |
2615 | maybe-dvi-find \ | |
2616 | maybe-dvi-flex \ | |
2617 | maybe-dvi-gas \ | |
2618 | maybe-dvi-gawk \ | |
2619 | maybe-dvi-gettext \ | |
2620 | maybe-dvi-gnuserv \ | |
2621 | maybe-dvi-gprof \ | |
2622 | maybe-dvi-gzip \ | |
2623 | maybe-dvi-hello \ | |
2624 | maybe-dvi-indent \ | |
2625 | maybe-dvi-intl \ | |
2626 | maybe-dvi-tcl \ | |
2627 | maybe-dvi-itcl \ | |
2628 | maybe-dvi-ld \ | |
2629 | maybe-dvi-libgui \ | |
2630 | maybe-dvi-libiberty \ | |
2631 | maybe-dvi-libtool \ | |
2632 | maybe-dvi-m4 \ | |
2633 | maybe-dvi-make \ | |
2634 | maybe-dvi-mmalloc \ | |
2635 | maybe-dvi-patch \ | |
2636 | maybe-dvi-perl \ | |
2637 | maybe-dvi-prms \ | |
2638 | maybe-dvi-rcs \ | |
2639 | maybe-dvi-readline \ | |
2640 | maybe-dvi-release \ | |
2641 | maybe-dvi-recode \ | |
2642 | maybe-dvi-sed \ | |
2643 | maybe-dvi-send-pr \ | |
2644 | maybe-dvi-shellutils \ | |
2645 | maybe-dvi-sid \ | |
2646 | maybe-dvi-sim \ | |
2647 | maybe-dvi-tar \ | |
2648 | maybe-dvi-texinfo \ | |
2649 | maybe-dvi-textutils \ | |
2650 | maybe-dvi-time \ | |
2651 | maybe-dvi-uudecode \ | |
2652 | maybe-dvi-wdiff \ | |
2653 | maybe-dvi-zip \ | |
2654 | maybe-dvi-zlib \ | |
2655 | maybe-dvi-gdb \ | |
2656 | maybe-dvi-expect \ | |
2657 | maybe-dvi-guile \ | |
2658 | maybe-dvi-tk \ | |
2659 | maybe-dvi-tix \ | |
2660 | maybe-dvi-libtermcap \ | |
2661 | maybe-dvi-utils | |
2662 | ||
2663 | .PHONY: dvi-target | |
2664 | dvi-target: \ | |
2665 | maybe-dvi-target-libstdc++-v3 \ | |
2666 | maybe-dvi-target-newlib \ | |
2667 | maybe-dvi-target-libf2c \ | |
2668 | maybe-dvi-target-libobjc \ | |
2669 | maybe-dvi-target-libtermcap \ | |
2670 | maybe-dvi-target-winsup \ | |
2671 | maybe-dvi-target-libgloss \ | |
2672 | maybe-dvi-target-libiberty \ | |
2673 | maybe-dvi-target-gperf \ | |
2674 | maybe-dvi-target-examples \ | |
2675 | maybe-dvi-target-libffi \ | |
2676 | maybe-dvi-target-libjava \ | |
2677 | maybe-dvi-target-zlib \ | |
2678 | maybe-dvi-target-boehm-gc \ | |
2679 | maybe-dvi-target-qthreads \ | |
2680 | maybe-dvi-target-rda | |
2681 | ||
2682 | # GCC, the eternal special case | |
2683 | .PHONY: maybe-dvi-gcc dvi-gcc | |
2684 | maybe-dvi-gcc: | |
2685 | dvi-gcc: \ | |
2686 | configure-gcc | |
2687 | @[ -f ./gcc/Makefile ] || exit 0; \ | |
b40e3958 L |
2688 | r=`${PWD_COMMAND}`; export r; \ |
2689 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2690 | $(SET_LIB_PATH) \ |
2691 | for flag in $(EXTRA_GCC_FLAGS); do \ | |
2692 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2693 | done; \ | |
2694 | echo "Doing dvi in gcc" ; \ | |
2695 | (cd gcc && \ | |
2696 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2697 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2698 | "RANLIB=$${RANLIB}" \ | |
2699 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2700 | dvi) \ | |
2701 | || exit 1 | |
2702 | ||
2703 | # Host modules. | |
2704 | ||
2705 | .PHONY: maybe-dvi-ash dvi-ash | |
2706 | maybe-dvi-ash: | |
2707 | ||
2708 | dvi-ash: \ | |
2709 | configure-ash | |
2710 | @[ -f ./ash/Makefile ] || exit 0; \ | |
b40e3958 L |
2711 | r=`${PWD_COMMAND}`; export r; \ |
2712 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2713 | $(SET_LIB_PATH) \ |
2714 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2715 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2716 | done; \ | |
2717 | echo "Doing dvi in ash" ; \ | |
2718 | (cd ash && \ | |
2719 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2720 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2721 | "RANLIB=$${RANLIB}" \ | |
2722 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2723 | dvi) \ | |
2724 | || exit 1 | |
2725 | ||
2726 | ||
2727 | .PHONY: maybe-dvi-autoconf dvi-autoconf | |
2728 | maybe-dvi-autoconf: | |
2729 | ||
2730 | dvi-autoconf: \ | |
2731 | configure-autoconf | |
2732 | @[ -f ./autoconf/Makefile ] || exit 0; \ | |
b40e3958 L |
2733 | r=`${PWD_COMMAND}`; export r; \ |
2734 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2735 | $(SET_LIB_PATH) \ |
2736 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2737 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2738 | done; \ | |
2739 | echo "Doing dvi in autoconf" ; \ | |
2740 | (cd autoconf && \ | |
2741 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2742 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2743 | "RANLIB=$${RANLIB}" \ | |
2744 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2745 | dvi) \ | |
2746 | || exit 1 | |
2747 | ||
2748 | ||
2749 | .PHONY: maybe-dvi-automake dvi-automake | |
2750 | maybe-dvi-automake: | |
2751 | ||
2752 | dvi-automake: \ | |
2753 | configure-automake | |
2754 | @[ -f ./automake/Makefile ] || exit 0; \ | |
b40e3958 L |
2755 | r=`${PWD_COMMAND}`; export r; \ |
2756 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2757 | $(SET_LIB_PATH) \ |
2758 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2759 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2760 | done; \ | |
2761 | echo "Doing dvi in automake" ; \ | |
2762 | (cd automake && \ | |
2763 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2764 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2765 | "RANLIB=$${RANLIB}" \ | |
2766 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2767 | dvi) \ | |
2768 | || exit 1 | |
2769 | ||
2770 | ||
2771 | .PHONY: maybe-dvi-bash dvi-bash | |
2772 | maybe-dvi-bash: | |
2773 | ||
2774 | dvi-bash: \ | |
2775 | configure-bash | |
2776 | @[ -f ./bash/Makefile ] || exit 0; \ | |
b40e3958 L |
2777 | r=`${PWD_COMMAND}`; export r; \ |
2778 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2779 | $(SET_LIB_PATH) \ |
2780 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2781 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2782 | done; \ | |
2783 | echo "Doing dvi in bash" ; \ | |
2784 | (cd bash && \ | |
2785 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2786 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2787 | "RANLIB=$${RANLIB}" \ | |
2788 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2789 | dvi) \ | |
2790 | || exit 1 | |
2791 | ||
2792 | ||
2793 | .PHONY: maybe-dvi-bfd dvi-bfd | |
2794 | maybe-dvi-bfd: | |
2795 | ||
2796 | dvi-bfd: \ | |
2797 | configure-bfd | |
2798 | @[ -f ./bfd/Makefile ] || exit 0; \ | |
b40e3958 L |
2799 | r=`${PWD_COMMAND}`; export r; \ |
2800 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2801 | $(SET_LIB_PATH) \ |
2802 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2803 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2804 | done; \ | |
2805 | echo "Doing dvi in bfd" ; \ | |
2806 | (cd bfd && \ | |
2807 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2808 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2809 | "RANLIB=$${RANLIB}" \ | |
2810 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2811 | dvi) \ | |
2812 | || exit 1 | |
2813 | ||
2814 | ||
2815 | .PHONY: maybe-dvi-opcodes dvi-opcodes | |
2816 | maybe-dvi-opcodes: | |
2817 | ||
2818 | dvi-opcodes: \ | |
2819 | configure-opcodes | |
2820 | @[ -f ./opcodes/Makefile ] || exit 0; \ | |
b40e3958 L |
2821 | r=`${PWD_COMMAND}`; export r; \ |
2822 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2823 | $(SET_LIB_PATH) \ |
2824 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2825 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2826 | done; \ | |
2827 | echo "Doing dvi in opcodes" ; \ | |
2828 | (cd opcodes && \ | |
2829 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2830 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2831 | "RANLIB=$${RANLIB}" \ | |
2832 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2833 | dvi) \ | |
2834 | || exit 1 | |
2835 | ||
2836 | ||
2837 | .PHONY: maybe-dvi-binutils dvi-binutils | |
2838 | maybe-dvi-binutils: | |
2839 | ||
2840 | dvi-binutils: \ | |
2841 | configure-binutils | |
2842 | @[ -f ./binutils/Makefile ] || exit 0; \ | |
b40e3958 L |
2843 | r=`${PWD_COMMAND}`; export r; \ |
2844 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2845 | $(SET_LIB_PATH) \ |
2846 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2847 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2848 | done; \ | |
2849 | echo "Doing dvi in binutils" ; \ | |
2850 | (cd binutils && \ | |
2851 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2852 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2853 | "RANLIB=$${RANLIB}" \ | |
2854 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2855 | dvi) \ | |
2856 | || exit 1 | |
2857 | ||
2858 | ||
2859 | .PHONY: maybe-dvi-bison dvi-bison | |
2860 | maybe-dvi-bison: | |
2861 | ||
2862 | dvi-bison: \ | |
2863 | configure-bison | |
2864 | @[ -f ./bison/Makefile ] || exit 0; \ | |
b40e3958 L |
2865 | r=`${PWD_COMMAND}`; export r; \ |
2866 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2867 | $(SET_LIB_PATH) \ |
2868 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2869 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2870 | done; \ | |
2871 | echo "Doing dvi in bison" ; \ | |
2872 | (cd bison && \ | |
2873 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2874 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2875 | "RANLIB=$${RANLIB}" \ | |
2876 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2877 | dvi) \ | |
2878 | || exit 1 | |
2879 | ||
2880 | ||
2881 | .PHONY: maybe-dvi-byacc dvi-byacc | |
2882 | maybe-dvi-byacc: | |
2883 | ||
2884 | dvi-byacc: \ | |
2885 | configure-byacc | |
2886 | @[ -f ./byacc/Makefile ] || exit 0; \ | |
b40e3958 L |
2887 | r=`${PWD_COMMAND}`; export r; \ |
2888 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2889 | $(SET_LIB_PATH) \ |
2890 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2891 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2892 | done; \ | |
2893 | echo "Doing dvi in byacc" ; \ | |
2894 | (cd byacc && \ | |
2895 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2896 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2897 | "RANLIB=$${RANLIB}" \ | |
2898 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2899 | dvi) \ | |
2900 | || exit 1 | |
2901 | ||
2902 | ||
2903 | .PHONY: maybe-dvi-bzip2 dvi-bzip2 | |
2904 | maybe-dvi-bzip2: | |
2905 | ||
2906 | dvi-bzip2: \ | |
2907 | configure-bzip2 | |
2908 | @[ -f ./bzip2/Makefile ] || exit 0; \ | |
b40e3958 L |
2909 | r=`${PWD_COMMAND}`; export r; \ |
2910 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2911 | $(SET_LIB_PATH) \ |
2912 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2913 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2914 | done; \ | |
2915 | echo "Doing dvi in bzip2" ; \ | |
2916 | (cd bzip2 && \ | |
2917 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2918 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2919 | "RANLIB=$${RANLIB}" \ | |
2920 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2921 | dvi) \ | |
2922 | || exit 1 | |
2923 | ||
2924 | ||
2925 | .PHONY: maybe-dvi-dejagnu dvi-dejagnu | |
2926 | maybe-dvi-dejagnu: | |
2927 | ||
2928 | dvi-dejagnu: \ | |
2929 | configure-dejagnu | |
2930 | @[ -f ./dejagnu/Makefile ] || exit 0; \ | |
b40e3958 L |
2931 | r=`${PWD_COMMAND}`; export r; \ |
2932 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2933 | $(SET_LIB_PATH) \ |
2934 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2935 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2936 | done; \ | |
2937 | echo "Doing dvi in dejagnu" ; \ | |
2938 | (cd dejagnu && \ | |
2939 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2940 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2941 | "RANLIB=$${RANLIB}" \ | |
2942 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2943 | dvi) \ | |
2944 | || exit 1 | |
2945 | ||
2946 | ||
2947 | .PHONY: maybe-dvi-diff dvi-diff | |
2948 | maybe-dvi-diff: | |
2949 | ||
2950 | dvi-diff: \ | |
2951 | configure-diff | |
2952 | @[ -f ./diff/Makefile ] || exit 0; \ | |
b40e3958 L |
2953 | r=`${PWD_COMMAND}`; export r; \ |
2954 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2955 | $(SET_LIB_PATH) \ |
2956 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2957 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2958 | done; \ | |
2959 | echo "Doing dvi in diff" ; \ | |
2960 | (cd diff && \ | |
2961 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2962 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2963 | "RANLIB=$${RANLIB}" \ | |
2964 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2965 | dvi) \ | |
2966 | || exit 1 | |
2967 | ||
2968 | ||
2969 | .PHONY: maybe-dvi-dosutils dvi-dosutils | |
2970 | maybe-dvi-dosutils: | |
2971 | ||
2972 | dvi-dosutils: \ | |
2973 | configure-dosutils | |
2974 | @[ -f ./dosutils/Makefile ] || exit 0; \ | |
b40e3958 L |
2975 | r=`${PWD_COMMAND}`; export r; \ |
2976 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2977 | $(SET_LIB_PATH) \ |
2978 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2979 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2980 | done; \ | |
2981 | echo "Doing dvi in dosutils" ; \ | |
2982 | (cd dosutils && \ | |
2983 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2984 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2985 | "RANLIB=$${RANLIB}" \ | |
2986 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2987 | dvi) \ | |
2988 | || exit 1 | |
2989 | ||
2990 | ||
2991 | .PHONY: maybe-dvi-etc dvi-etc | |
2992 | maybe-dvi-etc: | |
2993 | ||
2994 | dvi-etc: \ | |
2995 | configure-etc | |
2996 | @[ -f ./etc/Makefile ] || exit 0; \ | |
b40e3958 L |
2997 | r=`${PWD_COMMAND}`; export r; \ |
2998 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
2999 | $(SET_LIB_PATH) \ |
3000 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3001 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3002 | done; \ | |
3003 | echo "Doing dvi in etc" ; \ | |
3004 | (cd etc && \ | |
3005 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3006 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3007 | "RANLIB=$${RANLIB}" \ | |
3008 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3009 | dvi) \ | |
3010 | || exit 1 | |
3011 | ||
3012 | ||
3013 | .PHONY: maybe-dvi-fastjar dvi-fastjar | |
3014 | maybe-dvi-fastjar: | |
3015 | ||
3016 | dvi-fastjar: \ | |
3017 | configure-fastjar | |
3018 | @[ -f ./fastjar/Makefile ] || exit 0; \ | |
b40e3958 L |
3019 | r=`${PWD_COMMAND}`; export r; \ |
3020 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3021 | $(SET_LIB_PATH) \ |
3022 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3023 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3024 | done; \ | |
3025 | echo "Doing dvi in fastjar" ; \ | |
3026 | (cd fastjar && \ | |
3027 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3028 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3029 | "RANLIB=$${RANLIB}" \ | |
3030 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3031 | dvi) \ | |
3032 | || exit 1 | |
3033 | ||
3034 | ||
3035 | .PHONY: maybe-dvi-fileutils dvi-fileutils | |
3036 | maybe-dvi-fileutils: | |
3037 | ||
3038 | dvi-fileutils: \ | |
3039 | configure-fileutils | |
3040 | @[ -f ./fileutils/Makefile ] || exit 0; \ | |
b40e3958 L |
3041 | r=`${PWD_COMMAND}`; export r; \ |
3042 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3043 | $(SET_LIB_PATH) \ |
3044 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3045 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3046 | done; \ | |
3047 | echo "Doing dvi in fileutils" ; \ | |
3048 | (cd fileutils && \ | |
3049 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3050 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3051 | "RANLIB=$${RANLIB}" \ | |
3052 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3053 | dvi) \ | |
3054 | || exit 1 | |
3055 | ||
3056 | ||
3057 | .PHONY: maybe-dvi-findutils dvi-findutils | |
3058 | maybe-dvi-findutils: | |
3059 | ||
3060 | dvi-findutils: \ | |
3061 | configure-findutils | |
3062 | @[ -f ./findutils/Makefile ] || exit 0; \ | |
b40e3958 L |
3063 | r=`${PWD_COMMAND}`; export r; \ |
3064 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3065 | $(SET_LIB_PATH) \ |
3066 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3067 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3068 | done; \ | |
3069 | echo "Doing dvi in findutils" ; \ | |
3070 | (cd findutils && \ | |
3071 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3072 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3073 | "RANLIB=$${RANLIB}" \ | |
3074 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3075 | dvi) \ | |
3076 | || exit 1 | |
3077 | ||
3078 | ||
3079 | .PHONY: maybe-dvi-find dvi-find | |
3080 | maybe-dvi-find: | |
3081 | ||
3082 | dvi-find: \ | |
3083 | configure-find | |
3084 | @[ -f ./find/Makefile ] || exit 0; \ | |
b40e3958 L |
3085 | r=`${PWD_COMMAND}`; export r; \ |
3086 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3087 | $(SET_LIB_PATH) \ |
3088 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3089 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3090 | done; \ | |
3091 | echo "Doing dvi in find" ; \ | |
3092 | (cd find && \ | |
3093 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3094 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3095 | "RANLIB=$${RANLIB}" \ | |
3096 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3097 | dvi) \ | |
3098 | || exit 1 | |
3099 | ||
3100 | ||
3101 | .PHONY: maybe-dvi-flex dvi-flex | |
3102 | maybe-dvi-flex: | |
3103 | ||
3104 | dvi-flex: \ | |
3105 | configure-flex | |
3106 | @[ -f ./flex/Makefile ] || exit 0; \ | |
b40e3958 L |
3107 | r=`${PWD_COMMAND}`; export r; \ |
3108 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3109 | $(SET_LIB_PATH) \ |
3110 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3111 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3112 | done; \ | |
3113 | echo "Doing dvi in flex" ; \ | |
3114 | (cd flex && \ | |
3115 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3116 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3117 | "RANLIB=$${RANLIB}" \ | |
3118 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3119 | dvi) \ | |
3120 | || exit 1 | |
3121 | ||
3122 | ||
3123 | .PHONY: maybe-dvi-gas dvi-gas | |
3124 | maybe-dvi-gas: | |
3125 | ||
3126 | dvi-gas: \ | |
3127 | configure-gas | |
3128 | @[ -f ./gas/Makefile ] || exit 0; \ | |
b40e3958 L |
3129 | r=`${PWD_COMMAND}`; export r; \ |
3130 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3131 | $(SET_LIB_PATH) \ |
3132 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3133 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3134 | done; \ | |
3135 | echo "Doing dvi in gas" ; \ | |
3136 | (cd gas && \ | |
3137 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3138 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3139 | "RANLIB=$${RANLIB}" \ | |
3140 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3141 | dvi) \ | |
3142 | || exit 1 | |
3143 | ||
3144 | ||
3145 | .PHONY: maybe-dvi-gawk dvi-gawk | |
3146 | maybe-dvi-gawk: | |
3147 | ||
3148 | dvi-gawk: \ | |
3149 | configure-gawk | |
3150 | @[ -f ./gawk/Makefile ] || exit 0; \ | |
b40e3958 L |
3151 | r=`${PWD_COMMAND}`; export r; \ |
3152 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3153 | $(SET_LIB_PATH) \ |
3154 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3155 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3156 | done; \ | |
3157 | echo "Doing dvi in gawk" ; \ | |
3158 | (cd gawk && \ | |
3159 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3160 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3161 | "RANLIB=$${RANLIB}" \ | |
3162 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3163 | dvi) \ | |
3164 | || exit 1 | |
3165 | ||
3166 | ||
3167 | .PHONY: maybe-dvi-gettext dvi-gettext | |
3168 | maybe-dvi-gettext: | |
3169 | ||
3170 | dvi-gettext: \ | |
3171 | configure-gettext | |
3172 | @[ -f ./gettext/Makefile ] || exit 0; \ | |
b40e3958 L |
3173 | r=`${PWD_COMMAND}`; export r; \ |
3174 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3175 | $(SET_LIB_PATH) \ |
3176 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3177 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3178 | done; \ | |
3179 | echo "Doing dvi in gettext" ; \ | |
3180 | (cd gettext && \ | |
3181 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3182 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3183 | "RANLIB=$${RANLIB}" \ | |
3184 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3185 | dvi) \ | |
3186 | || exit 1 | |
3187 | ||
3188 | ||
3189 | .PHONY: maybe-dvi-gnuserv dvi-gnuserv | |
3190 | maybe-dvi-gnuserv: | |
3191 | ||
3192 | dvi-gnuserv: \ | |
3193 | configure-gnuserv | |
3194 | @[ -f ./gnuserv/Makefile ] || exit 0; \ | |
b40e3958 L |
3195 | r=`${PWD_COMMAND}`; export r; \ |
3196 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3197 | $(SET_LIB_PATH) \ |
3198 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3199 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3200 | done; \ | |
3201 | echo "Doing dvi in gnuserv" ; \ | |
3202 | (cd gnuserv && \ | |
3203 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3204 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3205 | "RANLIB=$${RANLIB}" \ | |
3206 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3207 | dvi) \ | |
3208 | || exit 1 | |
3209 | ||
3210 | ||
3211 | .PHONY: maybe-dvi-gprof dvi-gprof | |
3212 | maybe-dvi-gprof: | |
3213 | ||
3214 | dvi-gprof: \ | |
3215 | configure-gprof | |
3216 | @[ -f ./gprof/Makefile ] || exit 0; \ | |
b40e3958 L |
3217 | r=`${PWD_COMMAND}`; export r; \ |
3218 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3219 | $(SET_LIB_PATH) \ |
3220 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3221 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3222 | done; \ | |
3223 | echo "Doing dvi in gprof" ; \ | |
3224 | (cd gprof && \ | |
3225 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3226 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3227 | "RANLIB=$${RANLIB}" \ | |
3228 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3229 | dvi) \ | |
3230 | || exit 1 | |
3231 | ||
3232 | ||
3233 | .PHONY: maybe-dvi-gzip dvi-gzip | |
3234 | maybe-dvi-gzip: | |
3235 | ||
3236 | dvi-gzip: \ | |
3237 | configure-gzip | |
3238 | @[ -f ./gzip/Makefile ] || exit 0; \ | |
b40e3958 L |
3239 | r=`${PWD_COMMAND}`; export r; \ |
3240 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3241 | $(SET_LIB_PATH) \ |
3242 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3243 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3244 | done; \ | |
3245 | echo "Doing dvi in gzip" ; \ | |
3246 | (cd gzip && \ | |
3247 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3248 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3249 | "RANLIB=$${RANLIB}" \ | |
3250 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3251 | dvi) \ | |
3252 | || exit 1 | |
3253 | ||
3254 | ||
3255 | .PHONY: maybe-dvi-hello dvi-hello | |
3256 | maybe-dvi-hello: | |
3257 | ||
3258 | dvi-hello: \ | |
3259 | configure-hello | |
3260 | @[ -f ./hello/Makefile ] || exit 0; \ | |
b40e3958 L |
3261 | r=`${PWD_COMMAND}`; export r; \ |
3262 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3263 | $(SET_LIB_PATH) \ |
3264 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3265 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3266 | done; \ | |
3267 | echo "Doing dvi in hello" ; \ | |
3268 | (cd hello && \ | |
3269 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3270 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3271 | "RANLIB=$${RANLIB}" \ | |
3272 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3273 | dvi) \ | |
3274 | || exit 1 | |
3275 | ||
3276 | ||
3277 | .PHONY: maybe-dvi-indent dvi-indent | |
3278 | maybe-dvi-indent: | |
3279 | ||
3280 | dvi-indent: \ | |
3281 | configure-indent | |
3282 | @[ -f ./indent/Makefile ] || exit 0; \ | |
b40e3958 L |
3283 | r=`${PWD_COMMAND}`; export r; \ |
3284 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3285 | $(SET_LIB_PATH) \ |
3286 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3287 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3288 | done; \ | |
3289 | echo "Doing dvi in indent" ; \ | |
3290 | (cd indent && \ | |
3291 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3292 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3293 | "RANLIB=$${RANLIB}" \ | |
3294 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3295 | dvi) \ | |
3296 | || exit 1 | |
3297 | ||
3298 | ||
3299 | .PHONY: maybe-dvi-intl dvi-intl | |
3300 | maybe-dvi-intl: | |
3301 | ||
3302 | dvi-intl: \ | |
3303 | configure-intl | |
3304 | @[ -f ./intl/Makefile ] || exit 0; \ | |
b40e3958 L |
3305 | r=`${PWD_COMMAND}`; export r; \ |
3306 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3307 | $(SET_LIB_PATH) \ |
3308 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3309 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3310 | done; \ | |
3311 | echo "Doing dvi in intl" ; \ | |
3312 | (cd intl && \ | |
3313 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3314 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3315 | "RANLIB=$${RANLIB}" \ | |
3316 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3317 | dvi) \ | |
3318 | || exit 1 | |
3319 | ||
3320 | ||
3321 | .PHONY: maybe-dvi-tcl dvi-tcl | |
3322 | maybe-dvi-tcl: | |
3323 | ||
3324 | dvi-tcl: \ | |
3325 | configure-tcl | |
3326 | @[ -f ./tcl/Makefile ] || exit 0; \ | |
b40e3958 L |
3327 | r=`${PWD_COMMAND}`; export r; \ |
3328 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3329 | $(SET_LIB_PATH) \ |
3330 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3331 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3332 | done; \ | |
3333 | echo "Doing dvi in tcl" ; \ | |
3334 | (cd tcl && \ | |
3335 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3336 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3337 | "RANLIB=$${RANLIB}" \ | |
3338 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3339 | dvi) \ | |
3340 | || exit 1 | |
3341 | ||
3342 | ||
3343 | .PHONY: maybe-dvi-itcl dvi-itcl | |
3344 | maybe-dvi-itcl: | |
3345 | ||
3346 | dvi-itcl: \ | |
3347 | configure-itcl | |
3348 | @[ -f ./itcl/Makefile ] || exit 0; \ | |
b40e3958 L |
3349 | r=`${PWD_COMMAND}`; export r; \ |
3350 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3351 | $(SET_LIB_PATH) \ |
3352 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3353 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3354 | done; \ | |
3355 | echo "Doing dvi in itcl" ; \ | |
3356 | (cd itcl && \ | |
3357 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3358 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3359 | "RANLIB=$${RANLIB}" \ | |
3360 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3361 | dvi) \ | |
3362 | || exit 1 | |
3363 | ||
3364 | ||
3365 | .PHONY: maybe-dvi-ld dvi-ld | |
3366 | maybe-dvi-ld: | |
3367 | ||
3368 | dvi-ld: \ | |
3369 | configure-ld | |
3370 | @[ -f ./ld/Makefile ] || exit 0; \ | |
b40e3958 L |
3371 | r=`${PWD_COMMAND}`; export r; \ |
3372 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3373 | $(SET_LIB_PATH) \ |
3374 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3375 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3376 | done; \ | |
3377 | echo "Doing dvi in ld" ; \ | |
3378 | (cd ld && \ | |
3379 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3380 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3381 | "RANLIB=$${RANLIB}" \ | |
3382 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3383 | dvi) \ | |
3384 | || exit 1 | |
3385 | ||
3386 | ||
3387 | .PHONY: maybe-dvi-libgui dvi-libgui | |
3388 | maybe-dvi-libgui: | |
3389 | ||
3390 | dvi-libgui: \ | |
3391 | configure-libgui | |
3392 | @[ -f ./libgui/Makefile ] || exit 0; \ | |
b40e3958 L |
3393 | r=`${PWD_COMMAND}`; export r; \ |
3394 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3395 | $(SET_LIB_PATH) \ |
3396 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3397 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3398 | done; \ | |
3399 | echo "Doing dvi in libgui" ; \ | |
3400 | (cd libgui && \ | |
3401 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3402 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3403 | "RANLIB=$${RANLIB}" \ | |
3404 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3405 | dvi) \ | |
3406 | || exit 1 | |
3407 | ||
3408 | ||
3409 | .PHONY: maybe-dvi-libiberty dvi-libiberty | |
3410 | maybe-dvi-libiberty: | |
3411 | ||
3412 | dvi-libiberty: \ | |
3413 | configure-libiberty | |
3414 | @[ -f ./libiberty/Makefile ] || exit 0; \ | |
b40e3958 L |
3415 | r=`${PWD_COMMAND}`; export r; \ |
3416 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3417 | $(SET_LIB_PATH) \ |
3418 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3419 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3420 | done; \ | |
3421 | echo "Doing dvi in libiberty" ; \ | |
3422 | (cd libiberty && \ | |
3423 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3424 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3425 | "RANLIB=$${RANLIB}" \ | |
3426 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3427 | dvi) \ | |
3428 | || exit 1 | |
3429 | ||
3430 | ||
3431 | .PHONY: maybe-dvi-libtool dvi-libtool | |
3432 | maybe-dvi-libtool: | |
3433 | ||
3434 | dvi-libtool: \ | |
3435 | configure-libtool | |
3436 | @[ -f ./libtool/Makefile ] || exit 0; \ | |
b40e3958 L |
3437 | r=`${PWD_COMMAND}`; export r; \ |
3438 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3439 | $(SET_LIB_PATH) \ |
3440 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3441 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3442 | done; \ | |
3443 | echo "Doing dvi in libtool" ; \ | |
3444 | (cd libtool && \ | |
3445 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3446 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3447 | "RANLIB=$${RANLIB}" \ | |
3448 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3449 | dvi) \ | |
3450 | || exit 1 | |
3451 | ||
3452 | ||
3453 | .PHONY: maybe-dvi-m4 dvi-m4 | |
3454 | maybe-dvi-m4: | |
3455 | ||
3456 | dvi-m4: \ | |
3457 | configure-m4 | |
3458 | @[ -f ./m4/Makefile ] || exit 0; \ | |
b40e3958 L |
3459 | r=`${PWD_COMMAND}`; export r; \ |
3460 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3461 | $(SET_LIB_PATH) \ |
3462 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3463 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3464 | done; \ | |
3465 | echo "Doing dvi in m4" ; \ | |
3466 | (cd m4 && \ | |
3467 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3468 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3469 | "RANLIB=$${RANLIB}" \ | |
3470 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3471 | dvi) \ | |
3472 | || exit 1 | |
3473 | ||
3474 | ||
3475 | .PHONY: maybe-dvi-make dvi-make | |
3476 | maybe-dvi-make: | |
3477 | ||
3478 | dvi-make: \ | |
3479 | configure-make | |
3480 | @[ -f ./make/Makefile ] || exit 0; \ | |
b40e3958 L |
3481 | r=`${PWD_COMMAND}`; export r; \ |
3482 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3483 | $(SET_LIB_PATH) \ |
3484 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3485 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3486 | done; \ | |
3487 | echo "Doing dvi in make" ; \ | |
3488 | (cd make && \ | |
3489 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3490 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3491 | "RANLIB=$${RANLIB}" \ | |
3492 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3493 | dvi) \ | |
3494 | || exit 1 | |
3495 | ||
3496 | ||
3497 | .PHONY: maybe-dvi-mmalloc dvi-mmalloc | |
3498 | maybe-dvi-mmalloc: | |
3499 | ||
3500 | dvi-mmalloc: \ | |
3501 | configure-mmalloc | |
3502 | @[ -f ./mmalloc/Makefile ] || exit 0; \ | |
b40e3958 L |
3503 | r=`${PWD_COMMAND}`; export r; \ |
3504 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3505 | $(SET_LIB_PATH) \ |
3506 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3507 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3508 | done; \ | |
3509 | echo "Doing dvi in mmalloc" ; \ | |
3510 | (cd mmalloc && \ | |
3511 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3512 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3513 | "RANLIB=$${RANLIB}" \ | |
3514 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3515 | dvi) \ | |
3516 | || exit 1 | |
3517 | ||
3518 | ||
3519 | .PHONY: maybe-dvi-patch dvi-patch | |
3520 | maybe-dvi-patch: | |
3521 | ||
3522 | dvi-patch: \ | |
3523 | configure-patch | |
3524 | @[ -f ./patch/Makefile ] || exit 0; \ | |
b40e3958 L |
3525 | r=`${PWD_COMMAND}`; export r; \ |
3526 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3527 | $(SET_LIB_PATH) \ |
3528 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3529 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3530 | done; \ | |
3531 | echo "Doing dvi in patch" ; \ | |
3532 | (cd patch && \ | |
3533 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3534 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3535 | "RANLIB=$${RANLIB}" \ | |
3536 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3537 | dvi) \ | |
3538 | || exit 1 | |
3539 | ||
3540 | ||
3541 | .PHONY: maybe-dvi-perl dvi-perl | |
3542 | maybe-dvi-perl: | |
3543 | ||
3544 | dvi-perl: \ | |
3545 | configure-perl | |
3546 | @[ -f ./perl/Makefile ] || exit 0; \ | |
b40e3958 L |
3547 | r=`${PWD_COMMAND}`; export r; \ |
3548 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3549 | $(SET_LIB_PATH) \ |
3550 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3551 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3552 | done; \ | |
3553 | echo "Doing dvi in perl" ; \ | |
3554 | (cd perl && \ | |
3555 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3556 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3557 | "RANLIB=$${RANLIB}" \ | |
3558 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3559 | dvi) \ | |
3560 | || exit 1 | |
3561 | ||
3562 | ||
3563 | .PHONY: maybe-dvi-prms dvi-prms | |
3564 | maybe-dvi-prms: | |
3565 | ||
3566 | dvi-prms: \ | |
3567 | configure-prms | |
3568 | @[ -f ./prms/Makefile ] || exit 0; \ | |
b40e3958 L |
3569 | r=`${PWD_COMMAND}`; export r; \ |
3570 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3571 | $(SET_LIB_PATH) \ |
3572 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3573 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3574 | done; \ | |
3575 | echo "Doing dvi in prms" ; \ | |
3576 | (cd prms && \ | |
3577 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3578 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3579 | "RANLIB=$${RANLIB}" \ | |
3580 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3581 | dvi) \ | |
3582 | || exit 1 | |
3583 | ||
3584 | ||
3585 | .PHONY: maybe-dvi-rcs dvi-rcs | |
3586 | maybe-dvi-rcs: | |
3587 | ||
3588 | dvi-rcs: \ | |
3589 | configure-rcs | |
3590 | @[ -f ./rcs/Makefile ] || exit 0; \ | |
b40e3958 L |
3591 | r=`${PWD_COMMAND}`; export r; \ |
3592 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3593 | $(SET_LIB_PATH) \ |
3594 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3595 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3596 | done; \ | |
3597 | echo "Doing dvi in rcs" ; \ | |
3598 | (cd rcs && \ | |
3599 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3600 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3601 | "RANLIB=$${RANLIB}" \ | |
3602 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3603 | dvi) \ | |
3604 | || exit 1 | |
3605 | ||
3606 | ||
3607 | .PHONY: maybe-dvi-readline dvi-readline | |
3608 | maybe-dvi-readline: | |
3609 | ||
3610 | dvi-readline: \ | |
3611 | configure-readline | |
3612 | @[ -f ./readline/Makefile ] || exit 0; \ | |
b40e3958 L |
3613 | r=`${PWD_COMMAND}`; export r; \ |
3614 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3615 | $(SET_LIB_PATH) \ |
3616 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3617 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3618 | done; \ | |
3619 | echo "Doing dvi in readline" ; \ | |
3620 | (cd readline && \ | |
3621 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3622 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3623 | "RANLIB=$${RANLIB}" \ | |
3624 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3625 | dvi) \ | |
3626 | || exit 1 | |
3627 | ||
3628 | ||
3629 | .PHONY: maybe-dvi-release dvi-release | |
3630 | maybe-dvi-release: | |
3631 | ||
3632 | dvi-release: \ | |
3633 | configure-release | |
3634 | @[ -f ./release/Makefile ] || exit 0; \ | |
b40e3958 L |
3635 | r=`${PWD_COMMAND}`; export r; \ |
3636 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3637 | $(SET_LIB_PATH) \ |
3638 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3639 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3640 | done; \ | |
3641 | echo "Doing dvi in release" ; \ | |
3642 | (cd release && \ | |
3643 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3644 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3645 | "RANLIB=$${RANLIB}" \ | |
3646 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3647 | dvi) \ | |
3648 | || exit 1 | |
3649 | ||
3650 | ||
3651 | .PHONY: maybe-dvi-recode dvi-recode | |
3652 | maybe-dvi-recode: | |
3653 | ||
3654 | dvi-recode: \ | |
3655 | configure-recode | |
3656 | @[ -f ./recode/Makefile ] || exit 0; \ | |
b40e3958 L |
3657 | r=`${PWD_COMMAND}`; export r; \ |
3658 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3659 | $(SET_LIB_PATH) \ |
3660 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3661 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3662 | done; \ | |
3663 | echo "Doing dvi in recode" ; \ | |
3664 | (cd recode && \ | |
3665 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3666 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3667 | "RANLIB=$${RANLIB}" \ | |
3668 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3669 | dvi) \ | |
3670 | || exit 1 | |
3671 | ||
3672 | ||
3673 | .PHONY: maybe-dvi-sed dvi-sed | |
3674 | maybe-dvi-sed: | |
3675 | ||
3676 | dvi-sed: \ | |
3677 | configure-sed | |
3678 | @[ -f ./sed/Makefile ] || exit 0; \ | |
b40e3958 L |
3679 | r=`${PWD_COMMAND}`; export r; \ |
3680 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3681 | $(SET_LIB_PATH) \ |
3682 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3683 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3684 | done; \ | |
3685 | echo "Doing dvi in sed" ; \ | |
3686 | (cd sed && \ | |
3687 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3688 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3689 | "RANLIB=$${RANLIB}" \ | |
3690 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3691 | dvi) \ | |
3692 | || exit 1 | |
3693 | ||
3694 | ||
3695 | .PHONY: maybe-dvi-send-pr dvi-send-pr | |
3696 | maybe-dvi-send-pr: | |
3697 | ||
3698 | dvi-send-pr: \ | |
3699 | configure-send-pr | |
3700 | @[ -f ./send-pr/Makefile ] || exit 0; \ | |
b40e3958 L |
3701 | r=`${PWD_COMMAND}`; export r; \ |
3702 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3703 | $(SET_LIB_PATH) \ |
3704 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3705 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3706 | done; \ | |
3707 | echo "Doing dvi in send-pr" ; \ | |
3708 | (cd send-pr && \ | |
3709 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3710 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3711 | "RANLIB=$${RANLIB}" \ | |
3712 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3713 | dvi) \ | |
3714 | || exit 1 | |
3715 | ||
3716 | ||
3717 | .PHONY: maybe-dvi-shellutils dvi-shellutils | |
3718 | maybe-dvi-shellutils: | |
3719 | ||
3720 | dvi-shellutils: \ | |
3721 | configure-shellutils | |
3722 | @[ -f ./shellutils/Makefile ] || exit 0; \ | |
b40e3958 L |
3723 | r=`${PWD_COMMAND}`; export r; \ |
3724 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3725 | $(SET_LIB_PATH) \ |
3726 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3727 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3728 | done; \ | |
3729 | echo "Doing dvi in shellutils" ; \ | |
3730 | (cd shellutils && \ | |
3731 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3732 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3733 | "RANLIB=$${RANLIB}" \ | |
3734 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3735 | dvi) \ | |
3736 | || exit 1 | |
3737 | ||
3738 | ||
3739 | .PHONY: maybe-dvi-sid dvi-sid | |
3740 | maybe-dvi-sid: | |
3741 | ||
3742 | dvi-sid: \ | |
3743 | configure-sid | |
3744 | @[ -f ./sid/Makefile ] || exit 0; \ | |
b40e3958 L |
3745 | r=`${PWD_COMMAND}`; export r; \ |
3746 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3747 | $(SET_LIB_PATH) \ |
3748 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3749 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3750 | done; \ | |
3751 | echo "Doing dvi in sid" ; \ | |
3752 | (cd sid && \ | |
3753 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3754 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3755 | "RANLIB=$${RANLIB}" \ | |
3756 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3757 | dvi) \ | |
3758 | || exit 1 | |
3759 | ||
3760 | ||
3761 | .PHONY: maybe-dvi-sim dvi-sim | |
3762 | maybe-dvi-sim: | |
3763 | ||
3764 | dvi-sim: \ | |
3765 | configure-sim | |
3766 | @[ -f ./sim/Makefile ] || exit 0; \ | |
b40e3958 L |
3767 | r=`${PWD_COMMAND}`; export r; \ |
3768 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3769 | $(SET_LIB_PATH) \ |
3770 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3771 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3772 | done; \ | |
3773 | echo "Doing dvi in sim" ; \ | |
3774 | (cd sim && \ | |
3775 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3776 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3777 | "RANLIB=$${RANLIB}" \ | |
3778 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3779 | dvi) \ | |
3780 | || exit 1 | |
3781 | ||
3782 | ||
3783 | .PHONY: maybe-dvi-tar dvi-tar | |
3784 | maybe-dvi-tar: | |
3785 | ||
3786 | dvi-tar: \ | |
3787 | configure-tar | |
3788 | @[ -f ./tar/Makefile ] || exit 0; \ | |
b40e3958 L |
3789 | r=`${PWD_COMMAND}`; export r; \ |
3790 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3791 | $(SET_LIB_PATH) \ |
3792 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3793 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3794 | done; \ | |
3795 | echo "Doing dvi in tar" ; \ | |
3796 | (cd tar && \ | |
3797 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3798 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3799 | "RANLIB=$${RANLIB}" \ | |
3800 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3801 | dvi) \ | |
3802 | || exit 1 | |
3803 | ||
3804 | ||
3805 | .PHONY: maybe-dvi-texinfo dvi-texinfo | |
3806 | maybe-dvi-texinfo: | |
3807 | ||
3808 | dvi-texinfo: \ | |
3809 | configure-texinfo | |
3810 | @[ -f ./texinfo/Makefile ] || exit 0; \ | |
b40e3958 L |
3811 | r=`${PWD_COMMAND}`; export r; \ |
3812 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3813 | $(SET_LIB_PATH) \ |
3814 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3815 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3816 | done; \ | |
3817 | echo "Doing dvi in texinfo" ; \ | |
3818 | (cd texinfo && \ | |
3819 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3820 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3821 | "RANLIB=$${RANLIB}" \ | |
3822 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3823 | dvi) \ | |
3824 | || exit 1 | |
3825 | ||
3826 | ||
3827 | .PHONY: maybe-dvi-textutils dvi-textutils | |
3828 | maybe-dvi-textutils: | |
3829 | ||
3830 | dvi-textutils: \ | |
3831 | configure-textutils | |
3832 | @[ -f ./textutils/Makefile ] || exit 0; \ | |
b40e3958 L |
3833 | r=`${PWD_COMMAND}`; export r; \ |
3834 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3835 | $(SET_LIB_PATH) \ |
3836 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3837 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3838 | done; \ | |
3839 | echo "Doing dvi in textutils" ; \ | |
3840 | (cd textutils && \ | |
3841 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3842 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3843 | "RANLIB=$${RANLIB}" \ | |
3844 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3845 | dvi) \ | |
3846 | || exit 1 | |
3847 | ||
3848 | ||
3849 | .PHONY: maybe-dvi-time dvi-time | |
3850 | maybe-dvi-time: | |
3851 | ||
3852 | dvi-time: \ | |
3853 | configure-time | |
3854 | @[ -f ./time/Makefile ] || exit 0; \ | |
b40e3958 L |
3855 | r=`${PWD_COMMAND}`; export r; \ |
3856 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3857 | $(SET_LIB_PATH) \ |
3858 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3859 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3860 | done; \ | |
3861 | echo "Doing dvi in time" ; \ | |
3862 | (cd time && \ | |
3863 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3864 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3865 | "RANLIB=$${RANLIB}" \ | |
3866 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3867 | dvi) \ | |
3868 | || exit 1 | |
3869 | ||
3870 | ||
3871 | .PHONY: maybe-dvi-uudecode dvi-uudecode | |
3872 | maybe-dvi-uudecode: | |
3873 | ||
3874 | dvi-uudecode: \ | |
3875 | configure-uudecode | |
3876 | @[ -f ./uudecode/Makefile ] || exit 0; \ | |
b40e3958 L |
3877 | r=`${PWD_COMMAND}`; export r; \ |
3878 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3879 | $(SET_LIB_PATH) \ |
3880 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3881 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3882 | done; \ | |
3883 | echo "Doing dvi in uudecode" ; \ | |
3884 | (cd uudecode && \ | |
3885 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3886 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3887 | "RANLIB=$${RANLIB}" \ | |
3888 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3889 | dvi) \ | |
3890 | || exit 1 | |
3891 | ||
3892 | ||
3893 | .PHONY: maybe-dvi-wdiff dvi-wdiff | |
3894 | maybe-dvi-wdiff: | |
3895 | ||
3896 | dvi-wdiff: \ | |
3897 | configure-wdiff | |
3898 | @[ -f ./wdiff/Makefile ] || exit 0; \ | |
b40e3958 L |
3899 | r=`${PWD_COMMAND}`; export r; \ |
3900 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3901 | $(SET_LIB_PATH) \ |
3902 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3903 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3904 | done; \ | |
3905 | echo "Doing dvi in wdiff" ; \ | |
3906 | (cd wdiff && \ | |
3907 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3908 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3909 | "RANLIB=$${RANLIB}" \ | |
3910 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3911 | dvi) \ | |
3912 | || exit 1 | |
3913 | ||
3914 | ||
3915 | .PHONY: maybe-dvi-zip dvi-zip | |
3916 | maybe-dvi-zip: | |
3917 | ||
3918 | dvi-zip: \ | |
3919 | configure-zip | |
3920 | @[ -f ./zip/Makefile ] || exit 0; \ | |
b40e3958 L |
3921 | r=`${PWD_COMMAND}`; export r; \ |
3922 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3923 | $(SET_LIB_PATH) \ |
3924 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3925 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3926 | done; \ | |
3927 | echo "Doing dvi in zip" ; \ | |
3928 | (cd zip && \ | |
3929 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3930 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3931 | "RANLIB=$${RANLIB}" \ | |
3932 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3933 | dvi) \ | |
3934 | || exit 1 | |
3935 | ||
3936 | ||
3937 | .PHONY: maybe-dvi-zlib dvi-zlib | |
3938 | maybe-dvi-zlib: | |
3939 | ||
3940 | dvi-zlib: \ | |
3941 | configure-zlib | |
3942 | @[ -f ./zlib/Makefile ] || exit 0; \ | |
b40e3958 L |
3943 | r=`${PWD_COMMAND}`; export r; \ |
3944 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3945 | $(SET_LIB_PATH) \ |
3946 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3947 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3948 | done; \ | |
3949 | echo "Doing dvi in zlib" ; \ | |
3950 | (cd zlib && \ | |
3951 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3952 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3953 | "RANLIB=$${RANLIB}" \ | |
3954 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3955 | dvi) \ | |
3956 | || exit 1 | |
3957 | ||
3958 | ||
3959 | .PHONY: maybe-dvi-gdb dvi-gdb | |
3960 | maybe-dvi-gdb: | |
3961 | ||
3962 | dvi-gdb: \ | |
3963 | configure-gdb | |
3964 | @[ -f ./gdb/Makefile ] || exit 0; \ | |
b40e3958 L |
3965 | r=`${PWD_COMMAND}`; export r; \ |
3966 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3967 | $(SET_LIB_PATH) \ |
3968 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3969 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3970 | done; \ | |
3971 | echo "Doing dvi in gdb" ; \ | |
3972 | (cd gdb && \ | |
3973 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3974 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3975 | "RANLIB=$${RANLIB}" \ | |
3976 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3977 | dvi) \ | |
3978 | || exit 1 | |
3979 | ||
3980 | ||
3981 | .PHONY: maybe-dvi-expect dvi-expect | |
3982 | maybe-dvi-expect: | |
3983 | ||
3984 | dvi-expect: \ | |
3985 | configure-expect | |
3986 | @[ -f ./expect/Makefile ] || exit 0; \ | |
b40e3958 L |
3987 | r=`${PWD_COMMAND}`; export r; \ |
3988 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
3989 | $(SET_LIB_PATH) \ |
3990 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3991 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3992 | done; \ | |
3993 | echo "Doing dvi in expect" ; \ | |
3994 | (cd expect && \ | |
3995 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3996 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3997 | "RANLIB=$${RANLIB}" \ | |
3998 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3999 | dvi) \ | |
4000 | || exit 1 | |
4001 | ||
4002 | ||
4003 | .PHONY: maybe-dvi-guile dvi-guile | |
4004 | maybe-dvi-guile: | |
4005 | ||
4006 | dvi-guile: \ | |
4007 | configure-guile | |
4008 | @[ -f ./guile/Makefile ] || exit 0; \ | |
b40e3958 L |
4009 | r=`${PWD_COMMAND}`; export r; \ |
4010 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4011 | $(SET_LIB_PATH) \ |
4012 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4013 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4014 | done; \ | |
4015 | echo "Doing dvi in guile" ; \ | |
4016 | (cd guile && \ | |
4017 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4018 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4019 | "RANLIB=$${RANLIB}" \ | |
4020 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4021 | dvi) \ | |
4022 | || exit 1 | |
4023 | ||
4024 | ||
4025 | .PHONY: maybe-dvi-tk dvi-tk | |
4026 | maybe-dvi-tk: | |
4027 | ||
4028 | dvi-tk: \ | |
4029 | configure-tk | |
4030 | @[ -f ./tk/Makefile ] || exit 0; \ | |
b40e3958 L |
4031 | r=`${PWD_COMMAND}`; export r; \ |
4032 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4033 | $(SET_LIB_PATH) \ |
4034 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4035 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4036 | done; \ | |
4037 | echo "Doing dvi in tk" ; \ | |
4038 | (cd tk && \ | |
4039 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4040 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4041 | "RANLIB=$${RANLIB}" \ | |
4042 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4043 | dvi) \ | |
4044 | || exit 1 | |
4045 | ||
4046 | ||
4047 | .PHONY: maybe-dvi-tix dvi-tix | |
4048 | maybe-dvi-tix: | |
4049 | ||
4050 | dvi-tix: \ | |
4051 | configure-tix | |
4052 | @[ -f ./tix/Makefile ] || exit 0; \ | |
b40e3958 L |
4053 | r=`${PWD_COMMAND}`; export r; \ |
4054 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4055 | $(SET_LIB_PATH) \ |
4056 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4057 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4058 | done; \ | |
4059 | echo "Doing dvi in tix" ; \ | |
4060 | (cd tix && \ | |
4061 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4062 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4063 | "RANLIB=$${RANLIB}" \ | |
4064 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4065 | dvi) \ | |
4066 | || exit 1 | |
4067 | ||
4068 | ||
4069 | .PHONY: maybe-dvi-libtermcap dvi-libtermcap | |
4070 | maybe-dvi-libtermcap: | |
4071 | ||
4072 | dvi-libtermcap: \ | |
4073 | configure-libtermcap | |
4074 | @[ -f ./libtermcap/Makefile ] || exit 0; \ | |
b40e3958 L |
4075 | r=`${PWD_COMMAND}`; export r; \ |
4076 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4077 | $(SET_LIB_PATH) \ |
4078 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4079 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4080 | done; \ | |
4081 | echo "Doing dvi in libtermcap" ; \ | |
4082 | (cd libtermcap && \ | |
4083 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4084 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4085 | "RANLIB=$${RANLIB}" \ | |
4086 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4087 | dvi) \ | |
4088 | || exit 1 | |
4089 | ||
4090 | ||
4091 | .PHONY: maybe-dvi-utils dvi-utils | |
4092 | maybe-dvi-utils: | |
4093 | ||
4094 | dvi-utils: \ | |
4095 | configure-utils | |
4096 | @[ -f ./utils/Makefile ] || exit 0; \ | |
b40e3958 L |
4097 | r=`${PWD_COMMAND}`; export r; \ |
4098 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4099 | $(SET_LIB_PATH) \ |
4100 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4101 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4102 | done; \ | |
4103 | echo "Doing dvi in utils" ; \ | |
4104 | (cd utils && \ | |
4105 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4106 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4107 | "RANLIB=$${RANLIB}" \ | |
4108 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4109 | dvi) \ | |
4110 | || exit 1 | |
4111 | ||
4112 | ||
4113 | ||
4114 | # Target modules. | |
4115 | ||
4116 | .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3 | |
4117 | maybe-dvi-target-libstdc++-v3: | |
4118 | ||
4119 | dvi-target-libstdc++-v3: \ | |
4120 | configure-target-libstdc++-v3 | |
4121 | @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ | |
b40e3958 L |
4122 | r=`${PWD_COMMAND}`; export r; \ |
4123 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4124 | $(SET_LIB_PATH) \ |
4125 | echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \ | |
4126 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4127 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4128 | done; \ | |
4129 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
4130 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4131 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4132 | "RANLIB=$${RANLIB}" \ | |
4133 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4134 | dvi) \ | |
4135 | || exit 1 | |
4136 | ||
4137 | ||
4138 | .PHONY: maybe-dvi-target-newlib dvi-target-newlib | |
4139 | maybe-dvi-target-newlib: | |
4140 | ||
4141 | dvi-target-newlib: \ | |
4142 | configure-target-newlib | |
4143 | @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
4144 | r=`${PWD_COMMAND}`; export r; \ |
4145 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4146 | $(SET_LIB_PATH) \ |
4147 | echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \ | |
4148 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4149 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4150 | done; \ | |
4151 | (cd $(TARGET_SUBDIR)/newlib && \ | |
4152 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4153 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4154 | "RANLIB=$${RANLIB}" \ | |
4155 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4156 | dvi) \ | |
4157 | || exit 1 | |
4158 | ||
4159 | ||
4160 | .PHONY: maybe-dvi-target-libf2c dvi-target-libf2c | |
4161 | maybe-dvi-target-libf2c: | |
4162 | ||
4163 | dvi-target-libf2c: \ | |
4164 | configure-target-libf2c | |
4165 | @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \ | |
b40e3958 L |
4166 | r=`${PWD_COMMAND}`; export r; \ |
4167 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4168 | $(SET_LIB_PATH) \ |
4169 | echo "Doing dvi in $(TARGET_SUBDIR)/libf2c" ; \ | |
4170 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4171 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4172 | done; \ | |
4173 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
4174 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4175 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4176 | "RANLIB=$${RANLIB}" \ | |
4177 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4178 | dvi) \ | |
4179 | || exit 1 | |
4180 | ||
4181 | ||
4182 | .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc | |
4183 | maybe-dvi-target-libobjc: | |
4184 | ||
4185 | dvi-target-libobjc: \ | |
4186 | configure-target-libobjc | |
4187 | @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
4188 | r=`${PWD_COMMAND}`; export r; \ |
4189 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4190 | $(SET_LIB_PATH) \ |
4191 | echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \ | |
4192 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4193 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4194 | done; \ | |
4195 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
4196 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4197 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4198 | "RANLIB=$${RANLIB}" \ | |
4199 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4200 | dvi) \ | |
4201 | || exit 1 | |
4202 | ||
4203 | ||
4204 | .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap | |
4205 | maybe-dvi-target-libtermcap: | |
4206 | ||
4207 | dvi-target-libtermcap: \ | |
4208 | configure-target-libtermcap | |
4209 | @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ | |
b40e3958 L |
4210 | r=`${PWD_COMMAND}`; export r; \ |
4211 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4212 | $(SET_LIB_PATH) \ |
4213 | echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \ | |
4214 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4215 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4216 | done; \ | |
4217 | (cd $(TARGET_SUBDIR)/libtermcap && \ | |
4218 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4219 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4220 | "RANLIB=$${RANLIB}" \ | |
4221 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4222 | dvi) \ | |
4223 | || exit 1 | |
4224 | ||
4225 | ||
4226 | .PHONY: maybe-dvi-target-winsup dvi-target-winsup | |
4227 | maybe-dvi-target-winsup: | |
4228 | ||
4229 | dvi-target-winsup: \ | |
4230 | configure-target-winsup | |
4231 | @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ | |
b40e3958 L |
4232 | r=`${PWD_COMMAND}`; export r; \ |
4233 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4234 | $(SET_LIB_PATH) \ |
4235 | echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \ | |
4236 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4237 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4238 | done; \ | |
4239 | (cd $(TARGET_SUBDIR)/winsup && \ | |
4240 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4241 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4242 | "RANLIB=$${RANLIB}" \ | |
4243 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4244 | dvi) \ | |
4245 | || exit 1 | |
4246 | ||
4247 | ||
4248 | .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss | |
4249 | maybe-dvi-target-libgloss: | |
4250 | ||
4251 | dvi-target-libgloss: \ | |
4252 | configure-target-libgloss | |
4253 | @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ | |
b40e3958 L |
4254 | r=`${PWD_COMMAND}`; export r; \ |
4255 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4256 | $(SET_LIB_PATH) \ |
4257 | echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \ | |
4258 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4259 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4260 | done; \ | |
4261 | (cd $(TARGET_SUBDIR)/libgloss && \ | |
4262 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4263 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4264 | "RANLIB=$${RANLIB}" \ | |
4265 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4266 | dvi) \ | |
4267 | || exit 1 | |
4268 | ||
4269 | ||
4270 | .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty | |
4271 | maybe-dvi-target-libiberty: | |
4272 | ||
4273 | dvi-target-libiberty: \ | |
4274 | configure-target-libiberty | |
4275 | @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ | |
b40e3958 L |
4276 | r=`${PWD_COMMAND}`; export r; \ |
4277 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4278 | $(SET_LIB_PATH) \ |
4279 | echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \ | |
4280 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4281 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4282 | done; \ | |
4283 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
4284 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4285 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4286 | "RANLIB=$${RANLIB}" \ | |
4287 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4288 | dvi) \ | |
4289 | || exit 1 | |
4290 | ||
4291 | ||
4292 | .PHONY: maybe-dvi-target-gperf dvi-target-gperf | |
4293 | maybe-dvi-target-gperf: | |
4294 | ||
4295 | dvi-target-gperf: \ | |
4296 | configure-target-gperf | |
4297 | @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ | |
b40e3958 L |
4298 | r=`${PWD_COMMAND}`; export r; \ |
4299 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4300 | $(SET_LIB_PATH) \ |
4301 | echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \ | |
4302 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4303 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4304 | done; \ | |
4305 | (cd $(TARGET_SUBDIR)/gperf && \ | |
4306 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4307 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4308 | "RANLIB=$${RANLIB}" \ | |
4309 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4310 | dvi) \ | |
4311 | || exit 1 | |
4312 | ||
4313 | ||
4314 | .PHONY: maybe-dvi-target-examples dvi-target-examples | |
4315 | maybe-dvi-target-examples: | |
4316 | ||
4317 | dvi-target-examples: \ | |
4318 | configure-target-examples | |
4319 | @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ | |
b40e3958 L |
4320 | r=`${PWD_COMMAND}`; export r; \ |
4321 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4322 | $(SET_LIB_PATH) \ |
4323 | echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \ | |
4324 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4325 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4326 | done; \ | |
4327 | (cd $(TARGET_SUBDIR)/examples && \ | |
4328 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4329 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4330 | "RANLIB=$${RANLIB}" \ | |
4331 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4332 | dvi) \ | |
4333 | || exit 1 | |
4334 | ||
4335 | ||
4336 | .PHONY: maybe-dvi-target-libffi dvi-target-libffi | |
4337 | maybe-dvi-target-libffi: | |
4338 | ||
4339 | dvi-target-libffi: \ | |
4340 | configure-target-libffi | |
4341 | @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ | |
b40e3958 L |
4342 | r=`${PWD_COMMAND}`; export r; \ |
4343 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4344 | $(SET_LIB_PATH) \ |
4345 | echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \ | |
4346 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4347 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4348 | done; \ | |
4349 | (cd $(TARGET_SUBDIR)/libffi && \ | |
4350 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4351 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4352 | "RANLIB=$${RANLIB}" \ | |
4353 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4354 | dvi) \ | |
4355 | || exit 1 | |
4356 | ||
4357 | ||
4358 | .PHONY: maybe-dvi-target-libjava dvi-target-libjava | |
4359 | maybe-dvi-target-libjava: | |
4360 | ||
4361 | dvi-target-libjava: \ | |
4362 | configure-target-libjava | |
4363 | @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ | |
b40e3958 L |
4364 | r=`${PWD_COMMAND}`; export r; \ |
4365 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4366 | $(SET_LIB_PATH) \ |
4367 | echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \ | |
4368 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4369 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4370 | done; \ | |
4371 | (cd $(TARGET_SUBDIR)/libjava && \ | |
4372 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4373 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4374 | "RANLIB=$${RANLIB}" \ | |
4375 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4376 | dvi) \ | |
4377 | || exit 1 | |
4378 | ||
4379 | ||
4380 | .PHONY: maybe-dvi-target-zlib dvi-target-zlib | |
4381 | maybe-dvi-target-zlib: | |
4382 | ||
4383 | dvi-target-zlib: \ | |
4384 | configure-target-zlib | |
4385 | @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
4386 | r=`${PWD_COMMAND}`; export r; \ |
4387 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4388 | $(SET_LIB_PATH) \ |
4389 | echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \ | |
4390 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4391 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4392 | done; \ | |
4393 | (cd $(TARGET_SUBDIR)/zlib && \ | |
4394 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4395 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4396 | "RANLIB=$${RANLIB}" \ | |
4397 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4398 | dvi) \ | |
4399 | || exit 1 | |
4400 | ||
4401 | ||
4402 | .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc | |
4403 | maybe-dvi-target-boehm-gc: | |
4404 | ||
4405 | dvi-target-boehm-gc: \ | |
4406 | configure-target-boehm-gc | |
4407 | @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
4408 | r=`${PWD_COMMAND}`; export r; \ |
4409 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4410 | $(SET_LIB_PATH) \ |
4411 | echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \ | |
4412 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4413 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4414 | done; \ | |
4415 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
4416 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4417 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4418 | "RANLIB=$${RANLIB}" \ | |
4419 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4420 | dvi) \ | |
4421 | || exit 1 | |
4422 | ||
4423 | ||
4424 | .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads | |
4425 | maybe-dvi-target-qthreads: | |
4426 | ||
4427 | dvi-target-qthreads: \ | |
4428 | configure-target-qthreads | |
4429 | @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ | |
b40e3958 L |
4430 | r=`${PWD_COMMAND}`; export r; \ |
4431 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4432 | $(SET_LIB_PATH) \ |
4433 | echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \ | |
4434 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4435 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4436 | done; \ | |
4437 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
4438 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4439 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4440 | "RANLIB=$${RANLIB}" \ | |
4441 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4442 | dvi) \ | |
4443 | || exit 1 | |
4444 | ||
4445 | ||
4446 | .PHONY: maybe-dvi-target-rda dvi-target-rda | |
4447 | maybe-dvi-target-rda: | |
4448 | ||
4449 | dvi-target-rda: \ | |
4450 | configure-target-rda | |
4451 | @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ | |
b40e3958 L |
4452 | r=`${PWD_COMMAND}`; export r; \ |
4453 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4454 | $(SET_LIB_PATH) \ |
4455 | echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \ | |
4456 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4457 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4458 | done; \ | |
4459 | (cd $(TARGET_SUBDIR)/rda && \ | |
4460 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4461 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4462 | "RANLIB=$${RANLIB}" \ | |
4463 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4464 | dvi) \ | |
4465 | || exit 1 | |
4466 | ||
4467 | ||
4468 | ||
4469 | .PHONY: do-TAGS | |
4470 | do-TAGS: TAGS-host TAGS-target | |
4471 | ||
4472 | .PHONY: TAGS-host | |
4473 | TAGS-host: maybe-TAGS-gcc \ | |
4474 | maybe-TAGS-ash \ | |
4475 | maybe-TAGS-autoconf \ | |
4476 | maybe-TAGS-automake \ | |
4477 | maybe-TAGS-bash \ | |
4478 | maybe-TAGS-bfd \ | |
4479 | maybe-TAGS-opcodes \ | |
4480 | maybe-TAGS-binutils \ | |
4481 | maybe-TAGS-bison \ | |
4482 | maybe-TAGS-byacc \ | |
4483 | maybe-TAGS-bzip2 \ | |
4484 | maybe-TAGS-dejagnu \ | |
4485 | maybe-TAGS-diff \ | |
4486 | maybe-TAGS-dosutils \ | |
4487 | maybe-TAGS-etc \ | |
4488 | maybe-TAGS-fastjar \ | |
4489 | maybe-TAGS-fileutils \ | |
4490 | maybe-TAGS-findutils \ | |
4491 | maybe-TAGS-find \ | |
4492 | maybe-TAGS-flex \ | |
4493 | maybe-TAGS-gas \ | |
4494 | maybe-TAGS-gawk \ | |
4495 | maybe-TAGS-gettext \ | |
4496 | maybe-TAGS-gnuserv \ | |
4497 | maybe-TAGS-gprof \ | |
4498 | maybe-TAGS-gzip \ | |
4499 | maybe-TAGS-hello \ | |
4500 | maybe-TAGS-indent \ | |
4501 | maybe-TAGS-intl \ | |
4502 | maybe-TAGS-tcl \ | |
4503 | maybe-TAGS-itcl \ | |
4504 | maybe-TAGS-ld \ | |
4505 | maybe-TAGS-libgui \ | |
4506 | maybe-TAGS-libiberty \ | |
4507 | maybe-TAGS-libtool \ | |
4508 | maybe-TAGS-m4 \ | |
4509 | maybe-TAGS-make \ | |
4510 | maybe-TAGS-mmalloc \ | |
4511 | maybe-TAGS-patch \ | |
4512 | maybe-TAGS-perl \ | |
4513 | maybe-TAGS-prms \ | |
4514 | maybe-TAGS-rcs \ | |
4515 | maybe-TAGS-readline \ | |
4516 | maybe-TAGS-release \ | |
4517 | maybe-TAGS-recode \ | |
4518 | maybe-TAGS-sed \ | |
4519 | maybe-TAGS-send-pr \ | |
4520 | maybe-TAGS-shellutils \ | |
4521 | maybe-TAGS-sid \ | |
4522 | maybe-TAGS-sim \ | |
4523 | maybe-TAGS-tar \ | |
4524 | maybe-TAGS-texinfo \ | |
4525 | maybe-TAGS-textutils \ | |
4526 | maybe-TAGS-time \ | |
4527 | maybe-TAGS-uudecode \ | |
4528 | maybe-TAGS-wdiff \ | |
4529 | maybe-TAGS-zip \ | |
4530 | maybe-TAGS-zlib \ | |
4531 | maybe-TAGS-gdb \ | |
4532 | maybe-TAGS-expect \ | |
4533 | maybe-TAGS-guile \ | |
4534 | maybe-TAGS-tk \ | |
4535 | maybe-TAGS-tix \ | |
4536 | maybe-TAGS-libtermcap \ | |
4537 | maybe-TAGS-utils | |
4538 | ||
4539 | .PHONY: TAGS-target | |
4540 | TAGS-target: \ | |
4541 | maybe-TAGS-target-libstdc++-v3 \ | |
4542 | maybe-TAGS-target-newlib \ | |
4543 | maybe-TAGS-target-libf2c \ | |
4544 | maybe-TAGS-target-libobjc \ | |
4545 | maybe-TAGS-target-libtermcap \ | |
4546 | maybe-TAGS-target-winsup \ | |
4547 | maybe-TAGS-target-libgloss \ | |
4548 | maybe-TAGS-target-libiberty \ | |
4549 | maybe-TAGS-target-gperf \ | |
4550 | maybe-TAGS-target-examples \ | |
4551 | maybe-TAGS-target-libffi \ | |
4552 | maybe-TAGS-target-libjava \ | |
4553 | maybe-TAGS-target-zlib \ | |
4554 | maybe-TAGS-target-boehm-gc \ | |
4555 | maybe-TAGS-target-qthreads \ | |
4556 | maybe-TAGS-target-rda | |
4557 | ||
4558 | # GCC, the eternal special case | |
4559 | .PHONY: maybe-TAGS-gcc TAGS-gcc | |
4560 | maybe-TAGS-gcc: | |
4561 | TAGS-gcc: \ | |
4562 | configure-gcc | |
4563 | @[ -f ./gcc/Makefile ] || exit 0; \ | |
b40e3958 L |
4564 | r=`${PWD_COMMAND}`; export r; \ |
4565 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4566 | $(SET_LIB_PATH) \ |
4567 | for flag in $(EXTRA_GCC_FLAGS); do \ | |
4568 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4569 | done; \ | |
4570 | echo "Doing TAGS in gcc" ; \ | |
4571 | (cd gcc && \ | |
4572 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4573 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4574 | "RANLIB=$${RANLIB}" \ | |
4575 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4576 | TAGS) \ | |
4577 | || exit 1 | |
4578 | ||
4579 | # Host modules. | |
4580 | ||
4581 | .PHONY: maybe-TAGS-ash TAGS-ash | |
4582 | maybe-TAGS-ash: | |
4583 | ||
4584 | TAGS-ash: \ | |
4585 | configure-ash | |
4586 | @[ -f ./ash/Makefile ] || exit 0; \ | |
b40e3958 L |
4587 | r=`${PWD_COMMAND}`; export r; \ |
4588 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4589 | $(SET_LIB_PATH) \ |
4590 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4591 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4592 | done; \ | |
4593 | echo "Doing TAGS in ash" ; \ | |
4594 | (cd ash && \ | |
4595 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4596 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4597 | "RANLIB=$${RANLIB}" \ | |
4598 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4599 | TAGS) \ | |
4600 | || exit 1 | |
4601 | ||
4602 | ||
4603 | .PHONY: maybe-TAGS-autoconf TAGS-autoconf | |
4604 | maybe-TAGS-autoconf: | |
4605 | ||
4606 | TAGS-autoconf: \ | |
4607 | configure-autoconf | |
4608 | @[ -f ./autoconf/Makefile ] || exit 0; \ | |
b40e3958 L |
4609 | r=`${PWD_COMMAND}`; export r; \ |
4610 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4611 | $(SET_LIB_PATH) \ |
4612 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4613 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4614 | done; \ | |
4615 | echo "Doing TAGS in autoconf" ; \ | |
4616 | (cd autoconf && \ | |
4617 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4618 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4619 | "RANLIB=$${RANLIB}" \ | |
4620 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4621 | TAGS) \ | |
4622 | || exit 1 | |
4623 | ||
4624 | ||
4625 | .PHONY: maybe-TAGS-automake TAGS-automake | |
4626 | maybe-TAGS-automake: | |
4627 | ||
4628 | TAGS-automake: \ | |
4629 | configure-automake | |
4630 | @[ -f ./automake/Makefile ] || exit 0; \ | |
b40e3958 L |
4631 | r=`${PWD_COMMAND}`; export r; \ |
4632 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4633 | $(SET_LIB_PATH) \ |
4634 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4635 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4636 | done; \ | |
4637 | echo "Doing TAGS in automake" ; \ | |
4638 | (cd automake && \ | |
4639 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4640 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4641 | "RANLIB=$${RANLIB}" \ | |
4642 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4643 | TAGS) \ | |
4644 | || exit 1 | |
4645 | ||
4646 | ||
4647 | .PHONY: maybe-TAGS-bash TAGS-bash | |
4648 | maybe-TAGS-bash: | |
4649 | ||
4650 | TAGS-bash: \ | |
4651 | configure-bash | |
4652 | @[ -f ./bash/Makefile ] || exit 0; \ | |
b40e3958 L |
4653 | r=`${PWD_COMMAND}`; export r; \ |
4654 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4655 | $(SET_LIB_PATH) \ |
4656 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4657 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4658 | done; \ | |
4659 | echo "Doing TAGS in bash" ; \ | |
4660 | (cd bash && \ | |
4661 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4662 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4663 | "RANLIB=$${RANLIB}" \ | |
4664 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4665 | TAGS) \ | |
4666 | || exit 1 | |
4667 | ||
4668 | ||
4669 | .PHONY: maybe-TAGS-bfd TAGS-bfd | |
4670 | maybe-TAGS-bfd: | |
4671 | ||
4672 | TAGS-bfd: \ | |
4673 | configure-bfd | |
4674 | @[ -f ./bfd/Makefile ] || exit 0; \ | |
b40e3958 L |
4675 | r=`${PWD_COMMAND}`; export r; \ |
4676 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4677 | $(SET_LIB_PATH) \ |
4678 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4679 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4680 | done; \ | |
4681 | echo "Doing TAGS in bfd" ; \ | |
4682 | (cd bfd && \ | |
4683 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4684 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4685 | "RANLIB=$${RANLIB}" \ | |
4686 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4687 | TAGS) \ | |
4688 | || exit 1 | |
4689 | ||
4690 | ||
4691 | .PHONY: maybe-TAGS-opcodes TAGS-opcodes | |
4692 | maybe-TAGS-opcodes: | |
4693 | ||
4694 | TAGS-opcodes: \ | |
4695 | configure-opcodes | |
4696 | @[ -f ./opcodes/Makefile ] || exit 0; \ | |
b40e3958 L |
4697 | r=`${PWD_COMMAND}`; export r; \ |
4698 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4699 | $(SET_LIB_PATH) \ |
4700 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4701 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4702 | done; \ | |
4703 | echo "Doing TAGS in opcodes" ; \ | |
4704 | (cd opcodes && \ | |
4705 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4706 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4707 | "RANLIB=$${RANLIB}" \ | |
4708 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4709 | TAGS) \ | |
4710 | || exit 1 | |
4711 | ||
4712 | ||
4713 | .PHONY: maybe-TAGS-binutils TAGS-binutils | |
4714 | maybe-TAGS-binutils: | |
4715 | ||
4716 | TAGS-binutils: \ | |
4717 | configure-binutils | |
4718 | @[ -f ./binutils/Makefile ] || exit 0; \ | |
b40e3958 L |
4719 | r=`${PWD_COMMAND}`; export r; \ |
4720 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4721 | $(SET_LIB_PATH) \ |
4722 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4723 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4724 | done; \ | |
4725 | echo "Doing TAGS in binutils" ; \ | |
4726 | (cd binutils && \ | |
4727 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4728 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4729 | "RANLIB=$${RANLIB}" \ | |
4730 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4731 | TAGS) \ | |
4732 | || exit 1 | |
4733 | ||
4734 | ||
4735 | .PHONY: maybe-TAGS-bison TAGS-bison | |
4736 | maybe-TAGS-bison: | |
4737 | ||
4738 | TAGS-bison: \ | |
4739 | configure-bison | |
4740 | @[ -f ./bison/Makefile ] || exit 0; \ | |
b40e3958 L |
4741 | r=`${PWD_COMMAND}`; export r; \ |
4742 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4743 | $(SET_LIB_PATH) \ |
4744 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4745 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4746 | done; \ | |
4747 | echo "Doing TAGS in bison" ; \ | |
4748 | (cd bison && \ | |
4749 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4750 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4751 | "RANLIB=$${RANLIB}" \ | |
4752 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4753 | TAGS) \ | |
4754 | || exit 1 | |
4755 | ||
4756 | ||
4757 | .PHONY: maybe-TAGS-byacc TAGS-byacc | |
4758 | maybe-TAGS-byacc: | |
4759 | ||
4760 | TAGS-byacc: \ | |
4761 | configure-byacc | |
4762 | @[ -f ./byacc/Makefile ] || exit 0; \ | |
b40e3958 L |
4763 | r=`${PWD_COMMAND}`; export r; \ |
4764 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4765 | $(SET_LIB_PATH) \ |
4766 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4767 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4768 | done; \ | |
4769 | echo "Doing TAGS in byacc" ; \ | |
4770 | (cd byacc && \ | |
4771 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4772 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4773 | "RANLIB=$${RANLIB}" \ | |
4774 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4775 | TAGS) \ | |
4776 | || exit 1 | |
4777 | ||
4778 | ||
4779 | .PHONY: maybe-TAGS-bzip2 TAGS-bzip2 | |
4780 | maybe-TAGS-bzip2: | |
4781 | ||
4782 | TAGS-bzip2: \ | |
4783 | configure-bzip2 | |
4784 | @[ -f ./bzip2/Makefile ] || exit 0; \ | |
b40e3958 L |
4785 | r=`${PWD_COMMAND}`; export r; \ |
4786 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4787 | $(SET_LIB_PATH) \ |
4788 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4789 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4790 | done; \ | |
4791 | echo "Doing TAGS in bzip2" ; \ | |
4792 | (cd bzip2 && \ | |
4793 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4794 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4795 | "RANLIB=$${RANLIB}" \ | |
4796 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4797 | TAGS) \ | |
4798 | || exit 1 | |
4799 | ||
4800 | ||
4801 | .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu | |
4802 | maybe-TAGS-dejagnu: | |
4803 | ||
4804 | TAGS-dejagnu: \ | |
4805 | configure-dejagnu | |
4806 | @[ -f ./dejagnu/Makefile ] || exit 0; \ | |
b40e3958 L |
4807 | r=`${PWD_COMMAND}`; export r; \ |
4808 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4809 | $(SET_LIB_PATH) \ |
4810 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4811 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4812 | done; \ | |
4813 | echo "Doing TAGS in dejagnu" ; \ | |
4814 | (cd dejagnu && \ | |
4815 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4816 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4817 | "RANLIB=$${RANLIB}" \ | |
4818 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4819 | TAGS) \ | |
4820 | || exit 1 | |
4821 | ||
4822 | ||
4823 | .PHONY: maybe-TAGS-diff TAGS-diff | |
4824 | maybe-TAGS-diff: | |
4825 | ||
4826 | TAGS-diff: \ | |
4827 | configure-diff | |
4828 | @[ -f ./diff/Makefile ] || exit 0; \ | |
b40e3958 L |
4829 | r=`${PWD_COMMAND}`; export r; \ |
4830 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4831 | $(SET_LIB_PATH) \ |
4832 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4833 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4834 | done; \ | |
4835 | echo "Doing TAGS in diff" ; \ | |
4836 | (cd diff && \ | |
4837 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4838 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4839 | "RANLIB=$${RANLIB}" \ | |
4840 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4841 | TAGS) \ | |
4842 | || exit 1 | |
4843 | ||
4844 | ||
4845 | .PHONY: maybe-TAGS-dosutils TAGS-dosutils | |
4846 | maybe-TAGS-dosutils: | |
4847 | ||
4848 | TAGS-dosutils: \ | |
4849 | configure-dosutils | |
4850 | @[ -f ./dosutils/Makefile ] || exit 0; \ | |
b40e3958 L |
4851 | r=`${PWD_COMMAND}`; export r; \ |
4852 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4853 | $(SET_LIB_PATH) \ |
4854 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4855 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4856 | done; \ | |
4857 | echo "Doing TAGS in dosutils" ; \ | |
4858 | (cd dosutils && \ | |
4859 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4860 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4861 | "RANLIB=$${RANLIB}" \ | |
4862 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4863 | TAGS) \ | |
4864 | || exit 1 | |
4865 | ||
4866 | ||
4867 | .PHONY: maybe-TAGS-etc TAGS-etc | |
4868 | maybe-TAGS-etc: | |
4869 | ||
4870 | TAGS-etc: \ | |
4871 | configure-etc | |
4872 | @[ -f ./etc/Makefile ] || exit 0; \ | |
b40e3958 L |
4873 | r=`${PWD_COMMAND}`; export r; \ |
4874 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4875 | $(SET_LIB_PATH) \ |
4876 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4877 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4878 | done; \ | |
4879 | echo "Doing TAGS in etc" ; \ | |
4880 | (cd etc && \ | |
4881 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4882 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4883 | "RANLIB=$${RANLIB}" \ | |
4884 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4885 | TAGS) \ | |
4886 | || exit 1 | |
4887 | ||
4888 | ||
4889 | .PHONY: maybe-TAGS-fastjar TAGS-fastjar | |
4890 | maybe-TAGS-fastjar: | |
4891 | ||
4892 | TAGS-fastjar: \ | |
4893 | configure-fastjar | |
4894 | @[ -f ./fastjar/Makefile ] || exit 0; \ | |
b40e3958 L |
4895 | r=`${PWD_COMMAND}`; export r; \ |
4896 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4897 | $(SET_LIB_PATH) \ |
4898 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4899 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4900 | done; \ | |
4901 | echo "Doing TAGS in fastjar" ; \ | |
4902 | (cd fastjar && \ | |
4903 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4904 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4905 | "RANLIB=$${RANLIB}" \ | |
4906 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4907 | TAGS) \ | |
4908 | || exit 1 | |
4909 | ||
4910 | ||
4911 | .PHONY: maybe-TAGS-fileutils TAGS-fileutils | |
4912 | maybe-TAGS-fileutils: | |
4913 | ||
4914 | TAGS-fileutils: \ | |
4915 | configure-fileutils | |
4916 | @[ -f ./fileutils/Makefile ] || exit 0; \ | |
b40e3958 L |
4917 | r=`${PWD_COMMAND}`; export r; \ |
4918 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4919 | $(SET_LIB_PATH) \ |
4920 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4921 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4922 | done; \ | |
4923 | echo "Doing TAGS in fileutils" ; \ | |
4924 | (cd fileutils && \ | |
4925 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4926 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4927 | "RANLIB=$${RANLIB}" \ | |
4928 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4929 | TAGS) \ | |
4930 | || exit 1 | |
4931 | ||
4932 | ||
4933 | .PHONY: maybe-TAGS-findutils TAGS-findutils | |
4934 | maybe-TAGS-findutils: | |
4935 | ||
4936 | TAGS-findutils: \ | |
4937 | configure-findutils | |
4938 | @[ -f ./findutils/Makefile ] || exit 0; \ | |
b40e3958 L |
4939 | r=`${PWD_COMMAND}`; export r; \ |
4940 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4941 | $(SET_LIB_PATH) \ |
4942 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4943 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4944 | done; \ | |
4945 | echo "Doing TAGS in findutils" ; \ | |
4946 | (cd findutils && \ | |
4947 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4948 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4949 | "RANLIB=$${RANLIB}" \ | |
4950 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4951 | TAGS) \ | |
4952 | || exit 1 | |
4953 | ||
4954 | ||
4955 | .PHONY: maybe-TAGS-find TAGS-find | |
4956 | maybe-TAGS-find: | |
4957 | ||
4958 | TAGS-find: \ | |
4959 | configure-find | |
4960 | @[ -f ./find/Makefile ] || exit 0; \ | |
b40e3958 L |
4961 | r=`${PWD_COMMAND}`; export r; \ |
4962 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4963 | $(SET_LIB_PATH) \ |
4964 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4965 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4966 | done; \ | |
4967 | echo "Doing TAGS in find" ; \ | |
4968 | (cd find && \ | |
4969 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4970 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4971 | "RANLIB=$${RANLIB}" \ | |
4972 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4973 | TAGS) \ | |
4974 | || exit 1 | |
4975 | ||
4976 | ||
4977 | .PHONY: maybe-TAGS-flex TAGS-flex | |
4978 | maybe-TAGS-flex: | |
4979 | ||
4980 | TAGS-flex: \ | |
4981 | configure-flex | |
4982 | @[ -f ./flex/Makefile ] || exit 0; \ | |
b40e3958 L |
4983 | r=`${PWD_COMMAND}`; export r; \ |
4984 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
4985 | $(SET_LIB_PATH) \ |
4986 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4987 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4988 | done; \ | |
4989 | echo "Doing TAGS in flex" ; \ | |
4990 | (cd flex && \ | |
4991 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4992 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4993 | "RANLIB=$${RANLIB}" \ | |
4994 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4995 | TAGS) \ | |
4996 | || exit 1 | |
4997 | ||
4998 | ||
4999 | .PHONY: maybe-TAGS-gas TAGS-gas | |
5000 | maybe-TAGS-gas: | |
5001 | ||
5002 | TAGS-gas: \ | |
5003 | configure-gas | |
5004 | @[ -f ./gas/Makefile ] || exit 0; \ | |
b40e3958 L |
5005 | r=`${PWD_COMMAND}`; export r; \ |
5006 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5007 | $(SET_LIB_PATH) \ |
5008 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5009 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5010 | done; \ | |
5011 | echo "Doing TAGS in gas" ; \ | |
5012 | (cd gas && \ | |
5013 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5014 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5015 | "RANLIB=$${RANLIB}" \ | |
5016 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5017 | TAGS) \ | |
5018 | || exit 1 | |
5019 | ||
5020 | ||
5021 | .PHONY: maybe-TAGS-gawk TAGS-gawk | |
5022 | maybe-TAGS-gawk: | |
5023 | ||
5024 | TAGS-gawk: \ | |
5025 | configure-gawk | |
5026 | @[ -f ./gawk/Makefile ] || exit 0; \ | |
b40e3958 L |
5027 | r=`${PWD_COMMAND}`; export r; \ |
5028 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5029 | $(SET_LIB_PATH) \ |
5030 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5031 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5032 | done; \ | |
5033 | echo "Doing TAGS in gawk" ; \ | |
5034 | (cd gawk && \ | |
5035 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5036 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5037 | "RANLIB=$${RANLIB}" \ | |
5038 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5039 | TAGS) \ | |
5040 | || exit 1 | |
5041 | ||
5042 | ||
5043 | .PHONY: maybe-TAGS-gettext TAGS-gettext | |
5044 | maybe-TAGS-gettext: | |
5045 | ||
5046 | TAGS-gettext: \ | |
5047 | configure-gettext | |
5048 | @[ -f ./gettext/Makefile ] || exit 0; \ | |
b40e3958 L |
5049 | r=`${PWD_COMMAND}`; export r; \ |
5050 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5051 | $(SET_LIB_PATH) \ |
5052 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5053 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5054 | done; \ | |
5055 | echo "Doing TAGS in gettext" ; \ | |
5056 | (cd gettext && \ | |
5057 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5058 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5059 | "RANLIB=$${RANLIB}" \ | |
5060 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5061 | TAGS) \ | |
5062 | || exit 1 | |
5063 | ||
5064 | ||
5065 | .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv | |
5066 | maybe-TAGS-gnuserv: | |
5067 | ||
5068 | TAGS-gnuserv: \ | |
5069 | configure-gnuserv | |
5070 | @[ -f ./gnuserv/Makefile ] || exit 0; \ | |
b40e3958 L |
5071 | r=`${PWD_COMMAND}`; export r; \ |
5072 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5073 | $(SET_LIB_PATH) \ |
5074 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5075 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5076 | done; \ | |
5077 | echo "Doing TAGS in gnuserv" ; \ | |
5078 | (cd gnuserv && \ | |
5079 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5080 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5081 | "RANLIB=$${RANLIB}" \ | |
5082 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5083 | TAGS) \ | |
5084 | || exit 1 | |
5085 | ||
5086 | ||
5087 | .PHONY: maybe-TAGS-gprof TAGS-gprof | |
5088 | maybe-TAGS-gprof: | |
5089 | ||
5090 | TAGS-gprof: \ | |
5091 | configure-gprof | |
5092 | @[ -f ./gprof/Makefile ] || exit 0; \ | |
b40e3958 L |
5093 | r=`${PWD_COMMAND}`; export r; \ |
5094 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5095 | $(SET_LIB_PATH) \ |
5096 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5097 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5098 | done; \ | |
5099 | echo "Doing TAGS in gprof" ; \ | |
5100 | (cd gprof && \ | |
5101 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5102 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5103 | "RANLIB=$${RANLIB}" \ | |
5104 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5105 | TAGS) \ | |
5106 | || exit 1 | |
5107 | ||
5108 | ||
5109 | .PHONY: maybe-TAGS-gzip TAGS-gzip | |
5110 | maybe-TAGS-gzip: | |
5111 | ||
5112 | TAGS-gzip: \ | |
5113 | configure-gzip | |
5114 | @[ -f ./gzip/Makefile ] || exit 0; \ | |
b40e3958 L |
5115 | r=`${PWD_COMMAND}`; export r; \ |
5116 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5117 | $(SET_LIB_PATH) \ |
5118 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5119 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5120 | done; \ | |
5121 | echo "Doing TAGS in gzip" ; \ | |
5122 | (cd gzip && \ | |
5123 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5124 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5125 | "RANLIB=$${RANLIB}" \ | |
5126 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5127 | TAGS) \ | |
5128 | || exit 1 | |
5129 | ||
5130 | ||
5131 | .PHONY: maybe-TAGS-hello TAGS-hello | |
5132 | maybe-TAGS-hello: | |
5133 | ||
5134 | TAGS-hello: \ | |
5135 | configure-hello | |
5136 | @[ -f ./hello/Makefile ] || exit 0; \ | |
b40e3958 L |
5137 | r=`${PWD_COMMAND}`; export r; \ |
5138 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5139 | $(SET_LIB_PATH) \ |
5140 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5141 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5142 | done; \ | |
5143 | echo "Doing TAGS in hello" ; \ | |
5144 | (cd hello && \ | |
5145 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5146 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5147 | "RANLIB=$${RANLIB}" \ | |
5148 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5149 | TAGS) \ | |
5150 | || exit 1 | |
5151 | ||
5152 | ||
5153 | .PHONY: maybe-TAGS-indent TAGS-indent | |
5154 | maybe-TAGS-indent: | |
5155 | ||
5156 | TAGS-indent: \ | |
5157 | configure-indent | |
5158 | @[ -f ./indent/Makefile ] || exit 0; \ | |
b40e3958 L |
5159 | r=`${PWD_COMMAND}`; export r; \ |
5160 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5161 | $(SET_LIB_PATH) \ |
5162 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5163 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5164 | done; \ | |
5165 | echo "Doing TAGS in indent" ; \ | |
5166 | (cd indent && \ | |
5167 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5168 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5169 | "RANLIB=$${RANLIB}" \ | |
5170 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5171 | TAGS) \ | |
5172 | || exit 1 | |
5173 | ||
5174 | ||
5175 | .PHONY: maybe-TAGS-intl TAGS-intl | |
5176 | maybe-TAGS-intl: | |
5177 | ||
5178 | TAGS-intl: \ | |
5179 | configure-intl | |
5180 | @[ -f ./intl/Makefile ] || exit 0; \ | |
b40e3958 L |
5181 | r=`${PWD_COMMAND}`; export r; \ |
5182 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5183 | $(SET_LIB_PATH) \ |
5184 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5185 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5186 | done; \ | |
5187 | echo "Doing TAGS in intl" ; \ | |
5188 | (cd intl && \ | |
5189 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5190 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5191 | "RANLIB=$${RANLIB}" \ | |
5192 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5193 | TAGS) \ | |
5194 | || exit 1 | |
5195 | ||
5196 | ||
5197 | .PHONY: maybe-TAGS-tcl TAGS-tcl | |
5198 | maybe-TAGS-tcl: | |
5199 | ||
5200 | TAGS-tcl: \ | |
5201 | configure-tcl | |
5202 | @[ -f ./tcl/Makefile ] || exit 0; \ | |
b40e3958 L |
5203 | r=`${PWD_COMMAND}`; export r; \ |
5204 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5205 | $(SET_LIB_PATH) \ |
5206 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5207 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5208 | done; \ | |
5209 | echo "Doing TAGS in tcl" ; \ | |
5210 | (cd tcl && \ | |
5211 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5212 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5213 | "RANLIB=$${RANLIB}" \ | |
5214 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5215 | TAGS) \ | |
5216 | || exit 1 | |
5217 | ||
5218 | ||
5219 | .PHONY: maybe-TAGS-itcl TAGS-itcl | |
5220 | maybe-TAGS-itcl: | |
5221 | ||
5222 | TAGS-itcl: \ | |
5223 | configure-itcl | |
5224 | @[ -f ./itcl/Makefile ] || exit 0; \ | |
b40e3958 L |
5225 | r=`${PWD_COMMAND}`; export r; \ |
5226 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5227 | $(SET_LIB_PATH) \ |
5228 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5229 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5230 | done; \ | |
5231 | echo "Doing TAGS in itcl" ; \ | |
5232 | (cd itcl && \ | |
5233 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5234 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5235 | "RANLIB=$${RANLIB}" \ | |
5236 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5237 | TAGS) \ | |
5238 | || exit 1 | |
5239 | ||
5240 | ||
5241 | .PHONY: maybe-TAGS-ld TAGS-ld | |
5242 | maybe-TAGS-ld: | |
5243 | ||
5244 | TAGS-ld: \ | |
5245 | configure-ld | |
5246 | @[ -f ./ld/Makefile ] || exit 0; \ | |
b40e3958 L |
5247 | r=`${PWD_COMMAND}`; export r; \ |
5248 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5249 | $(SET_LIB_PATH) \ |
5250 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5251 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5252 | done; \ | |
5253 | echo "Doing TAGS in ld" ; \ | |
5254 | (cd ld && \ | |
5255 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5256 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5257 | "RANLIB=$${RANLIB}" \ | |
5258 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5259 | TAGS) \ | |
5260 | || exit 1 | |
5261 | ||
5262 | ||
5263 | .PHONY: maybe-TAGS-libgui TAGS-libgui | |
5264 | maybe-TAGS-libgui: | |
5265 | ||
5266 | TAGS-libgui: \ | |
5267 | configure-libgui | |
5268 | @[ -f ./libgui/Makefile ] || exit 0; \ | |
b40e3958 L |
5269 | r=`${PWD_COMMAND}`; export r; \ |
5270 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5271 | $(SET_LIB_PATH) \ |
5272 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5273 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5274 | done; \ | |
5275 | echo "Doing TAGS in libgui" ; \ | |
5276 | (cd libgui && \ | |
5277 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5278 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5279 | "RANLIB=$${RANLIB}" \ | |
5280 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5281 | TAGS) \ | |
5282 | || exit 1 | |
5283 | ||
5284 | ||
5285 | .PHONY: maybe-TAGS-libiberty TAGS-libiberty | |
5286 | maybe-TAGS-libiberty: | |
5287 | ||
5288 | TAGS-libiberty: \ | |
5289 | configure-libiberty | |
5290 | @[ -f ./libiberty/Makefile ] || exit 0; \ | |
b40e3958 L |
5291 | r=`${PWD_COMMAND}`; export r; \ |
5292 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5293 | $(SET_LIB_PATH) \ |
5294 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5295 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5296 | done; \ | |
5297 | echo "Doing TAGS in libiberty" ; \ | |
5298 | (cd libiberty && \ | |
5299 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5300 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5301 | "RANLIB=$${RANLIB}" \ | |
5302 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5303 | TAGS) \ | |
5304 | || exit 1 | |
5305 | ||
5306 | ||
5307 | .PHONY: maybe-TAGS-libtool TAGS-libtool | |
5308 | maybe-TAGS-libtool: | |
5309 | ||
5310 | TAGS-libtool: \ | |
5311 | configure-libtool | |
5312 | @[ -f ./libtool/Makefile ] || exit 0; \ | |
b40e3958 L |
5313 | r=`${PWD_COMMAND}`; export r; \ |
5314 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5315 | $(SET_LIB_PATH) \ |
5316 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5317 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5318 | done; \ | |
5319 | echo "Doing TAGS in libtool" ; \ | |
5320 | (cd libtool && \ | |
5321 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5322 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5323 | "RANLIB=$${RANLIB}" \ | |
5324 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5325 | TAGS) \ | |
5326 | || exit 1 | |
5327 | ||
5328 | ||
5329 | .PHONY: maybe-TAGS-m4 TAGS-m4 | |
5330 | maybe-TAGS-m4: | |
5331 | ||
5332 | TAGS-m4: \ | |
5333 | configure-m4 | |
5334 | @[ -f ./m4/Makefile ] || exit 0; \ | |
b40e3958 L |
5335 | r=`${PWD_COMMAND}`; export r; \ |
5336 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5337 | $(SET_LIB_PATH) \ |
5338 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5339 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5340 | done; \ | |
5341 | echo "Doing TAGS in m4" ; \ | |
5342 | (cd m4 && \ | |
5343 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5344 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5345 | "RANLIB=$${RANLIB}" \ | |
5346 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5347 | TAGS) \ | |
5348 | || exit 1 | |
5349 | ||
5350 | ||
5351 | .PHONY: maybe-TAGS-make TAGS-make | |
5352 | maybe-TAGS-make: | |
5353 | ||
5354 | TAGS-make: \ | |
5355 | configure-make | |
5356 | @[ -f ./make/Makefile ] || exit 0; \ | |
b40e3958 L |
5357 | r=`${PWD_COMMAND}`; export r; \ |
5358 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5359 | $(SET_LIB_PATH) \ |
5360 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5361 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5362 | done; \ | |
5363 | echo "Doing TAGS in make" ; \ | |
5364 | (cd make && \ | |
5365 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5366 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5367 | "RANLIB=$${RANLIB}" \ | |
5368 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5369 | TAGS) \ | |
5370 | || exit 1 | |
5371 | ||
5372 | ||
5373 | .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc | |
5374 | maybe-TAGS-mmalloc: | |
5375 | ||
5376 | TAGS-mmalloc: \ | |
5377 | configure-mmalloc | |
5378 | @[ -f ./mmalloc/Makefile ] || exit 0; \ | |
b40e3958 L |
5379 | r=`${PWD_COMMAND}`; export r; \ |
5380 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5381 | $(SET_LIB_PATH) \ |
5382 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5383 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5384 | done; \ | |
5385 | echo "Doing TAGS in mmalloc" ; \ | |
5386 | (cd mmalloc && \ | |
5387 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5388 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5389 | "RANLIB=$${RANLIB}" \ | |
5390 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5391 | TAGS) \ | |
5392 | || exit 1 | |
5393 | ||
5394 | ||
5395 | .PHONY: maybe-TAGS-patch TAGS-patch | |
5396 | maybe-TAGS-patch: | |
5397 | ||
5398 | TAGS-patch: \ | |
5399 | configure-patch | |
5400 | @[ -f ./patch/Makefile ] || exit 0; \ | |
b40e3958 L |
5401 | r=`${PWD_COMMAND}`; export r; \ |
5402 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5403 | $(SET_LIB_PATH) \ |
5404 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5405 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5406 | done; \ | |
5407 | echo "Doing TAGS in patch" ; \ | |
5408 | (cd patch && \ | |
5409 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5410 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5411 | "RANLIB=$${RANLIB}" \ | |
5412 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5413 | TAGS) \ | |
5414 | || exit 1 | |
5415 | ||
5416 | ||
5417 | .PHONY: maybe-TAGS-perl TAGS-perl | |
5418 | maybe-TAGS-perl: | |
5419 | ||
5420 | TAGS-perl: \ | |
5421 | configure-perl | |
5422 | @[ -f ./perl/Makefile ] || exit 0; \ | |
b40e3958 L |
5423 | r=`${PWD_COMMAND}`; export r; \ |
5424 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5425 | $(SET_LIB_PATH) \ |
5426 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5427 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5428 | done; \ | |
5429 | echo "Doing TAGS in perl" ; \ | |
5430 | (cd perl && \ | |
5431 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5432 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5433 | "RANLIB=$${RANLIB}" \ | |
5434 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5435 | TAGS) \ | |
5436 | || exit 1 | |
5437 | ||
5438 | ||
5439 | .PHONY: maybe-TAGS-prms TAGS-prms | |
5440 | maybe-TAGS-prms: | |
5441 | ||
5442 | TAGS-prms: \ | |
5443 | configure-prms | |
5444 | @[ -f ./prms/Makefile ] || exit 0; \ | |
b40e3958 L |
5445 | r=`${PWD_COMMAND}`; export r; \ |
5446 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5447 | $(SET_LIB_PATH) \ |
5448 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5449 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5450 | done; \ | |
5451 | echo "Doing TAGS in prms" ; \ | |
5452 | (cd prms && \ | |
5453 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5454 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5455 | "RANLIB=$${RANLIB}" \ | |
5456 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5457 | TAGS) \ | |
5458 | || exit 1 | |
5459 | ||
5460 | ||
5461 | .PHONY: maybe-TAGS-rcs TAGS-rcs | |
5462 | maybe-TAGS-rcs: | |
5463 | ||
5464 | TAGS-rcs: \ | |
5465 | configure-rcs | |
5466 | @[ -f ./rcs/Makefile ] || exit 0; \ | |
b40e3958 L |
5467 | r=`${PWD_COMMAND}`; export r; \ |
5468 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5469 | $(SET_LIB_PATH) \ |
5470 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5471 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5472 | done; \ | |
5473 | echo "Doing TAGS in rcs" ; \ | |
5474 | (cd rcs && \ | |
5475 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5476 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5477 | "RANLIB=$${RANLIB}" \ | |
5478 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5479 | TAGS) \ | |
5480 | || exit 1 | |
5481 | ||
5482 | ||
5483 | .PHONY: maybe-TAGS-readline TAGS-readline | |
5484 | maybe-TAGS-readline: | |
5485 | ||
5486 | TAGS-readline: \ | |
5487 | configure-readline | |
5488 | @[ -f ./readline/Makefile ] || exit 0; \ | |
b40e3958 L |
5489 | r=`${PWD_COMMAND}`; export r; \ |
5490 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5491 | $(SET_LIB_PATH) \ |
5492 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5493 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5494 | done; \ | |
5495 | echo "Doing TAGS in readline" ; \ | |
5496 | (cd readline && \ | |
5497 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5498 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5499 | "RANLIB=$${RANLIB}" \ | |
5500 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5501 | TAGS) \ | |
5502 | || exit 1 | |
5503 | ||
5504 | ||
5505 | .PHONY: maybe-TAGS-release TAGS-release | |
5506 | maybe-TAGS-release: | |
5507 | ||
5508 | TAGS-release: \ | |
5509 | configure-release | |
5510 | @[ -f ./release/Makefile ] || exit 0; \ | |
b40e3958 L |
5511 | r=`${PWD_COMMAND}`; export r; \ |
5512 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5513 | $(SET_LIB_PATH) \ |
5514 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5515 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5516 | done; \ | |
5517 | echo "Doing TAGS in release" ; \ | |
5518 | (cd release && \ | |
5519 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5520 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5521 | "RANLIB=$${RANLIB}" \ | |
5522 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5523 | TAGS) \ | |
5524 | || exit 1 | |
5525 | ||
5526 | ||
5527 | .PHONY: maybe-TAGS-recode TAGS-recode | |
5528 | maybe-TAGS-recode: | |
5529 | ||
5530 | TAGS-recode: \ | |
5531 | configure-recode | |
5532 | @[ -f ./recode/Makefile ] || exit 0; \ | |
b40e3958 L |
5533 | r=`${PWD_COMMAND}`; export r; \ |
5534 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5535 | $(SET_LIB_PATH) \ |
5536 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5537 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5538 | done; \ | |
5539 | echo "Doing TAGS in recode" ; \ | |
5540 | (cd recode && \ | |
5541 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5542 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5543 | "RANLIB=$${RANLIB}" \ | |
5544 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5545 | TAGS) \ | |
5546 | || exit 1 | |
5547 | ||
5548 | ||
5549 | .PHONY: maybe-TAGS-sed TAGS-sed | |
5550 | maybe-TAGS-sed: | |
5551 | ||
5552 | TAGS-sed: \ | |
5553 | configure-sed | |
5554 | @[ -f ./sed/Makefile ] || exit 0; \ | |
b40e3958 L |
5555 | r=`${PWD_COMMAND}`; export r; \ |
5556 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5557 | $(SET_LIB_PATH) \ |
5558 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5559 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5560 | done; \ | |
5561 | echo "Doing TAGS in sed" ; \ | |
5562 | (cd sed && \ | |
5563 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5564 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5565 | "RANLIB=$${RANLIB}" \ | |
5566 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5567 | TAGS) \ | |
5568 | || exit 1 | |
5569 | ||
5570 | ||
5571 | .PHONY: maybe-TAGS-send-pr TAGS-send-pr | |
5572 | maybe-TAGS-send-pr: | |
5573 | ||
5574 | TAGS-send-pr: \ | |
5575 | configure-send-pr | |
5576 | @[ -f ./send-pr/Makefile ] || exit 0; \ | |
b40e3958 L |
5577 | r=`${PWD_COMMAND}`; export r; \ |
5578 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5579 | $(SET_LIB_PATH) \ |
5580 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5581 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5582 | done; \ | |
5583 | echo "Doing TAGS in send-pr" ; \ | |
5584 | (cd send-pr && \ | |
5585 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5586 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5587 | "RANLIB=$${RANLIB}" \ | |
5588 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5589 | TAGS) \ | |
5590 | || exit 1 | |
5591 | ||
5592 | ||
5593 | .PHONY: maybe-TAGS-shellutils TAGS-shellutils | |
5594 | maybe-TAGS-shellutils: | |
5595 | ||
5596 | TAGS-shellutils: \ | |
5597 | configure-shellutils | |
5598 | @[ -f ./shellutils/Makefile ] || exit 0; \ | |
b40e3958 L |
5599 | r=`${PWD_COMMAND}`; export r; \ |
5600 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5601 | $(SET_LIB_PATH) \ |
5602 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5603 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5604 | done; \ | |
5605 | echo "Doing TAGS in shellutils" ; \ | |
5606 | (cd shellutils && \ | |
5607 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5608 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5609 | "RANLIB=$${RANLIB}" \ | |
5610 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5611 | TAGS) \ | |
5612 | || exit 1 | |
5613 | ||
5614 | ||
5615 | .PHONY: maybe-TAGS-sid TAGS-sid | |
5616 | maybe-TAGS-sid: | |
5617 | ||
5618 | TAGS-sid: \ | |
5619 | configure-sid | |
5620 | @[ -f ./sid/Makefile ] || exit 0; \ | |
b40e3958 L |
5621 | r=`${PWD_COMMAND}`; export r; \ |
5622 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5623 | $(SET_LIB_PATH) \ |
5624 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5625 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5626 | done; \ | |
5627 | echo "Doing TAGS in sid" ; \ | |
5628 | (cd sid && \ | |
5629 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5630 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5631 | "RANLIB=$${RANLIB}" \ | |
5632 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5633 | TAGS) \ | |
5634 | || exit 1 | |
5635 | ||
5636 | ||
5637 | .PHONY: maybe-TAGS-sim TAGS-sim | |
5638 | maybe-TAGS-sim: | |
5639 | ||
5640 | TAGS-sim: \ | |
5641 | configure-sim | |
5642 | @[ -f ./sim/Makefile ] || exit 0; \ | |
b40e3958 L |
5643 | r=`${PWD_COMMAND}`; export r; \ |
5644 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5645 | $(SET_LIB_PATH) \ |
5646 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5647 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5648 | done; \ | |
5649 | echo "Doing TAGS in sim" ; \ | |
5650 | (cd sim && \ | |
5651 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5652 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5653 | "RANLIB=$${RANLIB}" \ | |
5654 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5655 | TAGS) \ | |
5656 | || exit 1 | |
5657 | ||
5658 | ||
5659 | .PHONY: maybe-TAGS-tar TAGS-tar | |
5660 | maybe-TAGS-tar: | |
5661 | ||
5662 | TAGS-tar: \ | |
5663 | configure-tar | |
5664 | @[ -f ./tar/Makefile ] || exit 0; \ | |
b40e3958 L |
5665 | r=`${PWD_COMMAND}`; export r; \ |
5666 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5667 | $(SET_LIB_PATH) \ |
5668 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5669 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5670 | done; \ | |
5671 | echo "Doing TAGS in tar" ; \ | |
5672 | (cd tar && \ | |
5673 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5674 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5675 | "RANLIB=$${RANLIB}" \ | |
5676 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5677 | TAGS) \ | |
5678 | || exit 1 | |
5679 | ||
5680 | ||
5681 | .PHONY: maybe-TAGS-texinfo TAGS-texinfo | |
5682 | maybe-TAGS-texinfo: | |
5683 | ||
5684 | TAGS-texinfo: \ | |
5685 | configure-texinfo | |
5686 | @[ -f ./texinfo/Makefile ] || exit 0; \ | |
b40e3958 L |
5687 | r=`${PWD_COMMAND}`; export r; \ |
5688 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5689 | $(SET_LIB_PATH) \ |
5690 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5691 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5692 | done; \ | |
5693 | echo "Doing TAGS in texinfo" ; \ | |
5694 | (cd texinfo && \ | |
5695 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5696 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5697 | "RANLIB=$${RANLIB}" \ | |
5698 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5699 | TAGS) \ | |
5700 | || exit 1 | |
5701 | ||
5702 | ||
5703 | .PHONY: maybe-TAGS-textutils TAGS-textutils | |
5704 | maybe-TAGS-textutils: | |
5705 | ||
5706 | TAGS-textutils: \ | |
5707 | configure-textutils | |
5708 | @[ -f ./textutils/Makefile ] || exit 0; \ | |
b40e3958 L |
5709 | r=`${PWD_COMMAND}`; export r; \ |
5710 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5711 | $(SET_LIB_PATH) \ |
5712 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5713 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5714 | done; \ | |
5715 | echo "Doing TAGS in textutils" ; \ | |
5716 | (cd textutils && \ | |
5717 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5718 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5719 | "RANLIB=$${RANLIB}" \ | |
5720 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5721 | TAGS) \ | |
5722 | || exit 1 | |
5723 | ||
5724 | ||
5725 | .PHONY: maybe-TAGS-time TAGS-time | |
5726 | maybe-TAGS-time: | |
5727 | ||
5728 | TAGS-time: \ | |
5729 | configure-time | |
5730 | @[ -f ./time/Makefile ] || exit 0; \ | |
b40e3958 L |
5731 | r=`${PWD_COMMAND}`; export r; \ |
5732 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5733 | $(SET_LIB_PATH) \ |
5734 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5735 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5736 | done; \ | |
5737 | echo "Doing TAGS in time" ; \ | |
5738 | (cd time && \ | |
5739 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5740 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5741 | "RANLIB=$${RANLIB}" \ | |
5742 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5743 | TAGS) \ | |
5744 | || exit 1 | |
5745 | ||
5746 | ||
5747 | .PHONY: maybe-TAGS-uudecode TAGS-uudecode | |
5748 | maybe-TAGS-uudecode: | |
5749 | ||
5750 | TAGS-uudecode: \ | |
5751 | configure-uudecode | |
5752 | @[ -f ./uudecode/Makefile ] || exit 0; \ | |
b40e3958 L |
5753 | r=`${PWD_COMMAND}`; export r; \ |
5754 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5755 | $(SET_LIB_PATH) \ |
5756 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5757 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5758 | done; \ | |
5759 | echo "Doing TAGS in uudecode" ; \ | |
5760 | (cd uudecode && \ | |
5761 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5762 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5763 | "RANLIB=$${RANLIB}" \ | |
5764 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5765 | TAGS) \ | |
5766 | || exit 1 | |
5767 | ||
5768 | ||
5769 | .PHONY: maybe-TAGS-wdiff TAGS-wdiff | |
5770 | maybe-TAGS-wdiff: | |
5771 | ||
5772 | TAGS-wdiff: \ | |
5773 | configure-wdiff | |
5774 | @[ -f ./wdiff/Makefile ] || exit 0; \ | |
b40e3958 L |
5775 | r=`${PWD_COMMAND}`; export r; \ |
5776 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5777 | $(SET_LIB_PATH) \ |
5778 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5779 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5780 | done; \ | |
5781 | echo "Doing TAGS in wdiff" ; \ | |
5782 | (cd wdiff && \ | |
5783 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5784 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5785 | "RANLIB=$${RANLIB}" \ | |
5786 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5787 | TAGS) \ | |
5788 | || exit 1 | |
5789 | ||
5790 | ||
5791 | .PHONY: maybe-TAGS-zip TAGS-zip | |
5792 | maybe-TAGS-zip: | |
5793 | ||
5794 | TAGS-zip: \ | |
5795 | configure-zip | |
5796 | @[ -f ./zip/Makefile ] || exit 0; \ | |
b40e3958 L |
5797 | r=`${PWD_COMMAND}`; export r; \ |
5798 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5799 | $(SET_LIB_PATH) \ |
5800 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5801 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5802 | done; \ | |
5803 | echo "Doing TAGS in zip" ; \ | |
5804 | (cd zip && \ | |
5805 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5806 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5807 | "RANLIB=$${RANLIB}" \ | |
5808 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5809 | TAGS) \ | |
5810 | || exit 1 | |
5811 | ||
5812 | ||
5813 | .PHONY: maybe-TAGS-zlib TAGS-zlib | |
5814 | maybe-TAGS-zlib: | |
5815 | ||
5816 | TAGS-zlib: \ | |
5817 | configure-zlib | |
5818 | @[ -f ./zlib/Makefile ] || exit 0; \ | |
b40e3958 L |
5819 | r=`${PWD_COMMAND}`; export r; \ |
5820 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5821 | $(SET_LIB_PATH) \ |
5822 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5823 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5824 | done; \ | |
5825 | echo "Doing TAGS in zlib" ; \ | |
5826 | (cd zlib && \ | |
5827 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5828 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5829 | "RANLIB=$${RANLIB}" \ | |
5830 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5831 | TAGS) \ | |
5832 | || exit 1 | |
5833 | ||
5834 | ||
5835 | .PHONY: maybe-TAGS-gdb TAGS-gdb | |
5836 | maybe-TAGS-gdb: | |
5837 | ||
5838 | TAGS-gdb: \ | |
5839 | configure-gdb | |
5840 | @[ -f ./gdb/Makefile ] || exit 0; \ | |
b40e3958 L |
5841 | r=`${PWD_COMMAND}`; export r; \ |
5842 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5843 | $(SET_LIB_PATH) \ |
5844 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5845 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5846 | done; \ | |
5847 | echo "Doing TAGS in gdb" ; \ | |
5848 | (cd gdb && \ | |
5849 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5850 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5851 | "RANLIB=$${RANLIB}" \ | |
5852 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5853 | TAGS) \ | |
5854 | || exit 1 | |
5855 | ||
5856 | ||
5857 | .PHONY: maybe-TAGS-expect TAGS-expect | |
5858 | maybe-TAGS-expect: | |
5859 | ||
5860 | TAGS-expect: \ | |
5861 | configure-expect | |
5862 | @[ -f ./expect/Makefile ] || exit 0; \ | |
b40e3958 L |
5863 | r=`${PWD_COMMAND}`; export r; \ |
5864 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5865 | $(SET_LIB_PATH) \ |
5866 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5867 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5868 | done; \ | |
5869 | echo "Doing TAGS in expect" ; \ | |
5870 | (cd expect && \ | |
5871 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5872 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5873 | "RANLIB=$${RANLIB}" \ | |
5874 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5875 | TAGS) \ | |
5876 | || exit 1 | |
5877 | ||
5878 | ||
5879 | .PHONY: maybe-TAGS-guile TAGS-guile | |
5880 | maybe-TAGS-guile: | |
5881 | ||
5882 | TAGS-guile: \ | |
5883 | configure-guile | |
5884 | @[ -f ./guile/Makefile ] || exit 0; \ | |
b40e3958 L |
5885 | r=`${PWD_COMMAND}`; export r; \ |
5886 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5887 | $(SET_LIB_PATH) \ |
5888 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5889 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5890 | done; \ | |
5891 | echo "Doing TAGS in guile" ; \ | |
5892 | (cd guile && \ | |
5893 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5894 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5895 | "RANLIB=$${RANLIB}" \ | |
5896 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5897 | TAGS) \ | |
5898 | || exit 1 | |
5899 | ||
5900 | ||
5901 | .PHONY: maybe-TAGS-tk TAGS-tk | |
5902 | maybe-TAGS-tk: | |
5903 | ||
5904 | TAGS-tk: \ | |
5905 | configure-tk | |
5906 | @[ -f ./tk/Makefile ] || exit 0; \ | |
b40e3958 L |
5907 | r=`${PWD_COMMAND}`; export r; \ |
5908 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5909 | $(SET_LIB_PATH) \ |
5910 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5911 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5912 | done; \ | |
5913 | echo "Doing TAGS in tk" ; \ | |
5914 | (cd tk && \ | |
5915 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5916 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5917 | "RANLIB=$${RANLIB}" \ | |
5918 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5919 | TAGS) \ | |
5920 | || exit 1 | |
5921 | ||
5922 | ||
5923 | .PHONY: maybe-TAGS-tix TAGS-tix | |
5924 | maybe-TAGS-tix: | |
5925 | ||
5926 | TAGS-tix: \ | |
5927 | configure-tix | |
5928 | @[ -f ./tix/Makefile ] || exit 0; \ | |
b40e3958 L |
5929 | r=`${PWD_COMMAND}`; export r; \ |
5930 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5931 | $(SET_LIB_PATH) \ |
5932 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5933 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5934 | done; \ | |
5935 | echo "Doing TAGS in tix" ; \ | |
5936 | (cd tix && \ | |
5937 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5938 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5939 | "RANLIB=$${RANLIB}" \ | |
5940 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5941 | TAGS) \ | |
5942 | || exit 1 | |
5943 | ||
5944 | ||
5945 | .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap | |
5946 | maybe-TAGS-libtermcap: | |
5947 | ||
5948 | TAGS-libtermcap: \ | |
5949 | configure-libtermcap | |
5950 | @[ -f ./libtermcap/Makefile ] || exit 0; \ | |
b40e3958 L |
5951 | r=`${PWD_COMMAND}`; export r; \ |
5952 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5953 | $(SET_LIB_PATH) \ |
5954 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5955 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5956 | done; \ | |
5957 | echo "Doing TAGS in libtermcap" ; \ | |
5958 | (cd libtermcap && \ | |
5959 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5960 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5961 | "RANLIB=$${RANLIB}" \ | |
5962 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5963 | TAGS) \ | |
5964 | || exit 1 | |
5965 | ||
5966 | ||
5967 | .PHONY: maybe-TAGS-utils TAGS-utils | |
5968 | maybe-TAGS-utils: | |
5969 | ||
5970 | TAGS-utils: \ | |
5971 | configure-utils | |
5972 | @[ -f ./utils/Makefile ] || exit 0; \ | |
b40e3958 L |
5973 | r=`${PWD_COMMAND}`; export r; \ |
5974 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
5975 | $(SET_LIB_PATH) \ |
5976 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5977 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5978 | done; \ | |
5979 | echo "Doing TAGS in utils" ; \ | |
5980 | (cd utils && \ | |
5981 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5982 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5983 | "RANLIB=$${RANLIB}" \ | |
5984 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5985 | TAGS) \ | |
5986 | || exit 1 | |
5987 | ||
5988 | ||
5989 | ||
5990 | # Target modules. | |
5991 | ||
5992 | .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3 | |
5993 | maybe-TAGS-target-libstdc++-v3: | |
5994 | ||
5995 | TAGS-target-libstdc++-v3: \ | |
5996 | configure-target-libstdc++-v3 | |
5997 | @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ | |
b40e3958 L |
5998 | r=`${PWD_COMMAND}`; export r; \ |
5999 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6000 | $(SET_LIB_PATH) \ |
6001 | echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \ | |
6002 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6003 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6004 | done; \ | |
6005 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
6006 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6007 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6008 | "RANLIB=$${RANLIB}" \ | |
6009 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6010 | TAGS) \ | |
6011 | || exit 1 | |
6012 | ||
6013 | ||
6014 | .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib | |
6015 | maybe-TAGS-target-newlib: | |
6016 | ||
6017 | TAGS-target-newlib: \ | |
6018 | configure-target-newlib | |
6019 | @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
6020 | r=`${PWD_COMMAND}`; export r; \ |
6021 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6022 | $(SET_LIB_PATH) \ |
6023 | echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \ | |
6024 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6025 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6026 | done; \ | |
6027 | (cd $(TARGET_SUBDIR)/newlib && \ | |
6028 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6029 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6030 | "RANLIB=$${RANLIB}" \ | |
6031 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6032 | TAGS) \ | |
6033 | || exit 1 | |
6034 | ||
6035 | ||
6036 | .PHONY: maybe-TAGS-target-libf2c TAGS-target-libf2c | |
6037 | maybe-TAGS-target-libf2c: | |
6038 | ||
6039 | TAGS-target-libf2c: \ | |
6040 | configure-target-libf2c | |
6041 | @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \ | |
b40e3958 L |
6042 | r=`${PWD_COMMAND}`; export r; \ |
6043 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6044 | $(SET_LIB_PATH) \ |
6045 | echo "Doing TAGS in $(TARGET_SUBDIR)/libf2c" ; \ | |
6046 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6047 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6048 | done; \ | |
6049 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
6050 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6051 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6052 | "RANLIB=$${RANLIB}" \ | |
6053 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6054 | TAGS) \ | |
6055 | || exit 1 | |
6056 | ||
6057 | ||
6058 | .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc | |
6059 | maybe-TAGS-target-libobjc: | |
6060 | ||
6061 | TAGS-target-libobjc: \ | |
6062 | configure-target-libobjc | |
6063 | @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
6064 | r=`${PWD_COMMAND}`; export r; \ |
6065 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6066 | $(SET_LIB_PATH) \ |
6067 | echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \ | |
6068 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6069 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6070 | done; \ | |
6071 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
6072 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6073 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6074 | "RANLIB=$${RANLIB}" \ | |
6075 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6076 | TAGS) \ | |
6077 | || exit 1 | |
6078 | ||
6079 | ||
6080 | .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap | |
6081 | maybe-TAGS-target-libtermcap: | |
6082 | ||
6083 | TAGS-target-libtermcap: \ | |
6084 | configure-target-libtermcap | |
6085 | @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ | |
b40e3958 L |
6086 | r=`${PWD_COMMAND}`; export r; \ |
6087 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6088 | $(SET_LIB_PATH) \ |
6089 | echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \ | |
6090 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6091 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6092 | done; \ | |
6093 | (cd $(TARGET_SUBDIR)/libtermcap && \ | |
6094 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6095 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6096 | "RANLIB=$${RANLIB}" \ | |
6097 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6098 | TAGS) \ | |
6099 | || exit 1 | |
6100 | ||
6101 | ||
6102 | .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup | |
6103 | maybe-TAGS-target-winsup: | |
6104 | ||
6105 | TAGS-target-winsup: \ | |
6106 | configure-target-winsup | |
6107 | @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ | |
b40e3958 L |
6108 | r=`${PWD_COMMAND}`; export r; \ |
6109 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6110 | $(SET_LIB_PATH) \ |
6111 | echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \ | |
6112 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6113 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6114 | done; \ | |
6115 | (cd $(TARGET_SUBDIR)/winsup && \ | |
6116 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6117 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6118 | "RANLIB=$${RANLIB}" \ | |
6119 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6120 | TAGS) \ | |
6121 | || exit 1 | |
6122 | ||
6123 | ||
6124 | .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss | |
6125 | maybe-TAGS-target-libgloss: | |
6126 | ||
6127 | TAGS-target-libgloss: \ | |
6128 | configure-target-libgloss | |
6129 | @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ | |
b40e3958 L |
6130 | r=`${PWD_COMMAND}`; export r; \ |
6131 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6132 | $(SET_LIB_PATH) \ |
6133 | echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \ | |
6134 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6135 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6136 | done; \ | |
6137 | (cd $(TARGET_SUBDIR)/libgloss && \ | |
6138 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6139 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6140 | "RANLIB=$${RANLIB}" \ | |
6141 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6142 | TAGS) \ | |
6143 | || exit 1 | |
6144 | ||
6145 | ||
6146 | .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty | |
6147 | maybe-TAGS-target-libiberty: | |
6148 | ||
6149 | TAGS-target-libiberty: \ | |
6150 | configure-target-libiberty | |
6151 | @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ | |
b40e3958 L |
6152 | r=`${PWD_COMMAND}`; export r; \ |
6153 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6154 | $(SET_LIB_PATH) \ |
6155 | echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \ | |
6156 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6157 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6158 | done; \ | |
6159 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
6160 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6161 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6162 | "RANLIB=$${RANLIB}" \ | |
6163 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6164 | TAGS) \ | |
6165 | || exit 1 | |
6166 | ||
6167 | ||
6168 | .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf | |
6169 | maybe-TAGS-target-gperf: | |
6170 | ||
6171 | TAGS-target-gperf: \ | |
6172 | configure-target-gperf | |
6173 | @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ | |
b40e3958 L |
6174 | r=`${PWD_COMMAND}`; export r; \ |
6175 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6176 | $(SET_LIB_PATH) \ |
6177 | echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \ | |
6178 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6179 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6180 | done; \ | |
6181 | (cd $(TARGET_SUBDIR)/gperf && \ | |
6182 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6183 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6184 | "RANLIB=$${RANLIB}" \ | |
6185 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6186 | TAGS) \ | |
6187 | || exit 1 | |
6188 | ||
6189 | ||
6190 | .PHONY: maybe-TAGS-target-examples TAGS-target-examples | |
6191 | maybe-TAGS-target-examples: | |
6192 | ||
6193 | TAGS-target-examples: \ | |
6194 | configure-target-examples | |
6195 | @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ | |
b40e3958 L |
6196 | r=`${PWD_COMMAND}`; export r; \ |
6197 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6198 | $(SET_LIB_PATH) \ |
6199 | echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \ | |
6200 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6201 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6202 | done; \ | |
6203 | (cd $(TARGET_SUBDIR)/examples && \ | |
6204 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6205 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6206 | "RANLIB=$${RANLIB}" \ | |
6207 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6208 | TAGS) \ | |
6209 | || exit 1 | |
6210 | ||
6211 | ||
6212 | .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi | |
6213 | maybe-TAGS-target-libffi: | |
6214 | ||
6215 | TAGS-target-libffi: \ | |
6216 | configure-target-libffi | |
6217 | @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ | |
b40e3958 L |
6218 | r=`${PWD_COMMAND}`; export r; \ |
6219 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6220 | $(SET_LIB_PATH) \ |
6221 | echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \ | |
6222 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6223 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6224 | done; \ | |
6225 | (cd $(TARGET_SUBDIR)/libffi && \ | |
6226 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6227 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6228 | "RANLIB=$${RANLIB}" \ | |
6229 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6230 | TAGS) \ | |
6231 | || exit 1 | |
6232 | ||
6233 | ||
6234 | .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava | |
6235 | maybe-TAGS-target-libjava: | |
6236 | ||
6237 | TAGS-target-libjava: \ | |
6238 | configure-target-libjava | |
6239 | @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ | |
b40e3958 L |
6240 | r=`${PWD_COMMAND}`; export r; \ |
6241 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6242 | $(SET_LIB_PATH) \ |
6243 | echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \ | |
6244 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6245 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6246 | done; \ | |
6247 | (cd $(TARGET_SUBDIR)/libjava && \ | |
6248 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6249 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6250 | "RANLIB=$${RANLIB}" \ | |
6251 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6252 | TAGS) \ | |
6253 | || exit 1 | |
6254 | ||
6255 | ||
6256 | .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib | |
6257 | maybe-TAGS-target-zlib: | |
6258 | ||
6259 | TAGS-target-zlib: \ | |
6260 | configure-target-zlib | |
6261 | @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
6262 | r=`${PWD_COMMAND}`; export r; \ |
6263 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6264 | $(SET_LIB_PATH) \ |
6265 | echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \ | |
6266 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6267 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6268 | done; \ | |
6269 | (cd $(TARGET_SUBDIR)/zlib && \ | |
6270 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6271 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6272 | "RANLIB=$${RANLIB}" \ | |
6273 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6274 | TAGS) \ | |
6275 | || exit 1 | |
6276 | ||
6277 | ||
6278 | .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc | |
6279 | maybe-TAGS-target-boehm-gc: | |
6280 | ||
6281 | TAGS-target-boehm-gc: \ | |
6282 | configure-target-boehm-gc | |
6283 | @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
6284 | r=`${PWD_COMMAND}`; export r; \ |
6285 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6286 | $(SET_LIB_PATH) \ |
6287 | echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \ | |
6288 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6289 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6290 | done; \ | |
6291 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
6292 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6293 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6294 | "RANLIB=$${RANLIB}" \ | |
6295 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6296 | TAGS) \ | |
6297 | || exit 1 | |
6298 | ||
6299 | ||
6300 | .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads | |
6301 | maybe-TAGS-target-qthreads: | |
6302 | ||
6303 | TAGS-target-qthreads: \ | |
6304 | configure-target-qthreads | |
6305 | @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ | |
b40e3958 L |
6306 | r=`${PWD_COMMAND}`; export r; \ |
6307 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6308 | $(SET_LIB_PATH) \ |
6309 | echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \ | |
6310 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6311 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6312 | done; \ | |
6313 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
6314 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6315 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6316 | "RANLIB=$${RANLIB}" \ | |
6317 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6318 | TAGS) \ | |
6319 | || exit 1 | |
6320 | ||
6321 | ||
6322 | .PHONY: maybe-TAGS-target-rda TAGS-target-rda | |
6323 | maybe-TAGS-target-rda: | |
6324 | ||
6325 | TAGS-target-rda: \ | |
6326 | configure-target-rda | |
6327 | @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ | |
b40e3958 L |
6328 | r=`${PWD_COMMAND}`; export r; \ |
6329 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6330 | $(SET_LIB_PATH) \ |
6331 | echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \ | |
6332 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6333 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6334 | done; \ | |
6335 | (cd $(TARGET_SUBDIR)/rda && \ | |
6336 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6337 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6338 | "RANLIB=$${RANLIB}" \ | |
6339 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6340 | TAGS) \ | |
6341 | || exit 1 | |
6342 | ||
6343 | ||
6344 | ||
6345 | .PHONY: do-install-info | |
6346 | do-install-info: install-info-host install-info-target | |
6347 | ||
6348 | .PHONY: install-info-host | |
6349 | install-info-host: maybe-install-info-gcc \ | |
6350 | maybe-install-info-ash \ | |
6351 | maybe-install-info-autoconf \ | |
6352 | maybe-install-info-automake \ | |
6353 | maybe-install-info-bash \ | |
6354 | maybe-install-info-bfd \ | |
6355 | maybe-install-info-opcodes \ | |
6356 | maybe-install-info-binutils \ | |
6357 | maybe-install-info-bison \ | |
6358 | maybe-install-info-byacc \ | |
6359 | maybe-install-info-bzip2 \ | |
6360 | maybe-install-info-dejagnu \ | |
6361 | maybe-install-info-diff \ | |
6362 | maybe-install-info-dosutils \ | |
6363 | maybe-install-info-etc \ | |
6364 | maybe-install-info-fastjar \ | |
6365 | maybe-install-info-fileutils \ | |
6366 | maybe-install-info-findutils \ | |
6367 | maybe-install-info-find \ | |
6368 | maybe-install-info-flex \ | |
6369 | maybe-install-info-gas \ | |
6370 | maybe-install-info-gawk \ | |
6371 | maybe-install-info-gettext \ | |
6372 | maybe-install-info-gnuserv \ | |
6373 | maybe-install-info-gprof \ | |
6374 | maybe-install-info-gzip \ | |
6375 | maybe-install-info-hello \ | |
6376 | maybe-install-info-indent \ | |
6377 | maybe-install-info-intl \ | |
6378 | maybe-install-info-tcl \ | |
6379 | maybe-install-info-itcl \ | |
6380 | maybe-install-info-ld \ | |
6381 | maybe-install-info-libgui \ | |
6382 | maybe-install-info-libiberty \ | |
6383 | maybe-install-info-libtool \ | |
6384 | maybe-install-info-m4 \ | |
6385 | maybe-install-info-make \ | |
6386 | maybe-install-info-mmalloc \ | |
6387 | maybe-install-info-patch \ | |
6388 | maybe-install-info-perl \ | |
6389 | maybe-install-info-prms \ | |
6390 | maybe-install-info-rcs \ | |
6391 | maybe-install-info-readline \ | |
6392 | maybe-install-info-release \ | |
6393 | maybe-install-info-recode \ | |
6394 | maybe-install-info-sed \ | |
6395 | maybe-install-info-send-pr \ | |
6396 | maybe-install-info-shellutils \ | |
6397 | maybe-install-info-sid \ | |
6398 | maybe-install-info-sim \ | |
6399 | maybe-install-info-tar \ | |
6400 | maybe-install-info-texinfo \ | |
6401 | maybe-install-info-textutils \ | |
6402 | maybe-install-info-time \ | |
6403 | maybe-install-info-uudecode \ | |
6404 | maybe-install-info-wdiff \ | |
6405 | maybe-install-info-zip \ | |
6406 | maybe-install-info-zlib \ | |
6407 | maybe-install-info-gdb \ | |
6408 | maybe-install-info-expect \ | |
6409 | maybe-install-info-guile \ | |
6410 | maybe-install-info-tk \ | |
6411 | maybe-install-info-tix \ | |
6412 | maybe-install-info-libtermcap \ | |
6413 | maybe-install-info-utils | |
6414 | ||
6415 | .PHONY: install-info-target | |
6416 | install-info-target: \ | |
6417 | maybe-install-info-target-libstdc++-v3 \ | |
6418 | maybe-install-info-target-newlib \ | |
6419 | maybe-install-info-target-libf2c \ | |
6420 | maybe-install-info-target-libobjc \ | |
6421 | maybe-install-info-target-libtermcap \ | |
6422 | maybe-install-info-target-winsup \ | |
6423 | maybe-install-info-target-libgloss \ | |
6424 | maybe-install-info-target-libiberty \ | |
6425 | maybe-install-info-target-gperf \ | |
6426 | maybe-install-info-target-examples \ | |
6427 | maybe-install-info-target-libffi \ | |
6428 | maybe-install-info-target-libjava \ | |
6429 | maybe-install-info-target-zlib \ | |
6430 | maybe-install-info-target-boehm-gc \ | |
6431 | maybe-install-info-target-qthreads \ | |
6432 | maybe-install-info-target-rda | |
6433 | ||
6434 | # GCC, the eternal special case | |
6435 | .PHONY: maybe-install-info-gcc install-info-gcc | |
6436 | maybe-install-info-gcc: | |
6437 | install-info-gcc: \ | |
6438 | configure-gcc \ | |
6439 | info-gcc | |
6440 | @[ -f ./gcc/Makefile ] || exit 0; \ | |
b40e3958 L |
6441 | r=`${PWD_COMMAND}`; export r; \ |
6442 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6443 | $(SET_LIB_PATH) \ |
6444 | for flag in $(EXTRA_GCC_FLAGS); do \ | |
6445 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6446 | done; \ | |
6447 | echo "Doing install-info in gcc" ; \ | |
6448 | (cd gcc && \ | |
6449 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6450 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6451 | "RANLIB=$${RANLIB}" \ | |
6452 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6453 | install-info) \ | |
6454 | || exit 1 | |
6455 | ||
6456 | # Host modules. | |
6457 | ||
6458 | .PHONY: maybe-install-info-ash install-info-ash | |
6459 | maybe-install-info-ash: | |
6460 | ||
6461 | install-info-ash: \ | |
6462 | configure-ash \ | |
6463 | info-ash | |
6464 | @[ -f ./ash/Makefile ] || exit 0; \ | |
b40e3958 L |
6465 | r=`${PWD_COMMAND}`; export r; \ |
6466 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6467 | $(SET_LIB_PATH) \ |
6468 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6469 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6470 | done; \ | |
6471 | echo "Doing install-info in ash" ; \ | |
6472 | (cd ash && \ | |
6473 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6474 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6475 | "RANLIB=$${RANLIB}" \ | |
6476 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6477 | install-info) \ | |
6478 | || exit 1 | |
6479 | ||
6480 | ||
6481 | .PHONY: maybe-install-info-autoconf install-info-autoconf | |
6482 | maybe-install-info-autoconf: | |
6483 | ||
6484 | install-info-autoconf: \ | |
6485 | configure-autoconf \ | |
6486 | info-autoconf | |
6487 | @[ -f ./autoconf/Makefile ] || exit 0; \ | |
b40e3958 L |
6488 | r=`${PWD_COMMAND}`; export r; \ |
6489 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6490 | $(SET_LIB_PATH) \ |
6491 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6492 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6493 | done; \ | |
6494 | echo "Doing install-info in autoconf" ; \ | |
6495 | (cd autoconf && \ | |
6496 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6497 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6498 | "RANLIB=$${RANLIB}" \ | |
6499 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6500 | install-info) \ | |
6501 | || exit 1 | |
6502 | ||
6503 | ||
6504 | .PHONY: maybe-install-info-automake install-info-automake | |
6505 | maybe-install-info-automake: | |
6506 | ||
6507 | install-info-automake: \ | |
6508 | configure-automake \ | |
6509 | info-automake | |
6510 | @[ -f ./automake/Makefile ] || exit 0; \ | |
b40e3958 L |
6511 | r=`${PWD_COMMAND}`; export r; \ |
6512 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6513 | $(SET_LIB_PATH) \ |
6514 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6515 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6516 | done; \ | |
6517 | echo "Doing install-info in automake" ; \ | |
6518 | (cd automake && \ | |
6519 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6520 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6521 | "RANLIB=$${RANLIB}" \ | |
6522 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6523 | install-info) \ | |
6524 | || exit 1 | |
6525 | ||
6526 | ||
6527 | .PHONY: maybe-install-info-bash install-info-bash | |
6528 | maybe-install-info-bash: | |
6529 | ||
6530 | install-info-bash: \ | |
6531 | configure-bash \ | |
6532 | info-bash | |
6533 | @[ -f ./bash/Makefile ] || exit 0; \ | |
b40e3958 L |
6534 | r=`${PWD_COMMAND}`; export r; \ |
6535 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6536 | $(SET_LIB_PATH) \ |
6537 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6538 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6539 | done; \ | |
6540 | echo "Doing install-info in bash" ; \ | |
6541 | (cd bash && \ | |
6542 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6543 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6544 | "RANLIB=$${RANLIB}" \ | |
6545 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6546 | install-info) \ | |
6547 | || exit 1 | |
6548 | ||
6549 | ||
6550 | .PHONY: maybe-install-info-bfd install-info-bfd | |
6551 | maybe-install-info-bfd: | |
6552 | ||
6553 | install-info-bfd: \ | |
6554 | configure-bfd \ | |
6555 | info-bfd | |
6556 | @[ -f ./bfd/Makefile ] || exit 0; \ | |
b40e3958 L |
6557 | r=`${PWD_COMMAND}`; export r; \ |
6558 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6559 | $(SET_LIB_PATH) \ |
6560 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6561 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6562 | done; \ | |
6563 | echo "Doing install-info in bfd" ; \ | |
6564 | (cd bfd && \ | |
6565 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6566 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6567 | "RANLIB=$${RANLIB}" \ | |
6568 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6569 | install-info) \ | |
6570 | || exit 1 | |
6571 | ||
6572 | ||
6573 | .PHONY: maybe-install-info-opcodes install-info-opcodes | |
6574 | maybe-install-info-opcodes: | |
6575 | ||
6576 | install-info-opcodes: \ | |
6577 | configure-opcodes \ | |
6578 | info-opcodes | |
6579 | @[ -f ./opcodes/Makefile ] || exit 0; \ | |
b40e3958 L |
6580 | r=`${PWD_COMMAND}`; export r; \ |
6581 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6582 | $(SET_LIB_PATH) \ |
6583 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6584 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6585 | done; \ | |
6586 | echo "Doing install-info in opcodes" ; \ | |
6587 | (cd opcodes && \ | |
6588 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6589 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6590 | "RANLIB=$${RANLIB}" \ | |
6591 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6592 | install-info) \ | |
6593 | || exit 1 | |
6594 | ||
6595 | ||
6596 | .PHONY: maybe-install-info-binutils install-info-binutils | |
6597 | maybe-install-info-binutils: | |
6598 | ||
6599 | install-info-binutils: \ | |
6600 | configure-binutils \ | |
6601 | info-binutils | |
6602 | @[ -f ./binutils/Makefile ] || exit 0; \ | |
b40e3958 L |
6603 | r=`${PWD_COMMAND}`; export r; \ |
6604 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6605 | $(SET_LIB_PATH) \ |
6606 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6607 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6608 | done; \ | |
6609 | echo "Doing install-info in binutils" ; \ | |
6610 | (cd binutils && \ | |
6611 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6612 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6613 | "RANLIB=$${RANLIB}" \ | |
6614 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6615 | install-info) \ | |
6616 | || exit 1 | |
6617 | ||
6618 | ||
6619 | .PHONY: maybe-install-info-bison install-info-bison | |
6620 | maybe-install-info-bison: | |
6621 | ||
6622 | install-info-bison: \ | |
6623 | configure-bison \ | |
6624 | info-bison | |
6625 | @[ -f ./bison/Makefile ] || exit 0; \ | |
b40e3958 L |
6626 | r=`${PWD_COMMAND}`; export r; \ |
6627 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6628 | $(SET_LIB_PATH) \ |
6629 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6630 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6631 | done; \ | |
6632 | echo "Doing install-info in bison" ; \ | |
6633 | (cd bison && \ | |
6634 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6635 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6636 | "RANLIB=$${RANLIB}" \ | |
6637 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6638 | install-info) \ | |
6639 | || exit 1 | |
6640 | ||
6641 | ||
6642 | .PHONY: maybe-install-info-byacc install-info-byacc | |
6643 | maybe-install-info-byacc: | |
6644 | ||
6645 | install-info-byacc: \ | |
6646 | configure-byacc \ | |
6647 | info-byacc | |
6648 | @[ -f ./byacc/Makefile ] || exit 0; \ | |
b40e3958 L |
6649 | r=`${PWD_COMMAND}`; export r; \ |
6650 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6651 | $(SET_LIB_PATH) \ |
6652 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6653 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6654 | done; \ | |
6655 | echo "Doing install-info in byacc" ; \ | |
6656 | (cd byacc && \ | |
6657 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6658 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6659 | "RANLIB=$${RANLIB}" \ | |
6660 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6661 | install-info) \ | |
6662 | || exit 1 | |
6663 | ||
6664 | ||
6665 | .PHONY: maybe-install-info-bzip2 install-info-bzip2 | |
6666 | maybe-install-info-bzip2: | |
6667 | ||
6668 | install-info-bzip2: \ | |
6669 | configure-bzip2 \ | |
6670 | info-bzip2 | |
6671 | @[ -f ./bzip2/Makefile ] || exit 0; \ | |
b40e3958 L |
6672 | r=`${PWD_COMMAND}`; export r; \ |
6673 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6674 | $(SET_LIB_PATH) \ |
6675 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6676 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6677 | done; \ | |
6678 | echo "Doing install-info in bzip2" ; \ | |
6679 | (cd bzip2 && \ | |
6680 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6681 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6682 | "RANLIB=$${RANLIB}" \ | |
6683 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6684 | install-info) \ | |
6685 | || exit 1 | |
6686 | ||
6687 | ||
6688 | .PHONY: maybe-install-info-dejagnu install-info-dejagnu | |
6689 | maybe-install-info-dejagnu: | |
6690 | ||
6691 | install-info-dejagnu: \ | |
6692 | configure-dejagnu \ | |
6693 | info-dejagnu | |
6694 | @[ -f ./dejagnu/Makefile ] || exit 0; \ | |
b40e3958 L |
6695 | r=`${PWD_COMMAND}`; export r; \ |
6696 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6697 | $(SET_LIB_PATH) \ |
6698 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6699 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6700 | done; \ | |
6701 | echo "Doing install-info in dejagnu" ; \ | |
6702 | (cd dejagnu && \ | |
6703 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6704 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6705 | "RANLIB=$${RANLIB}" \ | |
6706 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6707 | install-info) \ | |
6708 | || exit 1 | |
6709 | ||
6710 | ||
6711 | .PHONY: maybe-install-info-diff install-info-diff | |
6712 | maybe-install-info-diff: | |
6713 | ||
6714 | install-info-diff: \ | |
6715 | configure-diff \ | |
6716 | info-diff | |
6717 | @[ -f ./diff/Makefile ] || exit 0; \ | |
b40e3958 L |
6718 | r=`${PWD_COMMAND}`; export r; \ |
6719 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6720 | $(SET_LIB_PATH) \ |
6721 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6722 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6723 | done; \ | |
6724 | echo "Doing install-info in diff" ; \ | |
6725 | (cd diff && \ | |
6726 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6727 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6728 | "RANLIB=$${RANLIB}" \ | |
6729 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6730 | install-info) \ | |
6731 | || exit 1 | |
6732 | ||
6733 | ||
6734 | .PHONY: maybe-install-info-dosutils install-info-dosutils | |
6735 | maybe-install-info-dosutils: | |
6736 | ||
6737 | install-info-dosutils: \ | |
6738 | configure-dosutils \ | |
6739 | info-dosutils | |
6740 | @[ -f ./dosutils/Makefile ] || exit 0; \ | |
b40e3958 L |
6741 | r=`${PWD_COMMAND}`; export r; \ |
6742 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6743 | $(SET_LIB_PATH) \ |
6744 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6745 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6746 | done; \ | |
6747 | echo "Doing install-info in dosutils" ; \ | |
6748 | (cd dosutils && \ | |
6749 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6750 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6751 | "RANLIB=$${RANLIB}" \ | |
6752 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6753 | install-info) \ | |
6754 | || exit 1 | |
6755 | ||
6756 | ||
6757 | .PHONY: maybe-install-info-etc install-info-etc | |
6758 | maybe-install-info-etc: | |
6759 | ||
6760 | install-info-etc: \ | |
6761 | configure-etc \ | |
6762 | info-etc | |
6763 | @[ -f ./etc/Makefile ] || exit 0; \ | |
b40e3958 L |
6764 | r=`${PWD_COMMAND}`; export r; \ |
6765 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6766 | $(SET_LIB_PATH) \ |
6767 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6768 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6769 | done; \ | |
6770 | echo "Doing install-info in etc" ; \ | |
6771 | (cd etc && \ | |
6772 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6773 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6774 | "RANLIB=$${RANLIB}" \ | |
6775 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6776 | install-info) \ | |
6777 | || exit 1 | |
6778 | ||
6779 | ||
6780 | .PHONY: maybe-install-info-fastjar install-info-fastjar | |
6781 | maybe-install-info-fastjar: | |
6782 | ||
6783 | install-info-fastjar: \ | |
6784 | configure-fastjar \ | |
6785 | info-fastjar | |
6786 | @[ -f ./fastjar/Makefile ] || exit 0; \ | |
b40e3958 L |
6787 | r=`${PWD_COMMAND}`; export r; \ |
6788 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6789 | $(SET_LIB_PATH) \ |
6790 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6791 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6792 | done; \ | |
6793 | echo "Doing install-info in fastjar" ; \ | |
6794 | (cd fastjar && \ | |
6795 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6796 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6797 | "RANLIB=$${RANLIB}" \ | |
6798 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6799 | install-info) \ | |
6800 | || exit 1 | |
6801 | ||
6802 | ||
6803 | .PHONY: maybe-install-info-fileutils install-info-fileutils | |
6804 | maybe-install-info-fileutils: | |
6805 | ||
6806 | install-info-fileutils: \ | |
6807 | configure-fileutils \ | |
6808 | info-fileutils | |
6809 | @[ -f ./fileutils/Makefile ] || exit 0; \ | |
b40e3958 L |
6810 | r=`${PWD_COMMAND}`; export r; \ |
6811 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6812 | $(SET_LIB_PATH) \ |
6813 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6814 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6815 | done; \ | |
6816 | echo "Doing install-info in fileutils" ; \ | |
6817 | (cd fileutils && \ | |
6818 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6819 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6820 | "RANLIB=$${RANLIB}" \ | |
6821 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6822 | install-info) \ | |
6823 | || exit 1 | |
6824 | ||
6825 | ||
6826 | .PHONY: maybe-install-info-findutils install-info-findutils | |
6827 | maybe-install-info-findutils: | |
6828 | ||
6829 | install-info-findutils: \ | |
6830 | configure-findutils \ | |
6831 | info-findutils | |
6832 | @[ -f ./findutils/Makefile ] || exit 0; \ | |
b40e3958 L |
6833 | r=`${PWD_COMMAND}`; export r; \ |
6834 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6835 | $(SET_LIB_PATH) \ |
6836 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6837 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6838 | done; \ | |
6839 | echo "Doing install-info in findutils" ; \ | |
6840 | (cd findutils && \ | |
6841 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6842 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6843 | "RANLIB=$${RANLIB}" \ | |
6844 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6845 | install-info) \ | |
6846 | || exit 1 | |
6847 | ||
6848 | ||
6849 | .PHONY: maybe-install-info-find install-info-find | |
6850 | maybe-install-info-find: | |
6851 | ||
6852 | install-info-find: \ | |
6853 | configure-find \ | |
6854 | info-find | |
6855 | @[ -f ./find/Makefile ] || exit 0; \ | |
b40e3958 L |
6856 | r=`${PWD_COMMAND}`; export r; \ |
6857 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6858 | $(SET_LIB_PATH) \ |
6859 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6860 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6861 | done; \ | |
6862 | echo "Doing install-info in find" ; \ | |
6863 | (cd find && \ | |
6864 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6865 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6866 | "RANLIB=$${RANLIB}" \ | |
6867 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6868 | install-info) \ | |
6869 | || exit 1 | |
6870 | ||
6871 | ||
6872 | .PHONY: maybe-install-info-flex install-info-flex | |
6873 | maybe-install-info-flex: | |
6874 | ||
6875 | install-info-flex: \ | |
6876 | configure-flex \ | |
6877 | info-flex | |
6878 | @[ -f ./flex/Makefile ] || exit 0; \ | |
b40e3958 L |
6879 | r=`${PWD_COMMAND}`; export r; \ |
6880 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6881 | $(SET_LIB_PATH) \ |
6882 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6883 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6884 | done; \ | |
6885 | echo "Doing install-info in flex" ; \ | |
6886 | (cd flex && \ | |
6887 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6888 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6889 | "RANLIB=$${RANLIB}" \ | |
6890 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6891 | install-info) \ | |
6892 | || exit 1 | |
6893 | ||
6894 | ||
6895 | .PHONY: maybe-install-info-gas install-info-gas | |
6896 | maybe-install-info-gas: | |
6897 | ||
6898 | install-info-gas: \ | |
6899 | configure-gas \ | |
6900 | info-gas | |
6901 | @[ -f ./gas/Makefile ] || exit 0; \ | |
b40e3958 L |
6902 | r=`${PWD_COMMAND}`; export r; \ |
6903 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6904 | $(SET_LIB_PATH) \ |
6905 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6906 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6907 | done; \ | |
6908 | echo "Doing install-info in gas" ; \ | |
6909 | (cd gas && \ | |
6910 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6911 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6912 | "RANLIB=$${RANLIB}" \ | |
6913 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6914 | install-info) \ | |
6915 | || exit 1 | |
6916 | ||
6917 | ||
6918 | .PHONY: maybe-install-info-gawk install-info-gawk | |
6919 | maybe-install-info-gawk: | |
6920 | ||
6921 | install-info-gawk: \ | |
6922 | configure-gawk \ | |
6923 | info-gawk | |
6924 | @[ -f ./gawk/Makefile ] || exit 0; \ | |
b40e3958 L |
6925 | r=`${PWD_COMMAND}`; export r; \ |
6926 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6927 | $(SET_LIB_PATH) \ |
6928 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6929 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6930 | done; \ | |
6931 | echo "Doing install-info in gawk" ; \ | |
6932 | (cd gawk && \ | |
6933 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6934 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6935 | "RANLIB=$${RANLIB}" \ | |
6936 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6937 | install-info) \ | |
6938 | || exit 1 | |
6939 | ||
6940 | ||
6941 | .PHONY: maybe-install-info-gettext install-info-gettext | |
6942 | maybe-install-info-gettext: | |
6943 | ||
6944 | install-info-gettext: \ | |
6945 | configure-gettext \ | |
6946 | info-gettext | |
6947 | @[ -f ./gettext/Makefile ] || exit 0; \ | |
b40e3958 L |
6948 | r=`${PWD_COMMAND}`; export r; \ |
6949 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6950 | $(SET_LIB_PATH) \ |
6951 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6952 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6953 | done; \ | |
6954 | echo "Doing install-info in gettext" ; \ | |
6955 | (cd gettext && \ | |
6956 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6957 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6958 | "RANLIB=$${RANLIB}" \ | |
6959 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6960 | install-info) \ | |
6961 | || exit 1 | |
6962 | ||
6963 | ||
6964 | .PHONY: maybe-install-info-gnuserv install-info-gnuserv | |
6965 | maybe-install-info-gnuserv: | |
6966 | ||
6967 | install-info-gnuserv: \ | |
6968 | configure-gnuserv \ | |
6969 | info-gnuserv | |
6970 | @[ -f ./gnuserv/Makefile ] || exit 0; \ | |
b40e3958 L |
6971 | r=`${PWD_COMMAND}`; export r; \ |
6972 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6973 | $(SET_LIB_PATH) \ |
6974 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6975 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6976 | done; \ | |
6977 | echo "Doing install-info in gnuserv" ; \ | |
6978 | (cd gnuserv && \ | |
6979 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6980 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6981 | "RANLIB=$${RANLIB}" \ | |
6982 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6983 | install-info) \ | |
6984 | || exit 1 | |
6985 | ||
6986 | ||
6987 | .PHONY: maybe-install-info-gprof install-info-gprof | |
6988 | maybe-install-info-gprof: | |
6989 | ||
6990 | install-info-gprof: \ | |
6991 | configure-gprof \ | |
6992 | info-gprof | |
6993 | @[ -f ./gprof/Makefile ] || exit 0; \ | |
b40e3958 L |
6994 | r=`${PWD_COMMAND}`; export r; \ |
6995 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
6996 | $(SET_LIB_PATH) \ |
6997 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6998 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6999 | done; \ | |
7000 | echo "Doing install-info in gprof" ; \ | |
7001 | (cd gprof && \ | |
7002 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7003 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7004 | "RANLIB=$${RANLIB}" \ | |
7005 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7006 | install-info) \ | |
7007 | || exit 1 | |
7008 | ||
7009 | ||
7010 | .PHONY: maybe-install-info-gzip install-info-gzip | |
7011 | maybe-install-info-gzip: | |
7012 | ||
7013 | install-info-gzip: \ | |
7014 | configure-gzip \ | |
7015 | info-gzip | |
7016 | @[ -f ./gzip/Makefile ] || exit 0; \ | |
b40e3958 L |
7017 | r=`${PWD_COMMAND}`; export r; \ |
7018 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7019 | $(SET_LIB_PATH) \ |
7020 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7021 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7022 | done; \ | |
7023 | echo "Doing install-info in gzip" ; \ | |
7024 | (cd gzip && \ | |
7025 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7026 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7027 | "RANLIB=$${RANLIB}" \ | |
7028 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7029 | install-info) \ | |
7030 | || exit 1 | |
7031 | ||
7032 | ||
7033 | .PHONY: maybe-install-info-hello install-info-hello | |
7034 | maybe-install-info-hello: | |
7035 | ||
7036 | install-info-hello: \ | |
7037 | configure-hello \ | |
7038 | info-hello | |
7039 | @[ -f ./hello/Makefile ] || exit 0; \ | |
b40e3958 L |
7040 | r=`${PWD_COMMAND}`; export r; \ |
7041 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7042 | $(SET_LIB_PATH) \ |
7043 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7044 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7045 | done; \ | |
7046 | echo "Doing install-info in hello" ; \ | |
7047 | (cd hello && \ | |
7048 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7049 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7050 | "RANLIB=$${RANLIB}" \ | |
7051 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7052 | install-info) \ | |
7053 | || exit 1 | |
7054 | ||
7055 | ||
7056 | .PHONY: maybe-install-info-indent install-info-indent | |
7057 | maybe-install-info-indent: | |
7058 | ||
7059 | install-info-indent: \ | |
7060 | configure-indent \ | |
7061 | info-indent | |
7062 | @[ -f ./indent/Makefile ] || exit 0; \ | |
b40e3958 L |
7063 | r=`${PWD_COMMAND}`; export r; \ |
7064 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7065 | $(SET_LIB_PATH) \ |
7066 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7067 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7068 | done; \ | |
7069 | echo "Doing install-info in indent" ; \ | |
7070 | (cd indent && \ | |
7071 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7072 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7073 | "RANLIB=$${RANLIB}" \ | |
7074 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7075 | install-info) \ | |
7076 | || exit 1 | |
7077 | ||
7078 | ||
7079 | .PHONY: maybe-install-info-intl install-info-intl | |
7080 | maybe-install-info-intl: | |
7081 | ||
7082 | install-info-intl: \ | |
7083 | configure-intl \ | |
7084 | info-intl | |
7085 | @[ -f ./intl/Makefile ] || exit 0; \ | |
b40e3958 L |
7086 | r=`${PWD_COMMAND}`; export r; \ |
7087 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7088 | $(SET_LIB_PATH) \ |
7089 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7090 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7091 | done; \ | |
7092 | echo "Doing install-info in intl" ; \ | |
7093 | (cd intl && \ | |
7094 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7095 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7096 | "RANLIB=$${RANLIB}" \ | |
7097 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7098 | install-info) \ | |
7099 | || exit 1 | |
7100 | ||
7101 | ||
7102 | .PHONY: maybe-install-info-tcl install-info-tcl | |
7103 | maybe-install-info-tcl: | |
7104 | ||
7105 | install-info-tcl: \ | |
7106 | configure-tcl \ | |
7107 | info-tcl | |
7108 | @[ -f ./tcl/Makefile ] || exit 0; \ | |
b40e3958 L |
7109 | r=`${PWD_COMMAND}`; export r; \ |
7110 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7111 | $(SET_LIB_PATH) \ |
7112 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7113 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7114 | done; \ | |
7115 | echo "Doing install-info in tcl" ; \ | |
7116 | (cd tcl && \ | |
7117 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7118 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7119 | "RANLIB=$${RANLIB}" \ | |
7120 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7121 | install-info) \ | |
7122 | || exit 1 | |
7123 | ||
7124 | ||
7125 | .PHONY: maybe-install-info-itcl install-info-itcl | |
7126 | maybe-install-info-itcl: | |
7127 | ||
7128 | install-info-itcl: \ | |
7129 | configure-itcl \ | |
7130 | info-itcl | |
7131 | @[ -f ./itcl/Makefile ] || exit 0; \ | |
b40e3958 L |
7132 | r=`${PWD_COMMAND}`; export r; \ |
7133 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7134 | $(SET_LIB_PATH) \ |
7135 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7136 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7137 | done; \ | |
7138 | echo "Doing install-info in itcl" ; \ | |
7139 | (cd itcl && \ | |
7140 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7141 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7142 | "RANLIB=$${RANLIB}" \ | |
7143 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7144 | install-info) \ | |
7145 | || exit 1 | |
7146 | ||
7147 | ||
7148 | .PHONY: maybe-install-info-ld install-info-ld | |
7149 | maybe-install-info-ld: | |
7150 | ||
7151 | install-info-ld: \ | |
7152 | configure-ld \ | |
7153 | info-ld | |
7154 | @[ -f ./ld/Makefile ] || exit 0; \ | |
b40e3958 L |
7155 | r=`${PWD_COMMAND}`; export r; \ |
7156 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7157 | $(SET_LIB_PATH) \ |
7158 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7159 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7160 | done; \ | |
7161 | echo "Doing install-info in ld" ; \ | |
7162 | (cd ld && \ | |
7163 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7164 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7165 | "RANLIB=$${RANLIB}" \ | |
7166 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7167 | install-info) \ | |
7168 | || exit 1 | |
7169 | ||
7170 | ||
7171 | .PHONY: maybe-install-info-libgui install-info-libgui | |
7172 | maybe-install-info-libgui: | |
7173 | ||
7174 | install-info-libgui: \ | |
7175 | configure-libgui \ | |
7176 | info-libgui | |
7177 | @[ -f ./libgui/Makefile ] || exit 0; \ | |
b40e3958 L |
7178 | r=`${PWD_COMMAND}`; export r; \ |
7179 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7180 | $(SET_LIB_PATH) \ |
7181 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7182 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7183 | done; \ | |
7184 | echo "Doing install-info in libgui" ; \ | |
7185 | (cd libgui && \ | |
7186 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7187 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7188 | "RANLIB=$${RANLIB}" \ | |
7189 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7190 | install-info) \ | |
7191 | || exit 1 | |
7192 | ||
7193 | ||
7194 | .PHONY: maybe-install-info-libiberty install-info-libiberty | |
7195 | maybe-install-info-libiberty: | |
7196 | ||
7197 | install-info-libiberty: \ | |
7198 | configure-libiberty \ | |
7199 | info-libiberty | |
7200 | @[ -f ./libiberty/Makefile ] || exit 0; \ | |
b40e3958 L |
7201 | r=`${PWD_COMMAND}`; export r; \ |
7202 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7203 | $(SET_LIB_PATH) \ |
7204 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7205 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7206 | done; \ | |
7207 | echo "Doing install-info in libiberty" ; \ | |
7208 | (cd libiberty && \ | |
7209 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7210 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7211 | "RANLIB=$${RANLIB}" \ | |
7212 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7213 | install-info) \ | |
7214 | || exit 1 | |
7215 | ||
7216 | ||
7217 | .PHONY: maybe-install-info-libtool install-info-libtool | |
7218 | maybe-install-info-libtool: | |
7219 | ||
7220 | install-info-libtool: \ | |
7221 | configure-libtool \ | |
7222 | info-libtool | |
7223 | @[ -f ./libtool/Makefile ] || exit 0; \ | |
b40e3958 L |
7224 | r=`${PWD_COMMAND}`; export r; \ |
7225 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7226 | $(SET_LIB_PATH) \ |
7227 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7228 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7229 | done; \ | |
7230 | echo "Doing install-info in libtool" ; \ | |
7231 | (cd libtool && \ | |
7232 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7233 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7234 | "RANLIB=$${RANLIB}" \ | |
7235 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7236 | install-info) \ | |
7237 | || exit 1 | |
7238 | ||
7239 | ||
7240 | .PHONY: maybe-install-info-m4 install-info-m4 | |
7241 | maybe-install-info-m4: | |
7242 | ||
7243 | install-info-m4: \ | |
7244 | configure-m4 \ | |
7245 | info-m4 | |
7246 | @[ -f ./m4/Makefile ] || exit 0; \ | |
b40e3958 L |
7247 | r=`${PWD_COMMAND}`; export r; \ |
7248 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7249 | $(SET_LIB_PATH) \ |
7250 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7251 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7252 | done; \ | |
7253 | echo "Doing install-info in m4" ; \ | |
7254 | (cd m4 && \ | |
7255 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7256 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7257 | "RANLIB=$${RANLIB}" \ | |
7258 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7259 | install-info) \ | |
7260 | || exit 1 | |
7261 | ||
7262 | ||
7263 | .PHONY: maybe-install-info-make install-info-make | |
7264 | maybe-install-info-make: | |
7265 | ||
7266 | install-info-make: \ | |
7267 | configure-make \ | |
7268 | info-make | |
7269 | @[ -f ./make/Makefile ] || exit 0; \ | |
b40e3958 L |
7270 | r=`${PWD_COMMAND}`; export r; \ |
7271 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7272 | $(SET_LIB_PATH) \ |
7273 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7274 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7275 | done; \ | |
7276 | echo "Doing install-info in make" ; \ | |
7277 | (cd make && \ | |
7278 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7279 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7280 | "RANLIB=$${RANLIB}" \ | |
7281 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7282 | install-info) \ | |
7283 | || exit 1 | |
7284 | ||
7285 | ||
7286 | .PHONY: maybe-install-info-mmalloc install-info-mmalloc | |
7287 | maybe-install-info-mmalloc: | |
7288 | ||
7289 | install-info-mmalloc: \ | |
7290 | configure-mmalloc \ | |
7291 | info-mmalloc | |
7292 | @[ -f ./mmalloc/Makefile ] || exit 0; \ | |
b40e3958 L |
7293 | r=`${PWD_COMMAND}`; export r; \ |
7294 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7295 | $(SET_LIB_PATH) \ |
7296 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7297 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7298 | done; \ | |
7299 | echo "Doing install-info in mmalloc" ; \ | |
7300 | (cd mmalloc && \ | |
7301 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7302 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7303 | "RANLIB=$${RANLIB}" \ | |
7304 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7305 | install-info) \ | |
7306 | || exit 1 | |
7307 | ||
7308 | ||
7309 | .PHONY: maybe-install-info-patch install-info-patch | |
7310 | maybe-install-info-patch: | |
7311 | ||
7312 | install-info-patch: \ | |
7313 | configure-patch \ | |
7314 | info-patch | |
7315 | @[ -f ./patch/Makefile ] || exit 0; \ | |
b40e3958 L |
7316 | r=`${PWD_COMMAND}`; export r; \ |
7317 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7318 | $(SET_LIB_PATH) \ |
7319 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7320 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7321 | done; \ | |
7322 | echo "Doing install-info in patch" ; \ | |
7323 | (cd patch && \ | |
7324 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7325 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7326 | "RANLIB=$${RANLIB}" \ | |
7327 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7328 | install-info) \ | |
7329 | || exit 1 | |
7330 | ||
7331 | ||
7332 | .PHONY: maybe-install-info-perl install-info-perl | |
7333 | maybe-install-info-perl: | |
7334 | ||
7335 | install-info-perl: \ | |
7336 | configure-perl \ | |
7337 | info-perl | |
7338 | @[ -f ./perl/Makefile ] || exit 0; \ | |
b40e3958 L |
7339 | r=`${PWD_COMMAND}`; export r; \ |
7340 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7341 | $(SET_LIB_PATH) \ |
7342 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7343 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7344 | done; \ | |
7345 | echo "Doing install-info in perl" ; \ | |
7346 | (cd perl && \ | |
7347 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7348 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7349 | "RANLIB=$${RANLIB}" \ | |
7350 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7351 | install-info) \ | |
7352 | || exit 1 | |
7353 | ||
7354 | ||
7355 | .PHONY: maybe-install-info-prms install-info-prms | |
7356 | maybe-install-info-prms: | |
7357 | ||
7358 | install-info-prms: \ | |
7359 | configure-prms \ | |
7360 | info-prms | |
7361 | @[ -f ./prms/Makefile ] || exit 0; \ | |
b40e3958 L |
7362 | r=`${PWD_COMMAND}`; export r; \ |
7363 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7364 | $(SET_LIB_PATH) \ |
7365 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7366 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7367 | done; \ | |
7368 | echo "Doing install-info in prms" ; \ | |
7369 | (cd prms && \ | |
7370 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7371 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7372 | "RANLIB=$${RANLIB}" \ | |
7373 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7374 | install-info) \ | |
7375 | || exit 1 | |
7376 | ||
7377 | ||
7378 | .PHONY: maybe-install-info-rcs install-info-rcs | |
7379 | maybe-install-info-rcs: | |
7380 | ||
7381 | install-info-rcs: \ | |
7382 | configure-rcs \ | |
7383 | info-rcs | |
7384 | @[ -f ./rcs/Makefile ] || exit 0; \ | |
b40e3958 L |
7385 | r=`${PWD_COMMAND}`; export r; \ |
7386 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7387 | $(SET_LIB_PATH) \ |
7388 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7389 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7390 | done; \ | |
7391 | echo "Doing install-info in rcs" ; \ | |
7392 | (cd rcs && \ | |
7393 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7394 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7395 | "RANLIB=$${RANLIB}" \ | |
7396 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7397 | install-info) \ | |
7398 | || exit 1 | |
7399 | ||
7400 | ||
7401 | .PHONY: maybe-install-info-readline install-info-readline | |
7402 | maybe-install-info-readline: | |
7403 | ||
7404 | install-info-readline: \ | |
7405 | configure-readline \ | |
7406 | info-readline | |
7407 | @[ -f ./readline/Makefile ] || exit 0; \ | |
b40e3958 L |
7408 | r=`${PWD_COMMAND}`; export r; \ |
7409 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7410 | $(SET_LIB_PATH) \ |
7411 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7412 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7413 | done; \ | |
7414 | echo "Doing install-info in readline" ; \ | |
7415 | (cd readline && \ | |
7416 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7417 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7418 | "RANLIB=$${RANLIB}" \ | |
7419 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7420 | install-info) \ | |
7421 | || exit 1 | |
7422 | ||
7423 | ||
7424 | .PHONY: maybe-install-info-release install-info-release | |
7425 | maybe-install-info-release: | |
7426 | ||
7427 | install-info-release: \ | |
7428 | configure-release \ | |
7429 | info-release | |
7430 | @[ -f ./release/Makefile ] || exit 0; \ | |
b40e3958 L |
7431 | r=`${PWD_COMMAND}`; export r; \ |
7432 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7433 | $(SET_LIB_PATH) \ |
7434 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7435 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7436 | done; \ | |
7437 | echo "Doing install-info in release" ; \ | |
7438 | (cd release && \ | |
7439 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7440 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7441 | "RANLIB=$${RANLIB}" \ | |
7442 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7443 | install-info) \ | |
7444 | || exit 1 | |
7445 | ||
7446 | ||
7447 | .PHONY: maybe-install-info-recode install-info-recode | |
7448 | maybe-install-info-recode: | |
7449 | ||
7450 | install-info-recode: \ | |
7451 | configure-recode \ | |
7452 | info-recode | |
7453 | @[ -f ./recode/Makefile ] || exit 0; \ | |
b40e3958 L |
7454 | r=`${PWD_COMMAND}`; export r; \ |
7455 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7456 | $(SET_LIB_PATH) \ |
7457 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7458 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7459 | done; \ | |
7460 | echo "Doing install-info in recode" ; \ | |
7461 | (cd recode && \ | |
7462 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7463 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7464 | "RANLIB=$${RANLIB}" \ | |
7465 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7466 | install-info) \ | |
7467 | || exit 1 | |
7468 | ||
7469 | ||
7470 | .PHONY: maybe-install-info-sed install-info-sed | |
7471 | maybe-install-info-sed: | |
7472 | ||
7473 | install-info-sed: \ | |
7474 | configure-sed \ | |
7475 | info-sed | |
7476 | @[ -f ./sed/Makefile ] || exit 0; \ | |
b40e3958 L |
7477 | r=`${PWD_COMMAND}`; export r; \ |
7478 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7479 | $(SET_LIB_PATH) \ |
7480 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7481 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7482 | done; \ | |
7483 | echo "Doing install-info in sed" ; \ | |
7484 | (cd sed && \ | |
7485 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7486 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7487 | "RANLIB=$${RANLIB}" \ | |
7488 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7489 | install-info) \ | |
7490 | || exit 1 | |
7491 | ||
7492 | ||
7493 | .PHONY: maybe-install-info-send-pr install-info-send-pr | |
7494 | maybe-install-info-send-pr: | |
7495 | ||
7496 | install-info-send-pr: \ | |
7497 | configure-send-pr \ | |
7498 | info-send-pr | |
7499 | @[ -f ./send-pr/Makefile ] || exit 0; \ | |
b40e3958 L |
7500 | r=`${PWD_COMMAND}`; export r; \ |
7501 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7502 | $(SET_LIB_PATH) \ |
7503 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7504 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7505 | done; \ | |
7506 | echo "Doing install-info in send-pr" ; \ | |
7507 | (cd send-pr && \ | |
7508 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7509 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7510 | "RANLIB=$${RANLIB}" \ | |
7511 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7512 | install-info) \ | |
7513 | || exit 1 | |
7514 | ||
7515 | ||
7516 | .PHONY: maybe-install-info-shellutils install-info-shellutils | |
7517 | maybe-install-info-shellutils: | |
7518 | ||
7519 | install-info-shellutils: \ | |
7520 | configure-shellutils \ | |
7521 | info-shellutils | |
7522 | @[ -f ./shellutils/Makefile ] || exit 0; \ | |
b40e3958 L |
7523 | r=`${PWD_COMMAND}`; export r; \ |
7524 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7525 | $(SET_LIB_PATH) \ |
7526 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7527 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7528 | done; \ | |
7529 | echo "Doing install-info in shellutils" ; \ | |
7530 | (cd shellutils && \ | |
7531 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7532 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7533 | "RANLIB=$${RANLIB}" \ | |
7534 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7535 | install-info) \ | |
7536 | || exit 1 | |
7537 | ||
7538 | ||
7539 | .PHONY: maybe-install-info-sid install-info-sid | |
7540 | maybe-install-info-sid: | |
7541 | ||
7542 | install-info-sid: \ | |
7543 | configure-sid \ | |
7544 | info-sid | |
7545 | @[ -f ./sid/Makefile ] || exit 0; \ | |
b40e3958 L |
7546 | r=`${PWD_COMMAND}`; export r; \ |
7547 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7548 | $(SET_LIB_PATH) \ |
7549 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7550 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7551 | done; \ | |
7552 | echo "Doing install-info in sid" ; \ | |
7553 | (cd sid && \ | |
7554 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7555 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7556 | "RANLIB=$${RANLIB}" \ | |
7557 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7558 | install-info) \ | |
7559 | || exit 1 | |
7560 | ||
7561 | ||
7562 | .PHONY: maybe-install-info-sim install-info-sim | |
7563 | maybe-install-info-sim: | |
7564 | ||
7565 | install-info-sim: \ | |
7566 | configure-sim \ | |
7567 | info-sim | |
7568 | @[ -f ./sim/Makefile ] || exit 0; \ | |
b40e3958 L |
7569 | r=`${PWD_COMMAND}`; export r; \ |
7570 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7571 | $(SET_LIB_PATH) \ |
7572 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7573 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7574 | done; \ | |
7575 | echo "Doing install-info in sim" ; \ | |
7576 | (cd sim && \ | |
7577 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7578 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7579 | "RANLIB=$${RANLIB}" \ | |
7580 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7581 | install-info) \ | |
7582 | || exit 1 | |
7583 | ||
7584 | ||
7585 | .PHONY: maybe-install-info-tar install-info-tar | |
7586 | maybe-install-info-tar: | |
7587 | ||
7588 | install-info-tar: \ | |
7589 | configure-tar \ | |
7590 | info-tar | |
7591 | @[ -f ./tar/Makefile ] || exit 0; \ | |
b40e3958 L |
7592 | r=`${PWD_COMMAND}`; export r; \ |
7593 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7594 | $(SET_LIB_PATH) \ |
7595 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7596 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7597 | done; \ | |
7598 | echo "Doing install-info in tar" ; \ | |
7599 | (cd tar && \ | |
7600 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7601 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7602 | "RANLIB=$${RANLIB}" \ | |
7603 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7604 | install-info) \ | |
7605 | || exit 1 | |
7606 | ||
7607 | ||
7608 | .PHONY: maybe-install-info-texinfo install-info-texinfo | |
7609 | maybe-install-info-texinfo: | |
7610 | ||
7611 | install-info-texinfo: \ | |
7612 | configure-texinfo \ | |
7613 | info-texinfo | |
7614 | @[ -f ./texinfo/Makefile ] || exit 0; \ | |
b40e3958 L |
7615 | r=`${PWD_COMMAND}`; export r; \ |
7616 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7617 | $(SET_LIB_PATH) \ |
7618 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7619 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7620 | done; \ | |
7621 | echo "Doing install-info in texinfo" ; \ | |
7622 | (cd texinfo && \ | |
7623 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7624 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7625 | "RANLIB=$${RANLIB}" \ | |
7626 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7627 | install-info) \ | |
7628 | || exit 1 | |
7629 | ||
7630 | ||
7631 | .PHONY: maybe-install-info-textutils install-info-textutils | |
7632 | maybe-install-info-textutils: | |
7633 | ||
7634 | install-info-textutils: \ | |
7635 | configure-textutils \ | |
7636 | info-textutils | |
7637 | @[ -f ./textutils/Makefile ] || exit 0; \ | |
b40e3958 L |
7638 | r=`${PWD_COMMAND}`; export r; \ |
7639 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7640 | $(SET_LIB_PATH) \ |
7641 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7642 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7643 | done; \ | |
7644 | echo "Doing install-info in textutils" ; \ | |
7645 | (cd textutils && \ | |
7646 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7647 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7648 | "RANLIB=$${RANLIB}" \ | |
7649 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7650 | install-info) \ | |
7651 | || exit 1 | |
7652 | ||
7653 | ||
7654 | .PHONY: maybe-install-info-time install-info-time | |
7655 | maybe-install-info-time: | |
7656 | ||
7657 | install-info-time: \ | |
7658 | configure-time \ | |
7659 | info-time | |
7660 | @[ -f ./time/Makefile ] || exit 0; \ | |
b40e3958 L |
7661 | r=`${PWD_COMMAND}`; export r; \ |
7662 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7663 | $(SET_LIB_PATH) \ |
7664 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7665 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7666 | done; \ | |
7667 | echo "Doing install-info in time" ; \ | |
7668 | (cd time && \ | |
7669 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7670 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7671 | "RANLIB=$${RANLIB}" \ | |
7672 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7673 | install-info) \ | |
7674 | || exit 1 | |
7675 | ||
7676 | ||
7677 | .PHONY: maybe-install-info-uudecode install-info-uudecode | |
7678 | maybe-install-info-uudecode: | |
7679 | ||
7680 | install-info-uudecode: \ | |
7681 | configure-uudecode \ | |
7682 | info-uudecode | |
7683 | @[ -f ./uudecode/Makefile ] || exit 0; \ | |
b40e3958 L |
7684 | r=`${PWD_COMMAND}`; export r; \ |
7685 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7686 | $(SET_LIB_PATH) \ |
7687 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7688 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7689 | done; \ | |
7690 | echo "Doing install-info in uudecode" ; \ | |
7691 | (cd uudecode && \ | |
7692 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7693 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7694 | "RANLIB=$${RANLIB}" \ | |
7695 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7696 | install-info) \ | |
7697 | || exit 1 | |
7698 | ||
7699 | ||
7700 | .PHONY: maybe-install-info-wdiff install-info-wdiff | |
7701 | maybe-install-info-wdiff: | |
7702 | ||
7703 | install-info-wdiff: \ | |
7704 | configure-wdiff \ | |
7705 | info-wdiff | |
7706 | @[ -f ./wdiff/Makefile ] || exit 0; \ | |
b40e3958 L |
7707 | r=`${PWD_COMMAND}`; export r; \ |
7708 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7709 | $(SET_LIB_PATH) \ |
7710 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7711 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7712 | done; \ | |
7713 | echo "Doing install-info in wdiff" ; \ | |
7714 | (cd wdiff && \ | |
7715 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7716 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7717 | "RANLIB=$${RANLIB}" \ | |
7718 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7719 | install-info) \ | |
7720 | || exit 1 | |
7721 | ||
7722 | ||
7723 | .PHONY: maybe-install-info-zip install-info-zip | |
7724 | maybe-install-info-zip: | |
7725 | ||
7726 | install-info-zip: \ | |
7727 | configure-zip \ | |
7728 | info-zip | |
7729 | @[ -f ./zip/Makefile ] || exit 0; \ | |
b40e3958 L |
7730 | r=`${PWD_COMMAND}`; export r; \ |
7731 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7732 | $(SET_LIB_PATH) \ |
7733 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7734 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7735 | done; \ | |
7736 | echo "Doing install-info in zip" ; \ | |
7737 | (cd zip && \ | |
7738 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7739 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7740 | "RANLIB=$${RANLIB}" \ | |
7741 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7742 | install-info) \ | |
7743 | || exit 1 | |
7744 | ||
7745 | ||
7746 | .PHONY: maybe-install-info-zlib install-info-zlib | |
7747 | maybe-install-info-zlib: | |
7748 | ||
7749 | install-info-zlib: \ | |
7750 | configure-zlib \ | |
7751 | info-zlib | |
7752 | @[ -f ./zlib/Makefile ] || exit 0; \ | |
b40e3958 L |
7753 | r=`${PWD_COMMAND}`; export r; \ |
7754 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7755 | $(SET_LIB_PATH) \ |
7756 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7757 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7758 | done; \ | |
7759 | echo "Doing install-info in zlib" ; \ | |
7760 | (cd zlib && \ | |
7761 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7762 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7763 | "RANLIB=$${RANLIB}" \ | |
7764 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7765 | install-info) \ | |
7766 | || exit 1 | |
7767 | ||
7768 | ||
7769 | .PHONY: maybe-install-info-gdb install-info-gdb | |
7770 | maybe-install-info-gdb: | |
7771 | ||
7772 | install-info-gdb: \ | |
7773 | configure-gdb \ | |
7774 | info-gdb | |
7775 | @[ -f ./gdb/Makefile ] || exit 0; \ | |
b40e3958 L |
7776 | r=`${PWD_COMMAND}`; export r; \ |
7777 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7778 | $(SET_LIB_PATH) \ |
7779 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7780 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7781 | done; \ | |
7782 | echo "Doing install-info in gdb" ; \ | |
7783 | (cd gdb && \ | |
7784 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7785 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7786 | "RANLIB=$${RANLIB}" \ | |
7787 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7788 | install-info) \ | |
7789 | || exit 1 | |
7790 | ||
7791 | ||
7792 | .PHONY: maybe-install-info-expect install-info-expect | |
7793 | maybe-install-info-expect: | |
7794 | ||
7795 | install-info-expect: \ | |
7796 | configure-expect \ | |
7797 | info-expect | |
7798 | @[ -f ./expect/Makefile ] || exit 0; \ | |
b40e3958 L |
7799 | r=`${PWD_COMMAND}`; export r; \ |
7800 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7801 | $(SET_LIB_PATH) \ |
7802 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7803 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7804 | done; \ | |
7805 | echo "Doing install-info in expect" ; \ | |
7806 | (cd expect && \ | |
7807 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7808 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7809 | "RANLIB=$${RANLIB}" \ | |
7810 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7811 | install-info) \ | |
7812 | || exit 1 | |
7813 | ||
7814 | ||
7815 | .PHONY: maybe-install-info-guile install-info-guile | |
7816 | maybe-install-info-guile: | |
7817 | ||
7818 | install-info-guile: \ | |
7819 | configure-guile \ | |
7820 | info-guile | |
7821 | @[ -f ./guile/Makefile ] || exit 0; \ | |
b40e3958 L |
7822 | r=`${PWD_COMMAND}`; export r; \ |
7823 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7824 | $(SET_LIB_PATH) \ |
7825 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7826 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7827 | done; \ | |
7828 | echo "Doing install-info in guile" ; \ | |
7829 | (cd guile && \ | |
7830 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7831 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7832 | "RANLIB=$${RANLIB}" \ | |
7833 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7834 | install-info) \ | |
7835 | || exit 1 | |
7836 | ||
7837 | ||
7838 | .PHONY: maybe-install-info-tk install-info-tk | |
7839 | maybe-install-info-tk: | |
7840 | ||
7841 | install-info-tk: \ | |
7842 | configure-tk \ | |
7843 | info-tk | |
7844 | @[ -f ./tk/Makefile ] || exit 0; \ | |
b40e3958 L |
7845 | r=`${PWD_COMMAND}`; export r; \ |
7846 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7847 | $(SET_LIB_PATH) \ |
7848 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7849 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7850 | done; \ | |
7851 | echo "Doing install-info in tk" ; \ | |
7852 | (cd tk && \ | |
7853 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7854 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7855 | "RANLIB=$${RANLIB}" \ | |
7856 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7857 | install-info) \ | |
7858 | || exit 1 | |
7859 | ||
7860 | ||
7861 | .PHONY: maybe-install-info-tix install-info-tix | |
7862 | maybe-install-info-tix: | |
7863 | ||
7864 | install-info-tix: \ | |
7865 | configure-tix \ | |
7866 | info-tix | |
7867 | @[ -f ./tix/Makefile ] || exit 0; \ | |
b40e3958 L |
7868 | r=`${PWD_COMMAND}`; export r; \ |
7869 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7870 | $(SET_LIB_PATH) \ |
7871 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7872 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7873 | done; \ | |
7874 | echo "Doing install-info in tix" ; \ | |
7875 | (cd tix && \ | |
7876 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7877 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7878 | "RANLIB=$${RANLIB}" \ | |
7879 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7880 | install-info) \ | |
7881 | || exit 1 | |
7882 | ||
7883 | ||
7884 | .PHONY: maybe-install-info-libtermcap install-info-libtermcap | |
7885 | maybe-install-info-libtermcap: | |
7886 | ||
7887 | install-info-libtermcap: \ | |
7888 | configure-libtermcap \ | |
7889 | info-libtermcap | |
7890 | @[ -f ./libtermcap/Makefile ] || exit 0; \ | |
b40e3958 L |
7891 | r=`${PWD_COMMAND}`; export r; \ |
7892 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7893 | $(SET_LIB_PATH) \ |
7894 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7895 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7896 | done; \ | |
7897 | echo "Doing install-info in libtermcap" ; \ | |
7898 | (cd libtermcap && \ | |
7899 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7900 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7901 | "RANLIB=$${RANLIB}" \ | |
7902 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7903 | install-info) \ | |
7904 | || exit 1 | |
7905 | ||
7906 | ||
7907 | .PHONY: maybe-install-info-utils install-info-utils | |
7908 | maybe-install-info-utils: | |
7909 | ||
7910 | install-info-utils: \ | |
7911 | configure-utils \ | |
7912 | info-utils | |
7913 | @[ -f ./utils/Makefile ] || exit 0; \ | |
b40e3958 L |
7914 | r=`${PWD_COMMAND}`; export r; \ |
7915 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7916 | $(SET_LIB_PATH) \ |
7917 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7918 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7919 | done; \ | |
7920 | echo "Doing install-info in utils" ; \ | |
7921 | (cd utils && \ | |
7922 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7923 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7924 | "RANLIB=$${RANLIB}" \ | |
7925 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7926 | install-info) \ | |
7927 | || exit 1 | |
7928 | ||
7929 | ||
7930 | ||
7931 | # Target modules. | |
7932 | ||
7933 | .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3 | |
7934 | maybe-install-info-target-libstdc++-v3: | |
7935 | ||
7936 | install-info-target-libstdc++-v3: \ | |
7937 | configure-target-libstdc++-v3 \ | |
7938 | info-target-libstdc++-v3 | |
7939 | @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ | |
b40e3958 L |
7940 | r=`${PWD_COMMAND}`; export r; \ |
7941 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7942 | $(SET_LIB_PATH) \ |
7943 | echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \ | |
7944 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
7945 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7946 | done; \ | |
7947 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
7948 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7949 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7950 | "RANLIB=$${RANLIB}" \ | |
7951 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7952 | install-info) \ | |
7953 | || exit 1 | |
7954 | ||
7955 | ||
7956 | .PHONY: maybe-install-info-target-newlib install-info-target-newlib | |
7957 | maybe-install-info-target-newlib: | |
7958 | ||
7959 | install-info-target-newlib: \ | |
7960 | configure-target-newlib \ | |
7961 | info-target-newlib | |
7962 | @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
7963 | r=`${PWD_COMMAND}`; export r; \ |
7964 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7965 | $(SET_LIB_PATH) \ |
7966 | echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \ | |
7967 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
7968 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7969 | done; \ | |
7970 | (cd $(TARGET_SUBDIR)/newlib && \ | |
7971 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7972 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7973 | "RANLIB=$${RANLIB}" \ | |
7974 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7975 | install-info) \ | |
7976 | || exit 1 | |
7977 | ||
7978 | ||
7979 | .PHONY: maybe-install-info-target-libf2c install-info-target-libf2c | |
7980 | maybe-install-info-target-libf2c: | |
7981 | ||
7982 | install-info-target-libf2c: \ | |
7983 | configure-target-libf2c \ | |
7984 | info-target-libf2c | |
7985 | @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \ | |
b40e3958 L |
7986 | r=`${PWD_COMMAND}`; export r; \ |
7987 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
7988 | $(SET_LIB_PATH) \ |
7989 | echo "Doing install-info in $(TARGET_SUBDIR)/libf2c" ; \ | |
7990 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
7991 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7992 | done; \ | |
7993 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
7994 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7995 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7996 | "RANLIB=$${RANLIB}" \ | |
7997 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7998 | install-info) \ | |
7999 | || exit 1 | |
8000 | ||
8001 | ||
8002 | .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc | |
8003 | maybe-install-info-target-libobjc: | |
8004 | ||
8005 | install-info-target-libobjc: \ | |
8006 | configure-target-libobjc \ | |
8007 | info-target-libobjc | |
8008 | @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
8009 | r=`${PWD_COMMAND}`; export r; \ |
8010 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8011 | $(SET_LIB_PATH) \ |
8012 | echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \ | |
8013 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8014 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8015 | done; \ | |
8016 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
8017 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8018 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8019 | "RANLIB=$${RANLIB}" \ | |
8020 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8021 | install-info) \ | |
8022 | || exit 1 | |
8023 | ||
8024 | ||
8025 | .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap | |
8026 | maybe-install-info-target-libtermcap: | |
8027 | ||
8028 | install-info-target-libtermcap: \ | |
8029 | configure-target-libtermcap \ | |
8030 | info-target-libtermcap | |
8031 | @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ | |
b40e3958 L |
8032 | r=`${PWD_COMMAND}`; export r; \ |
8033 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8034 | $(SET_LIB_PATH) \ |
8035 | echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \ | |
8036 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8037 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8038 | done; \ | |
8039 | (cd $(TARGET_SUBDIR)/libtermcap && \ | |
8040 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8041 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8042 | "RANLIB=$${RANLIB}" \ | |
8043 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8044 | install-info) \ | |
8045 | || exit 1 | |
8046 | ||
8047 | ||
8048 | .PHONY: maybe-install-info-target-winsup install-info-target-winsup | |
8049 | maybe-install-info-target-winsup: | |
8050 | ||
8051 | install-info-target-winsup: \ | |
8052 | configure-target-winsup \ | |
8053 | info-target-winsup | |
8054 | @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ | |
b40e3958 L |
8055 | r=`${PWD_COMMAND}`; export r; \ |
8056 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8057 | $(SET_LIB_PATH) \ |
8058 | echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \ | |
8059 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8060 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8061 | done; \ | |
8062 | (cd $(TARGET_SUBDIR)/winsup && \ | |
8063 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8064 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8065 | "RANLIB=$${RANLIB}" \ | |
8066 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8067 | install-info) \ | |
8068 | || exit 1 | |
8069 | ||
8070 | ||
8071 | .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss | |
8072 | maybe-install-info-target-libgloss: | |
8073 | ||
8074 | install-info-target-libgloss: \ | |
8075 | configure-target-libgloss \ | |
8076 | info-target-libgloss | |
8077 | @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ | |
b40e3958 L |
8078 | r=`${PWD_COMMAND}`; export r; \ |
8079 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8080 | $(SET_LIB_PATH) \ |
8081 | echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \ | |
8082 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8083 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8084 | done; \ | |
8085 | (cd $(TARGET_SUBDIR)/libgloss && \ | |
8086 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8087 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8088 | "RANLIB=$${RANLIB}" \ | |
8089 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8090 | install-info) \ | |
8091 | || exit 1 | |
8092 | ||
8093 | ||
8094 | .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty | |
8095 | maybe-install-info-target-libiberty: | |
8096 | ||
8097 | install-info-target-libiberty: \ | |
8098 | configure-target-libiberty \ | |
8099 | info-target-libiberty | |
8100 | @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ | |
b40e3958 L |
8101 | r=`${PWD_COMMAND}`; export r; \ |
8102 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8103 | $(SET_LIB_PATH) \ |
8104 | echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \ | |
8105 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8106 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8107 | done; \ | |
8108 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
8109 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8110 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8111 | "RANLIB=$${RANLIB}" \ | |
8112 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8113 | install-info) \ | |
8114 | || exit 1 | |
8115 | ||
8116 | ||
8117 | .PHONY: maybe-install-info-target-gperf install-info-target-gperf | |
8118 | maybe-install-info-target-gperf: | |
8119 | ||
8120 | install-info-target-gperf: \ | |
8121 | configure-target-gperf \ | |
8122 | info-target-gperf | |
8123 | @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ | |
b40e3958 L |
8124 | r=`${PWD_COMMAND}`; export r; \ |
8125 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8126 | $(SET_LIB_PATH) \ |
8127 | echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \ | |
8128 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8129 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8130 | done; \ | |
8131 | (cd $(TARGET_SUBDIR)/gperf && \ | |
8132 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8133 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8134 | "RANLIB=$${RANLIB}" \ | |
8135 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8136 | install-info) \ | |
8137 | || exit 1 | |
8138 | ||
8139 | ||
8140 | .PHONY: maybe-install-info-target-examples install-info-target-examples | |
8141 | maybe-install-info-target-examples: | |
8142 | ||
8143 | install-info-target-examples: \ | |
8144 | configure-target-examples \ | |
8145 | info-target-examples | |
8146 | @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ | |
b40e3958 L |
8147 | r=`${PWD_COMMAND}`; export r; \ |
8148 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8149 | $(SET_LIB_PATH) \ |
8150 | echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \ | |
8151 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8152 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8153 | done; \ | |
8154 | (cd $(TARGET_SUBDIR)/examples && \ | |
8155 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8156 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8157 | "RANLIB=$${RANLIB}" \ | |
8158 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8159 | install-info) \ | |
8160 | || exit 1 | |
8161 | ||
8162 | ||
8163 | .PHONY: maybe-install-info-target-libffi install-info-target-libffi | |
8164 | maybe-install-info-target-libffi: | |
8165 | ||
8166 | install-info-target-libffi: \ | |
8167 | configure-target-libffi \ | |
8168 | info-target-libffi | |
8169 | @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ | |
b40e3958 L |
8170 | r=`${PWD_COMMAND}`; export r; \ |
8171 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8172 | $(SET_LIB_PATH) \ |
8173 | echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \ | |
8174 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8175 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8176 | done; \ | |
8177 | (cd $(TARGET_SUBDIR)/libffi && \ | |
8178 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8179 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8180 | "RANLIB=$${RANLIB}" \ | |
8181 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8182 | install-info) \ | |
8183 | || exit 1 | |
8184 | ||
8185 | ||
8186 | .PHONY: maybe-install-info-target-libjava install-info-target-libjava | |
8187 | maybe-install-info-target-libjava: | |
8188 | ||
8189 | install-info-target-libjava: \ | |
8190 | configure-target-libjava \ | |
8191 | info-target-libjava | |
8192 | @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ | |
b40e3958 L |
8193 | r=`${PWD_COMMAND}`; export r; \ |
8194 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8195 | $(SET_LIB_PATH) \ |
8196 | echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \ | |
8197 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8198 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8199 | done; \ | |
8200 | (cd $(TARGET_SUBDIR)/libjava && \ | |
8201 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8202 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8203 | "RANLIB=$${RANLIB}" \ | |
8204 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8205 | install-info) \ | |
8206 | || exit 1 | |
8207 | ||
8208 | ||
8209 | .PHONY: maybe-install-info-target-zlib install-info-target-zlib | |
8210 | maybe-install-info-target-zlib: | |
8211 | ||
8212 | install-info-target-zlib: \ | |
8213 | configure-target-zlib \ | |
8214 | info-target-zlib | |
8215 | @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
8216 | r=`${PWD_COMMAND}`; export r; \ |
8217 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8218 | $(SET_LIB_PATH) \ |
8219 | echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \ | |
8220 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8221 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8222 | done; \ | |
8223 | (cd $(TARGET_SUBDIR)/zlib && \ | |
8224 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8225 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8226 | "RANLIB=$${RANLIB}" \ | |
8227 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8228 | install-info) \ | |
8229 | || exit 1 | |
8230 | ||
8231 | ||
8232 | .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc | |
8233 | maybe-install-info-target-boehm-gc: | |
8234 | ||
8235 | install-info-target-boehm-gc: \ | |
8236 | configure-target-boehm-gc \ | |
8237 | info-target-boehm-gc | |
8238 | @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
8239 | r=`${PWD_COMMAND}`; export r; \ |
8240 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8241 | $(SET_LIB_PATH) \ |
8242 | echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \ | |
8243 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8244 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8245 | done; \ | |
8246 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
8247 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8248 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8249 | "RANLIB=$${RANLIB}" \ | |
8250 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8251 | install-info) \ | |
8252 | || exit 1 | |
8253 | ||
8254 | ||
8255 | .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads | |
8256 | maybe-install-info-target-qthreads: | |
8257 | ||
8258 | install-info-target-qthreads: \ | |
8259 | configure-target-qthreads \ | |
8260 | info-target-qthreads | |
8261 | @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ | |
b40e3958 L |
8262 | r=`${PWD_COMMAND}`; export r; \ |
8263 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8264 | $(SET_LIB_PATH) \ |
8265 | echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \ | |
8266 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8267 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8268 | done; \ | |
8269 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
8270 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8271 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8272 | "RANLIB=$${RANLIB}" \ | |
8273 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8274 | install-info) \ | |
8275 | || exit 1 | |
8276 | ||
8277 | ||
8278 | .PHONY: maybe-install-info-target-rda install-info-target-rda | |
8279 | maybe-install-info-target-rda: | |
8280 | ||
8281 | install-info-target-rda: \ | |
8282 | configure-target-rda \ | |
8283 | info-target-rda | |
8284 | @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ | |
b40e3958 L |
8285 | r=`${PWD_COMMAND}`; export r; \ |
8286 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8287 | $(SET_LIB_PATH) \ |
8288 | echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \ | |
8289 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8290 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8291 | done; \ | |
8292 | (cd $(TARGET_SUBDIR)/rda && \ | |
8293 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8294 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8295 | "RANLIB=$${RANLIB}" \ | |
8296 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8297 | install-info) \ | |
8298 | || exit 1 | |
8299 | ||
8300 | ||
8301 | ||
8302 | .PHONY: do-installcheck | |
8303 | do-installcheck: installcheck-host installcheck-target | |
8304 | ||
8305 | .PHONY: installcheck-host | |
8306 | installcheck-host: maybe-installcheck-gcc \ | |
8307 | maybe-installcheck-ash \ | |
8308 | maybe-installcheck-autoconf \ | |
8309 | maybe-installcheck-automake \ | |
8310 | maybe-installcheck-bash \ | |
8311 | maybe-installcheck-bfd \ | |
8312 | maybe-installcheck-opcodes \ | |
8313 | maybe-installcheck-binutils \ | |
8314 | maybe-installcheck-bison \ | |
8315 | maybe-installcheck-byacc \ | |
8316 | maybe-installcheck-bzip2 \ | |
8317 | maybe-installcheck-dejagnu \ | |
8318 | maybe-installcheck-diff \ | |
8319 | maybe-installcheck-dosutils \ | |
8320 | maybe-installcheck-etc \ | |
8321 | maybe-installcheck-fastjar \ | |
8322 | maybe-installcheck-fileutils \ | |
8323 | maybe-installcheck-findutils \ | |
8324 | maybe-installcheck-find \ | |
8325 | maybe-installcheck-flex \ | |
8326 | maybe-installcheck-gas \ | |
8327 | maybe-installcheck-gawk \ | |
8328 | maybe-installcheck-gettext \ | |
8329 | maybe-installcheck-gnuserv \ | |
8330 | maybe-installcheck-gprof \ | |
8331 | maybe-installcheck-gzip \ | |
8332 | maybe-installcheck-hello \ | |
8333 | maybe-installcheck-indent \ | |
8334 | maybe-installcheck-intl \ | |
8335 | maybe-installcheck-tcl \ | |
8336 | maybe-installcheck-itcl \ | |
8337 | maybe-installcheck-ld \ | |
8338 | maybe-installcheck-libgui \ | |
8339 | maybe-installcheck-libiberty \ | |
8340 | maybe-installcheck-libtool \ | |
8341 | maybe-installcheck-m4 \ | |
8342 | maybe-installcheck-make \ | |
8343 | maybe-installcheck-mmalloc \ | |
8344 | maybe-installcheck-patch \ | |
8345 | maybe-installcheck-perl \ | |
8346 | maybe-installcheck-prms \ | |
8347 | maybe-installcheck-rcs \ | |
8348 | maybe-installcheck-readline \ | |
8349 | maybe-installcheck-release \ | |
8350 | maybe-installcheck-recode \ | |
8351 | maybe-installcheck-sed \ | |
8352 | maybe-installcheck-send-pr \ | |
8353 | maybe-installcheck-shellutils \ | |
8354 | maybe-installcheck-sid \ | |
8355 | maybe-installcheck-sim \ | |
8356 | maybe-installcheck-tar \ | |
8357 | maybe-installcheck-texinfo \ | |
8358 | maybe-installcheck-textutils \ | |
8359 | maybe-installcheck-time \ | |
8360 | maybe-installcheck-uudecode \ | |
8361 | maybe-installcheck-wdiff \ | |
8362 | maybe-installcheck-zip \ | |
8363 | maybe-installcheck-zlib \ | |
8364 | maybe-installcheck-gdb \ | |
8365 | maybe-installcheck-expect \ | |
8366 | maybe-installcheck-guile \ | |
8367 | maybe-installcheck-tk \ | |
8368 | maybe-installcheck-tix \ | |
8369 | maybe-installcheck-libtermcap \ | |
8370 | maybe-installcheck-utils | |
8371 | ||
8372 | .PHONY: installcheck-target | |
8373 | installcheck-target: \ | |
8374 | maybe-installcheck-target-libstdc++-v3 \ | |
8375 | maybe-installcheck-target-newlib \ | |
8376 | maybe-installcheck-target-libf2c \ | |
8377 | maybe-installcheck-target-libobjc \ | |
8378 | maybe-installcheck-target-libtermcap \ | |
8379 | maybe-installcheck-target-winsup \ | |
8380 | maybe-installcheck-target-libgloss \ | |
8381 | maybe-installcheck-target-libiberty \ | |
8382 | maybe-installcheck-target-gperf \ | |
8383 | maybe-installcheck-target-examples \ | |
8384 | maybe-installcheck-target-libffi \ | |
8385 | maybe-installcheck-target-libjava \ | |
8386 | maybe-installcheck-target-zlib \ | |
8387 | maybe-installcheck-target-boehm-gc \ | |
8388 | maybe-installcheck-target-qthreads \ | |
8389 | maybe-installcheck-target-rda | |
8390 | ||
8391 | # GCC, the eternal special case | |
8392 | .PHONY: maybe-installcheck-gcc installcheck-gcc | |
8393 | maybe-installcheck-gcc: | |
8394 | installcheck-gcc: \ | |
8395 | configure-gcc | |
8396 | @[ -f ./gcc/Makefile ] || exit 0; \ | |
b40e3958 L |
8397 | r=`${PWD_COMMAND}`; export r; \ |
8398 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8399 | $(SET_LIB_PATH) \ |
8400 | for flag in $(EXTRA_GCC_FLAGS); do \ | |
8401 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8402 | done; \ | |
8403 | echo "Doing installcheck in gcc" ; \ | |
8404 | (cd gcc && \ | |
8405 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8406 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8407 | "RANLIB=$${RANLIB}" \ | |
8408 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8409 | installcheck) \ | |
8410 | || exit 1 | |
8411 | ||
8412 | # Host modules. | |
8413 | ||
8414 | .PHONY: maybe-installcheck-ash installcheck-ash | |
8415 | maybe-installcheck-ash: | |
8416 | ||
8417 | installcheck-ash: \ | |
8418 | configure-ash | |
8419 | @[ -f ./ash/Makefile ] || exit 0; \ | |
b40e3958 L |
8420 | r=`${PWD_COMMAND}`; export r; \ |
8421 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8422 | $(SET_LIB_PATH) \ |
8423 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8424 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8425 | done; \ | |
8426 | echo "Doing installcheck in ash" ; \ | |
8427 | (cd ash && \ | |
8428 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8429 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8430 | "RANLIB=$${RANLIB}" \ | |
8431 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8432 | installcheck) \ | |
8433 | || exit 1 | |
8434 | ||
8435 | ||
8436 | .PHONY: maybe-installcheck-autoconf installcheck-autoconf | |
8437 | maybe-installcheck-autoconf: | |
8438 | ||
8439 | installcheck-autoconf: \ | |
8440 | configure-autoconf | |
8441 | @[ -f ./autoconf/Makefile ] || exit 0; \ | |
b40e3958 L |
8442 | r=`${PWD_COMMAND}`; export r; \ |
8443 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8444 | $(SET_LIB_PATH) \ |
8445 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8446 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8447 | done; \ | |
8448 | echo "Doing installcheck in autoconf" ; \ | |
8449 | (cd autoconf && \ | |
8450 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8451 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8452 | "RANLIB=$${RANLIB}" \ | |
8453 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8454 | installcheck) \ | |
8455 | || exit 1 | |
8456 | ||
8457 | ||
8458 | .PHONY: maybe-installcheck-automake installcheck-automake | |
8459 | maybe-installcheck-automake: | |
8460 | ||
8461 | installcheck-automake: \ | |
8462 | configure-automake | |
8463 | @[ -f ./automake/Makefile ] || exit 0; \ | |
b40e3958 L |
8464 | r=`${PWD_COMMAND}`; export r; \ |
8465 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8466 | $(SET_LIB_PATH) \ |
8467 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8468 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8469 | done; \ | |
8470 | echo "Doing installcheck in automake" ; \ | |
8471 | (cd automake && \ | |
8472 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8473 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8474 | "RANLIB=$${RANLIB}" \ | |
8475 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8476 | installcheck) \ | |
8477 | || exit 1 | |
8478 | ||
8479 | ||
8480 | .PHONY: maybe-installcheck-bash installcheck-bash | |
8481 | maybe-installcheck-bash: | |
8482 | ||
8483 | installcheck-bash: \ | |
8484 | configure-bash | |
8485 | @[ -f ./bash/Makefile ] || exit 0; \ | |
b40e3958 L |
8486 | r=`${PWD_COMMAND}`; export r; \ |
8487 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8488 | $(SET_LIB_PATH) \ |
8489 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8490 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8491 | done; \ | |
8492 | echo "Doing installcheck in bash" ; \ | |
8493 | (cd bash && \ | |
8494 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8495 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8496 | "RANLIB=$${RANLIB}" \ | |
8497 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8498 | installcheck) \ | |
8499 | || exit 1 | |
8500 | ||
8501 | ||
8502 | .PHONY: maybe-installcheck-bfd installcheck-bfd | |
8503 | maybe-installcheck-bfd: | |
8504 | ||
8505 | installcheck-bfd: \ | |
8506 | configure-bfd | |
8507 | @[ -f ./bfd/Makefile ] || exit 0; \ | |
b40e3958 L |
8508 | r=`${PWD_COMMAND}`; export r; \ |
8509 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8510 | $(SET_LIB_PATH) \ |
8511 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8512 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8513 | done; \ | |
8514 | echo "Doing installcheck in bfd" ; \ | |
8515 | (cd bfd && \ | |
8516 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8517 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8518 | "RANLIB=$${RANLIB}" \ | |
8519 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8520 | installcheck) \ | |
8521 | || exit 1 | |
8522 | ||
8523 | ||
8524 | .PHONY: maybe-installcheck-opcodes installcheck-opcodes | |
8525 | maybe-installcheck-opcodes: | |
8526 | ||
8527 | installcheck-opcodes: \ | |
8528 | configure-opcodes | |
8529 | @[ -f ./opcodes/Makefile ] || exit 0; \ | |
b40e3958 L |
8530 | r=`${PWD_COMMAND}`; export r; \ |
8531 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8532 | $(SET_LIB_PATH) \ |
8533 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8534 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8535 | done; \ | |
8536 | echo "Doing installcheck in opcodes" ; \ | |
8537 | (cd opcodes && \ | |
8538 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8539 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8540 | "RANLIB=$${RANLIB}" \ | |
8541 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8542 | installcheck) \ | |
8543 | || exit 1 | |
8544 | ||
8545 | ||
8546 | .PHONY: maybe-installcheck-binutils installcheck-binutils | |
8547 | maybe-installcheck-binutils: | |
8548 | ||
8549 | installcheck-binutils: \ | |
8550 | configure-binutils | |
8551 | @[ -f ./binutils/Makefile ] || exit 0; \ | |
b40e3958 L |
8552 | r=`${PWD_COMMAND}`; export r; \ |
8553 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8554 | $(SET_LIB_PATH) \ |
8555 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8556 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8557 | done; \ | |
8558 | echo "Doing installcheck in binutils" ; \ | |
8559 | (cd binutils && \ | |
8560 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8561 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8562 | "RANLIB=$${RANLIB}" \ | |
8563 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8564 | installcheck) \ | |
8565 | || exit 1 | |
8566 | ||
8567 | ||
8568 | .PHONY: maybe-installcheck-bison installcheck-bison | |
8569 | maybe-installcheck-bison: | |
8570 | ||
8571 | installcheck-bison: \ | |
8572 | configure-bison | |
8573 | @[ -f ./bison/Makefile ] || exit 0; \ | |
b40e3958 L |
8574 | r=`${PWD_COMMAND}`; export r; \ |
8575 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8576 | $(SET_LIB_PATH) \ |
8577 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8578 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8579 | done; \ | |
8580 | echo "Doing installcheck in bison" ; \ | |
8581 | (cd bison && \ | |
8582 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8583 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8584 | "RANLIB=$${RANLIB}" \ | |
8585 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8586 | installcheck) \ | |
8587 | || exit 1 | |
8588 | ||
8589 | ||
8590 | .PHONY: maybe-installcheck-byacc installcheck-byacc | |
8591 | maybe-installcheck-byacc: | |
8592 | ||
8593 | installcheck-byacc: \ | |
8594 | configure-byacc | |
8595 | @[ -f ./byacc/Makefile ] || exit 0; \ | |
b40e3958 L |
8596 | r=`${PWD_COMMAND}`; export r; \ |
8597 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8598 | $(SET_LIB_PATH) \ |
8599 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8600 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8601 | done; \ | |
8602 | echo "Doing installcheck in byacc" ; \ | |
8603 | (cd byacc && \ | |
8604 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8605 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8606 | "RANLIB=$${RANLIB}" \ | |
8607 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8608 | installcheck) \ | |
8609 | || exit 1 | |
8610 | ||
8611 | ||
8612 | .PHONY: maybe-installcheck-bzip2 installcheck-bzip2 | |
8613 | maybe-installcheck-bzip2: | |
8614 | ||
8615 | installcheck-bzip2: \ | |
8616 | configure-bzip2 | |
8617 | @[ -f ./bzip2/Makefile ] || exit 0; \ | |
b40e3958 L |
8618 | r=`${PWD_COMMAND}`; export r; \ |
8619 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8620 | $(SET_LIB_PATH) \ |
8621 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8622 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8623 | done; \ | |
8624 | echo "Doing installcheck in bzip2" ; \ | |
8625 | (cd bzip2 && \ | |
8626 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8627 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8628 | "RANLIB=$${RANLIB}" \ | |
8629 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8630 | installcheck) \ | |
8631 | || exit 1 | |
8632 | ||
8633 | ||
8634 | .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu | |
8635 | maybe-installcheck-dejagnu: | |
8636 | ||
8637 | installcheck-dejagnu: \ | |
8638 | configure-dejagnu | |
8639 | @[ -f ./dejagnu/Makefile ] || exit 0; \ | |
b40e3958 L |
8640 | r=`${PWD_COMMAND}`; export r; \ |
8641 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8642 | $(SET_LIB_PATH) \ |
8643 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8644 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8645 | done; \ | |
8646 | echo "Doing installcheck in dejagnu" ; \ | |
8647 | (cd dejagnu && \ | |
8648 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8649 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8650 | "RANLIB=$${RANLIB}" \ | |
8651 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8652 | installcheck) \ | |
8653 | || exit 1 | |
8654 | ||
8655 | ||
8656 | .PHONY: maybe-installcheck-diff installcheck-diff | |
8657 | maybe-installcheck-diff: | |
8658 | ||
8659 | installcheck-diff: \ | |
8660 | configure-diff | |
8661 | @[ -f ./diff/Makefile ] || exit 0; \ | |
b40e3958 L |
8662 | r=`${PWD_COMMAND}`; export r; \ |
8663 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8664 | $(SET_LIB_PATH) \ |
8665 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8666 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8667 | done; \ | |
8668 | echo "Doing installcheck in diff" ; \ | |
8669 | (cd diff && \ | |
8670 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8671 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8672 | "RANLIB=$${RANLIB}" \ | |
8673 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8674 | installcheck) \ | |
8675 | || exit 1 | |
8676 | ||
8677 | ||
8678 | .PHONY: maybe-installcheck-dosutils installcheck-dosutils | |
8679 | maybe-installcheck-dosutils: | |
8680 | ||
8681 | installcheck-dosutils: \ | |
8682 | configure-dosutils | |
8683 | @[ -f ./dosutils/Makefile ] || exit 0; \ | |
b40e3958 L |
8684 | r=`${PWD_COMMAND}`; export r; \ |
8685 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8686 | $(SET_LIB_PATH) \ |
8687 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8688 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8689 | done; \ | |
8690 | echo "Doing installcheck in dosutils" ; \ | |
8691 | (cd dosutils && \ | |
8692 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8693 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8694 | "RANLIB=$${RANLIB}" \ | |
8695 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8696 | installcheck) \ | |
8697 | || exit 1 | |
8698 | ||
8699 | ||
8700 | .PHONY: maybe-installcheck-etc installcheck-etc | |
8701 | maybe-installcheck-etc: | |
8702 | ||
8703 | installcheck-etc: \ | |
8704 | configure-etc | |
8705 | @[ -f ./etc/Makefile ] || exit 0; \ | |
b40e3958 L |
8706 | r=`${PWD_COMMAND}`; export r; \ |
8707 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8708 | $(SET_LIB_PATH) \ |
8709 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8710 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8711 | done; \ | |
8712 | echo "Doing installcheck in etc" ; \ | |
8713 | (cd etc && \ | |
8714 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8715 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8716 | "RANLIB=$${RANLIB}" \ | |
8717 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8718 | installcheck) \ | |
8719 | || exit 1 | |
8720 | ||
8721 | ||
8722 | .PHONY: maybe-installcheck-fastjar installcheck-fastjar | |
8723 | maybe-installcheck-fastjar: | |
8724 | ||
8725 | installcheck-fastjar: \ | |
8726 | configure-fastjar | |
8727 | @[ -f ./fastjar/Makefile ] || exit 0; \ | |
b40e3958 L |
8728 | r=`${PWD_COMMAND}`; export r; \ |
8729 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8730 | $(SET_LIB_PATH) \ |
8731 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8732 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8733 | done; \ | |
8734 | echo "Doing installcheck in fastjar" ; \ | |
8735 | (cd fastjar && \ | |
8736 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8737 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8738 | "RANLIB=$${RANLIB}" \ | |
8739 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8740 | installcheck) \ | |
8741 | || exit 1 | |
8742 | ||
8743 | ||
8744 | .PHONY: maybe-installcheck-fileutils installcheck-fileutils | |
8745 | maybe-installcheck-fileutils: | |
8746 | ||
8747 | installcheck-fileutils: \ | |
8748 | configure-fileutils | |
8749 | @[ -f ./fileutils/Makefile ] || exit 0; \ | |
b40e3958 L |
8750 | r=`${PWD_COMMAND}`; export r; \ |
8751 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8752 | $(SET_LIB_PATH) \ |
8753 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8754 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8755 | done; \ | |
8756 | echo "Doing installcheck in fileutils" ; \ | |
8757 | (cd fileutils && \ | |
8758 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8759 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8760 | "RANLIB=$${RANLIB}" \ | |
8761 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8762 | installcheck) \ | |
8763 | || exit 1 | |
8764 | ||
8765 | ||
8766 | .PHONY: maybe-installcheck-findutils installcheck-findutils | |
8767 | maybe-installcheck-findutils: | |
8768 | ||
8769 | installcheck-findutils: \ | |
8770 | configure-findutils | |
8771 | @[ -f ./findutils/Makefile ] || exit 0; \ | |
b40e3958 L |
8772 | r=`${PWD_COMMAND}`; export r; \ |
8773 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8774 | $(SET_LIB_PATH) \ |
8775 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8776 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8777 | done; \ | |
8778 | echo "Doing installcheck in findutils" ; \ | |
8779 | (cd findutils && \ | |
8780 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8781 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8782 | "RANLIB=$${RANLIB}" \ | |
8783 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8784 | installcheck) \ | |
8785 | || exit 1 | |
8786 | ||
8787 | ||
8788 | .PHONY: maybe-installcheck-find installcheck-find | |
8789 | maybe-installcheck-find: | |
8790 | ||
8791 | installcheck-find: \ | |
8792 | configure-find | |
8793 | @[ -f ./find/Makefile ] || exit 0; \ | |
b40e3958 L |
8794 | r=`${PWD_COMMAND}`; export r; \ |
8795 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8796 | $(SET_LIB_PATH) \ |
8797 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8798 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8799 | done; \ | |
8800 | echo "Doing installcheck in find" ; \ | |
8801 | (cd find && \ | |
8802 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8803 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8804 | "RANLIB=$${RANLIB}" \ | |
8805 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8806 | installcheck) \ | |
8807 | || exit 1 | |
8808 | ||
8809 | ||
8810 | .PHONY: maybe-installcheck-flex installcheck-flex | |
8811 | maybe-installcheck-flex: | |
8812 | ||
8813 | installcheck-flex: \ | |
8814 | configure-flex | |
8815 | @[ -f ./flex/Makefile ] || exit 0; \ | |
b40e3958 L |
8816 | r=`${PWD_COMMAND}`; export r; \ |
8817 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8818 | $(SET_LIB_PATH) \ |
8819 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8820 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8821 | done; \ | |
8822 | echo "Doing installcheck in flex" ; \ | |
8823 | (cd flex && \ | |
8824 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8825 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8826 | "RANLIB=$${RANLIB}" \ | |
8827 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8828 | installcheck) \ | |
8829 | || exit 1 | |
8830 | ||
8831 | ||
8832 | .PHONY: maybe-installcheck-gas installcheck-gas | |
8833 | maybe-installcheck-gas: | |
8834 | ||
8835 | installcheck-gas: \ | |
8836 | configure-gas | |
8837 | @[ -f ./gas/Makefile ] || exit 0; \ | |
b40e3958 L |
8838 | r=`${PWD_COMMAND}`; export r; \ |
8839 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8840 | $(SET_LIB_PATH) \ |
8841 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8842 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8843 | done; \ | |
8844 | echo "Doing installcheck in gas" ; \ | |
8845 | (cd gas && \ | |
8846 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8847 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8848 | "RANLIB=$${RANLIB}" \ | |
8849 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8850 | installcheck) \ | |
8851 | || exit 1 | |
8852 | ||
8853 | ||
8854 | .PHONY: maybe-installcheck-gawk installcheck-gawk | |
8855 | maybe-installcheck-gawk: | |
8856 | ||
8857 | installcheck-gawk: \ | |
8858 | configure-gawk | |
8859 | @[ -f ./gawk/Makefile ] || exit 0; \ | |
b40e3958 L |
8860 | r=`${PWD_COMMAND}`; export r; \ |
8861 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8862 | $(SET_LIB_PATH) \ |
8863 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8864 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8865 | done; \ | |
8866 | echo "Doing installcheck in gawk" ; \ | |
8867 | (cd gawk && \ | |
8868 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8869 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8870 | "RANLIB=$${RANLIB}" \ | |
8871 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8872 | installcheck) \ | |
8873 | || exit 1 | |
8874 | ||
8875 | ||
8876 | .PHONY: maybe-installcheck-gettext installcheck-gettext | |
8877 | maybe-installcheck-gettext: | |
8878 | ||
8879 | installcheck-gettext: \ | |
8880 | configure-gettext | |
8881 | @[ -f ./gettext/Makefile ] || exit 0; \ | |
b40e3958 L |
8882 | r=`${PWD_COMMAND}`; export r; \ |
8883 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8884 | $(SET_LIB_PATH) \ |
8885 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8886 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8887 | done; \ | |
8888 | echo "Doing installcheck in gettext" ; \ | |
8889 | (cd gettext && \ | |
8890 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8891 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8892 | "RANLIB=$${RANLIB}" \ | |
8893 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8894 | installcheck) \ | |
8895 | || exit 1 | |
8896 | ||
8897 | ||
8898 | .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv | |
8899 | maybe-installcheck-gnuserv: | |
8900 | ||
8901 | installcheck-gnuserv: \ | |
8902 | configure-gnuserv | |
8903 | @[ -f ./gnuserv/Makefile ] || exit 0; \ | |
b40e3958 L |
8904 | r=`${PWD_COMMAND}`; export r; \ |
8905 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8906 | $(SET_LIB_PATH) \ |
8907 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8908 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8909 | done; \ | |
8910 | echo "Doing installcheck in gnuserv" ; \ | |
8911 | (cd gnuserv && \ | |
8912 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8913 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8914 | "RANLIB=$${RANLIB}" \ | |
8915 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8916 | installcheck) \ | |
8917 | || exit 1 | |
8918 | ||
8919 | ||
8920 | .PHONY: maybe-installcheck-gprof installcheck-gprof | |
8921 | maybe-installcheck-gprof: | |
8922 | ||
8923 | installcheck-gprof: \ | |
8924 | configure-gprof | |
8925 | @[ -f ./gprof/Makefile ] || exit 0; \ | |
b40e3958 L |
8926 | r=`${PWD_COMMAND}`; export r; \ |
8927 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8928 | $(SET_LIB_PATH) \ |
8929 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8930 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8931 | done; \ | |
8932 | echo "Doing installcheck in gprof" ; \ | |
8933 | (cd gprof && \ | |
8934 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8935 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8936 | "RANLIB=$${RANLIB}" \ | |
8937 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8938 | installcheck) \ | |
8939 | || exit 1 | |
8940 | ||
8941 | ||
8942 | .PHONY: maybe-installcheck-gzip installcheck-gzip | |
8943 | maybe-installcheck-gzip: | |
8944 | ||
8945 | installcheck-gzip: \ | |
8946 | configure-gzip | |
8947 | @[ -f ./gzip/Makefile ] || exit 0; \ | |
b40e3958 L |
8948 | r=`${PWD_COMMAND}`; export r; \ |
8949 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8950 | $(SET_LIB_PATH) \ |
8951 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8952 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8953 | done; \ | |
8954 | echo "Doing installcheck in gzip" ; \ | |
8955 | (cd gzip && \ | |
8956 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8957 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8958 | "RANLIB=$${RANLIB}" \ | |
8959 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8960 | installcheck) \ | |
8961 | || exit 1 | |
8962 | ||
8963 | ||
8964 | .PHONY: maybe-installcheck-hello installcheck-hello | |
8965 | maybe-installcheck-hello: | |
8966 | ||
8967 | installcheck-hello: \ | |
8968 | configure-hello | |
8969 | @[ -f ./hello/Makefile ] || exit 0; \ | |
b40e3958 L |
8970 | r=`${PWD_COMMAND}`; export r; \ |
8971 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8972 | $(SET_LIB_PATH) \ |
8973 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8974 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8975 | done; \ | |
8976 | echo "Doing installcheck in hello" ; \ | |
8977 | (cd hello && \ | |
8978 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8979 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8980 | "RANLIB=$${RANLIB}" \ | |
8981 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8982 | installcheck) \ | |
8983 | || exit 1 | |
8984 | ||
8985 | ||
8986 | .PHONY: maybe-installcheck-indent installcheck-indent | |
8987 | maybe-installcheck-indent: | |
8988 | ||
8989 | installcheck-indent: \ | |
8990 | configure-indent | |
8991 | @[ -f ./indent/Makefile ] || exit 0; \ | |
b40e3958 L |
8992 | r=`${PWD_COMMAND}`; export r; \ |
8993 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
8994 | $(SET_LIB_PATH) \ |
8995 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8996 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8997 | done; \ | |
8998 | echo "Doing installcheck in indent" ; \ | |
8999 | (cd indent && \ | |
9000 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9001 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9002 | "RANLIB=$${RANLIB}" \ | |
9003 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9004 | installcheck) \ | |
9005 | || exit 1 | |
9006 | ||
9007 | ||
9008 | .PHONY: maybe-installcheck-intl installcheck-intl | |
9009 | maybe-installcheck-intl: | |
9010 | ||
9011 | installcheck-intl: \ | |
9012 | configure-intl | |
9013 | @[ -f ./intl/Makefile ] || exit 0; \ | |
b40e3958 L |
9014 | r=`${PWD_COMMAND}`; export r; \ |
9015 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9016 | $(SET_LIB_PATH) \ |
9017 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9018 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9019 | done; \ | |
9020 | echo "Doing installcheck in intl" ; \ | |
9021 | (cd intl && \ | |
9022 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9023 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9024 | "RANLIB=$${RANLIB}" \ | |
9025 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9026 | installcheck) \ | |
9027 | || exit 1 | |
9028 | ||
9029 | ||
9030 | .PHONY: maybe-installcheck-tcl installcheck-tcl | |
9031 | maybe-installcheck-tcl: | |
9032 | ||
9033 | installcheck-tcl: \ | |
9034 | configure-tcl | |
9035 | @[ -f ./tcl/Makefile ] || exit 0; \ | |
b40e3958 L |
9036 | r=`${PWD_COMMAND}`; export r; \ |
9037 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9038 | $(SET_LIB_PATH) \ |
9039 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9040 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9041 | done; \ | |
9042 | echo "Doing installcheck in tcl" ; \ | |
9043 | (cd tcl && \ | |
9044 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9045 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9046 | "RANLIB=$${RANLIB}" \ | |
9047 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9048 | installcheck) \ | |
9049 | || exit 1 | |
9050 | ||
9051 | ||
9052 | .PHONY: maybe-installcheck-itcl installcheck-itcl | |
9053 | maybe-installcheck-itcl: | |
9054 | ||
9055 | installcheck-itcl: \ | |
9056 | configure-itcl | |
9057 | @[ -f ./itcl/Makefile ] || exit 0; \ | |
b40e3958 L |
9058 | r=`${PWD_COMMAND}`; export r; \ |
9059 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9060 | $(SET_LIB_PATH) \ |
9061 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9062 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9063 | done; \ | |
9064 | echo "Doing installcheck in itcl" ; \ | |
9065 | (cd itcl && \ | |
9066 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9067 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9068 | "RANLIB=$${RANLIB}" \ | |
9069 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9070 | installcheck) \ | |
9071 | || exit 1 | |
9072 | ||
9073 | ||
9074 | .PHONY: maybe-installcheck-ld installcheck-ld | |
9075 | maybe-installcheck-ld: | |
9076 | ||
9077 | installcheck-ld: \ | |
9078 | configure-ld | |
9079 | @[ -f ./ld/Makefile ] || exit 0; \ | |
b40e3958 L |
9080 | r=`${PWD_COMMAND}`; export r; \ |
9081 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9082 | $(SET_LIB_PATH) \ |
9083 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9084 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9085 | done; \ | |
9086 | echo "Doing installcheck in ld" ; \ | |
9087 | (cd ld && \ | |
9088 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9089 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9090 | "RANLIB=$${RANLIB}" \ | |
9091 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9092 | installcheck) \ | |
9093 | || exit 1 | |
9094 | ||
9095 | ||
9096 | .PHONY: maybe-installcheck-libgui installcheck-libgui | |
9097 | maybe-installcheck-libgui: | |
9098 | ||
9099 | installcheck-libgui: \ | |
9100 | configure-libgui | |
9101 | @[ -f ./libgui/Makefile ] || exit 0; \ | |
b40e3958 L |
9102 | r=`${PWD_COMMAND}`; export r; \ |
9103 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9104 | $(SET_LIB_PATH) \ |
9105 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9106 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9107 | done; \ | |
9108 | echo "Doing installcheck in libgui" ; \ | |
9109 | (cd libgui && \ | |
9110 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9111 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9112 | "RANLIB=$${RANLIB}" \ | |
9113 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9114 | installcheck) \ | |
9115 | || exit 1 | |
9116 | ||
9117 | ||
9118 | .PHONY: maybe-installcheck-libiberty installcheck-libiberty | |
9119 | maybe-installcheck-libiberty: | |
9120 | ||
9121 | installcheck-libiberty: \ | |
9122 | configure-libiberty | |
9123 | @[ -f ./libiberty/Makefile ] || exit 0; \ | |
b40e3958 L |
9124 | r=`${PWD_COMMAND}`; export r; \ |
9125 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9126 | $(SET_LIB_PATH) \ |
9127 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9128 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9129 | done; \ | |
9130 | echo "Doing installcheck in libiberty" ; \ | |
9131 | (cd libiberty && \ | |
9132 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9133 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9134 | "RANLIB=$${RANLIB}" \ | |
9135 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9136 | installcheck) \ | |
9137 | || exit 1 | |
9138 | ||
9139 | ||
9140 | .PHONY: maybe-installcheck-libtool installcheck-libtool | |
9141 | maybe-installcheck-libtool: | |
9142 | ||
9143 | installcheck-libtool: \ | |
9144 | configure-libtool | |
9145 | @[ -f ./libtool/Makefile ] || exit 0; \ | |
b40e3958 L |
9146 | r=`${PWD_COMMAND}`; export r; \ |
9147 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9148 | $(SET_LIB_PATH) \ |
9149 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9150 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9151 | done; \ | |
9152 | echo "Doing installcheck in libtool" ; \ | |
9153 | (cd libtool && \ | |
9154 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9155 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9156 | "RANLIB=$${RANLIB}" \ | |
9157 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9158 | installcheck) \ | |
9159 | || exit 1 | |
9160 | ||
9161 | ||
9162 | .PHONY: maybe-installcheck-m4 installcheck-m4 | |
9163 | maybe-installcheck-m4: | |
9164 | ||
9165 | installcheck-m4: \ | |
9166 | configure-m4 | |
9167 | @[ -f ./m4/Makefile ] || exit 0; \ | |
b40e3958 L |
9168 | r=`${PWD_COMMAND}`; export r; \ |
9169 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9170 | $(SET_LIB_PATH) \ |
9171 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9172 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9173 | done; \ | |
9174 | echo "Doing installcheck in m4" ; \ | |
9175 | (cd m4 && \ | |
9176 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9177 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9178 | "RANLIB=$${RANLIB}" \ | |
9179 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9180 | installcheck) \ | |
9181 | || exit 1 | |
9182 | ||
9183 | ||
9184 | .PHONY: maybe-installcheck-make installcheck-make | |
9185 | maybe-installcheck-make: | |
9186 | ||
9187 | installcheck-make: \ | |
9188 | configure-make | |
9189 | @[ -f ./make/Makefile ] || exit 0; \ | |
b40e3958 L |
9190 | r=`${PWD_COMMAND}`; export r; \ |
9191 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9192 | $(SET_LIB_PATH) \ |
9193 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9194 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9195 | done; \ | |
9196 | echo "Doing installcheck in make" ; \ | |
9197 | (cd make && \ | |
9198 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9199 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9200 | "RANLIB=$${RANLIB}" \ | |
9201 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9202 | installcheck) \ | |
9203 | || exit 1 | |
9204 | ||
9205 | ||
9206 | .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc | |
9207 | maybe-installcheck-mmalloc: | |
9208 | ||
9209 | installcheck-mmalloc: \ | |
9210 | configure-mmalloc | |
9211 | @[ -f ./mmalloc/Makefile ] || exit 0; \ | |
b40e3958 L |
9212 | r=`${PWD_COMMAND}`; export r; \ |
9213 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9214 | $(SET_LIB_PATH) \ |
9215 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9216 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9217 | done; \ | |
9218 | echo "Doing installcheck in mmalloc" ; \ | |
9219 | (cd mmalloc && \ | |
9220 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9221 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9222 | "RANLIB=$${RANLIB}" \ | |
9223 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9224 | installcheck) \ | |
9225 | || exit 1 | |
9226 | ||
9227 | ||
9228 | .PHONY: maybe-installcheck-patch installcheck-patch | |
9229 | maybe-installcheck-patch: | |
9230 | ||
9231 | installcheck-patch: \ | |
9232 | configure-patch | |
9233 | @[ -f ./patch/Makefile ] || exit 0; \ | |
b40e3958 L |
9234 | r=`${PWD_COMMAND}`; export r; \ |
9235 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9236 | $(SET_LIB_PATH) \ |
9237 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9238 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9239 | done; \ | |
9240 | echo "Doing installcheck in patch" ; \ | |
9241 | (cd patch && \ | |
9242 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9243 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9244 | "RANLIB=$${RANLIB}" \ | |
9245 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9246 | installcheck) \ | |
9247 | || exit 1 | |
9248 | ||
9249 | ||
9250 | .PHONY: maybe-installcheck-perl installcheck-perl | |
9251 | maybe-installcheck-perl: | |
9252 | ||
9253 | installcheck-perl: \ | |
9254 | configure-perl | |
9255 | @[ -f ./perl/Makefile ] || exit 0; \ | |
b40e3958 L |
9256 | r=`${PWD_COMMAND}`; export r; \ |
9257 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9258 | $(SET_LIB_PATH) \ |
9259 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9260 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9261 | done; \ | |
9262 | echo "Doing installcheck in perl" ; \ | |
9263 | (cd perl && \ | |
9264 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9265 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9266 | "RANLIB=$${RANLIB}" \ | |
9267 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9268 | installcheck) \ | |
9269 | || exit 1 | |
9270 | ||
9271 | ||
9272 | .PHONY: maybe-installcheck-prms installcheck-prms | |
9273 | maybe-installcheck-prms: | |
9274 | ||
9275 | installcheck-prms: \ | |
9276 | configure-prms | |
9277 | @[ -f ./prms/Makefile ] || exit 0; \ | |
b40e3958 L |
9278 | r=`${PWD_COMMAND}`; export r; \ |
9279 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9280 | $(SET_LIB_PATH) \ |
9281 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9282 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9283 | done; \ | |
9284 | echo "Doing installcheck in prms" ; \ | |
9285 | (cd prms && \ | |
9286 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9287 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9288 | "RANLIB=$${RANLIB}" \ | |
9289 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9290 | installcheck) \ | |
9291 | || exit 1 | |
9292 | ||
9293 | ||
9294 | .PHONY: maybe-installcheck-rcs installcheck-rcs | |
9295 | maybe-installcheck-rcs: | |
9296 | ||
9297 | installcheck-rcs: \ | |
9298 | configure-rcs | |
9299 | @[ -f ./rcs/Makefile ] || exit 0; \ | |
b40e3958 L |
9300 | r=`${PWD_COMMAND}`; export r; \ |
9301 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9302 | $(SET_LIB_PATH) \ |
9303 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9304 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9305 | done; \ | |
9306 | echo "Doing installcheck in rcs" ; \ | |
9307 | (cd rcs && \ | |
9308 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9309 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9310 | "RANLIB=$${RANLIB}" \ | |
9311 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9312 | installcheck) \ | |
9313 | || exit 1 | |
9314 | ||
9315 | ||
9316 | .PHONY: maybe-installcheck-readline installcheck-readline | |
9317 | maybe-installcheck-readline: | |
9318 | ||
9319 | installcheck-readline: \ | |
9320 | configure-readline | |
9321 | @[ -f ./readline/Makefile ] || exit 0; \ | |
b40e3958 L |
9322 | r=`${PWD_COMMAND}`; export r; \ |
9323 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9324 | $(SET_LIB_PATH) \ |
9325 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9326 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9327 | done; \ | |
9328 | echo "Doing installcheck in readline" ; \ | |
9329 | (cd readline && \ | |
9330 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9331 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9332 | "RANLIB=$${RANLIB}" \ | |
9333 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9334 | installcheck) \ | |
9335 | || exit 1 | |
9336 | ||
9337 | ||
9338 | .PHONY: maybe-installcheck-release installcheck-release | |
9339 | maybe-installcheck-release: | |
9340 | ||
9341 | installcheck-release: \ | |
9342 | configure-release | |
9343 | @[ -f ./release/Makefile ] || exit 0; \ | |
b40e3958 L |
9344 | r=`${PWD_COMMAND}`; export r; \ |
9345 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9346 | $(SET_LIB_PATH) \ |
9347 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9348 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9349 | done; \ | |
9350 | echo "Doing installcheck in release" ; \ | |
9351 | (cd release && \ | |
9352 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9353 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9354 | "RANLIB=$${RANLIB}" \ | |
9355 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9356 | installcheck) \ | |
9357 | || exit 1 | |
9358 | ||
9359 | ||
9360 | .PHONY: maybe-installcheck-recode installcheck-recode | |
9361 | maybe-installcheck-recode: | |
9362 | ||
9363 | installcheck-recode: \ | |
9364 | configure-recode | |
9365 | @[ -f ./recode/Makefile ] || exit 0; \ | |
b40e3958 L |
9366 | r=`${PWD_COMMAND}`; export r; \ |
9367 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9368 | $(SET_LIB_PATH) \ |
9369 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9370 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9371 | done; \ | |
9372 | echo "Doing installcheck in recode" ; \ | |
9373 | (cd recode && \ | |
9374 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9375 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9376 | "RANLIB=$${RANLIB}" \ | |
9377 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9378 | installcheck) \ | |
9379 | || exit 1 | |
9380 | ||
9381 | ||
9382 | .PHONY: maybe-installcheck-sed installcheck-sed | |
9383 | maybe-installcheck-sed: | |
9384 | ||
9385 | installcheck-sed: \ | |
9386 | configure-sed | |
9387 | @[ -f ./sed/Makefile ] || exit 0; \ | |
b40e3958 L |
9388 | r=`${PWD_COMMAND}`; export r; \ |
9389 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9390 | $(SET_LIB_PATH) \ |
9391 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9392 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9393 | done; \ | |
9394 | echo "Doing installcheck in sed" ; \ | |
9395 | (cd sed && \ | |
9396 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9397 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9398 | "RANLIB=$${RANLIB}" \ | |
9399 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9400 | installcheck) \ | |
9401 | || exit 1 | |
9402 | ||
9403 | ||
9404 | .PHONY: maybe-installcheck-send-pr installcheck-send-pr | |
9405 | maybe-installcheck-send-pr: | |
9406 | ||
9407 | installcheck-send-pr: \ | |
9408 | configure-send-pr | |
9409 | @[ -f ./send-pr/Makefile ] || exit 0; \ | |
b40e3958 L |
9410 | r=`${PWD_COMMAND}`; export r; \ |
9411 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9412 | $(SET_LIB_PATH) \ |
9413 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9414 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9415 | done; \ | |
9416 | echo "Doing installcheck in send-pr" ; \ | |
9417 | (cd send-pr && \ | |
9418 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9419 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9420 | "RANLIB=$${RANLIB}" \ | |
9421 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9422 | installcheck) \ | |
9423 | || exit 1 | |
9424 | ||
9425 | ||
9426 | .PHONY: maybe-installcheck-shellutils installcheck-shellutils | |
9427 | maybe-installcheck-shellutils: | |
9428 | ||
9429 | installcheck-shellutils: \ | |
9430 | configure-shellutils | |
9431 | @[ -f ./shellutils/Makefile ] || exit 0; \ | |
b40e3958 L |
9432 | r=`${PWD_COMMAND}`; export r; \ |
9433 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9434 | $(SET_LIB_PATH) \ |
9435 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9436 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9437 | done; \ | |
9438 | echo "Doing installcheck in shellutils" ; \ | |
9439 | (cd shellutils && \ | |
9440 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9441 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9442 | "RANLIB=$${RANLIB}" \ | |
9443 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9444 | installcheck) \ | |
9445 | || exit 1 | |
9446 | ||
9447 | ||
9448 | .PHONY: maybe-installcheck-sid installcheck-sid | |
9449 | maybe-installcheck-sid: | |
9450 | ||
9451 | installcheck-sid: \ | |
9452 | configure-sid | |
9453 | @[ -f ./sid/Makefile ] || exit 0; \ | |
b40e3958 L |
9454 | r=`${PWD_COMMAND}`; export r; \ |
9455 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9456 | $(SET_LIB_PATH) \ |
9457 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9458 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9459 | done; \ | |
9460 | echo "Doing installcheck in sid" ; \ | |
9461 | (cd sid && \ | |
9462 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9463 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9464 | "RANLIB=$${RANLIB}" \ | |
9465 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9466 | installcheck) \ | |
9467 | || exit 1 | |
9468 | ||
9469 | ||
9470 | .PHONY: maybe-installcheck-sim installcheck-sim | |
9471 | maybe-installcheck-sim: | |
9472 | ||
9473 | installcheck-sim: \ | |
9474 | configure-sim | |
9475 | @[ -f ./sim/Makefile ] || exit 0; \ | |
b40e3958 L |
9476 | r=`${PWD_COMMAND}`; export r; \ |
9477 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9478 | $(SET_LIB_PATH) \ |
9479 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9480 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9481 | done; \ | |
9482 | echo "Doing installcheck in sim" ; \ | |
9483 | (cd sim && \ | |
9484 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9485 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9486 | "RANLIB=$${RANLIB}" \ | |
9487 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9488 | installcheck) \ | |
9489 | || exit 1 | |
9490 | ||
9491 | ||
9492 | .PHONY: maybe-installcheck-tar installcheck-tar | |
9493 | maybe-installcheck-tar: | |
9494 | ||
9495 | installcheck-tar: \ | |
9496 | configure-tar | |
9497 | @[ -f ./tar/Makefile ] || exit 0; \ | |
b40e3958 L |
9498 | r=`${PWD_COMMAND}`; export r; \ |
9499 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9500 | $(SET_LIB_PATH) \ |
9501 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9502 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9503 | done; \ | |
9504 | echo "Doing installcheck in tar" ; \ | |
9505 | (cd tar && \ | |
9506 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9507 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9508 | "RANLIB=$${RANLIB}" \ | |
9509 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9510 | installcheck) \ | |
9511 | || exit 1 | |
9512 | ||
9513 | ||
9514 | .PHONY: maybe-installcheck-texinfo installcheck-texinfo | |
9515 | maybe-installcheck-texinfo: | |
9516 | ||
9517 | installcheck-texinfo: \ | |
9518 | configure-texinfo | |
9519 | @[ -f ./texinfo/Makefile ] || exit 0; \ | |
b40e3958 L |
9520 | r=`${PWD_COMMAND}`; export r; \ |
9521 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9522 | $(SET_LIB_PATH) \ |
9523 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9524 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9525 | done; \ | |
9526 | echo "Doing installcheck in texinfo" ; \ | |
9527 | (cd texinfo && \ | |
9528 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9529 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9530 | "RANLIB=$${RANLIB}" \ | |
9531 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9532 | installcheck) \ | |
9533 | || exit 1 | |
9534 | ||
9535 | ||
9536 | .PHONY: maybe-installcheck-textutils installcheck-textutils | |
9537 | maybe-installcheck-textutils: | |
9538 | ||
9539 | installcheck-textutils: \ | |
9540 | configure-textutils | |
9541 | @[ -f ./textutils/Makefile ] || exit 0; \ | |
b40e3958 L |
9542 | r=`${PWD_COMMAND}`; export r; \ |
9543 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9544 | $(SET_LIB_PATH) \ |
9545 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9546 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9547 | done; \ | |
9548 | echo "Doing installcheck in textutils" ; \ | |
9549 | (cd textutils && \ | |
9550 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9551 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9552 | "RANLIB=$${RANLIB}" \ | |
9553 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9554 | installcheck) \ | |
9555 | || exit 1 | |
9556 | ||
9557 | ||
9558 | .PHONY: maybe-installcheck-time installcheck-time | |
9559 | maybe-installcheck-time: | |
9560 | ||
9561 | installcheck-time: \ | |
9562 | configure-time | |
9563 | @[ -f ./time/Makefile ] || exit 0; \ | |
b40e3958 L |
9564 | r=`${PWD_COMMAND}`; export r; \ |
9565 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9566 | $(SET_LIB_PATH) \ |
9567 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9568 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9569 | done; \ | |
9570 | echo "Doing installcheck in time" ; \ | |
9571 | (cd time && \ | |
9572 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9573 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9574 | "RANLIB=$${RANLIB}" \ | |
9575 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9576 | installcheck) \ | |
9577 | || exit 1 | |
9578 | ||
9579 | ||
9580 | .PHONY: maybe-installcheck-uudecode installcheck-uudecode | |
9581 | maybe-installcheck-uudecode: | |
9582 | ||
9583 | installcheck-uudecode: \ | |
9584 | configure-uudecode | |
9585 | @[ -f ./uudecode/Makefile ] || exit 0; \ | |
b40e3958 L |
9586 | r=`${PWD_COMMAND}`; export r; \ |
9587 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9588 | $(SET_LIB_PATH) \ |
9589 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9590 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9591 | done; \ | |
9592 | echo "Doing installcheck in uudecode" ; \ | |
9593 | (cd uudecode && \ | |
9594 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9595 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9596 | "RANLIB=$${RANLIB}" \ | |
9597 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9598 | installcheck) \ | |
9599 | || exit 1 | |
9600 | ||
9601 | ||
9602 | .PHONY: maybe-installcheck-wdiff installcheck-wdiff | |
9603 | maybe-installcheck-wdiff: | |
9604 | ||
9605 | installcheck-wdiff: \ | |
9606 | configure-wdiff | |
9607 | @[ -f ./wdiff/Makefile ] || exit 0; \ | |
b40e3958 L |
9608 | r=`${PWD_COMMAND}`; export r; \ |
9609 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9610 | $(SET_LIB_PATH) \ |
9611 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9612 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9613 | done; \ | |
9614 | echo "Doing installcheck in wdiff" ; \ | |
9615 | (cd wdiff && \ | |
9616 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9617 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9618 | "RANLIB=$${RANLIB}" \ | |
9619 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9620 | installcheck) \ | |
9621 | || exit 1 | |
9622 | ||
9623 | ||
9624 | .PHONY: maybe-installcheck-zip installcheck-zip | |
9625 | maybe-installcheck-zip: | |
9626 | ||
9627 | installcheck-zip: \ | |
9628 | configure-zip | |
9629 | @[ -f ./zip/Makefile ] || exit 0; \ | |
b40e3958 L |
9630 | r=`${PWD_COMMAND}`; export r; \ |
9631 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9632 | $(SET_LIB_PATH) \ |
9633 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9634 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9635 | done; \ | |
9636 | echo "Doing installcheck in zip" ; \ | |
9637 | (cd zip && \ | |
9638 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9639 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9640 | "RANLIB=$${RANLIB}" \ | |
9641 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9642 | installcheck) \ | |
9643 | || exit 1 | |
9644 | ||
9645 | ||
9646 | .PHONY: maybe-installcheck-zlib installcheck-zlib | |
9647 | maybe-installcheck-zlib: | |
9648 | ||
9649 | installcheck-zlib: \ | |
9650 | configure-zlib | |
9651 | @[ -f ./zlib/Makefile ] || exit 0; \ | |
b40e3958 L |
9652 | r=`${PWD_COMMAND}`; export r; \ |
9653 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9654 | $(SET_LIB_PATH) \ |
9655 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9656 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9657 | done; \ | |
9658 | echo "Doing installcheck in zlib" ; \ | |
9659 | (cd zlib && \ | |
9660 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9661 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9662 | "RANLIB=$${RANLIB}" \ | |
9663 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9664 | installcheck) \ | |
9665 | || exit 1 | |
9666 | ||
9667 | ||
9668 | .PHONY: maybe-installcheck-gdb installcheck-gdb | |
9669 | maybe-installcheck-gdb: | |
9670 | ||
9671 | installcheck-gdb: \ | |
9672 | configure-gdb | |
9673 | @[ -f ./gdb/Makefile ] || exit 0; \ | |
b40e3958 L |
9674 | r=`${PWD_COMMAND}`; export r; \ |
9675 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9676 | $(SET_LIB_PATH) \ |
9677 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9678 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9679 | done; \ | |
9680 | echo "Doing installcheck in gdb" ; \ | |
9681 | (cd gdb && \ | |
9682 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9683 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9684 | "RANLIB=$${RANLIB}" \ | |
9685 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9686 | installcheck) \ | |
9687 | || exit 1 | |
9688 | ||
9689 | ||
9690 | .PHONY: maybe-installcheck-expect installcheck-expect | |
9691 | maybe-installcheck-expect: | |
9692 | ||
9693 | installcheck-expect: \ | |
9694 | configure-expect | |
9695 | @[ -f ./expect/Makefile ] || exit 0; \ | |
b40e3958 L |
9696 | r=`${PWD_COMMAND}`; export r; \ |
9697 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9698 | $(SET_LIB_PATH) \ |
9699 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9700 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9701 | done; \ | |
9702 | echo "Doing installcheck in expect" ; \ | |
9703 | (cd expect && \ | |
9704 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9705 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9706 | "RANLIB=$${RANLIB}" \ | |
9707 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9708 | installcheck) \ | |
9709 | || exit 1 | |
9710 | ||
9711 | ||
9712 | .PHONY: maybe-installcheck-guile installcheck-guile | |
9713 | maybe-installcheck-guile: | |
9714 | ||
9715 | installcheck-guile: \ | |
9716 | configure-guile | |
9717 | @[ -f ./guile/Makefile ] || exit 0; \ | |
b40e3958 L |
9718 | r=`${PWD_COMMAND}`; export r; \ |
9719 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9720 | $(SET_LIB_PATH) \ |
9721 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9722 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9723 | done; \ | |
9724 | echo "Doing installcheck in guile" ; \ | |
9725 | (cd guile && \ | |
9726 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9727 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9728 | "RANLIB=$${RANLIB}" \ | |
9729 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9730 | installcheck) \ | |
9731 | || exit 1 | |
9732 | ||
9733 | ||
9734 | .PHONY: maybe-installcheck-tk installcheck-tk | |
9735 | maybe-installcheck-tk: | |
9736 | ||
9737 | installcheck-tk: \ | |
9738 | configure-tk | |
9739 | @[ -f ./tk/Makefile ] || exit 0; \ | |
b40e3958 L |
9740 | r=`${PWD_COMMAND}`; export r; \ |
9741 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9742 | $(SET_LIB_PATH) \ |
9743 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9744 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9745 | done; \ | |
9746 | echo "Doing installcheck in tk" ; \ | |
9747 | (cd tk && \ | |
9748 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9749 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9750 | "RANLIB=$${RANLIB}" \ | |
9751 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9752 | installcheck) \ | |
9753 | || exit 1 | |
9754 | ||
9755 | ||
9756 | .PHONY: maybe-installcheck-tix installcheck-tix | |
9757 | maybe-installcheck-tix: | |
9758 | ||
9759 | installcheck-tix: \ | |
9760 | configure-tix | |
9761 | @[ -f ./tix/Makefile ] || exit 0; \ | |
b40e3958 L |
9762 | r=`${PWD_COMMAND}`; export r; \ |
9763 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9764 | $(SET_LIB_PATH) \ |
9765 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9766 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9767 | done; \ | |
9768 | echo "Doing installcheck in tix" ; \ | |
9769 | (cd tix && \ | |
9770 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9771 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9772 | "RANLIB=$${RANLIB}" \ | |
9773 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9774 | installcheck) \ | |
9775 | || exit 1 | |
9776 | ||
9777 | ||
9778 | .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap | |
9779 | maybe-installcheck-libtermcap: | |
9780 | ||
9781 | installcheck-libtermcap: \ | |
9782 | configure-libtermcap | |
9783 | @[ -f ./libtermcap/Makefile ] || exit 0; \ | |
b40e3958 L |
9784 | r=`${PWD_COMMAND}`; export r; \ |
9785 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9786 | $(SET_LIB_PATH) \ |
9787 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9788 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9789 | done; \ | |
9790 | echo "Doing installcheck in libtermcap" ; \ | |
9791 | (cd libtermcap && \ | |
9792 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9793 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9794 | "RANLIB=$${RANLIB}" \ | |
9795 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9796 | installcheck) \ | |
9797 | || exit 1 | |
9798 | ||
9799 | ||
9800 | .PHONY: maybe-installcheck-utils installcheck-utils | |
9801 | maybe-installcheck-utils: | |
9802 | ||
9803 | installcheck-utils: \ | |
9804 | configure-utils | |
9805 | @[ -f ./utils/Makefile ] || exit 0; \ | |
b40e3958 L |
9806 | r=`${PWD_COMMAND}`; export r; \ |
9807 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9808 | $(SET_LIB_PATH) \ |
9809 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9810 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9811 | done; \ | |
9812 | echo "Doing installcheck in utils" ; \ | |
9813 | (cd utils && \ | |
9814 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9815 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9816 | "RANLIB=$${RANLIB}" \ | |
9817 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9818 | installcheck) \ | |
9819 | || exit 1 | |
9820 | ||
9821 | ||
9822 | ||
9823 | # Target modules. | |
9824 | ||
9825 | .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3 | |
9826 | maybe-installcheck-target-libstdc++-v3: | |
9827 | ||
9828 | installcheck-target-libstdc++-v3: \ | |
9829 | configure-target-libstdc++-v3 | |
9830 | @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ | |
b40e3958 L |
9831 | r=`${PWD_COMMAND}`; export r; \ |
9832 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9833 | $(SET_LIB_PATH) \ |
9834 | echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \ | |
9835 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
9836 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9837 | done; \ | |
9838 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
9839 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9840 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9841 | "RANLIB=$${RANLIB}" \ | |
9842 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9843 | installcheck) \ | |
9844 | || exit 1 | |
9845 | ||
9846 | ||
9847 | .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib | |
9848 | maybe-installcheck-target-newlib: | |
9849 | ||
9850 | installcheck-target-newlib: \ | |
9851 | configure-target-newlib | |
9852 | @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
9853 | r=`${PWD_COMMAND}`; export r; \ |
9854 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9855 | $(SET_LIB_PATH) \ |
9856 | echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \ | |
9857 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
9858 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9859 | done; \ | |
9860 | (cd $(TARGET_SUBDIR)/newlib && \ | |
9861 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9862 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9863 | "RANLIB=$${RANLIB}" \ | |
9864 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9865 | installcheck) \ | |
9866 | || exit 1 | |
9867 | ||
9868 | ||
9869 | .PHONY: maybe-installcheck-target-libf2c installcheck-target-libf2c | |
9870 | maybe-installcheck-target-libf2c: | |
9871 | ||
9872 | installcheck-target-libf2c: \ | |
9873 | configure-target-libf2c | |
9874 | @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \ | |
b40e3958 L |
9875 | r=`${PWD_COMMAND}`; export r; \ |
9876 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9877 | $(SET_LIB_PATH) \ |
9878 | echo "Doing installcheck in $(TARGET_SUBDIR)/libf2c" ; \ | |
9879 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
9880 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9881 | done; \ | |
9882 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
9883 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9884 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9885 | "RANLIB=$${RANLIB}" \ | |
9886 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9887 | installcheck) \ | |
9888 | || exit 1 | |
9889 | ||
9890 | ||
9891 | .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc | |
9892 | maybe-installcheck-target-libobjc: | |
9893 | ||
9894 | installcheck-target-libobjc: \ | |
9895 | configure-target-libobjc | |
9896 | @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
9897 | r=`${PWD_COMMAND}`; export r; \ |
9898 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9899 | $(SET_LIB_PATH) \ |
9900 | echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \ | |
9901 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
9902 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9903 | done; \ | |
9904 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
9905 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9906 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9907 | "RANLIB=$${RANLIB}" \ | |
9908 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9909 | installcheck) \ | |
9910 | || exit 1 | |
9911 | ||
9912 | ||
9913 | .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap | |
9914 | maybe-installcheck-target-libtermcap: | |
9915 | ||
9916 | installcheck-target-libtermcap: \ | |
9917 | configure-target-libtermcap | |
9918 | @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ | |
b40e3958 L |
9919 | r=`${PWD_COMMAND}`; export r; \ |
9920 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9921 | $(SET_LIB_PATH) \ |
9922 | echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \ | |
9923 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
9924 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9925 | done; \ | |
9926 | (cd $(TARGET_SUBDIR)/libtermcap && \ | |
9927 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9928 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9929 | "RANLIB=$${RANLIB}" \ | |
9930 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9931 | installcheck) \ | |
9932 | || exit 1 | |
9933 | ||
9934 | ||
9935 | .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup | |
9936 | maybe-installcheck-target-winsup: | |
9937 | ||
9938 | installcheck-target-winsup: \ | |
9939 | configure-target-winsup | |
9940 | @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ | |
b40e3958 L |
9941 | r=`${PWD_COMMAND}`; export r; \ |
9942 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9943 | $(SET_LIB_PATH) \ |
9944 | echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \ | |
9945 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
9946 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9947 | done; \ | |
9948 | (cd $(TARGET_SUBDIR)/winsup && \ | |
9949 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9950 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9951 | "RANLIB=$${RANLIB}" \ | |
9952 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9953 | installcheck) \ | |
9954 | || exit 1 | |
9955 | ||
9956 | ||
9957 | .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss | |
9958 | maybe-installcheck-target-libgloss: | |
9959 | ||
9960 | installcheck-target-libgloss: \ | |
9961 | configure-target-libgloss | |
9962 | @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ | |
b40e3958 L |
9963 | r=`${PWD_COMMAND}`; export r; \ |
9964 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9965 | $(SET_LIB_PATH) \ |
9966 | echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \ | |
9967 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
9968 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9969 | done; \ | |
9970 | (cd $(TARGET_SUBDIR)/libgloss && \ | |
9971 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9972 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9973 | "RANLIB=$${RANLIB}" \ | |
9974 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9975 | installcheck) \ | |
9976 | || exit 1 | |
9977 | ||
9978 | ||
9979 | .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty | |
9980 | maybe-installcheck-target-libiberty: | |
9981 | ||
9982 | installcheck-target-libiberty: \ | |
9983 | configure-target-libiberty | |
9984 | @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ | |
b40e3958 L |
9985 | r=`${PWD_COMMAND}`; export r; \ |
9986 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
9987 | $(SET_LIB_PATH) \ |
9988 | echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \ | |
9989 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
9990 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9991 | done; \ | |
9992 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
9993 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9994 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9995 | "RANLIB=$${RANLIB}" \ | |
9996 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9997 | installcheck) \ | |
9998 | || exit 1 | |
9999 | ||
10000 | ||
10001 | .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf | |
10002 | maybe-installcheck-target-gperf: | |
10003 | ||
10004 | installcheck-target-gperf: \ | |
10005 | configure-target-gperf | |
10006 | @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ | |
b40e3958 L |
10007 | r=`${PWD_COMMAND}`; export r; \ |
10008 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10009 | $(SET_LIB_PATH) \ |
10010 | echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \ | |
10011 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
10012 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10013 | done; \ | |
10014 | (cd $(TARGET_SUBDIR)/gperf && \ | |
10015 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10016 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10017 | "RANLIB=$${RANLIB}" \ | |
10018 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10019 | installcheck) \ | |
10020 | || exit 1 | |
10021 | ||
10022 | ||
10023 | .PHONY: maybe-installcheck-target-examples installcheck-target-examples | |
10024 | maybe-installcheck-target-examples: | |
10025 | ||
10026 | installcheck-target-examples: \ | |
10027 | configure-target-examples | |
10028 | @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ | |
b40e3958 L |
10029 | r=`${PWD_COMMAND}`; export r; \ |
10030 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10031 | $(SET_LIB_PATH) \ |
10032 | echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \ | |
10033 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
10034 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10035 | done; \ | |
10036 | (cd $(TARGET_SUBDIR)/examples && \ | |
10037 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10038 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10039 | "RANLIB=$${RANLIB}" \ | |
10040 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10041 | installcheck) \ | |
10042 | || exit 1 | |
10043 | ||
10044 | ||
10045 | .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi | |
10046 | maybe-installcheck-target-libffi: | |
10047 | ||
10048 | installcheck-target-libffi: \ | |
10049 | configure-target-libffi | |
10050 | @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ | |
b40e3958 L |
10051 | r=`${PWD_COMMAND}`; export r; \ |
10052 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10053 | $(SET_LIB_PATH) \ |
10054 | echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \ | |
10055 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
10056 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10057 | done; \ | |
10058 | (cd $(TARGET_SUBDIR)/libffi && \ | |
10059 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10060 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10061 | "RANLIB=$${RANLIB}" \ | |
10062 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10063 | installcheck) \ | |
10064 | || exit 1 | |
10065 | ||
10066 | ||
10067 | .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava | |
10068 | maybe-installcheck-target-libjava: | |
10069 | ||
10070 | installcheck-target-libjava: \ | |
10071 | configure-target-libjava | |
10072 | @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ | |
b40e3958 L |
10073 | r=`${PWD_COMMAND}`; export r; \ |
10074 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10075 | $(SET_LIB_PATH) \ |
10076 | echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \ | |
10077 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
10078 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10079 | done; \ | |
10080 | (cd $(TARGET_SUBDIR)/libjava && \ | |
10081 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10082 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10083 | "RANLIB=$${RANLIB}" \ | |
10084 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10085 | installcheck) \ | |
10086 | || exit 1 | |
10087 | ||
10088 | ||
10089 | .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib | |
10090 | maybe-installcheck-target-zlib: | |
10091 | ||
10092 | installcheck-target-zlib: \ | |
10093 | configure-target-zlib | |
10094 | @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
10095 | r=`${PWD_COMMAND}`; export r; \ |
10096 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10097 | $(SET_LIB_PATH) \ |
10098 | echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \ | |
10099 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
10100 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10101 | done; \ | |
10102 | (cd $(TARGET_SUBDIR)/zlib && \ | |
10103 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10104 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10105 | "RANLIB=$${RANLIB}" \ | |
10106 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10107 | installcheck) \ | |
10108 | || exit 1 | |
10109 | ||
10110 | ||
10111 | .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc | |
10112 | maybe-installcheck-target-boehm-gc: | |
10113 | ||
10114 | installcheck-target-boehm-gc: \ | |
10115 | configure-target-boehm-gc | |
10116 | @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
10117 | r=`${PWD_COMMAND}`; export r; \ |
10118 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10119 | $(SET_LIB_PATH) \ |
10120 | echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \ | |
10121 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
10122 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10123 | done; \ | |
10124 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
10125 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10126 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10127 | "RANLIB=$${RANLIB}" \ | |
10128 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10129 | installcheck) \ | |
10130 | || exit 1 | |
10131 | ||
10132 | ||
10133 | .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads | |
10134 | maybe-installcheck-target-qthreads: | |
10135 | ||
10136 | installcheck-target-qthreads: \ | |
10137 | configure-target-qthreads | |
10138 | @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ | |
b40e3958 L |
10139 | r=`${PWD_COMMAND}`; export r; \ |
10140 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10141 | $(SET_LIB_PATH) \ |
10142 | echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \ | |
10143 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
10144 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10145 | done; \ | |
10146 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
10147 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10148 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10149 | "RANLIB=$${RANLIB}" \ | |
10150 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10151 | installcheck) \ | |
10152 | || exit 1 | |
10153 | ||
10154 | ||
10155 | .PHONY: maybe-installcheck-target-rda installcheck-target-rda | |
10156 | maybe-installcheck-target-rda: | |
10157 | ||
10158 | installcheck-target-rda: \ | |
10159 | configure-target-rda | |
10160 | @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ | |
b40e3958 L |
10161 | r=`${PWD_COMMAND}`; export r; \ |
10162 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10163 | $(SET_LIB_PATH) \ |
10164 | echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \ | |
10165 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
10166 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10167 | done; \ | |
10168 | (cd $(TARGET_SUBDIR)/rda && \ | |
10169 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10170 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10171 | "RANLIB=$${RANLIB}" \ | |
10172 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10173 | installcheck) \ | |
10174 | || exit 1 | |
10175 | ||
10176 | ||
10177 | ||
10178 | .PHONY: do-mostlyclean | |
10179 | do-mostlyclean: mostlyclean-host mostlyclean-target | |
10180 | ||
10181 | .PHONY: mostlyclean-host | |
10182 | mostlyclean-host: maybe-mostlyclean-gcc \ | |
10183 | maybe-mostlyclean-ash \ | |
10184 | maybe-mostlyclean-autoconf \ | |
10185 | maybe-mostlyclean-automake \ | |
10186 | maybe-mostlyclean-bash \ | |
10187 | maybe-mostlyclean-bfd \ | |
10188 | maybe-mostlyclean-opcodes \ | |
10189 | maybe-mostlyclean-binutils \ | |
10190 | maybe-mostlyclean-bison \ | |
10191 | maybe-mostlyclean-byacc \ | |
10192 | maybe-mostlyclean-bzip2 \ | |
10193 | maybe-mostlyclean-dejagnu \ | |
10194 | maybe-mostlyclean-diff \ | |
10195 | maybe-mostlyclean-dosutils \ | |
10196 | maybe-mostlyclean-etc \ | |
10197 | maybe-mostlyclean-fastjar \ | |
10198 | maybe-mostlyclean-fileutils \ | |
10199 | maybe-mostlyclean-findutils \ | |
10200 | maybe-mostlyclean-find \ | |
10201 | maybe-mostlyclean-flex \ | |
10202 | maybe-mostlyclean-gas \ | |
10203 | maybe-mostlyclean-gawk \ | |
10204 | maybe-mostlyclean-gettext \ | |
10205 | maybe-mostlyclean-gnuserv \ | |
10206 | maybe-mostlyclean-gprof \ | |
10207 | maybe-mostlyclean-gzip \ | |
10208 | maybe-mostlyclean-hello \ | |
10209 | maybe-mostlyclean-indent \ | |
10210 | maybe-mostlyclean-intl \ | |
10211 | maybe-mostlyclean-tcl \ | |
10212 | maybe-mostlyclean-itcl \ | |
10213 | maybe-mostlyclean-ld \ | |
10214 | maybe-mostlyclean-libgui \ | |
10215 | maybe-mostlyclean-libiberty \ | |
10216 | maybe-mostlyclean-libtool \ | |
10217 | maybe-mostlyclean-m4 \ | |
10218 | maybe-mostlyclean-make \ | |
10219 | maybe-mostlyclean-mmalloc \ | |
10220 | maybe-mostlyclean-patch \ | |
10221 | maybe-mostlyclean-perl \ | |
10222 | maybe-mostlyclean-prms \ | |
10223 | maybe-mostlyclean-rcs \ | |
10224 | maybe-mostlyclean-readline \ | |
10225 | maybe-mostlyclean-release \ | |
10226 | maybe-mostlyclean-recode \ | |
10227 | maybe-mostlyclean-sed \ | |
10228 | maybe-mostlyclean-send-pr \ | |
10229 | maybe-mostlyclean-shellutils \ | |
10230 | maybe-mostlyclean-sid \ | |
10231 | maybe-mostlyclean-sim \ | |
10232 | maybe-mostlyclean-tar \ | |
10233 | maybe-mostlyclean-texinfo \ | |
10234 | maybe-mostlyclean-textutils \ | |
10235 | maybe-mostlyclean-time \ | |
10236 | maybe-mostlyclean-uudecode \ | |
10237 | maybe-mostlyclean-wdiff \ | |
10238 | maybe-mostlyclean-zip \ | |
10239 | maybe-mostlyclean-zlib \ | |
10240 | maybe-mostlyclean-gdb \ | |
10241 | maybe-mostlyclean-expect \ | |
10242 | maybe-mostlyclean-guile \ | |
10243 | maybe-mostlyclean-tk \ | |
10244 | maybe-mostlyclean-tix \ | |
10245 | maybe-mostlyclean-libtermcap \ | |
10246 | maybe-mostlyclean-utils | |
10247 | ||
10248 | .PHONY: mostlyclean-target | |
10249 | mostlyclean-target: \ | |
10250 | maybe-mostlyclean-target-libstdc++-v3 \ | |
10251 | maybe-mostlyclean-target-newlib \ | |
10252 | maybe-mostlyclean-target-libf2c \ | |
10253 | maybe-mostlyclean-target-libobjc \ | |
10254 | maybe-mostlyclean-target-libtermcap \ | |
10255 | maybe-mostlyclean-target-winsup \ | |
10256 | maybe-mostlyclean-target-libgloss \ | |
10257 | maybe-mostlyclean-target-libiberty \ | |
10258 | maybe-mostlyclean-target-gperf \ | |
10259 | maybe-mostlyclean-target-examples \ | |
10260 | maybe-mostlyclean-target-libffi \ | |
10261 | maybe-mostlyclean-target-libjava \ | |
10262 | maybe-mostlyclean-target-zlib \ | |
10263 | maybe-mostlyclean-target-boehm-gc \ | |
10264 | maybe-mostlyclean-target-qthreads \ | |
10265 | maybe-mostlyclean-target-rda | |
10266 | ||
10267 | # GCC, the eternal special case | |
10268 | .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc | |
10269 | maybe-mostlyclean-gcc: | |
10270 | mostlyclean-gcc: | |
10271 | @[ -f ./gcc/Makefile ] || exit 0; \ | |
b40e3958 L |
10272 | r=`${PWD_COMMAND}`; export r; \ |
10273 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10274 | $(SET_LIB_PATH) \ |
10275 | for flag in $(EXTRA_GCC_FLAGS); do \ | |
10276 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10277 | done; \ | |
10278 | echo "Doing mostlyclean in gcc" ; \ | |
10279 | (cd gcc && \ | |
10280 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10281 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10282 | "RANLIB=$${RANLIB}" \ | |
10283 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10284 | mostlyclean) \ | |
10285 | || exit 1 | |
10286 | ||
10287 | # Host modules. | |
10288 | ||
10289 | .PHONY: maybe-mostlyclean-ash mostlyclean-ash | |
10290 | maybe-mostlyclean-ash: | |
10291 | ||
10292 | mostlyclean-ash: | |
10293 | @[ -f ./ash/Makefile ] || exit 0; \ | |
b40e3958 L |
10294 | r=`${PWD_COMMAND}`; export r; \ |
10295 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10296 | $(SET_LIB_PATH) \ |
10297 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10298 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10299 | done; \ | |
10300 | echo "Doing mostlyclean in ash" ; \ | |
10301 | (cd ash && \ | |
10302 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10303 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10304 | "RANLIB=$${RANLIB}" \ | |
10305 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10306 | mostlyclean) \ | |
10307 | || exit 1 | |
10308 | ||
10309 | ||
10310 | .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf | |
10311 | maybe-mostlyclean-autoconf: | |
10312 | ||
10313 | mostlyclean-autoconf: | |
10314 | @[ -f ./autoconf/Makefile ] || exit 0; \ | |
b40e3958 L |
10315 | r=`${PWD_COMMAND}`; export r; \ |
10316 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10317 | $(SET_LIB_PATH) \ |
10318 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10319 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10320 | done; \ | |
10321 | echo "Doing mostlyclean in autoconf" ; \ | |
10322 | (cd autoconf && \ | |
10323 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10324 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10325 | "RANLIB=$${RANLIB}" \ | |
10326 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10327 | mostlyclean) \ | |
10328 | || exit 1 | |
10329 | ||
10330 | ||
10331 | .PHONY: maybe-mostlyclean-automake mostlyclean-automake | |
10332 | maybe-mostlyclean-automake: | |
10333 | ||
10334 | mostlyclean-automake: | |
10335 | @[ -f ./automake/Makefile ] || exit 0; \ | |
b40e3958 L |
10336 | r=`${PWD_COMMAND}`; export r; \ |
10337 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10338 | $(SET_LIB_PATH) \ |
10339 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10340 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10341 | done; \ | |
10342 | echo "Doing mostlyclean in automake" ; \ | |
10343 | (cd automake && \ | |
10344 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10345 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10346 | "RANLIB=$${RANLIB}" \ | |
10347 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10348 | mostlyclean) \ | |
10349 | || exit 1 | |
10350 | ||
10351 | ||
10352 | .PHONY: maybe-mostlyclean-bash mostlyclean-bash | |
10353 | maybe-mostlyclean-bash: | |
10354 | ||
10355 | mostlyclean-bash: | |
10356 | @[ -f ./bash/Makefile ] || exit 0; \ | |
b40e3958 L |
10357 | r=`${PWD_COMMAND}`; export r; \ |
10358 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10359 | $(SET_LIB_PATH) \ |
10360 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10361 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10362 | done; \ | |
10363 | echo "Doing mostlyclean in bash" ; \ | |
10364 | (cd bash && \ | |
10365 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10366 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10367 | "RANLIB=$${RANLIB}" \ | |
10368 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10369 | mostlyclean) \ | |
10370 | || exit 1 | |
10371 | ||
10372 | ||
10373 | .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd | |
10374 | maybe-mostlyclean-bfd: | |
10375 | ||
10376 | mostlyclean-bfd: | |
10377 | @[ -f ./bfd/Makefile ] || exit 0; \ | |
b40e3958 L |
10378 | r=`${PWD_COMMAND}`; export r; \ |
10379 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10380 | $(SET_LIB_PATH) \ |
10381 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10382 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10383 | done; \ | |
10384 | echo "Doing mostlyclean in bfd" ; \ | |
10385 | (cd bfd && \ | |
10386 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10387 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10388 | "RANLIB=$${RANLIB}" \ | |
10389 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10390 | mostlyclean) \ | |
10391 | || exit 1 | |
10392 | ||
10393 | ||
10394 | .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes | |
10395 | maybe-mostlyclean-opcodes: | |
10396 | ||
10397 | mostlyclean-opcodes: | |
10398 | @[ -f ./opcodes/Makefile ] || exit 0; \ | |
b40e3958 L |
10399 | r=`${PWD_COMMAND}`; export r; \ |
10400 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10401 | $(SET_LIB_PATH) \ |
10402 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10403 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10404 | done; \ | |
10405 | echo "Doing mostlyclean in opcodes" ; \ | |
10406 | (cd opcodes && \ | |
10407 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10408 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10409 | "RANLIB=$${RANLIB}" \ | |
10410 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10411 | mostlyclean) \ | |
10412 | || exit 1 | |
10413 | ||
10414 | ||
10415 | .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils | |
10416 | maybe-mostlyclean-binutils: | |
10417 | ||
10418 | mostlyclean-binutils: | |
10419 | @[ -f ./binutils/Makefile ] || exit 0; \ | |
b40e3958 L |
10420 | r=`${PWD_COMMAND}`; export r; \ |
10421 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10422 | $(SET_LIB_PATH) \ |
10423 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10424 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10425 | done; \ | |
10426 | echo "Doing mostlyclean in binutils" ; \ | |
10427 | (cd binutils && \ | |
10428 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10429 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10430 | "RANLIB=$${RANLIB}" \ | |
10431 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10432 | mostlyclean) \ | |
10433 | || exit 1 | |
10434 | ||
10435 | ||
10436 | .PHONY: maybe-mostlyclean-bison mostlyclean-bison | |
10437 | maybe-mostlyclean-bison: | |
10438 | ||
10439 | mostlyclean-bison: | |
10440 | @[ -f ./bison/Makefile ] || exit 0; \ | |
b40e3958 L |
10441 | r=`${PWD_COMMAND}`; export r; \ |
10442 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10443 | $(SET_LIB_PATH) \ |
10444 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10445 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10446 | done; \ | |
10447 | echo "Doing mostlyclean in bison" ; \ | |
10448 | (cd bison && \ | |
10449 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10450 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10451 | "RANLIB=$${RANLIB}" \ | |
10452 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10453 | mostlyclean) \ | |
10454 | || exit 1 | |
10455 | ||
10456 | ||
10457 | .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc | |
10458 | maybe-mostlyclean-byacc: | |
10459 | ||
10460 | mostlyclean-byacc: | |
10461 | @[ -f ./byacc/Makefile ] || exit 0; \ | |
b40e3958 L |
10462 | r=`${PWD_COMMAND}`; export r; \ |
10463 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10464 | $(SET_LIB_PATH) \ |
10465 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10466 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10467 | done; \ | |
10468 | echo "Doing mostlyclean in byacc" ; \ | |
10469 | (cd byacc && \ | |
10470 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10471 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10472 | "RANLIB=$${RANLIB}" \ | |
10473 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10474 | mostlyclean) \ | |
10475 | || exit 1 | |
10476 | ||
10477 | ||
10478 | .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2 | |
10479 | maybe-mostlyclean-bzip2: | |
10480 | ||
10481 | mostlyclean-bzip2: | |
10482 | @[ -f ./bzip2/Makefile ] || exit 0; \ | |
b40e3958 L |
10483 | r=`${PWD_COMMAND}`; export r; \ |
10484 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10485 | $(SET_LIB_PATH) \ |
10486 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10487 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10488 | done; \ | |
10489 | echo "Doing mostlyclean in bzip2" ; \ | |
10490 | (cd bzip2 && \ | |
10491 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10492 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10493 | "RANLIB=$${RANLIB}" \ | |
10494 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10495 | mostlyclean) \ | |
10496 | || exit 1 | |
10497 | ||
10498 | ||
10499 | .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu | |
10500 | maybe-mostlyclean-dejagnu: | |
10501 | ||
10502 | mostlyclean-dejagnu: | |
10503 | @[ -f ./dejagnu/Makefile ] || exit 0; \ | |
b40e3958 L |
10504 | r=`${PWD_COMMAND}`; export r; \ |
10505 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10506 | $(SET_LIB_PATH) \ |
10507 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10508 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10509 | done; \ | |
10510 | echo "Doing mostlyclean in dejagnu" ; \ | |
10511 | (cd dejagnu && \ | |
10512 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10513 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10514 | "RANLIB=$${RANLIB}" \ | |
10515 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10516 | mostlyclean) \ | |
10517 | || exit 1 | |
10518 | ||
10519 | ||
10520 | .PHONY: maybe-mostlyclean-diff mostlyclean-diff | |
10521 | maybe-mostlyclean-diff: | |
10522 | ||
10523 | mostlyclean-diff: | |
10524 | @[ -f ./diff/Makefile ] || exit 0; \ | |
b40e3958 L |
10525 | r=`${PWD_COMMAND}`; export r; \ |
10526 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10527 | $(SET_LIB_PATH) \ |
10528 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10529 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10530 | done; \ | |
10531 | echo "Doing mostlyclean in diff" ; \ | |
10532 | (cd diff && \ | |
10533 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10534 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10535 | "RANLIB=$${RANLIB}" \ | |
10536 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10537 | mostlyclean) \ | |
10538 | || exit 1 | |
10539 | ||
10540 | ||
10541 | .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils | |
10542 | maybe-mostlyclean-dosutils: | |
10543 | ||
10544 | mostlyclean-dosutils: | |
10545 | @[ -f ./dosutils/Makefile ] || exit 0; \ | |
b40e3958 L |
10546 | r=`${PWD_COMMAND}`; export r; \ |
10547 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10548 | $(SET_LIB_PATH) \ |
10549 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10550 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10551 | done; \ | |
10552 | echo "Doing mostlyclean in dosutils" ; \ | |
10553 | (cd dosutils && \ | |
10554 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10555 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10556 | "RANLIB=$${RANLIB}" \ | |
10557 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10558 | mostlyclean) \ | |
10559 | || exit 1 | |
10560 | ||
10561 | ||
10562 | .PHONY: maybe-mostlyclean-etc mostlyclean-etc | |
10563 | maybe-mostlyclean-etc: | |
10564 | ||
10565 | mostlyclean-etc: | |
10566 | @[ -f ./etc/Makefile ] || exit 0; \ | |
b40e3958 L |
10567 | r=`${PWD_COMMAND}`; export r; \ |
10568 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10569 | $(SET_LIB_PATH) \ |
10570 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10571 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10572 | done; \ | |
10573 | echo "Doing mostlyclean in etc" ; \ | |
10574 | (cd etc && \ | |
10575 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10576 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10577 | "RANLIB=$${RANLIB}" \ | |
10578 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10579 | mostlyclean) \ | |
10580 | || exit 1 | |
10581 | ||
10582 | ||
10583 | .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar | |
10584 | maybe-mostlyclean-fastjar: | |
10585 | ||
10586 | mostlyclean-fastjar: | |
10587 | @[ -f ./fastjar/Makefile ] || exit 0; \ | |
b40e3958 L |
10588 | r=`${PWD_COMMAND}`; export r; \ |
10589 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10590 | $(SET_LIB_PATH) \ |
10591 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10592 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10593 | done; \ | |
10594 | echo "Doing mostlyclean in fastjar" ; \ | |
10595 | (cd fastjar && \ | |
10596 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10597 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10598 | "RANLIB=$${RANLIB}" \ | |
10599 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10600 | mostlyclean) \ | |
10601 | || exit 1 | |
10602 | ||
10603 | ||
10604 | .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils | |
10605 | maybe-mostlyclean-fileutils: | |
10606 | ||
10607 | mostlyclean-fileutils: | |
10608 | @[ -f ./fileutils/Makefile ] || exit 0; \ | |
b40e3958 L |
10609 | r=`${PWD_COMMAND}`; export r; \ |
10610 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10611 | $(SET_LIB_PATH) \ |
10612 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10613 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10614 | done; \ | |
10615 | echo "Doing mostlyclean in fileutils" ; \ | |
10616 | (cd fileutils && \ | |
10617 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10618 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10619 | "RANLIB=$${RANLIB}" \ | |
10620 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10621 | mostlyclean) \ | |
10622 | || exit 1 | |
10623 | ||
10624 | ||
10625 | .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils | |
10626 | maybe-mostlyclean-findutils: | |
10627 | ||
10628 | mostlyclean-findutils: | |
10629 | @[ -f ./findutils/Makefile ] || exit 0; \ | |
b40e3958 L |
10630 | r=`${PWD_COMMAND}`; export r; \ |
10631 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10632 | $(SET_LIB_PATH) \ |
10633 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10634 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10635 | done; \ | |
10636 | echo "Doing mostlyclean in findutils" ; \ | |
10637 | (cd findutils && \ | |
10638 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10639 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10640 | "RANLIB=$${RANLIB}" \ | |
10641 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10642 | mostlyclean) \ | |
10643 | || exit 1 | |
10644 | ||
10645 | ||
10646 | .PHONY: maybe-mostlyclean-find mostlyclean-find | |
10647 | maybe-mostlyclean-find: | |
10648 | ||
10649 | mostlyclean-find: | |
10650 | @[ -f ./find/Makefile ] || exit 0; \ | |
b40e3958 L |
10651 | r=`${PWD_COMMAND}`; export r; \ |
10652 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10653 | $(SET_LIB_PATH) \ |
10654 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10655 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10656 | done; \ | |
10657 | echo "Doing mostlyclean in find" ; \ | |
10658 | (cd find && \ | |
10659 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10660 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10661 | "RANLIB=$${RANLIB}" \ | |
10662 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10663 | mostlyclean) \ | |
10664 | || exit 1 | |
10665 | ||
10666 | ||
10667 | .PHONY: maybe-mostlyclean-flex mostlyclean-flex | |
10668 | maybe-mostlyclean-flex: | |
10669 | ||
10670 | mostlyclean-flex: | |
10671 | @[ -f ./flex/Makefile ] || exit 0; \ | |
b40e3958 L |
10672 | r=`${PWD_COMMAND}`; export r; \ |
10673 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10674 | $(SET_LIB_PATH) \ |
10675 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10676 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10677 | done; \ | |
10678 | echo "Doing mostlyclean in flex" ; \ | |
10679 | (cd flex && \ | |
10680 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10681 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10682 | "RANLIB=$${RANLIB}" \ | |
10683 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10684 | mostlyclean) \ | |
10685 | || exit 1 | |
10686 | ||
10687 | ||
10688 | .PHONY: maybe-mostlyclean-gas mostlyclean-gas | |
10689 | maybe-mostlyclean-gas: | |
10690 | ||
10691 | mostlyclean-gas: | |
10692 | @[ -f ./gas/Makefile ] || exit 0; \ | |
b40e3958 L |
10693 | r=`${PWD_COMMAND}`; export r; \ |
10694 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10695 | $(SET_LIB_PATH) \ |
10696 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10697 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10698 | done; \ | |
10699 | echo "Doing mostlyclean in gas" ; \ | |
10700 | (cd gas && \ | |
10701 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10702 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10703 | "RANLIB=$${RANLIB}" \ | |
10704 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10705 | mostlyclean) \ | |
10706 | || exit 1 | |
10707 | ||
10708 | ||
10709 | .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk | |
10710 | maybe-mostlyclean-gawk: | |
10711 | ||
10712 | mostlyclean-gawk: | |
10713 | @[ -f ./gawk/Makefile ] || exit 0; \ | |
b40e3958 L |
10714 | r=`${PWD_COMMAND}`; export r; \ |
10715 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10716 | $(SET_LIB_PATH) \ |
10717 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10718 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10719 | done; \ | |
10720 | echo "Doing mostlyclean in gawk" ; \ | |
10721 | (cd gawk && \ | |
10722 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10723 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10724 | "RANLIB=$${RANLIB}" \ | |
10725 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10726 | mostlyclean) \ | |
10727 | || exit 1 | |
10728 | ||
10729 | ||
10730 | .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext | |
10731 | maybe-mostlyclean-gettext: | |
10732 | ||
10733 | mostlyclean-gettext: | |
10734 | @[ -f ./gettext/Makefile ] || exit 0; \ | |
b40e3958 L |
10735 | r=`${PWD_COMMAND}`; export r; \ |
10736 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10737 | $(SET_LIB_PATH) \ |
10738 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10739 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10740 | done; \ | |
10741 | echo "Doing mostlyclean in gettext" ; \ | |
10742 | (cd gettext && \ | |
10743 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10744 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10745 | "RANLIB=$${RANLIB}" \ | |
10746 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10747 | mostlyclean) \ | |
10748 | || exit 1 | |
10749 | ||
10750 | ||
10751 | .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv | |
10752 | maybe-mostlyclean-gnuserv: | |
10753 | ||
10754 | mostlyclean-gnuserv: | |
10755 | @[ -f ./gnuserv/Makefile ] || exit 0; \ | |
b40e3958 L |
10756 | r=`${PWD_COMMAND}`; export r; \ |
10757 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10758 | $(SET_LIB_PATH) \ |
10759 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10760 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10761 | done; \ | |
10762 | echo "Doing mostlyclean in gnuserv" ; \ | |
10763 | (cd gnuserv && \ | |
10764 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10765 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10766 | "RANLIB=$${RANLIB}" \ | |
10767 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10768 | mostlyclean) \ | |
10769 | || exit 1 | |
10770 | ||
10771 | ||
10772 | .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof | |
10773 | maybe-mostlyclean-gprof: | |
10774 | ||
10775 | mostlyclean-gprof: | |
10776 | @[ -f ./gprof/Makefile ] || exit 0; \ | |
b40e3958 L |
10777 | r=`${PWD_COMMAND}`; export r; \ |
10778 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10779 | $(SET_LIB_PATH) \ |
10780 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10781 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10782 | done; \ | |
10783 | echo "Doing mostlyclean in gprof" ; \ | |
10784 | (cd gprof && \ | |
10785 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10786 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10787 | "RANLIB=$${RANLIB}" \ | |
10788 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10789 | mostlyclean) \ | |
10790 | || exit 1 | |
10791 | ||
10792 | ||
10793 | .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip | |
10794 | maybe-mostlyclean-gzip: | |
10795 | ||
10796 | mostlyclean-gzip: | |
10797 | @[ -f ./gzip/Makefile ] || exit 0; \ | |
b40e3958 L |
10798 | r=`${PWD_COMMAND}`; export r; \ |
10799 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10800 | $(SET_LIB_PATH) \ |
10801 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10802 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10803 | done; \ | |
10804 | echo "Doing mostlyclean in gzip" ; \ | |
10805 | (cd gzip && \ | |
10806 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10807 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10808 | "RANLIB=$${RANLIB}" \ | |
10809 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10810 | mostlyclean) \ | |
10811 | || exit 1 | |
10812 | ||
10813 | ||
10814 | .PHONY: maybe-mostlyclean-hello mostlyclean-hello | |
10815 | maybe-mostlyclean-hello: | |
10816 | ||
10817 | mostlyclean-hello: | |
10818 | @[ -f ./hello/Makefile ] || exit 0; \ | |
b40e3958 L |
10819 | r=`${PWD_COMMAND}`; export r; \ |
10820 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10821 | $(SET_LIB_PATH) \ |
10822 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10823 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10824 | done; \ | |
10825 | echo "Doing mostlyclean in hello" ; \ | |
10826 | (cd hello && \ | |
10827 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10828 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10829 | "RANLIB=$${RANLIB}" \ | |
10830 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10831 | mostlyclean) \ | |
10832 | || exit 1 | |
10833 | ||
10834 | ||
10835 | .PHONY: maybe-mostlyclean-indent mostlyclean-indent | |
10836 | maybe-mostlyclean-indent: | |
10837 | ||
10838 | mostlyclean-indent: | |
10839 | @[ -f ./indent/Makefile ] || exit 0; \ | |
b40e3958 L |
10840 | r=`${PWD_COMMAND}`; export r; \ |
10841 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10842 | $(SET_LIB_PATH) \ |
10843 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10844 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10845 | done; \ | |
10846 | echo "Doing mostlyclean in indent" ; \ | |
10847 | (cd indent && \ | |
10848 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10849 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10850 | "RANLIB=$${RANLIB}" \ | |
10851 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10852 | mostlyclean) \ | |
10853 | || exit 1 | |
10854 | ||
10855 | ||
10856 | .PHONY: maybe-mostlyclean-intl mostlyclean-intl | |
10857 | maybe-mostlyclean-intl: | |
10858 | ||
10859 | mostlyclean-intl: | |
10860 | @[ -f ./intl/Makefile ] || exit 0; \ | |
b40e3958 L |
10861 | r=`${PWD_COMMAND}`; export r; \ |
10862 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10863 | $(SET_LIB_PATH) \ |
10864 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10865 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10866 | done; \ | |
10867 | echo "Doing mostlyclean in intl" ; \ | |
10868 | (cd intl && \ | |
10869 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10870 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10871 | "RANLIB=$${RANLIB}" \ | |
10872 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10873 | mostlyclean) \ | |
10874 | || exit 1 | |
10875 | ||
10876 | ||
10877 | .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl | |
10878 | maybe-mostlyclean-tcl: | |
10879 | ||
10880 | # tcl doesn't support mostlyclean. | |
10881 | mostlyclean-tcl: | |
10882 | ||
10883 | ||
10884 | .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl | |
10885 | maybe-mostlyclean-itcl: | |
10886 | ||
10887 | mostlyclean-itcl: | |
10888 | @[ -f ./itcl/Makefile ] || exit 0; \ | |
b40e3958 L |
10889 | r=`${PWD_COMMAND}`; export r; \ |
10890 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10891 | $(SET_LIB_PATH) \ |
10892 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10893 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10894 | done; \ | |
10895 | echo "Doing mostlyclean in itcl" ; \ | |
10896 | (cd itcl && \ | |
10897 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10898 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10899 | "RANLIB=$${RANLIB}" \ | |
10900 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10901 | mostlyclean) \ | |
10902 | || exit 1 | |
10903 | ||
10904 | ||
10905 | .PHONY: maybe-mostlyclean-ld mostlyclean-ld | |
10906 | maybe-mostlyclean-ld: | |
10907 | ||
10908 | mostlyclean-ld: | |
10909 | @[ -f ./ld/Makefile ] || exit 0; \ | |
b40e3958 L |
10910 | r=`${PWD_COMMAND}`; export r; \ |
10911 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10912 | $(SET_LIB_PATH) \ |
10913 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10914 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10915 | done; \ | |
10916 | echo "Doing mostlyclean in ld" ; \ | |
10917 | (cd ld && \ | |
10918 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10919 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10920 | "RANLIB=$${RANLIB}" \ | |
10921 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10922 | mostlyclean) \ | |
10923 | || exit 1 | |
10924 | ||
10925 | ||
10926 | .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui | |
10927 | maybe-mostlyclean-libgui: | |
10928 | ||
10929 | mostlyclean-libgui: | |
10930 | @[ -f ./libgui/Makefile ] || exit 0; \ | |
b40e3958 L |
10931 | r=`${PWD_COMMAND}`; export r; \ |
10932 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10933 | $(SET_LIB_PATH) \ |
10934 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10935 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10936 | done; \ | |
10937 | echo "Doing mostlyclean in libgui" ; \ | |
10938 | (cd libgui && \ | |
10939 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10940 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10941 | "RANLIB=$${RANLIB}" \ | |
10942 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10943 | mostlyclean) \ | |
10944 | || exit 1 | |
10945 | ||
10946 | ||
10947 | .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty | |
10948 | maybe-mostlyclean-libiberty: | |
10949 | ||
10950 | mostlyclean-libiberty: | |
10951 | @[ -f ./libiberty/Makefile ] || exit 0; \ | |
b40e3958 L |
10952 | r=`${PWD_COMMAND}`; export r; \ |
10953 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10954 | $(SET_LIB_PATH) \ |
10955 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10956 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10957 | done; \ | |
10958 | echo "Doing mostlyclean in libiberty" ; \ | |
10959 | (cd libiberty && \ | |
10960 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10961 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10962 | "RANLIB=$${RANLIB}" \ | |
10963 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10964 | mostlyclean) \ | |
10965 | || exit 1 | |
10966 | ||
10967 | ||
10968 | .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool | |
10969 | maybe-mostlyclean-libtool: | |
10970 | ||
10971 | mostlyclean-libtool: | |
10972 | @[ -f ./libtool/Makefile ] || exit 0; \ | |
b40e3958 L |
10973 | r=`${PWD_COMMAND}`; export r; \ |
10974 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10975 | $(SET_LIB_PATH) \ |
10976 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10977 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10978 | done; \ | |
10979 | echo "Doing mostlyclean in libtool" ; \ | |
10980 | (cd libtool && \ | |
10981 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10982 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10983 | "RANLIB=$${RANLIB}" \ | |
10984 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10985 | mostlyclean) \ | |
10986 | || exit 1 | |
10987 | ||
10988 | ||
10989 | .PHONY: maybe-mostlyclean-m4 mostlyclean-m4 | |
10990 | maybe-mostlyclean-m4: | |
10991 | ||
10992 | mostlyclean-m4: | |
10993 | @[ -f ./m4/Makefile ] || exit 0; \ | |
b40e3958 L |
10994 | r=`${PWD_COMMAND}`; export r; \ |
10995 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
10996 | $(SET_LIB_PATH) \ |
10997 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10998 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10999 | done; \ | |
11000 | echo "Doing mostlyclean in m4" ; \ | |
11001 | (cd m4 && \ | |
11002 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11003 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11004 | "RANLIB=$${RANLIB}" \ | |
11005 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11006 | mostlyclean) \ | |
11007 | || exit 1 | |
11008 | ||
11009 | ||
11010 | .PHONY: maybe-mostlyclean-make mostlyclean-make | |
11011 | maybe-mostlyclean-make: | |
11012 | ||
11013 | mostlyclean-make: | |
11014 | @[ -f ./make/Makefile ] || exit 0; \ | |
b40e3958 L |
11015 | r=`${PWD_COMMAND}`; export r; \ |
11016 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11017 | $(SET_LIB_PATH) \ |
11018 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11019 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11020 | done; \ | |
11021 | echo "Doing mostlyclean in make" ; \ | |
11022 | (cd make && \ | |
11023 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11024 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11025 | "RANLIB=$${RANLIB}" \ | |
11026 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11027 | mostlyclean) \ | |
11028 | || exit 1 | |
11029 | ||
11030 | ||
11031 | .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc | |
11032 | maybe-mostlyclean-mmalloc: | |
11033 | ||
11034 | mostlyclean-mmalloc: | |
11035 | @[ -f ./mmalloc/Makefile ] || exit 0; \ | |
b40e3958 L |
11036 | r=`${PWD_COMMAND}`; export r; \ |
11037 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11038 | $(SET_LIB_PATH) \ |
11039 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11040 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11041 | done; \ | |
11042 | echo "Doing mostlyclean in mmalloc" ; \ | |
11043 | (cd mmalloc && \ | |
11044 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11045 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11046 | "RANLIB=$${RANLIB}" \ | |
11047 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11048 | mostlyclean) \ | |
11049 | || exit 1 | |
11050 | ||
11051 | ||
11052 | .PHONY: maybe-mostlyclean-patch mostlyclean-patch | |
11053 | maybe-mostlyclean-patch: | |
11054 | ||
11055 | mostlyclean-patch: | |
11056 | @[ -f ./patch/Makefile ] || exit 0; \ | |
b40e3958 L |
11057 | r=`${PWD_COMMAND}`; export r; \ |
11058 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11059 | $(SET_LIB_PATH) \ |
11060 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11061 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11062 | done; \ | |
11063 | echo "Doing mostlyclean in patch" ; \ | |
11064 | (cd patch && \ | |
11065 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11066 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11067 | "RANLIB=$${RANLIB}" \ | |
11068 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11069 | mostlyclean) \ | |
11070 | || exit 1 | |
11071 | ||
11072 | ||
11073 | .PHONY: maybe-mostlyclean-perl mostlyclean-perl | |
11074 | maybe-mostlyclean-perl: | |
11075 | ||
11076 | mostlyclean-perl: | |
11077 | @[ -f ./perl/Makefile ] || exit 0; \ | |
b40e3958 L |
11078 | r=`${PWD_COMMAND}`; export r; \ |
11079 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11080 | $(SET_LIB_PATH) \ |
11081 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11082 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11083 | done; \ | |
11084 | echo "Doing mostlyclean in perl" ; \ | |
11085 | (cd perl && \ | |
11086 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11087 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11088 | "RANLIB=$${RANLIB}" \ | |
11089 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11090 | mostlyclean) \ | |
11091 | || exit 1 | |
11092 | ||
11093 | ||
11094 | .PHONY: maybe-mostlyclean-prms mostlyclean-prms | |
11095 | maybe-mostlyclean-prms: | |
11096 | ||
11097 | mostlyclean-prms: | |
11098 | @[ -f ./prms/Makefile ] || exit 0; \ | |
b40e3958 L |
11099 | r=`${PWD_COMMAND}`; export r; \ |
11100 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11101 | $(SET_LIB_PATH) \ |
11102 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11103 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11104 | done; \ | |
11105 | echo "Doing mostlyclean in prms" ; \ | |
11106 | (cd prms && \ | |
11107 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11108 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11109 | "RANLIB=$${RANLIB}" \ | |
11110 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11111 | mostlyclean) \ | |
11112 | || exit 1 | |
11113 | ||
11114 | ||
11115 | .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs | |
11116 | maybe-mostlyclean-rcs: | |
11117 | ||
11118 | mostlyclean-rcs: | |
11119 | @[ -f ./rcs/Makefile ] || exit 0; \ | |
b40e3958 L |
11120 | r=`${PWD_COMMAND}`; export r; \ |
11121 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11122 | $(SET_LIB_PATH) \ |
11123 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11124 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11125 | done; \ | |
11126 | echo "Doing mostlyclean in rcs" ; \ | |
11127 | (cd rcs && \ | |
11128 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11129 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11130 | "RANLIB=$${RANLIB}" \ | |
11131 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11132 | mostlyclean) \ | |
11133 | || exit 1 | |
11134 | ||
11135 | ||
11136 | .PHONY: maybe-mostlyclean-readline mostlyclean-readline | |
11137 | maybe-mostlyclean-readline: | |
11138 | ||
11139 | mostlyclean-readline: | |
11140 | @[ -f ./readline/Makefile ] || exit 0; \ | |
b40e3958 L |
11141 | r=`${PWD_COMMAND}`; export r; \ |
11142 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11143 | $(SET_LIB_PATH) \ |
11144 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11145 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11146 | done; \ | |
11147 | echo "Doing mostlyclean in readline" ; \ | |
11148 | (cd readline && \ | |
11149 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11150 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11151 | "RANLIB=$${RANLIB}" \ | |
11152 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11153 | mostlyclean) \ | |
11154 | || exit 1 | |
11155 | ||
11156 | ||
11157 | .PHONY: maybe-mostlyclean-release mostlyclean-release | |
11158 | maybe-mostlyclean-release: | |
11159 | ||
11160 | mostlyclean-release: | |
11161 | @[ -f ./release/Makefile ] || exit 0; \ | |
b40e3958 L |
11162 | r=`${PWD_COMMAND}`; export r; \ |
11163 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11164 | $(SET_LIB_PATH) \ |
11165 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11166 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11167 | done; \ | |
11168 | echo "Doing mostlyclean in release" ; \ | |
11169 | (cd release && \ | |
11170 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11171 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11172 | "RANLIB=$${RANLIB}" \ | |
11173 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11174 | mostlyclean) \ | |
11175 | || exit 1 | |
11176 | ||
11177 | ||
11178 | .PHONY: maybe-mostlyclean-recode mostlyclean-recode | |
11179 | maybe-mostlyclean-recode: | |
11180 | ||
11181 | mostlyclean-recode: | |
11182 | @[ -f ./recode/Makefile ] || exit 0; \ | |
b40e3958 L |
11183 | r=`${PWD_COMMAND}`; export r; \ |
11184 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11185 | $(SET_LIB_PATH) \ |
11186 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11187 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11188 | done; \ | |
11189 | echo "Doing mostlyclean in recode" ; \ | |
11190 | (cd recode && \ | |
11191 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11192 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11193 | "RANLIB=$${RANLIB}" \ | |
11194 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11195 | mostlyclean) \ | |
11196 | || exit 1 | |
11197 | ||
11198 | ||
11199 | .PHONY: maybe-mostlyclean-sed mostlyclean-sed | |
11200 | maybe-mostlyclean-sed: | |
11201 | ||
11202 | mostlyclean-sed: | |
11203 | @[ -f ./sed/Makefile ] || exit 0; \ | |
b40e3958 L |
11204 | r=`${PWD_COMMAND}`; export r; \ |
11205 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11206 | $(SET_LIB_PATH) \ |
11207 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11208 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11209 | done; \ | |
11210 | echo "Doing mostlyclean in sed" ; \ | |
11211 | (cd sed && \ | |
11212 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11213 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11214 | "RANLIB=$${RANLIB}" \ | |
11215 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11216 | mostlyclean) \ | |
11217 | || exit 1 | |
11218 | ||
11219 | ||
11220 | .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr | |
11221 | maybe-mostlyclean-send-pr: | |
11222 | ||
11223 | mostlyclean-send-pr: | |
11224 | @[ -f ./send-pr/Makefile ] || exit 0; \ | |
b40e3958 L |
11225 | r=`${PWD_COMMAND}`; export r; \ |
11226 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11227 | $(SET_LIB_PATH) \ |
11228 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11229 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11230 | done; \ | |
11231 | echo "Doing mostlyclean in send-pr" ; \ | |
11232 | (cd send-pr && \ | |
11233 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11234 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11235 | "RANLIB=$${RANLIB}" \ | |
11236 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11237 | mostlyclean) \ | |
11238 | || exit 1 | |
11239 | ||
11240 | ||
11241 | .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils | |
11242 | maybe-mostlyclean-shellutils: | |
11243 | ||
11244 | mostlyclean-shellutils: | |
11245 | @[ -f ./shellutils/Makefile ] || exit 0; \ | |
b40e3958 L |
11246 | r=`${PWD_COMMAND}`; export r; \ |
11247 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11248 | $(SET_LIB_PATH) \ |
11249 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11250 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11251 | done; \ | |
11252 | echo "Doing mostlyclean in shellutils" ; \ | |
11253 | (cd shellutils && \ | |
11254 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11255 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11256 | "RANLIB=$${RANLIB}" \ | |
11257 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11258 | mostlyclean) \ | |
11259 | || exit 1 | |
11260 | ||
11261 | ||
11262 | .PHONY: maybe-mostlyclean-sid mostlyclean-sid | |
11263 | maybe-mostlyclean-sid: | |
11264 | ||
11265 | mostlyclean-sid: | |
11266 | @[ -f ./sid/Makefile ] || exit 0; \ | |
b40e3958 L |
11267 | r=`${PWD_COMMAND}`; export r; \ |
11268 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11269 | $(SET_LIB_PATH) \ |
11270 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11271 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11272 | done; \ | |
11273 | echo "Doing mostlyclean in sid" ; \ | |
11274 | (cd sid && \ | |
11275 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11276 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11277 | "RANLIB=$${RANLIB}" \ | |
11278 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11279 | mostlyclean) \ | |
11280 | || exit 1 | |
11281 | ||
11282 | ||
11283 | .PHONY: maybe-mostlyclean-sim mostlyclean-sim | |
11284 | maybe-mostlyclean-sim: | |
11285 | ||
11286 | mostlyclean-sim: | |
11287 | @[ -f ./sim/Makefile ] || exit 0; \ | |
b40e3958 L |
11288 | r=`${PWD_COMMAND}`; export r; \ |
11289 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11290 | $(SET_LIB_PATH) \ |
11291 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11292 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11293 | done; \ | |
11294 | echo "Doing mostlyclean in sim" ; \ | |
11295 | (cd sim && \ | |
11296 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11297 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11298 | "RANLIB=$${RANLIB}" \ | |
11299 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11300 | mostlyclean) \ | |
11301 | || exit 1 | |
11302 | ||
11303 | ||
11304 | .PHONY: maybe-mostlyclean-tar mostlyclean-tar | |
11305 | maybe-mostlyclean-tar: | |
11306 | ||
11307 | mostlyclean-tar: | |
11308 | @[ -f ./tar/Makefile ] || exit 0; \ | |
b40e3958 L |
11309 | r=`${PWD_COMMAND}`; export r; \ |
11310 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11311 | $(SET_LIB_PATH) \ |
11312 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11313 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11314 | done; \ | |
11315 | echo "Doing mostlyclean in tar" ; \ | |
11316 | (cd tar && \ | |
11317 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11318 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11319 | "RANLIB=$${RANLIB}" \ | |
11320 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11321 | mostlyclean) \ | |
11322 | || exit 1 | |
11323 | ||
11324 | ||
11325 | .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo | |
11326 | maybe-mostlyclean-texinfo: | |
11327 | ||
11328 | mostlyclean-texinfo: | |
11329 | @[ -f ./texinfo/Makefile ] || exit 0; \ | |
b40e3958 L |
11330 | r=`${PWD_COMMAND}`; export r; \ |
11331 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11332 | $(SET_LIB_PATH) \ |
11333 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11334 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11335 | done; \ | |
11336 | echo "Doing mostlyclean in texinfo" ; \ | |
11337 | (cd texinfo && \ | |
11338 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11339 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11340 | "RANLIB=$${RANLIB}" \ | |
11341 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11342 | mostlyclean) \ | |
11343 | || exit 1 | |
11344 | ||
11345 | ||
11346 | .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils | |
11347 | maybe-mostlyclean-textutils: | |
11348 | ||
11349 | mostlyclean-textutils: | |
11350 | @[ -f ./textutils/Makefile ] || exit 0; \ | |
b40e3958 L |
11351 | r=`${PWD_COMMAND}`; export r; \ |
11352 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11353 | $(SET_LIB_PATH) \ |
11354 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11355 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11356 | done; \ | |
11357 | echo "Doing mostlyclean in textutils" ; \ | |
11358 | (cd textutils && \ | |
11359 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11360 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11361 | "RANLIB=$${RANLIB}" \ | |
11362 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11363 | mostlyclean) \ | |
11364 | || exit 1 | |
11365 | ||
11366 | ||
11367 | .PHONY: maybe-mostlyclean-time mostlyclean-time | |
11368 | maybe-mostlyclean-time: | |
11369 | ||
11370 | mostlyclean-time: | |
11371 | @[ -f ./time/Makefile ] || exit 0; \ | |
b40e3958 L |
11372 | r=`${PWD_COMMAND}`; export r; \ |
11373 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11374 | $(SET_LIB_PATH) \ |
11375 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11376 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11377 | done; \ | |
11378 | echo "Doing mostlyclean in time" ; \ | |
11379 | (cd time && \ | |
11380 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11381 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11382 | "RANLIB=$${RANLIB}" \ | |
11383 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11384 | mostlyclean) \ | |
11385 | || exit 1 | |
11386 | ||
11387 | ||
11388 | .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode | |
11389 | maybe-mostlyclean-uudecode: | |
11390 | ||
11391 | mostlyclean-uudecode: | |
11392 | @[ -f ./uudecode/Makefile ] || exit 0; \ | |
b40e3958 L |
11393 | r=`${PWD_COMMAND}`; export r; \ |
11394 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11395 | $(SET_LIB_PATH) \ |
11396 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11397 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11398 | done; \ | |
11399 | echo "Doing mostlyclean in uudecode" ; \ | |
11400 | (cd uudecode && \ | |
11401 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11402 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11403 | "RANLIB=$${RANLIB}" \ | |
11404 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11405 | mostlyclean) \ | |
11406 | || exit 1 | |
11407 | ||
11408 | ||
11409 | .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff | |
11410 | maybe-mostlyclean-wdiff: | |
11411 | ||
11412 | mostlyclean-wdiff: | |
11413 | @[ -f ./wdiff/Makefile ] || exit 0; \ | |
b40e3958 L |
11414 | r=`${PWD_COMMAND}`; export r; \ |
11415 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11416 | $(SET_LIB_PATH) \ |
11417 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11418 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11419 | done; \ | |
11420 | echo "Doing mostlyclean in wdiff" ; \ | |
11421 | (cd wdiff && \ | |
11422 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11423 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11424 | "RANLIB=$${RANLIB}" \ | |
11425 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11426 | mostlyclean) \ | |
11427 | || exit 1 | |
11428 | ||
11429 | ||
11430 | .PHONY: maybe-mostlyclean-zip mostlyclean-zip | |
11431 | maybe-mostlyclean-zip: | |
11432 | ||
11433 | mostlyclean-zip: | |
11434 | @[ -f ./zip/Makefile ] || exit 0; \ | |
b40e3958 L |
11435 | r=`${PWD_COMMAND}`; export r; \ |
11436 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11437 | $(SET_LIB_PATH) \ |
11438 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11439 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11440 | done; \ | |
11441 | echo "Doing mostlyclean in zip" ; \ | |
11442 | (cd zip && \ | |
11443 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11444 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11445 | "RANLIB=$${RANLIB}" \ | |
11446 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11447 | mostlyclean) \ | |
11448 | || exit 1 | |
11449 | ||
11450 | ||
11451 | .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib | |
11452 | maybe-mostlyclean-zlib: | |
11453 | ||
11454 | mostlyclean-zlib: | |
11455 | @[ -f ./zlib/Makefile ] || exit 0; \ | |
b40e3958 L |
11456 | r=`${PWD_COMMAND}`; export r; \ |
11457 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11458 | $(SET_LIB_PATH) \ |
11459 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11460 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11461 | done; \ | |
11462 | echo "Doing mostlyclean in zlib" ; \ | |
11463 | (cd zlib && \ | |
11464 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11465 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11466 | "RANLIB=$${RANLIB}" \ | |
11467 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11468 | mostlyclean) \ | |
11469 | || exit 1 | |
11470 | ||
11471 | ||
11472 | .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb | |
11473 | maybe-mostlyclean-gdb: | |
11474 | ||
11475 | mostlyclean-gdb: | |
11476 | @[ -f ./gdb/Makefile ] || exit 0; \ | |
b40e3958 L |
11477 | r=`${PWD_COMMAND}`; export r; \ |
11478 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11479 | $(SET_LIB_PATH) \ |
11480 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11481 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11482 | done; \ | |
11483 | echo "Doing mostlyclean in gdb" ; \ | |
11484 | (cd gdb && \ | |
11485 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11486 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11487 | "RANLIB=$${RANLIB}" \ | |
11488 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11489 | mostlyclean) \ | |
11490 | || exit 1 | |
11491 | ||
11492 | ||
11493 | .PHONY: maybe-mostlyclean-expect mostlyclean-expect | |
11494 | maybe-mostlyclean-expect: | |
11495 | ||
11496 | mostlyclean-expect: | |
11497 | @[ -f ./expect/Makefile ] || exit 0; \ | |
b40e3958 L |
11498 | r=`${PWD_COMMAND}`; export r; \ |
11499 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11500 | $(SET_LIB_PATH) \ |
11501 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11502 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11503 | done; \ | |
11504 | echo "Doing mostlyclean in expect" ; \ | |
11505 | (cd expect && \ | |
11506 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11507 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11508 | "RANLIB=$${RANLIB}" \ | |
11509 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11510 | mostlyclean) \ | |
11511 | || exit 1 | |
11512 | ||
11513 | ||
11514 | .PHONY: maybe-mostlyclean-guile mostlyclean-guile | |
11515 | maybe-mostlyclean-guile: | |
11516 | ||
11517 | mostlyclean-guile: | |
11518 | @[ -f ./guile/Makefile ] || exit 0; \ | |
b40e3958 L |
11519 | r=`${PWD_COMMAND}`; export r; \ |
11520 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11521 | $(SET_LIB_PATH) \ |
11522 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11523 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11524 | done; \ | |
11525 | echo "Doing mostlyclean in guile" ; \ | |
11526 | (cd guile && \ | |
11527 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11528 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11529 | "RANLIB=$${RANLIB}" \ | |
11530 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11531 | mostlyclean) \ | |
11532 | || exit 1 | |
11533 | ||
11534 | ||
11535 | .PHONY: maybe-mostlyclean-tk mostlyclean-tk | |
11536 | maybe-mostlyclean-tk: | |
11537 | ||
11538 | mostlyclean-tk: | |
11539 | @[ -f ./tk/Makefile ] || exit 0; \ | |
b40e3958 L |
11540 | r=`${PWD_COMMAND}`; export r; \ |
11541 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11542 | $(SET_LIB_PATH) \ |
11543 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11544 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11545 | done; \ | |
11546 | echo "Doing mostlyclean in tk" ; \ | |
11547 | (cd tk && \ | |
11548 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11549 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11550 | "RANLIB=$${RANLIB}" \ | |
11551 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11552 | mostlyclean) \ | |
11553 | || exit 1 | |
11554 | ||
11555 | ||
11556 | .PHONY: maybe-mostlyclean-tix mostlyclean-tix | |
11557 | maybe-mostlyclean-tix: | |
11558 | ||
11559 | mostlyclean-tix: | |
11560 | @[ -f ./tix/Makefile ] || exit 0; \ | |
b40e3958 L |
11561 | r=`${PWD_COMMAND}`; export r; \ |
11562 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11563 | $(SET_LIB_PATH) \ |
11564 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11565 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11566 | done; \ | |
11567 | echo "Doing mostlyclean in tix" ; \ | |
11568 | (cd tix && \ | |
11569 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11570 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11571 | "RANLIB=$${RANLIB}" \ | |
11572 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11573 | mostlyclean) \ | |
11574 | || exit 1 | |
11575 | ||
11576 | ||
11577 | .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap | |
11578 | maybe-mostlyclean-libtermcap: | |
11579 | ||
11580 | # libtermcap doesn't support mostlyclean. | |
11581 | mostlyclean-libtermcap: | |
11582 | ||
11583 | ||
11584 | .PHONY: maybe-mostlyclean-utils mostlyclean-utils | |
11585 | maybe-mostlyclean-utils: | |
11586 | ||
11587 | mostlyclean-utils: | |
11588 | @[ -f ./utils/Makefile ] || exit 0; \ | |
b40e3958 L |
11589 | r=`${PWD_COMMAND}`; export r; \ |
11590 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11591 | $(SET_LIB_PATH) \ |
11592 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11593 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11594 | done; \ | |
11595 | echo "Doing mostlyclean in utils" ; \ | |
11596 | (cd utils && \ | |
11597 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11598 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11599 | "RANLIB=$${RANLIB}" \ | |
11600 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11601 | mostlyclean) \ | |
11602 | || exit 1 | |
11603 | ||
11604 | ||
11605 | ||
11606 | # Target modules. | |
11607 | ||
11608 | .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3 | |
11609 | maybe-mostlyclean-target-libstdc++-v3: | |
11610 | ||
11611 | mostlyclean-target-libstdc++-v3: | |
11612 | @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ | |
b40e3958 L |
11613 | r=`${PWD_COMMAND}`; export r; \ |
11614 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11615 | $(SET_LIB_PATH) \ |
11616 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \ | |
11617 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11618 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11619 | done; \ | |
11620 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
11621 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11622 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11623 | "RANLIB=$${RANLIB}" \ | |
11624 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11625 | mostlyclean) \ | |
11626 | || exit 1 | |
11627 | ||
11628 | ||
11629 | .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib | |
11630 | maybe-mostlyclean-target-newlib: | |
11631 | ||
11632 | mostlyclean-target-newlib: | |
11633 | @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
11634 | r=`${PWD_COMMAND}`; export r; \ |
11635 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11636 | $(SET_LIB_PATH) \ |
11637 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \ | |
11638 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11639 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11640 | done; \ | |
11641 | (cd $(TARGET_SUBDIR)/newlib && \ | |
11642 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11643 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11644 | "RANLIB=$${RANLIB}" \ | |
11645 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11646 | mostlyclean) \ | |
11647 | || exit 1 | |
11648 | ||
11649 | ||
11650 | .PHONY: maybe-mostlyclean-target-libf2c mostlyclean-target-libf2c | |
11651 | maybe-mostlyclean-target-libf2c: | |
11652 | ||
11653 | mostlyclean-target-libf2c: | |
11654 | @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \ | |
b40e3958 L |
11655 | r=`${PWD_COMMAND}`; export r; \ |
11656 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11657 | $(SET_LIB_PATH) \ |
11658 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/libf2c" ; \ | |
11659 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11660 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11661 | done; \ | |
11662 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
11663 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11664 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11665 | "RANLIB=$${RANLIB}" \ | |
11666 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11667 | mostlyclean) \ | |
11668 | || exit 1 | |
11669 | ||
11670 | ||
11671 | .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc | |
11672 | maybe-mostlyclean-target-libobjc: | |
11673 | ||
11674 | mostlyclean-target-libobjc: | |
11675 | @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
11676 | r=`${PWD_COMMAND}`; export r; \ |
11677 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11678 | $(SET_LIB_PATH) \ |
11679 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \ | |
11680 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11681 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11682 | done; \ | |
11683 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
11684 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11685 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11686 | "RANLIB=$${RANLIB}" \ | |
11687 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11688 | mostlyclean) \ | |
11689 | || exit 1 | |
11690 | ||
11691 | ||
11692 | .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap | |
11693 | maybe-mostlyclean-target-libtermcap: | |
11694 | ||
11695 | # libtermcap doesn't support mostlyclean. | |
123494c8 | 11696 | mostlyclean-target-libtermcap: |
2a4cbe27 NN |
11697 | |
11698 | ||
11699 | .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup | |
11700 | maybe-mostlyclean-target-winsup: | |
11701 | ||
11702 | mostlyclean-target-winsup: | |
11703 | @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ | |
b40e3958 L |
11704 | r=`${PWD_COMMAND}`; export r; \ |
11705 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11706 | $(SET_LIB_PATH) \ |
11707 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \ | |
11708 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11709 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11710 | done; \ | |
11711 | (cd $(TARGET_SUBDIR)/winsup && \ | |
11712 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11713 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11714 | "RANLIB=$${RANLIB}" \ | |
11715 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11716 | mostlyclean) \ | |
11717 | || exit 1 | |
11718 | ||
11719 | ||
11720 | .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss | |
11721 | maybe-mostlyclean-target-libgloss: | |
11722 | ||
11723 | mostlyclean-target-libgloss: | |
11724 | @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ | |
b40e3958 L |
11725 | r=`${PWD_COMMAND}`; export r; \ |
11726 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11727 | $(SET_LIB_PATH) \ |
11728 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \ | |
11729 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11730 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11731 | done; \ | |
11732 | (cd $(TARGET_SUBDIR)/libgloss && \ | |
11733 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11734 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11735 | "RANLIB=$${RANLIB}" \ | |
11736 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11737 | mostlyclean) \ | |
11738 | || exit 1 | |
11739 | ||
11740 | ||
11741 | .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty | |
11742 | maybe-mostlyclean-target-libiberty: | |
11743 | ||
11744 | mostlyclean-target-libiberty: | |
11745 | @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ | |
b40e3958 L |
11746 | r=`${PWD_COMMAND}`; export r; \ |
11747 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11748 | $(SET_LIB_PATH) \ |
11749 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \ | |
11750 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11751 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11752 | done; \ | |
11753 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
11754 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11755 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11756 | "RANLIB=$${RANLIB}" \ | |
11757 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11758 | mostlyclean) \ | |
11759 | || exit 1 | |
11760 | ||
11761 | ||
11762 | .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf | |
11763 | maybe-mostlyclean-target-gperf: | |
11764 | ||
11765 | mostlyclean-target-gperf: | |
11766 | @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ | |
b40e3958 L |
11767 | r=`${PWD_COMMAND}`; export r; \ |
11768 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11769 | $(SET_LIB_PATH) \ |
11770 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \ | |
11771 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11772 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11773 | done; \ | |
11774 | (cd $(TARGET_SUBDIR)/gperf && \ | |
11775 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11776 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11777 | "RANLIB=$${RANLIB}" \ | |
11778 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11779 | mostlyclean) \ | |
11780 | || exit 1 | |
11781 | ||
11782 | ||
11783 | .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples | |
11784 | maybe-mostlyclean-target-examples: | |
11785 | ||
11786 | mostlyclean-target-examples: | |
11787 | @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ | |
b40e3958 L |
11788 | r=`${PWD_COMMAND}`; export r; \ |
11789 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11790 | $(SET_LIB_PATH) \ |
11791 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \ | |
11792 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11793 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11794 | done; \ | |
11795 | (cd $(TARGET_SUBDIR)/examples && \ | |
11796 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11797 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11798 | "RANLIB=$${RANLIB}" \ | |
11799 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11800 | mostlyclean) \ | |
11801 | || exit 1 | |
11802 | ||
11803 | ||
11804 | .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi | |
11805 | maybe-mostlyclean-target-libffi: | |
11806 | ||
11807 | mostlyclean-target-libffi: | |
11808 | @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ | |
b40e3958 L |
11809 | r=`${PWD_COMMAND}`; export r; \ |
11810 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11811 | $(SET_LIB_PATH) \ |
11812 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \ | |
11813 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11814 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11815 | done; \ | |
11816 | (cd $(TARGET_SUBDIR)/libffi && \ | |
11817 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11818 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11819 | "RANLIB=$${RANLIB}" \ | |
11820 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11821 | mostlyclean) \ | |
11822 | || exit 1 | |
11823 | ||
11824 | ||
11825 | .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava | |
11826 | maybe-mostlyclean-target-libjava: | |
11827 | ||
11828 | mostlyclean-target-libjava: | |
11829 | @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ | |
b40e3958 L |
11830 | r=`${PWD_COMMAND}`; export r; \ |
11831 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11832 | $(SET_LIB_PATH) \ |
11833 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \ | |
11834 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11835 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11836 | done; \ | |
11837 | (cd $(TARGET_SUBDIR)/libjava && \ | |
11838 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11839 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11840 | "RANLIB=$${RANLIB}" \ | |
11841 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11842 | mostlyclean) \ | |
11843 | || exit 1 | |
11844 | ||
11845 | ||
11846 | .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib | |
11847 | maybe-mostlyclean-target-zlib: | |
11848 | ||
11849 | mostlyclean-target-zlib: | |
11850 | @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
11851 | r=`${PWD_COMMAND}`; export r; \ |
11852 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11853 | $(SET_LIB_PATH) \ |
11854 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \ | |
11855 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11856 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11857 | done; \ | |
11858 | (cd $(TARGET_SUBDIR)/zlib && \ | |
11859 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11860 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11861 | "RANLIB=$${RANLIB}" \ | |
11862 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11863 | mostlyclean) \ | |
11864 | || exit 1 | |
11865 | ||
11866 | ||
11867 | .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc | |
11868 | maybe-mostlyclean-target-boehm-gc: | |
11869 | ||
11870 | mostlyclean-target-boehm-gc: | |
11871 | @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
11872 | r=`${PWD_COMMAND}`; export r; \ |
11873 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11874 | $(SET_LIB_PATH) \ |
11875 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \ | |
11876 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11877 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11878 | done; \ | |
11879 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
11880 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11881 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11882 | "RANLIB=$${RANLIB}" \ | |
11883 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11884 | mostlyclean) \ | |
11885 | || exit 1 | |
11886 | ||
11887 | ||
11888 | .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads | |
11889 | maybe-mostlyclean-target-qthreads: | |
11890 | ||
11891 | mostlyclean-target-qthreads: | |
11892 | @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ | |
b40e3958 L |
11893 | r=`${PWD_COMMAND}`; export r; \ |
11894 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11895 | $(SET_LIB_PATH) \ |
11896 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \ | |
11897 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11898 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11899 | done; \ | |
11900 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
11901 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11902 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11903 | "RANLIB=$${RANLIB}" \ | |
11904 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11905 | mostlyclean) \ | |
11906 | || exit 1 | |
11907 | ||
11908 | ||
11909 | .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda | |
11910 | maybe-mostlyclean-target-rda: | |
11911 | ||
11912 | mostlyclean-target-rda: | |
11913 | @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ | |
b40e3958 L |
11914 | r=`${PWD_COMMAND}`; export r; \ |
11915 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
11916 | $(SET_LIB_PATH) \ |
11917 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \ | |
11918 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11919 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11920 | done; \ | |
11921 | (cd $(TARGET_SUBDIR)/rda && \ | |
11922 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11923 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11924 | "RANLIB=$${RANLIB}" \ | |
11925 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11926 | mostlyclean) \ | |
11927 | || exit 1 | |
11928 | ||
11929 | ||
11930 | ||
11931 | .PHONY: do-clean | |
11932 | do-clean: clean-host clean-target | |
11933 | ||
11934 | .PHONY: clean-host | |
11935 | clean-host: maybe-clean-gcc \ | |
11936 | maybe-clean-ash \ | |
11937 | maybe-clean-autoconf \ | |
11938 | maybe-clean-automake \ | |
11939 | maybe-clean-bash \ | |
11940 | maybe-clean-bfd \ | |
11941 | maybe-clean-opcodes \ | |
11942 | maybe-clean-binutils \ | |
11943 | maybe-clean-bison \ | |
11944 | maybe-clean-byacc \ | |
11945 | maybe-clean-bzip2 \ | |
11946 | maybe-clean-dejagnu \ | |
11947 | maybe-clean-diff \ | |
11948 | maybe-clean-dosutils \ | |
11949 | maybe-clean-etc \ | |
11950 | maybe-clean-fastjar \ | |
11951 | maybe-clean-fileutils \ | |
11952 | maybe-clean-findutils \ | |
11953 | maybe-clean-find \ | |
11954 | maybe-clean-flex \ | |
11955 | maybe-clean-gas \ | |
11956 | maybe-clean-gawk \ | |
11957 | maybe-clean-gettext \ | |
11958 | maybe-clean-gnuserv \ | |
11959 | maybe-clean-gprof \ | |
11960 | maybe-clean-gzip \ | |
11961 | maybe-clean-hello \ | |
11962 | maybe-clean-indent \ | |
11963 | maybe-clean-intl \ | |
11964 | maybe-clean-tcl \ | |
11965 | maybe-clean-itcl \ | |
11966 | maybe-clean-ld \ | |
11967 | maybe-clean-libgui \ | |
11968 | maybe-clean-libiberty \ | |
11969 | maybe-clean-libtool \ | |
11970 | maybe-clean-m4 \ | |
11971 | maybe-clean-make \ | |
11972 | maybe-clean-mmalloc \ | |
11973 | maybe-clean-patch \ | |
11974 | maybe-clean-perl \ | |
11975 | maybe-clean-prms \ | |
11976 | maybe-clean-rcs \ | |
11977 | maybe-clean-readline \ | |
11978 | maybe-clean-release \ | |
11979 | maybe-clean-recode \ | |
11980 | maybe-clean-sed \ | |
11981 | maybe-clean-send-pr \ | |
11982 | maybe-clean-shellutils \ | |
11983 | maybe-clean-sid \ | |
11984 | maybe-clean-sim \ | |
11985 | maybe-clean-tar \ | |
11986 | maybe-clean-texinfo \ | |
11987 | maybe-clean-textutils \ | |
11988 | maybe-clean-time \ | |
11989 | maybe-clean-uudecode \ | |
11990 | maybe-clean-wdiff \ | |
11991 | maybe-clean-zip \ | |
11992 | maybe-clean-zlib \ | |
11993 | maybe-clean-gdb \ | |
11994 | maybe-clean-expect \ | |
11995 | maybe-clean-guile \ | |
11996 | maybe-clean-tk \ | |
11997 | maybe-clean-tix \ | |
11998 | maybe-clean-libtermcap \ | |
11999 | maybe-clean-utils | |
12000 | ||
12001 | .PHONY: clean-target | |
12002 | clean-target: \ | |
12003 | maybe-clean-target-libstdc++-v3 \ | |
12004 | maybe-clean-target-newlib \ | |
12005 | maybe-clean-target-libf2c \ | |
12006 | maybe-clean-target-libobjc \ | |
12007 | maybe-clean-target-libtermcap \ | |
12008 | maybe-clean-target-winsup \ | |
12009 | maybe-clean-target-libgloss \ | |
12010 | maybe-clean-target-libiberty \ | |
12011 | maybe-clean-target-gperf \ | |
12012 | maybe-clean-target-examples \ | |
12013 | maybe-clean-target-libffi \ | |
12014 | maybe-clean-target-libjava \ | |
12015 | maybe-clean-target-zlib \ | |
12016 | maybe-clean-target-boehm-gc \ | |
12017 | maybe-clean-target-qthreads \ | |
12018 | maybe-clean-target-rda | |
12019 | ||
12020 | # GCC, the eternal special case | |
12021 | .PHONY: maybe-clean-gcc clean-gcc | |
12022 | maybe-clean-gcc: | |
12023 | clean-gcc: | |
12024 | @[ -f ./gcc/Makefile ] || exit 0; \ | |
b40e3958 L |
12025 | r=`${PWD_COMMAND}`; export r; \ |
12026 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12027 | $(SET_LIB_PATH) \ |
12028 | for flag in $(EXTRA_GCC_FLAGS); do \ | |
12029 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12030 | done; \ | |
12031 | echo "Doing clean in gcc" ; \ | |
12032 | (cd gcc && \ | |
12033 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12034 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12035 | "RANLIB=$${RANLIB}" \ | |
12036 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12037 | clean) \ | |
12038 | || exit 1 | |
12039 | ||
12040 | # Host modules. | |
12041 | ||
12042 | .PHONY: maybe-clean-ash clean-ash | |
12043 | maybe-clean-ash: | |
12044 | ||
12045 | clean-ash: | |
12046 | @[ -f ./ash/Makefile ] || exit 0; \ | |
b40e3958 L |
12047 | r=`${PWD_COMMAND}`; export r; \ |
12048 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12049 | $(SET_LIB_PATH) \ |
12050 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12051 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12052 | done; \ | |
12053 | echo "Doing clean in ash" ; \ | |
12054 | (cd ash && \ | |
12055 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12056 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12057 | "RANLIB=$${RANLIB}" \ | |
12058 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12059 | clean) \ | |
12060 | || exit 1 | |
12061 | ||
12062 | ||
12063 | .PHONY: maybe-clean-autoconf clean-autoconf | |
12064 | maybe-clean-autoconf: | |
12065 | ||
12066 | clean-autoconf: | |
12067 | @[ -f ./autoconf/Makefile ] || exit 0; \ | |
b40e3958 L |
12068 | r=`${PWD_COMMAND}`; export r; \ |
12069 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12070 | $(SET_LIB_PATH) \ |
12071 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12072 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12073 | done; \ | |
12074 | echo "Doing clean in autoconf" ; \ | |
12075 | (cd autoconf && \ | |
12076 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12077 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12078 | "RANLIB=$${RANLIB}" \ | |
12079 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12080 | clean) \ | |
12081 | || exit 1 | |
12082 | ||
12083 | ||
12084 | .PHONY: maybe-clean-automake clean-automake | |
12085 | maybe-clean-automake: | |
12086 | ||
12087 | clean-automake: | |
12088 | @[ -f ./automake/Makefile ] || exit 0; \ | |
b40e3958 L |
12089 | r=`${PWD_COMMAND}`; export r; \ |
12090 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12091 | $(SET_LIB_PATH) \ |
12092 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12093 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12094 | done; \ | |
12095 | echo "Doing clean in automake" ; \ | |
12096 | (cd automake && \ | |
12097 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12098 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12099 | "RANLIB=$${RANLIB}" \ | |
12100 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12101 | clean) \ | |
12102 | || exit 1 | |
12103 | ||
12104 | ||
12105 | .PHONY: maybe-clean-bash clean-bash | |
12106 | maybe-clean-bash: | |
12107 | ||
12108 | clean-bash: | |
12109 | @[ -f ./bash/Makefile ] || exit 0; \ | |
b40e3958 L |
12110 | r=`${PWD_COMMAND}`; export r; \ |
12111 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12112 | $(SET_LIB_PATH) \ |
12113 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12114 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12115 | done; \ | |
12116 | echo "Doing clean in bash" ; \ | |
12117 | (cd bash && \ | |
12118 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12119 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12120 | "RANLIB=$${RANLIB}" \ | |
12121 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12122 | clean) \ | |
12123 | || exit 1 | |
12124 | ||
12125 | ||
12126 | .PHONY: maybe-clean-bfd clean-bfd | |
12127 | maybe-clean-bfd: | |
12128 | ||
12129 | clean-bfd: | |
12130 | @[ -f ./bfd/Makefile ] || exit 0; \ | |
b40e3958 L |
12131 | r=`${PWD_COMMAND}`; export r; \ |
12132 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12133 | $(SET_LIB_PATH) \ |
12134 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12135 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12136 | done; \ | |
12137 | echo "Doing clean in bfd" ; \ | |
12138 | (cd bfd && \ | |
12139 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12140 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12141 | "RANLIB=$${RANLIB}" \ | |
12142 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12143 | clean) \ | |
12144 | || exit 1 | |
12145 | ||
12146 | ||
12147 | .PHONY: maybe-clean-opcodes clean-opcodes | |
12148 | maybe-clean-opcodes: | |
12149 | ||
12150 | clean-opcodes: | |
12151 | @[ -f ./opcodes/Makefile ] || exit 0; \ | |
b40e3958 L |
12152 | r=`${PWD_COMMAND}`; export r; \ |
12153 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12154 | $(SET_LIB_PATH) \ |
12155 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12156 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12157 | done; \ | |
12158 | echo "Doing clean in opcodes" ; \ | |
12159 | (cd opcodes && \ | |
12160 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12161 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12162 | "RANLIB=$${RANLIB}" \ | |
12163 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12164 | clean) \ | |
12165 | || exit 1 | |
12166 | ||
12167 | ||
12168 | .PHONY: maybe-clean-binutils clean-binutils | |
12169 | maybe-clean-binutils: | |
12170 | ||
12171 | clean-binutils: | |
12172 | @[ -f ./binutils/Makefile ] || exit 0; \ | |
b40e3958 L |
12173 | r=`${PWD_COMMAND}`; export r; \ |
12174 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12175 | $(SET_LIB_PATH) \ |
12176 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12177 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12178 | done; \ | |
12179 | echo "Doing clean in binutils" ; \ | |
12180 | (cd binutils && \ | |
12181 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12182 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12183 | "RANLIB=$${RANLIB}" \ | |
12184 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12185 | clean) \ | |
12186 | || exit 1 | |
12187 | ||
12188 | ||
12189 | .PHONY: maybe-clean-bison clean-bison | |
12190 | maybe-clean-bison: | |
12191 | ||
12192 | clean-bison: | |
12193 | @[ -f ./bison/Makefile ] || exit 0; \ | |
b40e3958 L |
12194 | r=`${PWD_COMMAND}`; export r; \ |
12195 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12196 | $(SET_LIB_PATH) \ |
12197 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12198 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12199 | done; \ | |
12200 | echo "Doing clean in bison" ; \ | |
12201 | (cd bison && \ | |
12202 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12203 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12204 | "RANLIB=$${RANLIB}" \ | |
12205 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12206 | clean) \ | |
12207 | || exit 1 | |
12208 | ||
12209 | ||
12210 | .PHONY: maybe-clean-byacc clean-byacc | |
12211 | maybe-clean-byacc: | |
12212 | ||
12213 | clean-byacc: | |
12214 | @[ -f ./byacc/Makefile ] || exit 0; \ | |
b40e3958 L |
12215 | r=`${PWD_COMMAND}`; export r; \ |
12216 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12217 | $(SET_LIB_PATH) \ |
12218 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12219 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12220 | done; \ | |
12221 | echo "Doing clean in byacc" ; \ | |
12222 | (cd byacc && \ | |
12223 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12224 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12225 | "RANLIB=$${RANLIB}" \ | |
12226 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12227 | clean) \ | |
12228 | || exit 1 | |
12229 | ||
12230 | ||
12231 | .PHONY: maybe-clean-bzip2 clean-bzip2 | |
12232 | maybe-clean-bzip2: | |
12233 | ||
12234 | clean-bzip2: | |
12235 | @[ -f ./bzip2/Makefile ] || exit 0; \ | |
b40e3958 L |
12236 | r=`${PWD_COMMAND}`; export r; \ |
12237 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12238 | $(SET_LIB_PATH) \ |
12239 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12240 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12241 | done; \ | |
12242 | echo "Doing clean in bzip2" ; \ | |
12243 | (cd bzip2 && \ | |
12244 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12245 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12246 | "RANLIB=$${RANLIB}" \ | |
12247 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12248 | clean) \ | |
12249 | || exit 1 | |
12250 | ||
12251 | ||
12252 | .PHONY: maybe-clean-dejagnu clean-dejagnu | |
12253 | maybe-clean-dejagnu: | |
12254 | ||
12255 | clean-dejagnu: | |
12256 | @[ -f ./dejagnu/Makefile ] || exit 0; \ | |
b40e3958 L |
12257 | r=`${PWD_COMMAND}`; export r; \ |
12258 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12259 | $(SET_LIB_PATH) \ |
12260 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12261 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12262 | done; \ | |
12263 | echo "Doing clean in dejagnu" ; \ | |
12264 | (cd dejagnu && \ | |
12265 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12266 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12267 | "RANLIB=$${RANLIB}" \ | |
12268 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12269 | clean) \ | |
12270 | || exit 1 | |
12271 | ||
12272 | ||
12273 | .PHONY: maybe-clean-diff clean-diff | |
12274 | maybe-clean-diff: | |
12275 | ||
12276 | clean-diff: | |
12277 | @[ -f ./diff/Makefile ] || exit 0; \ | |
b40e3958 L |
12278 | r=`${PWD_COMMAND}`; export r; \ |
12279 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12280 | $(SET_LIB_PATH) \ |
12281 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12282 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12283 | done; \ | |
12284 | echo "Doing clean in diff" ; \ | |
12285 | (cd diff && \ | |
12286 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12287 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12288 | "RANLIB=$${RANLIB}" \ | |
12289 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12290 | clean) \ | |
12291 | || exit 1 | |
12292 | ||
12293 | ||
12294 | .PHONY: maybe-clean-dosutils clean-dosutils | |
12295 | maybe-clean-dosutils: | |
12296 | ||
12297 | clean-dosutils: | |
12298 | @[ -f ./dosutils/Makefile ] || exit 0; \ | |
b40e3958 L |
12299 | r=`${PWD_COMMAND}`; export r; \ |
12300 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12301 | $(SET_LIB_PATH) \ |
12302 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12303 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12304 | done; \ | |
12305 | echo "Doing clean in dosutils" ; \ | |
12306 | (cd dosutils && \ | |
12307 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12308 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12309 | "RANLIB=$${RANLIB}" \ | |
12310 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12311 | clean) \ | |
12312 | || exit 1 | |
12313 | ||
12314 | ||
12315 | .PHONY: maybe-clean-etc clean-etc | |
12316 | maybe-clean-etc: | |
12317 | ||
12318 | clean-etc: | |
12319 | @[ -f ./etc/Makefile ] || exit 0; \ | |
b40e3958 L |
12320 | r=`${PWD_COMMAND}`; export r; \ |
12321 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12322 | $(SET_LIB_PATH) \ |
12323 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12324 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12325 | done; \ | |
12326 | echo "Doing clean in etc" ; \ | |
12327 | (cd etc && \ | |
12328 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12329 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12330 | "RANLIB=$${RANLIB}" \ | |
12331 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12332 | clean) \ | |
12333 | || exit 1 | |
12334 | ||
12335 | ||
12336 | .PHONY: maybe-clean-fastjar clean-fastjar | |
12337 | maybe-clean-fastjar: | |
12338 | ||
12339 | clean-fastjar: | |
12340 | @[ -f ./fastjar/Makefile ] || exit 0; \ | |
b40e3958 L |
12341 | r=`${PWD_COMMAND}`; export r; \ |
12342 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12343 | $(SET_LIB_PATH) \ |
12344 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12345 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12346 | done; \ | |
12347 | echo "Doing clean in fastjar" ; \ | |
12348 | (cd fastjar && \ | |
12349 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12350 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12351 | "RANLIB=$${RANLIB}" \ | |
12352 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12353 | clean) \ | |
12354 | || exit 1 | |
12355 | ||
12356 | ||
12357 | .PHONY: maybe-clean-fileutils clean-fileutils | |
12358 | maybe-clean-fileutils: | |
12359 | ||
12360 | clean-fileutils: | |
12361 | @[ -f ./fileutils/Makefile ] || exit 0; \ | |
b40e3958 L |
12362 | r=`${PWD_COMMAND}`; export r; \ |
12363 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12364 | $(SET_LIB_PATH) \ |
12365 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12366 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12367 | done; \ | |
12368 | echo "Doing clean in fileutils" ; \ | |
12369 | (cd fileutils && \ | |
12370 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12371 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12372 | "RANLIB=$${RANLIB}" \ | |
12373 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12374 | clean) \ | |
12375 | || exit 1 | |
12376 | ||
12377 | ||
12378 | .PHONY: maybe-clean-findutils clean-findutils | |
12379 | maybe-clean-findutils: | |
12380 | ||
12381 | clean-findutils: | |
12382 | @[ -f ./findutils/Makefile ] || exit 0; \ | |
b40e3958 L |
12383 | r=`${PWD_COMMAND}`; export r; \ |
12384 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12385 | $(SET_LIB_PATH) \ |
12386 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12387 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12388 | done; \ | |
12389 | echo "Doing clean in findutils" ; \ | |
12390 | (cd findutils && \ | |
12391 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12392 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12393 | "RANLIB=$${RANLIB}" \ | |
12394 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12395 | clean) \ | |
12396 | || exit 1 | |
12397 | ||
12398 | ||
12399 | .PHONY: maybe-clean-find clean-find | |
12400 | maybe-clean-find: | |
12401 | ||
12402 | clean-find: | |
12403 | @[ -f ./find/Makefile ] || exit 0; \ | |
b40e3958 L |
12404 | r=`${PWD_COMMAND}`; export r; \ |
12405 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12406 | $(SET_LIB_PATH) \ |
12407 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12408 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12409 | done; \ | |
12410 | echo "Doing clean in find" ; \ | |
12411 | (cd find && \ | |
12412 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12413 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12414 | "RANLIB=$${RANLIB}" \ | |
12415 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12416 | clean) \ | |
12417 | || exit 1 | |
12418 | ||
12419 | ||
12420 | .PHONY: maybe-clean-flex clean-flex | |
12421 | maybe-clean-flex: | |
12422 | ||
12423 | clean-flex: | |
12424 | @[ -f ./flex/Makefile ] || exit 0; \ | |
b40e3958 L |
12425 | r=`${PWD_COMMAND}`; export r; \ |
12426 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12427 | $(SET_LIB_PATH) \ |
12428 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12429 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12430 | done; \ | |
12431 | echo "Doing clean in flex" ; \ | |
12432 | (cd flex && \ | |
12433 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12434 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12435 | "RANLIB=$${RANLIB}" \ | |
12436 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12437 | clean) \ | |
12438 | || exit 1 | |
12439 | ||
12440 | ||
12441 | .PHONY: maybe-clean-gas clean-gas | |
12442 | maybe-clean-gas: | |
12443 | ||
12444 | clean-gas: | |
12445 | @[ -f ./gas/Makefile ] || exit 0; \ | |
b40e3958 L |
12446 | r=`${PWD_COMMAND}`; export r; \ |
12447 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12448 | $(SET_LIB_PATH) \ |
12449 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12450 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12451 | done; \ | |
12452 | echo "Doing clean in gas" ; \ | |
12453 | (cd gas && \ | |
12454 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12455 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12456 | "RANLIB=$${RANLIB}" \ | |
12457 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12458 | clean) \ | |
12459 | || exit 1 | |
12460 | ||
12461 | ||
12462 | .PHONY: maybe-clean-gawk clean-gawk | |
12463 | maybe-clean-gawk: | |
12464 | ||
12465 | clean-gawk: | |
12466 | @[ -f ./gawk/Makefile ] || exit 0; \ | |
b40e3958 L |
12467 | r=`${PWD_COMMAND}`; export r; \ |
12468 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12469 | $(SET_LIB_PATH) \ |
12470 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12471 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12472 | done; \ | |
12473 | echo "Doing clean in gawk" ; \ | |
12474 | (cd gawk && \ | |
12475 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12476 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12477 | "RANLIB=$${RANLIB}" \ | |
12478 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12479 | clean) \ | |
12480 | || exit 1 | |
12481 | ||
12482 | ||
12483 | .PHONY: maybe-clean-gettext clean-gettext | |
12484 | maybe-clean-gettext: | |
12485 | ||
12486 | clean-gettext: | |
12487 | @[ -f ./gettext/Makefile ] || exit 0; \ | |
b40e3958 L |
12488 | r=`${PWD_COMMAND}`; export r; \ |
12489 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12490 | $(SET_LIB_PATH) \ |
12491 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12492 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12493 | done; \ | |
12494 | echo "Doing clean in gettext" ; \ | |
12495 | (cd gettext && \ | |
12496 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12497 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12498 | "RANLIB=$${RANLIB}" \ | |
12499 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12500 | clean) \ | |
12501 | || exit 1 | |
12502 | ||
12503 | ||
12504 | .PHONY: maybe-clean-gnuserv clean-gnuserv | |
12505 | maybe-clean-gnuserv: | |
12506 | ||
12507 | clean-gnuserv: | |
12508 | @[ -f ./gnuserv/Makefile ] || exit 0; \ | |
b40e3958 L |
12509 | r=`${PWD_COMMAND}`; export r; \ |
12510 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12511 | $(SET_LIB_PATH) \ |
12512 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12513 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12514 | done; \ | |
12515 | echo "Doing clean in gnuserv" ; \ | |
12516 | (cd gnuserv && \ | |
12517 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12518 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12519 | "RANLIB=$${RANLIB}" \ | |
12520 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12521 | clean) \ | |
12522 | || exit 1 | |
12523 | ||
12524 | ||
12525 | .PHONY: maybe-clean-gprof clean-gprof | |
12526 | maybe-clean-gprof: | |
12527 | ||
12528 | clean-gprof: | |
12529 | @[ -f ./gprof/Makefile ] || exit 0; \ | |
b40e3958 L |
12530 | r=`${PWD_COMMAND}`; export r; \ |
12531 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12532 | $(SET_LIB_PATH) \ |
12533 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12534 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12535 | done; \ | |
12536 | echo "Doing clean in gprof" ; \ | |
12537 | (cd gprof && \ | |
12538 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12539 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12540 | "RANLIB=$${RANLIB}" \ | |
12541 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12542 | clean) \ | |
12543 | || exit 1 | |
12544 | ||
12545 | ||
12546 | .PHONY: maybe-clean-gzip clean-gzip | |
12547 | maybe-clean-gzip: | |
12548 | ||
12549 | clean-gzip: | |
12550 | @[ -f ./gzip/Makefile ] || exit 0; \ | |
b40e3958 L |
12551 | r=`${PWD_COMMAND}`; export r; \ |
12552 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12553 | $(SET_LIB_PATH) \ |
12554 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12555 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12556 | done; \ | |
12557 | echo "Doing clean in gzip" ; \ | |
12558 | (cd gzip && \ | |
12559 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12560 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12561 | "RANLIB=$${RANLIB}" \ | |
12562 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12563 | clean) \ | |
12564 | || exit 1 | |
12565 | ||
12566 | ||
12567 | .PHONY: maybe-clean-hello clean-hello | |
12568 | maybe-clean-hello: | |
12569 | ||
12570 | clean-hello: | |
12571 | @[ -f ./hello/Makefile ] || exit 0; \ | |
b40e3958 L |
12572 | r=`${PWD_COMMAND}`; export r; \ |
12573 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12574 | $(SET_LIB_PATH) \ |
12575 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12576 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12577 | done; \ | |
12578 | echo "Doing clean in hello" ; \ | |
12579 | (cd hello && \ | |
12580 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12581 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12582 | "RANLIB=$${RANLIB}" \ | |
12583 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12584 | clean) \ | |
12585 | || exit 1 | |
12586 | ||
12587 | ||
12588 | .PHONY: maybe-clean-indent clean-indent | |
12589 | maybe-clean-indent: | |
12590 | ||
12591 | clean-indent: | |
12592 | @[ -f ./indent/Makefile ] || exit 0; \ | |
b40e3958 L |
12593 | r=`${PWD_COMMAND}`; export r; \ |
12594 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12595 | $(SET_LIB_PATH) \ |
12596 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12597 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12598 | done; \ | |
12599 | echo "Doing clean in indent" ; \ | |
12600 | (cd indent && \ | |
12601 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12602 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12603 | "RANLIB=$${RANLIB}" \ | |
12604 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12605 | clean) \ | |
12606 | || exit 1 | |
12607 | ||
12608 | ||
12609 | .PHONY: maybe-clean-intl clean-intl | |
12610 | maybe-clean-intl: | |
12611 | ||
12612 | clean-intl: | |
12613 | @[ -f ./intl/Makefile ] || exit 0; \ | |
b40e3958 L |
12614 | r=`${PWD_COMMAND}`; export r; \ |
12615 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12616 | $(SET_LIB_PATH) \ |
12617 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12618 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12619 | done; \ | |
12620 | echo "Doing clean in intl" ; \ | |
12621 | (cd intl && \ | |
12622 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12623 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12624 | "RANLIB=$${RANLIB}" \ | |
12625 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12626 | clean) \ | |
12627 | || exit 1 | |
12628 | ||
12629 | ||
12630 | .PHONY: maybe-clean-tcl clean-tcl | |
12631 | maybe-clean-tcl: | |
12632 | ||
12633 | clean-tcl: | |
12634 | @[ -f ./tcl/Makefile ] || exit 0; \ | |
b40e3958 L |
12635 | r=`${PWD_COMMAND}`; export r; \ |
12636 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12637 | $(SET_LIB_PATH) \ |
12638 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12639 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12640 | done; \ | |
12641 | echo "Doing clean in tcl" ; \ | |
12642 | (cd tcl && \ | |
12643 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12644 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12645 | "RANLIB=$${RANLIB}" \ | |
12646 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12647 | clean) \ | |
12648 | || exit 1 | |
12649 | ||
12650 | ||
12651 | .PHONY: maybe-clean-itcl clean-itcl | |
12652 | maybe-clean-itcl: | |
12653 | ||
12654 | clean-itcl: | |
12655 | @[ -f ./itcl/Makefile ] || exit 0; \ | |
b40e3958 L |
12656 | r=`${PWD_COMMAND}`; export r; \ |
12657 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12658 | $(SET_LIB_PATH) \ |
12659 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12660 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12661 | done; \ | |
12662 | echo "Doing clean in itcl" ; \ | |
12663 | (cd itcl && \ | |
12664 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12665 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12666 | "RANLIB=$${RANLIB}" \ | |
12667 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12668 | clean) \ | |
12669 | || exit 1 | |
12670 | ||
12671 | ||
12672 | .PHONY: maybe-clean-ld clean-ld | |
12673 | maybe-clean-ld: | |
12674 | ||
12675 | clean-ld: | |
12676 | @[ -f ./ld/Makefile ] || exit 0; \ | |
b40e3958 L |
12677 | r=`${PWD_COMMAND}`; export r; \ |
12678 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12679 | $(SET_LIB_PATH) \ |
12680 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12681 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12682 | done; \ | |
12683 | echo "Doing clean in ld" ; \ | |
12684 | (cd ld && \ | |
12685 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12686 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12687 | "RANLIB=$${RANLIB}" \ | |
12688 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12689 | clean) \ | |
12690 | || exit 1 | |
12691 | ||
12692 | ||
12693 | .PHONY: maybe-clean-libgui clean-libgui | |
12694 | maybe-clean-libgui: | |
12695 | ||
12696 | clean-libgui: | |
12697 | @[ -f ./libgui/Makefile ] || exit 0; \ | |
b40e3958 L |
12698 | r=`${PWD_COMMAND}`; export r; \ |
12699 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12700 | $(SET_LIB_PATH) \ |
12701 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12702 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12703 | done; \ | |
12704 | echo "Doing clean in libgui" ; \ | |
12705 | (cd libgui && \ | |
12706 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12707 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12708 | "RANLIB=$${RANLIB}" \ | |
12709 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12710 | clean) \ | |
12711 | || exit 1 | |
12712 | ||
12713 | ||
12714 | .PHONY: maybe-clean-libiberty clean-libiberty | |
12715 | maybe-clean-libiberty: | |
12716 | ||
12717 | clean-libiberty: | |
12718 | @[ -f ./libiberty/Makefile ] || exit 0; \ | |
b40e3958 L |
12719 | r=`${PWD_COMMAND}`; export r; \ |
12720 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12721 | $(SET_LIB_PATH) \ |
12722 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12723 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12724 | done; \ | |
12725 | echo "Doing clean in libiberty" ; \ | |
12726 | (cd libiberty && \ | |
12727 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12728 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12729 | "RANLIB=$${RANLIB}" \ | |
12730 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12731 | clean) \ | |
12732 | || exit 1 | |
12733 | ||
12734 | ||
12735 | .PHONY: maybe-clean-libtool clean-libtool | |
12736 | maybe-clean-libtool: | |
12737 | ||
12738 | clean-libtool: | |
12739 | @[ -f ./libtool/Makefile ] || exit 0; \ | |
b40e3958 L |
12740 | r=`${PWD_COMMAND}`; export r; \ |
12741 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12742 | $(SET_LIB_PATH) \ |
12743 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12744 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12745 | done; \ | |
12746 | echo "Doing clean in libtool" ; \ | |
12747 | (cd libtool && \ | |
12748 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12749 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12750 | "RANLIB=$${RANLIB}" \ | |
12751 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12752 | clean) \ | |
12753 | || exit 1 | |
12754 | ||
12755 | ||
12756 | .PHONY: maybe-clean-m4 clean-m4 | |
12757 | maybe-clean-m4: | |
12758 | ||
12759 | clean-m4: | |
12760 | @[ -f ./m4/Makefile ] || exit 0; \ | |
b40e3958 L |
12761 | r=`${PWD_COMMAND}`; export r; \ |
12762 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12763 | $(SET_LIB_PATH) \ |
12764 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12765 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12766 | done; \ | |
12767 | echo "Doing clean in m4" ; \ | |
12768 | (cd m4 && \ | |
12769 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12770 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12771 | "RANLIB=$${RANLIB}" \ | |
12772 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12773 | clean) \ | |
12774 | || exit 1 | |
12775 | ||
12776 | ||
12777 | .PHONY: maybe-clean-make clean-make | |
12778 | maybe-clean-make: | |
12779 | ||
12780 | clean-make: | |
12781 | @[ -f ./make/Makefile ] || exit 0; \ | |
b40e3958 L |
12782 | r=`${PWD_COMMAND}`; export r; \ |
12783 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12784 | $(SET_LIB_PATH) \ |
12785 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12786 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12787 | done; \ | |
12788 | echo "Doing clean in make" ; \ | |
12789 | (cd make && \ | |
12790 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12791 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12792 | "RANLIB=$${RANLIB}" \ | |
12793 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12794 | clean) \ | |
12795 | || exit 1 | |
12796 | ||
12797 | ||
12798 | .PHONY: maybe-clean-mmalloc clean-mmalloc | |
12799 | maybe-clean-mmalloc: | |
12800 | ||
12801 | clean-mmalloc: | |
12802 | @[ -f ./mmalloc/Makefile ] || exit 0; \ | |
b40e3958 L |
12803 | r=`${PWD_COMMAND}`; export r; \ |
12804 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12805 | $(SET_LIB_PATH) \ |
12806 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12807 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12808 | done; \ | |
12809 | echo "Doing clean in mmalloc" ; \ | |
12810 | (cd mmalloc && \ | |
12811 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12812 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12813 | "RANLIB=$${RANLIB}" \ | |
12814 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12815 | clean) \ | |
12816 | || exit 1 | |
12817 | ||
12818 | ||
12819 | .PHONY: maybe-clean-patch clean-patch | |
12820 | maybe-clean-patch: | |
12821 | ||
12822 | clean-patch: | |
12823 | @[ -f ./patch/Makefile ] || exit 0; \ | |
b40e3958 L |
12824 | r=`${PWD_COMMAND}`; export r; \ |
12825 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12826 | $(SET_LIB_PATH) \ |
12827 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12828 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12829 | done; \ | |
12830 | echo "Doing clean in patch" ; \ | |
12831 | (cd patch && \ | |
12832 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12833 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12834 | "RANLIB=$${RANLIB}" \ | |
12835 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12836 | clean) \ | |
12837 | || exit 1 | |
12838 | ||
12839 | ||
12840 | .PHONY: maybe-clean-perl clean-perl | |
12841 | maybe-clean-perl: | |
12842 | ||
12843 | clean-perl: | |
12844 | @[ -f ./perl/Makefile ] || exit 0; \ | |
b40e3958 L |
12845 | r=`${PWD_COMMAND}`; export r; \ |
12846 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12847 | $(SET_LIB_PATH) \ |
12848 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12849 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12850 | done; \ | |
12851 | echo "Doing clean in perl" ; \ | |
12852 | (cd perl && \ | |
12853 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12854 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12855 | "RANLIB=$${RANLIB}" \ | |
12856 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12857 | clean) \ | |
12858 | || exit 1 | |
12859 | ||
12860 | ||
12861 | .PHONY: maybe-clean-prms clean-prms | |
12862 | maybe-clean-prms: | |
12863 | ||
12864 | clean-prms: | |
12865 | @[ -f ./prms/Makefile ] || exit 0; \ | |
b40e3958 L |
12866 | r=`${PWD_COMMAND}`; export r; \ |
12867 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12868 | $(SET_LIB_PATH) \ |
12869 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12870 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12871 | done; \ | |
12872 | echo "Doing clean in prms" ; \ | |
12873 | (cd prms && \ | |
12874 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12875 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12876 | "RANLIB=$${RANLIB}" \ | |
12877 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12878 | clean) \ | |
12879 | || exit 1 | |
12880 | ||
12881 | ||
12882 | .PHONY: maybe-clean-rcs clean-rcs | |
12883 | maybe-clean-rcs: | |
12884 | ||
12885 | clean-rcs: | |
12886 | @[ -f ./rcs/Makefile ] || exit 0; \ | |
b40e3958 L |
12887 | r=`${PWD_COMMAND}`; export r; \ |
12888 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12889 | $(SET_LIB_PATH) \ |
12890 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12891 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12892 | done; \ | |
12893 | echo "Doing clean in rcs" ; \ | |
12894 | (cd rcs && \ | |
12895 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12896 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12897 | "RANLIB=$${RANLIB}" \ | |
12898 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12899 | clean) \ | |
12900 | || exit 1 | |
12901 | ||
12902 | ||
12903 | .PHONY: maybe-clean-readline clean-readline | |
12904 | maybe-clean-readline: | |
12905 | ||
12906 | clean-readline: | |
12907 | @[ -f ./readline/Makefile ] || exit 0; \ | |
b40e3958 L |
12908 | r=`${PWD_COMMAND}`; export r; \ |
12909 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12910 | $(SET_LIB_PATH) \ |
12911 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12912 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12913 | done; \ | |
12914 | echo "Doing clean in readline" ; \ | |
12915 | (cd readline && \ | |
12916 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12917 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12918 | "RANLIB=$${RANLIB}" \ | |
12919 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12920 | clean) \ | |
12921 | || exit 1 | |
12922 | ||
12923 | ||
12924 | .PHONY: maybe-clean-release clean-release | |
12925 | maybe-clean-release: | |
12926 | ||
12927 | clean-release: | |
12928 | @[ -f ./release/Makefile ] || exit 0; \ | |
b40e3958 L |
12929 | r=`${PWD_COMMAND}`; export r; \ |
12930 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12931 | $(SET_LIB_PATH) \ |
12932 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12933 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12934 | done; \ | |
12935 | echo "Doing clean in release" ; \ | |
12936 | (cd release && \ | |
12937 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12938 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12939 | "RANLIB=$${RANLIB}" \ | |
12940 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12941 | clean) \ | |
12942 | || exit 1 | |
12943 | ||
12944 | ||
12945 | .PHONY: maybe-clean-recode clean-recode | |
12946 | maybe-clean-recode: | |
12947 | ||
12948 | clean-recode: | |
12949 | @[ -f ./recode/Makefile ] || exit 0; \ | |
b40e3958 L |
12950 | r=`${PWD_COMMAND}`; export r; \ |
12951 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12952 | $(SET_LIB_PATH) \ |
12953 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12954 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12955 | done; \ | |
12956 | echo "Doing clean in recode" ; \ | |
12957 | (cd recode && \ | |
12958 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12959 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12960 | "RANLIB=$${RANLIB}" \ | |
12961 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12962 | clean) \ | |
12963 | || exit 1 | |
12964 | ||
12965 | ||
12966 | .PHONY: maybe-clean-sed clean-sed | |
12967 | maybe-clean-sed: | |
12968 | ||
12969 | clean-sed: | |
12970 | @[ -f ./sed/Makefile ] || exit 0; \ | |
b40e3958 L |
12971 | r=`${PWD_COMMAND}`; export r; \ |
12972 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12973 | $(SET_LIB_PATH) \ |
12974 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12975 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12976 | done; \ | |
12977 | echo "Doing clean in sed" ; \ | |
12978 | (cd sed && \ | |
12979 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12980 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12981 | "RANLIB=$${RANLIB}" \ | |
12982 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12983 | clean) \ | |
12984 | || exit 1 | |
12985 | ||
12986 | ||
12987 | .PHONY: maybe-clean-send-pr clean-send-pr | |
12988 | maybe-clean-send-pr: | |
12989 | ||
12990 | clean-send-pr: | |
12991 | @[ -f ./send-pr/Makefile ] || exit 0; \ | |
b40e3958 L |
12992 | r=`${PWD_COMMAND}`; export r; \ |
12993 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
12994 | $(SET_LIB_PATH) \ |
12995 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12996 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12997 | done; \ | |
12998 | echo "Doing clean in send-pr" ; \ | |
12999 | (cd send-pr && \ | |
13000 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13001 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13002 | "RANLIB=$${RANLIB}" \ | |
13003 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13004 | clean) \ | |
13005 | || exit 1 | |
13006 | ||
13007 | ||
13008 | .PHONY: maybe-clean-shellutils clean-shellutils | |
13009 | maybe-clean-shellutils: | |
13010 | ||
13011 | clean-shellutils: | |
13012 | @[ -f ./shellutils/Makefile ] || exit 0; \ | |
b40e3958 L |
13013 | r=`${PWD_COMMAND}`; export r; \ |
13014 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13015 | $(SET_LIB_PATH) \ |
13016 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13017 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13018 | done; \ | |
13019 | echo "Doing clean in shellutils" ; \ | |
13020 | (cd shellutils && \ | |
13021 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13022 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13023 | "RANLIB=$${RANLIB}" \ | |
13024 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13025 | clean) \ | |
13026 | || exit 1 | |
13027 | ||
13028 | ||
13029 | .PHONY: maybe-clean-sid clean-sid | |
13030 | maybe-clean-sid: | |
13031 | ||
13032 | clean-sid: | |
13033 | @[ -f ./sid/Makefile ] || exit 0; \ | |
b40e3958 L |
13034 | r=`${PWD_COMMAND}`; export r; \ |
13035 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13036 | $(SET_LIB_PATH) \ |
13037 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13038 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13039 | done; \ | |
13040 | echo "Doing clean in sid" ; \ | |
13041 | (cd sid && \ | |
13042 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13043 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13044 | "RANLIB=$${RANLIB}" \ | |
13045 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13046 | clean) \ | |
13047 | || exit 1 | |
13048 | ||
13049 | ||
13050 | .PHONY: maybe-clean-sim clean-sim | |
13051 | maybe-clean-sim: | |
13052 | ||
13053 | clean-sim: | |
13054 | @[ -f ./sim/Makefile ] || exit 0; \ | |
b40e3958 L |
13055 | r=`${PWD_COMMAND}`; export r; \ |
13056 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13057 | $(SET_LIB_PATH) \ |
13058 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13059 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13060 | done; \ | |
13061 | echo "Doing clean in sim" ; \ | |
13062 | (cd sim && \ | |
13063 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13064 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13065 | "RANLIB=$${RANLIB}" \ | |
13066 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13067 | clean) \ | |
13068 | || exit 1 | |
13069 | ||
13070 | ||
13071 | .PHONY: maybe-clean-tar clean-tar | |
13072 | maybe-clean-tar: | |
13073 | ||
13074 | clean-tar: | |
13075 | @[ -f ./tar/Makefile ] || exit 0; \ | |
b40e3958 L |
13076 | r=`${PWD_COMMAND}`; export r; \ |
13077 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13078 | $(SET_LIB_PATH) \ |
13079 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13080 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13081 | done; \ | |
13082 | echo "Doing clean in tar" ; \ | |
13083 | (cd tar && \ | |
13084 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13085 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13086 | "RANLIB=$${RANLIB}" \ | |
13087 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13088 | clean) \ | |
13089 | || exit 1 | |
13090 | ||
13091 | ||
13092 | .PHONY: maybe-clean-texinfo clean-texinfo | |
13093 | maybe-clean-texinfo: | |
13094 | ||
13095 | clean-texinfo: | |
13096 | @[ -f ./texinfo/Makefile ] || exit 0; \ | |
b40e3958 L |
13097 | r=`${PWD_COMMAND}`; export r; \ |
13098 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13099 | $(SET_LIB_PATH) \ |
13100 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13101 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13102 | done; \ | |
13103 | echo "Doing clean in texinfo" ; \ | |
13104 | (cd texinfo && \ | |
13105 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13106 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13107 | "RANLIB=$${RANLIB}" \ | |
13108 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13109 | clean) \ | |
13110 | || exit 1 | |
13111 | ||
13112 | ||
13113 | .PHONY: maybe-clean-textutils clean-textutils | |
13114 | maybe-clean-textutils: | |
13115 | ||
13116 | clean-textutils: | |
13117 | @[ -f ./textutils/Makefile ] || exit 0; \ | |
b40e3958 L |
13118 | r=`${PWD_COMMAND}`; export r; \ |
13119 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13120 | $(SET_LIB_PATH) \ |
13121 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13122 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13123 | done; \ | |
13124 | echo "Doing clean in textutils" ; \ | |
13125 | (cd textutils && \ | |
13126 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13127 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13128 | "RANLIB=$${RANLIB}" \ | |
13129 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13130 | clean) \ | |
13131 | || exit 1 | |
13132 | ||
13133 | ||
13134 | .PHONY: maybe-clean-time clean-time | |
13135 | maybe-clean-time: | |
13136 | ||
13137 | clean-time: | |
13138 | @[ -f ./time/Makefile ] || exit 0; \ | |
b40e3958 L |
13139 | r=`${PWD_COMMAND}`; export r; \ |
13140 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13141 | $(SET_LIB_PATH) \ |
13142 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13143 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13144 | done; \ | |
13145 | echo "Doing clean in time" ; \ | |
13146 | (cd time && \ | |
13147 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13148 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13149 | "RANLIB=$${RANLIB}" \ | |
13150 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13151 | clean) \ | |
13152 | || exit 1 | |
13153 | ||
13154 | ||
13155 | .PHONY: maybe-clean-uudecode clean-uudecode | |
13156 | maybe-clean-uudecode: | |
13157 | ||
13158 | clean-uudecode: | |
13159 | @[ -f ./uudecode/Makefile ] || exit 0; \ | |
b40e3958 L |
13160 | r=`${PWD_COMMAND}`; export r; \ |
13161 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13162 | $(SET_LIB_PATH) \ |
13163 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13164 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13165 | done; \ | |
13166 | echo "Doing clean in uudecode" ; \ | |
13167 | (cd uudecode && \ | |
13168 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13169 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13170 | "RANLIB=$${RANLIB}" \ | |
13171 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13172 | clean) \ | |
13173 | || exit 1 | |
13174 | ||
13175 | ||
13176 | .PHONY: maybe-clean-wdiff clean-wdiff | |
13177 | maybe-clean-wdiff: | |
13178 | ||
13179 | clean-wdiff: | |
13180 | @[ -f ./wdiff/Makefile ] || exit 0; \ | |
b40e3958 L |
13181 | r=`${PWD_COMMAND}`; export r; \ |
13182 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13183 | $(SET_LIB_PATH) \ |
13184 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13185 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13186 | done; \ | |
13187 | echo "Doing clean in wdiff" ; \ | |
13188 | (cd wdiff && \ | |
13189 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13190 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13191 | "RANLIB=$${RANLIB}" \ | |
13192 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13193 | clean) \ | |
13194 | || exit 1 | |
13195 | ||
13196 | ||
13197 | .PHONY: maybe-clean-zip clean-zip | |
13198 | maybe-clean-zip: | |
13199 | ||
13200 | clean-zip: | |
13201 | @[ -f ./zip/Makefile ] || exit 0; \ | |
b40e3958 L |
13202 | r=`${PWD_COMMAND}`; export r; \ |
13203 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13204 | $(SET_LIB_PATH) \ |
13205 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13206 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13207 | done; \ | |
13208 | echo "Doing clean in zip" ; \ | |
13209 | (cd zip && \ | |
13210 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13211 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13212 | "RANLIB=$${RANLIB}" \ | |
13213 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13214 | clean) \ | |
13215 | || exit 1 | |
13216 | ||
13217 | ||
13218 | .PHONY: maybe-clean-zlib clean-zlib | |
13219 | maybe-clean-zlib: | |
13220 | ||
13221 | clean-zlib: | |
13222 | @[ -f ./zlib/Makefile ] || exit 0; \ | |
b40e3958 L |
13223 | r=`${PWD_COMMAND}`; export r; \ |
13224 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13225 | $(SET_LIB_PATH) \ |
13226 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13227 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13228 | done; \ | |
13229 | echo "Doing clean in zlib" ; \ | |
13230 | (cd zlib && \ | |
13231 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13232 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13233 | "RANLIB=$${RANLIB}" \ | |
13234 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13235 | clean) \ | |
13236 | || exit 1 | |
13237 | ||
13238 | ||
13239 | .PHONY: maybe-clean-gdb clean-gdb | |
13240 | maybe-clean-gdb: | |
13241 | ||
13242 | clean-gdb: | |
13243 | @[ -f ./gdb/Makefile ] || exit 0; \ | |
b40e3958 L |
13244 | r=`${PWD_COMMAND}`; export r; \ |
13245 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13246 | $(SET_LIB_PATH) \ |
13247 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13248 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13249 | done; \ | |
13250 | echo "Doing clean in gdb" ; \ | |
13251 | (cd gdb && \ | |
13252 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13253 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13254 | "RANLIB=$${RANLIB}" \ | |
13255 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13256 | clean) \ | |
13257 | || exit 1 | |
13258 | ||
13259 | ||
13260 | .PHONY: maybe-clean-expect clean-expect | |
13261 | maybe-clean-expect: | |
13262 | ||
13263 | clean-expect: | |
13264 | @[ -f ./expect/Makefile ] || exit 0; \ | |
b40e3958 L |
13265 | r=`${PWD_COMMAND}`; export r; \ |
13266 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13267 | $(SET_LIB_PATH) \ |
13268 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13269 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13270 | done; \ | |
13271 | echo "Doing clean in expect" ; \ | |
13272 | (cd expect && \ | |
13273 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13274 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13275 | "RANLIB=$${RANLIB}" \ | |
13276 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13277 | clean) \ | |
13278 | || exit 1 | |
13279 | ||
13280 | ||
13281 | .PHONY: maybe-clean-guile clean-guile | |
13282 | maybe-clean-guile: | |
13283 | ||
13284 | clean-guile: | |
13285 | @[ -f ./guile/Makefile ] || exit 0; \ | |
b40e3958 L |
13286 | r=`${PWD_COMMAND}`; export r; \ |
13287 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13288 | $(SET_LIB_PATH) \ |
13289 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13290 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13291 | done; \ | |
13292 | echo "Doing clean in guile" ; \ | |
13293 | (cd guile && \ | |
13294 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13295 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13296 | "RANLIB=$${RANLIB}" \ | |
13297 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13298 | clean) \ | |
13299 | || exit 1 | |
13300 | ||
13301 | ||
13302 | .PHONY: maybe-clean-tk clean-tk | |
13303 | maybe-clean-tk: | |
13304 | ||
13305 | clean-tk: | |
13306 | @[ -f ./tk/Makefile ] || exit 0; \ | |
b40e3958 L |
13307 | r=`${PWD_COMMAND}`; export r; \ |
13308 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13309 | $(SET_LIB_PATH) \ |
13310 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13311 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13312 | done; \ | |
13313 | echo "Doing clean in tk" ; \ | |
13314 | (cd tk && \ | |
13315 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13316 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13317 | "RANLIB=$${RANLIB}" \ | |
13318 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13319 | clean) \ | |
13320 | || exit 1 | |
13321 | ||
13322 | ||
13323 | .PHONY: maybe-clean-tix clean-tix | |
13324 | maybe-clean-tix: | |
13325 | ||
13326 | clean-tix: | |
13327 | @[ -f ./tix/Makefile ] || exit 0; \ | |
b40e3958 L |
13328 | r=`${PWD_COMMAND}`; export r; \ |
13329 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13330 | $(SET_LIB_PATH) \ |
13331 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13332 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13333 | done; \ | |
13334 | echo "Doing clean in tix" ; \ | |
13335 | (cd tix && \ | |
13336 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13337 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13338 | "RANLIB=$${RANLIB}" \ | |
13339 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13340 | clean) \ | |
13341 | || exit 1 | |
13342 | ||
13343 | ||
13344 | .PHONY: maybe-clean-libtermcap clean-libtermcap | |
13345 | maybe-clean-libtermcap: | |
13346 | ||
13347 | # libtermcap doesn't support clean. | |
13348 | clean-libtermcap: | |
13349 | ||
13350 | ||
13351 | .PHONY: maybe-clean-utils clean-utils | |
13352 | maybe-clean-utils: | |
13353 | ||
13354 | clean-utils: | |
13355 | @[ -f ./utils/Makefile ] || exit 0; \ | |
b40e3958 L |
13356 | r=`${PWD_COMMAND}`; export r; \ |
13357 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13358 | $(SET_LIB_PATH) \ |
13359 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13360 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13361 | done; \ | |
13362 | echo "Doing clean in utils" ; \ | |
13363 | (cd utils && \ | |
13364 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13365 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13366 | "RANLIB=$${RANLIB}" \ | |
13367 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13368 | clean) \ | |
13369 | || exit 1 | |
13370 | ||
13371 | ||
13372 | ||
13373 | # Target modules. | |
13374 | ||
13375 | .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3 | |
13376 | maybe-clean-target-libstdc++-v3: | |
13377 | ||
13378 | clean-target-libstdc++-v3: | |
13379 | @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ | |
b40e3958 L |
13380 | r=`${PWD_COMMAND}`; export r; \ |
13381 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13382 | $(SET_LIB_PATH) \ |
13383 | echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \ | |
13384 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13385 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13386 | done; \ | |
13387 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
13388 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13389 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13390 | "RANLIB=$${RANLIB}" \ | |
13391 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13392 | clean) \ | |
13393 | || exit 1 | |
13394 | ||
13395 | ||
13396 | .PHONY: maybe-clean-target-newlib clean-target-newlib | |
13397 | maybe-clean-target-newlib: | |
13398 | ||
13399 | clean-target-newlib: | |
13400 | @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
13401 | r=`${PWD_COMMAND}`; export r; \ |
13402 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13403 | $(SET_LIB_PATH) \ |
13404 | echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \ | |
13405 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13406 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13407 | done; \ | |
13408 | (cd $(TARGET_SUBDIR)/newlib && \ | |
13409 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13410 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13411 | "RANLIB=$${RANLIB}" \ | |
13412 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13413 | clean) \ | |
13414 | || exit 1 | |
13415 | ||
13416 | ||
13417 | .PHONY: maybe-clean-target-libf2c clean-target-libf2c | |
13418 | maybe-clean-target-libf2c: | |
13419 | ||
13420 | clean-target-libf2c: | |
13421 | @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \ | |
b40e3958 L |
13422 | r=`${PWD_COMMAND}`; export r; \ |
13423 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13424 | $(SET_LIB_PATH) \ |
13425 | echo "Doing clean in $(TARGET_SUBDIR)/libf2c" ; \ | |
13426 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13427 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13428 | done; \ | |
13429 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
13430 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13431 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13432 | "RANLIB=$${RANLIB}" \ | |
13433 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13434 | clean) \ | |
13435 | || exit 1 | |
13436 | ||
13437 | ||
13438 | .PHONY: maybe-clean-target-libobjc clean-target-libobjc | |
13439 | maybe-clean-target-libobjc: | |
13440 | ||
13441 | clean-target-libobjc: | |
13442 | @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
13443 | r=`${PWD_COMMAND}`; export r; \ |
13444 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13445 | $(SET_LIB_PATH) \ |
13446 | echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \ | |
13447 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13448 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13449 | done; \ | |
13450 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
13451 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13452 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13453 | "RANLIB=$${RANLIB}" \ | |
13454 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13455 | clean) \ | |
13456 | || exit 1 | |
13457 | ||
13458 | ||
13459 | .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap | |
13460 | maybe-clean-target-libtermcap: | |
13461 | ||
13462 | # libtermcap doesn't support clean. | |
123494c8 | 13463 | clean-target-libtermcap: |
2a4cbe27 NN |
13464 | |
13465 | ||
13466 | .PHONY: maybe-clean-target-winsup clean-target-winsup | |
13467 | maybe-clean-target-winsup: | |
13468 | ||
13469 | clean-target-winsup: | |
13470 | @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ | |
b40e3958 L |
13471 | r=`${PWD_COMMAND}`; export r; \ |
13472 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13473 | $(SET_LIB_PATH) \ |
13474 | echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \ | |
13475 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13476 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13477 | done; \ | |
13478 | (cd $(TARGET_SUBDIR)/winsup && \ | |
13479 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13480 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13481 | "RANLIB=$${RANLIB}" \ | |
13482 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13483 | clean) \ | |
13484 | || exit 1 | |
13485 | ||
13486 | ||
13487 | .PHONY: maybe-clean-target-libgloss clean-target-libgloss | |
13488 | maybe-clean-target-libgloss: | |
13489 | ||
13490 | clean-target-libgloss: | |
13491 | @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ | |
b40e3958 L |
13492 | r=`${PWD_COMMAND}`; export r; \ |
13493 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13494 | $(SET_LIB_PATH) \ |
13495 | echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \ | |
13496 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13497 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13498 | done; \ | |
13499 | (cd $(TARGET_SUBDIR)/libgloss && \ | |
13500 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13501 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13502 | "RANLIB=$${RANLIB}" \ | |
13503 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13504 | clean) \ | |
13505 | || exit 1 | |
13506 | ||
13507 | ||
13508 | .PHONY: maybe-clean-target-libiberty clean-target-libiberty | |
13509 | maybe-clean-target-libiberty: | |
13510 | ||
13511 | clean-target-libiberty: | |
13512 | @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ | |
b40e3958 L |
13513 | r=`${PWD_COMMAND}`; export r; \ |
13514 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13515 | $(SET_LIB_PATH) \ |
13516 | echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \ | |
13517 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13518 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13519 | done; \ | |
13520 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
13521 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13522 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13523 | "RANLIB=$${RANLIB}" \ | |
13524 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13525 | clean) \ | |
13526 | || exit 1 | |
13527 | ||
13528 | ||
13529 | .PHONY: maybe-clean-target-gperf clean-target-gperf | |
13530 | maybe-clean-target-gperf: | |
13531 | ||
13532 | clean-target-gperf: | |
13533 | @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ | |
b40e3958 L |
13534 | r=`${PWD_COMMAND}`; export r; \ |
13535 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13536 | $(SET_LIB_PATH) \ |
13537 | echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \ | |
13538 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13539 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13540 | done; \ | |
13541 | (cd $(TARGET_SUBDIR)/gperf && \ | |
13542 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13543 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13544 | "RANLIB=$${RANLIB}" \ | |
13545 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13546 | clean) \ | |
13547 | || exit 1 | |
13548 | ||
13549 | ||
13550 | .PHONY: maybe-clean-target-examples clean-target-examples | |
13551 | maybe-clean-target-examples: | |
13552 | ||
13553 | clean-target-examples: | |
13554 | @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ | |
b40e3958 L |
13555 | r=`${PWD_COMMAND}`; export r; \ |
13556 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13557 | $(SET_LIB_PATH) \ |
13558 | echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \ | |
13559 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13560 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13561 | done; \ | |
13562 | (cd $(TARGET_SUBDIR)/examples && \ | |
13563 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13564 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13565 | "RANLIB=$${RANLIB}" \ | |
13566 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13567 | clean) \ | |
13568 | || exit 1 | |
13569 | ||
13570 | ||
13571 | .PHONY: maybe-clean-target-libffi clean-target-libffi | |
13572 | maybe-clean-target-libffi: | |
13573 | ||
13574 | clean-target-libffi: | |
13575 | @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ | |
b40e3958 L |
13576 | r=`${PWD_COMMAND}`; export r; \ |
13577 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13578 | $(SET_LIB_PATH) \ |
13579 | echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \ | |
13580 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13581 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13582 | done; \ | |
13583 | (cd $(TARGET_SUBDIR)/libffi && \ | |
13584 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13585 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13586 | "RANLIB=$${RANLIB}" \ | |
13587 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13588 | clean) \ | |
13589 | || exit 1 | |
13590 | ||
13591 | ||
13592 | .PHONY: maybe-clean-target-libjava clean-target-libjava | |
13593 | maybe-clean-target-libjava: | |
13594 | ||
13595 | clean-target-libjava: | |
13596 | @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ | |
b40e3958 L |
13597 | r=`${PWD_COMMAND}`; export r; \ |
13598 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13599 | $(SET_LIB_PATH) \ |
13600 | echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \ | |
13601 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13602 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13603 | done; \ | |
13604 | (cd $(TARGET_SUBDIR)/libjava && \ | |
13605 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13606 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13607 | "RANLIB=$${RANLIB}" \ | |
13608 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13609 | clean) \ | |
13610 | || exit 1 | |
13611 | ||
13612 | ||
13613 | .PHONY: maybe-clean-target-zlib clean-target-zlib | |
13614 | maybe-clean-target-zlib: | |
13615 | ||
13616 | clean-target-zlib: | |
13617 | @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
13618 | r=`${PWD_COMMAND}`; export r; \ |
13619 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13620 | $(SET_LIB_PATH) \ |
13621 | echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \ | |
13622 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13623 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13624 | done; \ | |
13625 | (cd $(TARGET_SUBDIR)/zlib && \ | |
13626 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13627 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13628 | "RANLIB=$${RANLIB}" \ | |
13629 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13630 | clean) \ | |
13631 | || exit 1 | |
13632 | ||
13633 | ||
13634 | .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc | |
13635 | maybe-clean-target-boehm-gc: | |
13636 | ||
13637 | clean-target-boehm-gc: | |
13638 | @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
13639 | r=`${PWD_COMMAND}`; export r; \ |
13640 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13641 | $(SET_LIB_PATH) \ |
13642 | echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \ | |
13643 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13644 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13645 | done; \ | |
13646 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
13647 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13648 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13649 | "RANLIB=$${RANLIB}" \ | |
13650 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13651 | clean) \ | |
13652 | || exit 1 | |
13653 | ||
13654 | ||
13655 | .PHONY: maybe-clean-target-qthreads clean-target-qthreads | |
13656 | maybe-clean-target-qthreads: | |
13657 | ||
13658 | clean-target-qthreads: | |
13659 | @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ | |
b40e3958 L |
13660 | r=`${PWD_COMMAND}`; export r; \ |
13661 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13662 | $(SET_LIB_PATH) \ |
13663 | echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \ | |
13664 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13665 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13666 | done; \ | |
13667 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
13668 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13669 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13670 | "RANLIB=$${RANLIB}" \ | |
13671 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13672 | clean) \ | |
13673 | || exit 1 | |
13674 | ||
13675 | ||
13676 | .PHONY: maybe-clean-target-rda clean-target-rda | |
13677 | maybe-clean-target-rda: | |
13678 | ||
13679 | clean-target-rda: | |
13680 | @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ | |
b40e3958 L |
13681 | r=`${PWD_COMMAND}`; export r; \ |
13682 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13683 | $(SET_LIB_PATH) \ |
13684 | echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \ | |
13685 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13686 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13687 | done; \ | |
13688 | (cd $(TARGET_SUBDIR)/rda && \ | |
13689 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13690 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13691 | "RANLIB=$${RANLIB}" \ | |
13692 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13693 | clean) \ | |
13694 | || exit 1 | |
13695 | ||
13696 | ||
13697 | ||
13698 | .PHONY: do-distclean | |
13699 | do-distclean: distclean-host distclean-target | |
13700 | ||
13701 | .PHONY: distclean-host | |
13702 | distclean-host: maybe-distclean-gcc \ | |
13703 | maybe-distclean-ash \ | |
13704 | maybe-distclean-autoconf \ | |
13705 | maybe-distclean-automake \ | |
13706 | maybe-distclean-bash \ | |
13707 | maybe-distclean-bfd \ | |
13708 | maybe-distclean-opcodes \ | |
13709 | maybe-distclean-binutils \ | |
13710 | maybe-distclean-bison \ | |
13711 | maybe-distclean-byacc \ | |
13712 | maybe-distclean-bzip2 \ | |
13713 | maybe-distclean-dejagnu \ | |
13714 | maybe-distclean-diff \ | |
13715 | maybe-distclean-dosutils \ | |
13716 | maybe-distclean-etc \ | |
13717 | maybe-distclean-fastjar \ | |
13718 | maybe-distclean-fileutils \ | |
13719 | maybe-distclean-findutils \ | |
13720 | maybe-distclean-find \ | |
13721 | maybe-distclean-flex \ | |
13722 | maybe-distclean-gas \ | |
13723 | maybe-distclean-gawk \ | |
13724 | maybe-distclean-gettext \ | |
13725 | maybe-distclean-gnuserv \ | |
13726 | maybe-distclean-gprof \ | |
13727 | maybe-distclean-gzip \ | |
13728 | maybe-distclean-hello \ | |
13729 | maybe-distclean-indent \ | |
13730 | maybe-distclean-intl \ | |
13731 | maybe-distclean-tcl \ | |
13732 | maybe-distclean-itcl \ | |
13733 | maybe-distclean-ld \ | |
13734 | maybe-distclean-libgui \ | |
13735 | maybe-distclean-libiberty \ | |
13736 | maybe-distclean-libtool \ | |
13737 | maybe-distclean-m4 \ | |
13738 | maybe-distclean-make \ | |
13739 | maybe-distclean-mmalloc \ | |
13740 | maybe-distclean-patch \ | |
13741 | maybe-distclean-perl \ | |
13742 | maybe-distclean-prms \ | |
13743 | maybe-distclean-rcs \ | |
13744 | maybe-distclean-readline \ | |
13745 | maybe-distclean-release \ | |
13746 | maybe-distclean-recode \ | |
13747 | maybe-distclean-sed \ | |
13748 | maybe-distclean-send-pr \ | |
13749 | maybe-distclean-shellutils \ | |
13750 | maybe-distclean-sid \ | |
13751 | maybe-distclean-sim \ | |
13752 | maybe-distclean-tar \ | |
13753 | maybe-distclean-texinfo \ | |
13754 | maybe-distclean-textutils \ | |
13755 | maybe-distclean-time \ | |
13756 | maybe-distclean-uudecode \ | |
13757 | maybe-distclean-wdiff \ | |
13758 | maybe-distclean-zip \ | |
13759 | maybe-distclean-zlib \ | |
13760 | maybe-distclean-gdb \ | |
13761 | maybe-distclean-expect \ | |
13762 | maybe-distclean-guile \ | |
13763 | maybe-distclean-tk \ | |
13764 | maybe-distclean-tix \ | |
13765 | maybe-distclean-libtermcap \ | |
13766 | maybe-distclean-utils | |
13767 | ||
13768 | .PHONY: distclean-target | |
13769 | distclean-target: \ | |
13770 | maybe-distclean-target-libstdc++-v3 \ | |
13771 | maybe-distclean-target-newlib \ | |
13772 | maybe-distclean-target-libf2c \ | |
13773 | maybe-distclean-target-libobjc \ | |
13774 | maybe-distclean-target-libtermcap \ | |
13775 | maybe-distclean-target-winsup \ | |
13776 | maybe-distclean-target-libgloss \ | |
13777 | maybe-distclean-target-libiberty \ | |
13778 | maybe-distclean-target-gperf \ | |
13779 | maybe-distclean-target-examples \ | |
13780 | maybe-distclean-target-libffi \ | |
13781 | maybe-distclean-target-libjava \ | |
13782 | maybe-distclean-target-zlib \ | |
13783 | maybe-distclean-target-boehm-gc \ | |
13784 | maybe-distclean-target-qthreads \ | |
13785 | maybe-distclean-target-rda | |
13786 | ||
13787 | # GCC, the eternal special case | |
13788 | .PHONY: maybe-distclean-gcc distclean-gcc | |
13789 | maybe-distclean-gcc: | |
13790 | distclean-gcc: | |
13791 | @[ -f ./gcc/Makefile ] || exit 0; \ | |
b40e3958 L |
13792 | r=`${PWD_COMMAND}`; export r; \ |
13793 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13794 | $(SET_LIB_PATH) \ |
13795 | for flag in $(EXTRA_GCC_FLAGS); do \ | |
13796 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13797 | done; \ | |
13798 | echo "Doing distclean in gcc" ; \ | |
13799 | (cd gcc && \ | |
13800 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13801 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13802 | "RANLIB=$${RANLIB}" \ | |
13803 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13804 | distclean) \ | |
13805 | || exit 1 | |
13806 | ||
13807 | # Host modules. | |
13808 | ||
13809 | .PHONY: maybe-distclean-ash distclean-ash | |
13810 | maybe-distclean-ash: | |
13811 | ||
13812 | distclean-ash: | |
13813 | @[ -f ./ash/Makefile ] || exit 0; \ | |
b40e3958 L |
13814 | r=`${PWD_COMMAND}`; export r; \ |
13815 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13816 | $(SET_LIB_PATH) \ |
13817 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13818 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13819 | done; \ | |
13820 | echo "Doing distclean in ash" ; \ | |
13821 | (cd ash && \ | |
13822 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13823 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13824 | "RANLIB=$${RANLIB}" \ | |
13825 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13826 | distclean) \ | |
13827 | || exit 1 | |
13828 | ||
13829 | ||
13830 | .PHONY: maybe-distclean-autoconf distclean-autoconf | |
13831 | maybe-distclean-autoconf: | |
13832 | ||
13833 | distclean-autoconf: | |
13834 | @[ -f ./autoconf/Makefile ] || exit 0; \ | |
b40e3958 L |
13835 | r=`${PWD_COMMAND}`; export r; \ |
13836 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13837 | $(SET_LIB_PATH) \ |
13838 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13839 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13840 | done; \ | |
13841 | echo "Doing distclean in autoconf" ; \ | |
13842 | (cd autoconf && \ | |
13843 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13844 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13845 | "RANLIB=$${RANLIB}" \ | |
13846 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13847 | distclean) \ | |
13848 | || exit 1 | |
13849 | ||
13850 | ||
13851 | .PHONY: maybe-distclean-automake distclean-automake | |
13852 | maybe-distclean-automake: | |
13853 | ||
13854 | distclean-automake: | |
13855 | @[ -f ./automake/Makefile ] || exit 0; \ | |
b40e3958 L |
13856 | r=`${PWD_COMMAND}`; export r; \ |
13857 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13858 | $(SET_LIB_PATH) \ |
13859 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13860 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13861 | done; \ | |
13862 | echo "Doing distclean in automake" ; \ | |
13863 | (cd automake && \ | |
13864 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13865 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13866 | "RANLIB=$${RANLIB}" \ | |
13867 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13868 | distclean) \ | |
13869 | || exit 1 | |
13870 | ||
13871 | ||
13872 | .PHONY: maybe-distclean-bash distclean-bash | |
13873 | maybe-distclean-bash: | |
13874 | ||
13875 | distclean-bash: | |
13876 | @[ -f ./bash/Makefile ] || exit 0; \ | |
b40e3958 L |
13877 | r=`${PWD_COMMAND}`; export r; \ |
13878 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13879 | $(SET_LIB_PATH) \ |
13880 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13881 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13882 | done; \ | |
13883 | echo "Doing distclean in bash" ; \ | |
13884 | (cd bash && \ | |
13885 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13886 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13887 | "RANLIB=$${RANLIB}" \ | |
13888 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13889 | distclean) \ | |
13890 | || exit 1 | |
13891 | ||
13892 | ||
13893 | .PHONY: maybe-distclean-bfd distclean-bfd | |
13894 | maybe-distclean-bfd: | |
13895 | ||
13896 | distclean-bfd: | |
13897 | @[ -f ./bfd/Makefile ] || exit 0; \ | |
b40e3958 L |
13898 | r=`${PWD_COMMAND}`; export r; \ |
13899 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13900 | $(SET_LIB_PATH) \ |
13901 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13902 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13903 | done; \ | |
13904 | echo "Doing distclean in bfd" ; \ | |
13905 | (cd bfd && \ | |
13906 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13907 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13908 | "RANLIB=$${RANLIB}" \ | |
13909 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13910 | distclean) \ | |
13911 | || exit 1 | |
13912 | ||
13913 | ||
13914 | .PHONY: maybe-distclean-opcodes distclean-opcodes | |
13915 | maybe-distclean-opcodes: | |
13916 | ||
13917 | distclean-opcodes: | |
13918 | @[ -f ./opcodes/Makefile ] || exit 0; \ | |
b40e3958 L |
13919 | r=`${PWD_COMMAND}`; export r; \ |
13920 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13921 | $(SET_LIB_PATH) \ |
13922 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13923 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13924 | done; \ | |
13925 | echo "Doing distclean in opcodes" ; \ | |
13926 | (cd opcodes && \ | |
13927 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13928 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13929 | "RANLIB=$${RANLIB}" \ | |
13930 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13931 | distclean) \ | |
13932 | || exit 1 | |
13933 | ||
13934 | ||
13935 | .PHONY: maybe-distclean-binutils distclean-binutils | |
13936 | maybe-distclean-binutils: | |
13937 | ||
13938 | distclean-binutils: | |
13939 | @[ -f ./binutils/Makefile ] || exit 0; \ | |
b40e3958 L |
13940 | r=`${PWD_COMMAND}`; export r; \ |
13941 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13942 | $(SET_LIB_PATH) \ |
13943 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13944 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13945 | done; \ | |
13946 | echo "Doing distclean in binutils" ; \ | |
13947 | (cd binutils && \ | |
13948 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13949 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13950 | "RANLIB=$${RANLIB}" \ | |
13951 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13952 | distclean) \ | |
13953 | || exit 1 | |
13954 | ||
13955 | ||
13956 | .PHONY: maybe-distclean-bison distclean-bison | |
13957 | maybe-distclean-bison: | |
13958 | ||
13959 | distclean-bison: | |
13960 | @[ -f ./bison/Makefile ] || exit 0; \ | |
b40e3958 L |
13961 | r=`${PWD_COMMAND}`; export r; \ |
13962 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13963 | $(SET_LIB_PATH) \ |
13964 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13965 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13966 | done; \ | |
13967 | echo "Doing distclean in bison" ; \ | |
13968 | (cd bison && \ | |
13969 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13970 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13971 | "RANLIB=$${RANLIB}" \ | |
13972 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13973 | distclean) \ | |
13974 | || exit 1 | |
13975 | ||
13976 | ||
13977 | .PHONY: maybe-distclean-byacc distclean-byacc | |
13978 | maybe-distclean-byacc: | |
13979 | ||
13980 | distclean-byacc: | |
13981 | @[ -f ./byacc/Makefile ] || exit 0; \ | |
b40e3958 L |
13982 | r=`${PWD_COMMAND}`; export r; \ |
13983 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
13984 | $(SET_LIB_PATH) \ |
13985 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13986 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13987 | done; \ | |
13988 | echo "Doing distclean in byacc" ; \ | |
13989 | (cd byacc && \ | |
13990 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13991 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13992 | "RANLIB=$${RANLIB}" \ | |
13993 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13994 | distclean) \ | |
13995 | || exit 1 | |
13996 | ||
13997 | ||
13998 | .PHONY: maybe-distclean-bzip2 distclean-bzip2 | |
13999 | maybe-distclean-bzip2: | |
14000 | ||
14001 | distclean-bzip2: | |
14002 | @[ -f ./bzip2/Makefile ] || exit 0; \ | |
b40e3958 L |
14003 | r=`${PWD_COMMAND}`; export r; \ |
14004 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14005 | $(SET_LIB_PATH) \ |
14006 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14007 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14008 | done; \ | |
14009 | echo "Doing distclean in bzip2" ; \ | |
14010 | (cd bzip2 && \ | |
14011 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14012 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14013 | "RANLIB=$${RANLIB}" \ | |
14014 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14015 | distclean) \ | |
14016 | || exit 1 | |
14017 | ||
14018 | ||
14019 | .PHONY: maybe-distclean-dejagnu distclean-dejagnu | |
14020 | maybe-distclean-dejagnu: | |
14021 | ||
14022 | distclean-dejagnu: | |
14023 | @[ -f ./dejagnu/Makefile ] || exit 0; \ | |
b40e3958 L |
14024 | r=`${PWD_COMMAND}`; export r; \ |
14025 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14026 | $(SET_LIB_PATH) \ |
14027 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14028 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14029 | done; \ | |
14030 | echo "Doing distclean in dejagnu" ; \ | |
14031 | (cd dejagnu && \ | |
14032 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14033 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14034 | "RANLIB=$${RANLIB}" \ | |
14035 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14036 | distclean) \ | |
14037 | || exit 1 | |
14038 | ||
14039 | ||
14040 | .PHONY: maybe-distclean-diff distclean-diff | |
14041 | maybe-distclean-diff: | |
14042 | ||
14043 | distclean-diff: | |
14044 | @[ -f ./diff/Makefile ] || exit 0; \ | |
b40e3958 L |
14045 | r=`${PWD_COMMAND}`; export r; \ |
14046 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14047 | $(SET_LIB_PATH) \ |
14048 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14049 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14050 | done; \ | |
14051 | echo "Doing distclean in diff" ; \ | |
14052 | (cd diff && \ | |
14053 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14054 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14055 | "RANLIB=$${RANLIB}" \ | |
14056 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14057 | distclean) \ | |
14058 | || exit 1 | |
14059 | ||
14060 | ||
14061 | .PHONY: maybe-distclean-dosutils distclean-dosutils | |
14062 | maybe-distclean-dosutils: | |
14063 | ||
14064 | distclean-dosutils: | |
14065 | @[ -f ./dosutils/Makefile ] || exit 0; \ | |
b40e3958 L |
14066 | r=`${PWD_COMMAND}`; export r; \ |
14067 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14068 | $(SET_LIB_PATH) \ |
14069 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14070 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14071 | done; \ | |
14072 | echo "Doing distclean in dosutils" ; \ | |
14073 | (cd dosutils && \ | |
14074 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14075 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14076 | "RANLIB=$${RANLIB}" \ | |
14077 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14078 | distclean) \ | |
14079 | || exit 1 | |
14080 | ||
14081 | ||
14082 | .PHONY: maybe-distclean-etc distclean-etc | |
14083 | maybe-distclean-etc: | |
14084 | ||
14085 | distclean-etc: | |
14086 | @[ -f ./etc/Makefile ] || exit 0; \ | |
b40e3958 L |
14087 | r=`${PWD_COMMAND}`; export r; \ |
14088 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14089 | $(SET_LIB_PATH) \ |
14090 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14091 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14092 | done; \ | |
14093 | echo "Doing distclean in etc" ; \ | |
14094 | (cd etc && \ | |
14095 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14096 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14097 | "RANLIB=$${RANLIB}" \ | |
14098 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14099 | distclean) \ | |
14100 | || exit 1 | |
14101 | ||
14102 | ||
14103 | .PHONY: maybe-distclean-fastjar distclean-fastjar | |
14104 | maybe-distclean-fastjar: | |
14105 | ||
14106 | distclean-fastjar: | |
14107 | @[ -f ./fastjar/Makefile ] || exit 0; \ | |
b40e3958 L |
14108 | r=`${PWD_COMMAND}`; export r; \ |
14109 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14110 | $(SET_LIB_PATH) \ |
14111 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14112 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14113 | done; \ | |
14114 | echo "Doing distclean in fastjar" ; \ | |
14115 | (cd fastjar && \ | |
14116 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14117 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14118 | "RANLIB=$${RANLIB}" \ | |
14119 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14120 | distclean) \ | |
14121 | || exit 1 | |
14122 | ||
14123 | ||
14124 | .PHONY: maybe-distclean-fileutils distclean-fileutils | |
14125 | maybe-distclean-fileutils: | |
14126 | ||
14127 | distclean-fileutils: | |
14128 | @[ -f ./fileutils/Makefile ] || exit 0; \ | |
b40e3958 L |
14129 | r=`${PWD_COMMAND}`; export r; \ |
14130 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14131 | $(SET_LIB_PATH) \ |
14132 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14133 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14134 | done; \ | |
14135 | echo "Doing distclean in fileutils" ; \ | |
14136 | (cd fileutils && \ | |
14137 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14138 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14139 | "RANLIB=$${RANLIB}" \ | |
14140 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14141 | distclean) \ | |
14142 | || exit 1 | |
14143 | ||
14144 | ||
14145 | .PHONY: maybe-distclean-findutils distclean-findutils | |
14146 | maybe-distclean-findutils: | |
14147 | ||
14148 | distclean-findutils: | |
14149 | @[ -f ./findutils/Makefile ] || exit 0; \ | |
b40e3958 L |
14150 | r=`${PWD_COMMAND}`; export r; \ |
14151 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14152 | $(SET_LIB_PATH) \ |
14153 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14154 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14155 | done; \ | |
14156 | echo "Doing distclean in findutils" ; \ | |
14157 | (cd findutils && \ | |
14158 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14159 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14160 | "RANLIB=$${RANLIB}" \ | |
14161 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14162 | distclean) \ | |
14163 | || exit 1 | |
14164 | ||
14165 | ||
14166 | .PHONY: maybe-distclean-find distclean-find | |
14167 | maybe-distclean-find: | |
14168 | ||
14169 | distclean-find: | |
14170 | @[ -f ./find/Makefile ] || exit 0; \ | |
b40e3958 L |
14171 | r=`${PWD_COMMAND}`; export r; \ |
14172 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14173 | $(SET_LIB_PATH) \ |
14174 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14175 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14176 | done; \ | |
14177 | echo "Doing distclean in find" ; \ | |
14178 | (cd find && \ | |
14179 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14180 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14181 | "RANLIB=$${RANLIB}" \ | |
14182 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14183 | distclean) \ | |
14184 | || exit 1 | |
14185 | ||
14186 | ||
14187 | .PHONY: maybe-distclean-flex distclean-flex | |
14188 | maybe-distclean-flex: | |
14189 | ||
14190 | distclean-flex: | |
14191 | @[ -f ./flex/Makefile ] || exit 0; \ | |
b40e3958 L |
14192 | r=`${PWD_COMMAND}`; export r; \ |
14193 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14194 | $(SET_LIB_PATH) \ |
14195 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14196 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14197 | done; \ | |
14198 | echo "Doing distclean in flex" ; \ | |
14199 | (cd flex && \ | |
14200 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14201 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14202 | "RANLIB=$${RANLIB}" \ | |
14203 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14204 | distclean) \ | |
14205 | || exit 1 | |
14206 | ||
14207 | ||
14208 | .PHONY: maybe-distclean-gas distclean-gas | |
14209 | maybe-distclean-gas: | |
14210 | ||
14211 | distclean-gas: | |
14212 | @[ -f ./gas/Makefile ] || exit 0; \ | |
b40e3958 L |
14213 | r=`${PWD_COMMAND}`; export r; \ |
14214 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14215 | $(SET_LIB_PATH) \ |
14216 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14217 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14218 | done; \ | |
14219 | echo "Doing distclean in gas" ; \ | |
14220 | (cd gas && \ | |
14221 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14222 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14223 | "RANLIB=$${RANLIB}" \ | |
14224 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14225 | distclean) \ | |
14226 | || exit 1 | |
14227 | ||
14228 | ||
14229 | .PHONY: maybe-distclean-gawk distclean-gawk | |
14230 | maybe-distclean-gawk: | |
14231 | ||
14232 | distclean-gawk: | |
14233 | @[ -f ./gawk/Makefile ] || exit 0; \ | |
b40e3958 L |
14234 | r=`${PWD_COMMAND}`; export r; \ |
14235 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14236 | $(SET_LIB_PATH) \ |
14237 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14238 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14239 | done; \ | |
14240 | echo "Doing distclean in gawk" ; \ | |
14241 | (cd gawk && \ | |
14242 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14243 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14244 | "RANLIB=$${RANLIB}" \ | |
14245 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14246 | distclean) \ | |
14247 | || exit 1 | |
14248 | ||
14249 | ||
14250 | .PHONY: maybe-distclean-gettext distclean-gettext | |
14251 | maybe-distclean-gettext: | |
14252 | ||
14253 | distclean-gettext: | |
14254 | @[ -f ./gettext/Makefile ] || exit 0; \ | |
b40e3958 L |
14255 | r=`${PWD_COMMAND}`; export r; \ |
14256 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14257 | $(SET_LIB_PATH) \ |
14258 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14259 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14260 | done; \ | |
14261 | echo "Doing distclean in gettext" ; \ | |
14262 | (cd gettext && \ | |
14263 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14264 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14265 | "RANLIB=$${RANLIB}" \ | |
14266 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14267 | distclean) \ | |
14268 | || exit 1 | |
14269 | ||
14270 | ||
14271 | .PHONY: maybe-distclean-gnuserv distclean-gnuserv | |
14272 | maybe-distclean-gnuserv: | |
14273 | ||
14274 | distclean-gnuserv: | |
14275 | @[ -f ./gnuserv/Makefile ] || exit 0; \ | |
b40e3958 L |
14276 | r=`${PWD_COMMAND}`; export r; \ |
14277 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14278 | $(SET_LIB_PATH) \ |
14279 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14280 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14281 | done; \ | |
14282 | echo "Doing distclean in gnuserv" ; \ | |
14283 | (cd gnuserv && \ | |
14284 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14285 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14286 | "RANLIB=$${RANLIB}" \ | |
14287 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14288 | distclean) \ | |
14289 | || exit 1 | |
14290 | ||
14291 | ||
14292 | .PHONY: maybe-distclean-gprof distclean-gprof | |
14293 | maybe-distclean-gprof: | |
14294 | ||
14295 | distclean-gprof: | |
14296 | @[ -f ./gprof/Makefile ] || exit 0; \ | |
b40e3958 L |
14297 | r=`${PWD_COMMAND}`; export r; \ |
14298 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14299 | $(SET_LIB_PATH) \ |
14300 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14301 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14302 | done; \ | |
14303 | echo "Doing distclean in gprof" ; \ | |
14304 | (cd gprof && \ | |
14305 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14306 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14307 | "RANLIB=$${RANLIB}" \ | |
14308 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14309 | distclean) \ | |
14310 | || exit 1 | |
14311 | ||
14312 | ||
14313 | .PHONY: maybe-distclean-gzip distclean-gzip | |
14314 | maybe-distclean-gzip: | |
14315 | ||
14316 | distclean-gzip: | |
14317 | @[ -f ./gzip/Makefile ] || exit 0; \ | |
b40e3958 L |
14318 | r=`${PWD_COMMAND}`; export r; \ |
14319 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14320 | $(SET_LIB_PATH) \ |
14321 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14322 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14323 | done; \ | |
14324 | echo "Doing distclean in gzip" ; \ | |
14325 | (cd gzip && \ | |
14326 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14327 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14328 | "RANLIB=$${RANLIB}" \ | |
14329 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14330 | distclean) \ | |
14331 | || exit 1 | |
14332 | ||
14333 | ||
14334 | .PHONY: maybe-distclean-hello distclean-hello | |
14335 | maybe-distclean-hello: | |
14336 | ||
14337 | distclean-hello: | |
14338 | @[ -f ./hello/Makefile ] || exit 0; \ | |
b40e3958 L |
14339 | r=`${PWD_COMMAND}`; export r; \ |
14340 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14341 | $(SET_LIB_PATH) \ |
14342 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14343 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14344 | done; \ | |
14345 | echo "Doing distclean in hello" ; \ | |
14346 | (cd hello && \ | |
14347 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14348 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14349 | "RANLIB=$${RANLIB}" \ | |
14350 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14351 | distclean) \ | |
14352 | || exit 1 | |
14353 | ||
14354 | ||
14355 | .PHONY: maybe-distclean-indent distclean-indent | |
14356 | maybe-distclean-indent: | |
14357 | ||
14358 | distclean-indent: | |
14359 | @[ -f ./indent/Makefile ] || exit 0; \ | |
b40e3958 L |
14360 | r=`${PWD_COMMAND}`; export r; \ |
14361 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14362 | $(SET_LIB_PATH) \ |
14363 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14364 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14365 | done; \ | |
14366 | echo "Doing distclean in indent" ; \ | |
14367 | (cd indent && \ | |
14368 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14369 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14370 | "RANLIB=$${RANLIB}" \ | |
14371 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14372 | distclean) \ | |
14373 | || exit 1 | |
14374 | ||
14375 | ||
14376 | .PHONY: maybe-distclean-intl distclean-intl | |
14377 | maybe-distclean-intl: | |
14378 | ||
14379 | distclean-intl: | |
14380 | @[ -f ./intl/Makefile ] || exit 0; \ | |
b40e3958 L |
14381 | r=`${PWD_COMMAND}`; export r; \ |
14382 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14383 | $(SET_LIB_PATH) \ |
14384 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14385 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14386 | done; \ | |
14387 | echo "Doing distclean in intl" ; \ | |
14388 | (cd intl && \ | |
14389 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14390 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14391 | "RANLIB=$${RANLIB}" \ | |
14392 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14393 | distclean) \ | |
14394 | || exit 1 | |
14395 | ||
14396 | ||
14397 | .PHONY: maybe-distclean-tcl distclean-tcl | |
14398 | maybe-distclean-tcl: | |
14399 | ||
14400 | distclean-tcl: | |
14401 | @[ -f ./tcl/Makefile ] || exit 0; \ | |
b40e3958 L |
14402 | r=`${PWD_COMMAND}`; export r; \ |
14403 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14404 | $(SET_LIB_PATH) \ |
14405 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14406 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14407 | done; \ | |
14408 | echo "Doing distclean in tcl" ; \ | |
14409 | (cd tcl && \ | |
14410 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14411 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14412 | "RANLIB=$${RANLIB}" \ | |
14413 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14414 | distclean) \ | |
14415 | || exit 1 | |
14416 | ||
14417 | ||
14418 | .PHONY: maybe-distclean-itcl distclean-itcl | |
14419 | maybe-distclean-itcl: | |
14420 | ||
14421 | distclean-itcl: | |
14422 | @[ -f ./itcl/Makefile ] || exit 0; \ | |
b40e3958 L |
14423 | r=`${PWD_COMMAND}`; export r; \ |
14424 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14425 | $(SET_LIB_PATH) \ |
14426 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14427 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14428 | done; \ | |
14429 | echo "Doing distclean in itcl" ; \ | |
14430 | (cd itcl && \ | |
14431 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14432 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14433 | "RANLIB=$${RANLIB}" \ | |
14434 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14435 | distclean) \ | |
14436 | || exit 1 | |
14437 | ||
14438 | ||
14439 | .PHONY: maybe-distclean-ld distclean-ld | |
14440 | maybe-distclean-ld: | |
14441 | ||
14442 | distclean-ld: | |
14443 | @[ -f ./ld/Makefile ] || exit 0; \ | |
b40e3958 L |
14444 | r=`${PWD_COMMAND}`; export r; \ |
14445 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14446 | $(SET_LIB_PATH) \ |
14447 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14448 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14449 | done; \ | |
14450 | echo "Doing distclean in ld" ; \ | |
14451 | (cd ld && \ | |
14452 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14453 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14454 | "RANLIB=$${RANLIB}" \ | |
14455 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14456 | distclean) \ | |
14457 | || exit 1 | |
14458 | ||
14459 | ||
14460 | .PHONY: maybe-distclean-libgui distclean-libgui | |
14461 | maybe-distclean-libgui: | |
14462 | ||
14463 | distclean-libgui: | |
14464 | @[ -f ./libgui/Makefile ] || exit 0; \ | |
b40e3958 L |
14465 | r=`${PWD_COMMAND}`; export r; \ |
14466 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14467 | $(SET_LIB_PATH) \ |
14468 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14469 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14470 | done; \ | |
14471 | echo "Doing distclean in libgui" ; \ | |
14472 | (cd libgui && \ | |
14473 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14474 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14475 | "RANLIB=$${RANLIB}" \ | |
14476 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14477 | distclean) \ | |
14478 | || exit 1 | |
14479 | ||
14480 | ||
14481 | .PHONY: maybe-distclean-libiberty distclean-libiberty | |
14482 | maybe-distclean-libiberty: | |
14483 | ||
14484 | distclean-libiberty: | |
14485 | @[ -f ./libiberty/Makefile ] || exit 0; \ | |
b40e3958 L |
14486 | r=`${PWD_COMMAND}`; export r; \ |
14487 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14488 | $(SET_LIB_PATH) \ |
14489 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14490 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14491 | done; \ | |
14492 | echo "Doing distclean in libiberty" ; \ | |
14493 | (cd libiberty && \ | |
14494 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14495 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14496 | "RANLIB=$${RANLIB}" \ | |
14497 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14498 | distclean) \ | |
14499 | || exit 1 | |
14500 | ||
14501 | ||
14502 | .PHONY: maybe-distclean-libtool distclean-libtool | |
14503 | maybe-distclean-libtool: | |
14504 | ||
14505 | distclean-libtool: | |
14506 | @[ -f ./libtool/Makefile ] || exit 0; \ | |
b40e3958 L |
14507 | r=`${PWD_COMMAND}`; export r; \ |
14508 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14509 | $(SET_LIB_PATH) \ |
14510 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14511 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14512 | done; \ | |
14513 | echo "Doing distclean in libtool" ; \ | |
14514 | (cd libtool && \ | |
14515 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14516 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14517 | "RANLIB=$${RANLIB}" \ | |
14518 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14519 | distclean) \ | |
14520 | || exit 1 | |
14521 | ||
14522 | ||
14523 | .PHONY: maybe-distclean-m4 distclean-m4 | |
14524 | maybe-distclean-m4: | |
14525 | ||
14526 | distclean-m4: | |
14527 | @[ -f ./m4/Makefile ] || exit 0; \ | |
b40e3958 L |
14528 | r=`${PWD_COMMAND}`; export r; \ |
14529 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14530 | $(SET_LIB_PATH) \ |
14531 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14532 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14533 | done; \ | |
14534 | echo "Doing distclean in m4" ; \ | |
14535 | (cd m4 && \ | |
14536 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14537 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14538 | "RANLIB=$${RANLIB}" \ | |
14539 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14540 | distclean) \ | |
14541 | || exit 1 | |
14542 | ||
14543 | ||
14544 | .PHONY: maybe-distclean-make distclean-make | |
14545 | maybe-distclean-make: | |
14546 | ||
14547 | distclean-make: | |
14548 | @[ -f ./make/Makefile ] || exit 0; \ | |
b40e3958 L |
14549 | r=`${PWD_COMMAND}`; export r; \ |
14550 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14551 | $(SET_LIB_PATH) \ |
14552 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14553 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14554 | done; \ | |
14555 | echo "Doing distclean in make" ; \ | |
14556 | (cd make && \ | |
14557 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14558 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14559 | "RANLIB=$${RANLIB}" \ | |
14560 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14561 | distclean) \ | |
14562 | || exit 1 | |
14563 | ||
14564 | ||
14565 | .PHONY: maybe-distclean-mmalloc distclean-mmalloc | |
14566 | maybe-distclean-mmalloc: | |
14567 | ||
14568 | distclean-mmalloc: | |
14569 | @[ -f ./mmalloc/Makefile ] || exit 0; \ | |
b40e3958 L |
14570 | r=`${PWD_COMMAND}`; export r; \ |
14571 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14572 | $(SET_LIB_PATH) \ |
14573 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14574 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14575 | done; \ | |
14576 | echo "Doing distclean in mmalloc" ; \ | |
14577 | (cd mmalloc && \ | |
14578 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14579 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14580 | "RANLIB=$${RANLIB}" \ | |
14581 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14582 | distclean) \ | |
14583 | || exit 1 | |
14584 | ||
14585 | ||
14586 | .PHONY: maybe-distclean-patch distclean-patch | |
14587 | maybe-distclean-patch: | |
14588 | ||
14589 | distclean-patch: | |
14590 | @[ -f ./patch/Makefile ] || exit 0; \ | |
b40e3958 L |
14591 | r=`${PWD_COMMAND}`; export r; \ |
14592 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14593 | $(SET_LIB_PATH) \ |
14594 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14595 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14596 | done; \ | |
14597 | echo "Doing distclean in patch" ; \ | |
14598 | (cd patch && \ | |
14599 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14600 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14601 | "RANLIB=$${RANLIB}" \ | |
14602 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14603 | distclean) \ | |
14604 | || exit 1 | |
14605 | ||
14606 | ||
14607 | .PHONY: maybe-distclean-perl distclean-perl | |
14608 | maybe-distclean-perl: | |
14609 | ||
14610 | distclean-perl: | |
14611 | @[ -f ./perl/Makefile ] || exit 0; \ | |
b40e3958 L |
14612 | r=`${PWD_COMMAND}`; export r; \ |
14613 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14614 | $(SET_LIB_PATH) \ |
14615 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14616 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14617 | done; \ | |
14618 | echo "Doing distclean in perl" ; \ | |
14619 | (cd perl && \ | |
14620 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14621 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14622 | "RANLIB=$${RANLIB}" \ | |
14623 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14624 | distclean) \ | |
14625 | || exit 1 | |
14626 | ||
14627 | ||
14628 | .PHONY: maybe-distclean-prms distclean-prms | |
14629 | maybe-distclean-prms: | |
14630 | ||
14631 | distclean-prms: | |
14632 | @[ -f ./prms/Makefile ] || exit 0; \ | |
b40e3958 L |
14633 | r=`${PWD_COMMAND}`; export r; \ |
14634 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14635 | $(SET_LIB_PATH) \ |
14636 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14637 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14638 | done; \ | |
14639 | echo "Doing distclean in prms" ; \ | |
14640 | (cd prms && \ | |
14641 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14642 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14643 | "RANLIB=$${RANLIB}" \ | |
14644 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14645 | distclean) \ | |
14646 | || exit 1 | |
14647 | ||
14648 | ||
14649 | .PHONY: maybe-distclean-rcs distclean-rcs | |
14650 | maybe-distclean-rcs: | |
14651 | ||
14652 | distclean-rcs: | |
14653 | @[ -f ./rcs/Makefile ] || exit 0; \ | |
b40e3958 L |
14654 | r=`${PWD_COMMAND}`; export r; \ |
14655 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14656 | $(SET_LIB_PATH) \ |
14657 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14658 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14659 | done; \ | |
14660 | echo "Doing distclean in rcs" ; \ | |
14661 | (cd rcs && \ | |
14662 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14663 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14664 | "RANLIB=$${RANLIB}" \ | |
14665 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14666 | distclean) \ | |
14667 | || exit 1 | |
14668 | ||
14669 | ||
14670 | .PHONY: maybe-distclean-readline distclean-readline | |
14671 | maybe-distclean-readline: | |
14672 | ||
14673 | distclean-readline: | |
14674 | @[ -f ./readline/Makefile ] || exit 0; \ | |
b40e3958 L |
14675 | r=`${PWD_COMMAND}`; export r; \ |
14676 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14677 | $(SET_LIB_PATH) \ |
14678 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14679 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14680 | done; \ | |
14681 | echo "Doing distclean in readline" ; \ | |
14682 | (cd readline && \ | |
14683 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14684 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14685 | "RANLIB=$${RANLIB}" \ | |
14686 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14687 | distclean) \ | |
14688 | || exit 1 | |
14689 | ||
14690 | ||
14691 | .PHONY: maybe-distclean-release distclean-release | |
14692 | maybe-distclean-release: | |
14693 | ||
14694 | distclean-release: | |
14695 | @[ -f ./release/Makefile ] || exit 0; \ | |
b40e3958 L |
14696 | r=`${PWD_COMMAND}`; export r; \ |
14697 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14698 | $(SET_LIB_PATH) \ |
14699 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14700 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14701 | done; \ | |
14702 | echo "Doing distclean in release" ; \ | |
14703 | (cd release && \ | |
14704 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14705 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14706 | "RANLIB=$${RANLIB}" \ | |
14707 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14708 | distclean) \ | |
14709 | || exit 1 | |
14710 | ||
14711 | ||
14712 | .PHONY: maybe-distclean-recode distclean-recode | |
14713 | maybe-distclean-recode: | |
14714 | ||
14715 | distclean-recode: | |
14716 | @[ -f ./recode/Makefile ] || exit 0; \ | |
b40e3958 L |
14717 | r=`${PWD_COMMAND}`; export r; \ |
14718 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14719 | $(SET_LIB_PATH) \ |
14720 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14721 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14722 | done; \ | |
14723 | echo "Doing distclean in recode" ; \ | |
14724 | (cd recode && \ | |
14725 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14726 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14727 | "RANLIB=$${RANLIB}" \ | |
14728 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14729 | distclean) \ | |
14730 | || exit 1 | |
14731 | ||
14732 | ||
14733 | .PHONY: maybe-distclean-sed distclean-sed | |
14734 | maybe-distclean-sed: | |
14735 | ||
14736 | distclean-sed: | |
14737 | @[ -f ./sed/Makefile ] || exit 0; \ | |
b40e3958 L |
14738 | r=`${PWD_COMMAND}`; export r; \ |
14739 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14740 | $(SET_LIB_PATH) \ |
14741 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14742 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14743 | done; \ | |
14744 | echo "Doing distclean in sed" ; \ | |
14745 | (cd sed && \ | |
14746 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14747 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14748 | "RANLIB=$${RANLIB}" \ | |
14749 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14750 | distclean) \ | |
14751 | || exit 1 | |
14752 | ||
14753 | ||
14754 | .PHONY: maybe-distclean-send-pr distclean-send-pr | |
14755 | maybe-distclean-send-pr: | |
14756 | ||
14757 | distclean-send-pr: | |
14758 | @[ -f ./send-pr/Makefile ] || exit 0; \ | |
b40e3958 L |
14759 | r=`${PWD_COMMAND}`; export r; \ |
14760 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14761 | $(SET_LIB_PATH) \ |
14762 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14763 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14764 | done; \ | |
14765 | echo "Doing distclean in send-pr" ; \ | |
14766 | (cd send-pr && \ | |
14767 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14768 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14769 | "RANLIB=$${RANLIB}" \ | |
14770 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14771 | distclean) \ | |
14772 | || exit 1 | |
14773 | ||
14774 | ||
14775 | .PHONY: maybe-distclean-shellutils distclean-shellutils | |
14776 | maybe-distclean-shellutils: | |
14777 | ||
14778 | distclean-shellutils: | |
14779 | @[ -f ./shellutils/Makefile ] || exit 0; \ | |
b40e3958 L |
14780 | r=`${PWD_COMMAND}`; export r; \ |
14781 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14782 | $(SET_LIB_PATH) \ |
14783 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14784 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14785 | done; \ | |
14786 | echo "Doing distclean in shellutils" ; \ | |
14787 | (cd shellutils && \ | |
14788 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14789 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14790 | "RANLIB=$${RANLIB}" \ | |
14791 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14792 | distclean) \ | |
14793 | || exit 1 | |
14794 | ||
14795 | ||
14796 | .PHONY: maybe-distclean-sid distclean-sid | |
14797 | maybe-distclean-sid: | |
14798 | ||
14799 | distclean-sid: | |
14800 | @[ -f ./sid/Makefile ] || exit 0; \ | |
b40e3958 L |
14801 | r=`${PWD_COMMAND}`; export r; \ |
14802 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14803 | $(SET_LIB_PATH) \ |
14804 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14805 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14806 | done; \ | |
14807 | echo "Doing distclean in sid" ; \ | |
14808 | (cd sid && \ | |
14809 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14810 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14811 | "RANLIB=$${RANLIB}" \ | |
14812 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14813 | distclean) \ | |
14814 | || exit 1 | |
14815 | ||
14816 | ||
14817 | .PHONY: maybe-distclean-sim distclean-sim | |
14818 | maybe-distclean-sim: | |
14819 | ||
14820 | distclean-sim: | |
14821 | @[ -f ./sim/Makefile ] || exit 0; \ | |
b40e3958 L |
14822 | r=`${PWD_COMMAND}`; export r; \ |
14823 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14824 | $(SET_LIB_PATH) \ |
14825 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14826 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14827 | done; \ | |
14828 | echo "Doing distclean in sim" ; \ | |
14829 | (cd sim && \ | |
14830 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14831 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14832 | "RANLIB=$${RANLIB}" \ | |
14833 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14834 | distclean) \ | |
14835 | || exit 1 | |
14836 | ||
14837 | ||
14838 | .PHONY: maybe-distclean-tar distclean-tar | |
14839 | maybe-distclean-tar: | |
14840 | ||
14841 | distclean-tar: | |
14842 | @[ -f ./tar/Makefile ] || exit 0; \ | |
b40e3958 L |
14843 | r=`${PWD_COMMAND}`; export r; \ |
14844 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14845 | $(SET_LIB_PATH) \ |
14846 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14847 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14848 | done; \ | |
14849 | echo "Doing distclean in tar" ; \ | |
14850 | (cd tar && \ | |
14851 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14852 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14853 | "RANLIB=$${RANLIB}" \ | |
14854 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14855 | distclean) \ | |
14856 | || exit 1 | |
14857 | ||
14858 | ||
14859 | .PHONY: maybe-distclean-texinfo distclean-texinfo | |
14860 | maybe-distclean-texinfo: | |
14861 | ||
14862 | distclean-texinfo: | |
14863 | @[ -f ./texinfo/Makefile ] || exit 0; \ | |
b40e3958 L |
14864 | r=`${PWD_COMMAND}`; export r; \ |
14865 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14866 | $(SET_LIB_PATH) \ |
14867 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14868 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14869 | done; \ | |
14870 | echo "Doing distclean in texinfo" ; \ | |
14871 | (cd texinfo && \ | |
14872 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14873 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14874 | "RANLIB=$${RANLIB}" \ | |
14875 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14876 | distclean) \ | |
14877 | || exit 1 | |
14878 | ||
14879 | ||
14880 | .PHONY: maybe-distclean-textutils distclean-textutils | |
14881 | maybe-distclean-textutils: | |
14882 | ||
14883 | distclean-textutils: | |
14884 | @[ -f ./textutils/Makefile ] || exit 0; \ | |
b40e3958 L |
14885 | r=`${PWD_COMMAND}`; export r; \ |
14886 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14887 | $(SET_LIB_PATH) \ |
14888 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14889 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14890 | done; \ | |
14891 | echo "Doing distclean in textutils" ; \ | |
14892 | (cd textutils && \ | |
14893 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14894 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14895 | "RANLIB=$${RANLIB}" \ | |
14896 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14897 | distclean) \ | |
14898 | || exit 1 | |
14899 | ||
14900 | ||
14901 | .PHONY: maybe-distclean-time distclean-time | |
14902 | maybe-distclean-time: | |
14903 | ||
14904 | distclean-time: | |
14905 | @[ -f ./time/Makefile ] || exit 0; \ | |
b40e3958 L |
14906 | r=`${PWD_COMMAND}`; export r; \ |
14907 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14908 | $(SET_LIB_PATH) \ |
14909 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14910 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14911 | done; \ | |
14912 | echo "Doing distclean in time" ; \ | |
14913 | (cd time && \ | |
14914 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14915 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14916 | "RANLIB=$${RANLIB}" \ | |
14917 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14918 | distclean) \ | |
14919 | || exit 1 | |
14920 | ||
14921 | ||
14922 | .PHONY: maybe-distclean-uudecode distclean-uudecode | |
14923 | maybe-distclean-uudecode: | |
14924 | ||
14925 | distclean-uudecode: | |
14926 | @[ -f ./uudecode/Makefile ] || exit 0; \ | |
b40e3958 L |
14927 | r=`${PWD_COMMAND}`; export r; \ |
14928 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14929 | $(SET_LIB_PATH) \ |
14930 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14931 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14932 | done; \ | |
14933 | echo "Doing distclean in uudecode" ; \ | |
14934 | (cd uudecode && \ | |
14935 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14936 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14937 | "RANLIB=$${RANLIB}" \ | |
14938 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14939 | distclean) \ | |
14940 | || exit 1 | |
14941 | ||
14942 | ||
14943 | .PHONY: maybe-distclean-wdiff distclean-wdiff | |
14944 | maybe-distclean-wdiff: | |
14945 | ||
14946 | distclean-wdiff: | |
14947 | @[ -f ./wdiff/Makefile ] || exit 0; \ | |
b40e3958 L |
14948 | r=`${PWD_COMMAND}`; export r; \ |
14949 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14950 | $(SET_LIB_PATH) \ |
14951 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14952 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14953 | done; \ | |
14954 | echo "Doing distclean in wdiff" ; \ | |
14955 | (cd wdiff && \ | |
14956 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14957 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14958 | "RANLIB=$${RANLIB}" \ | |
14959 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14960 | distclean) \ | |
14961 | || exit 1 | |
14962 | ||
14963 | ||
14964 | .PHONY: maybe-distclean-zip distclean-zip | |
14965 | maybe-distclean-zip: | |
14966 | ||
14967 | distclean-zip: | |
14968 | @[ -f ./zip/Makefile ] || exit 0; \ | |
b40e3958 L |
14969 | r=`${PWD_COMMAND}`; export r; \ |
14970 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14971 | $(SET_LIB_PATH) \ |
14972 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14973 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14974 | done; \ | |
14975 | echo "Doing distclean in zip" ; \ | |
14976 | (cd zip && \ | |
14977 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14978 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14979 | "RANLIB=$${RANLIB}" \ | |
14980 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14981 | distclean) \ | |
14982 | || exit 1 | |
14983 | ||
14984 | ||
14985 | .PHONY: maybe-distclean-zlib distclean-zlib | |
14986 | maybe-distclean-zlib: | |
14987 | ||
14988 | distclean-zlib: | |
14989 | @[ -f ./zlib/Makefile ] || exit 0; \ | |
b40e3958 L |
14990 | r=`${PWD_COMMAND}`; export r; \ |
14991 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
14992 | $(SET_LIB_PATH) \ |
14993 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14994 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14995 | done; \ | |
14996 | echo "Doing distclean in zlib" ; \ | |
14997 | (cd zlib && \ | |
14998 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14999 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15000 | "RANLIB=$${RANLIB}" \ | |
15001 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15002 | distclean) \ | |
15003 | || exit 1 | |
15004 | ||
15005 | ||
15006 | .PHONY: maybe-distclean-gdb distclean-gdb | |
15007 | maybe-distclean-gdb: | |
15008 | ||
15009 | distclean-gdb: | |
15010 | @[ -f ./gdb/Makefile ] || exit 0; \ | |
b40e3958 L |
15011 | r=`${PWD_COMMAND}`; export r; \ |
15012 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15013 | $(SET_LIB_PATH) \ |
15014 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15015 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15016 | done; \ | |
15017 | echo "Doing distclean in gdb" ; \ | |
15018 | (cd gdb && \ | |
15019 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15020 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15021 | "RANLIB=$${RANLIB}" \ | |
15022 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15023 | distclean) \ | |
15024 | || exit 1 | |
15025 | ||
15026 | ||
15027 | .PHONY: maybe-distclean-expect distclean-expect | |
15028 | maybe-distclean-expect: | |
15029 | ||
15030 | distclean-expect: | |
15031 | @[ -f ./expect/Makefile ] || exit 0; \ | |
b40e3958 L |
15032 | r=`${PWD_COMMAND}`; export r; \ |
15033 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15034 | $(SET_LIB_PATH) \ |
15035 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15036 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15037 | done; \ | |
15038 | echo "Doing distclean in expect" ; \ | |
15039 | (cd expect && \ | |
15040 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15041 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15042 | "RANLIB=$${RANLIB}" \ | |
15043 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15044 | distclean) \ | |
15045 | || exit 1 | |
15046 | ||
15047 | ||
15048 | .PHONY: maybe-distclean-guile distclean-guile | |
15049 | maybe-distclean-guile: | |
15050 | ||
15051 | distclean-guile: | |
15052 | @[ -f ./guile/Makefile ] || exit 0; \ | |
b40e3958 L |
15053 | r=`${PWD_COMMAND}`; export r; \ |
15054 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15055 | $(SET_LIB_PATH) \ |
15056 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15057 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15058 | done; \ | |
15059 | echo "Doing distclean in guile" ; \ | |
15060 | (cd guile && \ | |
15061 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15062 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15063 | "RANLIB=$${RANLIB}" \ | |
15064 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15065 | distclean) \ | |
15066 | || exit 1 | |
15067 | ||
15068 | ||
15069 | .PHONY: maybe-distclean-tk distclean-tk | |
15070 | maybe-distclean-tk: | |
15071 | ||
15072 | distclean-tk: | |
15073 | @[ -f ./tk/Makefile ] || exit 0; \ | |
b40e3958 L |
15074 | r=`${PWD_COMMAND}`; export r; \ |
15075 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15076 | $(SET_LIB_PATH) \ |
15077 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15078 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15079 | done; \ | |
15080 | echo "Doing distclean in tk" ; \ | |
15081 | (cd tk && \ | |
15082 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15083 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15084 | "RANLIB=$${RANLIB}" \ | |
15085 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15086 | distclean) \ | |
15087 | || exit 1 | |
15088 | ||
15089 | ||
15090 | .PHONY: maybe-distclean-tix distclean-tix | |
15091 | maybe-distclean-tix: | |
15092 | ||
15093 | distclean-tix: | |
15094 | @[ -f ./tix/Makefile ] || exit 0; \ | |
b40e3958 L |
15095 | r=`${PWD_COMMAND}`; export r; \ |
15096 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15097 | $(SET_LIB_PATH) \ |
15098 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15099 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15100 | done; \ | |
15101 | echo "Doing distclean in tix" ; \ | |
15102 | (cd tix && \ | |
15103 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15104 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15105 | "RANLIB=$${RANLIB}" \ | |
15106 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15107 | distclean) \ | |
15108 | || exit 1 | |
15109 | ||
15110 | ||
15111 | .PHONY: maybe-distclean-libtermcap distclean-libtermcap | |
15112 | maybe-distclean-libtermcap: | |
15113 | ||
15114 | # libtermcap doesn't support distclean. | |
15115 | distclean-libtermcap: | |
15116 | ||
15117 | ||
15118 | .PHONY: maybe-distclean-utils distclean-utils | |
15119 | maybe-distclean-utils: | |
15120 | ||
15121 | distclean-utils: | |
15122 | @[ -f ./utils/Makefile ] || exit 0; \ | |
b40e3958 L |
15123 | r=`${PWD_COMMAND}`; export r; \ |
15124 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15125 | $(SET_LIB_PATH) \ |
15126 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15127 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15128 | done; \ | |
15129 | echo "Doing distclean in utils" ; \ | |
15130 | (cd utils && \ | |
15131 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15132 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15133 | "RANLIB=$${RANLIB}" \ | |
15134 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15135 | distclean) \ | |
15136 | || exit 1 | |
15137 | ||
15138 | ||
15139 | ||
15140 | # Target modules. | |
15141 | ||
15142 | .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3 | |
15143 | maybe-distclean-target-libstdc++-v3: | |
15144 | ||
15145 | distclean-target-libstdc++-v3: | |
15146 | @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ | |
b40e3958 L |
15147 | r=`${PWD_COMMAND}`; export r; \ |
15148 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15149 | $(SET_LIB_PATH) \ |
15150 | echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \ | |
15151 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15152 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15153 | done; \ | |
15154 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
15155 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15156 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15157 | "RANLIB=$${RANLIB}" \ | |
15158 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15159 | distclean) \ | |
15160 | || exit 1 | |
15161 | ||
15162 | ||
15163 | .PHONY: maybe-distclean-target-newlib distclean-target-newlib | |
15164 | maybe-distclean-target-newlib: | |
15165 | ||
15166 | distclean-target-newlib: | |
15167 | @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
15168 | r=`${PWD_COMMAND}`; export r; \ |
15169 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15170 | $(SET_LIB_PATH) \ |
15171 | echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \ | |
15172 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15173 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15174 | done; \ | |
15175 | (cd $(TARGET_SUBDIR)/newlib && \ | |
15176 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15177 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15178 | "RANLIB=$${RANLIB}" \ | |
15179 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15180 | distclean) \ | |
15181 | || exit 1 | |
15182 | ||
15183 | ||
15184 | .PHONY: maybe-distclean-target-libf2c distclean-target-libf2c | |
15185 | maybe-distclean-target-libf2c: | |
15186 | ||
15187 | distclean-target-libf2c: | |
15188 | @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \ | |
b40e3958 L |
15189 | r=`${PWD_COMMAND}`; export r; \ |
15190 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15191 | $(SET_LIB_PATH) \ |
15192 | echo "Doing distclean in $(TARGET_SUBDIR)/libf2c" ; \ | |
15193 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15194 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15195 | done; \ | |
15196 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
15197 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15198 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15199 | "RANLIB=$${RANLIB}" \ | |
15200 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15201 | distclean) \ | |
15202 | || exit 1 | |
15203 | ||
15204 | ||
15205 | .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc | |
15206 | maybe-distclean-target-libobjc: | |
15207 | ||
15208 | distclean-target-libobjc: | |
15209 | @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
15210 | r=`${PWD_COMMAND}`; export r; \ |
15211 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15212 | $(SET_LIB_PATH) \ |
15213 | echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \ | |
15214 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15215 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15216 | done; \ | |
15217 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
15218 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15219 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15220 | "RANLIB=$${RANLIB}" \ | |
15221 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15222 | distclean) \ | |
15223 | || exit 1 | |
15224 | ||
15225 | ||
15226 | .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap | |
15227 | maybe-distclean-target-libtermcap: | |
15228 | ||
15229 | # libtermcap doesn't support distclean. | |
123494c8 | 15230 | distclean-target-libtermcap: |
2a4cbe27 NN |
15231 | |
15232 | ||
15233 | .PHONY: maybe-distclean-target-winsup distclean-target-winsup | |
15234 | maybe-distclean-target-winsup: | |
15235 | ||
15236 | distclean-target-winsup: | |
15237 | @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ | |
b40e3958 L |
15238 | r=`${PWD_COMMAND}`; export r; \ |
15239 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15240 | $(SET_LIB_PATH) \ |
15241 | echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \ | |
15242 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15243 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15244 | done; \ | |
15245 | (cd $(TARGET_SUBDIR)/winsup && \ | |
15246 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15247 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15248 | "RANLIB=$${RANLIB}" \ | |
15249 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15250 | distclean) \ | |
15251 | || exit 1 | |
15252 | ||
15253 | ||
15254 | .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss | |
15255 | maybe-distclean-target-libgloss: | |
15256 | ||
15257 | distclean-target-libgloss: | |
15258 | @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ | |
b40e3958 L |
15259 | r=`${PWD_COMMAND}`; export r; \ |
15260 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15261 | $(SET_LIB_PATH) \ |
15262 | echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \ | |
15263 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15264 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15265 | done; \ | |
15266 | (cd $(TARGET_SUBDIR)/libgloss && \ | |
15267 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15268 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15269 | "RANLIB=$${RANLIB}" \ | |
15270 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15271 | distclean) \ | |
15272 | || exit 1 | |
15273 | ||
15274 | ||
15275 | .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty | |
15276 | maybe-distclean-target-libiberty: | |
15277 | ||
15278 | distclean-target-libiberty: | |
15279 | @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ | |
b40e3958 L |
15280 | r=`${PWD_COMMAND}`; export r; \ |
15281 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15282 | $(SET_LIB_PATH) \ |
15283 | echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \ | |
15284 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15285 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15286 | done; \ | |
15287 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
15288 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15289 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15290 | "RANLIB=$${RANLIB}" \ | |
15291 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15292 | distclean) \ | |
15293 | || exit 1 | |
15294 | ||
15295 | ||
15296 | .PHONY: maybe-distclean-target-gperf distclean-target-gperf | |
15297 | maybe-distclean-target-gperf: | |
15298 | ||
15299 | distclean-target-gperf: | |
15300 | @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ | |
b40e3958 L |
15301 | r=`${PWD_COMMAND}`; export r; \ |
15302 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15303 | $(SET_LIB_PATH) \ |
15304 | echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \ | |
15305 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15306 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15307 | done; \ | |
15308 | (cd $(TARGET_SUBDIR)/gperf && \ | |
15309 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15310 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15311 | "RANLIB=$${RANLIB}" \ | |
15312 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15313 | distclean) \ | |
15314 | || exit 1 | |
15315 | ||
15316 | ||
15317 | .PHONY: maybe-distclean-target-examples distclean-target-examples | |
15318 | maybe-distclean-target-examples: | |
15319 | ||
15320 | distclean-target-examples: | |
15321 | @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ | |
b40e3958 L |
15322 | r=`${PWD_COMMAND}`; export r; \ |
15323 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15324 | $(SET_LIB_PATH) \ |
15325 | echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \ | |
15326 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15327 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15328 | done; \ | |
15329 | (cd $(TARGET_SUBDIR)/examples && \ | |
15330 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15331 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15332 | "RANLIB=$${RANLIB}" \ | |
15333 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15334 | distclean) \ | |
15335 | || exit 1 | |
15336 | ||
15337 | ||
15338 | .PHONY: maybe-distclean-target-libffi distclean-target-libffi | |
15339 | maybe-distclean-target-libffi: | |
15340 | ||
15341 | distclean-target-libffi: | |
15342 | @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ | |
b40e3958 L |
15343 | r=`${PWD_COMMAND}`; export r; \ |
15344 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15345 | $(SET_LIB_PATH) \ |
15346 | echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \ | |
15347 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15348 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15349 | done; \ | |
15350 | (cd $(TARGET_SUBDIR)/libffi && \ | |
15351 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15352 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15353 | "RANLIB=$${RANLIB}" \ | |
15354 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15355 | distclean) \ | |
15356 | || exit 1 | |
15357 | ||
15358 | ||
15359 | .PHONY: maybe-distclean-target-libjava distclean-target-libjava | |
15360 | maybe-distclean-target-libjava: | |
15361 | ||
15362 | distclean-target-libjava: | |
15363 | @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ | |
b40e3958 L |
15364 | r=`${PWD_COMMAND}`; export r; \ |
15365 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15366 | $(SET_LIB_PATH) \ |
15367 | echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \ | |
15368 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15369 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15370 | done; \ | |
15371 | (cd $(TARGET_SUBDIR)/libjava && \ | |
15372 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15373 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15374 | "RANLIB=$${RANLIB}" \ | |
15375 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15376 | distclean) \ | |
15377 | || exit 1 | |
15378 | ||
15379 | ||
15380 | .PHONY: maybe-distclean-target-zlib distclean-target-zlib | |
15381 | maybe-distclean-target-zlib: | |
15382 | ||
15383 | distclean-target-zlib: | |
15384 | @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
15385 | r=`${PWD_COMMAND}`; export r; \ |
15386 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15387 | $(SET_LIB_PATH) \ |
15388 | echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \ | |
15389 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15390 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15391 | done; \ | |
15392 | (cd $(TARGET_SUBDIR)/zlib && \ | |
15393 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15394 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15395 | "RANLIB=$${RANLIB}" \ | |
15396 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15397 | distclean) \ | |
15398 | || exit 1 | |
15399 | ||
15400 | ||
15401 | .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc | |
15402 | maybe-distclean-target-boehm-gc: | |
15403 | ||
15404 | distclean-target-boehm-gc: | |
15405 | @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
15406 | r=`${PWD_COMMAND}`; export r; \ |
15407 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15408 | $(SET_LIB_PATH) \ |
15409 | echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \ | |
15410 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15411 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15412 | done; \ | |
15413 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
15414 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15415 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15416 | "RANLIB=$${RANLIB}" \ | |
15417 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15418 | distclean) \ | |
15419 | || exit 1 | |
15420 | ||
15421 | ||
15422 | .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads | |
15423 | maybe-distclean-target-qthreads: | |
15424 | ||
15425 | distclean-target-qthreads: | |
15426 | @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ | |
b40e3958 L |
15427 | r=`${PWD_COMMAND}`; export r; \ |
15428 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15429 | $(SET_LIB_PATH) \ |
15430 | echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \ | |
15431 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15432 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15433 | done; \ | |
15434 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
15435 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15436 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15437 | "RANLIB=$${RANLIB}" \ | |
15438 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15439 | distclean) \ | |
15440 | || exit 1 | |
15441 | ||
15442 | ||
15443 | .PHONY: maybe-distclean-target-rda distclean-target-rda | |
15444 | maybe-distclean-target-rda: | |
15445 | ||
15446 | distclean-target-rda: | |
15447 | @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ | |
b40e3958 L |
15448 | r=`${PWD_COMMAND}`; export r; \ |
15449 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15450 | $(SET_LIB_PATH) \ |
15451 | echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \ | |
15452 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15453 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15454 | done; \ | |
15455 | (cd $(TARGET_SUBDIR)/rda && \ | |
15456 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15457 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15458 | "RANLIB=$${RANLIB}" \ | |
15459 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15460 | distclean) \ | |
15461 | || exit 1 | |
15462 | ||
15463 | ||
15464 | ||
15465 | .PHONY: do-maintainer-clean | |
15466 | do-maintainer-clean: maintainer-clean-host maintainer-clean-target | |
15467 | ||
15468 | .PHONY: maintainer-clean-host | |
15469 | maintainer-clean-host: maybe-maintainer-clean-gcc \ | |
15470 | maybe-maintainer-clean-ash \ | |
15471 | maybe-maintainer-clean-autoconf \ | |
15472 | maybe-maintainer-clean-automake \ | |
15473 | maybe-maintainer-clean-bash \ | |
15474 | maybe-maintainer-clean-bfd \ | |
15475 | maybe-maintainer-clean-opcodes \ | |
15476 | maybe-maintainer-clean-binutils \ | |
15477 | maybe-maintainer-clean-bison \ | |
15478 | maybe-maintainer-clean-byacc \ | |
15479 | maybe-maintainer-clean-bzip2 \ | |
15480 | maybe-maintainer-clean-dejagnu \ | |
15481 | maybe-maintainer-clean-diff \ | |
15482 | maybe-maintainer-clean-dosutils \ | |
15483 | maybe-maintainer-clean-etc \ | |
15484 | maybe-maintainer-clean-fastjar \ | |
15485 | maybe-maintainer-clean-fileutils \ | |
15486 | maybe-maintainer-clean-findutils \ | |
15487 | maybe-maintainer-clean-find \ | |
15488 | maybe-maintainer-clean-flex \ | |
15489 | maybe-maintainer-clean-gas \ | |
15490 | maybe-maintainer-clean-gawk \ | |
15491 | maybe-maintainer-clean-gettext \ | |
15492 | maybe-maintainer-clean-gnuserv \ | |
15493 | maybe-maintainer-clean-gprof \ | |
15494 | maybe-maintainer-clean-gzip \ | |
15495 | maybe-maintainer-clean-hello \ | |
15496 | maybe-maintainer-clean-indent \ | |
15497 | maybe-maintainer-clean-intl \ | |
15498 | maybe-maintainer-clean-tcl \ | |
15499 | maybe-maintainer-clean-itcl \ | |
15500 | maybe-maintainer-clean-ld \ | |
15501 | maybe-maintainer-clean-libgui \ | |
15502 | maybe-maintainer-clean-libiberty \ | |
15503 | maybe-maintainer-clean-libtool \ | |
15504 | maybe-maintainer-clean-m4 \ | |
15505 | maybe-maintainer-clean-make \ | |
15506 | maybe-maintainer-clean-mmalloc \ | |
15507 | maybe-maintainer-clean-patch \ | |
15508 | maybe-maintainer-clean-perl \ | |
15509 | maybe-maintainer-clean-prms \ | |
15510 | maybe-maintainer-clean-rcs \ | |
15511 | maybe-maintainer-clean-readline \ | |
15512 | maybe-maintainer-clean-release \ | |
15513 | maybe-maintainer-clean-recode \ | |
15514 | maybe-maintainer-clean-sed \ | |
15515 | maybe-maintainer-clean-send-pr \ | |
15516 | maybe-maintainer-clean-shellutils \ | |
15517 | maybe-maintainer-clean-sid \ | |
15518 | maybe-maintainer-clean-sim \ | |
15519 | maybe-maintainer-clean-tar \ | |
15520 | maybe-maintainer-clean-texinfo \ | |
15521 | maybe-maintainer-clean-textutils \ | |
15522 | maybe-maintainer-clean-time \ | |
15523 | maybe-maintainer-clean-uudecode \ | |
15524 | maybe-maintainer-clean-wdiff \ | |
15525 | maybe-maintainer-clean-zip \ | |
15526 | maybe-maintainer-clean-zlib \ | |
15527 | maybe-maintainer-clean-gdb \ | |
15528 | maybe-maintainer-clean-expect \ | |
15529 | maybe-maintainer-clean-guile \ | |
15530 | maybe-maintainer-clean-tk \ | |
15531 | maybe-maintainer-clean-tix \ | |
15532 | maybe-maintainer-clean-libtermcap \ | |
15533 | maybe-maintainer-clean-utils | |
15534 | ||
15535 | .PHONY: maintainer-clean-target | |
15536 | maintainer-clean-target: \ | |
15537 | maybe-maintainer-clean-target-libstdc++-v3 \ | |
15538 | maybe-maintainer-clean-target-newlib \ | |
15539 | maybe-maintainer-clean-target-libf2c \ | |
15540 | maybe-maintainer-clean-target-libobjc \ | |
15541 | maybe-maintainer-clean-target-libtermcap \ | |
15542 | maybe-maintainer-clean-target-winsup \ | |
15543 | maybe-maintainer-clean-target-libgloss \ | |
15544 | maybe-maintainer-clean-target-libiberty \ | |
15545 | maybe-maintainer-clean-target-gperf \ | |
15546 | maybe-maintainer-clean-target-examples \ | |
15547 | maybe-maintainer-clean-target-libffi \ | |
15548 | maybe-maintainer-clean-target-libjava \ | |
15549 | maybe-maintainer-clean-target-zlib \ | |
15550 | maybe-maintainer-clean-target-boehm-gc \ | |
15551 | maybe-maintainer-clean-target-qthreads \ | |
15552 | maybe-maintainer-clean-target-rda | |
15553 | ||
15554 | # GCC, the eternal special case | |
15555 | .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc | |
15556 | maybe-maintainer-clean-gcc: | |
15557 | maintainer-clean-gcc: | |
15558 | @[ -f ./gcc/Makefile ] || exit 0; \ | |
b40e3958 L |
15559 | r=`${PWD_COMMAND}`; export r; \ |
15560 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15561 | $(SET_LIB_PATH) \ |
15562 | for flag in $(EXTRA_GCC_FLAGS); do \ | |
15563 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15564 | done; \ | |
15565 | echo "Doing maintainer-clean in gcc" ; \ | |
15566 | (cd gcc && \ | |
15567 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15568 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15569 | "RANLIB=$${RANLIB}" \ | |
15570 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15571 | maintainer-clean) \ | |
15572 | || exit 1 | |
15573 | ||
15574 | # Host modules. | |
15575 | ||
15576 | .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash | |
15577 | maybe-maintainer-clean-ash: | |
15578 | ||
15579 | maintainer-clean-ash: | |
15580 | @[ -f ./ash/Makefile ] || exit 0; \ | |
b40e3958 L |
15581 | r=`${PWD_COMMAND}`; export r; \ |
15582 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15583 | $(SET_LIB_PATH) \ |
15584 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15585 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15586 | done; \ | |
15587 | echo "Doing maintainer-clean in ash" ; \ | |
15588 | (cd ash && \ | |
15589 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15590 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15591 | "RANLIB=$${RANLIB}" \ | |
15592 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15593 | maintainer-clean) \ | |
15594 | || exit 1 | |
15595 | ||
15596 | ||
15597 | .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf | |
15598 | maybe-maintainer-clean-autoconf: | |
15599 | ||
15600 | maintainer-clean-autoconf: | |
15601 | @[ -f ./autoconf/Makefile ] || exit 0; \ | |
b40e3958 L |
15602 | r=`${PWD_COMMAND}`; export r; \ |
15603 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15604 | $(SET_LIB_PATH) \ |
15605 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15606 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15607 | done; \ | |
15608 | echo "Doing maintainer-clean in autoconf" ; \ | |
15609 | (cd autoconf && \ | |
15610 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15611 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15612 | "RANLIB=$${RANLIB}" \ | |
15613 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15614 | maintainer-clean) \ | |
15615 | || exit 1 | |
15616 | ||
15617 | ||
15618 | .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake | |
15619 | maybe-maintainer-clean-automake: | |
15620 | ||
15621 | maintainer-clean-automake: | |
15622 | @[ -f ./automake/Makefile ] || exit 0; \ | |
b40e3958 L |
15623 | r=`${PWD_COMMAND}`; export r; \ |
15624 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15625 | $(SET_LIB_PATH) \ |
15626 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15627 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15628 | done; \ | |
15629 | echo "Doing maintainer-clean in automake" ; \ | |
15630 | (cd automake && \ | |
15631 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15632 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15633 | "RANLIB=$${RANLIB}" \ | |
15634 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15635 | maintainer-clean) \ | |
15636 | || exit 1 | |
15637 | ||
15638 | ||
15639 | .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash | |
15640 | maybe-maintainer-clean-bash: | |
15641 | ||
15642 | maintainer-clean-bash: | |
15643 | @[ -f ./bash/Makefile ] || exit 0; \ | |
b40e3958 L |
15644 | r=`${PWD_COMMAND}`; export r; \ |
15645 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15646 | $(SET_LIB_PATH) \ |
15647 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15648 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15649 | done; \ | |
15650 | echo "Doing maintainer-clean in bash" ; \ | |
15651 | (cd bash && \ | |
15652 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15653 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15654 | "RANLIB=$${RANLIB}" \ | |
15655 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15656 | maintainer-clean) \ | |
15657 | || exit 1 | |
15658 | ||
15659 | ||
15660 | .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd | |
15661 | maybe-maintainer-clean-bfd: | |
15662 | ||
15663 | maintainer-clean-bfd: | |
15664 | @[ -f ./bfd/Makefile ] || exit 0; \ | |
b40e3958 L |
15665 | r=`${PWD_COMMAND}`; export r; \ |
15666 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15667 | $(SET_LIB_PATH) \ |
15668 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15669 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15670 | done; \ | |
15671 | echo "Doing maintainer-clean in bfd" ; \ | |
15672 | (cd bfd && \ | |
15673 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15674 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15675 | "RANLIB=$${RANLIB}" \ | |
15676 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15677 | maintainer-clean) \ | |
15678 | || exit 1 | |
15679 | ||
15680 | ||
15681 | .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes | |
15682 | maybe-maintainer-clean-opcodes: | |
15683 | ||
15684 | maintainer-clean-opcodes: | |
15685 | @[ -f ./opcodes/Makefile ] || exit 0; \ | |
b40e3958 L |
15686 | r=`${PWD_COMMAND}`; export r; \ |
15687 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15688 | $(SET_LIB_PATH) \ |
15689 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15690 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15691 | done; \ | |
15692 | echo "Doing maintainer-clean in opcodes" ; \ | |
15693 | (cd opcodes && \ | |
15694 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15695 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15696 | "RANLIB=$${RANLIB}" \ | |
15697 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15698 | maintainer-clean) \ | |
15699 | || exit 1 | |
15700 | ||
15701 | ||
15702 | .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils | |
15703 | maybe-maintainer-clean-binutils: | |
15704 | ||
15705 | maintainer-clean-binutils: | |
15706 | @[ -f ./binutils/Makefile ] || exit 0; \ | |
b40e3958 L |
15707 | r=`${PWD_COMMAND}`; export r; \ |
15708 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15709 | $(SET_LIB_PATH) \ |
15710 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15711 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15712 | done; \ | |
15713 | echo "Doing maintainer-clean in binutils" ; \ | |
15714 | (cd binutils && \ | |
15715 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15716 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15717 | "RANLIB=$${RANLIB}" \ | |
15718 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15719 | maintainer-clean) \ | |
15720 | || exit 1 | |
15721 | ||
15722 | ||
15723 | .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison | |
15724 | maybe-maintainer-clean-bison: | |
15725 | ||
15726 | maintainer-clean-bison: | |
15727 | @[ -f ./bison/Makefile ] || exit 0; \ | |
b40e3958 L |
15728 | r=`${PWD_COMMAND}`; export r; \ |
15729 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15730 | $(SET_LIB_PATH) \ |
15731 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15732 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15733 | done; \ | |
15734 | echo "Doing maintainer-clean in bison" ; \ | |
15735 | (cd bison && \ | |
15736 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15737 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15738 | "RANLIB=$${RANLIB}" \ | |
15739 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15740 | maintainer-clean) \ | |
15741 | || exit 1 | |
15742 | ||
15743 | ||
15744 | .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc | |
15745 | maybe-maintainer-clean-byacc: | |
15746 | ||
15747 | maintainer-clean-byacc: | |
15748 | @[ -f ./byacc/Makefile ] || exit 0; \ | |
b40e3958 L |
15749 | r=`${PWD_COMMAND}`; export r; \ |
15750 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15751 | $(SET_LIB_PATH) \ |
15752 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15753 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15754 | done; \ | |
15755 | echo "Doing maintainer-clean in byacc" ; \ | |
15756 | (cd byacc && \ | |
15757 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15758 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15759 | "RANLIB=$${RANLIB}" \ | |
15760 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15761 | maintainer-clean) \ | |
15762 | || exit 1 | |
15763 | ||
15764 | ||
15765 | .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2 | |
15766 | maybe-maintainer-clean-bzip2: | |
15767 | ||
15768 | maintainer-clean-bzip2: | |
15769 | @[ -f ./bzip2/Makefile ] || exit 0; \ | |
b40e3958 L |
15770 | r=`${PWD_COMMAND}`; export r; \ |
15771 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15772 | $(SET_LIB_PATH) \ |
15773 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15774 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15775 | done; \ | |
15776 | echo "Doing maintainer-clean in bzip2" ; \ | |
15777 | (cd bzip2 && \ | |
15778 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15779 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15780 | "RANLIB=$${RANLIB}" \ | |
15781 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15782 | maintainer-clean) \ | |
15783 | || exit 1 | |
15784 | ||
15785 | ||
15786 | .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu | |
15787 | maybe-maintainer-clean-dejagnu: | |
15788 | ||
15789 | maintainer-clean-dejagnu: | |
15790 | @[ -f ./dejagnu/Makefile ] || exit 0; \ | |
b40e3958 L |
15791 | r=`${PWD_COMMAND}`; export r; \ |
15792 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15793 | $(SET_LIB_PATH) \ |
15794 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15795 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15796 | done; \ | |
15797 | echo "Doing maintainer-clean in dejagnu" ; \ | |
15798 | (cd dejagnu && \ | |
15799 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15800 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15801 | "RANLIB=$${RANLIB}" \ | |
15802 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15803 | maintainer-clean) \ | |
15804 | || exit 1 | |
15805 | ||
15806 | ||
15807 | .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff | |
15808 | maybe-maintainer-clean-diff: | |
15809 | ||
15810 | maintainer-clean-diff: | |
15811 | @[ -f ./diff/Makefile ] || exit 0; \ | |
b40e3958 L |
15812 | r=`${PWD_COMMAND}`; export r; \ |
15813 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15814 | $(SET_LIB_PATH) \ |
15815 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15816 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15817 | done; \ | |
15818 | echo "Doing maintainer-clean in diff" ; \ | |
15819 | (cd diff && \ | |
15820 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15821 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15822 | "RANLIB=$${RANLIB}" \ | |
15823 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15824 | maintainer-clean) \ | |
15825 | || exit 1 | |
15826 | ||
15827 | ||
15828 | .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils | |
15829 | maybe-maintainer-clean-dosutils: | |
15830 | ||
15831 | maintainer-clean-dosutils: | |
15832 | @[ -f ./dosutils/Makefile ] || exit 0; \ | |
b40e3958 L |
15833 | r=`${PWD_COMMAND}`; export r; \ |
15834 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15835 | $(SET_LIB_PATH) \ |
15836 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15837 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15838 | done; \ | |
15839 | echo "Doing maintainer-clean in dosutils" ; \ | |
15840 | (cd dosutils && \ | |
15841 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15842 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15843 | "RANLIB=$${RANLIB}" \ | |
15844 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15845 | maintainer-clean) \ | |
15846 | || exit 1 | |
15847 | ||
15848 | ||
15849 | .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc | |
15850 | maybe-maintainer-clean-etc: | |
15851 | ||
15852 | maintainer-clean-etc: | |
15853 | @[ -f ./etc/Makefile ] || exit 0; \ | |
b40e3958 L |
15854 | r=`${PWD_COMMAND}`; export r; \ |
15855 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15856 | $(SET_LIB_PATH) \ |
15857 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15858 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15859 | done; \ | |
15860 | echo "Doing maintainer-clean in etc" ; \ | |
15861 | (cd etc && \ | |
15862 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15863 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15864 | "RANLIB=$${RANLIB}" \ | |
15865 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15866 | maintainer-clean) \ | |
15867 | || exit 1 | |
15868 | ||
15869 | ||
15870 | .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar | |
15871 | maybe-maintainer-clean-fastjar: | |
15872 | ||
15873 | maintainer-clean-fastjar: | |
15874 | @[ -f ./fastjar/Makefile ] || exit 0; \ | |
b40e3958 L |
15875 | r=`${PWD_COMMAND}`; export r; \ |
15876 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15877 | $(SET_LIB_PATH) \ |
15878 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15879 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15880 | done; \ | |
15881 | echo "Doing maintainer-clean in fastjar" ; \ | |
15882 | (cd fastjar && \ | |
15883 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15884 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15885 | "RANLIB=$${RANLIB}" \ | |
15886 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15887 | maintainer-clean) \ | |
15888 | || exit 1 | |
15889 | ||
15890 | ||
15891 | .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils | |
15892 | maybe-maintainer-clean-fileutils: | |
15893 | ||
15894 | maintainer-clean-fileutils: | |
15895 | @[ -f ./fileutils/Makefile ] || exit 0; \ | |
b40e3958 L |
15896 | r=`${PWD_COMMAND}`; export r; \ |
15897 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15898 | $(SET_LIB_PATH) \ |
15899 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15900 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15901 | done; \ | |
15902 | echo "Doing maintainer-clean in fileutils" ; \ | |
15903 | (cd fileutils && \ | |
15904 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15905 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15906 | "RANLIB=$${RANLIB}" \ | |
15907 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15908 | maintainer-clean) \ | |
15909 | || exit 1 | |
15910 | ||
15911 | ||
15912 | .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils | |
15913 | maybe-maintainer-clean-findutils: | |
15914 | ||
15915 | maintainer-clean-findutils: | |
15916 | @[ -f ./findutils/Makefile ] || exit 0; \ | |
b40e3958 L |
15917 | r=`${PWD_COMMAND}`; export r; \ |
15918 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15919 | $(SET_LIB_PATH) \ |
15920 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15921 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15922 | done; \ | |
15923 | echo "Doing maintainer-clean in findutils" ; \ | |
15924 | (cd findutils && \ | |
15925 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15926 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15927 | "RANLIB=$${RANLIB}" \ | |
15928 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15929 | maintainer-clean) \ | |
15930 | || exit 1 | |
15931 | ||
15932 | ||
15933 | .PHONY: maybe-maintainer-clean-find maintainer-clean-find | |
15934 | maybe-maintainer-clean-find: | |
15935 | ||
15936 | maintainer-clean-find: | |
15937 | @[ -f ./find/Makefile ] || exit 0; \ | |
b40e3958 L |
15938 | r=`${PWD_COMMAND}`; export r; \ |
15939 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15940 | $(SET_LIB_PATH) \ |
15941 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15942 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15943 | done; \ | |
15944 | echo "Doing maintainer-clean in find" ; \ | |
15945 | (cd find && \ | |
15946 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15947 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15948 | "RANLIB=$${RANLIB}" \ | |
15949 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15950 | maintainer-clean) \ | |
15951 | || exit 1 | |
15952 | ||
15953 | ||
15954 | .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex | |
15955 | maybe-maintainer-clean-flex: | |
15956 | ||
15957 | maintainer-clean-flex: | |
15958 | @[ -f ./flex/Makefile ] || exit 0; \ | |
b40e3958 L |
15959 | r=`${PWD_COMMAND}`; export r; \ |
15960 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15961 | $(SET_LIB_PATH) \ |
15962 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15963 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15964 | done; \ | |
15965 | echo "Doing maintainer-clean in flex" ; \ | |
15966 | (cd flex && \ | |
15967 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15968 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15969 | "RANLIB=$${RANLIB}" \ | |
15970 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15971 | maintainer-clean) \ | |
15972 | || exit 1 | |
15973 | ||
15974 | ||
15975 | .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas | |
15976 | maybe-maintainer-clean-gas: | |
15977 | ||
15978 | maintainer-clean-gas: | |
15979 | @[ -f ./gas/Makefile ] || exit 0; \ | |
b40e3958 L |
15980 | r=`${PWD_COMMAND}`; export r; \ |
15981 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
15982 | $(SET_LIB_PATH) \ |
15983 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15984 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15985 | done; \ | |
15986 | echo "Doing maintainer-clean in gas" ; \ | |
15987 | (cd gas && \ | |
15988 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15989 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15990 | "RANLIB=$${RANLIB}" \ | |
15991 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15992 | maintainer-clean) \ | |
15993 | || exit 1 | |
15994 | ||
15995 | ||
15996 | .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk | |
15997 | maybe-maintainer-clean-gawk: | |
15998 | ||
15999 | maintainer-clean-gawk: | |
16000 | @[ -f ./gawk/Makefile ] || exit 0; \ | |
b40e3958 L |
16001 | r=`${PWD_COMMAND}`; export r; \ |
16002 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16003 | $(SET_LIB_PATH) \ |
16004 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16005 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16006 | done; \ | |
16007 | echo "Doing maintainer-clean in gawk" ; \ | |
16008 | (cd gawk && \ | |
16009 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16010 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16011 | "RANLIB=$${RANLIB}" \ | |
16012 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16013 | maintainer-clean) \ | |
16014 | || exit 1 | |
16015 | ||
16016 | ||
16017 | .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext | |
16018 | maybe-maintainer-clean-gettext: | |
16019 | ||
16020 | maintainer-clean-gettext: | |
16021 | @[ -f ./gettext/Makefile ] || exit 0; \ | |
b40e3958 L |
16022 | r=`${PWD_COMMAND}`; export r; \ |
16023 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16024 | $(SET_LIB_PATH) \ |
16025 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16026 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16027 | done; \ | |
16028 | echo "Doing maintainer-clean in gettext" ; \ | |
16029 | (cd gettext && \ | |
16030 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16031 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16032 | "RANLIB=$${RANLIB}" \ | |
16033 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16034 | maintainer-clean) \ | |
16035 | || exit 1 | |
16036 | ||
16037 | ||
16038 | .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv | |
16039 | maybe-maintainer-clean-gnuserv: | |
16040 | ||
16041 | maintainer-clean-gnuserv: | |
16042 | @[ -f ./gnuserv/Makefile ] || exit 0; \ | |
b40e3958 L |
16043 | r=`${PWD_COMMAND}`; export r; \ |
16044 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16045 | $(SET_LIB_PATH) \ |
16046 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16047 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16048 | done; \ | |
16049 | echo "Doing maintainer-clean in gnuserv" ; \ | |
16050 | (cd gnuserv && \ | |
16051 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16052 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16053 | "RANLIB=$${RANLIB}" \ | |
16054 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16055 | maintainer-clean) \ | |
16056 | || exit 1 | |
16057 | ||
16058 | ||
16059 | .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof | |
16060 | maybe-maintainer-clean-gprof: | |
16061 | ||
16062 | maintainer-clean-gprof: | |
16063 | @[ -f ./gprof/Makefile ] || exit 0; \ | |
b40e3958 L |
16064 | r=`${PWD_COMMAND}`; export r; \ |
16065 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16066 | $(SET_LIB_PATH) \ |
16067 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16068 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16069 | done; \ | |
16070 | echo "Doing maintainer-clean in gprof" ; \ | |
16071 | (cd gprof && \ | |
16072 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16073 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16074 | "RANLIB=$${RANLIB}" \ | |
16075 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16076 | maintainer-clean) \ | |
16077 | || exit 1 | |
16078 | ||
16079 | ||
16080 | .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip | |
16081 | maybe-maintainer-clean-gzip: | |
16082 | ||
16083 | maintainer-clean-gzip: | |
16084 | @[ -f ./gzip/Makefile ] || exit 0; \ | |
b40e3958 L |
16085 | r=`${PWD_COMMAND}`; export r; \ |
16086 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16087 | $(SET_LIB_PATH) \ |
16088 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16089 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16090 | done; \ | |
16091 | echo "Doing maintainer-clean in gzip" ; \ | |
16092 | (cd gzip && \ | |
16093 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16094 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16095 | "RANLIB=$${RANLIB}" \ | |
16096 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16097 | maintainer-clean) \ | |
16098 | || exit 1 | |
16099 | ||
16100 | ||
16101 | .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello | |
16102 | maybe-maintainer-clean-hello: | |
16103 | ||
16104 | maintainer-clean-hello: | |
16105 | @[ -f ./hello/Makefile ] || exit 0; \ | |
b40e3958 L |
16106 | r=`${PWD_COMMAND}`; export r; \ |
16107 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16108 | $(SET_LIB_PATH) \ |
16109 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16110 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16111 | done; \ | |
16112 | echo "Doing maintainer-clean in hello" ; \ | |
16113 | (cd hello && \ | |
16114 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16115 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16116 | "RANLIB=$${RANLIB}" \ | |
16117 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16118 | maintainer-clean) \ | |
16119 | || exit 1 | |
16120 | ||
16121 | ||
16122 | .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent | |
16123 | maybe-maintainer-clean-indent: | |
16124 | ||
16125 | maintainer-clean-indent: | |
16126 | @[ -f ./indent/Makefile ] || exit 0; \ | |
b40e3958 L |
16127 | r=`${PWD_COMMAND}`; export r; \ |
16128 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16129 | $(SET_LIB_PATH) \ |
16130 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16131 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16132 | done; \ | |
16133 | echo "Doing maintainer-clean in indent" ; \ | |
16134 | (cd indent && \ | |
16135 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16136 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16137 | "RANLIB=$${RANLIB}" \ | |
16138 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16139 | maintainer-clean) \ | |
16140 | || exit 1 | |
16141 | ||
16142 | ||
16143 | .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl | |
16144 | maybe-maintainer-clean-intl: | |
16145 | ||
16146 | maintainer-clean-intl: | |
16147 | @[ -f ./intl/Makefile ] || exit 0; \ | |
b40e3958 L |
16148 | r=`${PWD_COMMAND}`; export r; \ |
16149 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16150 | $(SET_LIB_PATH) \ |
16151 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16152 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16153 | done; \ | |
16154 | echo "Doing maintainer-clean in intl" ; \ | |
16155 | (cd intl && \ | |
16156 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16157 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16158 | "RANLIB=$${RANLIB}" \ | |
16159 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16160 | maintainer-clean) \ | |
16161 | || exit 1 | |
16162 | ||
16163 | ||
16164 | .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl | |
16165 | maybe-maintainer-clean-tcl: | |
16166 | ||
16167 | maintainer-clean-tcl: | |
16168 | @[ -f ./tcl/Makefile ] || exit 0; \ | |
b40e3958 L |
16169 | r=`${PWD_COMMAND}`; export r; \ |
16170 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16171 | $(SET_LIB_PATH) \ |
16172 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16173 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16174 | done; \ | |
16175 | echo "Doing maintainer-clean in tcl" ; \ | |
16176 | (cd tcl && \ | |
16177 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16178 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16179 | "RANLIB=$${RANLIB}" \ | |
16180 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16181 | maintainer-clean) \ | |
16182 | || exit 1 | |
16183 | ||
16184 | ||
16185 | .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl | |
16186 | maybe-maintainer-clean-itcl: | |
16187 | ||
16188 | maintainer-clean-itcl: | |
16189 | @[ -f ./itcl/Makefile ] || exit 0; \ | |
b40e3958 L |
16190 | r=`${PWD_COMMAND}`; export r; \ |
16191 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16192 | $(SET_LIB_PATH) \ |
16193 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16194 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16195 | done; \ | |
16196 | echo "Doing maintainer-clean in itcl" ; \ | |
16197 | (cd itcl && \ | |
16198 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16199 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16200 | "RANLIB=$${RANLIB}" \ | |
16201 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16202 | maintainer-clean) \ | |
16203 | || exit 1 | |
16204 | ||
16205 | ||
16206 | .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld | |
16207 | maybe-maintainer-clean-ld: | |
16208 | ||
16209 | maintainer-clean-ld: | |
16210 | @[ -f ./ld/Makefile ] || exit 0; \ | |
b40e3958 L |
16211 | r=`${PWD_COMMAND}`; export r; \ |
16212 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16213 | $(SET_LIB_PATH) \ |
16214 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16215 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16216 | done; \ | |
16217 | echo "Doing maintainer-clean in ld" ; \ | |
16218 | (cd ld && \ | |
16219 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16220 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16221 | "RANLIB=$${RANLIB}" \ | |
16222 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16223 | maintainer-clean) \ | |
16224 | || exit 1 | |
16225 | ||
16226 | ||
16227 | .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui | |
16228 | maybe-maintainer-clean-libgui: | |
16229 | ||
16230 | maintainer-clean-libgui: | |
16231 | @[ -f ./libgui/Makefile ] || exit 0; \ | |
b40e3958 L |
16232 | r=`${PWD_COMMAND}`; export r; \ |
16233 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16234 | $(SET_LIB_PATH) \ |
16235 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16236 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16237 | done; \ | |
16238 | echo "Doing maintainer-clean in libgui" ; \ | |
16239 | (cd libgui && \ | |
16240 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16241 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16242 | "RANLIB=$${RANLIB}" \ | |
16243 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16244 | maintainer-clean) \ | |
16245 | || exit 1 | |
16246 | ||
16247 | ||
16248 | .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty | |
16249 | maybe-maintainer-clean-libiberty: | |
16250 | ||
16251 | maintainer-clean-libiberty: | |
16252 | @[ -f ./libiberty/Makefile ] || exit 0; \ | |
b40e3958 L |
16253 | r=`${PWD_COMMAND}`; export r; \ |
16254 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16255 | $(SET_LIB_PATH) \ |
16256 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16257 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16258 | done; \ | |
16259 | echo "Doing maintainer-clean in libiberty" ; \ | |
16260 | (cd libiberty && \ | |
16261 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16262 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16263 | "RANLIB=$${RANLIB}" \ | |
16264 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16265 | maintainer-clean) \ | |
16266 | || exit 1 | |
16267 | ||
16268 | ||
16269 | .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool | |
16270 | maybe-maintainer-clean-libtool: | |
16271 | ||
16272 | maintainer-clean-libtool: | |
16273 | @[ -f ./libtool/Makefile ] || exit 0; \ | |
b40e3958 L |
16274 | r=`${PWD_COMMAND}`; export r; \ |
16275 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16276 | $(SET_LIB_PATH) \ |
16277 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16278 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16279 | done; \ | |
16280 | echo "Doing maintainer-clean in libtool" ; \ | |
16281 | (cd libtool && \ | |
16282 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16283 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16284 | "RANLIB=$${RANLIB}" \ | |
16285 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16286 | maintainer-clean) \ | |
16287 | || exit 1 | |
16288 | ||
16289 | ||
16290 | .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4 | |
16291 | maybe-maintainer-clean-m4: | |
16292 | ||
16293 | maintainer-clean-m4: | |
16294 | @[ -f ./m4/Makefile ] || exit 0; \ | |
b40e3958 L |
16295 | r=`${PWD_COMMAND}`; export r; \ |
16296 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16297 | $(SET_LIB_PATH) \ |
16298 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16299 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16300 | done; \ | |
16301 | echo "Doing maintainer-clean in m4" ; \ | |
16302 | (cd m4 && \ | |
16303 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16304 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16305 | "RANLIB=$${RANLIB}" \ | |
16306 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16307 | maintainer-clean) \ | |
16308 | || exit 1 | |
16309 | ||
16310 | ||
16311 | .PHONY: maybe-maintainer-clean-make maintainer-clean-make | |
16312 | maybe-maintainer-clean-make: | |
16313 | ||
16314 | maintainer-clean-make: | |
16315 | @[ -f ./make/Makefile ] || exit 0; \ | |
b40e3958 L |
16316 | r=`${PWD_COMMAND}`; export r; \ |
16317 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16318 | $(SET_LIB_PATH) \ |
16319 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16320 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16321 | done; \ | |
16322 | echo "Doing maintainer-clean in make" ; \ | |
16323 | (cd make && \ | |
16324 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16325 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16326 | "RANLIB=$${RANLIB}" \ | |
16327 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16328 | maintainer-clean) \ | |
16329 | || exit 1 | |
16330 | ||
16331 | ||
16332 | .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc | |
16333 | maybe-maintainer-clean-mmalloc: | |
16334 | ||
16335 | maintainer-clean-mmalloc: | |
16336 | @[ -f ./mmalloc/Makefile ] || exit 0; \ | |
b40e3958 L |
16337 | r=`${PWD_COMMAND}`; export r; \ |
16338 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16339 | $(SET_LIB_PATH) \ |
16340 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16341 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16342 | done; \ | |
16343 | echo "Doing maintainer-clean in mmalloc" ; \ | |
16344 | (cd mmalloc && \ | |
16345 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16346 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16347 | "RANLIB=$${RANLIB}" \ | |
16348 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16349 | maintainer-clean) \ | |
16350 | || exit 1 | |
16351 | ||
16352 | ||
16353 | .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch | |
16354 | maybe-maintainer-clean-patch: | |
16355 | ||
16356 | maintainer-clean-patch: | |
16357 | @[ -f ./patch/Makefile ] || exit 0; \ | |
b40e3958 L |
16358 | r=`${PWD_COMMAND}`; export r; \ |
16359 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16360 | $(SET_LIB_PATH) \ |
16361 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16362 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16363 | done; \ | |
16364 | echo "Doing maintainer-clean in patch" ; \ | |
16365 | (cd patch && \ | |
16366 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16367 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16368 | "RANLIB=$${RANLIB}" \ | |
16369 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16370 | maintainer-clean) \ | |
16371 | || exit 1 | |
16372 | ||
16373 | ||
16374 | .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl | |
16375 | maybe-maintainer-clean-perl: | |
16376 | ||
16377 | maintainer-clean-perl: | |
16378 | @[ -f ./perl/Makefile ] || exit 0; \ | |
b40e3958 L |
16379 | r=`${PWD_COMMAND}`; export r; \ |
16380 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16381 | $(SET_LIB_PATH) \ |
16382 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16383 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16384 | done; \ | |
16385 | echo "Doing maintainer-clean in perl" ; \ | |
16386 | (cd perl && \ | |
16387 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16388 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16389 | "RANLIB=$${RANLIB}" \ | |
16390 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16391 | maintainer-clean) \ | |
16392 | || exit 1 | |
16393 | ||
16394 | ||
16395 | .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms | |
16396 | maybe-maintainer-clean-prms: | |
16397 | ||
16398 | maintainer-clean-prms: | |
16399 | @[ -f ./prms/Makefile ] || exit 0; \ | |
b40e3958 L |
16400 | r=`${PWD_COMMAND}`; export r; \ |
16401 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16402 | $(SET_LIB_PATH) \ |
16403 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16404 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16405 | done; \ | |
16406 | echo "Doing maintainer-clean in prms" ; \ | |
16407 | (cd prms && \ | |
16408 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16409 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16410 | "RANLIB=$${RANLIB}" \ | |
16411 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16412 | maintainer-clean) \ | |
16413 | || exit 1 | |
16414 | ||
16415 | ||
16416 | .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs | |
16417 | maybe-maintainer-clean-rcs: | |
16418 | ||
16419 | maintainer-clean-rcs: | |
16420 | @[ -f ./rcs/Makefile ] || exit 0; \ | |
b40e3958 L |
16421 | r=`${PWD_COMMAND}`; export r; \ |
16422 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16423 | $(SET_LIB_PATH) \ |
16424 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16425 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16426 | done; \ | |
16427 | echo "Doing maintainer-clean in rcs" ; \ | |
16428 | (cd rcs && \ | |
16429 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16430 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16431 | "RANLIB=$${RANLIB}" \ | |
16432 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16433 | maintainer-clean) \ | |
16434 | || exit 1 | |
16435 | ||
16436 | ||
16437 | .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline | |
16438 | maybe-maintainer-clean-readline: | |
16439 | ||
16440 | maintainer-clean-readline: | |
16441 | @[ -f ./readline/Makefile ] || exit 0; \ | |
b40e3958 L |
16442 | r=`${PWD_COMMAND}`; export r; \ |
16443 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16444 | $(SET_LIB_PATH) \ |
16445 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16446 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16447 | done; \ | |
16448 | echo "Doing maintainer-clean in readline" ; \ | |
16449 | (cd readline && \ | |
16450 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16451 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16452 | "RANLIB=$${RANLIB}" \ | |
16453 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16454 | maintainer-clean) \ | |
16455 | || exit 1 | |
16456 | ||
16457 | ||
16458 | .PHONY: maybe-maintainer-clean-release maintainer-clean-release | |
16459 | maybe-maintainer-clean-release: | |
16460 | ||
16461 | maintainer-clean-release: | |
16462 | @[ -f ./release/Makefile ] || exit 0; \ | |
b40e3958 L |
16463 | r=`${PWD_COMMAND}`; export r; \ |
16464 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16465 | $(SET_LIB_PATH) \ |
16466 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16467 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16468 | done; \ | |
16469 | echo "Doing maintainer-clean in release" ; \ | |
16470 | (cd release && \ | |
16471 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16472 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16473 | "RANLIB=$${RANLIB}" \ | |
16474 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16475 | maintainer-clean) \ | |
16476 | || exit 1 | |
16477 | ||
16478 | ||
16479 | .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode | |
16480 | maybe-maintainer-clean-recode: | |
16481 | ||
16482 | maintainer-clean-recode: | |
16483 | @[ -f ./recode/Makefile ] || exit 0; \ | |
b40e3958 L |
16484 | r=`${PWD_COMMAND}`; export r; \ |
16485 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16486 | $(SET_LIB_PATH) \ |
16487 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16488 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16489 | done; \ | |
16490 | echo "Doing maintainer-clean in recode" ; \ | |
16491 | (cd recode && \ | |
16492 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16493 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16494 | "RANLIB=$${RANLIB}" \ | |
16495 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16496 | maintainer-clean) \ | |
16497 | || exit 1 | |
16498 | ||
16499 | ||
16500 | .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed | |
16501 | maybe-maintainer-clean-sed: | |
16502 | ||
16503 | maintainer-clean-sed: | |
16504 | @[ -f ./sed/Makefile ] || exit 0; \ | |
b40e3958 L |
16505 | r=`${PWD_COMMAND}`; export r; \ |
16506 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16507 | $(SET_LIB_PATH) \ |
16508 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16509 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16510 | done; \ | |
16511 | echo "Doing maintainer-clean in sed" ; \ | |
16512 | (cd sed && \ | |
16513 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16514 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16515 | "RANLIB=$${RANLIB}" \ | |
16516 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16517 | maintainer-clean) \ | |
16518 | || exit 1 | |
16519 | ||
16520 | ||
16521 | .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr | |
16522 | maybe-maintainer-clean-send-pr: | |
16523 | ||
16524 | maintainer-clean-send-pr: | |
16525 | @[ -f ./send-pr/Makefile ] || exit 0; \ | |
b40e3958 L |
16526 | r=`${PWD_COMMAND}`; export r; \ |
16527 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16528 | $(SET_LIB_PATH) \ |
16529 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16530 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16531 | done; \ | |
16532 | echo "Doing maintainer-clean in send-pr" ; \ | |
16533 | (cd send-pr && \ | |
16534 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16535 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16536 | "RANLIB=$${RANLIB}" \ | |
16537 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16538 | maintainer-clean) \ | |
16539 | || exit 1 | |
16540 | ||
16541 | ||
16542 | .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils | |
16543 | maybe-maintainer-clean-shellutils: | |
16544 | ||
16545 | maintainer-clean-shellutils: | |
16546 | @[ -f ./shellutils/Makefile ] || exit 0; \ | |
b40e3958 L |
16547 | r=`${PWD_COMMAND}`; export r; \ |
16548 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16549 | $(SET_LIB_PATH) \ |
16550 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16551 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16552 | done; \ | |
16553 | echo "Doing maintainer-clean in shellutils" ; \ | |
16554 | (cd shellutils && \ | |
16555 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16556 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16557 | "RANLIB=$${RANLIB}" \ | |
16558 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16559 | maintainer-clean) \ | |
16560 | || exit 1 | |
16561 | ||
16562 | ||
16563 | .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid | |
16564 | maybe-maintainer-clean-sid: | |
16565 | ||
16566 | maintainer-clean-sid: | |
16567 | @[ -f ./sid/Makefile ] || exit 0; \ | |
b40e3958 L |
16568 | r=`${PWD_COMMAND}`; export r; \ |
16569 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16570 | $(SET_LIB_PATH) \ |
16571 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16572 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16573 | done; \ | |
16574 | echo "Doing maintainer-clean in sid" ; \ | |
16575 | (cd sid && \ | |
16576 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16577 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16578 | "RANLIB=$${RANLIB}" \ | |
16579 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16580 | maintainer-clean) \ | |
16581 | || exit 1 | |
16582 | ||
16583 | ||
16584 | .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim | |
16585 | maybe-maintainer-clean-sim: | |
16586 | ||
16587 | maintainer-clean-sim: | |
16588 | @[ -f ./sim/Makefile ] || exit 0; \ | |
b40e3958 L |
16589 | r=`${PWD_COMMAND}`; export r; \ |
16590 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16591 | $(SET_LIB_PATH) \ |
16592 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16593 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16594 | done; \ | |
16595 | echo "Doing maintainer-clean in sim" ; \ | |
16596 | (cd sim && \ | |
16597 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16598 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16599 | "RANLIB=$${RANLIB}" \ | |
16600 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16601 | maintainer-clean) \ | |
16602 | || exit 1 | |
16603 | ||
16604 | ||
16605 | .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar | |
16606 | maybe-maintainer-clean-tar: | |
16607 | ||
16608 | maintainer-clean-tar: | |
16609 | @[ -f ./tar/Makefile ] || exit 0; \ | |
b40e3958 L |
16610 | r=`${PWD_COMMAND}`; export r; \ |
16611 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16612 | $(SET_LIB_PATH) \ |
16613 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16614 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16615 | done; \ | |
16616 | echo "Doing maintainer-clean in tar" ; \ | |
16617 | (cd tar && \ | |
16618 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16619 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16620 | "RANLIB=$${RANLIB}" \ | |
16621 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16622 | maintainer-clean) \ | |
16623 | || exit 1 | |
16624 | ||
16625 | ||
16626 | .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo | |
16627 | maybe-maintainer-clean-texinfo: | |
16628 | ||
16629 | maintainer-clean-texinfo: | |
16630 | @[ -f ./texinfo/Makefile ] || exit 0; \ | |
b40e3958 L |
16631 | r=`${PWD_COMMAND}`; export r; \ |
16632 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16633 | $(SET_LIB_PATH) \ |
16634 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16635 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16636 | done; \ | |
16637 | echo "Doing maintainer-clean in texinfo" ; \ | |
16638 | (cd texinfo && \ | |
16639 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16640 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16641 | "RANLIB=$${RANLIB}" \ | |
16642 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16643 | maintainer-clean) \ | |
16644 | || exit 1 | |
16645 | ||
16646 | ||
16647 | .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils | |
16648 | maybe-maintainer-clean-textutils: | |
16649 | ||
16650 | maintainer-clean-textutils: | |
16651 | @[ -f ./textutils/Makefile ] || exit 0; \ | |
b40e3958 L |
16652 | r=`${PWD_COMMAND}`; export r; \ |
16653 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16654 | $(SET_LIB_PATH) \ |
16655 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16656 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16657 | done; \ | |
16658 | echo "Doing maintainer-clean in textutils" ; \ | |
16659 | (cd textutils && \ | |
16660 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16661 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16662 | "RANLIB=$${RANLIB}" \ | |
16663 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16664 | maintainer-clean) \ | |
16665 | || exit 1 | |
16666 | ||
16667 | ||
16668 | .PHONY: maybe-maintainer-clean-time maintainer-clean-time | |
16669 | maybe-maintainer-clean-time: | |
16670 | ||
16671 | maintainer-clean-time: | |
16672 | @[ -f ./time/Makefile ] || exit 0; \ | |
b40e3958 L |
16673 | r=`${PWD_COMMAND}`; export r; \ |
16674 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16675 | $(SET_LIB_PATH) \ |
16676 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16677 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16678 | done; \ | |
16679 | echo "Doing maintainer-clean in time" ; \ | |
16680 | (cd time && \ | |
16681 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16682 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16683 | "RANLIB=$${RANLIB}" \ | |
16684 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16685 | maintainer-clean) \ | |
16686 | || exit 1 | |
16687 | ||
16688 | ||
16689 | .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode | |
16690 | maybe-maintainer-clean-uudecode: | |
16691 | ||
16692 | maintainer-clean-uudecode: | |
16693 | @[ -f ./uudecode/Makefile ] || exit 0; \ | |
b40e3958 L |
16694 | r=`${PWD_COMMAND}`; export r; \ |
16695 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16696 | $(SET_LIB_PATH) \ |
16697 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16698 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16699 | done; \ | |
16700 | echo "Doing maintainer-clean in uudecode" ; \ | |
16701 | (cd uudecode && \ | |
16702 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16703 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16704 | "RANLIB=$${RANLIB}" \ | |
16705 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16706 | maintainer-clean) \ | |
16707 | || exit 1 | |
16708 | ||
16709 | ||
16710 | .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff | |
16711 | maybe-maintainer-clean-wdiff: | |
16712 | ||
16713 | maintainer-clean-wdiff: | |
16714 | @[ -f ./wdiff/Makefile ] || exit 0; \ | |
b40e3958 L |
16715 | r=`${PWD_COMMAND}`; export r; \ |
16716 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16717 | $(SET_LIB_PATH) \ |
16718 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16719 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16720 | done; \ | |
16721 | echo "Doing maintainer-clean in wdiff" ; \ | |
16722 | (cd wdiff && \ | |
16723 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16724 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16725 | "RANLIB=$${RANLIB}" \ | |
16726 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16727 | maintainer-clean) \ | |
16728 | || exit 1 | |
16729 | ||
16730 | ||
16731 | .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip | |
16732 | maybe-maintainer-clean-zip: | |
16733 | ||
16734 | maintainer-clean-zip: | |
16735 | @[ -f ./zip/Makefile ] || exit 0; \ | |
b40e3958 L |
16736 | r=`${PWD_COMMAND}`; export r; \ |
16737 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16738 | $(SET_LIB_PATH) \ |
16739 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16740 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16741 | done; \ | |
16742 | echo "Doing maintainer-clean in zip" ; \ | |
16743 | (cd zip && \ | |
16744 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16745 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16746 | "RANLIB=$${RANLIB}" \ | |
16747 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16748 | maintainer-clean) \ | |
16749 | || exit 1 | |
16750 | ||
16751 | ||
16752 | .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib | |
16753 | maybe-maintainer-clean-zlib: | |
16754 | ||
16755 | maintainer-clean-zlib: | |
16756 | @[ -f ./zlib/Makefile ] || exit 0; \ | |
b40e3958 L |
16757 | r=`${PWD_COMMAND}`; export r; \ |
16758 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16759 | $(SET_LIB_PATH) \ |
16760 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16761 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16762 | done; \ | |
16763 | echo "Doing maintainer-clean in zlib" ; \ | |
16764 | (cd zlib && \ | |
16765 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16766 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16767 | "RANLIB=$${RANLIB}" \ | |
16768 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16769 | maintainer-clean) \ | |
16770 | || exit 1 | |
16771 | ||
16772 | ||
16773 | .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb | |
16774 | maybe-maintainer-clean-gdb: | |
16775 | ||
16776 | maintainer-clean-gdb: | |
16777 | @[ -f ./gdb/Makefile ] || exit 0; \ | |
b40e3958 L |
16778 | r=`${PWD_COMMAND}`; export r; \ |
16779 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16780 | $(SET_LIB_PATH) \ |
16781 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16782 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16783 | done; \ | |
16784 | echo "Doing maintainer-clean in gdb" ; \ | |
16785 | (cd gdb && \ | |
16786 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16787 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16788 | "RANLIB=$${RANLIB}" \ | |
16789 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16790 | maintainer-clean) \ | |
16791 | || exit 1 | |
16792 | ||
16793 | ||
16794 | .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect | |
16795 | maybe-maintainer-clean-expect: | |
16796 | ||
16797 | maintainer-clean-expect: | |
16798 | @[ -f ./expect/Makefile ] || exit 0; \ | |
b40e3958 L |
16799 | r=`${PWD_COMMAND}`; export r; \ |
16800 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16801 | $(SET_LIB_PATH) \ |
16802 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16803 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16804 | done; \ | |
16805 | echo "Doing maintainer-clean in expect" ; \ | |
16806 | (cd expect && \ | |
16807 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16808 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16809 | "RANLIB=$${RANLIB}" \ | |
16810 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16811 | maintainer-clean) \ | |
16812 | || exit 1 | |
16813 | ||
16814 | ||
16815 | .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile | |
16816 | maybe-maintainer-clean-guile: | |
16817 | ||
16818 | maintainer-clean-guile: | |
16819 | @[ -f ./guile/Makefile ] || exit 0; \ | |
b40e3958 L |
16820 | r=`${PWD_COMMAND}`; export r; \ |
16821 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16822 | $(SET_LIB_PATH) \ |
16823 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16824 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16825 | done; \ | |
16826 | echo "Doing maintainer-clean in guile" ; \ | |
16827 | (cd guile && \ | |
16828 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16829 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16830 | "RANLIB=$${RANLIB}" \ | |
16831 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16832 | maintainer-clean) \ | |
16833 | || exit 1 | |
16834 | ||
16835 | ||
16836 | .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk | |
16837 | maybe-maintainer-clean-tk: | |
16838 | ||
16839 | maintainer-clean-tk: | |
16840 | @[ -f ./tk/Makefile ] || exit 0; \ | |
b40e3958 L |
16841 | r=`${PWD_COMMAND}`; export r; \ |
16842 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16843 | $(SET_LIB_PATH) \ |
16844 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16845 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16846 | done; \ | |
16847 | echo "Doing maintainer-clean in tk" ; \ | |
16848 | (cd tk && \ | |
16849 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16850 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16851 | "RANLIB=$${RANLIB}" \ | |
16852 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16853 | maintainer-clean) \ | |
16854 | || exit 1 | |
16855 | ||
16856 | ||
16857 | .PHONY: maybe-maintainer-clean-tix maintainer-clean-tix | |
16858 | maybe-maintainer-clean-tix: | |
16859 | ||
16860 | maintainer-clean-tix: | |
16861 | @[ -f ./tix/Makefile ] || exit 0; \ | |
b40e3958 L |
16862 | r=`${PWD_COMMAND}`; export r; \ |
16863 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16864 | $(SET_LIB_PATH) \ |
16865 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16866 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16867 | done; \ | |
16868 | echo "Doing maintainer-clean in tix" ; \ | |
16869 | (cd tix && \ | |
16870 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16871 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16872 | "RANLIB=$${RANLIB}" \ | |
16873 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16874 | maintainer-clean) \ | |
16875 | || exit 1 | |
16876 | ||
16877 | ||
16878 | .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap | |
16879 | maybe-maintainer-clean-libtermcap: | |
16880 | ||
16881 | # libtermcap doesn't support maintainer-clean. | |
16882 | maintainer-clean-libtermcap: | |
16883 | ||
16884 | ||
16885 | .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils | |
16886 | maybe-maintainer-clean-utils: | |
16887 | ||
16888 | maintainer-clean-utils: | |
16889 | @[ -f ./utils/Makefile ] || exit 0; \ | |
b40e3958 L |
16890 | r=`${PWD_COMMAND}`; export r; \ |
16891 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16892 | $(SET_LIB_PATH) \ |
16893 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16894 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16895 | done; \ | |
16896 | echo "Doing maintainer-clean in utils" ; \ | |
16897 | (cd utils && \ | |
16898 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16899 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16900 | "RANLIB=$${RANLIB}" \ | |
16901 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16902 | maintainer-clean) \ | |
16903 | || exit 1 | |
16904 | ||
16905 | ||
16906 | ||
16907 | # Target modules. | |
16908 | ||
16909 | .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3 | |
16910 | maybe-maintainer-clean-target-libstdc++-v3: | |
16911 | ||
16912 | maintainer-clean-target-libstdc++-v3: | |
16913 | @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ | |
b40e3958 L |
16914 | r=`${PWD_COMMAND}`; export r; \ |
16915 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16916 | $(SET_LIB_PATH) \ |
16917 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \ | |
16918 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
16919 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16920 | done; \ | |
16921 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
16922 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16923 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16924 | "RANLIB=$${RANLIB}" \ | |
16925 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16926 | maintainer-clean) \ | |
16927 | || exit 1 | |
16928 | ||
16929 | ||
16930 | .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib | |
16931 | maybe-maintainer-clean-target-newlib: | |
16932 | ||
16933 | maintainer-clean-target-newlib: | |
16934 | @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
16935 | r=`${PWD_COMMAND}`; export r; \ |
16936 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16937 | $(SET_LIB_PATH) \ |
16938 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \ | |
16939 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
16940 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16941 | done; \ | |
16942 | (cd $(TARGET_SUBDIR)/newlib && \ | |
16943 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16944 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16945 | "RANLIB=$${RANLIB}" \ | |
16946 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16947 | maintainer-clean) \ | |
16948 | || exit 1 | |
16949 | ||
16950 | ||
16951 | .PHONY: maybe-maintainer-clean-target-libf2c maintainer-clean-target-libf2c | |
16952 | maybe-maintainer-clean-target-libf2c: | |
16953 | ||
16954 | maintainer-clean-target-libf2c: | |
16955 | @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \ | |
b40e3958 L |
16956 | r=`${PWD_COMMAND}`; export r; \ |
16957 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16958 | $(SET_LIB_PATH) \ |
16959 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libf2c" ; \ | |
16960 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
16961 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16962 | done; \ | |
16963 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
16964 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16965 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16966 | "RANLIB=$${RANLIB}" \ | |
16967 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16968 | maintainer-clean) \ | |
16969 | || exit 1 | |
16970 | ||
16971 | ||
16972 | .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc | |
16973 | maybe-maintainer-clean-target-libobjc: | |
16974 | ||
16975 | maintainer-clean-target-libobjc: | |
16976 | @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
16977 | r=`${PWD_COMMAND}`; export r; \ |
16978 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
16979 | $(SET_LIB_PATH) \ |
16980 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \ | |
16981 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
16982 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16983 | done; \ | |
16984 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
16985 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16986 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16987 | "RANLIB=$${RANLIB}" \ | |
16988 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16989 | maintainer-clean) \ | |
16990 | || exit 1 | |
16991 | ||
16992 | ||
16993 | .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap | |
16994 | maybe-maintainer-clean-target-libtermcap: | |
16995 | ||
16996 | # libtermcap doesn't support maintainer-clean. | |
123494c8 | 16997 | maintainer-clean-target-libtermcap: |
2a4cbe27 NN |
16998 | |
16999 | ||
17000 | .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup | |
17001 | maybe-maintainer-clean-target-winsup: | |
17002 | ||
17003 | maintainer-clean-target-winsup: | |
17004 | @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ | |
b40e3958 L |
17005 | r=`${PWD_COMMAND}`; export r; \ |
17006 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
17007 | $(SET_LIB_PATH) \ |
17008 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \ | |
17009 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
17010 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
17011 | done; \ | |
17012 | (cd $(TARGET_SUBDIR)/winsup && \ | |
17013 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
17014 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
17015 | "RANLIB=$${RANLIB}" \ | |
17016 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
17017 | maintainer-clean) \ | |
17018 | || exit 1 | |
17019 | ||
17020 | ||
17021 | .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss | |
17022 | maybe-maintainer-clean-target-libgloss: | |
17023 | ||
17024 | maintainer-clean-target-libgloss: | |
17025 | @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ | |
b40e3958 L |
17026 | r=`${PWD_COMMAND}`; export r; \ |
17027 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
17028 | $(SET_LIB_PATH) \ |
17029 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \ | |
17030 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
17031 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
17032 | done; \ | |
17033 | (cd $(TARGET_SUBDIR)/libgloss && \ | |
17034 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
17035 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
17036 | "RANLIB=$${RANLIB}" \ | |
17037 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
17038 | maintainer-clean) \ | |
17039 | || exit 1 | |
17040 | ||
17041 | ||
17042 | .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty | |
17043 | maybe-maintainer-clean-target-libiberty: | |
17044 | ||
17045 | maintainer-clean-target-libiberty: | |
17046 | @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ | |
b40e3958 L |
17047 | r=`${PWD_COMMAND}`; export r; \ |
17048 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
17049 | $(SET_LIB_PATH) \ |
17050 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \ | |
17051 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
17052 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
17053 | done; \ | |
17054 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
17055 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
17056 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
17057 | "RANLIB=$${RANLIB}" \ | |
17058 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
17059 | maintainer-clean) \ | |
17060 | || exit 1 | |
17061 | ||
17062 | ||
17063 | .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf | |
17064 | maybe-maintainer-clean-target-gperf: | |
17065 | ||
17066 | maintainer-clean-target-gperf: | |
17067 | @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ | |
b40e3958 L |
17068 | r=`${PWD_COMMAND}`; export r; \ |
17069 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
17070 | $(SET_LIB_PATH) \ |
17071 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \ | |
17072 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
17073 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
17074 | done; \ | |
17075 | (cd $(TARGET_SUBDIR)/gperf && \ | |
17076 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
17077 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
17078 | "RANLIB=$${RANLIB}" \ | |
17079 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
17080 | maintainer-clean) \ | |
17081 | || exit 1 | |
17082 | ||
17083 | ||
17084 | .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples | |
17085 | maybe-maintainer-clean-target-examples: | |
17086 | ||
17087 | maintainer-clean-target-examples: | |
17088 | @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ | |
b40e3958 L |
17089 | r=`${PWD_COMMAND}`; export r; \ |
17090 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
17091 | $(SET_LIB_PATH) \ |
17092 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \ | |
17093 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
17094 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
17095 | done; \ | |
17096 | (cd $(TARGET_SUBDIR)/examples && \ | |
17097 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
17098 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
17099 | "RANLIB=$${RANLIB}" \ | |
17100 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
17101 | maintainer-clean) \ | |
17102 | || exit 1 | |
17103 | ||
17104 | ||
17105 | .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi | |
17106 | maybe-maintainer-clean-target-libffi: | |
17107 | ||
17108 | maintainer-clean-target-libffi: | |
17109 | @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ | |
b40e3958 L |
17110 | r=`${PWD_COMMAND}`; export r; \ |
17111 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
17112 | $(SET_LIB_PATH) \ |
17113 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \ | |
17114 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
17115 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
17116 | done; \ | |
17117 | (cd $(TARGET_SUBDIR)/libffi && \ | |
17118 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
17119 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
17120 | "RANLIB=$${RANLIB}" \ | |
17121 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
17122 | maintainer-clean) \ | |
17123 | || exit 1 | |
17124 | ||
17125 | ||
17126 | .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava | |
17127 | maybe-maintainer-clean-target-libjava: | |
17128 | ||
17129 | maintainer-clean-target-libjava: | |
17130 | @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ | |
b40e3958 L |
17131 | r=`${PWD_COMMAND}`; export r; \ |
17132 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
17133 | $(SET_LIB_PATH) \ |
17134 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \ | |
17135 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
17136 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
17137 | done; \ | |
17138 | (cd $(TARGET_SUBDIR)/libjava && \ | |
17139 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
17140 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
17141 | "RANLIB=$${RANLIB}" \ | |
17142 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
17143 | maintainer-clean) \ | |
17144 | || exit 1 | |
17145 | ||
17146 | ||
17147 | .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib | |
17148 | maybe-maintainer-clean-target-zlib: | |
17149 | ||
17150 | maintainer-clean-target-zlib: | |
17151 | @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ | |
b40e3958 L |
17152 | r=`${PWD_COMMAND}`; export r; \ |
17153 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
17154 | $(SET_LIB_PATH) \ |
17155 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \ | |
17156 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
17157 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
17158 | done; \ | |
17159 | (cd $(TARGET_SUBDIR)/zlib && \ | |
17160 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
17161 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
17162 | "RANLIB=$${RANLIB}" \ | |
17163 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
17164 | maintainer-clean) \ | |
17165 | || exit 1 | |
17166 | ||
17167 | ||
17168 | .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc | |
17169 | maybe-maintainer-clean-target-boehm-gc: | |
17170 | ||
17171 | maintainer-clean-target-boehm-gc: | |
17172 | @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ | |
b40e3958 L |
17173 | r=`${PWD_COMMAND}`; export r; \ |
17174 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
17175 | $(SET_LIB_PATH) \ |
17176 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \ | |
17177 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
17178 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
17179 | done; \ | |
17180 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
17181 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
17182 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
17183 | "RANLIB=$${RANLIB}" \ | |
17184 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
17185 | maintainer-clean) \ | |
17186 | || exit 1 | |
17187 | ||
17188 | ||
17189 | .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads | |
17190 | maybe-maintainer-clean-target-qthreads: | |
17191 | ||
17192 | maintainer-clean-target-qthreads: | |
17193 | @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ | |
b40e3958 L |
17194 | r=`${PWD_COMMAND}`; export r; \ |
17195 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
17196 | $(SET_LIB_PATH) \ |
17197 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \ | |
17198 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
17199 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
17200 | done; \ | |
17201 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
17202 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
17203 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
17204 | "RANLIB=$${RANLIB}" \ | |
17205 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
17206 | maintainer-clean) \ | |
17207 | || exit 1 | |
17208 | ||
17209 | ||
17210 | .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda | |
17211 | maybe-maintainer-clean-target-rda: | |
17212 | ||
17213 | maintainer-clean-target-rda: | |
17214 | @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ | |
b40e3958 L |
17215 | r=`${PWD_COMMAND}`; export r; \ |
17216 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
2a4cbe27 NN |
17217 | $(SET_LIB_PATH) \ |
17218 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \ | |
17219 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
17220 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
17221 | done; \ | |
17222 | (cd $(TARGET_SUBDIR)/rda && \ | |
17223 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
17224 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
17225 | "RANLIB=$${RANLIB}" \ | |
17226 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
17227 | maintainer-clean) \ | |
17228 | || exit 1 | |
17229 | ||
17230 | ||
17231 | ||
17232 | ||
17233 | # Here are the targets which correspond to the do-X targets. | |
17234 | ||
17235 | .PHONY: info installcheck dvi install-info | |
17236 | .PHONY: clean distclean mostlyclean maintainer-clean realclean | |
17237 | .PHONY: local-clean local-distclean local-maintainer-clean | |
17238 | info: do-info | |
17239 | installcheck: do-installcheck | |
17240 | dvi: do-dvi | |
17241 | ||
17242 | # Make sure makeinfo is built before we do a `make info', if we're | |
17243 | # in fact building texinfo. | |
17244 | do-info: maybe-all-texinfo | |
17245 | ||
17246 | install-info: do-install-info dir.info | |
b40e3958 | 17247 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
2a4cbe27 NN |
17248 | if [ -f dir.info ] ; then \ |
17249 | $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \ | |
17250 | else true ; fi | |
17251 | ||
17252 | local-clean: | |
17253 | -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log | |
17254 | ||
17255 | local-distclean: | |
17256 | -rm -f Makefile config.status config.cache mh-frag mt-frag | |
17257 | -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp | |
17258 | -if [ "$(TARGET_SUBDIR)" != "." ]; then \ | |
17259 | rm -rf $(TARGET_SUBDIR); \ | |
17260 | else true; fi | |
17261 | -rm -rf $(BUILD_SUBDIR) | |
17262 | -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile | |
17263 | -rm -f texinfo/doc/Makefile texinfo/po/POTFILES | |
17264 | -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null | |
17265 | -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null | |
17266 | -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null | |
17267 | ||
17268 | local-maintainer-clean: | |
17269 | @echo "This command is intended for maintainers to use;" | |
17270 | @echo "it deletes files that may require special tools to rebuild." | |
17271 | ||
17272 | clean: do-clean local-clean | |
17273 | mostlyclean: do-mostlyclean local-clean | |
17274 | distclean: do-distclean local-clean local-distclean | |
17275 | maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean | |
17276 | maintainer-clean: local-distclean | |
17277 | realclean: maintainer-clean | |
252b5132 | 17278 | |
2a4cbe27 NN |
17279 | # Extra dependency for clean-target, owing to the mixed nature of gcc |
17280 | clean-target: clean-target-libgcc | |
5cec67bf AO |
17281 | clean-target-libgcc: |
17282 | test ! -d gcc/libgcc || \ | |
17283 | (cd gcc/libgcc && find . -type d -print) | \ | |
17284 | while read d; do rm -f gcc/$$d/libgcc.a || : ; done | |
17285 | -rm -rf gcc/libgcc | |
252b5132 RH |
17286 | |
17287 | # Check target. | |
17288 | ||
80413487 | 17289 | .PHONY: check do-check |
ede4fbe4 | 17290 | check: do-check |
80413487 | 17291 | |
3866be5d | 17292 | # Only include modules actually being configured and built. |
16ae0395 NN |
17293 | do-check: maybe-check-gcc \ |
17294 | maybe-check-ash \ | |
17295 | maybe-check-autoconf \ | |
17296 | maybe-check-automake \ | |
17297 | maybe-check-bash \ | |
17298 | maybe-check-bfd \ | |
17299 | maybe-check-opcodes \ | |
17300 | maybe-check-binutils \ | |
17301 | maybe-check-bison \ | |
17302 | maybe-check-byacc \ | |
17303 | maybe-check-bzip2 \ | |
17304 | maybe-check-dejagnu \ | |
17305 | maybe-check-diff \ | |
17306 | maybe-check-dosutils \ | |
17307 | maybe-check-etc \ | |
17308 | maybe-check-fastjar \ | |
17309 | maybe-check-fileutils \ | |
17310 | maybe-check-findutils \ | |
17311 | maybe-check-find \ | |
17312 | maybe-check-flex \ | |
17313 | maybe-check-gas \ | |
17314 | maybe-check-gawk \ | |
17315 | maybe-check-gettext \ | |
17316 | maybe-check-gnuserv \ | |
17317 | maybe-check-gprof \ | |
17318 | maybe-check-gzip \ | |
17319 | maybe-check-hello \ | |
17320 | maybe-check-indent \ | |
17321 | maybe-check-intl \ | |
17322 | maybe-check-tcl \ | |
17323 | maybe-check-itcl \ | |
17324 | maybe-check-ld \ | |
17325 | maybe-check-libgui \ | |
17326 | maybe-check-libiberty \ | |
17327 | maybe-check-libtool \ | |
17328 | maybe-check-m4 \ | |
17329 | maybe-check-make \ | |
17330 | maybe-check-mmalloc \ | |
17331 | maybe-check-patch \ | |
17332 | maybe-check-perl \ | |
17333 | maybe-check-prms \ | |
17334 | maybe-check-rcs \ | |
17335 | maybe-check-readline \ | |
17336 | maybe-check-release \ | |
17337 | maybe-check-recode \ | |
17338 | maybe-check-sed \ | |
17339 | maybe-check-send-pr \ | |
17340 | maybe-check-shellutils \ | |
17341 | maybe-check-sid \ | |
17342 | maybe-check-sim \ | |
17343 | maybe-check-tar \ | |
17344 | maybe-check-texinfo \ | |
17345 | maybe-check-textutils \ | |
17346 | maybe-check-time \ | |
17347 | maybe-check-uudecode \ | |
17348 | maybe-check-wdiff \ | |
17349 | maybe-check-zip \ | |
17350 | maybe-check-zlib \ | |
17351 | maybe-check-gdb \ | |
17352 | maybe-check-expect \ | |
17353 | maybe-check-guile \ | |
17354 | maybe-check-tk \ | |
17355 | maybe-check-tix \ | |
17356 | maybe-check-libtermcap \ | |
17357 | maybe-check-utils \ | |
17358 | maybe-check-target-libstdc++-v3 \ | |
17359 | maybe-check-target-newlib \ | |
17360 | maybe-check-target-libf2c \ | |
17361 | maybe-check-target-libobjc \ | |
17362 | maybe-check-target-libtermcap \ | |
17363 | maybe-check-target-winsup \ | |
17364 | maybe-check-target-libgloss \ | |
17365 | maybe-check-target-libiberty \ | |
17366 | maybe-check-target-gperf \ | |
17367 | maybe-check-target-examples \ | |
17368 | maybe-check-target-libffi \ | |
17369 | maybe-check-target-libjava \ | |
17370 | maybe-check-target-zlib \ | |
17371 | maybe-check-target-boehm-gc \ | |
17372 | maybe-check-target-qthreads \ | |
17373 | maybe-check-target-rda | |
252b5132 RH |
17374 | |
17375 | # Automated reporting of test results. | |
17376 | ||
17377 | warning.log: build.log | |
17378 | $(srcdir)/contrib/warn_summary build.log > $@ | |
17379 | ||
17380 | mail-report.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 >$@ | |
17385 | chmod +x $@ | |
17386 | echo If you really want to send e-mail, run ./$@ now | |
17387 | ||
17388 | mail-report-with-warnings.log: warning.log | |
17389 | if test x'$(BOOT_CFLAGS)' != x''; then \ | |
17390 | BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \ | |
17391 | fi; \ | |
17392 | $(srcdir)/contrib/test_summary -t -i warning.log >$@ | |
17393 | chmod +x $@ | |
17394 | echo If you really want to send e-mail, run ./$@ now | |
17395 | ||
17396 | # Installation targets. | |
17397 | ||
ae831be5 | 17398 | .PHONY: install uninstall |
dd12c3a8 NN |
17399 | install: installdirs install-host install-target |
17400 | ||
16ae0395 NN |
17401 | .PHONY: install-host-nogcc |
17402 | install-host-nogcc: \ | |
17403 | maybe-install-ash \ | |
17404 | maybe-install-autoconf \ | |
17405 | maybe-install-automake \ | |
17406 | maybe-install-bash \ | |
17407 | maybe-install-bfd \ | |
17408 | maybe-install-opcodes \ | |
17409 | maybe-install-binutils \ | |
17410 | maybe-install-bison \ | |
17411 | maybe-install-byacc \ | |
17412 | maybe-install-bzip2 \ | |
17413 | maybe-install-dejagnu \ | |
17414 | maybe-install-diff \ | |
17415 | maybe-install-dosutils \ | |
17416 | maybe-install-etc \ | |
17417 | maybe-install-fastjar \ | |
17418 | maybe-install-fileutils \ | |
17419 | maybe-install-findutils \ | |
17420 | maybe-install-find \ | |
17421 | maybe-install-flex \ | |
17422 | maybe-install-gas \ | |
17423 | maybe-install-gawk \ | |
17424 | maybe-install-gettext \ | |
17425 | maybe-install-gnuserv \ | |
17426 | maybe-install-gprof \ | |
17427 | maybe-install-gzip \ | |
17428 | maybe-install-hello \ | |
17429 | maybe-install-indent \ | |
17430 | maybe-install-intl \ | |
17431 | maybe-install-tcl \ | |
17432 | maybe-install-itcl \ | |
17433 | maybe-install-ld \ | |
17434 | maybe-install-libgui \ | |
17435 | maybe-install-libiberty \ | |
17436 | maybe-install-libtool \ | |
17437 | maybe-install-m4 \ | |
17438 | maybe-install-make \ | |
17439 | maybe-install-mmalloc \ | |
17440 | maybe-install-patch \ | |
17441 | maybe-install-perl \ | |
17442 | maybe-install-prms \ | |
17443 | maybe-install-rcs \ | |
17444 | maybe-install-readline \ | |
17445 | maybe-install-release \ | |
17446 | maybe-install-recode \ | |
17447 | maybe-install-sed \ | |
17448 | maybe-install-send-pr \ | |
17449 | maybe-install-shellutils \ | |
17450 | maybe-install-sid \ | |
17451 | maybe-install-sim \ | |
17452 | maybe-install-tar \ | |
17453 | maybe-install-texinfo \ | |
17454 | maybe-install-textutils \ | |
17455 | maybe-install-time \ | |
17456 | maybe-install-uudecode \ | |
17457 | maybe-install-wdiff \ | |
17458 | maybe-install-zip \ | |
17459 | maybe-install-zlib \ | |
17460 | maybe-install-gdb \ | |
17461 | maybe-install-expect \ | |
17462 | maybe-install-guile \ | |
17463 | maybe-install-tk \ | |
17464 | maybe-install-tix \ | |
17465 | maybe-install-libtermcap \ | |
17466 | maybe-install-utils | |
17467 | ||
dd12c3a8 NN |
17468 | .PHONY: install-host |
17469 | install-host: maybe-install-gcc \ | |
17470 | maybe-install-ash \ | |
17471 | maybe-install-autoconf \ | |
17472 | maybe-install-automake \ | |
17473 | maybe-install-bash \ | |
17474 | maybe-install-bfd \ | |
17475 | maybe-install-opcodes \ | |
17476 | maybe-install-binutils \ | |
17477 | maybe-install-bison \ | |
17478 | maybe-install-byacc \ | |
17479 | maybe-install-bzip2 \ | |
17480 | maybe-install-dejagnu \ | |
17481 | maybe-install-diff \ | |
17482 | maybe-install-dosutils \ | |
17483 | maybe-install-etc \ | |
17484 | maybe-install-fastjar \ | |
17485 | maybe-install-fileutils \ | |
17486 | maybe-install-findutils \ | |
17487 | maybe-install-find \ | |
17488 | maybe-install-flex \ | |
17489 | maybe-install-gas \ | |
17490 | maybe-install-gawk \ | |
17491 | maybe-install-gettext \ | |
17492 | maybe-install-gnuserv \ | |
17493 | maybe-install-gprof \ | |
17494 | maybe-install-gzip \ | |
17495 | maybe-install-hello \ | |
17496 | maybe-install-indent \ | |
17497 | maybe-install-intl \ | |
17498 | maybe-install-tcl \ | |
17499 | maybe-install-itcl \ | |
17500 | maybe-install-ld \ | |
17501 | maybe-install-libgui \ | |
17502 | maybe-install-libiberty \ | |
17503 | maybe-install-libtool \ | |
17504 | maybe-install-m4 \ | |
17505 | maybe-install-make \ | |
17506 | maybe-install-mmalloc \ | |
17507 | maybe-install-patch \ | |
17508 | maybe-install-perl \ | |
17509 | maybe-install-prms \ | |
17510 | maybe-install-rcs \ | |
17511 | maybe-install-readline \ | |
17512 | maybe-install-release \ | |
17513 | maybe-install-recode \ | |
17514 | maybe-install-sed \ | |
17515 | maybe-install-send-pr \ | |
17516 | maybe-install-shellutils \ | |
17517 | maybe-install-sid \ | |
17518 | maybe-install-sim \ | |
17519 | maybe-install-tar \ | |
17520 | maybe-install-texinfo \ | |
17521 | maybe-install-textutils \ | |
17522 | maybe-install-time \ | |
17523 | maybe-install-uudecode \ | |
17524 | maybe-install-wdiff \ | |
17525 | maybe-install-zip \ | |
17526 | maybe-install-zlib \ | |
17527 | maybe-install-gdb \ | |
17528 | maybe-install-expect \ | |
17529 | maybe-install-guile \ | |
17530 | maybe-install-tk \ | |
17531 | maybe-install-tix \ | |
17532 | maybe-install-libtermcap \ | |
17533 | maybe-install-utils | |
16ae0395 | 17534 | |
dd12c3a8 NN |
17535 | .PHONY: install-target |
17536 | install-target: \ | |
17537 | maybe-install-target-libstdc++-v3 \ | |
17538 | maybe-install-target-newlib \ | |
17539 | maybe-install-target-libf2c \ | |
17540 | maybe-install-target-libobjc \ | |
17541 | maybe-install-target-libtermcap \ | |
17542 | maybe-install-target-winsup \ | |
17543 | maybe-install-target-libgloss \ | |
17544 | maybe-install-target-libiberty \ | |
17545 | maybe-install-target-gperf \ | |
17546 | maybe-install-target-examples \ | |
17547 | maybe-install-target-libffi \ | |
17548 | maybe-install-target-libjava \ | |
17549 | maybe-install-target-zlib \ | |
17550 | maybe-install-target-boehm-gc \ | |
17551 | maybe-install-target-qthreads \ | |
17552 | maybe-install-target-rda | |
252b5132 RH |
17553 | |
17554 | uninstall: | |
17555 | @echo "the uninstall target is not supported in this tree" | |
17556 | ||
3866be5d NN |
17557 | .PHONY: install.all |
17558 | install.all: install-no-fixedincludes | |
17559 | @if [ -f ./gcc/Makefile ] ; then \ | |
b40e3958 | 17560 | r=`${PWD_COMMAND}` ; export r ; \ |
3866be5d | 17561 | $(SET_LIB_PATH) \ |
1086bc09 | 17562 | (cd ./gcc && \ |
3866be5d NN |
17563 | $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \ |
17564 | else \ | |
17565 | true ; \ | |
17566 | fi | |
17567 | ||
17568 | # install-no-fixedincludes is used because Cygnus can not distribute | |
17569 | # the fixed header files. | |
17570 | .PHONY: install-no-fixedincludes | |
16ae0395 | 17571 | install-no-fixedincludes: installdirs install-host-nogcc \ |
dd12c3a8 | 17572 | install-target gcc-no-fixedincludes |
3866be5d | 17573 | |
15723a45 | 17574 | ### other supporting targets |
3866be5d | 17575 | |
15723a45 NN |
17576 | MAKEDIRS= \ |
17577 | $(DESTDIR)$(prefix) \ | |
17578 | $(DESTDIR)$(exec_prefix) | |
17579 | .PHONY: installdirs | |
17580 | installdirs: mkinstalldirs | |
17581 | $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS) | |
3866be5d | 17582 | |
15723a45 NN |
17583 | dir.info: do-install-info |
17584 | if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \ | |
497f816e | 17585 | $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \ |
15723a45 NN |
17586 | mv -f dir.info.new dir.info ; \ |
17587 | else true ; \ | |
3866be5d NN |
17588 | fi |
17589 | ||
15723a45 NN |
17590 | dist: |
17591 | @echo "Building a full distribution of this tree isn't done" | |
17592 | @echo "via 'make dist'. Check out the etc/ subdirectory" | |
17593 | ||
17594 | etags tags: TAGS | |
17595 | ||
17596 | # Right now this just builds TAGS in each subdirectory. emacs19 has the | |
17597 | # ability to use several tags files at once, so there is probably no need | |
17598 | # to combine them into one big TAGS file (like CVS 1.3 does). We could | |
17599 | # (if we felt like it) have this Makefile write a piece of elisp which | |
17600 | # the user could load to tell emacs19 where all the TAGS files we just | |
17601 | # built are. | |
17602 | TAGS: do-TAGS | |
17603 | ||
15723a45 NN |
17604 | # -------------------------------------- |
17605 | # Modules which run on the build machine | |
17606 | # -------------------------------------- | |
17607 | ||
930314a4 NN |
17608 | .PHONY: configure-build-libiberty maybe-configure-build-libiberty |
17609 | maybe-configure-build-libiberty: | |
e6bfb94a AO |
17610 | configure-build-libiberty: |
17611 | @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \ | |
9175bfc0 | 17612 | $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \ |
b40e3958 L |
17613 | r=`${PWD_COMMAND}`; export r; \ |
17614 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
17615 | AR="$(AR_FOR_BUILD)"; export AR; \ |
17616 | AS="$(AS_FOR_BUILD)"; export AS; \ | |
17617 | CC="$(CC_FOR_BUILD)"; export CC; \ | |
17618 | CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \ | |
17619 | CXX="$(CXX_FOR_BUILD)"; export CXX; \ | |
17620 | CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \ | |
17621 | GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \ | |
17622 | DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \ | |
17623 | LD="$(LD_FOR_BUILD)"; export LD; \ | |
17624 | LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \ | |
17625 | NM="$(NM_FOR_BUILD)"; export NM; \ | |
17626 | RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \ | |
17627 | WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \ | |
17628 | echo Configuring in $(BUILD_SUBDIR)/libiberty; \ | |
17629 | cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \ | |
17630 | case $(srcdir) in \ | |
17631 | /* | [A-Za-z]:[\\/]*) \ | |
17632 | topdir=$(srcdir) ;; \ | |
17633 | *) \ | |
17634 | case "$(BUILD_SUBDIR)" in \ | |
3866be5d NN |
17635 | .) topdir="../$(srcdir)" ;; \ |
17636 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
17637 | esac ;; \ |
17638 | esac; \ | |
17639 | if [ "$(srcdir)" = "." ] ; then \ | |
17640 | if [ "$(BUILD_SUBDIR)" != "." ] ; then \ | |
17641 | if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \ | |
17642 | if [ -f Makefile ]; then \ | |
17643 | if $(MAKE) distclean; then \ | |
17644 | true; \ | |
17645 | else \ | |
17646 | exit 1; \ | |
17647 | fi; \ | |
3866be5d | 17648 | else \ |
bba45b8b | 17649 | true; \ |
3866be5d | 17650 | fi; \ |
3866be5d | 17651 | else \ |
bba45b8b | 17652 | exit 1; \ |
3866be5d | 17653 | fi; \ |
bba45b8b NN |
17654 | else \ |
17655 | true; \ | |
17656 | fi; \ | |
17657 | srcdiroption="--srcdir=."; \ | |
17658 | libsrcdir="."; \ | |
17659 | else \ | |
17660 | srcdiroption="--srcdir=$${topdir}/libiberty"; \ | |
17661 | libsrcdir="$$s/libiberty"; \ | |
17662 | fi; \ | |
17663 | rm -f no-such-file || : ; \ | |
17664 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
17665 | $(BUILD_CONFIGARGS) $${srcdiroption} \ | |
17666 | --with-build-subdir="$(BUILD_SUBDIR)" \ | |
17667 | || exit 1 | |
15723a45 NN |
17668 | |
17669 | .PHONY: all-build-libiberty maybe-all-build-libiberty | |
17670 | maybe-all-build-libiberty: | |
17671 | all-build-libiberty: configure-build-libiberty | |
b40e3958 L |
17672 | @r=`${PWD_COMMAND}`; export r; \ |
17673 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b | 17674 | (cd $(BUILD_SUBDIR)/libiberty && $(MAKE) all) |
3866be5d NN |
17675 | |
17676 | ||
15723a45 NN |
17677 | # -------------------------------------- |
17678 | # Modules which run on the host machine | |
17679 | # -------------------------------------- | |
3866be5d | 17680 | |
e2b9e2dc NN |
17681 | .PHONY: configure-ash maybe-configure-ash |
17682 | maybe-configure-ash: | |
e6bfb94a AO |
17683 | configure-ash: |
17684 | @test ! -f ash/Makefile || exit 0; \ | |
17685 | [ -d ash ] || mkdir ash; \ | |
b40e3958 L |
17686 | r=`${PWD_COMMAND}`; export r; \ |
17687 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
17688 | CC="$(CC)"; export CC; \ |
17689 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
17690 | CXX="$(CXX)"; export CXX; \ | |
17691 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
17692 | AR="$(AR)"; export AR; \ |
17693 | AS="$(AS)"; export AS; \ | |
17694 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
17695 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
17696 | LD="$(LD)"; export LD; \ | |
17697 | NM="$(NM)"; export NM; \ | |
17698 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
17699 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
17700 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
17701 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
17702 | echo Configuring in ash; \ |
17703 | cd ash || exit 1; \ | |
17704 | case $(srcdir) in \ | |
17705 | \.) \ | |
17706 | srcdiroption="--srcdir=."; \ | |
17707 | libsrcdir=".";; \ | |
17708 | /* | [A-Za-z]:[\\/]*) \ | |
17709 | srcdiroption="--srcdir=$(srcdir)/ash"; \ | |
17710 | libsrcdir="$$s/ash";; \ | |
17711 | *) \ | |
17712 | srcdiroption="--srcdir=../$(srcdir)/ash"; \ | |
17713 | libsrcdir="$$s/ash";; \ | |
17714 | esac; \ | |
17715 | $(SHELL) $${libsrcdir}/configure \ | |
17716 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
17717 | || exit 1 | |
17718 | ||
930314a4 NN |
17719 | .PHONY: all-ash maybe-all-ash |
17720 | maybe-all-ash: | |
db1ac78d | 17721 | all-ash: configure-ash |
b40e3958 L |
17722 | @r=`${PWD_COMMAND}`; export r; \ |
17723 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
17724 | $(SET_LIB_PATH) \ |
17725 | (cd ash && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 17726 | |
16ae0395 NN |
17727 | .PHONY: check-ash maybe-check-ash |
17728 | maybe-check-ash: | |
3866be5d | 17729 | |
3866be5d | 17730 | check-ash: |
b40e3958 L |
17731 | @r=`${PWD_COMMAND}`; export r; \ |
17732 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
17733 | $(SET_LIB_PATH) \ |
17734 | (cd ash && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
17735 | |
17736 | ||
930314a4 NN |
17737 | .PHONY: install-ash maybe-install-ash |
17738 | maybe-install-ash: | |
16ae0395 | 17739 | |
3866be5d | 17740 | install-ash: installdirs |
b40e3958 L |
17741 | @r=`${PWD_COMMAND}`; export r; \ |
17742 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
17743 | $(SET_LIB_PATH) \ |
17744 | (cd ash && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
17745 | |
17746 | ||
e2b9e2dc NN |
17747 | .PHONY: configure-autoconf maybe-configure-autoconf |
17748 | maybe-configure-autoconf: | |
e6bfb94a AO |
17749 | configure-autoconf: |
17750 | @test ! -f autoconf/Makefile || exit 0; \ | |
17751 | [ -d autoconf ] || mkdir autoconf; \ | |
b40e3958 L |
17752 | r=`${PWD_COMMAND}`; export r; \ |
17753 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
17754 | CC="$(CC)"; export CC; \ |
17755 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
17756 | CXX="$(CXX)"; export CXX; \ | |
17757 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
17758 | AR="$(AR)"; export AR; \ |
17759 | AS="$(AS)"; export AS; \ | |
17760 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
17761 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
17762 | LD="$(LD)"; export LD; \ | |
17763 | NM="$(NM)"; export NM; \ | |
17764 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
17765 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
17766 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
17767 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
17768 | echo Configuring in autoconf; \ |
17769 | cd autoconf || exit 1; \ | |
17770 | case $(srcdir) in \ | |
17771 | \.) \ | |
17772 | srcdiroption="--srcdir=."; \ | |
17773 | libsrcdir=".";; \ | |
17774 | /* | [A-Za-z]:[\\/]*) \ | |
17775 | srcdiroption="--srcdir=$(srcdir)/autoconf"; \ | |
17776 | libsrcdir="$$s/autoconf";; \ | |
17777 | *) \ | |
17778 | srcdiroption="--srcdir=../$(srcdir)/autoconf"; \ | |
17779 | libsrcdir="$$s/autoconf";; \ | |
17780 | esac; \ | |
17781 | $(SHELL) $${libsrcdir}/configure \ | |
17782 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
17783 | || exit 1 | |
17784 | ||
930314a4 NN |
17785 | .PHONY: all-autoconf maybe-all-autoconf |
17786 | maybe-all-autoconf: | |
db1ac78d | 17787 | all-autoconf: configure-autoconf |
b40e3958 L |
17788 | @r=`${PWD_COMMAND}`; export r; \ |
17789 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
17790 | $(SET_LIB_PATH) \ |
17791 | (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 17792 | |
16ae0395 NN |
17793 | .PHONY: check-autoconf maybe-check-autoconf |
17794 | maybe-check-autoconf: | |
3866be5d | 17795 | |
3866be5d | 17796 | check-autoconf: |
b40e3958 L |
17797 | @r=`${PWD_COMMAND}`; export r; \ |
17798 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
17799 | $(SET_LIB_PATH) \ |
17800 | (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
17801 | |
17802 | ||
930314a4 NN |
17803 | .PHONY: install-autoconf maybe-install-autoconf |
17804 | maybe-install-autoconf: | |
16ae0395 | 17805 | |
3866be5d | 17806 | install-autoconf: installdirs |
b40e3958 L |
17807 | @r=`${PWD_COMMAND}`; export r; \ |
17808 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
17809 | $(SET_LIB_PATH) \ |
17810 | (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
17811 | |
17812 | ||
e2b9e2dc NN |
17813 | .PHONY: configure-automake maybe-configure-automake |
17814 | maybe-configure-automake: | |
e6bfb94a AO |
17815 | configure-automake: |
17816 | @test ! -f automake/Makefile || exit 0; \ | |
17817 | [ -d automake ] || mkdir automake; \ | |
b40e3958 L |
17818 | r=`${PWD_COMMAND}`; export r; \ |
17819 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
17820 | CC="$(CC)"; export CC; \ |
17821 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
17822 | CXX="$(CXX)"; export CXX; \ | |
17823 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
17824 | AR="$(AR)"; export AR; \ |
17825 | AS="$(AS)"; export AS; \ | |
17826 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
17827 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
17828 | LD="$(LD)"; export LD; \ | |
17829 | NM="$(NM)"; export NM; \ | |
17830 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
17831 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
17832 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
17833 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
17834 | echo Configuring in automake; \ |
17835 | cd automake || exit 1; \ | |
17836 | case $(srcdir) in \ | |
17837 | \.) \ | |
17838 | srcdiroption="--srcdir=."; \ | |
17839 | libsrcdir=".";; \ | |
17840 | /* | [A-Za-z]:[\\/]*) \ | |
17841 | srcdiroption="--srcdir=$(srcdir)/automake"; \ | |
17842 | libsrcdir="$$s/automake";; \ | |
17843 | *) \ | |
17844 | srcdiroption="--srcdir=../$(srcdir)/automake"; \ | |
17845 | libsrcdir="$$s/automake";; \ | |
17846 | esac; \ | |
17847 | $(SHELL) $${libsrcdir}/configure \ | |
17848 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
17849 | || exit 1 | |
17850 | ||
930314a4 NN |
17851 | .PHONY: all-automake maybe-all-automake |
17852 | maybe-all-automake: | |
db1ac78d | 17853 | all-automake: configure-automake |
b40e3958 L |
17854 | @r=`${PWD_COMMAND}`; export r; \ |
17855 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
17856 | $(SET_LIB_PATH) \ |
17857 | (cd automake && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 17858 | |
16ae0395 NN |
17859 | .PHONY: check-automake maybe-check-automake |
17860 | maybe-check-automake: | |
3866be5d | 17861 | |
3866be5d | 17862 | check-automake: |
b40e3958 L |
17863 | @r=`${PWD_COMMAND}`; export r; \ |
17864 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
17865 | $(SET_LIB_PATH) \ |
17866 | (cd automake && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
17867 | |
17868 | ||
930314a4 NN |
17869 | .PHONY: install-automake maybe-install-automake |
17870 | maybe-install-automake: | |
16ae0395 | 17871 | |
3866be5d | 17872 | install-automake: installdirs |
b40e3958 L |
17873 | @r=`${PWD_COMMAND}`; export r; \ |
17874 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
17875 | $(SET_LIB_PATH) \ |
17876 | (cd automake && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
17877 | |
17878 | ||
e2b9e2dc NN |
17879 | .PHONY: configure-bash maybe-configure-bash |
17880 | maybe-configure-bash: | |
e6bfb94a AO |
17881 | configure-bash: |
17882 | @test ! -f bash/Makefile || exit 0; \ | |
17883 | [ -d bash ] || mkdir bash; \ | |
b40e3958 L |
17884 | r=`${PWD_COMMAND}`; export r; \ |
17885 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
17886 | CC="$(CC)"; export CC; \ |
17887 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
17888 | CXX="$(CXX)"; export CXX; \ | |
17889 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
17890 | AR="$(AR)"; export AR; \ |
17891 | AS="$(AS)"; export AS; \ | |
17892 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
17893 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
17894 | LD="$(LD)"; export LD; \ | |
17895 | NM="$(NM)"; export NM; \ | |
17896 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
17897 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
17898 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
17899 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
17900 | echo Configuring in bash; \ |
17901 | cd bash || exit 1; \ | |
17902 | case $(srcdir) in \ | |
17903 | \.) \ | |
17904 | srcdiroption="--srcdir=."; \ | |
17905 | libsrcdir=".";; \ | |
17906 | /* | [A-Za-z]:[\\/]*) \ | |
17907 | srcdiroption="--srcdir=$(srcdir)/bash"; \ | |
17908 | libsrcdir="$$s/bash";; \ | |
17909 | *) \ | |
17910 | srcdiroption="--srcdir=../$(srcdir)/bash"; \ | |
17911 | libsrcdir="$$s/bash";; \ | |
17912 | esac; \ | |
17913 | $(SHELL) $${libsrcdir}/configure \ | |
17914 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
17915 | || exit 1 | |
17916 | ||
930314a4 NN |
17917 | .PHONY: all-bash maybe-all-bash |
17918 | maybe-all-bash: | |
db1ac78d | 17919 | all-bash: configure-bash |
b40e3958 L |
17920 | @r=`${PWD_COMMAND}`; export r; \ |
17921 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
17922 | $(SET_LIB_PATH) \ |
17923 | (cd bash && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 17924 | |
16ae0395 NN |
17925 | .PHONY: check-bash maybe-check-bash |
17926 | maybe-check-bash: | |
3866be5d | 17927 | |
3866be5d | 17928 | check-bash: |
b40e3958 L |
17929 | @r=`${PWD_COMMAND}`; export r; \ |
17930 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
17931 | $(SET_LIB_PATH) \ |
17932 | (cd bash && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
17933 | |
17934 | ||
930314a4 NN |
17935 | .PHONY: install-bash maybe-install-bash |
17936 | maybe-install-bash: | |
16ae0395 | 17937 | |
3866be5d | 17938 | install-bash: installdirs |
b40e3958 L |
17939 | @r=`${PWD_COMMAND}`; export r; \ |
17940 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
17941 | $(SET_LIB_PATH) \ |
17942 | (cd bash && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
17943 | |
17944 | ||
e2b9e2dc NN |
17945 | .PHONY: configure-bfd maybe-configure-bfd |
17946 | maybe-configure-bfd: | |
e6bfb94a AO |
17947 | configure-bfd: |
17948 | @test ! -f bfd/Makefile || exit 0; \ | |
17949 | [ -d bfd ] || mkdir bfd; \ | |
b40e3958 L |
17950 | r=`${PWD_COMMAND}`; export r; \ |
17951 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
17952 | CC="$(CC)"; export CC; \ |
17953 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
17954 | CXX="$(CXX)"; export CXX; \ | |
17955 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
17956 | AR="$(AR)"; export AR; \ |
17957 | AS="$(AS)"; export AS; \ | |
17958 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
17959 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
17960 | LD="$(LD)"; export LD; \ | |
17961 | NM="$(NM)"; export NM; \ | |
17962 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
17963 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
17964 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
17965 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
17966 | echo Configuring in bfd; \ |
17967 | cd bfd || exit 1; \ | |
17968 | case $(srcdir) in \ | |
17969 | \.) \ | |
17970 | srcdiroption="--srcdir=."; \ | |
17971 | libsrcdir=".";; \ | |
17972 | /* | [A-Za-z]:[\\/]*) \ | |
17973 | srcdiroption="--srcdir=$(srcdir)/bfd"; \ | |
17974 | libsrcdir="$$s/bfd";; \ | |
17975 | *) \ | |
17976 | srcdiroption="--srcdir=../$(srcdir)/bfd"; \ | |
17977 | libsrcdir="$$s/bfd";; \ | |
17978 | esac; \ | |
17979 | $(SHELL) $${libsrcdir}/configure \ | |
17980 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
17981 | || exit 1 | |
17982 | ||
930314a4 NN |
17983 | .PHONY: all-bfd maybe-all-bfd |
17984 | maybe-all-bfd: | |
db1ac78d | 17985 | all-bfd: configure-bfd |
b40e3958 L |
17986 | @r=`${PWD_COMMAND}`; export r; \ |
17987 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
17988 | $(SET_LIB_PATH) \ |
17989 | (cd bfd && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 17990 | |
16ae0395 NN |
17991 | .PHONY: check-bfd maybe-check-bfd |
17992 | maybe-check-bfd: | |
3866be5d | 17993 | |
3866be5d | 17994 | check-bfd: |
b40e3958 L |
17995 | @r=`${PWD_COMMAND}`; export r; \ |
17996 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
17997 | $(SET_LIB_PATH) \ |
17998 | (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
17999 | |
18000 | ||
930314a4 NN |
18001 | .PHONY: install-bfd maybe-install-bfd |
18002 | maybe-install-bfd: | |
16ae0395 | 18003 | |
3866be5d | 18004 | install-bfd: installdirs |
b40e3958 L |
18005 | @r=`${PWD_COMMAND}`; export r; \ |
18006 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18007 | $(SET_LIB_PATH) \ |
18008 | (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18009 | |
18010 | ||
e2b9e2dc NN |
18011 | .PHONY: configure-opcodes maybe-configure-opcodes |
18012 | maybe-configure-opcodes: | |
e6bfb94a AO |
18013 | configure-opcodes: |
18014 | @test ! -f opcodes/Makefile || exit 0; \ | |
18015 | [ -d opcodes ] || mkdir opcodes; \ | |
b40e3958 L |
18016 | r=`${PWD_COMMAND}`; export r; \ |
18017 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
18018 | CC="$(CC)"; export CC; \ |
18019 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18020 | CXX="$(CXX)"; export CXX; \ | |
18021 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18022 | AR="$(AR)"; export AR; \ |
18023 | AS="$(AS)"; export AS; \ | |
18024 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18025 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18026 | LD="$(LD)"; export LD; \ | |
18027 | NM="$(NM)"; export NM; \ | |
18028 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18029 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18030 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18031 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18032 | echo Configuring in opcodes; \ |
18033 | cd opcodes || exit 1; \ | |
18034 | case $(srcdir) in \ | |
18035 | \.) \ | |
18036 | srcdiroption="--srcdir=."; \ | |
18037 | libsrcdir=".";; \ | |
18038 | /* | [A-Za-z]:[\\/]*) \ | |
18039 | srcdiroption="--srcdir=$(srcdir)/opcodes"; \ | |
18040 | libsrcdir="$$s/opcodes";; \ | |
18041 | *) \ | |
18042 | srcdiroption="--srcdir=../$(srcdir)/opcodes"; \ | |
18043 | libsrcdir="$$s/opcodes";; \ | |
18044 | esac; \ | |
18045 | $(SHELL) $${libsrcdir}/configure \ | |
18046 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18047 | || exit 1 | |
18048 | ||
930314a4 NN |
18049 | .PHONY: all-opcodes maybe-all-opcodes |
18050 | maybe-all-opcodes: | |
db1ac78d | 18051 | all-opcodes: configure-opcodes |
b40e3958 L |
18052 | @r=`${PWD_COMMAND}`; export r; \ |
18053 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18054 | $(SET_LIB_PATH) \ |
18055 | (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18056 | |
16ae0395 NN |
18057 | .PHONY: check-opcodes maybe-check-opcodes |
18058 | maybe-check-opcodes: | |
3866be5d | 18059 | |
3866be5d | 18060 | check-opcodes: |
b40e3958 L |
18061 | @r=`${PWD_COMMAND}`; export r; \ |
18062 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18063 | $(SET_LIB_PATH) \ |
18064 | (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
18065 | |
18066 | ||
930314a4 NN |
18067 | .PHONY: install-opcodes maybe-install-opcodes |
18068 | maybe-install-opcodes: | |
16ae0395 | 18069 | |
3866be5d | 18070 | install-opcodes: installdirs |
b40e3958 L |
18071 | @r=`${PWD_COMMAND}`; export r; \ |
18072 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18073 | $(SET_LIB_PATH) \ |
18074 | (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18075 | |
18076 | ||
e2b9e2dc NN |
18077 | .PHONY: configure-binutils maybe-configure-binutils |
18078 | maybe-configure-binutils: | |
e6bfb94a AO |
18079 | configure-binutils: |
18080 | @test ! -f binutils/Makefile || exit 0; \ | |
18081 | [ -d binutils ] || mkdir binutils; \ | |
b40e3958 L |
18082 | r=`${PWD_COMMAND}`; export r; \ |
18083 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
18084 | CC="$(CC)"; export CC; \ |
18085 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18086 | CXX="$(CXX)"; export CXX; \ | |
18087 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18088 | AR="$(AR)"; export AR; \ |
18089 | AS="$(AS)"; export AS; \ | |
18090 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18091 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18092 | LD="$(LD)"; export LD; \ | |
18093 | NM="$(NM)"; export NM; \ | |
18094 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18095 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18096 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18097 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18098 | echo Configuring in binutils; \ |
18099 | cd binutils || exit 1; \ | |
18100 | case $(srcdir) in \ | |
18101 | \.) \ | |
18102 | srcdiroption="--srcdir=."; \ | |
18103 | libsrcdir=".";; \ | |
18104 | /* | [A-Za-z]:[\\/]*) \ | |
18105 | srcdiroption="--srcdir=$(srcdir)/binutils"; \ | |
18106 | libsrcdir="$$s/binutils";; \ | |
18107 | *) \ | |
18108 | srcdiroption="--srcdir=../$(srcdir)/binutils"; \ | |
18109 | libsrcdir="$$s/binutils";; \ | |
18110 | esac; \ | |
18111 | $(SHELL) $${libsrcdir}/configure \ | |
18112 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18113 | || exit 1 | |
18114 | ||
930314a4 NN |
18115 | .PHONY: all-binutils maybe-all-binutils |
18116 | maybe-all-binutils: | |
db1ac78d | 18117 | all-binutils: configure-binutils |
b40e3958 L |
18118 | @r=`${PWD_COMMAND}`; export r; \ |
18119 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18120 | $(SET_LIB_PATH) \ |
18121 | (cd binutils && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18122 | |
16ae0395 NN |
18123 | .PHONY: check-binutils maybe-check-binutils |
18124 | maybe-check-binutils: | |
3866be5d | 18125 | |
3866be5d | 18126 | check-binutils: |
b40e3958 L |
18127 | @r=`${PWD_COMMAND}`; export r; \ |
18128 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18129 | $(SET_LIB_PATH) \ |
18130 | (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
18131 | |
18132 | ||
930314a4 NN |
18133 | .PHONY: install-binutils maybe-install-binutils |
18134 | maybe-install-binutils: | |
16ae0395 | 18135 | |
3866be5d | 18136 | install-binutils: installdirs |
b40e3958 L |
18137 | @r=`${PWD_COMMAND}`; export r; \ |
18138 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18139 | $(SET_LIB_PATH) \ |
18140 | (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18141 | |
18142 | ||
e2b9e2dc NN |
18143 | .PHONY: configure-bison maybe-configure-bison |
18144 | maybe-configure-bison: | |
e6bfb94a AO |
18145 | configure-bison: |
18146 | @test ! -f bison/Makefile || exit 0; \ | |
18147 | [ -d bison ] || mkdir bison; \ | |
b40e3958 L |
18148 | r=`${PWD_COMMAND}`; export r; \ |
18149 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
18150 | CC="$(CC)"; export CC; \ |
18151 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18152 | CXX="$(CXX)"; export CXX; \ | |
18153 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18154 | AR="$(AR)"; export AR; \ |
18155 | AS="$(AS)"; export AS; \ | |
18156 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18157 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18158 | LD="$(LD)"; export LD; \ | |
18159 | NM="$(NM)"; export NM; \ | |
18160 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18161 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18162 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18163 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18164 | echo Configuring in bison; \ |
18165 | cd bison || exit 1; \ | |
18166 | case $(srcdir) in \ | |
18167 | \.) \ | |
18168 | srcdiroption="--srcdir=."; \ | |
18169 | libsrcdir=".";; \ | |
18170 | /* | [A-Za-z]:[\\/]*) \ | |
18171 | srcdiroption="--srcdir=$(srcdir)/bison"; \ | |
18172 | libsrcdir="$$s/bison";; \ | |
18173 | *) \ | |
18174 | srcdiroption="--srcdir=../$(srcdir)/bison"; \ | |
18175 | libsrcdir="$$s/bison";; \ | |
18176 | esac; \ | |
18177 | $(SHELL) $${libsrcdir}/configure \ | |
18178 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18179 | || exit 1 | |
18180 | ||
930314a4 NN |
18181 | .PHONY: all-bison maybe-all-bison |
18182 | maybe-all-bison: | |
db1ac78d | 18183 | all-bison: configure-bison |
b40e3958 L |
18184 | @r=`${PWD_COMMAND}`; export r; \ |
18185 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18186 | $(SET_LIB_PATH) \ |
18187 | (cd bison && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18188 | |
16ae0395 NN |
18189 | .PHONY: check-bison maybe-check-bison |
18190 | maybe-check-bison: | |
3866be5d | 18191 | |
3866be5d NN |
18192 | # This module is only tested in a native toolchain. |
18193 | check-bison: | |
7f121bbf | 18194 | @if [ '$(host)' = '$(target)' ] ; then \ |
b40e3958 L |
18195 | r=`${PWD_COMMAND}`; export r; \ |
18196 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18197 | $(SET_LIB_PATH) \ |
18198 | (cd bison && $(MAKE) $(FLAGS_TO_PASS) check); \ | |
3866be5d NN |
18199 | fi |
18200 | ||
18201 | ||
930314a4 NN |
18202 | .PHONY: install-bison maybe-install-bison |
18203 | maybe-install-bison: | |
16ae0395 | 18204 | |
3866be5d | 18205 | install-bison: installdirs |
b40e3958 L |
18206 | @r=`${PWD_COMMAND}`; export r; \ |
18207 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18208 | $(SET_LIB_PATH) \ |
18209 | (cd bison && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18210 | |
18211 | ||
e2b9e2dc NN |
18212 | .PHONY: configure-byacc maybe-configure-byacc |
18213 | maybe-configure-byacc: | |
e6bfb94a AO |
18214 | configure-byacc: |
18215 | @test ! -f byacc/Makefile || exit 0; \ | |
18216 | [ -d byacc ] || mkdir byacc; \ | |
b40e3958 L |
18217 | r=`${PWD_COMMAND}`; export r; \ |
18218 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
18219 | CC="$(CC)"; export CC; \ |
18220 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18221 | CXX="$(CXX)"; export CXX; \ | |
18222 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18223 | AR="$(AR)"; export AR; \ |
18224 | AS="$(AS)"; export AS; \ | |
18225 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18226 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18227 | LD="$(LD)"; export LD; \ | |
18228 | NM="$(NM)"; export NM; \ | |
18229 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18230 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18231 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18232 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18233 | echo Configuring in byacc; \ |
18234 | cd byacc || exit 1; \ | |
18235 | case $(srcdir) in \ | |
18236 | \.) \ | |
18237 | srcdiroption="--srcdir=."; \ | |
18238 | libsrcdir=".";; \ | |
18239 | /* | [A-Za-z]:[\\/]*) \ | |
18240 | srcdiroption="--srcdir=$(srcdir)/byacc"; \ | |
18241 | libsrcdir="$$s/byacc";; \ | |
18242 | *) \ | |
18243 | srcdiroption="--srcdir=../$(srcdir)/byacc"; \ | |
18244 | libsrcdir="$$s/byacc";; \ | |
18245 | esac; \ | |
18246 | $(SHELL) $${libsrcdir}/configure \ | |
18247 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18248 | || exit 1 | |
18249 | ||
930314a4 NN |
18250 | .PHONY: all-byacc maybe-all-byacc |
18251 | maybe-all-byacc: | |
db1ac78d | 18252 | all-byacc: configure-byacc |
b40e3958 L |
18253 | @r=`${PWD_COMMAND}`; export r; \ |
18254 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18255 | $(SET_LIB_PATH) \ |
18256 | (cd byacc && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18257 | |
16ae0395 NN |
18258 | .PHONY: check-byacc maybe-check-byacc |
18259 | maybe-check-byacc: | |
3866be5d | 18260 | |
3866be5d NN |
18261 | # This module is only tested in a native toolchain. |
18262 | check-byacc: | |
7f121bbf | 18263 | @if [ '$(host)' = '$(target)' ] ; then \ |
b40e3958 L |
18264 | r=`${PWD_COMMAND}`; export r; \ |
18265 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18266 | $(SET_LIB_PATH) \ |
18267 | (cd byacc && $(MAKE) $(FLAGS_TO_PASS) check); \ | |
3866be5d NN |
18268 | fi |
18269 | ||
18270 | ||
930314a4 NN |
18271 | .PHONY: install-byacc maybe-install-byacc |
18272 | maybe-install-byacc: | |
16ae0395 | 18273 | |
3866be5d | 18274 | install-byacc: installdirs |
b40e3958 L |
18275 | @r=`${PWD_COMMAND}`; export r; \ |
18276 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18277 | $(SET_LIB_PATH) \ |
18278 | (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18279 | |
18280 | ||
e2b9e2dc NN |
18281 | .PHONY: configure-bzip2 maybe-configure-bzip2 |
18282 | maybe-configure-bzip2: | |
e6bfb94a AO |
18283 | configure-bzip2: |
18284 | @test ! -f bzip2/Makefile || exit 0; \ | |
18285 | [ -d bzip2 ] || mkdir bzip2; \ | |
b40e3958 L |
18286 | r=`${PWD_COMMAND}`; export r; \ |
18287 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
18288 | CC="$(CC)"; export CC; \ |
18289 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18290 | CXX="$(CXX)"; export CXX; \ | |
18291 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18292 | AR="$(AR)"; export AR; \ |
18293 | AS="$(AS)"; export AS; \ | |
18294 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18295 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18296 | LD="$(LD)"; export LD; \ | |
18297 | NM="$(NM)"; export NM; \ | |
18298 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18299 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18300 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18301 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18302 | echo Configuring in bzip2; \ |
18303 | cd bzip2 || exit 1; \ | |
18304 | case $(srcdir) in \ | |
18305 | \.) \ | |
18306 | srcdiroption="--srcdir=."; \ | |
18307 | libsrcdir=".";; \ | |
18308 | /* | [A-Za-z]:[\\/]*) \ | |
18309 | srcdiroption="--srcdir=$(srcdir)/bzip2"; \ | |
18310 | libsrcdir="$$s/bzip2";; \ | |
18311 | *) \ | |
18312 | srcdiroption="--srcdir=../$(srcdir)/bzip2"; \ | |
18313 | libsrcdir="$$s/bzip2";; \ | |
18314 | esac; \ | |
18315 | $(SHELL) $${libsrcdir}/configure \ | |
18316 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18317 | || exit 1 | |
18318 | ||
930314a4 NN |
18319 | .PHONY: all-bzip2 maybe-all-bzip2 |
18320 | maybe-all-bzip2: | |
db1ac78d | 18321 | all-bzip2: configure-bzip2 |
b40e3958 L |
18322 | @r=`${PWD_COMMAND}`; export r; \ |
18323 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18324 | $(SET_LIB_PATH) \ |
18325 | (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18326 | |
16ae0395 NN |
18327 | .PHONY: check-bzip2 maybe-check-bzip2 |
18328 | maybe-check-bzip2: | |
3866be5d | 18329 | |
3866be5d | 18330 | check-bzip2: |
b40e3958 L |
18331 | @r=`${PWD_COMMAND}`; export r; \ |
18332 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18333 | $(SET_LIB_PATH) \ |
18334 | (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
18335 | |
18336 | ||
930314a4 NN |
18337 | .PHONY: install-bzip2 maybe-install-bzip2 |
18338 | maybe-install-bzip2: | |
16ae0395 | 18339 | |
3866be5d | 18340 | install-bzip2: installdirs |
b40e3958 L |
18341 | @r=`${PWD_COMMAND}`; export r; \ |
18342 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18343 | $(SET_LIB_PATH) \ |
18344 | (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18345 | |
18346 | ||
e2b9e2dc NN |
18347 | .PHONY: configure-dejagnu maybe-configure-dejagnu |
18348 | maybe-configure-dejagnu: | |
e6bfb94a AO |
18349 | configure-dejagnu: |
18350 | @test ! -f dejagnu/Makefile || exit 0; \ | |
18351 | [ -d dejagnu ] || mkdir dejagnu; \ | |
b40e3958 L |
18352 | r=`${PWD_COMMAND}`; export r; \ |
18353 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
18354 | CC="$(CC)"; export CC; \ |
18355 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18356 | CXX="$(CXX)"; export CXX; \ | |
18357 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18358 | AR="$(AR)"; export AR; \ |
18359 | AS="$(AS)"; export AS; \ | |
18360 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18361 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18362 | LD="$(LD)"; export LD; \ | |
18363 | NM="$(NM)"; export NM; \ | |
18364 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18365 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18366 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18367 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18368 | echo Configuring in dejagnu; \ |
18369 | cd dejagnu || exit 1; \ | |
18370 | case $(srcdir) in \ | |
18371 | \.) \ | |
18372 | srcdiroption="--srcdir=."; \ | |
18373 | libsrcdir=".";; \ | |
18374 | /* | [A-Za-z]:[\\/]*) \ | |
18375 | srcdiroption="--srcdir=$(srcdir)/dejagnu"; \ | |
18376 | libsrcdir="$$s/dejagnu";; \ | |
18377 | *) \ | |
18378 | srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \ | |
18379 | libsrcdir="$$s/dejagnu";; \ | |
18380 | esac; \ | |
18381 | $(SHELL) $${libsrcdir}/configure \ | |
18382 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18383 | || exit 1 | |
18384 | ||
930314a4 NN |
18385 | .PHONY: all-dejagnu maybe-all-dejagnu |
18386 | maybe-all-dejagnu: | |
db1ac78d | 18387 | all-dejagnu: configure-dejagnu |
b40e3958 L |
18388 | @r=`${PWD_COMMAND}`; export r; \ |
18389 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18390 | $(SET_LIB_PATH) \ |
18391 | (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18392 | |
16ae0395 NN |
18393 | .PHONY: check-dejagnu maybe-check-dejagnu |
18394 | maybe-check-dejagnu: | |
3866be5d | 18395 | |
3866be5d | 18396 | check-dejagnu: |
b40e3958 L |
18397 | @r=`${PWD_COMMAND}`; export r; \ |
18398 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18399 | $(SET_LIB_PATH) \ |
18400 | (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
18401 | |
18402 | ||
930314a4 NN |
18403 | .PHONY: install-dejagnu maybe-install-dejagnu |
18404 | maybe-install-dejagnu: | |
16ae0395 | 18405 | |
3866be5d | 18406 | install-dejagnu: installdirs |
b40e3958 L |
18407 | @r=`${PWD_COMMAND}`; export r; \ |
18408 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18409 | $(SET_LIB_PATH) \ |
18410 | (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18411 | |
18412 | ||
e2b9e2dc NN |
18413 | .PHONY: configure-diff maybe-configure-diff |
18414 | maybe-configure-diff: | |
e6bfb94a AO |
18415 | configure-diff: |
18416 | @test ! -f diff/Makefile || exit 0; \ | |
18417 | [ -d diff ] || mkdir diff; \ | |
b40e3958 L |
18418 | r=`${PWD_COMMAND}`; export r; \ |
18419 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
18420 | CC="$(CC)"; export CC; \ |
18421 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18422 | CXX="$(CXX)"; export CXX; \ | |
18423 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18424 | AR="$(AR)"; export AR; \ |
18425 | AS="$(AS)"; export AS; \ | |
18426 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18427 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18428 | LD="$(LD)"; export LD; \ | |
18429 | NM="$(NM)"; export NM; \ | |
18430 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18431 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18432 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18433 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18434 | echo Configuring in diff; \ |
18435 | cd diff || exit 1; \ | |
18436 | case $(srcdir) in \ | |
18437 | \.) \ | |
18438 | srcdiroption="--srcdir=."; \ | |
18439 | libsrcdir=".";; \ | |
18440 | /* | [A-Za-z]:[\\/]*) \ | |
18441 | srcdiroption="--srcdir=$(srcdir)/diff"; \ | |
18442 | libsrcdir="$$s/diff";; \ | |
18443 | *) \ | |
18444 | srcdiroption="--srcdir=../$(srcdir)/diff"; \ | |
18445 | libsrcdir="$$s/diff";; \ | |
18446 | esac; \ | |
18447 | $(SHELL) $${libsrcdir}/configure \ | |
18448 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18449 | || exit 1 | |
18450 | ||
930314a4 NN |
18451 | .PHONY: all-diff maybe-all-diff |
18452 | maybe-all-diff: | |
db1ac78d | 18453 | all-diff: configure-diff |
b40e3958 L |
18454 | @r=`${PWD_COMMAND}`; export r; \ |
18455 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18456 | $(SET_LIB_PATH) \ |
18457 | (cd diff && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18458 | |
16ae0395 NN |
18459 | .PHONY: check-diff maybe-check-diff |
18460 | maybe-check-diff: | |
3866be5d | 18461 | |
3866be5d | 18462 | check-diff: |
b40e3958 L |
18463 | @r=`${PWD_COMMAND}`; export r; \ |
18464 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18465 | $(SET_LIB_PATH) \ |
18466 | (cd diff && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
18467 | |
18468 | ||
930314a4 NN |
18469 | .PHONY: install-diff maybe-install-diff |
18470 | maybe-install-diff: | |
16ae0395 | 18471 | |
3866be5d | 18472 | install-diff: installdirs |
b40e3958 L |
18473 | @r=`${PWD_COMMAND}`; export r; \ |
18474 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18475 | $(SET_LIB_PATH) \ |
18476 | (cd diff && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18477 | |
18478 | ||
e2b9e2dc NN |
18479 | .PHONY: configure-dosutils maybe-configure-dosutils |
18480 | maybe-configure-dosutils: | |
e6bfb94a AO |
18481 | configure-dosutils: |
18482 | @test ! -f dosutils/Makefile || exit 0; \ | |
18483 | [ -d dosutils ] || mkdir dosutils; \ | |
b40e3958 L |
18484 | r=`${PWD_COMMAND}`; export r; \ |
18485 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
18486 | CC="$(CC)"; export CC; \ |
18487 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18488 | CXX="$(CXX)"; export CXX; \ | |
18489 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18490 | AR="$(AR)"; export AR; \ |
18491 | AS="$(AS)"; export AS; \ | |
18492 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18493 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18494 | LD="$(LD)"; export LD; \ | |
18495 | NM="$(NM)"; export NM; \ | |
18496 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18497 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18498 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18499 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18500 | echo Configuring in dosutils; \ |
18501 | cd dosutils || exit 1; \ | |
18502 | case $(srcdir) in \ | |
18503 | \.) \ | |
18504 | srcdiroption="--srcdir=."; \ | |
18505 | libsrcdir=".";; \ | |
18506 | /* | [A-Za-z]:[\\/]*) \ | |
18507 | srcdiroption="--srcdir=$(srcdir)/dosutils"; \ | |
18508 | libsrcdir="$$s/dosutils";; \ | |
18509 | *) \ | |
18510 | srcdiroption="--srcdir=../$(srcdir)/dosutils"; \ | |
18511 | libsrcdir="$$s/dosutils";; \ | |
18512 | esac; \ | |
18513 | $(SHELL) $${libsrcdir}/configure \ | |
18514 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18515 | || exit 1 | |
18516 | ||
930314a4 NN |
18517 | .PHONY: all-dosutils maybe-all-dosutils |
18518 | maybe-all-dosutils: | |
db1ac78d | 18519 | all-dosutils: configure-dosutils |
b40e3958 L |
18520 | @r=`${PWD_COMMAND}`; export r; \ |
18521 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18522 | $(SET_LIB_PATH) \ |
18523 | (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18524 | |
16ae0395 NN |
18525 | .PHONY: check-dosutils maybe-check-dosutils |
18526 | maybe-check-dosutils: | |
3866be5d | 18527 | |
3866be5d NN |
18528 | check-dosutils: |
18529 | ||
18530 | ||
930314a4 NN |
18531 | .PHONY: install-dosutils maybe-install-dosutils |
18532 | maybe-install-dosutils: | |
16ae0395 | 18533 | |
3866be5d | 18534 | install-dosutils: installdirs |
b40e3958 L |
18535 | @r=`${PWD_COMMAND}`; export r; \ |
18536 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18537 | $(SET_LIB_PATH) \ |
18538 | (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18539 | |
18540 | ||
e2b9e2dc NN |
18541 | .PHONY: configure-etc maybe-configure-etc |
18542 | maybe-configure-etc: | |
e6bfb94a AO |
18543 | configure-etc: |
18544 | @test ! -f etc/Makefile || exit 0; \ | |
18545 | [ -d etc ] || mkdir etc; \ | |
b40e3958 L |
18546 | r=`${PWD_COMMAND}`; export r; \ |
18547 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
18548 | CC="$(CC)"; export CC; \ |
18549 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18550 | CXX="$(CXX)"; export CXX; \ | |
18551 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18552 | AR="$(AR)"; export AR; \ |
18553 | AS="$(AS)"; export AS; \ | |
18554 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18555 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18556 | LD="$(LD)"; export LD; \ | |
18557 | NM="$(NM)"; export NM; \ | |
18558 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18559 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18560 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18561 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18562 | echo Configuring in etc; \ |
18563 | cd etc || exit 1; \ | |
18564 | case $(srcdir) in \ | |
18565 | \.) \ | |
18566 | srcdiroption="--srcdir=."; \ | |
18567 | libsrcdir=".";; \ | |
18568 | /* | [A-Za-z]:[\\/]*) \ | |
18569 | srcdiroption="--srcdir=$(srcdir)/etc"; \ | |
18570 | libsrcdir="$$s/etc";; \ | |
18571 | *) \ | |
18572 | srcdiroption="--srcdir=../$(srcdir)/etc"; \ | |
18573 | libsrcdir="$$s/etc";; \ | |
18574 | esac; \ | |
18575 | $(SHELL) $${libsrcdir}/configure \ | |
18576 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18577 | || exit 1 | |
18578 | ||
930314a4 NN |
18579 | .PHONY: all-etc maybe-all-etc |
18580 | maybe-all-etc: | |
db1ac78d | 18581 | all-etc: configure-etc |
b40e3958 L |
18582 | @r=`${PWD_COMMAND}`; export r; \ |
18583 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18584 | $(SET_LIB_PATH) \ |
18585 | (cd etc && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18586 | |
16ae0395 NN |
18587 | .PHONY: check-etc maybe-check-etc |
18588 | maybe-check-etc: | |
3866be5d | 18589 | |
3866be5d | 18590 | check-etc: |
b40e3958 L |
18591 | @r=`${PWD_COMMAND}`; export r; \ |
18592 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18593 | $(SET_LIB_PATH) \ |
18594 | (cd etc && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
18595 | |
18596 | ||
930314a4 NN |
18597 | .PHONY: install-etc maybe-install-etc |
18598 | maybe-install-etc: | |
16ae0395 | 18599 | |
3866be5d | 18600 | install-etc: installdirs |
b40e3958 L |
18601 | @r=`${PWD_COMMAND}`; export r; \ |
18602 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18603 | $(SET_LIB_PATH) \ |
18604 | (cd etc && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18605 | |
18606 | ||
e2b9e2dc NN |
18607 | .PHONY: configure-fastjar maybe-configure-fastjar |
18608 | maybe-configure-fastjar: | |
e6bfb94a AO |
18609 | configure-fastjar: |
18610 | @test ! -f fastjar/Makefile || exit 0; \ | |
18611 | [ -d fastjar ] || mkdir fastjar; \ | |
b40e3958 L |
18612 | r=`${PWD_COMMAND}`; export r; \ |
18613 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
18614 | CC="$(CC)"; export CC; \ |
18615 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18616 | CXX="$(CXX)"; export CXX; \ | |
18617 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18618 | AR="$(AR)"; export AR; \ |
18619 | AS="$(AS)"; export AS; \ | |
18620 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18621 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18622 | LD="$(LD)"; export LD; \ | |
18623 | NM="$(NM)"; export NM; \ | |
18624 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18625 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18626 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18627 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18628 | echo Configuring in fastjar; \ |
18629 | cd fastjar || exit 1; \ | |
18630 | case $(srcdir) in \ | |
18631 | \.) \ | |
18632 | srcdiroption="--srcdir=."; \ | |
18633 | libsrcdir=".";; \ | |
18634 | /* | [A-Za-z]:[\\/]*) \ | |
18635 | srcdiroption="--srcdir=$(srcdir)/fastjar"; \ | |
18636 | libsrcdir="$$s/fastjar";; \ | |
18637 | *) \ | |
18638 | srcdiroption="--srcdir=../$(srcdir)/fastjar"; \ | |
18639 | libsrcdir="$$s/fastjar";; \ | |
18640 | esac; \ | |
18641 | $(SHELL) $${libsrcdir}/configure \ | |
18642 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18643 | || exit 1 | |
18644 | ||
930314a4 NN |
18645 | .PHONY: all-fastjar maybe-all-fastjar |
18646 | maybe-all-fastjar: | |
db1ac78d | 18647 | all-fastjar: configure-fastjar |
b40e3958 L |
18648 | @r=`${PWD_COMMAND}`; export r; \ |
18649 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18650 | $(SET_LIB_PATH) \ |
18651 | (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18652 | |
16ae0395 NN |
18653 | .PHONY: check-fastjar maybe-check-fastjar |
18654 | maybe-check-fastjar: | |
3866be5d | 18655 | |
3866be5d NN |
18656 | # This module is only tested in a native toolchain. |
18657 | check-fastjar: | |
7f121bbf | 18658 | @if [ '$(host)' = '$(target)' ] ; then \ |
b40e3958 L |
18659 | r=`${PWD_COMMAND}`; export r; \ |
18660 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18661 | $(SET_LIB_PATH) \ |
18662 | (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) check); \ | |
3866be5d NN |
18663 | fi |
18664 | ||
18665 | ||
930314a4 NN |
18666 | .PHONY: install-fastjar maybe-install-fastjar |
18667 | maybe-install-fastjar: | |
16ae0395 | 18668 | |
3866be5d | 18669 | install-fastjar: installdirs |
b40e3958 L |
18670 | @r=`${PWD_COMMAND}`; export r; \ |
18671 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18672 | $(SET_LIB_PATH) \ |
18673 | (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18674 | |
18675 | ||
e2b9e2dc NN |
18676 | .PHONY: configure-fileutils maybe-configure-fileutils |
18677 | maybe-configure-fileutils: | |
e6bfb94a AO |
18678 | configure-fileutils: |
18679 | @test ! -f fileutils/Makefile || exit 0; \ | |
18680 | [ -d fileutils ] || mkdir fileutils; \ | |
b40e3958 L |
18681 | r=`${PWD_COMMAND}`; export r; \ |
18682 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
18683 | CC="$(CC)"; export CC; \ |
18684 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18685 | CXX="$(CXX)"; export CXX; \ | |
18686 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18687 | AR="$(AR)"; export AR; \ |
18688 | AS="$(AS)"; export AS; \ | |
18689 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18690 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18691 | LD="$(LD)"; export LD; \ | |
18692 | NM="$(NM)"; export NM; \ | |
18693 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18694 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18695 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18696 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18697 | echo Configuring in fileutils; \ |
18698 | cd fileutils || exit 1; \ | |
18699 | case $(srcdir) in \ | |
18700 | \.) \ | |
18701 | srcdiroption="--srcdir=."; \ | |
18702 | libsrcdir=".";; \ | |
18703 | /* | [A-Za-z]:[\\/]*) \ | |
18704 | srcdiroption="--srcdir=$(srcdir)/fileutils"; \ | |
18705 | libsrcdir="$$s/fileutils";; \ | |
18706 | *) \ | |
18707 | srcdiroption="--srcdir=../$(srcdir)/fileutils"; \ | |
18708 | libsrcdir="$$s/fileutils";; \ | |
18709 | esac; \ | |
18710 | $(SHELL) $${libsrcdir}/configure \ | |
18711 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18712 | || exit 1 | |
18713 | ||
930314a4 NN |
18714 | .PHONY: all-fileutils maybe-all-fileutils |
18715 | maybe-all-fileutils: | |
db1ac78d | 18716 | all-fileutils: configure-fileutils |
b40e3958 L |
18717 | @r=`${PWD_COMMAND}`; export r; \ |
18718 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18719 | $(SET_LIB_PATH) \ |
18720 | (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18721 | |
16ae0395 NN |
18722 | .PHONY: check-fileutils maybe-check-fileutils |
18723 | maybe-check-fileutils: | |
3866be5d | 18724 | |
3866be5d | 18725 | check-fileutils: |
b40e3958 L |
18726 | @r=`${PWD_COMMAND}`; export r; \ |
18727 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18728 | $(SET_LIB_PATH) \ |
18729 | (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
18730 | |
18731 | ||
930314a4 NN |
18732 | .PHONY: install-fileutils maybe-install-fileutils |
18733 | maybe-install-fileutils: | |
16ae0395 | 18734 | |
3866be5d | 18735 | install-fileutils: installdirs |
b40e3958 L |
18736 | @r=`${PWD_COMMAND}`; export r; \ |
18737 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18738 | $(SET_LIB_PATH) \ |
18739 | (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18740 | |
18741 | ||
e2b9e2dc NN |
18742 | .PHONY: configure-findutils maybe-configure-findutils |
18743 | maybe-configure-findutils: | |
e6bfb94a AO |
18744 | configure-findutils: |
18745 | @test ! -f findutils/Makefile || exit 0; \ | |
18746 | [ -d findutils ] || mkdir findutils; \ | |
b40e3958 L |
18747 | r=`${PWD_COMMAND}`; export r; \ |
18748 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
18749 | CC="$(CC)"; export CC; \ |
18750 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18751 | CXX="$(CXX)"; export CXX; \ | |
18752 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18753 | AR="$(AR)"; export AR; \ |
18754 | AS="$(AS)"; export AS; \ | |
18755 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18756 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18757 | LD="$(LD)"; export LD; \ | |
18758 | NM="$(NM)"; export NM; \ | |
18759 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18760 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18761 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18762 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18763 | echo Configuring in findutils; \ |
18764 | cd findutils || exit 1; \ | |
18765 | case $(srcdir) in \ | |
18766 | \.) \ | |
18767 | srcdiroption="--srcdir=."; \ | |
18768 | libsrcdir=".";; \ | |
18769 | /* | [A-Za-z]:[\\/]*) \ | |
18770 | srcdiroption="--srcdir=$(srcdir)/findutils"; \ | |
18771 | libsrcdir="$$s/findutils";; \ | |
18772 | *) \ | |
18773 | srcdiroption="--srcdir=../$(srcdir)/findutils"; \ | |
18774 | libsrcdir="$$s/findutils";; \ | |
18775 | esac; \ | |
18776 | $(SHELL) $${libsrcdir}/configure \ | |
18777 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18778 | || exit 1 | |
18779 | ||
930314a4 NN |
18780 | .PHONY: all-findutils maybe-all-findutils |
18781 | maybe-all-findutils: | |
db1ac78d | 18782 | all-findutils: configure-findutils |
b40e3958 L |
18783 | @r=`${PWD_COMMAND}`; export r; \ |
18784 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18785 | $(SET_LIB_PATH) \ |
18786 | (cd findutils && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18787 | |
16ae0395 NN |
18788 | .PHONY: check-findutils maybe-check-findutils |
18789 | maybe-check-findutils: | |
3866be5d | 18790 | |
3866be5d | 18791 | check-findutils: |
b40e3958 L |
18792 | @r=`${PWD_COMMAND}`; export r; \ |
18793 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18794 | $(SET_LIB_PATH) \ |
18795 | (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
18796 | |
18797 | ||
930314a4 NN |
18798 | .PHONY: install-findutils maybe-install-findutils |
18799 | maybe-install-findutils: | |
16ae0395 | 18800 | |
3866be5d | 18801 | install-findutils: installdirs |
b40e3958 L |
18802 | @r=`${PWD_COMMAND}`; export r; \ |
18803 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18804 | $(SET_LIB_PATH) \ |
18805 | (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18806 | |
18807 | ||
e2b9e2dc NN |
18808 | .PHONY: configure-find maybe-configure-find |
18809 | maybe-configure-find: | |
e6bfb94a AO |
18810 | configure-find: |
18811 | @test ! -f find/Makefile || exit 0; \ | |
18812 | [ -d find ] || mkdir find; \ | |
b40e3958 L |
18813 | r=`${PWD_COMMAND}`; export r; \ |
18814 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
18815 | CC="$(CC)"; export CC; \ |
18816 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18817 | CXX="$(CXX)"; export CXX; \ | |
18818 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18819 | AR="$(AR)"; export AR; \ |
18820 | AS="$(AS)"; export AS; \ | |
18821 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18822 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18823 | LD="$(LD)"; export LD; \ | |
18824 | NM="$(NM)"; export NM; \ | |
18825 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18826 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18827 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18828 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18829 | echo Configuring in find; \ |
18830 | cd find || exit 1; \ | |
18831 | case $(srcdir) in \ | |
18832 | \.) \ | |
18833 | srcdiroption="--srcdir=."; \ | |
18834 | libsrcdir=".";; \ | |
18835 | /* | [A-Za-z]:[\\/]*) \ | |
18836 | srcdiroption="--srcdir=$(srcdir)/find"; \ | |
18837 | libsrcdir="$$s/find";; \ | |
18838 | *) \ | |
18839 | srcdiroption="--srcdir=../$(srcdir)/find"; \ | |
18840 | libsrcdir="$$s/find";; \ | |
18841 | esac; \ | |
18842 | $(SHELL) $${libsrcdir}/configure \ | |
18843 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18844 | || exit 1 | |
18845 | ||
930314a4 NN |
18846 | .PHONY: all-find maybe-all-find |
18847 | maybe-all-find: | |
db1ac78d | 18848 | all-find: configure-find |
b40e3958 L |
18849 | @r=`${PWD_COMMAND}`; export r; \ |
18850 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18851 | $(SET_LIB_PATH) \ |
18852 | (cd find && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18853 | |
16ae0395 NN |
18854 | .PHONY: check-find maybe-check-find |
18855 | maybe-check-find: | |
3866be5d | 18856 | |
3866be5d | 18857 | check-find: |
b40e3958 L |
18858 | @r=`${PWD_COMMAND}`; export r; \ |
18859 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18860 | $(SET_LIB_PATH) \ |
18861 | (cd find && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
18862 | |
18863 | ||
930314a4 NN |
18864 | .PHONY: install-find maybe-install-find |
18865 | maybe-install-find: | |
16ae0395 | 18866 | |
3866be5d | 18867 | install-find: installdirs |
b40e3958 L |
18868 | @r=`${PWD_COMMAND}`; export r; \ |
18869 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18870 | $(SET_LIB_PATH) \ |
18871 | (cd find && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18872 | |
18873 | ||
e2b9e2dc NN |
18874 | .PHONY: configure-flex maybe-configure-flex |
18875 | maybe-configure-flex: | |
e6bfb94a AO |
18876 | configure-flex: |
18877 | @test ! -f flex/Makefile || exit 0; \ | |
18878 | [ -d flex ] || mkdir flex; \ | |
b40e3958 L |
18879 | r=`${PWD_COMMAND}`; export r; \ |
18880 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
18881 | CC="$(CC)"; export CC; \ |
18882 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18883 | CXX="$(CXX)"; export CXX; \ | |
18884 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18885 | AR="$(AR)"; export AR; \ |
18886 | AS="$(AS)"; export AS; \ | |
18887 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18888 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18889 | LD="$(LD)"; export LD; \ | |
18890 | NM="$(NM)"; export NM; \ | |
18891 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18892 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18893 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18894 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18895 | echo Configuring in flex; \ |
18896 | cd flex || exit 1; \ | |
18897 | case $(srcdir) in \ | |
18898 | \.) \ | |
18899 | srcdiroption="--srcdir=."; \ | |
18900 | libsrcdir=".";; \ | |
18901 | /* | [A-Za-z]:[\\/]*) \ | |
18902 | srcdiroption="--srcdir=$(srcdir)/flex"; \ | |
18903 | libsrcdir="$$s/flex";; \ | |
18904 | *) \ | |
18905 | srcdiroption="--srcdir=../$(srcdir)/flex"; \ | |
18906 | libsrcdir="$$s/flex";; \ | |
18907 | esac; \ | |
18908 | $(SHELL) $${libsrcdir}/configure \ | |
18909 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18910 | || exit 1 | |
18911 | ||
930314a4 NN |
18912 | .PHONY: all-flex maybe-all-flex |
18913 | maybe-all-flex: | |
db1ac78d | 18914 | all-flex: configure-flex |
b40e3958 L |
18915 | @r=`${PWD_COMMAND}`; export r; \ |
18916 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18917 | $(SET_LIB_PATH) \ |
18918 | (cd flex && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18919 | |
16ae0395 NN |
18920 | .PHONY: check-flex maybe-check-flex |
18921 | maybe-check-flex: | |
3866be5d | 18922 | |
3866be5d NN |
18923 | # This module is only tested in a native toolchain. |
18924 | check-flex: | |
7f121bbf | 18925 | @if [ '$(host)' = '$(target)' ] ; then \ |
b40e3958 L |
18926 | r=`${PWD_COMMAND}`; export r; \ |
18927 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18928 | $(SET_LIB_PATH) \ |
18929 | (cd flex && $(MAKE) $(FLAGS_TO_PASS) check); \ | |
3866be5d NN |
18930 | fi |
18931 | ||
18932 | ||
930314a4 NN |
18933 | .PHONY: install-flex maybe-install-flex |
18934 | maybe-install-flex: | |
16ae0395 | 18935 | |
3866be5d | 18936 | install-flex: installdirs |
b40e3958 L |
18937 | @r=`${PWD_COMMAND}`; export r; \ |
18938 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18939 | $(SET_LIB_PATH) \ |
18940 | (cd flex && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18941 | |
18942 | ||
e2b9e2dc NN |
18943 | .PHONY: configure-gas maybe-configure-gas |
18944 | maybe-configure-gas: | |
e6bfb94a AO |
18945 | configure-gas: |
18946 | @test ! -f gas/Makefile || exit 0; \ | |
18947 | [ -d gas ] || mkdir gas; \ | |
b40e3958 L |
18948 | r=`${PWD_COMMAND}`; export r; \ |
18949 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
18950 | CC="$(CC)"; export CC; \ |
18951 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18952 | CXX="$(CXX)"; export CXX; \ | |
18953 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18954 | AR="$(AR)"; export AR; \ |
18955 | AS="$(AS)"; export AS; \ | |
18956 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18957 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18958 | LD="$(LD)"; export LD; \ | |
18959 | NM="$(NM)"; export NM; \ | |
18960 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18961 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18962 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18963 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18964 | echo Configuring in gas; \ |
18965 | cd gas || exit 1; \ | |
18966 | case $(srcdir) in \ | |
18967 | \.) \ | |
18968 | srcdiroption="--srcdir=."; \ | |
18969 | libsrcdir=".";; \ | |
18970 | /* | [A-Za-z]:[\\/]*) \ | |
18971 | srcdiroption="--srcdir=$(srcdir)/gas"; \ | |
18972 | libsrcdir="$$s/gas";; \ | |
18973 | *) \ | |
18974 | srcdiroption="--srcdir=../$(srcdir)/gas"; \ | |
18975 | libsrcdir="$$s/gas";; \ | |
18976 | esac; \ | |
18977 | $(SHELL) $${libsrcdir}/configure \ | |
18978 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18979 | || exit 1 | |
18980 | ||
930314a4 NN |
18981 | .PHONY: all-gas maybe-all-gas |
18982 | maybe-all-gas: | |
db1ac78d | 18983 | all-gas: configure-gas |
b40e3958 L |
18984 | @r=`${PWD_COMMAND}`; export r; \ |
18985 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18986 | $(SET_LIB_PATH) \ |
18987 | (cd gas && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18988 | |
16ae0395 NN |
18989 | .PHONY: check-gas maybe-check-gas |
18990 | maybe-check-gas: | |
3866be5d | 18991 | |
3866be5d | 18992 | check-gas: |
b40e3958 L |
18993 | @r=`${PWD_COMMAND}`; export r; \ |
18994 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
18995 | $(SET_LIB_PATH) \ |
18996 | (cd gas && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
18997 | |
18998 | ||
930314a4 NN |
18999 | .PHONY: install-gas maybe-install-gas |
19000 | maybe-install-gas: | |
16ae0395 | 19001 | |
3866be5d | 19002 | install-gas: installdirs |
b40e3958 L |
19003 | @r=`${PWD_COMMAND}`; export r; \ |
19004 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19005 | $(SET_LIB_PATH) \ |
19006 | (cd gas && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19007 | |
19008 | ||
e2b9e2dc NN |
19009 | .PHONY: configure-gawk maybe-configure-gawk |
19010 | maybe-configure-gawk: | |
e6bfb94a AO |
19011 | configure-gawk: |
19012 | @test ! -f gawk/Makefile || exit 0; \ | |
19013 | [ -d gawk ] || mkdir gawk; \ | |
b40e3958 L |
19014 | r=`${PWD_COMMAND}`; export r; \ |
19015 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
19016 | CC="$(CC)"; export CC; \ |
19017 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19018 | CXX="$(CXX)"; export CXX; \ | |
19019 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19020 | AR="$(AR)"; export AR; \ |
19021 | AS="$(AS)"; export AS; \ | |
19022 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19023 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19024 | LD="$(LD)"; export LD; \ | |
19025 | NM="$(NM)"; export NM; \ | |
19026 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19027 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19028 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19029 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19030 | echo Configuring in gawk; \ |
19031 | cd gawk || exit 1; \ | |
19032 | case $(srcdir) in \ | |
19033 | \.) \ | |
19034 | srcdiroption="--srcdir=."; \ | |
19035 | libsrcdir=".";; \ | |
19036 | /* | [A-Za-z]:[\\/]*) \ | |
19037 | srcdiroption="--srcdir=$(srcdir)/gawk"; \ | |
19038 | libsrcdir="$$s/gawk";; \ | |
19039 | *) \ | |
19040 | srcdiroption="--srcdir=../$(srcdir)/gawk"; \ | |
19041 | libsrcdir="$$s/gawk";; \ | |
19042 | esac; \ | |
19043 | $(SHELL) $${libsrcdir}/configure \ | |
19044 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19045 | || exit 1 | |
19046 | ||
930314a4 NN |
19047 | .PHONY: all-gawk maybe-all-gawk |
19048 | maybe-all-gawk: | |
db1ac78d | 19049 | all-gawk: configure-gawk |
b40e3958 L |
19050 | @r=`${PWD_COMMAND}`; export r; \ |
19051 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19052 | $(SET_LIB_PATH) \ |
19053 | (cd gawk && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19054 | |
16ae0395 NN |
19055 | .PHONY: check-gawk maybe-check-gawk |
19056 | maybe-check-gawk: | |
3866be5d | 19057 | |
3866be5d | 19058 | check-gawk: |
b40e3958 L |
19059 | @r=`${PWD_COMMAND}`; export r; \ |
19060 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19061 | $(SET_LIB_PATH) \ |
19062 | (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19063 | |
19064 | ||
930314a4 NN |
19065 | .PHONY: install-gawk maybe-install-gawk |
19066 | maybe-install-gawk: | |
16ae0395 | 19067 | |
3866be5d | 19068 | install-gawk: installdirs |
b40e3958 L |
19069 | @r=`${PWD_COMMAND}`; export r; \ |
19070 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19071 | $(SET_LIB_PATH) \ |
19072 | (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19073 | |
19074 | ||
e2b9e2dc NN |
19075 | .PHONY: configure-gettext maybe-configure-gettext |
19076 | maybe-configure-gettext: | |
e6bfb94a AO |
19077 | configure-gettext: |
19078 | @test ! -f gettext/Makefile || exit 0; \ | |
19079 | [ -d gettext ] || mkdir gettext; \ | |
b40e3958 L |
19080 | r=`${PWD_COMMAND}`; export r; \ |
19081 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
19082 | CC="$(CC)"; export CC; \ |
19083 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19084 | CXX="$(CXX)"; export CXX; \ | |
19085 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19086 | AR="$(AR)"; export AR; \ |
19087 | AS="$(AS)"; export AS; \ | |
19088 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19089 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19090 | LD="$(LD)"; export LD; \ | |
19091 | NM="$(NM)"; export NM; \ | |
19092 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19093 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19094 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19095 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19096 | echo Configuring in gettext; \ |
19097 | cd gettext || exit 1; \ | |
19098 | case $(srcdir) in \ | |
19099 | \.) \ | |
19100 | srcdiroption="--srcdir=."; \ | |
19101 | libsrcdir=".";; \ | |
19102 | /* | [A-Za-z]:[\\/]*) \ | |
19103 | srcdiroption="--srcdir=$(srcdir)/gettext"; \ | |
19104 | libsrcdir="$$s/gettext";; \ | |
19105 | *) \ | |
19106 | srcdiroption="--srcdir=../$(srcdir)/gettext"; \ | |
19107 | libsrcdir="$$s/gettext";; \ | |
19108 | esac; \ | |
19109 | $(SHELL) $${libsrcdir}/configure \ | |
19110 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19111 | || exit 1 | |
19112 | ||
930314a4 NN |
19113 | .PHONY: all-gettext maybe-all-gettext |
19114 | maybe-all-gettext: | |
db1ac78d | 19115 | all-gettext: configure-gettext |
b40e3958 L |
19116 | @r=`${PWD_COMMAND}`; export r; \ |
19117 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19118 | $(SET_LIB_PATH) \ |
19119 | (cd gettext && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19120 | |
16ae0395 NN |
19121 | .PHONY: check-gettext maybe-check-gettext |
19122 | maybe-check-gettext: | |
3866be5d | 19123 | |
3866be5d | 19124 | check-gettext: |
b40e3958 L |
19125 | @r=`${PWD_COMMAND}`; export r; \ |
19126 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19127 | $(SET_LIB_PATH) \ |
19128 | (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19129 | |
19130 | ||
930314a4 NN |
19131 | .PHONY: install-gettext maybe-install-gettext |
19132 | maybe-install-gettext: | |
16ae0395 | 19133 | |
3866be5d | 19134 | install-gettext: installdirs |
b40e3958 L |
19135 | @r=`${PWD_COMMAND}`; export r; \ |
19136 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19137 | $(SET_LIB_PATH) \ |
19138 | (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19139 | |
19140 | ||
e2b9e2dc NN |
19141 | .PHONY: configure-gnuserv maybe-configure-gnuserv |
19142 | maybe-configure-gnuserv: | |
e6bfb94a AO |
19143 | configure-gnuserv: |
19144 | @test ! -f gnuserv/Makefile || exit 0; \ | |
19145 | [ -d gnuserv ] || mkdir gnuserv; \ | |
b40e3958 L |
19146 | r=`${PWD_COMMAND}`; export r; \ |
19147 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
19148 | CC="$(CC)"; export CC; \ |
19149 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19150 | CXX="$(CXX)"; export CXX; \ | |
19151 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19152 | AR="$(AR)"; export AR; \ |
19153 | AS="$(AS)"; export AS; \ | |
19154 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19155 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19156 | LD="$(LD)"; export LD; \ | |
19157 | NM="$(NM)"; export NM; \ | |
19158 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19159 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19160 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19161 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19162 | echo Configuring in gnuserv; \ |
19163 | cd gnuserv || exit 1; \ | |
19164 | case $(srcdir) in \ | |
19165 | \.) \ | |
19166 | srcdiroption="--srcdir=."; \ | |
19167 | libsrcdir=".";; \ | |
19168 | /* | [A-Za-z]:[\\/]*) \ | |
19169 | srcdiroption="--srcdir=$(srcdir)/gnuserv"; \ | |
19170 | libsrcdir="$$s/gnuserv";; \ | |
19171 | *) \ | |
19172 | srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \ | |
19173 | libsrcdir="$$s/gnuserv";; \ | |
19174 | esac; \ | |
19175 | $(SHELL) $${libsrcdir}/configure \ | |
19176 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19177 | || exit 1 | |
19178 | ||
930314a4 NN |
19179 | .PHONY: all-gnuserv maybe-all-gnuserv |
19180 | maybe-all-gnuserv: | |
db1ac78d | 19181 | all-gnuserv: configure-gnuserv |
b40e3958 L |
19182 | @r=`${PWD_COMMAND}`; export r; \ |
19183 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19184 | $(SET_LIB_PATH) \ |
19185 | (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19186 | |
16ae0395 NN |
19187 | .PHONY: check-gnuserv maybe-check-gnuserv |
19188 | maybe-check-gnuserv: | |
3866be5d | 19189 | |
3866be5d | 19190 | check-gnuserv: |
b40e3958 L |
19191 | @r=`${PWD_COMMAND}`; export r; \ |
19192 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19193 | $(SET_LIB_PATH) \ |
19194 | (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19195 | |
19196 | ||
930314a4 NN |
19197 | .PHONY: install-gnuserv maybe-install-gnuserv |
19198 | maybe-install-gnuserv: | |
16ae0395 | 19199 | |
3866be5d | 19200 | install-gnuserv: installdirs |
b40e3958 L |
19201 | @r=`${PWD_COMMAND}`; export r; \ |
19202 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19203 | $(SET_LIB_PATH) \ |
19204 | (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19205 | |
19206 | ||
e2b9e2dc NN |
19207 | .PHONY: configure-gprof maybe-configure-gprof |
19208 | maybe-configure-gprof: | |
e6bfb94a AO |
19209 | configure-gprof: |
19210 | @test ! -f gprof/Makefile || exit 0; \ | |
19211 | [ -d gprof ] || mkdir gprof; \ | |
b40e3958 L |
19212 | r=`${PWD_COMMAND}`; export r; \ |
19213 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
19214 | CC="$(CC)"; export CC; \ |
19215 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19216 | CXX="$(CXX)"; export CXX; \ | |
19217 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19218 | AR="$(AR)"; export AR; \ |
19219 | AS="$(AS)"; export AS; \ | |
19220 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19221 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19222 | LD="$(LD)"; export LD; \ | |
19223 | NM="$(NM)"; export NM; \ | |
19224 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19225 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19226 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19227 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19228 | echo Configuring in gprof; \ |
19229 | cd gprof || exit 1; \ | |
19230 | case $(srcdir) in \ | |
19231 | \.) \ | |
19232 | srcdiroption="--srcdir=."; \ | |
19233 | libsrcdir=".";; \ | |
19234 | /* | [A-Za-z]:[\\/]*) \ | |
19235 | srcdiroption="--srcdir=$(srcdir)/gprof"; \ | |
19236 | libsrcdir="$$s/gprof";; \ | |
19237 | *) \ | |
19238 | srcdiroption="--srcdir=../$(srcdir)/gprof"; \ | |
19239 | libsrcdir="$$s/gprof";; \ | |
19240 | esac; \ | |
19241 | $(SHELL) $${libsrcdir}/configure \ | |
19242 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19243 | || exit 1 | |
19244 | ||
930314a4 NN |
19245 | .PHONY: all-gprof maybe-all-gprof |
19246 | maybe-all-gprof: | |
db1ac78d | 19247 | all-gprof: configure-gprof |
b40e3958 L |
19248 | @r=`${PWD_COMMAND}`; export r; \ |
19249 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19250 | $(SET_LIB_PATH) \ |
19251 | (cd gprof && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19252 | |
16ae0395 NN |
19253 | .PHONY: check-gprof maybe-check-gprof |
19254 | maybe-check-gprof: | |
3866be5d | 19255 | |
3866be5d | 19256 | check-gprof: |
b40e3958 L |
19257 | @r=`${PWD_COMMAND}`; export r; \ |
19258 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19259 | $(SET_LIB_PATH) \ |
19260 | (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19261 | |
19262 | ||
930314a4 NN |
19263 | .PHONY: install-gprof maybe-install-gprof |
19264 | maybe-install-gprof: | |
16ae0395 | 19265 | |
3866be5d | 19266 | install-gprof: installdirs |
b40e3958 L |
19267 | @r=`${PWD_COMMAND}`; export r; \ |
19268 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19269 | $(SET_LIB_PATH) \ |
19270 | (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19271 | |
19272 | ||
e2b9e2dc NN |
19273 | .PHONY: configure-gzip maybe-configure-gzip |
19274 | maybe-configure-gzip: | |
e6bfb94a AO |
19275 | configure-gzip: |
19276 | @test ! -f gzip/Makefile || exit 0; \ | |
19277 | [ -d gzip ] || mkdir gzip; \ | |
b40e3958 L |
19278 | r=`${PWD_COMMAND}`; export r; \ |
19279 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
19280 | CC="$(CC)"; export CC; \ |
19281 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19282 | CXX="$(CXX)"; export CXX; \ | |
19283 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19284 | AR="$(AR)"; export AR; \ |
19285 | AS="$(AS)"; export AS; \ | |
19286 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19287 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19288 | LD="$(LD)"; export LD; \ | |
19289 | NM="$(NM)"; export NM; \ | |
19290 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19291 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19292 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19293 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19294 | echo Configuring in gzip; \ |
19295 | cd gzip || exit 1; \ | |
19296 | case $(srcdir) in \ | |
19297 | \.) \ | |
19298 | srcdiroption="--srcdir=."; \ | |
19299 | libsrcdir=".";; \ | |
19300 | /* | [A-Za-z]:[\\/]*) \ | |
19301 | srcdiroption="--srcdir=$(srcdir)/gzip"; \ | |
19302 | libsrcdir="$$s/gzip";; \ | |
19303 | *) \ | |
19304 | srcdiroption="--srcdir=../$(srcdir)/gzip"; \ | |
19305 | libsrcdir="$$s/gzip";; \ | |
19306 | esac; \ | |
19307 | $(SHELL) $${libsrcdir}/configure \ | |
19308 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19309 | || exit 1 | |
19310 | ||
930314a4 NN |
19311 | .PHONY: all-gzip maybe-all-gzip |
19312 | maybe-all-gzip: | |
db1ac78d | 19313 | all-gzip: configure-gzip |
b40e3958 L |
19314 | @r=`${PWD_COMMAND}`; export r; \ |
19315 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19316 | $(SET_LIB_PATH) \ |
19317 | (cd gzip && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19318 | |
16ae0395 NN |
19319 | .PHONY: check-gzip maybe-check-gzip |
19320 | maybe-check-gzip: | |
3866be5d | 19321 | |
3866be5d | 19322 | check-gzip: |
b40e3958 L |
19323 | @r=`${PWD_COMMAND}`; export r; \ |
19324 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19325 | $(SET_LIB_PATH) \ |
19326 | (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19327 | |
19328 | ||
930314a4 NN |
19329 | .PHONY: install-gzip maybe-install-gzip |
19330 | maybe-install-gzip: | |
16ae0395 | 19331 | |
3866be5d | 19332 | install-gzip: installdirs |
b40e3958 L |
19333 | @r=`${PWD_COMMAND}`; export r; \ |
19334 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19335 | $(SET_LIB_PATH) \ |
19336 | (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19337 | |
19338 | ||
e2b9e2dc NN |
19339 | .PHONY: configure-hello maybe-configure-hello |
19340 | maybe-configure-hello: | |
e6bfb94a AO |
19341 | configure-hello: |
19342 | @test ! -f hello/Makefile || exit 0; \ | |
19343 | [ -d hello ] || mkdir hello; \ | |
b40e3958 L |
19344 | r=`${PWD_COMMAND}`; export r; \ |
19345 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
19346 | CC="$(CC)"; export CC; \ |
19347 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19348 | CXX="$(CXX)"; export CXX; \ | |
19349 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19350 | AR="$(AR)"; export AR; \ |
19351 | AS="$(AS)"; export AS; \ | |
19352 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19353 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19354 | LD="$(LD)"; export LD; \ | |
19355 | NM="$(NM)"; export NM; \ | |
19356 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19357 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19358 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19359 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19360 | echo Configuring in hello; \ |
19361 | cd hello || exit 1; \ | |
19362 | case $(srcdir) in \ | |
19363 | \.) \ | |
19364 | srcdiroption="--srcdir=."; \ | |
19365 | libsrcdir=".";; \ | |
19366 | /* | [A-Za-z]:[\\/]*) \ | |
19367 | srcdiroption="--srcdir=$(srcdir)/hello"; \ | |
19368 | libsrcdir="$$s/hello";; \ | |
19369 | *) \ | |
19370 | srcdiroption="--srcdir=../$(srcdir)/hello"; \ | |
19371 | libsrcdir="$$s/hello";; \ | |
19372 | esac; \ | |
19373 | $(SHELL) $${libsrcdir}/configure \ | |
19374 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19375 | || exit 1 | |
19376 | ||
930314a4 NN |
19377 | .PHONY: all-hello maybe-all-hello |
19378 | maybe-all-hello: | |
db1ac78d | 19379 | all-hello: configure-hello |
b40e3958 L |
19380 | @r=`${PWD_COMMAND}`; export r; \ |
19381 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19382 | $(SET_LIB_PATH) \ |
19383 | (cd hello && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19384 | |
16ae0395 NN |
19385 | .PHONY: check-hello maybe-check-hello |
19386 | maybe-check-hello: | |
3866be5d | 19387 | |
3866be5d | 19388 | check-hello: |
b40e3958 L |
19389 | @r=`${PWD_COMMAND}`; export r; \ |
19390 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19391 | $(SET_LIB_PATH) \ |
19392 | (cd hello && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19393 | |
19394 | ||
930314a4 NN |
19395 | .PHONY: install-hello maybe-install-hello |
19396 | maybe-install-hello: | |
16ae0395 | 19397 | |
3866be5d | 19398 | install-hello: installdirs |
b40e3958 L |
19399 | @r=`${PWD_COMMAND}`; export r; \ |
19400 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19401 | $(SET_LIB_PATH) \ |
19402 | (cd hello && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19403 | |
19404 | ||
e2b9e2dc NN |
19405 | .PHONY: configure-indent maybe-configure-indent |
19406 | maybe-configure-indent: | |
e6bfb94a AO |
19407 | configure-indent: |
19408 | @test ! -f indent/Makefile || exit 0; \ | |
19409 | [ -d indent ] || mkdir indent; \ | |
b40e3958 L |
19410 | r=`${PWD_COMMAND}`; export r; \ |
19411 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
19412 | CC="$(CC)"; export CC; \ |
19413 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19414 | CXX="$(CXX)"; export CXX; \ | |
19415 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19416 | AR="$(AR)"; export AR; \ |
19417 | AS="$(AS)"; export AS; \ | |
19418 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19419 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19420 | LD="$(LD)"; export LD; \ | |
19421 | NM="$(NM)"; export NM; \ | |
19422 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19423 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19424 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19425 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19426 | echo Configuring in indent; \ |
19427 | cd indent || exit 1; \ | |
19428 | case $(srcdir) in \ | |
19429 | \.) \ | |
19430 | srcdiroption="--srcdir=."; \ | |
19431 | libsrcdir=".";; \ | |
19432 | /* | [A-Za-z]:[\\/]*) \ | |
19433 | srcdiroption="--srcdir=$(srcdir)/indent"; \ | |
19434 | libsrcdir="$$s/indent";; \ | |
19435 | *) \ | |
19436 | srcdiroption="--srcdir=../$(srcdir)/indent"; \ | |
19437 | libsrcdir="$$s/indent";; \ | |
19438 | esac; \ | |
19439 | $(SHELL) $${libsrcdir}/configure \ | |
19440 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19441 | || exit 1 | |
19442 | ||
930314a4 NN |
19443 | .PHONY: all-indent maybe-all-indent |
19444 | maybe-all-indent: | |
db1ac78d | 19445 | all-indent: configure-indent |
b40e3958 L |
19446 | @r=`${PWD_COMMAND}`; export r; \ |
19447 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19448 | $(SET_LIB_PATH) \ |
19449 | (cd indent && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19450 | |
16ae0395 NN |
19451 | .PHONY: check-indent maybe-check-indent |
19452 | maybe-check-indent: | |
3866be5d | 19453 | |
3866be5d | 19454 | check-indent: |
b40e3958 L |
19455 | @r=`${PWD_COMMAND}`; export r; \ |
19456 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19457 | $(SET_LIB_PATH) \ |
19458 | (cd indent && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19459 | |
19460 | ||
930314a4 NN |
19461 | .PHONY: install-indent maybe-install-indent |
19462 | maybe-install-indent: | |
16ae0395 | 19463 | |
3866be5d | 19464 | install-indent: installdirs |
b40e3958 L |
19465 | @r=`${PWD_COMMAND}`; export r; \ |
19466 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19467 | $(SET_LIB_PATH) \ |
19468 | (cd indent && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19469 | |
19470 | ||
e2b9e2dc NN |
19471 | .PHONY: configure-intl maybe-configure-intl |
19472 | maybe-configure-intl: | |
e6bfb94a AO |
19473 | configure-intl: |
19474 | @test ! -f intl/Makefile || exit 0; \ | |
19475 | [ -d intl ] || mkdir intl; \ | |
b40e3958 L |
19476 | r=`${PWD_COMMAND}`; export r; \ |
19477 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
19478 | CC="$(CC)"; export CC; \ |
19479 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19480 | CXX="$(CXX)"; export CXX; \ | |
19481 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19482 | AR="$(AR)"; export AR; \ |
19483 | AS="$(AS)"; export AS; \ | |
19484 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19485 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19486 | LD="$(LD)"; export LD; \ | |
19487 | NM="$(NM)"; export NM; \ | |
19488 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19489 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19490 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19491 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19492 | echo Configuring in intl; \ |
19493 | cd intl || exit 1; \ | |
19494 | case $(srcdir) in \ | |
19495 | \.) \ | |
19496 | srcdiroption="--srcdir=."; \ | |
19497 | libsrcdir=".";; \ | |
19498 | /* | [A-Za-z]:[\\/]*) \ | |
19499 | srcdiroption="--srcdir=$(srcdir)/intl"; \ | |
19500 | libsrcdir="$$s/intl";; \ | |
19501 | *) \ | |
19502 | srcdiroption="--srcdir=../$(srcdir)/intl"; \ | |
19503 | libsrcdir="$$s/intl";; \ | |
19504 | esac; \ | |
19505 | $(SHELL) $${libsrcdir}/configure \ | |
19506 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19507 | || exit 1 | |
19508 | ||
930314a4 NN |
19509 | .PHONY: all-intl maybe-all-intl |
19510 | maybe-all-intl: | |
db1ac78d | 19511 | all-intl: configure-intl |
b40e3958 L |
19512 | @r=`${PWD_COMMAND}`; export r; \ |
19513 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19514 | $(SET_LIB_PATH) \ |
19515 | (cd intl && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19516 | |
16ae0395 NN |
19517 | .PHONY: check-intl maybe-check-intl |
19518 | maybe-check-intl: | |
3866be5d | 19519 | |
3866be5d | 19520 | check-intl: |
b40e3958 L |
19521 | @r=`${PWD_COMMAND}`; export r; \ |
19522 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19523 | $(SET_LIB_PATH) \ |
19524 | (cd intl && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19525 | |
19526 | ||
930314a4 NN |
19527 | .PHONY: install-intl maybe-install-intl |
19528 | maybe-install-intl: | |
16ae0395 | 19529 | |
3866be5d | 19530 | install-intl: installdirs |
b40e3958 L |
19531 | @r=`${PWD_COMMAND}`; export r; \ |
19532 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19533 | $(SET_LIB_PATH) \ |
19534 | (cd intl && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19535 | |
19536 | ||
e2b9e2dc NN |
19537 | .PHONY: configure-tcl maybe-configure-tcl |
19538 | maybe-configure-tcl: | |
e6bfb94a AO |
19539 | configure-tcl: |
19540 | @test ! -f tcl/Makefile || exit 0; \ | |
19541 | [ -d tcl ] || mkdir tcl; \ | |
b40e3958 L |
19542 | r=`${PWD_COMMAND}`; export r; \ |
19543 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
19544 | CC="$(CC)"; export CC; \ |
19545 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19546 | CXX="$(CXX)"; export CXX; \ | |
19547 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19548 | AR="$(AR)"; export AR; \ |
19549 | AS="$(AS)"; export AS; \ | |
19550 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19551 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19552 | LD="$(LD)"; export LD; \ | |
19553 | NM="$(NM)"; export NM; \ | |
19554 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19555 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19556 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19557 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19558 | echo Configuring in tcl; \ |
19559 | cd tcl || exit 1; \ | |
19560 | case $(srcdir) in \ | |
19561 | \.) \ | |
19562 | srcdiroption="--srcdir=."; \ | |
19563 | libsrcdir=".";; \ | |
19564 | /* | [A-Za-z]:[\\/]*) \ | |
19565 | srcdiroption="--srcdir=$(srcdir)/tcl"; \ | |
19566 | libsrcdir="$$s/tcl";; \ | |
19567 | *) \ | |
19568 | srcdiroption="--srcdir=../$(srcdir)/tcl"; \ | |
19569 | libsrcdir="$$s/tcl";; \ | |
19570 | esac; \ | |
19571 | $(SHELL) $${libsrcdir}/configure \ | |
19572 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19573 | || exit 1 | |
19574 | ||
930314a4 NN |
19575 | .PHONY: all-tcl maybe-all-tcl |
19576 | maybe-all-tcl: | |
db1ac78d | 19577 | all-tcl: configure-tcl |
b40e3958 L |
19578 | @r=`${PWD_COMMAND}`; export r; \ |
19579 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19580 | $(SET_LIB_PATH) \ |
19581 | (cd tcl && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19582 | |
16ae0395 NN |
19583 | .PHONY: check-tcl maybe-check-tcl |
19584 | maybe-check-tcl: | |
3866be5d | 19585 | |
3866be5d | 19586 | check-tcl: |
b40e3958 L |
19587 | @r=`${PWD_COMMAND}`; export r; \ |
19588 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19589 | $(SET_LIB_PATH) \ |
19590 | (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19591 | |
19592 | ||
930314a4 NN |
19593 | .PHONY: install-tcl maybe-install-tcl |
19594 | maybe-install-tcl: | |
16ae0395 | 19595 | |
3866be5d | 19596 | install-tcl: installdirs |
b40e3958 L |
19597 | @r=`${PWD_COMMAND}`; export r; \ |
19598 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19599 | $(SET_LIB_PATH) \ |
19600 | (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19601 | |
19602 | ||
e2b9e2dc NN |
19603 | .PHONY: configure-itcl maybe-configure-itcl |
19604 | maybe-configure-itcl: | |
e6bfb94a AO |
19605 | configure-itcl: |
19606 | @test ! -f itcl/Makefile || exit 0; \ | |
19607 | [ -d itcl ] || mkdir itcl; \ | |
b40e3958 L |
19608 | r=`${PWD_COMMAND}`; export r; \ |
19609 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
19610 | CC="$(CC)"; export CC; \ |
19611 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19612 | CXX="$(CXX)"; export CXX; \ | |
19613 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19614 | AR="$(AR)"; export AR; \ |
19615 | AS="$(AS)"; export AS; \ | |
19616 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19617 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19618 | LD="$(LD)"; export LD; \ | |
19619 | NM="$(NM)"; export NM; \ | |
19620 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19621 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19622 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19623 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19624 | echo Configuring in itcl; \ |
19625 | cd itcl || exit 1; \ | |
19626 | case $(srcdir) in \ | |
19627 | \.) \ | |
19628 | srcdiroption="--srcdir=."; \ | |
19629 | libsrcdir=".";; \ | |
19630 | /* | [A-Za-z]:[\\/]*) \ | |
19631 | srcdiroption="--srcdir=$(srcdir)/itcl"; \ | |
19632 | libsrcdir="$$s/itcl";; \ | |
19633 | *) \ | |
19634 | srcdiroption="--srcdir=../$(srcdir)/itcl"; \ | |
19635 | libsrcdir="$$s/itcl";; \ | |
19636 | esac; \ | |
19637 | $(SHELL) $${libsrcdir}/configure \ | |
19638 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19639 | || exit 1 | |
19640 | ||
930314a4 NN |
19641 | .PHONY: all-itcl maybe-all-itcl |
19642 | maybe-all-itcl: | |
db1ac78d | 19643 | all-itcl: configure-itcl |
b40e3958 L |
19644 | @r=`${PWD_COMMAND}`; export r; \ |
19645 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19646 | $(SET_LIB_PATH) \ |
19647 | (cd itcl && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19648 | |
16ae0395 NN |
19649 | .PHONY: check-itcl maybe-check-itcl |
19650 | maybe-check-itcl: | |
3866be5d | 19651 | |
3866be5d | 19652 | check-itcl: |
b40e3958 L |
19653 | @r=`${PWD_COMMAND}`; export r; \ |
19654 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19655 | $(SET_LIB_PATH) \ |
19656 | (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19657 | |
19658 | ||
930314a4 NN |
19659 | .PHONY: install-itcl maybe-install-itcl |
19660 | maybe-install-itcl: | |
16ae0395 | 19661 | |
3866be5d | 19662 | install-itcl: installdirs |
b40e3958 L |
19663 | @r=`${PWD_COMMAND}`; export r; \ |
19664 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19665 | $(SET_LIB_PATH) \ |
19666 | (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19667 | |
19668 | ||
e2b9e2dc NN |
19669 | .PHONY: configure-ld maybe-configure-ld |
19670 | maybe-configure-ld: | |
e6bfb94a AO |
19671 | configure-ld: |
19672 | @test ! -f ld/Makefile || exit 0; \ | |
19673 | [ -d ld ] || mkdir ld; \ | |
b40e3958 L |
19674 | r=`${PWD_COMMAND}`; export r; \ |
19675 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
19676 | CC="$(CC)"; export CC; \ |
19677 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19678 | CXX="$(CXX)"; export CXX; \ | |
19679 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19680 | AR="$(AR)"; export AR; \ |
19681 | AS="$(AS)"; export AS; \ | |
19682 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19683 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19684 | LD="$(LD)"; export LD; \ | |
19685 | NM="$(NM)"; export NM; \ | |
19686 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19687 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19688 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19689 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19690 | echo Configuring in ld; \ |
19691 | cd ld || exit 1; \ | |
19692 | case $(srcdir) in \ | |
19693 | \.) \ | |
19694 | srcdiroption="--srcdir=."; \ | |
19695 | libsrcdir=".";; \ | |
19696 | /* | [A-Za-z]:[\\/]*) \ | |
19697 | srcdiroption="--srcdir=$(srcdir)/ld"; \ | |
19698 | libsrcdir="$$s/ld";; \ | |
19699 | *) \ | |
19700 | srcdiroption="--srcdir=../$(srcdir)/ld"; \ | |
19701 | libsrcdir="$$s/ld";; \ | |
19702 | esac; \ | |
19703 | $(SHELL) $${libsrcdir}/configure \ | |
19704 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19705 | || exit 1 | |
19706 | ||
930314a4 NN |
19707 | .PHONY: all-ld maybe-all-ld |
19708 | maybe-all-ld: | |
db1ac78d | 19709 | all-ld: configure-ld |
b40e3958 L |
19710 | @r=`${PWD_COMMAND}`; export r; \ |
19711 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19712 | $(SET_LIB_PATH) \ |
19713 | (cd ld && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19714 | |
16ae0395 NN |
19715 | .PHONY: check-ld maybe-check-ld |
19716 | maybe-check-ld: | |
3866be5d | 19717 | |
3866be5d | 19718 | check-ld: |
b40e3958 L |
19719 | @r=`${PWD_COMMAND}`; export r; \ |
19720 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19721 | $(SET_LIB_PATH) \ |
19722 | (cd ld && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19723 | |
19724 | ||
930314a4 NN |
19725 | .PHONY: install-ld maybe-install-ld |
19726 | maybe-install-ld: | |
16ae0395 | 19727 | |
3866be5d | 19728 | install-ld: installdirs |
b40e3958 L |
19729 | @r=`${PWD_COMMAND}`; export r; \ |
19730 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19731 | $(SET_LIB_PATH) \ |
19732 | (cd ld && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19733 | |
19734 | ||
e2b9e2dc NN |
19735 | .PHONY: configure-libgui maybe-configure-libgui |
19736 | maybe-configure-libgui: | |
e6bfb94a AO |
19737 | configure-libgui: |
19738 | @test ! -f libgui/Makefile || exit 0; \ | |
19739 | [ -d libgui ] || mkdir libgui; \ | |
b40e3958 L |
19740 | r=`${PWD_COMMAND}`; export r; \ |
19741 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
19742 | CC="$(CC)"; export CC; \ |
19743 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19744 | CXX="$(CXX)"; export CXX; \ | |
19745 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19746 | AR="$(AR)"; export AR; \ |
19747 | AS="$(AS)"; export AS; \ | |
19748 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19749 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19750 | LD="$(LD)"; export LD; \ | |
19751 | NM="$(NM)"; export NM; \ | |
19752 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19753 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19754 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19755 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19756 | echo Configuring in libgui; \ |
19757 | cd libgui || exit 1; \ | |
19758 | case $(srcdir) in \ | |
19759 | \.) \ | |
19760 | srcdiroption="--srcdir=."; \ | |
19761 | libsrcdir=".";; \ | |
19762 | /* | [A-Za-z]:[\\/]*) \ | |
19763 | srcdiroption="--srcdir=$(srcdir)/libgui"; \ | |
19764 | libsrcdir="$$s/libgui";; \ | |
19765 | *) \ | |
19766 | srcdiroption="--srcdir=../$(srcdir)/libgui"; \ | |
19767 | libsrcdir="$$s/libgui";; \ | |
19768 | esac; \ | |
19769 | $(SHELL) $${libsrcdir}/configure \ | |
19770 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19771 | || exit 1 | |
19772 | ||
930314a4 NN |
19773 | .PHONY: all-libgui maybe-all-libgui |
19774 | maybe-all-libgui: | |
db1ac78d | 19775 | all-libgui: configure-libgui |
b40e3958 L |
19776 | @r=`${PWD_COMMAND}`; export r; \ |
19777 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19778 | $(SET_LIB_PATH) \ |
19779 | (cd libgui && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19780 | |
16ae0395 NN |
19781 | .PHONY: check-libgui maybe-check-libgui |
19782 | maybe-check-libgui: | |
3866be5d | 19783 | |
3866be5d | 19784 | check-libgui: |
b40e3958 L |
19785 | @r=`${PWD_COMMAND}`; export r; \ |
19786 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19787 | $(SET_LIB_PATH) \ |
19788 | (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19789 | |
19790 | ||
930314a4 NN |
19791 | .PHONY: install-libgui maybe-install-libgui |
19792 | maybe-install-libgui: | |
16ae0395 | 19793 | |
3866be5d | 19794 | install-libgui: installdirs |
b40e3958 L |
19795 | @r=`${PWD_COMMAND}`; export r; \ |
19796 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19797 | $(SET_LIB_PATH) \ |
19798 | (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19799 | |
19800 | ||
e2b9e2dc NN |
19801 | .PHONY: configure-libiberty maybe-configure-libiberty |
19802 | maybe-configure-libiberty: | |
e6bfb94a AO |
19803 | configure-libiberty: |
19804 | @test ! -f libiberty/Makefile || exit 0; \ | |
19805 | [ -d libiberty ] || mkdir libiberty; \ | |
b40e3958 L |
19806 | r=`${PWD_COMMAND}`; export r; \ |
19807 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
19808 | CC="$(CC)"; export CC; \ |
19809 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19810 | CXX="$(CXX)"; export CXX; \ | |
19811 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19812 | AR="$(AR)"; export AR; \ |
19813 | AS="$(AS)"; export AS; \ | |
19814 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19815 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19816 | LD="$(LD)"; export LD; \ | |
19817 | NM="$(NM)"; export NM; \ | |
19818 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19819 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19820 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19821 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19822 | echo Configuring in libiberty; \ |
19823 | cd libiberty || exit 1; \ | |
19824 | case $(srcdir) in \ | |
19825 | \.) \ | |
19826 | srcdiroption="--srcdir=."; \ | |
19827 | libsrcdir=".";; \ | |
19828 | /* | [A-Za-z]:[\\/]*) \ | |
19829 | srcdiroption="--srcdir=$(srcdir)/libiberty"; \ | |
19830 | libsrcdir="$$s/libiberty";; \ | |
19831 | *) \ | |
19832 | srcdiroption="--srcdir=../$(srcdir)/libiberty"; \ | |
19833 | libsrcdir="$$s/libiberty";; \ | |
19834 | esac; \ | |
19835 | $(SHELL) $${libsrcdir}/configure \ | |
19836 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19837 | || exit 1 | |
19838 | ||
930314a4 NN |
19839 | .PHONY: all-libiberty maybe-all-libiberty |
19840 | maybe-all-libiberty: | |
db1ac78d | 19841 | all-libiberty: configure-libiberty |
b40e3958 L |
19842 | @r=`${PWD_COMMAND}`; export r; \ |
19843 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19844 | $(SET_LIB_PATH) \ |
19845 | (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19846 | |
16ae0395 NN |
19847 | .PHONY: check-libiberty maybe-check-libiberty |
19848 | maybe-check-libiberty: | |
3866be5d | 19849 | |
3866be5d | 19850 | check-libiberty: |
b40e3958 L |
19851 | @r=`${PWD_COMMAND}`; export r; \ |
19852 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19853 | $(SET_LIB_PATH) \ |
19854 | (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19855 | |
19856 | ||
930314a4 NN |
19857 | .PHONY: install-libiberty maybe-install-libiberty |
19858 | maybe-install-libiberty: | |
16ae0395 | 19859 | |
3866be5d | 19860 | install-libiberty: installdirs |
b40e3958 L |
19861 | @r=`${PWD_COMMAND}`; export r; \ |
19862 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19863 | $(SET_LIB_PATH) \ |
19864 | (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19865 | |
19866 | ||
e2b9e2dc NN |
19867 | .PHONY: configure-libtool maybe-configure-libtool |
19868 | maybe-configure-libtool: | |
e6bfb94a AO |
19869 | configure-libtool: |
19870 | @test ! -f libtool/Makefile || exit 0; \ | |
19871 | [ -d libtool ] || mkdir libtool; \ | |
b40e3958 L |
19872 | r=`${PWD_COMMAND}`; export r; \ |
19873 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
19874 | CC="$(CC)"; export CC; \ |
19875 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19876 | CXX="$(CXX)"; export CXX; \ | |
19877 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19878 | AR="$(AR)"; export AR; \ |
19879 | AS="$(AS)"; export AS; \ | |
19880 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19881 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19882 | LD="$(LD)"; export LD; \ | |
19883 | NM="$(NM)"; export NM; \ | |
19884 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19885 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19886 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19887 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19888 | echo Configuring in libtool; \ |
19889 | cd libtool || exit 1; \ | |
19890 | case $(srcdir) in \ | |
19891 | \.) \ | |
19892 | srcdiroption="--srcdir=."; \ | |
19893 | libsrcdir=".";; \ | |
19894 | /* | [A-Za-z]:[\\/]*) \ | |
19895 | srcdiroption="--srcdir=$(srcdir)/libtool"; \ | |
19896 | libsrcdir="$$s/libtool";; \ | |
19897 | *) \ | |
19898 | srcdiroption="--srcdir=../$(srcdir)/libtool"; \ | |
19899 | libsrcdir="$$s/libtool";; \ | |
19900 | esac; \ | |
19901 | $(SHELL) $${libsrcdir}/configure \ | |
19902 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19903 | || exit 1 | |
19904 | ||
930314a4 NN |
19905 | .PHONY: all-libtool maybe-all-libtool |
19906 | maybe-all-libtool: | |
db1ac78d | 19907 | all-libtool: configure-libtool |
b40e3958 L |
19908 | @r=`${PWD_COMMAND}`; export r; \ |
19909 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19910 | $(SET_LIB_PATH) \ |
19911 | (cd libtool && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19912 | |
16ae0395 NN |
19913 | .PHONY: check-libtool maybe-check-libtool |
19914 | maybe-check-libtool: | |
3866be5d | 19915 | |
3866be5d | 19916 | check-libtool: |
b40e3958 L |
19917 | @r=`${PWD_COMMAND}`; export r; \ |
19918 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19919 | $(SET_LIB_PATH) \ |
19920 | (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19921 | |
19922 | ||
930314a4 NN |
19923 | .PHONY: install-libtool maybe-install-libtool |
19924 | maybe-install-libtool: | |
16ae0395 | 19925 | |
3866be5d | 19926 | install-libtool: installdirs |
b40e3958 L |
19927 | @r=`${PWD_COMMAND}`; export r; \ |
19928 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19929 | $(SET_LIB_PATH) \ |
19930 | (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19931 | |
19932 | ||
e2b9e2dc NN |
19933 | .PHONY: configure-m4 maybe-configure-m4 |
19934 | maybe-configure-m4: | |
e6bfb94a AO |
19935 | configure-m4: |
19936 | @test ! -f m4/Makefile || exit 0; \ | |
19937 | [ -d m4 ] || mkdir m4; \ | |
b40e3958 L |
19938 | r=`${PWD_COMMAND}`; export r; \ |
19939 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
19940 | CC="$(CC)"; export CC; \ |
19941 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19942 | CXX="$(CXX)"; export CXX; \ | |
19943 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19944 | AR="$(AR)"; export AR; \ |
19945 | AS="$(AS)"; export AS; \ | |
19946 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19947 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19948 | LD="$(LD)"; export LD; \ | |
19949 | NM="$(NM)"; export NM; \ | |
19950 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19951 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19952 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19953 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19954 | echo Configuring in m4; \ |
19955 | cd m4 || exit 1; \ | |
19956 | case $(srcdir) in \ | |
19957 | \.) \ | |
19958 | srcdiroption="--srcdir=."; \ | |
19959 | libsrcdir=".";; \ | |
19960 | /* | [A-Za-z]:[\\/]*) \ | |
19961 | srcdiroption="--srcdir=$(srcdir)/m4"; \ | |
19962 | libsrcdir="$$s/m4";; \ | |
19963 | *) \ | |
19964 | srcdiroption="--srcdir=../$(srcdir)/m4"; \ | |
19965 | libsrcdir="$$s/m4";; \ | |
19966 | esac; \ | |
19967 | $(SHELL) $${libsrcdir}/configure \ | |
19968 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19969 | || exit 1 | |
19970 | ||
930314a4 NN |
19971 | .PHONY: all-m4 maybe-all-m4 |
19972 | maybe-all-m4: | |
db1ac78d | 19973 | all-m4: configure-m4 |
b40e3958 L |
19974 | @r=`${PWD_COMMAND}`; export r; \ |
19975 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19976 | $(SET_LIB_PATH) \ |
19977 | (cd m4 && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19978 | |
16ae0395 NN |
19979 | .PHONY: check-m4 maybe-check-m4 |
19980 | maybe-check-m4: | |
3866be5d | 19981 | |
3866be5d | 19982 | check-m4: |
b40e3958 L |
19983 | @r=`${PWD_COMMAND}`; export r; \ |
19984 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19985 | $(SET_LIB_PATH) \ |
19986 | (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19987 | |
19988 | ||
930314a4 NN |
19989 | .PHONY: install-m4 maybe-install-m4 |
19990 | maybe-install-m4: | |
16ae0395 | 19991 | |
3866be5d | 19992 | install-m4: installdirs |
b40e3958 L |
19993 | @r=`${PWD_COMMAND}`; export r; \ |
19994 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
19995 | $(SET_LIB_PATH) \ |
19996 | (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19997 | |
19998 | ||
e2b9e2dc NN |
19999 | .PHONY: configure-make maybe-configure-make |
20000 | maybe-configure-make: | |
e6bfb94a AO |
20001 | configure-make: |
20002 | @test ! -f make/Makefile || exit 0; \ | |
20003 | [ -d make ] || mkdir make; \ | |
b40e3958 L |
20004 | r=`${PWD_COMMAND}`; export r; \ |
20005 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
20006 | CC="$(CC)"; export CC; \ |
20007 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20008 | CXX="$(CXX)"; export CXX; \ | |
20009 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20010 | AR="$(AR)"; export AR; \ |
20011 | AS="$(AS)"; export AS; \ | |
20012 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20013 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20014 | LD="$(LD)"; export LD; \ | |
20015 | NM="$(NM)"; export NM; \ | |
20016 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20017 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20018 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20019 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20020 | echo Configuring in make; \ |
20021 | cd make || exit 1; \ | |
20022 | case $(srcdir) in \ | |
20023 | \.) \ | |
20024 | srcdiroption="--srcdir=."; \ | |
20025 | libsrcdir=".";; \ | |
20026 | /* | [A-Za-z]:[\\/]*) \ | |
20027 | srcdiroption="--srcdir=$(srcdir)/make"; \ | |
20028 | libsrcdir="$$s/make";; \ | |
20029 | *) \ | |
20030 | srcdiroption="--srcdir=../$(srcdir)/make"; \ | |
20031 | libsrcdir="$$s/make";; \ | |
20032 | esac; \ | |
20033 | $(SHELL) $${libsrcdir}/configure \ | |
20034 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20035 | || exit 1 | |
20036 | ||
930314a4 NN |
20037 | .PHONY: all-make maybe-all-make |
20038 | maybe-all-make: | |
db1ac78d | 20039 | all-make: configure-make |
b40e3958 L |
20040 | @r=`${PWD_COMMAND}`; export r; \ |
20041 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20042 | $(SET_LIB_PATH) \ |
20043 | (cd make && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20044 | |
16ae0395 NN |
20045 | .PHONY: check-make maybe-check-make |
20046 | maybe-check-make: | |
3866be5d | 20047 | |
3866be5d | 20048 | check-make: |
b40e3958 L |
20049 | @r=`${PWD_COMMAND}`; export r; \ |
20050 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20051 | $(SET_LIB_PATH) \ |
20052 | (cd make && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20053 | |
20054 | ||
930314a4 NN |
20055 | .PHONY: install-make maybe-install-make |
20056 | maybe-install-make: | |
16ae0395 | 20057 | |
3866be5d | 20058 | install-make: installdirs |
b40e3958 L |
20059 | @r=`${PWD_COMMAND}`; export r; \ |
20060 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20061 | $(SET_LIB_PATH) \ |
20062 | (cd make && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20063 | |
20064 | ||
e2b9e2dc NN |
20065 | .PHONY: configure-mmalloc maybe-configure-mmalloc |
20066 | maybe-configure-mmalloc: | |
e6bfb94a AO |
20067 | configure-mmalloc: |
20068 | @test ! -f mmalloc/Makefile || exit 0; \ | |
20069 | [ -d mmalloc ] || mkdir mmalloc; \ | |
b40e3958 L |
20070 | r=`${PWD_COMMAND}`; export r; \ |
20071 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
20072 | CC="$(CC)"; export CC; \ |
20073 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20074 | CXX="$(CXX)"; export CXX; \ | |
20075 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20076 | AR="$(AR)"; export AR; \ |
20077 | AS="$(AS)"; export AS; \ | |
20078 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20079 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20080 | LD="$(LD)"; export LD; \ | |
20081 | NM="$(NM)"; export NM; \ | |
20082 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20083 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20084 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20085 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20086 | echo Configuring in mmalloc; \ |
20087 | cd mmalloc || exit 1; \ | |
20088 | case $(srcdir) in \ | |
20089 | \.) \ | |
20090 | srcdiroption="--srcdir=."; \ | |
20091 | libsrcdir=".";; \ | |
20092 | /* | [A-Za-z]:[\\/]*) \ | |
20093 | srcdiroption="--srcdir=$(srcdir)/mmalloc"; \ | |
20094 | libsrcdir="$$s/mmalloc";; \ | |
20095 | *) \ | |
20096 | srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \ | |
20097 | libsrcdir="$$s/mmalloc";; \ | |
20098 | esac; \ | |
20099 | $(SHELL) $${libsrcdir}/configure \ | |
20100 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20101 | || exit 1 | |
20102 | ||
930314a4 NN |
20103 | .PHONY: all-mmalloc maybe-all-mmalloc |
20104 | maybe-all-mmalloc: | |
db1ac78d | 20105 | all-mmalloc: configure-mmalloc |
b40e3958 L |
20106 | @r=`${PWD_COMMAND}`; export r; \ |
20107 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20108 | $(SET_LIB_PATH) \ |
20109 | (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20110 | |
16ae0395 NN |
20111 | .PHONY: check-mmalloc maybe-check-mmalloc |
20112 | maybe-check-mmalloc: | |
3866be5d | 20113 | |
3866be5d NN |
20114 | check-mmalloc: |
20115 | ||
20116 | ||
930314a4 NN |
20117 | .PHONY: install-mmalloc maybe-install-mmalloc |
20118 | maybe-install-mmalloc: | |
16ae0395 | 20119 | |
3866be5d | 20120 | install-mmalloc: installdirs |
b40e3958 L |
20121 | @r=`${PWD_COMMAND}`; export r; \ |
20122 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20123 | $(SET_LIB_PATH) \ |
20124 | (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20125 | |
20126 | ||
e2b9e2dc NN |
20127 | .PHONY: configure-patch maybe-configure-patch |
20128 | maybe-configure-patch: | |
e6bfb94a AO |
20129 | configure-patch: |
20130 | @test ! -f patch/Makefile || exit 0; \ | |
20131 | [ -d patch ] || mkdir patch; \ | |
b40e3958 L |
20132 | r=`${PWD_COMMAND}`; export r; \ |
20133 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
20134 | CC="$(CC)"; export CC; \ |
20135 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20136 | CXX="$(CXX)"; export CXX; \ | |
20137 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20138 | AR="$(AR)"; export AR; \ |
20139 | AS="$(AS)"; export AS; \ | |
20140 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20141 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20142 | LD="$(LD)"; export LD; \ | |
20143 | NM="$(NM)"; export NM; \ | |
20144 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20145 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20146 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20147 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20148 | echo Configuring in patch; \ |
20149 | cd patch || exit 1; \ | |
20150 | case $(srcdir) in \ | |
20151 | \.) \ | |
20152 | srcdiroption="--srcdir=."; \ | |
20153 | libsrcdir=".";; \ | |
20154 | /* | [A-Za-z]:[\\/]*) \ | |
20155 | srcdiroption="--srcdir=$(srcdir)/patch"; \ | |
20156 | libsrcdir="$$s/patch";; \ | |
20157 | *) \ | |
20158 | srcdiroption="--srcdir=../$(srcdir)/patch"; \ | |
20159 | libsrcdir="$$s/patch";; \ | |
20160 | esac; \ | |
20161 | $(SHELL) $${libsrcdir}/configure \ | |
20162 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20163 | || exit 1 | |
20164 | ||
930314a4 NN |
20165 | .PHONY: all-patch maybe-all-patch |
20166 | maybe-all-patch: | |
db1ac78d | 20167 | all-patch: configure-patch |
b40e3958 L |
20168 | @r=`${PWD_COMMAND}`; export r; \ |
20169 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20170 | $(SET_LIB_PATH) \ |
20171 | (cd patch && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20172 | |
16ae0395 NN |
20173 | .PHONY: check-patch maybe-check-patch |
20174 | maybe-check-patch: | |
3866be5d | 20175 | |
3866be5d | 20176 | check-patch: |
b40e3958 L |
20177 | @r=`${PWD_COMMAND}`; export r; \ |
20178 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20179 | $(SET_LIB_PATH) \ |
20180 | (cd patch && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20181 | |
20182 | ||
930314a4 NN |
20183 | .PHONY: install-patch maybe-install-patch |
20184 | maybe-install-patch: | |
16ae0395 | 20185 | |
3866be5d | 20186 | install-patch: installdirs |
b40e3958 L |
20187 | @r=`${PWD_COMMAND}`; export r; \ |
20188 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20189 | $(SET_LIB_PATH) \ |
20190 | (cd patch && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20191 | |
20192 | ||
e2b9e2dc NN |
20193 | .PHONY: configure-perl maybe-configure-perl |
20194 | maybe-configure-perl: | |
e6bfb94a AO |
20195 | configure-perl: |
20196 | @test ! -f perl/Makefile || exit 0; \ | |
20197 | [ -d perl ] || mkdir perl; \ | |
b40e3958 L |
20198 | r=`${PWD_COMMAND}`; export r; \ |
20199 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
20200 | CC="$(CC)"; export CC; \ |
20201 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20202 | CXX="$(CXX)"; export CXX; \ | |
20203 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20204 | AR="$(AR)"; export AR; \ |
20205 | AS="$(AS)"; export AS; \ | |
20206 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20207 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20208 | LD="$(LD)"; export LD; \ | |
20209 | NM="$(NM)"; export NM; \ | |
20210 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20211 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20212 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20213 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20214 | echo Configuring in perl; \ |
20215 | cd perl || exit 1; \ | |
20216 | case $(srcdir) in \ | |
20217 | \.) \ | |
20218 | srcdiroption="--srcdir=."; \ | |
20219 | libsrcdir=".";; \ | |
20220 | /* | [A-Za-z]:[\\/]*) \ | |
20221 | srcdiroption="--srcdir=$(srcdir)/perl"; \ | |
20222 | libsrcdir="$$s/perl";; \ | |
20223 | *) \ | |
20224 | srcdiroption="--srcdir=../$(srcdir)/perl"; \ | |
20225 | libsrcdir="$$s/perl";; \ | |
20226 | esac; \ | |
20227 | $(SHELL) $${libsrcdir}/configure \ | |
20228 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20229 | || exit 1 | |
20230 | ||
930314a4 NN |
20231 | .PHONY: all-perl maybe-all-perl |
20232 | maybe-all-perl: | |
db1ac78d | 20233 | all-perl: configure-perl |
b40e3958 L |
20234 | @r=`${PWD_COMMAND}`; export r; \ |
20235 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20236 | $(SET_LIB_PATH) \ |
20237 | (cd perl && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20238 | |
16ae0395 NN |
20239 | .PHONY: check-perl maybe-check-perl |
20240 | maybe-check-perl: | |
3866be5d | 20241 | |
3866be5d | 20242 | check-perl: |
b40e3958 L |
20243 | @r=`${PWD_COMMAND}`; export r; \ |
20244 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20245 | $(SET_LIB_PATH) \ |
20246 | (cd perl && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20247 | |
20248 | ||
930314a4 NN |
20249 | .PHONY: install-perl maybe-install-perl |
20250 | maybe-install-perl: | |
16ae0395 | 20251 | |
3866be5d | 20252 | install-perl: installdirs |
b40e3958 L |
20253 | @r=`${PWD_COMMAND}`; export r; \ |
20254 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20255 | $(SET_LIB_PATH) \ |
20256 | (cd perl && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20257 | |
20258 | ||
e2b9e2dc NN |
20259 | .PHONY: configure-prms maybe-configure-prms |
20260 | maybe-configure-prms: | |
e6bfb94a AO |
20261 | configure-prms: |
20262 | @test ! -f prms/Makefile || exit 0; \ | |
20263 | [ -d prms ] || mkdir prms; \ | |
b40e3958 L |
20264 | r=`${PWD_COMMAND}`; export r; \ |
20265 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
20266 | CC="$(CC)"; export CC; \ |
20267 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20268 | CXX="$(CXX)"; export CXX; \ | |
20269 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20270 | AR="$(AR)"; export AR; \ |
20271 | AS="$(AS)"; export AS; \ | |
20272 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20273 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20274 | LD="$(LD)"; export LD; \ | |
20275 | NM="$(NM)"; export NM; \ | |
20276 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20277 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20278 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20279 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20280 | echo Configuring in prms; \ |
20281 | cd prms || exit 1; \ | |
20282 | case $(srcdir) in \ | |
20283 | \.) \ | |
20284 | srcdiroption="--srcdir=."; \ | |
20285 | libsrcdir=".";; \ | |
20286 | /* | [A-Za-z]:[\\/]*) \ | |
20287 | srcdiroption="--srcdir=$(srcdir)/prms"; \ | |
20288 | libsrcdir="$$s/prms";; \ | |
20289 | *) \ | |
20290 | srcdiroption="--srcdir=../$(srcdir)/prms"; \ | |
20291 | libsrcdir="$$s/prms";; \ | |
20292 | esac; \ | |
20293 | $(SHELL) $${libsrcdir}/configure \ | |
20294 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20295 | || exit 1 | |
20296 | ||
930314a4 NN |
20297 | .PHONY: all-prms maybe-all-prms |
20298 | maybe-all-prms: | |
db1ac78d | 20299 | all-prms: configure-prms |
b40e3958 L |
20300 | @r=`${PWD_COMMAND}`; export r; \ |
20301 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20302 | $(SET_LIB_PATH) \ |
20303 | (cd prms && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20304 | |
16ae0395 NN |
20305 | .PHONY: check-prms maybe-check-prms |
20306 | maybe-check-prms: | |
3866be5d | 20307 | |
3866be5d | 20308 | check-prms: |
b40e3958 L |
20309 | @r=`${PWD_COMMAND}`; export r; \ |
20310 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20311 | $(SET_LIB_PATH) \ |
20312 | (cd prms && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20313 | |
20314 | ||
930314a4 NN |
20315 | .PHONY: install-prms maybe-install-prms |
20316 | maybe-install-prms: | |
16ae0395 | 20317 | |
3866be5d | 20318 | install-prms: installdirs |
b40e3958 L |
20319 | @r=`${PWD_COMMAND}`; export r; \ |
20320 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20321 | $(SET_LIB_PATH) \ |
20322 | (cd prms && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20323 | |
20324 | ||
e2b9e2dc NN |
20325 | .PHONY: configure-rcs maybe-configure-rcs |
20326 | maybe-configure-rcs: | |
e6bfb94a AO |
20327 | configure-rcs: |
20328 | @test ! -f rcs/Makefile || exit 0; \ | |
20329 | [ -d rcs ] || mkdir rcs; \ | |
b40e3958 L |
20330 | r=`${PWD_COMMAND}`; export r; \ |
20331 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
20332 | CC="$(CC)"; export CC; \ |
20333 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20334 | CXX="$(CXX)"; export CXX; \ | |
20335 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20336 | AR="$(AR)"; export AR; \ |
20337 | AS="$(AS)"; export AS; \ | |
20338 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20339 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20340 | LD="$(LD)"; export LD; \ | |
20341 | NM="$(NM)"; export NM; \ | |
20342 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20343 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20344 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20345 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20346 | echo Configuring in rcs; \ |
20347 | cd rcs || exit 1; \ | |
20348 | case $(srcdir) in \ | |
20349 | \.) \ | |
20350 | srcdiroption="--srcdir=."; \ | |
20351 | libsrcdir=".";; \ | |
20352 | /* | [A-Za-z]:[\\/]*) \ | |
20353 | srcdiroption="--srcdir=$(srcdir)/rcs"; \ | |
20354 | libsrcdir="$$s/rcs";; \ | |
20355 | *) \ | |
20356 | srcdiroption="--srcdir=../$(srcdir)/rcs"; \ | |
20357 | libsrcdir="$$s/rcs";; \ | |
20358 | esac; \ | |
20359 | $(SHELL) $${libsrcdir}/configure \ | |
20360 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20361 | || exit 1 | |
20362 | ||
930314a4 NN |
20363 | .PHONY: all-rcs maybe-all-rcs |
20364 | maybe-all-rcs: | |
db1ac78d | 20365 | all-rcs: configure-rcs |
b40e3958 L |
20366 | @r=`${PWD_COMMAND}`; export r; \ |
20367 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20368 | $(SET_LIB_PATH) \ |
20369 | (cd rcs && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20370 | |
16ae0395 NN |
20371 | .PHONY: check-rcs maybe-check-rcs |
20372 | maybe-check-rcs: | |
3866be5d | 20373 | |
3866be5d | 20374 | check-rcs: |
b40e3958 L |
20375 | @r=`${PWD_COMMAND}`; export r; \ |
20376 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20377 | $(SET_LIB_PATH) \ |
20378 | (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20379 | |
20380 | ||
930314a4 NN |
20381 | .PHONY: install-rcs maybe-install-rcs |
20382 | maybe-install-rcs: | |
16ae0395 | 20383 | |
3866be5d | 20384 | install-rcs: installdirs |
b40e3958 L |
20385 | @r=`${PWD_COMMAND}`; export r; \ |
20386 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20387 | $(SET_LIB_PATH) \ |
20388 | (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20389 | |
20390 | ||
e2b9e2dc NN |
20391 | .PHONY: configure-readline maybe-configure-readline |
20392 | maybe-configure-readline: | |
e6bfb94a AO |
20393 | configure-readline: |
20394 | @test ! -f readline/Makefile || exit 0; \ | |
20395 | [ -d readline ] || mkdir readline; \ | |
b40e3958 L |
20396 | r=`${PWD_COMMAND}`; export r; \ |
20397 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
20398 | CC="$(CC)"; export CC; \ |
20399 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20400 | CXX="$(CXX)"; export CXX; \ | |
20401 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20402 | AR="$(AR)"; export AR; \ |
20403 | AS="$(AS)"; export AS; \ | |
20404 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20405 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20406 | LD="$(LD)"; export LD; \ | |
20407 | NM="$(NM)"; export NM; \ | |
20408 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20409 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20410 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20411 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20412 | echo Configuring in readline; \ |
20413 | cd readline || exit 1; \ | |
20414 | case $(srcdir) in \ | |
20415 | \.) \ | |
20416 | srcdiroption="--srcdir=."; \ | |
20417 | libsrcdir=".";; \ | |
20418 | /* | [A-Za-z]:[\\/]*) \ | |
20419 | srcdiroption="--srcdir=$(srcdir)/readline"; \ | |
20420 | libsrcdir="$$s/readline";; \ | |
20421 | *) \ | |
20422 | srcdiroption="--srcdir=../$(srcdir)/readline"; \ | |
20423 | libsrcdir="$$s/readline";; \ | |
20424 | esac; \ | |
20425 | $(SHELL) $${libsrcdir}/configure \ | |
20426 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20427 | || exit 1 | |
20428 | ||
930314a4 NN |
20429 | .PHONY: all-readline maybe-all-readline |
20430 | maybe-all-readline: | |
db1ac78d | 20431 | all-readline: configure-readline |
b40e3958 L |
20432 | @r=`${PWD_COMMAND}`; export r; \ |
20433 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20434 | $(SET_LIB_PATH) \ |
20435 | (cd readline && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20436 | |
16ae0395 NN |
20437 | .PHONY: check-readline maybe-check-readline |
20438 | maybe-check-readline: | |
3866be5d | 20439 | |
3866be5d | 20440 | check-readline: |
b40e3958 L |
20441 | @r=`${PWD_COMMAND}`; export r; \ |
20442 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20443 | $(SET_LIB_PATH) \ |
20444 | (cd readline && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20445 | |
20446 | ||
930314a4 NN |
20447 | .PHONY: install-readline maybe-install-readline |
20448 | maybe-install-readline: | |
16ae0395 | 20449 | |
3866be5d | 20450 | install-readline: installdirs |
b40e3958 L |
20451 | @r=`${PWD_COMMAND}`; export r; \ |
20452 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20453 | $(SET_LIB_PATH) \ |
20454 | (cd readline && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20455 | |
20456 | ||
e2b9e2dc NN |
20457 | .PHONY: configure-release maybe-configure-release |
20458 | maybe-configure-release: | |
e6bfb94a AO |
20459 | configure-release: |
20460 | @test ! -f release/Makefile || exit 0; \ | |
20461 | [ -d release ] || mkdir release; \ | |
b40e3958 L |
20462 | r=`${PWD_COMMAND}`; export r; \ |
20463 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
20464 | CC="$(CC)"; export CC; \ |
20465 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20466 | CXX="$(CXX)"; export CXX; \ | |
20467 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20468 | AR="$(AR)"; export AR; \ |
20469 | AS="$(AS)"; export AS; \ | |
20470 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20471 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20472 | LD="$(LD)"; export LD; \ | |
20473 | NM="$(NM)"; export NM; \ | |
20474 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20475 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20476 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20477 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20478 | echo Configuring in release; \ |
20479 | cd release || exit 1; \ | |
20480 | case $(srcdir) in \ | |
20481 | \.) \ | |
20482 | srcdiroption="--srcdir=."; \ | |
20483 | libsrcdir=".";; \ | |
20484 | /* | [A-Za-z]:[\\/]*) \ | |
20485 | srcdiroption="--srcdir=$(srcdir)/release"; \ | |
20486 | libsrcdir="$$s/release";; \ | |
20487 | *) \ | |
20488 | srcdiroption="--srcdir=../$(srcdir)/release"; \ | |
20489 | libsrcdir="$$s/release";; \ | |
20490 | esac; \ | |
20491 | $(SHELL) $${libsrcdir}/configure \ | |
20492 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20493 | || exit 1 | |
20494 | ||
930314a4 NN |
20495 | .PHONY: all-release maybe-all-release |
20496 | maybe-all-release: | |
db1ac78d | 20497 | all-release: configure-release |
b40e3958 L |
20498 | @r=`${PWD_COMMAND}`; export r; \ |
20499 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20500 | $(SET_LIB_PATH) \ |
20501 | (cd release && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20502 | |
16ae0395 NN |
20503 | .PHONY: check-release maybe-check-release |
20504 | maybe-check-release: | |
3866be5d | 20505 | |
3866be5d NN |
20506 | check-release: |
20507 | ||
20508 | ||
930314a4 NN |
20509 | .PHONY: install-release maybe-install-release |
20510 | maybe-install-release: | |
16ae0395 | 20511 | |
3866be5d NN |
20512 | install-release: |
20513 | ||
20514 | ||
e2b9e2dc NN |
20515 | .PHONY: configure-recode maybe-configure-recode |
20516 | maybe-configure-recode: | |
e6bfb94a AO |
20517 | configure-recode: |
20518 | @test ! -f recode/Makefile || exit 0; \ | |
20519 | [ -d recode ] || mkdir recode; \ | |
b40e3958 L |
20520 | r=`${PWD_COMMAND}`; export r; \ |
20521 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
20522 | CC="$(CC)"; export CC; \ |
20523 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20524 | CXX="$(CXX)"; export CXX; \ | |
20525 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20526 | AR="$(AR)"; export AR; \ |
20527 | AS="$(AS)"; export AS; \ | |
20528 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20529 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20530 | LD="$(LD)"; export LD; \ | |
20531 | NM="$(NM)"; export NM; \ | |
20532 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20533 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20534 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20535 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20536 | echo Configuring in recode; \ |
20537 | cd recode || exit 1; \ | |
20538 | case $(srcdir) in \ | |
20539 | \.) \ | |
20540 | srcdiroption="--srcdir=."; \ | |
20541 | libsrcdir=".";; \ | |
20542 | /* | [A-Za-z]:[\\/]*) \ | |
20543 | srcdiroption="--srcdir=$(srcdir)/recode"; \ | |
20544 | libsrcdir="$$s/recode";; \ | |
20545 | *) \ | |
20546 | srcdiroption="--srcdir=../$(srcdir)/recode"; \ | |
20547 | libsrcdir="$$s/recode";; \ | |
20548 | esac; \ | |
20549 | $(SHELL) $${libsrcdir}/configure \ | |
20550 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20551 | || exit 1 | |
20552 | ||
930314a4 NN |
20553 | .PHONY: all-recode maybe-all-recode |
20554 | maybe-all-recode: | |
db1ac78d | 20555 | all-recode: configure-recode |
b40e3958 L |
20556 | @r=`${PWD_COMMAND}`; export r; \ |
20557 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20558 | $(SET_LIB_PATH) \ |
20559 | (cd recode && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20560 | |
16ae0395 NN |
20561 | .PHONY: check-recode maybe-check-recode |
20562 | maybe-check-recode: | |
3866be5d | 20563 | |
3866be5d | 20564 | check-recode: |
b40e3958 L |
20565 | @r=`${PWD_COMMAND}`; export r; \ |
20566 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20567 | $(SET_LIB_PATH) \ |
20568 | (cd recode && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20569 | |
20570 | ||
930314a4 NN |
20571 | .PHONY: install-recode maybe-install-recode |
20572 | maybe-install-recode: | |
16ae0395 | 20573 | |
3866be5d | 20574 | install-recode: installdirs |
b40e3958 L |
20575 | @r=`${PWD_COMMAND}`; export r; \ |
20576 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20577 | $(SET_LIB_PATH) \ |
20578 | (cd recode && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20579 | |
20580 | ||
e2b9e2dc NN |
20581 | .PHONY: configure-sed maybe-configure-sed |
20582 | maybe-configure-sed: | |
e6bfb94a AO |
20583 | configure-sed: |
20584 | @test ! -f sed/Makefile || exit 0; \ | |
20585 | [ -d sed ] || mkdir sed; \ | |
b40e3958 L |
20586 | r=`${PWD_COMMAND}`; export r; \ |
20587 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
20588 | CC="$(CC)"; export CC; \ |
20589 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20590 | CXX="$(CXX)"; export CXX; \ | |
20591 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20592 | AR="$(AR)"; export AR; \ |
20593 | AS="$(AS)"; export AS; \ | |
20594 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20595 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20596 | LD="$(LD)"; export LD; \ | |
20597 | NM="$(NM)"; export NM; \ | |
20598 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20599 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20600 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20601 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20602 | echo Configuring in sed; \ |
20603 | cd sed || exit 1; \ | |
20604 | case $(srcdir) in \ | |
20605 | \.) \ | |
20606 | srcdiroption="--srcdir=."; \ | |
20607 | libsrcdir=".";; \ | |
20608 | /* | [A-Za-z]:[\\/]*) \ | |
20609 | srcdiroption="--srcdir=$(srcdir)/sed"; \ | |
20610 | libsrcdir="$$s/sed";; \ | |
20611 | *) \ | |
20612 | srcdiroption="--srcdir=../$(srcdir)/sed"; \ | |
20613 | libsrcdir="$$s/sed";; \ | |
20614 | esac; \ | |
20615 | $(SHELL) $${libsrcdir}/configure \ | |
20616 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20617 | || exit 1 | |
20618 | ||
930314a4 NN |
20619 | .PHONY: all-sed maybe-all-sed |
20620 | maybe-all-sed: | |
db1ac78d | 20621 | all-sed: configure-sed |
b40e3958 L |
20622 | @r=`${PWD_COMMAND}`; export r; \ |
20623 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20624 | $(SET_LIB_PATH) \ |
20625 | (cd sed && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20626 | |
16ae0395 NN |
20627 | .PHONY: check-sed maybe-check-sed |
20628 | maybe-check-sed: | |
3866be5d | 20629 | |
3866be5d | 20630 | check-sed: |
b40e3958 L |
20631 | @r=`${PWD_COMMAND}`; export r; \ |
20632 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20633 | $(SET_LIB_PATH) \ |
20634 | (cd sed && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20635 | |
20636 | ||
930314a4 NN |
20637 | .PHONY: install-sed maybe-install-sed |
20638 | maybe-install-sed: | |
16ae0395 | 20639 | |
3866be5d | 20640 | install-sed: installdirs |
b40e3958 L |
20641 | @r=`${PWD_COMMAND}`; export r; \ |
20642 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20643 | $(SET_LIB_PATH) \ |
20644 | (cd sed && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20645 | |
20646 | ||
e2b9e2dc NN |
20647 | .PHONY: configure-send-pr maybe-configure-send-pr |
20648 | maybe-configure-send-pr: | |
e6bfb94a AO |
20649 | configure-send-pr: |
20650 | @test ! -f send-pr/Makefile || exit 0; \ | |
20651 | [ -d send-pr ] || mkdir send-pr; \ | |
b40e3958 L |
20652 | r=`${PWD_COMMAND}`; export r; \ |
20653 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
20654 | CC="$(CC)"; export CC; \ |
20655 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20656 | CXX="$(CXX)"; export CXX; \ | |
20657 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20658 | AR="$(AR)"; export AR; \ |
20659 | AS="$(AS)"; export AS; \ | |
20660 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20661 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20662 | LD="$(LD)"; export LD; \ | |
20663 | NM="$(NM)"; export NM; \ | |
20664 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20665 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20666 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20667 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20668 | echo Configuring in send-pr; \ |
20669 | cd send-pr || exit 1; \ | |
20670 | case $(srcdir) in \ | |
20671 | \.) \ | |
20672 | srcdiroption="--srcdir=."; \ | |
20673 | libsrcdir=".";; \ | |
20674 | /* | [A-Za-z]:[\\/]*) \ | |
20675 | srcdiroption="--srcdir=$(srcdir)/send-pr"; \ | |
20676 | libsrcdir="$$s/send-pr";; \ | |
20677 | *) \ | |
20678 | srcdiroption="--srcdir=../$(srcdir)/send-pr"; \ | |
20679 | libsrcdir="$$s/send-pr";; \ | |
20680 | esac; \ | |
20681 | $(SHELL) $${libsrcdir}/configure \ | |
20682 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20683 | || exit 1 | |
20684 | ||
930314a4 NN |
20685 | .PHONY: all-send-pr maybe-all-send-pr |
20686 | maybe-all-send-pr: | |
db1ac78d | 20687 | all-send-pr: configure-send-pr |
b40e3958 L |
20688 | @r=`${PWD_COMMAND}`; export r; \ |
20689 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20690 | $(SET_LIB_PATH) \ |
20691 | (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20692 | |
16ae0395 NN |
20693 | .PHONY: check-send-pr maybe-check-send-pr |
20694 | maybe-check-send-pr: | |
3866be5d | 20695 | |
3866be5d | 20696 | check-send-pr: |
b40e3958 L |
20697 | @r=`${PWD_COMMAND}`; export r; \ |
20698 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20699 | $(SET_LIB_PATH) \ |
20700 | (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20701 | |
20702 | ||
930314a4 NN |
20703 | .PHONY: install-send-pr maybe-install-send-pr |
20704 | maybe-install-send-pr: | |
16ae0395 | 20705 | |
3866be5d | 20706 | install-send-pr: installdirs |
b40e3958 L |
20707 | @r=`${PWD_COMMAND}`; export r; \ |
20708 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20709 | $(SET_LIB_PATH) \ |
20710 | (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20711 | |
20712 | ||
e2b9e2dc NN |
20713 | .PHONY: configure-shellutils maybe-configure-shellutils |
20714 | maybe-configure-shellutils: | |
e6bfb94a AO |
20715 | configure-shellutils: |
20716 | @test ! -f shellutils/Makefile || exit 0; \ | |
20717 | [ -d shellutils ] || mkdir shellutils; \ | |
b40e3958 L |
20718 | r=`${PWD_COMMAND}`; export r; \ |
20719 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
20720 | CC="$(CC)"; export CC; \ |
20721 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20722 | CXX="$(CXX)"; export CXX; \ | |
20723 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20724 | AR="$(AR)"; export AR; \ |
20725 | AS="$(AS)"; export AS; \ | |
20726 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20727 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20728 | LD="$(LD)"; export LD; \ | |
20729 | NM="$(NM)"; export NM; \ | |
20730 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20731 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20732 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20733 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20734 | echo Configuring in shellutils; \ |
20735 | cd shellutils || exit 1; \ | |
20736 | case $(srcdir) in \ | |
20737 | \.) \ | |
20738 | srcdiroption="--srcdir=."; \ | |
20739 | libsrcdir=".";; \ | |
20740 | /* | [A-Za-z]:[\\/]*) \ | |
20741 | srcdiroption="--srcdir=$(srcdir)/shellutils"; \ | |
20742 | libsrcdir="$$s/shellutils";; \ | |
20743 | *) \ | |
20744 | srcdiroption="--srcdir=../$(srcdir)/shellutils"; \ | |
20745 | libsrcdir="$$s/shellutils";; \ | |
20746 | esac; \ | |
20747 | $(SHELL) $${libsrcdir}/configure \ | |
20748 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20749 | || exit 1 | |
20750 | ||
930314a4 NN |
20751 | .PHONY: all-shellutils maybe-all-shellutils |
20752 | maybe-all-shellutils: | |
db1ac78d | 20753 | all-shellutils: configure-shellutils |
b40e3958 L |
20754 | @r=`${PWD_COMMAND}`; export r; \ |
20755 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20756 | $(SET_LIB_PATH) \ |
20757 | (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20758 | |
16ae0395 NN |
20759 | .PHONY: check-shellutils maybe-check-shellutils |
20760 | maybe-check-shellutils: | |
3866be5d | 20761 | |
3866be5d | 20762 | check-shellutils: |
b40e3958 L |
20763 | @r=`${PWD_COMMAND}`; export r; \ |
20764 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20765 | $(SET_LIB_PATH) \ |
20766 | (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20767 | |
20768 | ||
930314a4 NN |
20769 | .PHONY: install-shellutils maybe-install-shellutils |
20770 | maybe-install-shellutils: | |
16ae0395 | 20771 | |
3866be5d | 20772 | install-shellutils: installdirs |
b40e3958 L |
20773 | @r=`${PWD_COMMAND}`; export r; \ |
20774 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20775 | $(SET_LIB_PATH) \ |
20776 | (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20777 | |
20778 | ||
e2b9e2dc NN |
20779 | .PHONY: configure-sid maybe-configure-sid |
20780 | maybe-configure-sid: | |
e6bfb94a AO |
20781 | configure-sid: |
20782 | @test ! -f sid/Makefile || exit 0; \ | |
20783 | [ -d sid ] || mkdir sid; \ | |
b40e3958 L |
20784 | r=`${PWD_COMMAND}`; export r; \ |
20785 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
20786 | CC="$(CC)"; export CC; \ |
20787 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20788 | CXX="$(CXX)"; export CXX; \ | |
20789 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20790 | AR="$(AR)"; export AR; \ |
20791 | AS="$(AS)"; export AS; \ | |
20792 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20793 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20794 | LD="$(LD)"; export LD; \ | |
20795 | NM="$(NM)"; export NM; \ | |
20796 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20797 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20798 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20799 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20800 | echo Configuring in sid; \ |
20801 | cd sid || exit 1; \ | |
20802 | case $(srcdir) in \ | |
20803 | \.) \ | |
20804 | srcdiroption="--srcdir=."; \ | |
20805 | libsrcdir=".";; \ | |
20806 | /* | [A-Za-z]:[\\/]*) \ | |
20807 | srcdiroption="--srcdir=$(srcdir)/sid"; \ | |
20808 | libsrcdir="$$s/sid";; \ | |
20809 | *) \ | |
20810 | srcdiroption="--srcdir=../$(srcdir)/sid"; \ | |
20811 | libsrcdir="$$s/sid";; \ | |
20812 | esac; \ | |
20813 | $(SHELL) $${libsrcdir}/configure \ | |
20814 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20815 | || exit 1 | |
20816 | ||
930314a4 NN |
20817 | .PHONY: all-sid maybe-all-sid |
20818 | maybe-all-sid: | |
db1ac78d | 20819 | all-sid: configure-sid |
b40e3958 L |
20820 | @r=`${PWD_COMMAND}`; export r; \ |
20821 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20822 | $(SET_LIB_PATH) \ |
20823 | (cd sid && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20824 | |
16ae0395 NN |
20825 | .PHONY: check-sid maybe-check-sid |
20826 | maybe-check-sid: | |
3866be5d | 20827 | |
3866be5d | 20828 | check-sid: |
b40e3958 L |
20829 | @r=`${PWD_COMMAND}`; export r; \ |
20830 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20831 | $(SET_LIB_PATH) \ |
20832 | (cd sid && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20833 | |
20834 | ||
930314a4 NN |
20835 | .PHONY: install-sid maybe-install-sid |
20836 | maybe-install-sid: | |
16ae0395 | 20837 | |
3866be5d | 20838 | install-sid: installdirs |
b40e3958 L |
20839 | @r=`${PWD_COMMAND}`; export r; \ |
20840 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20841 | $(SET_LIB_PATH) \ |
20842 | (cd sid && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20843 | |
20844 | ||
e2b9e2dc NN |
20845 | .PHONY: configure-sim maybe-configure-sim |
20846 | maybe-configure-sim: | |
e6bfb94a AO |
20847 | configure-sim: |
20848 | @test ! -f sim/Makefile || exit 0; \ | |
20849 | [ -d sim ] || mkdir sim; \ | |
b40e3958 L |
20850 | r=`${PWD_COMMAND}`; export r; \ |
20851 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
20852 | CC="$(CC)"; export CC; \ |
20853 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20854 | CXX="$(CXX)"; export CXX; \ | |
20855 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20856 | AR="$(AR)"; export AR; \ |
20857 | AS="$(AS)"; export AS; \ | |
20858 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20859 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20860 | LD="$(LD)"; export LD; \ | |
20861 | NM="$(NM)"; export NM; \ | |
20862 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20863 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20864 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20865 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20866 | echo Configuring in sim; \ |
20867 | cd sim || exit 1; \ | |
20868 | case $(srcdir) in \ | |
20869 | \.) \ | |
20870 | srcdiroption="--srcdir=."; \ | |
20871 | libsrcdir=".";; \ | |
20872 | /* | [A-Za-z]:[\\/]*) \ | |
20873 | srcdiroption="--srcdir=$(srcdir)/sim"; \ | |
20874 | libsrcdir="$$s/sim";; \ | |
20875 | *) \ | |
20876 | srcdiroption="--srcdir=../$(srcdir)/sim"; \ | |
20877 | libsrcdir="$$s/sim";; \ | |
20878 | esac; \ | |
20879 | $(SHELL) $${libsrcdir}/configure \ | |
20880 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20881 | || exit 1 | |
20882 | ||
930314a4 NN |
20883 | .PHONY: all-sim maybe-all-sim |
20884 | maybe-all-sim: | |
db1ac78d | 20885 | all-sim: configure-sim |
b40e3958 L |
20886 | @r=`${PWD_COMMAND}`; export r; \ |
20887 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20888 | $(SET_LIB_PATH) \ |
20889 | (cd sim && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20890 | |
16ae0395 NN |
20891 | .PHONY: check-sim maybe-check-sim |
20892 | maybe-check-sim: | |
3866be5d | 20893 | |
3866be5d | 20894 | check-sim: |
b40e3958 L |
20895 | @r=`${PWD_COMMAND}`; export r; \ |
20896 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20897 | $(SET_LIB_PATH) \ |
20898 | (cd sim && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20899 | |
20900 | ||
930314a4 NN |
20901 | .PHONY: install-sim maybe-install-sim |
20902 | maybe-install-sim: | |
16ae0395 | 20903 | |
3866be5d | 20904 | install-sim: installdirs |
b40e3958 L |
20905 | @r=`${PWD_COMMAND}`; export r; \ |
20906 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20907 | $(SET_LIB_PATH) \ |
20908 | (cd sim && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20909 | |
20910 | ||
e2b9e2dc NN |
20911 | .PHONY: configure-tar maybe-configure-tar |
20912 | maybe-configure-tar: | |
e6bfb94a AO |
20913 | configure-tar: |
20914 | @test ! -f tar/Makefile || exit 0; \ | |
20915 | [ -d tar ] || mkdir tar; \ | |
b40e3958 L |
20916 | r=`${PWD_COMMAND}`; export r; \ |
20917 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
20918 | CC="$(CC)"; export CC; \ |
20919 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20920 | CXX="$(CXX)"; export CXX; \ | |
20921 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20922 | AR="$(AR)"; export AR; \ |
20923 | AS="$(AS)"; export AS; \ | |
20924 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20925 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20926 | LD="$(LD)"; export LD; \ | |
20927 | NM="$(NM)"; export NM; \ | |
20928 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20929 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20930 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20931 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20932 | echo Configuring in tar; \ |
20933 | cd tar || exit 1; \ | |
20934 | case $(srcdir) in \ | |
20935 | \.) \ | |
20936 | srcdiroption="--srcdir=."; \ | |
20937 | libsrcdir=".";; \ | |
20938 | /* | [A-Za-z]:[\\/]*) \ | |
20939 | srcdiroption="--srcdir=$(srcdir)/tar"; \ | |
20940 | libsrcdir="$$s/tar";; \ | |
20941 | *) \ | |
20942 | srcdiroption="--srcdir=../$(srcdir)/tar"; \ | |
20943 | libsrcdir="$$s/tar";; \ | |
20944 | esac; \ | |
20945 | $(SHELL) $${libsrcdir}/configure \ | |
20946 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20947 | || exit 1 | |
20948 | ||
930314a4 NN |
20949 | .PHONY: all-tar maybe-all-tar |
20950 | maybe-all-tar: | |
db1ac78d | 20951 | all-tar: configure-tar |
b40e3958 L |
20952 | @r=`${PWD_COMMAND}`; export r; \ |
20953 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20954 | $(SET_LIB_PATH) \ |
20955 | (cd tar && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20956 | |
16ae0395 NN |
20957 | .PHONY: check-tar maybe-check-tar |
20958 | maybe-check-tar: | |
3866be5d | 20959 | |
3866be5d | 20960 | check-tar: |
b40e3958 L |
20961 | @r=`${PWD_COMMAND}`; export r; \ |
20962 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20963 | $(SET_LIB_PATH) \ |
20964 | (cd tar && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20965 | |
20966 | ||
930314a4 NN |
20967 | .PHONY: install-tar maybe-install-tar |
20968 | maybe-install-tar: | |
16ae0395 | 20969 | |
3866be5d | 20970 | install-tar: installdirs |
b40e3958 L |
20971 | @r=`${PWD_COMMAND}`; export r; \ |
20972 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
20973 | $(SET_LIB_PATH) \ |
20974 | (cd tar && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20975 | |
20976 | ||
e2b9e2dc NN |
20977 | .PHONY: configure-texinfo maybe-configure-texinfo |
20978 | maybe-configure-texinfo: | |
e6bfb94a AO |
20979 | configure-texinfo: |
20980 | @test ! -f texinfo/Makefile || exit 0; \ | |
20981 | [ -d texinfo ] || mkdir texinfo; \ | |
b40e3958 L |
20982 | r=`${PWD_COMMAND}`; export r; \ |
20983 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
20984 | CC="$(CC)"; export CC; \ |
20985 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20986 | CXX="$(CXX)"; export CXX; \ | |
20987 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20988 | AR="$(AR)"; export AR; \ |
20989 | AS="$(AS)"; export AS; \ | |
20990 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20991 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20992 | LD="$(LD)"; export LD; \ | |
20993 | NM="$(NM)"; export NM; \ | |
20994 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20995 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20996 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20997 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20998 | echo Configuring in texinfo; \ |
20999 | cd texinfo || exit 1; \ | |
21000 | case $(srcdir) in \ | |
21001 | \.) \ | |
21002 | srcdiroption="--srcdir=."; \ | |
21003 | libsrcdir=".";; \ | |
21004 | /* | [A-Za-z]:[\\/]*) \ | |
21005 | srcdiroption="--srcdir=$(srcdir)/texinfo"; \ | |
21006 | libsrcdir="$$s/texinfo";; \ | |
21007 | *) \ | |
21008 | srcdiroption="--srcdir=../$(srcdir)/texinfo"; \ | |
21009 | libsrcdir="$$s/texinfo";; \ | |
21010 | esac; \ | |
21011 | $(SHELL) $${libsrcdir}/configure \ | |
21012 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21013 | || exit 1 | |
21014 | ||
930314a4 NN |
21015 | .PHONY: all-texinfo maybe-all-texinfo |
21016 | maybe-all-texinfo: | |
db1ac78d | 21017 | all-texinfo: configure-texinfo |
b40e3958 L |
21018 | @r=`${PWD_COMMAND}`; export r; \ |
21019 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21020 | $(SET_LIB_PATH) \ |
21021 | (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 21022 | |
16ae0395 NN |
21023 | .PHONY: check-texinfo maybe-check-texinfo |
21024 | maybe-check-texinfo: | |
3866be5d | 21025 | |
3866be5d | 21026 | check-texinfo: |
b40e3958 L |
21027 | @r=`${PWD_COMMAND}`; export r; \ |
21028 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21029 | $(SET_LIB_PATH) \ |
21030 | (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
21031 | |
21032 | ||
930314a4 NN |
21033 | .PHONY: install-texinfo maybe-install-texinfo |
21034 | maybe-install-texinfo: | |
16ae0395 | 21035 | |
3866be5d NN |
21036 | install-texinfo: |
21037 | ||
21038 | ||
e2b9e2dc NN |
21039 | .PHONY: configure-textutils maybe-configure-textutils |
21040 | maybe-configure-textutils: | |
e6bfb94a AO |
21041 | configure-textutils: |
21042 | @test ! -f textutils/Makefile || exit 0; \ | |
21043 | [ -d textutils ] || mkdir textutils; \ | |
b40e3958 L |
21044 | r=`${PWD_COMMAND}`; export r; \ |
21045 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
21046 | CC="$(CC)"; export CC; \ |
21047 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21048 | CXX="$(CXX)"; export CXX; \ | |
21049 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21050 | AR="$(AR)"; export AR; \ |
21051 | AS="$(AS)"; export AS; \ | |
21052 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21053 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21054 | LD="$(LD)"; export LD; \ | |
21055 | NM="$(NM)"; export NM; \ | |
21056 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21057 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21058 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21059 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21060 | echo Configuring in textutils; \ |
21061 | cd textutils || exit 1; \ | |
21062 | case $(srcdir) in \ | |
21063 | \.) \ | |
21064 | srcdiroption="--srcdir=."; \ | |
21065 | libsrcdir=".";; \ | |
21066 | /* | [A-Za-z]:[\\/]*) \ | |
21067 | srcdiroption="--srcdir=$(srcdir)/textutils"; \ | |
21068 | libsrcdir="$$s/textutils";; \ | |
21069 | *) \ | |
21070 | srcdiroption="--srcdir=../$(srcdir)/textutils"; \ | |
21071 | libsrcdir="$$s/textutils";; \ | |
21072 | esac; \ | |
21073 | $(SHELL) $${libsrcdir}/configure \ | |
21074 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21075 | || exit 1 | |
21076 | ||
930314a4 NN |
21077 | .PHONY: all-textutils maybe-all-textutils |
21078 | maybe-all-textutils: | |
db1ac78d | 21079 | all-textutils: configure-textutils |
b40e3958 L |
21080 | @r=`${PWD_COMMAND}`; export r; \ |
21081 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21082 | $(SET_LIB_PATH) \ |
21083 | (cd textutils && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 21084 | |
16ae0395 NN |
21085 | .PHONY: check-textutils maybe-check-textutils |
21086 | maybe-check-textutils: | |
3866be5d | 21087 | |
3866be5d | 21088 | check-textutils: |
b40e3958 L |
21089 | @r=`${PWD_COMMAND}`; export r; \ |
21090 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21091 | $(SET_LIB_PATH) \ |
21092 | (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
21093 | |
21094 | ||
930314a4 NN |
21095 | .PHONY: install-textutils maybe-install-textutils |
21096 | maybe-install-textutils: | |
16ae0395 | 21097 | |
3866be5d | 21098 | install-textutils: installdirs |
b40e3958 L |
21099 | @r=`${PWD_COMMAND}`; export r; \ |
21100 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21101 | $(SET_LIB_PATH) \ |
21102 | (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
21103 | |
21104 | ||
e2b9e2dc NN |
21105 | .PHONY: configure-time maybe-configure-time |
21106 | maybe-configure-time: | |
e6bfb94a AO |
21107 | configure-time: |
21108 | @test ! -f time/Makefile || exit 0; \ | |
21109 | [ -d time ] || mkdir time; \ | |
b40e3958 L |
21110 | r=`${PWD_COMMAND}`; export r; \ |
21111 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
21112 | CC="$(CC)"; export CC; \ |
21113 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21114 | CXX="$(CXX)"; export CXX; \ | |
21115 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21116 | AR="$(AR)"; export AR; \ |
21117 | AS="$(AS)"; export AS; \ | |
21118 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21119 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21120 | LD="$(LD)"; export LD; \ | |
21121 | NM="$(NM)"; export NM; \ | |
21122 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21123 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21124 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21125 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21126 | echo Configuring in time; \ |
21127 | cd time || exit 1; \ | |
21128 | case $(srcdir) in \ | |
21129 | \.) \ | |
21130 | srcdiroption="--srcdir=."; \ | |
21131 | libsrcdir=".";; \ | |
21132 | /* | [A-Za-z]:[\\/]*) \ | |
21133 | srcdiroption="--srcdir=$(srcdir)/time"; \ | |
21134 | libsrcdir="$$s/time";; \ | |
21135 | *) \ | |
21136 | srcdiroption="--srcdir=../$(srcdir)/time"; \ | |
21137 | libsrcdir="$$s/time";; \ | |
21138 | esac; \ | |
21139 | $(SHELL) $${libsrcdir}/configure \ | |
21140 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21141 | || exit 1 | |
21142 | ||
930314a4 NN |
21143 | .PHONY: all-time maybe-all-time |
21144 | maybe-all-time: | |
db1ac78d | 21145 | all-time: configure-time |
b40e3958 L |
21146 | @r=`${PWD_COMMAND}`; export r; \ |
21147 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21148 | $(SET_LIB_PATH) \ |
21149 | (cd time && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 21150 | |
16ae0395 NN |
21151 | .PHONY: check-time maybe-check-time |
21152 | maybe-check-time: | |
3866be5d | 21153 | |
3866be5d | 21154 | check-time: |
b40e3958 L |
21155 | @r=`${PWD_COMMAND}`; export r; \ |
21156 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21157 | $(SET_LIB_PATH) \ |
21158 | (cd time && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
21159 | |
21160 | ||
930314a4 NN |
21161 | .PHONY: install-time maybe-install-time |
21162 | maybe-install-time: | |
16ae0395 | 21163 | |
3866be5d | 21164 | install-time: installdirs |
b40e3958 L |
21165 | @r=`${PWD_COMMAND}`; export r; \ |
21166 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21167 | $(SET_LIB_PATH) \ |
21168 | (cd time && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
21169 | |
21170 | ||
e2b9e2dc NN |
21171 | .PHONY: configure-uudecode maybe-configure-uudecode |
21172 | maybe-configure-uudecode: | |
e6bfb94a AO |
21173 | configure-uudecode: |
21174 | @test ! -f uudecode/Makefile || exit 0; \ | |
21175 | [ -d uudecode ] || mkdir uudecode; \ | |
b40e3958 L |
21176 | r=`${PWD_COMMAND}`; export r; \ |
21177 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
21178 | CC="$(CC)"; export CC; \ |
21179 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21180 | CXX="$(CXX)"; export CXX; \ | |
21181 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21182 | AR="$(AR)"; export AR; \ |
21183 | AS="$(AS)"; export AS; \ | |
21184 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21185 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21186 | LD="$(LD)"; export LD; \ | |
21187 | NM="$(NM)"; export NM; \ | |
21188 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21189 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21190 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21191 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21192 | echo Configuring in uudecode; \ |
21193 | cd uudecode || exit 1; \ | |
21194 | case $(srcdir) in \ | |
21195 | \.) \ | |
21196 | srcdiroption="--srcdir=."; \ | |
21197 | libsrcdir=".";; \ | |
21198 | /* | [A-Za-z]:[\\/]*) \ | |
21199 | srcdiroption="--srcdir=$(srcdir)/uudecode"; \ | |
21200 | libsrcdir="$$s/uudecode";; \ | |
21201 | *) \ | |
21202 | srcdiroption="--srcdir=../$(srcdir)/uudecode"; \ | |
21203 | libsrcdir="$$s/uudecode";; \ | |
21204 | esac; \ | |
21205 | $(SHELL) $${libsrcdir}/configure \ | |
21206 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21207 | || exit 1 | |
21208 | ||
930314a4 NN |
21209 | .PHONY: all-uudecode maybe-all-uudecode |
21210 | maybe-all-uudecode: | |
db1ac78d | 21211 | all-uudecode: configure-uudecode |
b40e3958 L |
21212 | @r=`${PWD_COMMAND}`; export r; \ |
21213 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21214 | $(SET_LIB_PATH) \ |
21215 | (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 21216 | |
16ae0395 NN |
21217 | .PHONY: check-uudecode maybe-check-uudecode |
21218 | maybe-check-uudecode: | |
3866be5d | 21219 | |
3866be5d | 21220 | check-uudecode: |
b40e3958 L |
21221 | @r=`${PWD_COMMAND}`; export r; \ |
21222 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21223 | $(SET_LIB_PATH) \ |
21224 | (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
21225 | |
21226 | ||
930314a4 NN |
21227 | .PHONY: install-uudecode maybe-install-uudecode |
21228 | maybe-install-uudecode: | |
16ae0395 | 21229 | |
3866be5d | 21230 | install-uudecode: installdirs |
b40e3958 L |
21231 | @r=`${PWD_COMMAND}`; export r; \ |
21232 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21233 | $(SET_LIB_PATH) \ |
21234 | (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
21235 | |
21236 | ||
e2b9e2dc NN |
21237 | .PHONY: configure-wdiff maybe-configure-wdiff |
21238 | maybe-configure-wdiff: | |
e6bfb94a AO |
21239 | configure-wdiff: |
21240 | @test ! -f wdiff/Makefile || exit 0; \ | |
21241 | [ -d wdiff ] || mkdir wdiff; \ | |
b40e3958 L |
21242 | r=`${PWD_COMMAND}`; export r; \ |
21243 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
21244 | CC="$(CC)"; export CC; \ |
21245 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21246 | CXX="$(CXX)"; export CXX; \ | |
21247 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21248 | AR="$(AR)"; export AR; \ |
21249 | AS="$(AS)"; export AS; \ | |
21250 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21251 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21252 | LD="$(LD)"; export LD; \ | |
21253 | NM="$(NM)"; export NM; \ | |
21254 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21255 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21256 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21257 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21258 | echo Configuring in wdiff; \ |
21259 | cd wdiff || exit 1; \ | |
21260 | case $(srcdir) in \ | |
21261 | \.) \ | |
21262 | srcdiroption="--srcdir=."; \ | |
21263 | libsrcdir=".";; \ | |
21264 | /* | [A-Za-z]:[\\/]*) \ | |
21265 | srcdiroption="--srcdir=$(srcdir)/wdiff"; \ | |
21266 | libsrcdir="$$s/wdiff";; \ | |
21267 | *) \ | |
21268 | srcdiroption="--srcdir=../$(srcdir)/wdiff"; \ | |
21269 | libsrcdir="$$s/wdiff";; \ | |
21270 | esac; \ | |
21271 | $(SHELL) $${libsrcdir}/configure \ | |
21272 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21273 | || exit 1 | |
21274 | ||
930314a4 NN |
21275 | .PHONY: all-wdiff maybe-all-wdiff |
21276 | maybe-all-wdiff: | |
db1ac78d | 21277 | all-wdiff: configure-wdiff |
b40e3958 L |
21278 | @r=`${PWD_COMMAND}`; export r; \ |
21279 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21280 | $(SET_LIB_PATH) \ |
21281 | (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 21282 | |
16ae0395 NN |
21283 | .PHONY: check-wdiff maybe-check-wdiff |
21284 | maybe-check-wdiff: | |
3866be5d | 21285 | |
3866be5d | 21286 | check-wdiff: |
b40e3958 L |
21287 | @r=`${PWD_COMMAND}`; export r; \ |
21288 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21289 | $(SET_LIB_PATH) \ |
21290 | (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
21291 | |
21292 | ||
930314a4 NN |
21293 | .PHONY: install-wdiff maybe-install-wdiff |
21294 | maybe-install-wdiff: | |
16ae0395 | 21295 | |
3866be5d | 21296 | install-wdiff: installdirs |
b40e3958 L |
21297 | @r=`${PWD_COMMAND}`; export r; \ |
21298 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21299 | $(SET_LIB_PATH) \ |
21300 | (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
21301 | |
21302 | ||
e2b9e2dc NN |
21303 | .PHONY: configure-zip maybe-configure-zip |
21304 | maybe-configure-zip: | |
e6bfb94a AO |
21305 | configure-zip: |
21306 | @test ! -f zip/Makefile || exit 0; \ | |
21307 | [ -d zip ] || mkdir zip; \ | |
b40e3958 L |
21308 | r=`${PWD_COMMAND}`; export r; \ |
21309 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
21310 | CC="$(CC)"; export CC; \ |
21311 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21312 | CXX="$(CXX)"; export CXX; \ | |
21313 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21314 | AR="$(AR)"; export AR; \ |
21315 | AS="$(AS)"; export AS; \ | |
21316 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21317 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21318 | LD="$(LD)"; export LD; \ | |
21319 | NM="$(NM)"; export NM; \ | |
21320 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21321 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21322 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21323 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21324 | echo Configuring in zip; \ |
21325 | cd zip || exit 1; \ | |
21326 | case $(srcdir) in \ | |
21327 | \.) \ | |
21328 | srcdiroption="--srcdir=."; \ | |
21329 | libsrcdir=".";; \ | |
21330 | /* | [A-Za-z]:[\\/]*) \ | |
21331 | srcdiroption="--srcdir=$(srcdir)/zip"; \ | |
21332 | libsrcdir="$$s/zip";; \ | |
21333 | *) \ | |
21334 | srcdiroption="--srcdir=../$(srcdir)/zip"; \ | |
21335 | libsrcdir="$$s/zip";; \ | |
21336 | esac; \ | |
21337 | $(SHELL) $${libsrcdir}/configure \ | |
21338 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21339 | || exit 1 | |
21340 | ||
930314a4 NN |
21341 | .PHONY: all-zip maybe-all-zip |
21342 | maybe-all-zip: | |
db1ac78d | 21343 | all-zip: configure-zip |
b40e3958 L |
21344 | @r=`${PWD_COMMAND}`; export r; \ |
21345 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21346 | $(SET_LIB_PATH) \ |
21347 | (cd zip && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 21348 | |
16ae0395 NN |
21349 | .PHONY: check-zip maybe-check-zip |
21350 | maybe-check-zip: | |
3866be5d | 21351 | |
3866be5d NN |
21352 | # This module is only tested in a native toolchain. |
21353 | check-zip: | |
7f121bbf | 21354 | @if [ '$(host)' = '$(target)' ] ; then \ |
b40e3958 L |
21355 | r=`${PWD_COMMAND}`; export r; \ |
21356 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21357 | $(SET_LIB_PATH) \ |
21358 | (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \ | |
3866be5d NN |
21359 | fi |
21360 | ||
21361 | ||
930314a4 NN |
21362 | .PHONY: install-zip maybe-install-zip |
21363 | maybe-install-zip: | |
16ae0395 | 21364 | |
3866be5d | 21365 | install-zip: installdirs |
b40e3958 L |
21366 | @r=`${PWD_COMMAND}`; export r; \ |
21367 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21368 | $(SET_LIB_PATH) \ |
21369 | (cd zip && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
21370 | |
21371 | ||
e2b9e2dc NN |
21372 | .PHONY: configure-zlib maybe-configure-zlib |
21373 | maybe-configure-zlib: | |
e6bfb94a AO |
21374 | configure-zlib: |
21375 | @test ! -f zlib/Makefile || exit 0; \ | |
21376 | [ -d zlib ] || mkdir zlib; \ | |
b40e3958 L |
21377 | r=`${PWD_COMMAND}`; export r; \ |
21378 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
21379 | CC="$(CC)"; export CC; \ |
21380 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21381 | CXX="$(CXX)"; export CXX; \ | |
21382 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21383 | AR="$(AR)"; export AR; \ |
21384 | AS="$(AS)"; export AS; \ | |
21385 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21386 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21387 | LD="$(LD)"; export LD; \ | |
21388 | NM="$(NM)"; export NM; \ | |
21389 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21390 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21391 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21392 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21393 | echo Configuring in zlib; \ |
21394 | cd zlib || exit 1; \ | |
21395 | case $(srcdir) in \ | |
21396 | \.) \ | |
21397 | srcdiroption="--srcdir=."; \ | |
21398 | libsrcdir=".";; \ | |
21399 | /* | [A-Za-z]:[\\/]*) \ | |
21400 | srcdiroption="--srcdir=$(srcdir)/zlib"; \ | |
21401 | libsrcdir="$$s/zlib";; \ | |
21402 | *) \ | |
21403 | srcdiroption="--srcdir=../$(srcdir)/zlib"; \ | |
21404 | libsrcdir="$$s/zlib";; \ | |
21405 | esac; \ | |
21406 | $(SHELL) $${libsrcdir}/configure \ | |
21407 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21408 | || exit 1 | |
21409 | ||
930314a4 NN |
21410 | .PHONY: all-zlib maybe-all-zlib |
21411 | maybe-all-zlib: | |
db1ac78d | 21412 | all-zlib: configure-zlib |
b40e3958 L |
21413 | @r=`${PWD_COMMAND}`; export r; \ |
21414 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21415 | $(SET_LIB_PATH) \ |
21416 | (cd zlib && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 21417 | |
16ae0395 NN |
21418 | .PHONY: check-zlib maybe-check-zlib |
21419 | maybe-check-zlib: | |
3866be5d | 21420 | |
3866be5d NN |
21421 | check-zlib: |
21422 | ||
21423 | ||
930314a4 NN |
21424 | .PHONY: install-zlib maybe-install-zlib |
21425 | maybe-install-zlib: | |
16ae0395 | 21426 | |
3866be5d NN |
21427 | install-zlib: |
21428 | ||
21429 | ||
e2b9e2dc NN |
21430 | .PHONY: configure-gdb maybe-configure-gdb |
21431 | maybe-configure-gdb: | |
e6bfb94a AO |
21432 | configure-gdb: |
21433 | @test ! -f gdb/Makefile || exit 0; \ | |
21434 | [ -d gdb ] || mkdir gdb; \ | |
b40e3958 L |
21435 | r=`${PWD_COMMAND}`; export r; \ |
21436 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
21437 | CC="$(CC)"; export CC; \ |
21438 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21439 | CXX="$(CXX)"; export CXX; \ | |
21440 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21441 | AR="$(AR)"; export AR; \ |
21442 | AS="$(AS)"; export AS; \ | |
21443 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21444 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21445 | LD="$(LD)"; export LD; \ | |
21446 | NM="$(NM)"; export NM; \ | |
21447 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21448 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21449 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21450 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21451 | echo Configuring in gdb; \ |
21452 | cd gdb || exit 1; \ | |
21453 | case $(srcdir) in \ | |
21454 | \.) \ | |
21455 | srcdiroption="--srcdir=."; \ | |
21456 | libsrcdir=".";; \ | |
21457 | /* | [A-Za-z]:[\\/]*) \ | |
21458 | srcdiroption="--srcdir=$(srcdir)/gdb"; \ | |
21459 | libsrcdir="$$s/gdb";; \ | |
21460 | *) \ | |
21461 | srcdiroption="--srcdir=../$(srcdir)/gdb"; \ | |
21462 | libsrcdir="$$s/gdb";; \ | |
21463 | esac; \ | |
21464 | $(SHELL) $${libsrcdir}/configure \ | |
21465 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21466 | || exit 1 | |
21467 | ||
930314a4 NN |
21468 | .PHONY: all-gdb maybe-all-gdb |
21469 | maybe-all-gdb: | |
db1ac78d | 21470 | all-gdb: configure-gdb |
b40e3958 L |
21471 | @r=`${PWD_COMMAND}`; export r; \ |
21472 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21473 | $(SET_LIB_PATH) \ |
21474 | (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all) | |
3866be5d | 21475 | |
16ae0395 NN |
21476 | .PHONY: check-gdb maybe-check-gdb |
21477 | maybe-check-gdb: | |
3866be5d | 21478 | |
3866be5d | 21479 | check-gdb: |
b40e3958 L |
21480 | @r=`${PWD_COMMAND}`; export r; \ |
21481 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21482 | $(SET_LIB_PATH) \ |
21483 | (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check) | |
3866be5d NN |
21484 | |
21485 | ||
930314a4 NN |
21486 | .PHONY: install-gdb maybe-install-gdb |
21487 | maybe-install-gdb: | |
16ae0395 | 21488 | |
3866be5d | 21489 | install-gdb: installdirs |
b40e3958 L |
21490 | @r=`${PWD_COMMAND}`; export r; \ |
21491 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21492 | $(SET_LIB_PATH) \ |
21493 | (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install) | |
3866be5d NN |
21494 | |
21495 | ||
e2b9e2dc NN |
21496 | .PHONY: configure-expect maybe-configure-expect |
21497 | maybe-configure-expect: | |
e6bfb94a AO |
21498 | configure-expect: |
21499 | @test ! -f expect/Makefile || exit 0; \ | |
21500 | [ -d expect ] || mkdir expect; \ | |
b40e3958 L |
21501 | r=`${PWD_COMMAND}`; export r; \ |
21502 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
21503 | CC="$(CC)"; export CC; \ |
21504 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21505 | CXX="$(CXX)"; export CXX; \ | |
21506 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21507 | AR="$(AR)"; export AR; \ |
21508 | AS="$(AS)"; export AS; \ | |
21509 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21510 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21511 | LD="$(LD)"; export LD; \ | |
21512 | NM="$(NM)"; export NM; \ | |
21513 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21514 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21515 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21516 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21517 | echo Configuring in expect; \ |
21518 | cd expect || exit 1; \ | |
21519 | case $(srcdir) in \ | |
21520 | \.) \ | |
21521 | srcdiroption="--srcdir=."; \ | |
21522 | libsrcdir=".";; \ | |
21523 | /* | [A-Za-z]:[\\/]*) \ | |
21524 | srcdiroption="--srcdir=$(srcdir)/expect"; \ | |
21525 | libsrcdir="$$s/expect";; \ | |
21526 | *) \ | |
21527 | srcdiroption="--srcdir=../$(srcdir)/expect"; \ | |
21528 | libsrcdir="$$s/expect";; \ | |
21529 | esac; \ | |
21530 | $(SHELL) $${libsrcdir}/configure \ | |
21531 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21532 | || exit 1 | |
21533 | ||
930314a4 NN |
21534 | .PHONY: all-expect maybe-all-expect |
21535 | maybe-all-expect: | |
db1ac78d | 21536 | all-expect: configure-expect |
b40e3958 L |
21537 | @r=`${PWD_COMMAND}`; export r; \ |
21538 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21539 | $(SET_LIB_PATH) \ |
21540 | (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all) | |
3866be5d | 21541 | |
16ae0395 NN |
21542 | .PHONY: check-expect maybe-check-expect |
21543 | maybe-check-expect: | |
3866be5d | 21544 | |
3866be5d | 21545 | check-expect: |
b40e3958 L |
21546 | @r=`${PWD_COMMAND}`; export r; \ |
21547 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21548 | $(SET_LIB_PATH) \ |
21549 | (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check) | |
3866be5d NN |
21550 | |
21551 | ||
930314a4 NN |
21552 | .PHONY: install-expect maybe-install-expect |
21553 | maybe-install-expect: | |
16ae0395 | 21554 | |
3866be5d | 21555 | install-expect: installdirs |
b40e3958 L |
21556 | @r=`${PWD_COMMAND}`; export r; \ |
21557 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21558 | $(SET_LIB_PATH) \ |
21559 | (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install) | |
3866be5d NN |
21560 | |
21561 | ||
e2b9e2dc NN |
21562 | .PHONY: configure-guile maybe-configure-guile |
21563 | maybe-configure-guile: | |
e6bfb94a AO |
21564 | configure-guile: |
21565 | @test ! -f guile/Makefile || exit 0; \ | |
21566 | [ -d guile ] || mkdir guile; \ | |
b40e3958 L |
21567 | r=`${PWD_COMMAND}`; export r; \ |
21568 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
21569 | CC="$(CC)"; export CC; \ |
21570 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21571 | CXX="$(CXX)"; export CXX; \ | |
21572 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21573 | AR="$(AR)"; export AR; \ |
21574 | AS="$(AS)"; export AS; \ | |
21575 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21576 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21577 | LD="$(LD)"; export LD; \ | |
21578 | NM="$(NM)"; export NM; \ | |
21579 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21580 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21581 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21582 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21583 | echo Configuring in guile; \ |
21584 | cd guile || exit 1; \ | |
21585 | case $(srcdir) in \ | |
21586 | \.) \ | |
21587 | srcdiroption="--srcdir=."; \ | |
21588 | libsrcdir=".";; \ | |
21589 | /* | [A-Za-z]:[\\/]*) \ | |
21590 | srcdiroption="--srcdir=$(srcdir)/guile"; \ | |
21591 | libsrcdir="$$s/guile";; \ | |
21592 | *) \ | |
21593 | srcdiroption="--srcdir=../$(srcdir)/guile"; \ | |
21594 | libsrcdir="$$s/guile";; \ | |
21595 | esac; \ | |
21596 | $(SHELL) $${libsrcdir}/configure \ | |
21597 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21598 | || exit 1 | |
21599 | ||
930314a4 NN |
21600 | .PHONY: all-guile maybe-all-guile |
21601 | maybe-all-guile: | |
db1ac78d | 21602 | all-guile: configure-guile |
b40e3958 L |
21603 | @r=`${PWD_COMMAND}`; export r; \ |
21604 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21605 | $(SET_LIB_PATH) \ |
21606 | (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all) | |
3866be5d | 21607 | |
16ae0395 NN |
21608 | .PHONY: check-guile maybe-check-guile |
21609 | maybe-check-guile: | |
3866be5d | 21610 | |
3866be5d | 21611 | check-guile: |
b40e3958 L |
21612 | @r=`${PWD_COMMAND}`; export r; \ |
21613 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21614 | $(SET_LIB_PATH) \ |
21615 | (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check) | |
3866be5d NN |
21616 | |
21617 | ||
930314a4 NN |
21618 | .PHONY: install-guile maybe-install-guile |
21619 | maybe-install-guile: | |
16ae0395 | 21620 | |
3866be5d | 21621 | install-guile: installdirs |
b40e3958 L |
21622 | @r=`${PWD_COMMAND}`; export r; \ |
21623 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21624 | $(SET_LIB_PATH) \ |
21625 | (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install) | |
3866be5d NN |
21626 | |
21627 | ||
e2b9e2dc NN |
21628 | .PHONY: configure-tk maybe-configure-tk |
21629 | maybe-configure-tk: | |
e6bfb94a AO |
21630 | configure-tk: |
21631 | @test ! -f tk/Makefile || exit 0; \ | |
21632 | [ -d tk ] || mkdir tk; \ | |
b40e3958 L |
21633 | r=`${PWD_COMMAND}`; export r; \ |
21634 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
21635 | CC="$(CC)"; export CC; \ |
21636 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21637 | CXX="$(CXX)"; export CXX; \ | |
21638 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21639 | AR="$(AR)"; export AR; \ |
21640 | AS="$(AS)"; export AS; \ | |
21641 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21642 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21643 | LD="$(LD)"; export LD; \ | |
21644 | NM="$(NM)"; export NM; \ | |
21645 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21646 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21647 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21648 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21649 | echo Configuring in tk; \ |
21650 | cd tk || exit 1; \ | |
21651 | case $(srcdir) in \ | |
21652 | \.) \ | |
21653 | srcdiroption="--srcdir=."; \ | |
21654 | libsrcdir=".";; \ | |
21655 | /* | [A-Za-z]:[\\/]*) \ | |
21656 | srcdiroption="--srcdir=$(srcdir)/tk"; \ | |
21657 | libsrcdir="$$s/tk";; \ | |
21658 | *) \ | |
21659 | srcdiroption="--srcdir=../$(srcdir)/tk"; \ | |
21660 | libsrcdir="$$s/tk";; \ | |
21661 | esac; \ | |
21662 | $(SHELL) $${libsrcdir}/configure \ | |
21663 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21664 | || exit 1 | |
21665 | ||
930314a4 NN |
21666 | .PHONY: all-tk maybe-all-tk |
21667 | maybe-all-tk: | |
db1ac78d | 21668 | all-tk: configure-tk |
b40e3958 L |
21669 | @r=`${PWD_COMMAND}`; export r; \ |
21670 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21671 | $(SET_LIB_PATH) \ |
21672 | (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all) | |
e393202e | 21673 | |
16ae0395 NN |
21674 | .PHONY: check-tk maybe-check-tk |
21675 | maybe-check-tk: | |
e393202e | 21676 | |
3866be5d | 21677 | check-tk: |
b40e3958 L |
21678 | @r=`${PWD_COMMAND}`; export r; \ |
21679 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21680 | $(SET_LIB_PATH) \ |
21681 | (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check) | |
e393202e | 21682 | |
e393202e | 21683 | |
930314a4 NN |
21684 | .PHONY: install-tk maybe-install-tk |
21685 | maybe-install-tk: | |
16ae0395 | 21686 | |
3866be5d | 21687 | install-tk: installdirs |
b40e3958 L |
21688 | @r=`${PWD_COMMAND}`; export r; \ |
21689 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21690 | $(SET_LIB_PATH) \ |
21691 | (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install) | |
e393202e | 21692 | |
3866be5d | 21693 | |
ce5b542e MC |
21694 | .PHONY: configure-tix maybe-configure-tix |
21695 | maybe-configure-tix: | |
21696 | configure-tix: | |
21697 | @test ! -f tix/Makefile || exit 0; \ | |
21698 | [ -d tix ] || mkdir tix; \ | |
b40e3958 L |
21699 | r=`${PWD_COMMAND}`; export r; \ |
21700 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
ce5b542e MC |
21701 | CC="$(CC)"; export CC; \ |
21702 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21703 | CXX="$(CXX)"; export CXX; \ | |
21704 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21705 | AR="$(AR)"; export AR; \ |
21706 | AS="$(AS)"; export AS; \ | |
21707 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21708 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21709 | LD="$(LD)"; export LD; \ | |
21710 | NM="$(NM)"; export NM; \ | |
21711 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21712 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21713 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21714 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
ce5b542e MC |
21715 | echo Configuring in tix; \ |
21716 | cd tix || exit 1; \ | |
21717 | case $(srcdir) in \ | |
21718 | \.) \ | |
21719 | srcdiroption="--srcdir=."; \ | |
21720 | libsrcdir=".";; \ | |
21721 | /* | [A-Za-z]:[\\/]*) \ | |
21722 | srcdiroption="--srcdir=$(srcdir)/tix"; \ | |
21723 | libsrcdir="$$s/tix";; \ | |
21724 | *) \ | |
21725 | srcdiroption="--srcdir=../$(srcdir)/tix"; \ | |
21726 | libsrcdir="$$s/tix";; \ | |
21727 | esac; \ | |
21728 | $(SHELL) $${libsrcdir}/configure \ | |
21729 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21730 | || exit 1 | |
21731 | ||
21732 | .PHONY: all-tix maybe-all-tix | |
21733 | maybe-all-tix: | |
21734 | all-tix: configure-tix | |
b40e3958 L |
21735 | @r=`${PWD_COMMAND}`; export r; \ |
21736 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
ce5b542e MC |
21737 | $(SET_LIB_PATH) \ |
21738 | (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all) | |
21739 | ||
16ae0395 NN |
21740 | .PHONY: check-tix maybe-check-tix |
21741 | maybe-check-tix: | |
ce5b542e | 21742 | |
ce5b542e | 21743 | check-tix: |
b40e3958 L |
21744 | @r=`${PWD_COMMAND}`; export r; \ |
21745 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
ce5b542e MC |
21746 | $(SET_LIB_PATH) \ |
21747 | (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check) | |
21748 | ||
21749 | ||
ce5b542e MC |
21750 | .PHONY: install-tix maybe-install-tix |
21751 | maybe-install-tix: | |
16ae0395 | 21752 | |
ce5b542e | 21753 | install-tix: installdirs |
b40e3958 L |
21754 | @r=`${PWD_COMMAND}`; export r; \ |
21755 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
ce5b542e MC |
21756 | $(SET_LIB_PATH) \ |
21757 | (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install) | |
21758 | ||
21759 | ||
e2b9e2dc NN |
21760 | .PHONY: configure-libtermcap maybe-configure-libtermcap |
21761 | maybe-configure-libtermcap: | |
e6bfb94a AO |
21762 | configure-libtermcap: |
21763 | @test ! -f libtermcap/Makefile || exit 0; \ | |
21764 | [ -d libtermcap ] || mkdir libtermcap; \ | |
b40e3958 L |
21765 | r=`${PWD_COMMAND}`; export r; \ |
21766 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
21767 | CC="$(CC)"; export CC; \ |
21768 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21769 | CXX="$(CXX)"; export CXX; \ | |
21770 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21771 | AR="$(AR)"; export AR; \ |
21772 | AS="$(AS)"; export AS; \ | |
21773 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21774 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21775 | LD="$(LD)"; export LD; \ | |
21776 | NM="$(NM)"; export NM; \ | |
21777 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21778 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21779 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21780 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21781 | echo Configuring in libtermcap; \ |
21782 | cd libtermcap || exit 1; \ | |
21783 | case $(srcdir) in \ | |
21784 | \.) \ | |
21785 | srcdiroption="--srcdir=."; \ | |
21786 | libsrcdir=".";; \ | |
21787 | /* | [A-Za-z]:[\\/]*) \ | |
21788 | srcdiroption="--srcdir=$(srcdir)/libtermcap"; \ | |
21789 | libsrcdir="$$s/libtermcap";; \ | |
21790 | *) \ | |
21791 | srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \ | |
21792 | libsrcdir="$$s/libtermcap";; \ | |
21793 | esac; \ | |
21794 | $(SHELL) $${libsrcdir}/configure \ | |
21795 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21796 | || exit 1 | |
21797 | ||
930314a4 NN |
21798 | .PHONY: all-libtermcap maybe-all-libtermcap |
21799 | maybe-all-libtermcap: | |
db1ac78d | 21800 | all-libtermcap: configure-libtermcap |
b40e3958 L |
21801 | @r=`${PWD_COMMAND}`; export r; \ |
21802 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21803 | $(SET_LIB_PATH) \ |
21804 | (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) all) | |
e393202e | 21805 | |
16ae0395 NN |
21806 | .PHONY: check-libtermcap maybe-check-libtermcap |
21807 | maybe-check-libtermcap: | |
e393202e | 21808 | |
3866be5d NN |
21809 | check-libtermcap: |
21810 | ||
21811 | ||
930314a4 NN |
21812 | .PHONY: install-libtermcap maybe-install-libtermcap |
21813 | maybe-install-libtermcap: | |
16ae0395 | 21814 | |
3866be5d | 21815 | install-libtermcap: installdirs |
b40e3958 L |
21816 | @r=`${PWD_COMMAND}`; export r; \ |
21817 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21818 | $(SET_LIB_PATH) \ |
21819 | (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install) | |
e393202e | 21820 | |
3866be5d | 21821 | |
e2b9e2dc NN |
21822 | .PHONY: configure-utils maybe-configure-utils |
21823 | maybe-configure-utils: | |
e6bfb94a AO |
21824 | configure-utils: |
21825 | @test ! -f utils/Makefile || exit 0; \ | |
21826 | [ -d utils ] || mkdir utils; \ | |
b40e3958 L |
21827 | r=`${PWD_COMMAND}`; export r; \ |
21828 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
21829 | CC="$(CC)"; export CC; \ |
21830 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21831 | CXX="$(CXX)"; export CXX; \ | |
21832 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21833 | AR="$(AR)"; export AR; \ |
21834 | AS="$(AS)"; export AS; \ | |
21835 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21836 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21837 | LD="$(LD)"; export LD; \ | |
21838 | NM="$(NM)"; export NM; \ | |
21839 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21840 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21841 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21842 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21843 | echo Configuring in utils; \ |
21844 | cd utils || exit 1; \ | |
21845 | case $(srcdir) in \ | |
21846 | \.) \ | |
21847 | srcdiroption="--srcdir=."; \ | |
21848 | libsrcdir=".";; \ | |
21849 | /* | [A-Za-z]:[\\/]*) \ | |
21850 | srcdiroption="--srcdir=$(srcdir)/utils"; \ | |
21851 | libsrcdir="$$s/utils";; \ | |
21852 | *) \ | |
21853 | srcdiroption="--srcdir=../$(srcdir)/utils"; \ | |
21854 | libsrcdir="$$s/utils";; \ | |
21855 | esac; \ | |
21856 | $(SHELL) $${libsrcdir}/configure \ | |
21857 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21858 | || exit 1 | |
21859 | ||
930314a4 NN |
21860 | .PHONY: all-utils maybe-all-utils |
21861 | maybe-all-utils: | |
db1ac78d | 21862 | all-utils: configure-utils |
b40e3958 L |
21863 | @r=`${PWD_COMMAND}`; export r; \ |
21864 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21865 | $(SET_LIB_PATH) \ |
21866 | (cd utils && $(MAKE) $(FLAGS_TO_PASS) all) | |
e393202e | 21867 | |
16ae0395 NN |
21868 | .PHONY: check-utils maybe-check-utils |
21869 | maybe-check-utils: | |
3866be5d | 21870 | |
3866be5d NN |
21871 | check-utils: |
21872 | ||
21873 | ||
930314a4 NN |
21874 | .PHONY: install-utils maybe-install-utils |
21875 | maybe-install-utils: | |
16ae0395 | 21876 | |
3866be5d | 21877 | install-utils: installdirs |
b40e3958 L |
21878 | @r=`${PWD_COMMAND}`; export r; \ |
21879 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21880 | $(SET_LIB_PATH) \ |
21881 | (cd utils && $(MAKE) $(FLAGS_TO_PASS) install) | |
e393202e | 21882 | |
3866be5d NN |
21883 | |
21884 | ||
15723a45 NN |
21885 | # --------------------------------------- |
21886 | # Modules which run on the target machine | |
21887 | # --------------------------------------- | |
e393202e | 21888 | |
930314a4 NN |
21889 | .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3 |
21890 | maybe-configure-target-libstdc++-v3: | |
15723a45 | 21891 | |
1086bc09 NN |
21892 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
21893 | $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out | |
9175bfc0 | 21894 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \ |
e6bfb94a | 21895 | rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \ |
1086bc09 | 21896 | cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out |
15723a45 | 21897 | |
e6bfb94a AO |
21898 | configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out |
21899 | @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \ | |
9175bfc0 | 21900 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \ |
b40e3958 L |
21901 | r=`${PWD_COMMAND}`; export r; \ |
21902 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21903 | $(SET_LIB_PATH) \ |
21904 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
21905 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
21906 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
21907 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
21908 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
21909 | CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \ | |
21910 | CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \ | |
21911 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
21912 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
21913 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
21914 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
21915 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
21916 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
21917 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
21918 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
21919 | echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \ | |
21920 | cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \ | |
21921 | case $(srcdir) in \ | |
21922 | /* | [A-Za-z]:[\\/]*) \ | |
21923 | topdir=$(srcdir) ;; \ | |
21924 | *) \ | |
21925 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
21926 | .) topdir="../$(srcdir)" ;; \ |
21927 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
21928 | esac ;; \ |
21929 | esac; \ | |
21930 | if [ "$(srcdir)" = "." ] ; then \ | |
21931 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
21932 | if $(SHELL) $$s/symlink-tree $${topdir}/libstdc++-v3 "no-such-file" ; then \ | |
21933 | if [ -f Makefile ]; then \ | |
21934 | if $(MAKE) distclean; then \ | |
21935 | true; \ | |
21936 | else \ | |
21937 | exit 1; \ | |
21938 | fi; \ | |
e393202e | 21939 | else \ |
bba45b8b | 21940 | true; \ |
e393202e | 21941 | fi; \ |
e393202e | 21942 | else \ |
bba45b8b | 21943 | exit 1; \ |
e393202e | 21944 | fi; \ |
bba45b8b NN |
21945 | else \ |
21946 | true; \ | |
21947 | fi; \ | |
21948 | srcdiroption="--srcdir=."; \ | |
21949 | libsrcdir="."; \ | |
21950 | else \ | |
21951 | srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \ | |
21952 | libsrcdir="$$s/libstdc++-v3"; \ | |
21953 | fi; \ | |
21954 | rm -f no-such-file || : ; \ | |
21955 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
21956 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
21957 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
21958 | || exit 1 | |
e393202e | 21959 | |
930314a4 NN |
21960 | .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3 |
21961 | maybe-all-target-libstdc++-v3: | |
15723a45 | 21962 | all-target-libstdc++-v3: configure-target-libstdc++-v3 |
b40e3958 L |
21963 | @r=`${PWD_COMMAND}`; export r; \ |
21964 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21965 | $(SET_LIB_PATH) \ |
21966 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
21967 | $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all) | |
e393202e | 21968 | |
16ae0395 NN |
21969 | .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3 |
21970 | maybe-check-target-libstdc++-v3: | |
21971 | ||
e393202e | 21972 | check-target-libstdc++-v3: |
b40e3958 L |
21973 | @r=`${PWD_COMMAND}`; export r; \ |
21974 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21975 | $(SET_LIB_PATH) \ |
21976 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
21977 | $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check) | |
930314a4 | 21978 | |
e393202e | 21979 | |
930314a4 NN |
21980 | .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3 |
21981 | maybe-install-target-libstdc++-v3: | |
16ae0395 | 21982 | |
e393202e | 21983 | install-target-libstdc++-v3: installdirs |
b40e3958 L |
21984 | @r=`${PWD_COMMAND}`; export r; \ |
21985 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
21986 | $(SET_LIB_PATH) \ |
21987 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
21988 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e NN |
21989 | |
21990 | ||
930314a4 NN |
21991 | .PHONY: configure-target-newlib maybe-configure-target-newlib |
21992 | maybe-configure-target-newlib: | |
15723a45 | 21993 | |
1086bc09 NN |
21994 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
21995 | $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out | |
9175bfc0 | 21996 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \ |
e6bfb94a | 21997 | rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \ |
1086bc09 | 21998 | cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out |
15723a45 | 21999 | |
e6bfb94a AO |
22000 | configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out |
22001 | @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \ | |
9175bfc0 | 22002 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \ |
b40e3958 L |
22003 | r=`${PWD_COMMAND}`; export r; \ |
22004 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22005 | $(SET_LIB_PATH) \ |
22006 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
22007 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
22008 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
22009 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
22010 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
22011 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
22012 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
22013 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
22014 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
22015 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
22016 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
22017 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
22018 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
22019 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
22020 | echo Configuring in $(TARGET_SUBDIR)/newlib; \ | |
22021 | cd "$(TARGET_SUBDIR)/newlib" || exit 1; \ | |
22022 | case $(srcdir) in \ | |
22023 | /* | [A-Za-z]:[\\/]*) \ | |
22024 | topdir=$(srcdir) ;; \ | |
22025 | *) \ | |
22026 | case "$(TARGET_SUBDIR)" in \ | |
22027 | .) topdir="../$(srcdir)" ;; \ | |
22028 | *) topdir="../../$(srcdir)" ;; \ | |
22029 | esac ;; \ | |
22030 | esac; \ | |
22031 | if [ "$(srcdir)" = "." ] ; then \ | |
22032 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
22033 | if $(SHELL) $$s/symlink-tree $${topdir}/newlib "no-such-file" ; then \ | |
22034 | if [ -f Makefile ]; then \ | |
22035 | if $(MAKE) distclean; then \ | |
22036 | true; \ | |
22037 | else \ | |
22038 | exit 1; \ | |
22039 | fi; \ | |
22040 | else \ | |
22041 | true; \ | |
22042 | fi; \ | |
22043 | else \ | |
22044 | exit 1; \ | |
e393202e | 22045 | fi; \ |
bba45b8b NN |
22046 | else \ |
22047 | true; \ | |
22048 | fi; \ | |
22049 | srcdiroption="--srcdir=."; \ | |
22050 | libsrcdir="."; \ | |
22051 | else \ | |
22052 | srcdiroption="--srcdir=$${topdir}/newlib"; \ | |
22053 | libsrcdir="$$s/newlib"; \ | |
22054 | fi; \ | |
22055 | rm -f no-such-file || : ; \ | |
22056 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
22057 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
22058 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
22059 | || exit 1 | |
e393202e | 22060 | |
930314a4 NN |
22061 | .PHONY: all-target-newlib maybe-all-target-newlib |
22062 | maybe-all-target-newlib: | |
15723a45 | 22063 | all-target-newlib: configure-target-newlib |
b40e3958 L |
22064 | @r=`${PWD_COMMAND}`; export r; \ |
22065 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22066 | $(SET_LIB_PATH) \ |
22067 | (cd $(TARGET_SUBDIR)/newlib && \ | |
22068 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
e393202e | 22069 | |
16ae0395 NN |
22070 | .PHONY: check-target-newlib maybe-check-target-newlib |
22071 | maybe-check-target-newlib: | |
22072 | ||
e393202e | 22073 | check-target-newlib: |
b40e3958 L |
22074 | @r=`${PWD_COMMAND}`; export r; \ |
22075 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22076 | $(SET_LIB_PATH) \ |
22077 | (cd $(TARGET_SUBDIR)/newlib && \ | |
22078 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check) | |
930314a4 | 22079 | |
e393202e | 22080 | |
930314a4 NN |
22081 | .PHONY: install-target-newlib maybe-install-target-newlib |
22082 | maybe-install-target-newlib: | |
16ae0395 | 22083 | |
e393202e | 22084 | install-target-newlib: installdirs |
b40e3958 L |
22085 | @r=`${PWD_COMMAND}`; export r; \ |
22086 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22087 | $(SET_LIB_PATH) \ |
22088 | (cd $(TARGET_SUBDIR)/newlib && \ | |
22089 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e NN |
22090 | |
22091 | ||
930314a4 NN |
22092 | .PHONY: configure-target-libf2c maybe-configure-target-libf2c |
22093 | maybe-configure-target-libf2c: | |
15723a45 | 22094 | |
1086bc09 NN |
22095 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
22096 | $(TARGET_SUBDIR)/libf2c/multilib.out: multilib.out | |
9175bfc0 | 22097 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libf2c ; \ |
e6bfb94a | 22098 | rm -f $(TARGET_SUBDIR)/libf2c/Makefile || : ; \ |
1086bc09 | 22099 | cp multilib.out $(TARGET_SUBDIR)/libf2c/multilib.out |
15723a45 | 22100 | |
e6bfb94a AO |
22101 | configure-target-libf2c: $(TARGET_SUBDIR)/libf2c/multilib.out |
22102 | @test ! -f $(TARGET_SUBDIR)/libf2c/Makefile || exit 0; \ | |
9175bfc0 | 22103 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libf2c ; \ |
b40e3958 L |
22104 | r=`${PWD_COMMAND}`; export r; \ |
22105 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22106 | $(SET_LIB_PATH) \ |
22107 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
22108 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
22109 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
22110 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
22111 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
22112 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
22113 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
22114 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
22115 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
22116 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
22117 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
22118 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
22119 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
22120 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
22121 | echo Configuring in $(TARGET_SUBDIR)/libf2c; \ | |
22122 | cd "$(TARGET_SUBDIR)/libf2c" || exit 1; \ | |
22123 | case $(srcdir) in \ | |
22124 | /* | [A-Za-z]:[\\/]*) \ | |
22125 | topdir=$(srcdir) ;; \ | |
22126 | *) \ | |
22127 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
22128 | .) topdir="../$(srcdir)" ;; \ |
22129 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
22130 | esac ;; \ |
22131 | esac; \ | |
22132 | if [ "$(srcdir)" = "." ] ; then \ | |
22133 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
22134 | if $(SHELL) $$s/symlink-tree $${topdir}/libf2c "no-such-file" ; then \ | |
22135 | if [ -f Makefile ]; then \ | |
22136 | if $(MAKE) distclean; then \ | |
22137 | true; \ | |
22138 | else \ | |
22139 | exit 1; \ | |
22140 | fi; \ | |
e393202e | 22141 | else \ |
bba45b8b | 22142 | true; \ |
e393202e | 22143 | fi; \ |
e393202e | 22144 | else \ |
bba45b8b | 22145 | exit 1; \ |
e393202e | 22146 | fi; \ |
bba45b8b NN |
22147 | else \ |
22148 | true; \ | |
22149 | fi; \ | |
22150 | srcdiroption="--srcdir=."; \ | |
22151 | libsrcdir="."; \ | |
22152 | else \ | |
22153 | srcdiroption="--srcdir=$${topdir}/libf2c"; \ | |
22154 | libsrcdir="$$s/libf2c"; \ | |
22155 | fi; \ | |
22156 | rm -f no-such-file || : ; \ | |
22157 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
22158 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
22159 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
22160 | || exit 1 | |
e393202e | 22161 | |
930314a4 NN |
22162 | .PHONY: all-target-libf2c maybe-all-target-libf2c |
22163 | maybe-all-target-libf2c: | |
15723a45 | 22164 | all-target-libf2c: configure-target-libf2c |
b40e3958 L |
22165 | @r=`${PWD_COMMAND}`; export r; \ |
22166 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22167 | $(SET_LIB_PATH) \ |
22168 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
22169 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
e393202e | 22170 | |
16ae0395 NN |
22171 | .PHONY: check-target-libf2c maybe-check-target-libf2c |
22172 | maybe-check-target-libf2c: | |
22173 | ||
e393202e | 22174 | check-target-libf2c: |
b40e3958 L |
22175 | @r=`${PWD_COMMAND}`; export r; \ |
22176 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22177 | $(SET_LIB_PATH) \ |
22178 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
22179 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check) | |
930314a4 | 22180 | |
e393202e | 22181 | |
930314a4 NN |
22182 | .PHONY: install-target-libf2c maybe-install-target-libf2c |
22183 | maybe-install-target-libf2c: | |
16ae0395 | 22184 | |
e393202e | 22185 | install-target-libf2c: installdirs |
b40e3958 L |
22186 | @r=`${PWD_COMMAND}`; export r; \ |
22187 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22188 | $(SET_LIB_PATH) \ |
22189 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
22190 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e NN |
22191 | |
22192 | ||
930314a4 NN |
22193 | .PHONY: configure-target-libobjc maybe-configure-target-libobjc |
22194 | maybe-configure-target-libobjc: | |
15723a45 | 22195 | |
1086bc09 NN |
22196 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
22197 | $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out | |
9175bfc0 | 22198 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \ |
e6bfb94a | 22199 | rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \ |
1086bc09 | 22200 | cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out |
15723a45 | 22201 | |
e6bfb94a AO |
22202 | configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out |
22203 | @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \ | |
9175bfc0 | 22204 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \ |
b40e3958 L |
22205 | r=`${PWD_COMMAND}`; export r; \ |
22206 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22207 | $(SET_LIB_PATH) \ |
22208 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
22209 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
22210 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
22211 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
22212 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
22213 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
22214 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
22215 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
22216 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
22217 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
22218 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
22219 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
22220 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
22221 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
22222 | echo Configuring in $(TARGET_SUBDIR)/libobjc; \ | |
22223 | cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \ | |
22224 | case $(srcdir) in \ | |
22225 | /* | [A-Za-z]:[\\/]*) \ | |
22226 | topdir=$(srcdir) ;; \ | |
22227 | *) \ | |
22228 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
22229 | .) topdir="../$(srcdir)" ;; \ |
22230 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
22231 | esac ;; \ |
22232 | esac; \ | |
22233 | if [ "$(srcdir)" = "." ] ; then \ | |
22234 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
22235 | if $(SHELL) $$s/symlink-tree $${topdir}/libobjc "no-such-file" ; then \ | |
22236 | if [ -f Makefile ]; then \ | |
22237 | if $(MAKE) distclean; then \ | |
22238 | true; \ | |
22239 | else \ | |
22240 | exit 1; \ | |
22241 | fi; \ | |
e393202e | 22242 | else \ |
bba45b8b | 22243 | true; \ |
e393202e | 22244 | fi; \ |
e393202e | 22245 | else \ |
bba45b8b | 22246 | exit 1; \ |
e393202e | 22247 | fi; \ |
bba45b8b NN |
22248 | else \ |
22249 | true; \ | |
22250 | fi; \ | |
22251 | srcdiroption="--srcdir=."; \ | |
22252 | libsrcdir="."; \ | |
22253 | else \ | |
22254 | srcdiroption="--srcdir=$${topdir}/libobjc"; \ | |
22255 | libsrcdir="$$s/libobjc"; \ | |
22256 | fi; \ | |
22257 | rm -f no-such-file || : ; \ | |
22258 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
22259 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
22260 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
22261 | || exit 1 | |
e393202e | 22262 | |
930314a4 NN |
22263 | .PHONY: all-target-libobjc maybe-all-target-libobjc |
22264 | maybe-all-target-libobjc: | |
15723a45 | 22265 | all-target-libobjc: configure-target-libobjc |
b40e3958 L |
22266 | @r=`${PWD_COMMAND}`; export r; \ |
22267 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22268 | $(SET_LIB_PATH) \ |
22269 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
22270 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
e393202e | 22271 | |
16ae0395 NN |
22272 | .PHONY: check-target-libobjc maybe-check-target-libobjc |
22273 | maybe-check-target-libobjc: | |
22274 | ||
e393202e | 22275 | check-target-libobjc: |
b40e3958 L |
22276 | @r=`${PWD_COMMAND}`; export r; \ |
22277 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22278 | $(SET_LIB_PATH) \ |
22279 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
22280 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check) | |
930314a4 | 22281 | |
e393202e | 22282 | |
930314a4 NN |
22283 | .PHONY: install-target-libobjc maybe-install-target-libobjc |
22284 | maybe-install-target-libobjc: | |
16ae0395 | 22285 | |
e393202e | 22286 | install-target-libobjc: installdirs |
b40e3958 L |
22287 | @r=`${PWD_COMMAND}`; export r; \ |
22288 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22289 | $(SET_LIB_PATH) \ |
22290 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
22291 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e NN |
22292 | |
22293 | ||
930314a4 NN |
22294 | .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap |
22295 | maybe-configure-target-libtermcap: | |
15723a45 | 22296 | |
1086bc09 NN |
22297 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
22298 | $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out | |
9175bfc0 | 22299 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \ |
e6bfb94a | 22300 | rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \ |
1086bc09 | 22301 | cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out |
15723a45 | 22302 | |
e6bfb94a AO |
22303 | configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out |
22304 | @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \ | |
9175bfc0 | 22305 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \ |
b40e3958 L |
22306 | r=`${PWD_COMMAND}`; export r; \ |
22307 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22308 | $(SET_LIB_PATH) \ |
22309 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
22310 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
22311 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
22312 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
22313 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
22314 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
22315 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
22316 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
22317 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
22318 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
22319 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
22320 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
22321 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
22322 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
22323 | echo Configuring in $(TARGET_SUBDIR)/libtermcap; \ | |
22324 | cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \ | |
22325 | case $(srcdir) in \ | |
22326 | /* | [A-Za-z]:[\\/]*) \ | |
22327 | topdir=$(srcdir) ;; \ | |
22328 | *) \ | |
22329 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
22330 | .) topdir="../$(srcdir)" ;; \ |
22331 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
22332 | esac ;; \ |
22333 | esac; \ | |
22334 | if [ "$(srcdir)" = "." ] ; then \ | |
22335 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
22336 | if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \ | |
22337 | if [ -f Makefile ]; then \ | |
22338 | if $(MAKE) distclean; then \ | |
22339 | true; \ | |
22340 | else \ | |
22341 | exit 1; \ | |
22342 | fi; \ | |
e393202e | 22343 | else \ |
bba45b8b | 22344 | true; \ |
e393202e | 22345 | fi; \ |
e393202e | 22346 | else \ |
bba45b8b | 22347 | exit 1; \ |
e393202e | 22348 | fi; \ |
bba45b8b NN |
22349 | else \ |
22350 | true; \ | |
22351 | fi; \ | |
22352 | srcdiroption="--srcdir=."; \ | |
22353 | libsrcdir="."; \ | |
22354 | else \ | |
22355 | srcdiroption="--srcdir=$${topdir}/libtermcap"; \ | |
22356 | libsrcdir="$$s/libtermcap"; \ | |
22357 | fi; \ | |
22358 | rm -f no-such-file || : ; \ | |
22359 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
22360 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
22361 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
22362 | || exit 1 | |
e393202e | 22363 | |
930314a4 NN |
22364 | .PHONY: all-target-libtermcap maybe-all-target-libtermcap |
22365 | maybe-all-target-libtermcap: | |
15723a45 | 22366 | all-target-libtermcap: configure-target-libtermcap |
b40e3958 L |
22367 | @r=`${PWD_COMMAND}`; export r; \ |
22368 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22369 | $(SET_LIB_PATH) \ |
22370 | (cd $(TARGET_SUBDIR)/libtermcap && \ | |
22371 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
e393202e | 22372 | |
16ae0395 NN |
22373 | .PHONY: check-target-libtermcap maybe-check-target-libtermcap |
22374 | maybe-check-target-libtermcap: | |
22375 | ||
3866be5d | 22376 | # Dummy target for uncheckable module. |
3866be5d NN |
22377 | check-target-libtermcap: |
22378 | ||
930314a4 NN |
22379 | |
22380 | .PHONY: install-target-libtermcap maybe-install-target-libtermcap | |
22381 | maybe-install-target-libtermcap: | |
16ae0395 | 22382 | |
e393202e | 22383 | install-target-libtermcap: installdirs |
b40e3958 L |
22384 | @r=`${PWD_COMMAND}`; export r; \ |
22385 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22386 | $(SET_LIB_PATH) \ |
22387 | (cd $(TARGET_SUBDIR)/libtermcap && \ | |
22388 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e NN |
22389 | |
22390 | ||
930314a4 NN |
22391 | .PHONY: configure-target-winsup maybe-configure-target-winsup |
22392 | maybe-configure-target-winsup: | |
15723a45 | 22393 | |
1086bc09 NN |
22394 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
22395 | $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out | |
9175bfc0 | 22396 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \ |
e6bfb94a | 22397 | rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \ |
1086bc09 | 22398 | cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out |
15723a45 | 22399 | |
e6bfb94a AO |
22400 | configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out |
22401 | @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \ | |
9175bfc0 | 22402 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \ |
b40e3958 L |
22403 | r=`${PWD_COMMAND}`; export r; \ |
22404 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22405 | $(SET_LIB_PATH) \ |
22406 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
22407 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
22408 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
22409 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
22410 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
22411 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
22412 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
22413 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
22414 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
22415 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
22416 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
22417 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
22418 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
22419 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
22420 | echo Configuring in $(TARGET_SUBDIR)/winsup; \ | |
22421 | cd "$(TARGET_SUBDIR)/winsup" || exit 1; \ | |
22422 | case $(srcdir) in \ | |
22423 | /* | [A-Za-z]:[\\/]*) \ | |
22424 | topdir=$(srcdir) ;; \ | |
22425 | *) \ | |
22426 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
22427 | .) topdir="../$(srcdir)" ;; \ |
22428 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
22429 | esac ;; \ |
22430 | esac; \ | |
22431 | if [ "$(srcdir)" = "." ] ; then \ | |
22432 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
22433 | if $(SHELL) $$s/symlink-tree $${topdir}/winsup "no-such-file" ; then \ | |
22434 | if [ -f Makefile ]; then \ | |
22435 | if $(MAKE) distclean; then \ | |
22436 | true; \ | |
22437 | else \ | |
22438 | exit 1; \ | |
22439 | fi; \ | |
e393202e | 22440 | else \ |
bba45b8b | 22441 | true; \ |
e393202e | 22442 | fi; \ |
e393202e | 22443 | else \ |
bba45b8b | 22444 | exit 1; \ |
e393202e | 22445 | fi; \ |
bba45b8b NN |
22446 | else \ |
22447 | true; \ | |
22448 | fi; \ | |
22449 | srcdiroption="--srcdir=."; \ | |
22450 | libsrcdir="."; \ | |
22451 | else \ | |
22452 | srcdiroption="--srcdir=$${topdir}/winsup"; \ | |
22453 | libsrcdir="$$s/winsup"; \ | |
22454 | fi; \ | |
22455 | rm -f no-such-file || : ; \ | |
22456 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
22457 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
22458 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
22459 | || exit 1 | |
e393202e | 22460 | |
930314a4 NN |
22461 | .PHONY: all-target-winsup maybe-all-target-winsup |
22462 | maybe-all-target-winsup: | |
15723a45 | 22463 | all-target-winsup: configure-target-winsup |
b40e3958 L |
22464 | @r=`${PWD_COMMAND}`; export r; \ |
22465 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22466 | $(SET_LIB_PATH) \ |
22467 | (cd $(TARGET_SUBDIR)/winsup && \ | |
22468 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
e393202e | 22469 | |
16ae0395 NN |
22470 | .PHONY: check-target-winsup maybe-check-target-winsup |
22471 | maybe-check-target-winsup: | |
22472 | ||
e393202e | 22473 | check-target-winsup: |
b40e3958 L |
22474 | @r=`${PWD_COMMAND}`; export r; \ |
22475 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22476 | $(SET_LIB_PATH) \ |
22477 | (cd $(TARGET_SUBDIR)/winsup && \ | |
22478 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check) | |
e393202e | 22479 | |
930314a4 NN |
22480 | |
22481 | .PHONY: install-target-winsup maybe-install-target-winsup | |
22482 | maybe-install-target-winsup: | |
16ae0395 | 22483 | |
e393202e | 22484 | install-target-winsup: installdirs |
b40e3958 L |
22485 | @r=`${PWD_COMMAND}`; export r; \ |
22486 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22487 | $(SET_LIB_PATH) \ |
22488 | (cd $(TARGET_SUBDIR)/winsup && \ | |
22489 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e NN |
22490 | |
22491 | ||
930314a4 NN |
22492 | .PHONY: configure-target-libgloss maybe-configure-target-libgloss |
22493 | maybe-configure-target-libgloss: | |
15723a45 | 22494 | |
1086bc09 NN |
22495 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
22496 | $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out | |
9175bfc0 | 22497 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \ |
e6bfb94a | 22498 | rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \ |
1086bc09 | 22499 | cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out |
15723a45 | 22500 | |
e6bfb94a AO |
22501 | configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out |
22502 | @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \ | |
9175bfc0 | 22503 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \ |
b40e3958 L |
22504 | r=`${PWD_COMMAND}`; export r; \ |
22505 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22506 | $(SET_LIB_PATH) \ |
22507 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
22508 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
22509 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
22510 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
22511 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
22512 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
22513 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
22514 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
22515 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
22516 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
22517 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
22518 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
22519 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
22520 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
22521 | echo Configuring in $(TARGET_SUBDIR)/libgloss; \ | |
22522 | cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \ | |
22523 | case $(srcdir) in \ | |
22524 | /* | [A-Za-z]:[\\/]*) \ | |
22525 | topdir=$(srcdir) ;; \ | |
22526 | *) \ | |
22527 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
22528 | .) topdir="../$(srcdir)" ;; \ |
22529 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
22530 | esac ;; \ |
22531 | esac; \ | |
22532 | if [ "$(srcdir)" = "." ] ; then \ | |
22533 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
22534 | if $(SHELL) $$s/symlink-tree $${topdir}/libgloss "no-such-file" ; then \ | |
22535 | if [ -f Makefile ]; then \ | |
22536 | if $(MAKE) distclean; then \ | |
22537 | true; \ | |
22538 | else \ | |
22539 | exit 1; \ | |
22540 | fi; \ | |
e393202e | 22541 | else \ |
bba45b8b | 22542 | true; \ |
e393202e | 22543 | fi; \ |
e393202e | 22544 | else \ |
bba45b8b | 22545 | exit 1; \ |
e393202e | 22546 | fi; \ |
bba45b8b NN |
22547 | else \ |
22548 | true; \ | |
22549 | fi; \ | |
22550 | srcdiroption="--srcdir=."; \ | |
22551 | libsrcdir="."; \ | |
22552 | else \ | |
22553 | srcdiroption="--srcdir=$${topdir}/libgloss"; \ | |
22554 | libsrcdir="$$s/libgloss"; \ | |
22555 | fi; \ | |
22556 | rm -f no-such-file || : ; \ | |
22557 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
22558 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
22559 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
22560 | || exit 1 | |
e393202e | 22561 | |
930314a4 NN |
22562 | .PHONY: all-target-libgloss maybe-all-target-libgloss |
22563 | maybe-all-target-libgloss: | |
15723a45 | 22564 | all-target-libgloss: configure-target-libgloss |
b40e3958 L |
22565 | @r=`${PWD_COMMAND}`; export r; \ |
22566 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22567 | $(SET_LIB_PATH) \ |
22568 | (cd $(TARGET_SUBDIR)/libgloss && \ | |
22569 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
e393202e | 22570 | |
16ae0395 NN |
22571 | .PHONY: check-target-libgloss maybe-check-target-libgloss |
22572 | maybe-check-target-libgloss: | |
22573 | ||
3866be5d | 22574 | # Dummy target for uncheckable module. |
3866be5d NN |
22575 | check-target-libgloss: |
22576 | ||
930314a4 NN |
22577 | |
22578 | .PHONY: install-target-libgloss maybe-install-target-libgloss | |
22579 | maybe-install-target-libgloss: | |
16ae0395 | 22580 | |
e393202e | 22581 | install-target-libgloss: installdirs |
b40e3958 L |
22582 | @r=`${PWD_COMMAND}`; export r; \ |
22583 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22584 | $(SET_LIB_PATH) \ |
22585 | (cd $(TARGET_SUBDIR)/libgloss && \ | |
22586 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e NN |
22587 | |
22588 | ||
930314a4 NN |
22589 | .PHONY: configure-target-libiberty maybe-configure-target-libiberty |
22590 | maybe-configure-target-libiberty: | |
15723a45 | 22591 | |
1086bc09 NN |
22592 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
22593 | $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out | |
9175bfc0 | 22594 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \ |
e6bfb94a | 22595 | rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \ |
1086bc09 | 22596 | cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out |
15723a45 | 22597 | |
e6bfb94a AO |
22598 | configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out |
22599 | @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \ | |
9175bfc0 | 22600 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \ |
b40e3958 L |
22601 | r=`${PWD_COMMAND}`; export r; \ |
22602 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22603 | $(SET_LIB_PATH) \ |
22604 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
22605 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
22606 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
22607 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
22608 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
22609 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
22610 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
22611 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
22612 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
22613 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
22614 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
22615 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
22616 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
22617 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
22618 | echo Configuring in $(TARGET_SUBDIR)/libiberty; \ | |
22619 | cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \ | |
22620 | case $(srcdir) in \ | |
22621 | /* | [A-Za-z]:[\\/]*) \ | |
22622 | topdir=$(srcdir) ;; \ | |
22623 | *) \ | |
22624 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
22625 | .) topdir="../$(srcdir)" ;; \ |
22626 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
22627 | esac ;; \ |
22628 | esac; \ | |
22629 | if [ "$(srcdir)" = "." ] ; then \ | |
22630 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
22631 | if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \ | |
22632 | if [ -f Makefile ]; then \ | |
22633 | if $(MAKE) distclean; then \ | |
22634 | true; \ | |
22635 | else \ | |
22636 | exit 1; \ | |
22637 | fi; \ | |
e393202e | 22638 | else \ |
bba45b8b | 22639 | true; \ |
e393202e | 22640 | fi; \ |
e393202e | 22641 | else \ |
bba45b8b | 22642 | exit 1; \ |
e393202e | 22643 | fi; \ |
bba45b8b NN |
22644 | else \ |
22645 | true; \ | |
22646 | fi; \ | |
22647 | srcdiroption="--srcdir=."; \ | |
22648 | libsrcdir="."; \ | |
22649 | else \ | |
22650 | srcdiroption="--srcdir=$${topdir}/libiberty"; \ | |
22651 | libsrcdir="$$s/libiberty"; \ | |
22652 | fi; \ | |
22653 | rm -f no-such-file || : ; \ | |
22654 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
22655 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
22656 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
22657 | || exit 1 | |
e393202e | 22658 | |
930314a4 NN |
22659 | .PHONY: all-target-libiberty maybe-all-target-libiberty |
22660 | maybe-all-target-libiberty: | |
15723a45 | 22661 | all-target-libiberty: configure-target-libiberty |
b40e3958 L |
22662 | @r=`${PWD_COMMAND}`; export r; \ |
22663 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22664 | $(SET_LIB_PATH) \ |
22665 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
22666 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
e393202e | 22667 | |
16ae0395 NN |
22668 | .PHONY: check-target-libiberty maybe-check-target-libiberty |
22669 | maybe-check-target-libiberty: | |
22670 | ||
e393202e | 22671 | check-target-libiberty: |
b40e3958 L |
22672 | @r=`${PWD_COMMAND}`; export r; \ |
22673 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22674 | $(SET_LIB_PATH) \ |
22675 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
22676 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check) | |
e393202e | 22677 | |
930314a4 NN |
22678 | |
22679 | .PHONY: install-target-libiberty maybe-install-target-libiberty | |
22680 | maybe-install-target-libiberty: | |
16ae0395 | 22681 | |
e393202e | 22682 | install-target-libiberty: installdirs |
b40e3958 L |
22683 | @r=`${PWD_COMMAND}`; export r; \ |
22684 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22685 | $(SET_LIB_PATH) \ |
22686 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
22687 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e NN |
22688 | |
22689 | ||
930314a4 NN |
22690 | .PHONY: configure-target-gperf maybe-configure-target-gperf |
22691 | maybe-configure-target-gperf: | |
15723a45 | 22692 | |
1086bc09 NN |
22693 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
22694 | $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out | |
9175bfc0 | 22695 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \ |
e6bfb94a | 22696 | rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \ |
1086bc09 | 22697 | cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out |
15723a45 | 22698 | |
e6bfb94a AO |
22699 | configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out |
22700 | @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \ | |
9175bfc0 | 22701 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \ |
b40e3958 L |
22702 | r=`${PWD_COMMAND}`; export r; \ |
22703 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22704 | $(SET_LIB_PATH) \ |
22705 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
22706 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
22707 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
22708 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
22709 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
22710 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
22711 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
22712 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
22713 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
22714 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
22715 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
22716 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
22717 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
22718 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
22719 | echo Configuring in $(TARGET_SUBDIR)/gperf; \ | |
22720 | cd "$(TARGET_SUBDIR)/gperf" || exit 1; \ | |
22721 | case $(srcdir) in \ | |
22722 | /* | [A-Za-z]:[\\/]*) \ | |
22723 | topdir=$(srcdir) ;; \ | |
22724 | *) \ | |
22725 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
22726 | .) topdir="../$(srcdir)" ;; \ |
22727 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
22728 | esac ;; \ |
22729 | esac; \ | |
22730 | if [ "$(srcdir)" = "." ] ; then \ | |
22731 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
22732 | if $(SHELL) $$s/symlink-tree $${topdir}/gperf "no-such-file" ; then \ | |
22733 | if [ -f Makefile ]; then \ | |
22734 | if $(MAKE) distclean; then \ | |
22735 | true; \ | |
22736 | else \ | |
22737 | exit 1; \ | |
22738 | fi; \ | |
e393202e | 22739 | else \ |
bba45b8b | 22740 | true; \ |
e393202e | 22741 | fi; \ |
e393202e | 22742 | else \ |
bba45b8b | 22743 | exit 1; \ |
e393202e | 22744 | fi; \ |
bba45b8b NN |
22745 | else \ |
22746 | true; \ | |
22747 | fi; \ | |
22748 | srcdiroption="--srcdir=."; \ | |
22749 | libsrcdir="."; \ | |
22750 | else \ | |
22751 | srcdiroption="--srcdir=$${topdir}/gperf"; \ | |
22752 | libsrcdir="$$s/gperf"; \ | |
22753 | fi; \ | |
22754 | rm -f no-such-file || : ; \ | |
22755 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
22756 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
22757 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
22758 | || exit 1 | |
e393202e | 22759 | |
930314a4 NN |
22760 | .PHONY: all-target-gperf maybe-all-target-gperf |
22761 | maybe-all-target-gperf: | |
15723a45 | 22762 | all-target-gperf: configure-target-gperf |
b40e3958 L |
22763 | @r=`${PWD_COMMAND}`; export r; \ |
22764 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22765 | $(SET_LIB_PATH) \ |
22766 | (cd $(TARGET_SUBDIR)/gperf && \ | |
22767 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
e393202e | 22768 | |
16ae0395 NN |
22769 | .PHONY: check-target-gperf maybe-check-target-gperf |
22770 | maybe-check-target-gperf: | |
22771 | ||
e393202e | 22772 | check-target-gperf: |
b40e3958 L |
22773 | @r=`${PWD_COMMAND}`; export r; \ |
22774 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22775 | $(SET_LIB_PATH) \ |
22776 | (cd $(TARGET_SUBDIR)/gperf && \ | |
22777 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check) | |
e393202e | 22778 | |
930314a4 NN |
22779 | |
22780 | .PHONY: install-target-gperf maybe-install-target-gperf | |
22781 | maybe-install-target-gperf: | |
16ae0395 | 22782 | |
e393202e | 22783 | install-target-gperf: installdirs |
b40e3958 L |
22784 | @r=`${PWD_COMMAND}`; export r; \ |
22785 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22786 | $(SET_LIB_PATH) \ |
22787 | (cd $(TARGET_SUBDIR)/gperf && \ | |
22788 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e NN |
22789 | |
22790 | ||
930314a4 NN |
22791 | .PHONY: configure-target-examples maybe-configure-target-examples |
22792 | maybe-configure-target-examples: | |
15723a45 | 22793 | |
1086bc09 NN |
22794 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
22795 | $(TARGET_SUBDIR)/examples/multilib.out: multilib.out | |
9175bfc0 | 22796 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \ |
e6bfb94a | 22797 | rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \ |
1086bc09 | 22798 | cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out |
15723a45 | 22799 | |
e6bfb94a AO |
22800 | configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out |
22801 | @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \ | |
9175bfc0 | 22802 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \ |
b40e3958 L |
22803 | r=`${PWD_COMMAND}`; export r; \ |
22804 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22805 | $(SET_LIB_PATH) \ |
22806 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
22807 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
22808 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
22809 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
22810 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
22811 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
22812 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
22813 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
22814 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
22815 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
22816 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
22817 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
22818 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
22819 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
22820 | echo Configuring in $(TARGET_SUBDIR)/examples; \ | |
22821 | cd "$(TARGET_SUBDIR)/examples" || exit 1; \ | |
22822 | case $(srcdir) in \ | |
22823 | /* | [A-Za-z]:[\\/]*) \ | |
22824 | topdir=$(srcdir) ;; \ | |
22825 | *) \ | |
22826 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
22827 | .) topdir="../$(srcdir)" ;; \ |
22828 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
22829 | esac ;; \ |
22830 | esac; \ | |
22831 | if [ "$(srcdir)" = "." ] ; then \ | |
22832 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
22833 | if $(SHELL) $$s/symlink-tree $${topdir}/examples "no-such-file" ; then \ | |
22834 | if [ -f Makefile ]; then \ | |
22835 | if $(MAKE) distclean; then \ | |
22836 | true; \ | |
22837 | else \ | |
22838 | exit 1; \ | |
22839 | fi; \ | |
e393202e | 22840 | else \ |
bba45b8b | 22841 | true; \ |
e393202e | 22842 | fi; \ |
e393202e | 22843 | else \ |
bba45b8b | 22844 | exit 1; \ |
e393202e | 22845 | fi; \ |
bba45b8b NN |
22846 | else \ |
22847 | true; \ | |
22848 | fi; \ | |
22849 | srcdiroption="--srcdir=."; \ | |
22850 | libsrcdir="."; \ | |
22851 | else \ | |
22852 | srcdiroption="--srcdir=$${topdir}/examples"; \ | |
22853 | libsrcdir="$$s/examples"; \ | |
22854 | fi; \ | |
22855 | rm -f no-such-file || : ; \ | |
22856 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
22857 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
22858 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
22859 | || exit 1 | |
e393202e | 22860 | |
930314a4 NN |
22861 | .PHONY: all-target-examples maybe-all-target-examples |
22862 | maybe-all-target-examples: | |
15723a45 | 22863 | all-target-examples: configure-target-examples |
b40e3958 L |
22864 | @r=`${PWD_COMMAND}`; export r; \ |
22865 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22866 | $(SET_LIB_PATH) \ |
22867 | (cd $(TARGET_SUBDIR)/examples && \ | |
22868 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
e393202e | 22869 | |
16ae0395 NN |
22870 | .PHONY: check-target-examples maybe-check-target-examples |
22871 | maybe-check-target-examples: | |
22872 | ||
3866be5d | 22873 | # Dummy target for uncheckable module. |
3866be5d NN |
22874 | check-target-examples: |
22875 | ||
e393202e | 22876 | |
930314a4 NN |
22877 | .PHONY: install-target-examples maybe-install-target-examples |
22878 | maybe-install-target-examples: | |
16ae0395 | 22879 | |
930314a4 NN |
22880 | # Dummy target for uninstallable. |
22881 | install-target-examples: | |
22882 | ||
e393202e | 22883 | |
930314a4 NN |
22884 | .PHONY: configure-target-libffi maybe-configure-target-libffi |
22885 | maybe-configure-target-libffi: | |
15723a45 | 22886 | |
1086bc09 NN |
22887 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
22888 | $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out | |
9175bfc0 | 22889 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \ |
e6bfb94a | 22890 | rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \ |
1086bc09 | 22891 | cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out |
15723a45 | 22892 | |
e6bfb94a AO |
22893 | configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out |
22894 | @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \ | |
9175bfc0 | 22895 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \ |
b40e3958 L |
22896 | r=`${PWD_COMMAND}`; export r; \ |
22897 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22898 | $(SET_LIB_PATH) \ |
22899 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
22900 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
22901 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
22902 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
22903 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
22904 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
22905 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
22906 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
22907 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
22908 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
22909 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
22910 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
22911 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
22912 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
22913 | echo Configuring in $(TARGET_SUBDIR)/libffi; \ | |
22914 | cd "$(TARGET_SUBDIR)/libffi" || exit 1; \ | |
22915 | case $(srcdir) in \ | |
22916 | /* | [A-Za-z]:[\\/]*) \ | |
22917 | topdir=$(srcdir) ;; \ | |
22918 | *) \ | |
22919 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
22920 | .) topdir="../$(srcdir)" ;; \ |
22921 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
22922 | esac ;; \ |
22923 | esac; \ | |
22924 | if [ "$(srcdir)" = "." ] ; then \ | |
22925 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
22926 | if $(SHELL) $$s/symlink-tree $${topdir}/libffi "no-such-file" ; then \ | |
22927 | if [ -f Makefile ]; then \ | |
22928 | if $(MAKE) distclean; then \ | |
22929 | true; \ | |
22930 | else \ | |
22931 | exit 1; \ | |
22932 | fi; \ | |
e393202e | 22933 | else \ |
bba45b8b | 22934 | true; \ |
e393202e | 22935 | fi; \ |
e393202e | 22936 | else \ |
bba45b8b | 22937 | exit 1; \ |
e393202e | 22938 | fi; \ |
bba45b8b NN |
22939 | else \ |
22940 | true; \ | |
22941 | fi; \ | |
22942 | srcdiroption="--srcdir=."; \ | |
22943 | libsrcdir="."; \ | |
22944 | else \ | |
22945 | srcdiroption="--srcdir=$${topdir}/libffi"; \ | |
22946 | libsrcdir="$$s/libffi"; \ | |
22947 | fi; \ | |
22948 | rm -f no-such-file || : ; \ | |
22949 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
22950 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
22951 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
22952 | || exit 1 | |
e393202e | 22953 | |
930314a4 NN |
22954 | .PHONY: all-target-libffi maybe-all-target-libffi |
22955 | maybe-all-target-libffi: | |
15723a45 | 22956 | all-target-libffi: configure-target-libffi |
b40e3958 L |
22957 | @r=`${PWD_COMMAND}`; export r; \ |
22958 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22959 | $(SET_LIB_PATH) \ |
22960 | (cd $(TARGET_SUBDIR)/libffi && \ | |
22961 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
e393202e | 22962 | |
16ae0395 NN |
22963 | .PHONY: check-target-libffi maybe-check-target-libffi |
22964 | maybe-check-target-libffi: | |
22965 | ||
e393202e | 22966 | check-target-libffi: |
b40e3958 L |
22967 | @r=`${PWD_COMMAND}`; export r; \ |
22968 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22969 | $(SET_LIB_PATH) \ |
22970 | (cd $(TARGET_SUBDIR)/libffi && \ | |
22971 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check) | |
e393202e NN |
22972 | |
22973 | ||
930314a4 NN |
22974 | .PHONY: install-target-libffi maybe-install-target-libffi |
22975 | maybe-install-target-libffi: | |
16ae0395 | 22976 | |
50ceb20c | 22977 | install-target-libffi: installdirs |
b40e3958 L |
22978 | @r=`${PWD_COMMAND}`; export r; \ |
22979 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22980 | $(SET_LIB_PATH) \ |
22981 | (cd $(TARGET_SUBDIR)/libffi && \ | |
22982 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e | 22983 | |
930314a4 NN |
22984 | |
22985 | .PHONY: configure-target-libjava maybe-configure-target-libjava | |
22986 | maybe-configure-target-libjava: | |
15723a45 | 22987 | |
1086bc09 NN |
22988 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
22989 | $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out | |
9175bfc0 | 22990 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \ |
e6bfb94a | 22991 | rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \ |
1086bc09 | 22992 | cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out |
15723a45 | 22993 | |
e6bfb94a AO |
22994 | configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out |
22995 | @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \ | |
9175bfc0 | 22996 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \ |
b40e3958 L |
22997 | r=`${PWD_COMMAND}`; export r; \ |
22998 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
22999 | $(SET_LIB_PATH) \ |
23000 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
23001 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
23002 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
23003 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
23004 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
23005 | CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \ | |
23006 | CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \ | |
23007 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
23008 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
23009 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
23010 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
23011 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
23012 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
23013 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
23014 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
23015 | echo Configuring in $(TARGET_SUBDIR)/libjava; \ | |
23016 | cd "$(TARGET_SUBDIR)/libjava" || exit 1; \ | |
23017 | case $(srcdir) in \ | |
23018 | /* | [A-Za-z]:[\\/]*) \ | |
23019 | topdir=$(srcdir) ;; \ | |
23020 | *) \ | |
23021 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
23022 | .) topdir="../$(srcdir)" ;; \ |
23023 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
23024 | esac ;; \ |
23025 | esac; \ | |
23026 | if [ "$(srcdir)" = "." ] ; then \ | |
23027 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
23028 | if $(SHELL) $$s/symlink-tree $${topdir}/libjava "no-such-file" ; then \ | |
23029 | if [ -f Makefile ]; then \ | |
23030 | if $(MAKE) distclean; then \ | |
23031 | true; \ | |
23032 | else \ | |
23033 | exit 1; \ | |
23034 | fi; \ | |
e393202e | 23035 | else \ |
bba45b8b | 23036 | true; \ |
e393202e | 23037 | fi; \ |
e393202e | 23038 | else \ |
bba45b8b | 23039 | exit 1; \ |
e393202e | 23040 | fi; \ |
bba45b8b NN |
23041 | else \ |
23042 | true; \ | |
23043 | fi; \ | |
23044 | srcdiroption="--srcdir=."; \ | |
23045 | libsrcdir="."; \ | |
23046 | else \ | |
23047 | srcdiroption="--srcdir=$${topdir}/libjava"; \ | |
23048 | libsrcdir="$$s/libjava"; \ | |
23049 | fi; \ | |
23050 | rm -f no-such-file || : ; \ | |
23051 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
23052 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
23053 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
23054 | || exit 1 | |
e393202e | 23055 | |
930314a4 NN |
23056 | .PHONY: all-target-libjava maybe-all-target-libjava |
23057 | maybe-all-target-libjava: | |
15723a45 | 23058 | all-target-libjava: configure-target-libjava |
b40e3958 L |
23059 | @r=`${PWD_COMMAND}`; export r; \ |
23060 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23061 | $(SET_LIB_PATH) \ |
23062 | (cd $(TARGET_SUBDIR)/libjava && \ | |
23063 | $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all) | |
e393202e | 23064 | |
16ae0395 NN |
23065 | .PHONY: check-target-libjava maybe-check-target-libjava |
23066 | maybe-check-target-libjava: | |
23067 | ||
e393202e | 23068 | check-target-libjava: |
b40e3958 L |
23069 | @r=`${PWD_COMMAND}`; export r; \ |
23070 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23071 | $(SET_LIB_PATH) \ |
23072 | (cd $(TARGET_SUBDIR)/libjava && \ | |
23073 | $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check) | |
e393202e | 23074 | |
930314a4 NN |
23075 | |
23076 | .PHONY: install-target-libjava maybe-install-target-libjava | |
23077 | maybe-install-target-libjava: | |
16ae0395 | 23078 | |
e393202e | 23079 | install-target-libjava: installdirs |
b40e3958 L |
23080 | @r=`${PWD_COMMAND}`; export r; \ |
23081 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23082 | $(SET_LIB_PATH) \ |
23083 | (cd $(TARGET_SUBDIR)/libjava && \ | |
23084 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e NN |
23085 | |
23086 | ||
930314a4 NN |
23087 | .PHONY: configure-target-zlib maybe-configure-target-zlib |
23088 | maybe-configure-target-zlib: | |
15723a45 | 23089 | |
1086bc09 NN |
23090 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
23091 | $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out | |
9175bfc0 | 23092 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \ |
e6bfb94a | 23093 | rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \ |
1086bc09 | 23094 | cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out |
15723a45 | 23095 | |
e6bfb94a AO |
23096 | configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out |
23097 | @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \ | |
9175bfc0 | 23098 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \ |
b40e3958 L |
23099 | r=`${PWD_COMMAND}`; export r; \ |
23100 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23101 | $(SET_LIB_PATH) \ |
23102 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
23103 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
23104 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
23105 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
23106 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
23107 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
23108 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
23109 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
23110 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
23111 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
23112 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
23113 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
23114 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
23115 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
23116 | echo Configuring in $(TARGET_SUBDIR)/zlib; \ | |
23117 | cd "$(TARGET_SUBDIR)/zlib" || exit 1; \ | |
23118 | case $(srcdir) in \ | |
23119 | /* | [A-Za-z]:[\\/]*) \ | |
23120 | topdir=$(srcdir) ;; \ | |
23121 | *) \ | |
23122 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
23123 | .) topdir="../$(srcdir)" ;; \ |
23124 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
23125 | esac ;; \ |
23126 | esac; \ | |
23127 | if [ "$(srcdir)" = "." ] ; then \ | |
23128 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
23129 | if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \ | |
23130 | if [ -f Makefile ]; then \ | |
23131 | if $(MAKE) distclean; then \ | |
23132 | true; \ | |
23133 | else \ | |
23134 | exit 1; \ | |
23135 | fi; \ | |
e393202e | 23136 | else \ |
bba45b8b | 23137 | true; \ |
e393202e | 23138 | fi; \ |
e393202e | 23139 | else \ |
bba45b8b | 23140 | exit 1; \ |
e393202e | 23141 | fi; \ |
bba45b8b NN |
23142 | else \ |
23143 | true; \ | |
23144 | fi; \ | |
23145 | srcdiroption="--srcdir=."; \ | |
23146 | libsrcdir="."; \ | |
23147 | else \ | |
23148 | srcdiroption="--srcdir=$${topdir}/zlib"; \ | |
23149 | libsrcdir="$$s/zlib"; \ | |
23150 | fi; \ | |
23151 | rm -f no-such-file || : ; \ | |
23152 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
23153 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
23154 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
23155 | || exit 1 | |
252b5132 | 23156 | |
930314a4 NN |
23157 | .PHONY: all-target-zlib maybe-all-target-zlib |
23158 | maybe-all-target-zlib: | |
15723a45 | 23159 | all-target-zlib: configure-target-zlib |
b40e3958 L |
23160 | @r=`${PWD_COMMAND}`; export r; \ |
23161 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23162 | $(SET_LIB_PATH) \ |
23163 | (cd $(TARGET_SUBDIR)/zlib && \ | |
23164 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
252b5132 | 23165 | |
16ae0395 NN |
23166 | .PHONY: check-target-zlib maybe-check-target-zlib |
23167 | maybe-check-target-zlib: | |
23168 | ||
e393202e | 23169 | check-target-zlib: |
b40e3958 L |
23170 | @r=`${PWD_COMMAND}`; export r; \ |
23171 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23172 | $(SET_LIB_PATH) \ |
23173 | (cd $(TARGET_SUBDIR)/zlib && \ | |
23174 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check) | |
252b5132 | 23175 | |
930314a4 NN |
23176 | |
23177 | .PHONY: install-target-zlib maybe-install-target-zlib | |
23178 | maybe-install-target-zlib: | |
16ae0395 | 23179 | |
e393202e | 23180 | install-target-zlib: installdirs |
b40e3958 L |
23181 | @r=`${PWD_COMMAND}`; export r; \ |
23182 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23183 | $(SET_LIB_PATH) \ |
23184 | (cd $(TARGET_SUBDIR)/zlib && \ | |
23185 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
49b7683b | 23186 | |
e393202e | 23187 | |
930314a4 NN |
23188 | .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc |
23189 | maybe-configure-target-boehm-gc: | |
15723a45 | 23190 | |
1086bc09 NN |
23191 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
23192 | $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out | |
9175bfc0 | 23193 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \ |
e6bfb94a | 23194 | rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \ |
1086bc09 | 23195 | cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out |
15723a45 | 23196 | |
e6bfb94a AO |
23197 | configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out |
23198 | @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \ | |
9175bfc0 | 23199 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \ |
b40e3958 L |
23200 | r=`${PWD_COMMAND}`; export r; \ |
23201 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23202 | $(SET_LIB_PATH) \ |
23203 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
23204 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
23205 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
23206 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
23207 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
23208 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
23209 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
23210 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
23211 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
23212 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
23213 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
23214 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
23215 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
23216 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
23217 | echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \ | |
23218 | cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \ | |
23219 | case $(srcdir) in \ | |
23220 | /* | [A-Za-z]:[\\/]*) \ | |
23221 | topdir=$(srcdir) ;; \ | |
23222 | *) \ | |
23223 | case "$(TARGET_SUBDIR)" in \ | |
49b7683b DD |
23224 | .) topdir="../$(srcdir)" ;; \ |
23225 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
23226 | esac ;; \ |
23227 | esac; \ | |
23228 | if [ "$(srcdir)" = "." ] ; then \ | |
23229 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
23230 | if $(SHELL) $$s/symlink-tree $${topdir}/boehm-gc "no-such-file" ; then \ | |
23231 | if [ -f Makefile ]; then \ | |
23232 | if $(MAKE) distclean; then \ | |
23233 | true; \ | |
23234 | else \ | |
23235 | exit 1; \ | |
23236 | fi; \ | |
49b7683b | 23237 | else \ |
bba45b8b | 23238 | true; \ |
49b7683b | 23239 | fi; \ |
49b7683b | 23240 | else \ |
bba45b8b | 23241 | exit 1; \ |
49b7683b | 23242 | fi; \ |
bba45b8b NN |
23243 | else \ |
23244 | true; \ | |
23245 | fi; \ | |
23246 | srcdiroption="--srcdir=."; \ | |
23247 | libsrcdir="."; \ | |
23248 | else \ | |
23249 | srcdiroption="--srcdir=$${topdir}/boehm-gc"; \ | |
23250 | libsrcdir="$$s/boehm-gc"; \ | |
23251 | fi; \ | |
23252 | rm -f no-such-file || : ; \ | |
23253 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
23254 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
23255 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
23256 | || exit 1 | |
49b7683b | 23257 | |
930314a4 NN |
23258 | .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc |
23259 | maybe-all-target-boehm-gc: | |
15723a45 | 23260 | all-target-boehm-gc: configure-target-boehm-gc |
b40e3958 L |
23261 | @r=`${PWD_COMMAND}`; export r; \ |
23262 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23263 | $(SET_LIB_PATH) \ |
23264 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
23265 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
252b5132 | 23266 | |
16ae0395 NN |
23267 | .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc |
23268 | maybe-check-target-boehm-gc: | |
23269 | ||
e393202e | 23270 | check-target-boehm-gc: |
b40e3958 L |
23271 | @r=`${PWD_COMMAND}`; export r; \ |
23272 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23273 | $(SET_LIB_PATH) \ |
23274 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
23275 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check) | |
252b5132 | 23276 | |
930314a4 NN |
23277 | |
23278 | .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc | |
23279 | maybe-install-target-boehm-gc: | |
16ae0395 | 23280 | |
e393202e | 23281 | install-target-boehm-gc: installdirs |
b40e3958 L |
23282 | @r=`${PWD_COMMAND}`; export r; \ |
23283 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23284 | $(SET_LIB_PATH) \ |
23285 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
23286 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e NN |
23287 | |
23288 | ||
930314a4 NN |
23289 | .PHONY: configure-target-qthreads maybe-configure-target-qthreads |
23290 | maybe-configure-target-qthreads: | |
15723a45 | 23291 | |
1086bc09 NN |
23292 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
23293 | $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out | |
9175bfc0 | 23294 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \ |
e6bfb94a | 23295 | rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \ |
1086bc09 | 23296 | cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out |
15723a45 | 23297 | |
e6bfb94a AO |
23298 | configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out |
23299 | @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \ | |
9175bfc0 | 23300 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \ |
b40e3958 L |
23301 | r=`${PWD_COMMAND}`; export r; \ |
23302 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23303 | $(SET_LIB_PATH) \ |
23304 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
23305 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
23306 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
23307 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
23308 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
23309 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
23310 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
23311 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
23312 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
23313 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
23314 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
23315 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
23316 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
23317 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
23318 | echo Configuring in $(TARGET_SUBDIR)/qthreads; \ | |
23319 | cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \ | |
23320 | case $(srcdir) in \ | |
23321 | /* | [A-Za-z]:[\\/]*) \ | |
23322 | topdir=$(srcdir) ;; \ | |
23323 | *) \ | |
23324 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
23325 | .) topdir="../$(srcdir)" ;; \ |
23326 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
23327 | esac ;; \ |
23328 | esac; \ | |
23329 | if [ "$(srcdir)" = "." ] ; then \ | |
23330 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
23331 | if $(SHELL) $$s/symlink-tree $${topdir}/qthreads "no-such-file" ; then \ | |
23332 | if [ -f Makefile ]; then \ | |
23333 | if $(MAKE) distclean; then \ | |
23334 | true; \ | |
23335 | else \ | |
23336 | exit 1; \ | |
23337 | fi; \ | |
e393202e | 23338 | else \ |
bba45b8b | 23339 | true; \ |
e393202e | 23340 | fi; \ |
e393202e | 23341 | else \ |
bba45b8b | 23342 | exit 1; \ |
e393202e | 23343 | fi; \ |
bba45b8b NN |
23344 | else \ |
23345 | true; \ | |
23346 | fi; \ | |
23347 | srcdiroption="--srcdir=."; \ | |
23348 | libsrcdir="."; \ | |
23349 | else \ | |
23350 | srcdiroption="--srcdir=$${topdir}/qthreads"; \ | |
23351 | libsrcdir="$$s/qthreads"; \ | |
23352 | fi; \ | |
23353 | rm -f no-such-file || : ; \ | |
23354 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
23355 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
23356 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
23357 | || exit 1 | |
252b5132 | 23358 | |
930314a4 NN |
23359 | .PHONY: all-target-qthreads maybe-all-target-qthreads |
23360 | maybe-all-target-qthreads: | |
15723a45 | 23361 | all-target-qthreads: configure-target-qthreads |
b40e3958 L |
23362 | @r=`${PWD_COMMAND}`; export r; \ |
23363 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23364 | $(SET_LIB_PATH) \ |
23365 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
23366 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
252b5132 | 23367 | |
16ae0395 NN |
23368 | .PHONY: check-target-qthreads maybe-check-target-qthreads |
23369 | maybe-check-target-qthreads: | |
23370 | ||
e393202e | 23371 | check-target-qthreads: |
b40e3958 L |
23372 | @r=`${PWD_COMMAND}`; export r; \ |
23373 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23374 | $(SET_LIB_PATH) \ |
23375 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
23376 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check) | |
e393202e | 23377 | |
930314a4 NN |
23378 | |
23379 | .PHONY: install-target-qthreads maybe-install-target-qthreads | |
23380 | maybe-install-target-qthreads: | |
16ae0395 | 23381 | |
e393202e | 23382 | install-target-qthreads: installdirs |
b40e3958 L |
23383 | @r=`${PWD_COMMAND}`; export r; \ |
23384 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23385 | $(SET_LIB_PATH) \ |
23386 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
23387 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
252b5132 | 23388 | |
e393202e | 23389 | |
930314a4 NN |
23390 | .PHONY: configure-target-rda maybe-configure-target-rda |
23391 | maybe-configure-target-rda: | |
15723a45 | 23392 | |
1086bc09 NN |
23393 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
23394 | $(TARGET_SUBDIR)/rda/multilib.out: multilib.out | |
9175bfc0 | 23395 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \ |
e6bfb94a | 23396 | rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \ |
1086bc09 | 23397 | cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out |
15723a45 | 23398 | |
e6bfb94a AO |
23399 | configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out |
23400 | @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \ | |
9175bfc0 | 23401 | $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \ |
b40e3958 L |
23402 | r=`${PWD_COMMAND}`; export r; \ |
23403 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23404 | $(SET_LIB_PATH) \ |
23405 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
23406 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
23407 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
23408 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
23409 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
23410 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
23411 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
23412 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
23413 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
23414 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
23415 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
23416 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
23417 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
23418 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
23419 | echo Configuring in $(TARGET_SUBDIR)/rda; \ | |
23420 | cd "$(TARGET_SUBDIR)/rda" || exit 1; \ | |
23421 | case $(srcdir) in \ | |
23422 | /* | [A-Za-z]:[\\/]*) \ | |
23423 | topdir=$(srcdir) ;; \ | |
23424 | *) \ | |
23425 | case "$(TARGET_SUBDIR)" in \ | |
252b5132 RH |
23426 | .) topdir="../$(srcdir)" ;; \ |
23427 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
23428 | esac ;; \ |
23429 | esac; \ | |
23430 | if [ "$(srcdir)" = "." ] ; then \ | |
23431 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
23432 | if $(SHELL) $$s/symlink-tree $${topdir}/rda "no-such-file" ; then \ | |
23433 | if [ -f Makefile ]; then \ | |
23434 | if $(MAKE) distclean; then \ | |
23435 | true; \ | |
23436 | else \ | |
23437 | exit 1; \ | |
23438 | fi; \ | |
252b5132 | 23439 | else \ |
bba45b8b | 23440 | true; \ |
252b5132 | 23441 | fi; \ |
252b5132 | 23442 | else \ |
bba45b8b | 23443 | exit 1; \ |
252b5132 | 23444 | fi; \ |
bba45b8b NN |
23445 | else \ |
23446 | true; \ | |
23447 | fi; \ | |
23448 | srcdiroption="--srcdir=."; \ | |
23449 | libsrcdir="."; \ | |
23450 | else \ | |
23451 | srcdiroption="--srcdir=$${topdir}/rda"; \ | |
23452 | libsrcdir="$$s/rda"; \ | |
23453 | fi; \ | |
23454 | rm -f no-such-file || : ; \ | |
23455 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
23456 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
23457 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
23458 | || exit 1 | |
252b5132 | 23459 | |
930314a4 NN |
23460 | .PHONY: all-target-rda maybe-all-target-rda |
23461 | maybe-all-target-rda: | |
15723a45 | 23462 | all-target-rda: configure-target-rda |
b40e3958 L |
23463 | @r=`${PWD_COMMAND}`; export r; \ |
23464 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23465 | $(SET_LIB_PATH) \ |
23466 | (cd $(TARGET_SUBDIR)/rda && \ | |
23467 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
252b5132 | 23468 | |
16ae0395 NN |
23469 | .PHONY: check-target-rda maybe-check-target-rda |
23470 | maybe-check-target-rda: | |
23471 | ||
e393202e | 23472 | check-target-rda: |
b40e3958 L |
23473 | @r=`${PWD_COMMAND}`; export r; \ |
23474 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23475 | $(SET_LIB_PATH) \ |
23476 | (cd $(TARGET_SUBDIR)/rda && \ | |
23477 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check) | |
252b5132 | 23478 | |
930314a4 NN |
23479 | |
23480 | .PHONY: install-target-rda maybe-install-target-rda | |
23481 | maybe-install-target-rda: | |
16ae0395 | 23482 | |
e393202e | 23483 | install-target-rda: installdirs |
b40e3958 L |
23484 | @r=`${PWD_COMMAND}`; export r; \ |
23485 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
bba45b8b NN |
23486 | $(SET_LIB_PATH) \ |
23487 | (cd $(TARGET_SUBDIR)/rda && \ | |
23488 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
252b5132 | 23489 | |
e393202e NN |
23490 | |
23491 | ||
15723a45 NN |
23492 | # ---------- |
23493 | # GCC module | |
23494 | # ---------- | |
23495 | ||
23496 | # Unfortunately, while gcc _should_ be a host module, | |
23497 | # libgcc is a target module, and gen* programs are | |
23498 | # build modules. So GCC is a sort of hybrid. | |
23499 | ||
252b5132 | 23500 | # gcc is the only module which uses GCC_FLAGS_TO_PASS. |
e2b9e2dc NN |
23501 | .PHONY: configure-gcc maybe-configure-gcc |
23502 | maybe-configure-gcc: | |
e6bfb94a AO |
23503 | configure-gcc: |
23504 | @test ! -f gcc/Makefile || exit 0; \ | |
23505 | [ -d gcc ] || mkdir gcc; \ | |
b40e3958 L |
23506 | r=`${PWD_COMMAND}`; export r; \ |
23507 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
e2b9e2dc NN |
23508 | CC="$(CC)"; export CC; \ |
23509 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
23510 | CXX="$(CXX)"; export CXX; \ | |
23511 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
586c0873 | 23512 | TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \ |
ec7e0995 NN |
23513 | AR="$(AR)"; export AR; \ |
23514 | AS="$(AS)"; export AS; \ | |
23515 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
23516 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
23517 | LD="$(LD)"; export LD; \ | |
23518 | NM="$(NM)"; export NM; \ | |
23519 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
23520 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
23521 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
23522 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
23523 | echo Configuring in gcc; \ |
23524 | cd gcc || exit 1; \ | |
23525 | case $(srcdir) in \ | |
23526 | \.) \ | |
23527 | srcdiroption="--srcdir=."; \ | |
23528 | libsrcdir=".";; \ | |
23529 | /* | [A-Za-z]:[\\/]*) \ | |
23530 | srcdiroption="--srcdir=$(srcdir)/gcc"; \ | |
23531 | libsrcdir="$$s/gcc";; \ | |
23532 | *) \ | |
23533 | srcdiroption="--srcdir=../$(srcdir)/gcc"; \ | |
23534 | libsrcdir="$$s/gcc";; \ | |
23535 | esac; \ | |
23536 | $(SHELL) $${libsrcdir}/configure \ | |
23537 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
23538 | || exit 1 | |
23539 | ||
b72e6a2d JM |
23540 | # Don't 'make all' in gcc if it's already been made by 'bootstrap'; that |
23541 | # causes trouble. This wart will be fixed eventually by moving | |
db1ac78d | 23542 | # the bootstrap behavior to this file. |
930314a4 NN |
23543 | .PHONY: all-gcc maybe-all-gcc |
23544 | maybe-all-gcc: | |
db1ac78d | 23545 | all-gcc: configure-gcc |
b72e6a2d | 23546 | @if [ -f gcc/stage_last ] ; then \ |
b40e3958 L |
23547 | r=`${PWD_COMMAND}`; export r; \ |
23548 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
b72e6a2d | 23549 | $(SET_LIB_PATH) \ |
1086bc09 | 23550 | (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) quickstrap); \ |
db1ac78d | 23551 | else \ |
b40e3958 L |
23552 | r=`${PWD_COMMAND}`; export r; \ |
23553 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
252b5132 | 23554 | $(SET_LIB_PATH) \ |
1086bc09 | 23555 | (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) all); \ |
252b5132 RH |
23556 | fi |
23557 | ||
23558 | # Building GCC uses some tools for rebuilding "source" files | |
23559 | # like texinfo, bison/byacc, etc. So we must depend on those. | |
23560 | # | |
23561 | # While building GCC, it may be necessary to run various target | |
23562 | # programs like the assembler, linker, etc. So we depend on | |
23563 | # those too. | |
23564 | # | |
23565 | # In theory, on an SMP all those dependencies can be resolved | |
23566 | # in parallel. | |
23567 | # | |
5b474aa8 DD |
23568 | GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap |
23569 | .PHONY: $(GCC_STRAP_TARGETS) | |
23570 | $(GCC_STRAP_TARGETS): all-bootstrap configure-gcc | |
b40e3958 L |
23571 | @r=`${PWD_COMMAND}`; export r; \ |
23572 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
252b5132 RH |
23573 | $(SET_LIB_PATH) \ |
23574 | echo "Bootstrapping the compiler"; \ | |
5cec67bf | 23575 | cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@ |
b40e3958 L |
23576 | @r=`${PWD_COMMAND}`; export r; \ |
23577 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
252b5132 RH |
23578 | case "$@" in \ |
23579 | *bootstrap4-lean ) \ | |
bba45b8b NN |
23580 | msg="Comparing stage3 and stage4 of the compiler"; \ |
23581 | compare=compare3-lean ;; \ | |
23582 | *bootstrap4 ) \ | |
23583 | msg="Comparing stage3 and stage4 of the compiler"; \ | |
23584 | compare=compare3 ;; \ | |
23585 | *-lean ) \ | |
23586 | msg="Comparing stage2 and stage3 of the compiler"; \ | |
23587 | compare=compare-lean ;; \ | |
23588 | * ) \ | |
23589 | msg="Comparing stage2 and stage3 of the compiler"; \ | |
23590 | compare=compare ;; \ | |
252b5132 RH |
23591 | esac; \ |
23592 | $(SET_LIB_PATH) \ | |
23593 | echo "$$msg"; \ | |
5cec67bf | 23594 | cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare |
b40e3958 L |
23595 | @r=`${PWD_COMMAND}`; export r; \ |
23596 | s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \ | |
252b5132 RH |
23597 | $(SET_LIB_PATH) \ |
23598 | echo "Building runtime libraries"; \ | |
dec0cb0c | 23599 | $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all |
252b5132 | 23600 | |
ec7e0995 | 23601 | profiledbootstrap: all-bootstrap configure-gcc |
b40e3958 L |
23602 | @r=`${PWD_COMMAND}`; export r; \ |
23603 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
ec7e0995 NN |
23604 | $(SET_LIB_PATH) \ |
23605 | echo "Bootstrapping the compiler"; \ | |
23606 | cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build | |
b40e3958 L |
23607 | @r=`${PWD_COMMAND}`; export r; \ |
23608 | s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \ | |
ec7e0995 NN |
23609 | $(SET_LIB_PATH) \ |
23610 | echo "Building runtime libraries and training compiler"; \ | |
23611 | $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all | |
b40e3958 L |
23612 | @r=`${PWD_COMMAND}`; export r; \ |
23613 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
ec7e0995 NN |
23614 | $(SET_LIB_PATH) \ |
23615 | echo "Building feedback based compiler"; \ | |
23616 | cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build | |
23617 | ||
252b5132 RH |
23618 | .PHONY: cross |
23619 | cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld | |
b40e3958 L |
23620 | @r=`${PWD_COMMAND}`; export r; \ |
23621 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
252b5132 RH |
23622 | $(SET_LIB_PATH) \ |
23623 | echo "Building the C and C++ compiler"; \ | |
5cec67bf | 23624 | cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++" |
b40e3958 L |
23625 | @r=`${PWD_COMMAND}`; export r; \ |
23626 | s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \ | |
252b5132 RH |
23627 | $(SET_LIB_PATH) \ |
23628 | echo "Building runtime libraries"; \ | |
dec0cb0c AO |
23629 | $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) \ |
23630 | LANGUAGES="c c++" all | |
252b5132 | 23631 | |
8945c6bb | 23632 | .PHONY: check-gcc maybe-check-gcc |
44482353 | 23633 | maybe-check-gcc: |
252b5132 RH |
23634 | check-gcc: |
23635 | @if [ -f ./gcc/Makefile ] ; then \ | |
b40e3958 L |
23636 | r=`${PWD_COMMAND}`; export r; \ |
23637 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
252b5132 | 23638 | $(SET_LIB_PATH) \ |
1086bc09 | 23639 | (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check); \ |
252b5132 RH |
23640 | else \ |
23641 | true; \ | |
23642 | fi | |
23643 | ||
7d695d07 JM |
23644 | .PHONY: check-gcc-c++ |
23645 | check-gcc-c++: | |
75205f78 | 23646 | @if [ -f ./gcc/Makefile ] ; then \ |
b40e3958 L |
23647 | r=`${PWD_COMMAND}`; export r; \ |
23648 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
75205f78 | 23649 | $(SET_LIB_PATH) \ |
1086bc09 | 23650 | (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \ |
75205f78 DD |
23651 | else \ |
23652 | true; \ | |
7d695d07 JM |
23653 | fi |
23654 | ||
23655 | .PHONY: check-c++ | |
ede4fbe4 | 23656 | check-c++: check-target-libstdc++-v3 check-gcc-c++ |
75205f78 | 23657 | |
930314a4 NN |
23658 | .PHONY: install-gcc maybe-install-gcc |
23659 | maybe-install-gcc: | |
252b5132 RH |
23660 | install-gcc: |
23661 | @if [ -f ./gcc/Makefile ] ; then \ | |
b40e3958 L |
23662 | r=`${PWD_COMMAND}`; export r; \ |
23663 | s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ | |
252b5132 | 23664 | $(SET_LIB_PATH) \ |
1086bc09 | 23665 | (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) install); \ |
252b5132 RH |
23666 | else \ |
23667 | true; \ | |
23668 | fi | |
23669 | ||
15723a45 NN |
23670 | # Install the gcc headers files, but not the fixed include files, |
23671 | # which Cygnus is not allowed to distribute. This rule is very | |
23672 | # dependent on the workings of the gcc Makefile.in. | |
23673 | .PHONY: gcc-no-fixedincludes | |
23674 | gcc-no-fixedincludes: | |
23675 | @if [ -f ./gcc/Makefile ]; then \ | |
23676 | rm -rf gcc/tmp-include; \ | |
23677 | mv gcc/include gcc/tmp-include 2>/dev/null; \ | |
23678 | mkdir gcc/include; \ | |
23679 | cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \ | |
23680 | touch gcc/stmp-fixinc gcc/include/fixed; \ | |
23681 | rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \ | |
b40e3958 L |
23682 | r=`${PWD_COMMAND}`; export r; \ |
23683 | s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \ | |
15723a45 | 23684 | $(SET_LIB_PATH) \ |
1086bc09 | 23685 | (cd ./gcc && \ |
15723a45 NN |
23686 | $(MAKE) $(GCC_FLAGS_TO_PASS) install); \ |
23687 | rm -rf gcc/include; \ | |
23688 | mv gcc/tmp-include gcc/include 2>/dev/null; \ | |
23689 | else true; fi | |
23690 | ||
ae831be5 NN |
23691 | # -------------------------------------- |
23692 | # Dependencies between different modules | |
23693 | # -------------------------------------- | |
252b5132 | 23694 | |
ae831be5 NN |
23695 | # There are two types of dependencies here: 'hard' dependencies, where one |
23696 | # module simply won't build without the other; and 'soft' dependencies, where | |
23697 | # if the depended-on module is missing, the depending module will do without | |
23698 | # or find a substitute somewhere (perhaps installed). Soft dependencies | |
23699 | # are specified by depending on a 'maybe-' target. If you're not sure, | |
23700 | # it's safer to use a soft dependency. | |
23701 | ||
23702 | # Host modules specific to gcc. | |
e2b9e2dc | 23703 | # GCC needs to identify certain tools. |
e5c3f801 NN |
23704 | # GCC also needs the information exported by the intl configure script. |
23705 | configure-gcc: maybe-configure-intl maybe-configure-binutils maybe-configure-gas maybe-configure-ld maybe-configure-bison maybe-configure-flex | |
23706 | 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 |
23707 | # This is a slightly kludgy method of getting dependencies on |
23708 | # all-build-libiberty correct; it would be better to build it every time. | |
23709 | all-gcc: maybe-all-build-libiberty | |
e5c3f801 | 23710 | 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 |
23711 | |
23712 | # Host modules specific to gdb. | |
e2b9e2dc | 23713 | # GDB needs to know that the simulator is being built. |
8f32e830 | 23714 | configure-gdb: maybe-configure-itcl maybe-configure-tcl maybe-configure-tk maybe-configure-sim |
ae831be5 NN |
23715 | GDB_TK = @GDB_TK@ |
23716 | 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) | |
23717 | install-gdb: maybe-install-tcl maybe-install-tk maybe-install-itcl maybe-install-tix maybe-install-libgui | |
59da4fe6 | 23718 | configure-libgui: maybe-configure-tcl maybe-configure-tk |
ae831be5 NN |
23719 | all-libgui: maybe-all-tcl maybe-all-tk maybe-all-itcl |
23720 | ||
23721 | # Host modules specific to binutils. | |
b4a77b47 | 23722 | configure-bfd: configure-libiberty |
930314a4 NN |
23723 | all-bfd: maybe-all-libiberty maybe-all-intl |
23724 | 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 |
23725 | # We put install-opcodes before install-binutils because the installed |
23726 | # binutils might be on PATH, and they might need the shared opcodes | |
23727 | # library. | |
23728 | install-binutils: maybe-install-opcodes | |
cf662e21 AJ |
23729 | # libopcodes depends on libbfd |
23730 | install-opcodes: maybe-install-bfd | |
ae831be5 NN |
23731 | all-gas: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-intl |
23732 | all-gprof: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-intl | |
23733 | all-ld: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-intl | |
23734 | all-opcodes: maybe-all-bfd maybe-all-libiberty | |
23735 | ||
23736 | # Other host modules in the 'src' repository. | |
930314a4 | 23737 | all-dejagnu: maybe-all-tcl maybe-all-expect maybe-all-tk |
b4a77b47 | 23738 | configure-expect: maybe-configure-tcl maybe-configure-tk |
930314a4 | 23739 | all-expect: maybe-all-tcl maybe-all-tk |
b4a77b47 | 23740 | configure-itcl: maybe-configure-tcl maybe-configure-tk |
ae831be5 NN |
23741 | all-itcl: maybe-all-tcl maybe-all-tk |
23742 | # We put install-tcl before install-itcl because itcl wants to run a | |
23743 | # program on installation which uses the Tcl libraries. | |
23744 | install-itcl: maybe-install-tcl | |
122bfa92 | 23745 | all-sid: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-tcl maybe-all-tk |
ae831be5 | 23746 | install-sid: maybe-install-tcl maybe-install-tk |
a36d530e | 23747 | all-sim: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline maybe-configure-gdb |
b4a77b47 | 23748 | configure-tk: maybe-configure-tcl |
ae831be5 | 23749 | all-tk: maybe-all-tcl |
b4a77b47 | 23750 | configure-tix: maybe-configure-tcl maybe-configure-tk |
ae831be5 NN |
23751 | all-tix: maybe-all-tcl maybe-all-tk |
23752 | all-texinfo: maybe-all-libiberty | |
23753 | ||
23754 | # Other host modules. Warning, these are not well tested. | |
23755 | all-autoconf: maybe-all-m4 maybe-all-texinfo | |
23756 | all-automake: maybe-all-m4 maybe-all-texinfo | |
23757 | all-bison: maybe-all-texinfo | |
23758 | all-diff: maybe-all-libiberty | |
23759 | all-fastjar: maybe-all-zlib maybe-all-libiberty | |
930314a4 NN |
23760 | all-fileutils: maybe-all-libiberty |
23761 | all-flex: maybe-all-libiberty maybe-all-bison maybe-all-byacc | |
930314a4 NN |
23762 | all-gzip: maybe-all-libiberty |
23763 | all-hello: maybe-all-libiberty | |
930314a4 | 23764 | all-m4: maybe-all-libiberty maybe-all-texinfo |
b9abda6a | 23765 | all-make: maybe-all-libiberty maybe-all-intl |
930314a4 NN |
23766 | all-patch: maybe-all-libiberty |
23767 | all-prms: maybe-all-libiberty | |
930314a4 NN |
23768 | all-recode: maybe-all-libiberty |
23769 | all-sed: maybe-all-libiberty | |
23770 | all-send-pr: maybe-all-prms | |
930314a4 | 23771 | all-tar: maybe-all-libiberty |
930314a4 | 23772 | all-uudecode: maybe-all-libiberty |
ae831be5 NN |
23773 | |
23774 | ALL_GCC = maybe-all-gcc | |
23775 | ALL_GCC_C = $(ALL_GCC) maybe-all-target-newlib maybe-all-target-libgloss | |
23776 | ALL_GCC_CXX = $(ALL_GCC_C) maybe-all-target-libstdc++-v3 | |
23777 | ||
23778 | # Target modules specific to gcc. | |
b4a77b47 DD |
23779 | configure-target-boehm-gc: $(ALL_GCC_C) maybe-configure-target-qthreads |
23780 | configure-target-fastjar: maybe-configure-target-zlib | |
930314a4 | 23781 | all-target-fastjar: maybe-all-target-zlib maybe-all-target-libiberty |
b4a77b47 | 23782 | configure-target-libf2c: $(ALL_GCC_C) |
ae831be5 | 23783 | all-target-libf2c: maybe-all-target-libiberty |
b4a77b47 DD |
23784 | configure-target-libffi: $(ALL_GCC_C) |
23785 | configure-target-libjava: $(ALL_GCC_C) maybe-configure-target-zlib maybe-configure-target-boehm-gc maybe-configure-target-qthreads maybe-configure-target-libffi | |
ae831be5 | 23786 | all-target-libjava: maybe-all-fastjar maybe-all-target-zlib maybe-all-target-boehm-gc maybe-all-target-qthreads maybe-all-target-libffi |
b4a77b47 | 23787 | configure-target-libobjc: $(ALL_GCC_C) |
ae831be5 | 23788 | all-target-libobjc: maybe-all-target-libiberty |
b4a77b47 | 23789 | configure-target-libstdc++-v3: $(ALL_GCC_C) |
ae831be5 | 23790 | all-target-libstdc++-v3: maybe-all-target-libiberty |
b4a77b47 | 23791 | configure-target-zlib: $(ALL_GCC_C) |
a9590527 | 23792 | |
ae831be5 | 23793 | # Target modules in the 'src' repository. |
b4a77b47 DD |
23794 | configure-target-examples: $(ALL_GCC_C) |
23795 | configure-target-libgloss: $(ALL_GCC) | |
ae831be5 | 23796 | all-target-libgloss: maybe-configure-target-newlib |
3a12db16 | 23797 | configure-target-libiberty: $(ALL_GCC) |
b4a77b47 DD |
23798 | configure-target-libtermcap: $(ALL_GCC_C) |
23799 | configure-target-newlib: $(ALL_GCC) | |
7dda0df6 | 23800 | configure-target-rda: $(ALL_GCC_C) |
b4a77b47 | 23801 | configure-target-winsup: $(ALL_GCC_C) |
ae831be5 | 23802 | all-target-winsup: maybe-all-target-libiberty maybe-all-target-libtermcap |
a9590527 | 23803 | |
ae831be5 | 23804 | # Other target modules. Warning, these are not well tested. |
b4a77b47 | 23805 | configure-target-gperf: $(ALL_GCC_CXX) |
ae831be5 | 23806 | all-target-gperf: maybe-all-target-libiberty maybe-all-target-libstdc++-v3 |
b4a77b47 | 23807 | configure-target-qthreads: $(ALL_GCC_C) |
907a7241 | 23808 | |
930314a4 NN |
23809 | # Dependencies of maybe-foo on foo. These are used because, for example, |
23810 | # all-gcc only depends on all-gas if gas is present and being configured. | |
23811 | @maybe_dependencies@ | |
23812 | ||
a2cc058a NN |
23813 | # Serialization dependencies. Host configures don't work well in parallel to |
23814 | # each other, due to contention over config.cache. Target configures and | |
23815 | # build configures are similar. | |
23816 | @serialization_dependencies@ | |
23817 | ||
15723a45 NN |
23818 | # -------------------------------- |
23819 | # Regenerating top level configury | |
23820 | # -------------------------------- | |
252b5132 | 23821 | |
1086bc09 NN |
23822 | # Multilib.out tells target dirs what multilibs they should build. |
23823 | # There is really only one copy. We use the 'timestamp' method to | |
23824 | # work around various timestamp bugs on some systems. | |
23825 | # We use move-if-change so that it's only considered updated when it | |
23826 | # actually changes, because it has to depend on a phony target. | |
e6bfb94a | 23827 | multilib.out: maybe-all-gcc |
b40e3958 | 23828 | @r=`${PWD_COMMAND}`; export r; \ |
1086bc09 NN |
23829 | echo "Checking multilib configuration..."; \ |
23830 | $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \ | |
23831 | $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \ | |
1086bc09 | 23832 | |
14a2a2f1 | 23833 | # Rebuilding Makefile.in, using autogen. |
43be203f | 23834 | AUTOGEN = autogen |
6b784d9f | 23835 | $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def |
43be203f | 23836 | cd $(srcdir) && $(AUTOGEN) Makefile.def |
14a2a2f1 | 23837 | |
a0da8069 | 23838 | # Rebuilding Makefile. |
43be203f AO |
23839 | Makefile: $(srcdir)/Makefile.in config.status |
23840 | CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status | |
23841 | ||
23842 | config.status: configure $(gcc_version_trigger) | |
a0da8069 | 23843 | $(SHELL) ./config.status --recheck |
252b5132 | 23844 | |
a0da8069 | 23845 | # Rebuilding configure. |
43be203f | 23846 | AUTOCONF = autoconf |
6b784d9f | 23847 | $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4 |
43be203f | 23848 | cd $(srcdir) && $(AUTOCONF) |
252b5132 | 23849 | |
3728fade NN |
23850 | # ------------------------------ |
23851 | # Special directives to GNU Make | |
23852 | # ------------------------------ | |
23853 | ||
3728fade NN |
23854 | # Don't pass command-line variables to submakes. |
23855 | .NOEXPORT: | |
23856 | MAKEOVERRIDES= | |
23857 | ||
252b5132 | 23858 | # end of Makefile.in |