]>
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@ | |
29 | build_cpu=@build_cpu@ | |
30 | build_vendor=@build_vendor@ | |
31 | build_os=@build_os@ | |
32 | build_canonical=@build_cpu@-@build_vendor@-@build_os@ | |
33 | host_alias=@host_alias@ | |
34 | host_cpu=@host_cpu@ | |
35 | host_vendor=@host_vendor@ | |
36 | host_os=@host_os@ | |
37 | host_canonical=@host_cpu@-@host_vendor@-@host_os@ | |
38 | target_alias=@target_alias@ | |
39 | target_cpu=@target_cpu@ | |
40 | target_vendor=@target_vendor@ | |
41 | target_os=@target_os@ | |
42 | target_canonical=@target_cpu@-@target_vendor@-@target_os@ | |
43 | ||
50212802 | 44 | program_transform_name = @program_transform_name@ |
403d9505 NN |
45 | |
46 | prefix = @prefix@ | |
47 | exec_prefix = @exec_prefix@ | |
48 | ||
50212802 NN |
49 | srcdir = @srcdir@ |
50 | ||
403d9505 NN |
51 | bindir = @bindir@ |
52 | sbindir = @sbindir@ | |
53 | libexecdir = @libexecdir@ | |
54 | datadir = @datadir@ | |
55 | sysconfdir = @sysconfdir@ | |
56 | sharedstatedir = @sharedstatedir@ | |
57 | localstatedir = @localstatedir@ | |
58 | libdir = @libdir@ | |
59 | includedir = @includedir@ | |
60 | oldincludedir = @oldincludedir@ | |
61 | infodir = @infodir@ | |
62 | mandir = @mandir@ | |
252b5132 RH |
63 | man1dir = $(mandir)/man1 |
64 | man2dir = $(mandir)/man2 | |
65 | man3dir = $(mandir)/man3 | |
66 | man4dir = $(mandir)/man4 | |
67 | man5dir = $(mandir)/man5 | |
68 | man6dir = $(mandir)/man6 | |
69 | man7dir = $(mandir)/man7 | |
70 | man8dir = $(mandir)/man8 | |
71 | man9dir = $(mandir)/man9 | |
d5de0a84 | 72 | |
252b5132 RH |
73 | # INSTALL_PROGRAM_ARGS is changed by configure.in to use -x for a |
74 | # cygwin host. | |
75 | INSTALL_PROGRAM_ARGS = | |
76 | ||
77 | INSTALL = $(SHELL) $$s/install-sh -c | |
78 | INSTALL_PROGRAM = $(INSTALL) $(INSTALL_PROGRAM_ARGS) | |
79 | INSTALL_SCRIPT = $(INSTALL) | |
80 | INSTALL_DATA = $(INSTALL) -m 644 | |
81 | ||
50212802 NN |
82 | # ------------------------------------------------- |
83 | # Miscellaneous non-standard autoconf-set variables | |
84 | # ------------------------------------------------- | |
252b5132 | 85 | |
50212802 | 86 | links=@configlinks@ |
50212802 NN |
87 | # The file containing GCC's version number. |
88 | gcc_version_trigger = @gcc_version_trigger@ | |
89 | gcc_version = @gcc_version@ | |
252b5132 | 90 | |
50212802 NN |
91 | # The gcc driver likes to know the arguments it was configured with. |
92 | TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@ | |
252b5132 | 93 | |
50212802 NN |
94 | gxx_include_dir = @gxx_include_dir@ |
95 | libstdcxx_incdir = @libstdcxx_incdir@ | |
252b5132 | 96 | |
50212802 NN |
97 | tooldir = @tooldir@ |
98 | build_tooldir = @build_tooldir@ | |
252b5132 | 99 | |
50212802 NN |
100 | # Directory in which the compiler finds executables, libraries, etc. |
101 | libsubdir = $(libdir)/gcc-lib/$(target_alias)/$(gcc_version) | |
102 | GDB_NLM_DEPS = | |
252b5132 | 103 | |
50212802 NN |
104 | # This is the name of the environment variable used for the path to |
105 | # the libraries. | |
106 | RPATH_ENVVAR = @RPATH_ENVVAR@ | |
252b5132 | 107 | |
50212802 NN |
108 | # This is set by configure to REALLY_SET_LIB_PATH if --enable-shared |
109 | # was used. | |
110 | SET_LIB_PATH = @SET_LIB_PATH@ | |
252b5132 | 111 | |
50212802 NN |
112 | # configure.in sets SET_LIB_PATH to this if --enable-shared was used. |
113 | # Some platforms don't like blank entries, so we remove duplicate, | |
114 | # leading and trailing colons. | |
115 | REALLY_SET_LIB_PATH = \ | |
116 | $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); | |
252b5132 | 117 | |
50212802 NN |
118 | # This is the list of directories to be built for the build system. |
119 | BUILD_CONFIGDIRS = libiberty | |
120 | # Build programs are put under this directory. | |
121 | BUILD_SUBDIR = @build_subdir@ | |
122 | # This is set by the configure script to the arguments to use when configuring | |
123 | # directories built for the build system. | |
124 | BUILD_CONFIGARGS = @build_configargs@ | |
125 | ||
126 | # This is the list of directories to built for the host system. | |
127 | SUBDIRS = @configdirs@ | |
128 | # This is set by the configure script to the arguments to use when configuring | |
129 | # directories built for the host system. | |
130 | HOST_CONFIGARGS = @host_configargs@ | |
131 | ||
132 | # This is set by the configure script to the list of directories which | |
133 | # should be built using the target tools. | |
134 | TARGET_CONFIGDIRS = @target_configdirs@ | |
135 | # Target libraries are put under this directory: | |
136 | TARGET_SUBDIR = @target_subdir@ | |
137 | # This is set by the configure script to the arguments to use when configuring | |
138 | # directories built for the target. | |
139 | TARGET_CONFIGARGS = @target_configargs@ | |
140 | ||
141 | # ---------------------------------------------- | |
142 | # Programs producing files for the BUILD machine | |
143 | # ---------------------------------------------- | |
144 | ||
145 | SHELL = @config_shell@ | |
146 | ||
147 | # pwd command to use. Allow user to override default by setting PWDCMD in | |
148 | # the environment to account for automounters. The make variable must not | |
149 | # be called PWDCMD, otherwise the value set here is passed to make | |
150 | # subprocesses and overrides the setting from the user's environment. | |
151 | PWD = $${PWDCMD-pwd} | |
152 | ||
153 | # compilers to use to create programs which must be run in the build | |
154 | # environment. | |
155 | CC_FOR_BUILD = @CC_FOR_BUILD@ | |
156 | CFLAGS_FOR_BUILD = $(CFLAGS) | |
157 | ||
158 | CXX_FOR_BUILD = $(CXX) | |
159 | ||
160 | # Special variables passed down in EXTRA_GCC_FLAGS. They are defined | |
161 | # here so that they can be overridden by Makefile fragments. | |
162 | BUILD_CC = $(CC_FOR_BUILD) | |
163 | BUILD_PREFIX = @BUILD_PREFIX@ | |
164 | BUILD_PREFIX_1 = @BUILD_PREFIX_1@ | |
252b5132 | 165 | |
852e5f18 NN |
166 | BISON=@BISON@ |
167 | USUAL_BISON = `if [ -f $$r/bison/bison ] ; then \ | |
252b5132 RH |
168 | echo $$r/bison/bison -L $$s/bison/ ; \ |
169 | else \ | |
170 | echo bison ; \ | |
171 | fi` | |
172 | ||
50212802 | 173 | DEFAULT_YACC = @DEFAULT_YACC@ |
852e5f18 NN |
174 | YACC=@YACC@ |
175 | USUAL_YACC = `if [ -f $$r/bison/bison ] ; then \ | |
252b5132 RH |
176 | echo $$r/bison/bison -y -L $$s/bison/ ; \ |
177 | elif [ -f $$r/byacc/byacc ] ; then \ | |
178 | echo $$r/byacc/byacc ; \ | |
179 | else \ | |
180 | echo ${DEFAULT_YACC} ; \ | |
181 | fi` | |
182 | ||
50212802 | 183 | DEFAULT_LEX = @DEFAULT_LEX@ |
852e5f18 NN |
184 | LEX=@LEX@ |
185 | USUAL_LEX = `if [ -f $$r/flex/flex ] ; \ | |
252b5132 RH |
186 | then echo $$r/flex/flex ; \ |
187 | else echo ${DEFAULT_LEX} ; fi` | |
188 | ||
50212802 | 189 | DEFAULT_M4 = @DEFAULT_M4@ |
252b5132 RH |
190 | M4 = `if [ -f $$r/m4/m4 ] ; \ |
191 | then echo $$r/m4/m4 ; \ | |
192 | else echo ${DEFAULT_M4} ; fi` | |
193 | ||
77f7441a | 194 | # For an installed makeinfo, we require it to be from texinfo 4.2 or |
f08fa01d | 195 | # higher, else we use the "missing" dummy. |
852e5f18 NN |
196 | MAKEINFO=@MAKEINFO@ |
197 | USUAL_MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \ | |
252b5132 | 198 | then echo $$r/texinfo/makeinfo/makeinfo ; \ |
f08fa01d | 199 | else if (makeinfo --version \ |
77f7441a | 200 | | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \ |
f08fa01d | 201 | then echo makeinfo; else echo $$s/missing makeinfo; fi; fi` |
252b5132 RH |
202 | |
203 | # This just becomes part of the MAKEINFO definition passed down to | |
204 | # sub-makes. It lets flags be given on the command line while still | |
205 | # using the makeinfo from the object tree. | |
62a3fc85 DD |
206 | # (Default to avoid splitting info files by setting the threshold high.) |
207 | MAKEINFOFLAGS = --split-size=5000000 | |
252b5132 RH |
208 | |
209 | EXPECT = `if [ -f $$r/expect/expect ] ; \ | |
210 | then echo $$r/expect/expect ; \ | |
211 | else echo expect ; fi` | |
212 | ||
213 | RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \ | |
214 | then echo $$s/dejagnu/runtest ; \ | |
215 | else echo runtest ; fi` | |
216 | ||
50212802 NN |
217 | # --------------------------------------------- |
218 | # Programs producing files for the HOST machine | |
219 | # --------------------------------------------- | |
252b5132 | 220 | |
50212802 NN |
221 | # This is the list of directories that may be needed in RPATH_ENVVAR |
222 | # so that programs built for the host machine work. | |
223 | HOST_LIB_PATH = $$r/bfd:$$r/opcodes | |
252b5132 | 224 | |
50212802 | 225 | AS = @AS@ |
252b5132 | 226 | |
50212802 NN |
227 | AR = @AR@ |
228 | AR_FLAGS = rc | |
252b5132 | 229 | |
50212802 NN |
230 | CC = @CC@ |
231 | CFLAGS = @CFLAGS@ | |
232 | LIBCFLAGS = $(CFLAGS) | |
252b5132 | 233 | |
50212802 NN |
234 | CXX = @CXX@ |
235 | CXXFLAGS = @CXXFLAGS@ | |
236 | LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates | |
49b7683b | 237 | |
50212802 | 238 | DLLTOOL = @DLLTOOL@ |
252b5132 | 239 | |
50212802 | 240 | NM = @NM@ |
15723a45 | 241 | |
50212802 NN |
242 | LD = @LD@ |
243 | LDFLAGS = | |
15723a45 | 244 | |
50212802 | 245 | RANLIB = @RANLIB@ |
252b5132 | 246 | |
50212802 | 247 | WINDRES = @WINDRES@ |
252b5132 | 248 | |
50212802 NN |
249 | PICFLAG = |
250 | ||
251 | # ----------------------------------------------- | |
252 | # Programs producing files for the TARGET machine | |
253 | # ----------------------------------------------- | |
0da52010 AO |
254 | |
255 | # This is the list of directories that may be needed in RPATH_ENVVAR | |
256 | # so that prorgams built for the target machine work. | |
75205f78 | 257 | TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs: |
0da52010 | 258 | |
58daee98 | 259 | FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@ |
252b5132 | 260 | |
50212802 NN |
261 | AR_FOR_TARGET=@AR_FOR_TARGET@ |
262 | USUAL_AR_FOR_TARGET = ` \ | |
263 | if [ -f $$r/binutils/ar ] ; then \ | |
264 | echo $$r/binutils/ar ; \ | |
265 | else \ | |
266 | if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \ | |
267 | echo $(AR); \ | |
268 | else \ | |
269 | echo ar | sed '$(program_transform_name)' ; \ | |
270 | fi; \ | |
271 | fi` | |
252b5132 | 272 | |
852e5f18 NN |
273 | AS_FOR_TARGET=@AS_FOR_TARGET@ |
274 | USUAL_AS_FOR_TARGET = ` \ | |
252b5132 RH |
275 | if [ -f $$r/gas/as-new ] ; then \ |
276 | echo $$r/gas/as-new ; \ | |
dc70af01 AO |
277 | elif [ -f $$r/gcc/xgcc ]; then \ |
278 | $(CC_FOR_TARGET) -print-prog-name=as ; \ | |
252b5132 | 279 | else \ |
3f152009 | 280 | if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \ |
252b5132 RH |
281 | echo $(AS); \ |
282 | else \ | |
43be203f | 283 | echo as | sed '$(program_transform_name)' ; \ |
252b5132 RH |
284 | fi; \ |
285 | fi` | |
286 | ||
50212802 NN |
287 | CC_FOR_TARGET = @CC_FOR_TARGET@ |
288 | # During gcc bootstrap, if we use some random cc for stage1 then | |
289 | # CFLAGS will be just -g. We want to ensure that TARGET libraries | |
290 | # (which we know are built with gcc) are built with optimizations so | |
291 | # prepend -O2 when setting CFLAGS_FOR_TARGET. | |
292 | CFLAGS_FOR_TARGET = -O2 $(CFLAGS) | |
293 | # If GCC_FOR_TARGET is not overriden on the command line, then this | |
294 | # variable is passed down to the gcc Makefile, where it is used to | |
295 | # build libgcc2.a. We define it here so that it can itself be | |
296 | # overridden on the command line. | |
297 | GCC_FOR_TARGET=@GCC_FOR_TARGET@ | |
298 | USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET) | |
299 | LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET) | |
300 | ||
301 | CXX_FOR_TARGET = @CXX_FOR_TARGET@ | |
302 | RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@ | |
303 | CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@ | |
304 | RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@ | |
305 | CXXFLAGS_FOR_TARGET = $(CXXFLAGS) | |
306 | LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates | |
252b5132 | 307 | |
852e5f18 NN |
308 | DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@ |
309 | USUAL_DLLTOOL_FOR_TARGET = ` \ | |
252b5132 RH |
310 | if [ -f $$r/binutils/dlltool ] ; then \ |
311 | echo $$r/binutils/dlltool ; \ | |
312 | else \ | |
3f152009 | 313 | if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \ |
252b5132 RH |
314 | echo $(DLLTOOL); \ |
315 | else \ | |
43be203f | 316 | echo dlltool | sed '$(program_transform_name)' ; \ |
252b5132 RH |
317 | fi; \ |
318 | fi` | |
319 | ||
50212802 NN |
320 | GCJ_FOR_TARGET = @GCJ_FOR_TARGET@ |
321 | ||
322 | LD_FOR_TARGET=@LD_FOR_TARGET@ | |
323 | USUAL_LD_FOR_TARGET = ` \ | |
324 | if [ -f $$r/ld/ld-new ] ; then \ | |
325 | echo $$r/ld/ld-new ; \ | |
326 | elif [ -f $$r/gcc/xgcc ]; then \ | |
327 | $(CC_FOR_TARGET) -print-prog-name=ld ; \ | |
252b5132 | 328 | else \ |
3f152009 | 329 | if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \ |
50212802 | 330 | echo $(LD); \ |
252b5132 | 331 | else \ |
50212802 | 332 | echo ld | sed '$(program_transform_name)' ; \ |
252b5132 RH |
333 | fi; \ |
334 | fi` | |
335 | ||
50212802 NN |
336 | LDFLAGS_FOR_TARGET = |
337 | ||
338 | NM_FOR_TARGET=@NM_FOR_TARGET@ | |
339 | USUAL_NM_FOR_TARGET = ` \ | |
340 | if [ -f $$r/binutils/nm-new ] ; then \ | |
341 | echo $$r/binutils/nm-new ; \ | |
342 | elif [ -f $$r/gcc/xgcc ]; then \ | |
343 | $(CC_FOR_TARGET) -print-prog-name=nm ; \ | |
252b5132 | 344 | else \ |
3f152009 | 345 | if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \ |
50212802 | 346 | echo $(NM); \ |
252b5132 | 347 | else \ |
50212802 | 348 | echo nm | sed '$(program_transform_name)' ; \ |
252b5132 RH |
349 | fi; \ |
350 | fi` | |
351 | ||
852e5f18 NN |
352 | RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@ |
353 | USUAL_RANLIB_FOR_TARGET = ` \ | |
252b5132 RH |
354 | if [ -f $$r/binutils/ranlib ] ; then \ |
355 | echo $$r/binutils/ranlib ; \ | |
356 | else \ | |
3f152009 AO |
357 | if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \ |
358 | if [ x'$(RANLIB)' != x ]; then \ | |
359 | echo $(RANLIB); \ | |
360 | else \ | |
361 | echo ranlib; \ | |
362 | fi; \ | |
252b5132 | 363 | else \ |
43be203f | 364 | echo ranlib | sed '$(program_transform_name)' ; \ |
252b5132 RH |
365 | fi; \ |
366 | fi` | |
367 | ||
50212802 NN |
368 | WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@ |
369 | USUAL_WINDRES_FOR_TARGET = ` \ | |
370 | if [ -f $$r/binutils/windres ] ; then \ | |
371 | echo $$r/binutils/windres ; \ | |
252b5132 | 372 | else \ |
3f152009 | 373 | if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \ |
50212802 | 374 | echo $(WINDRES); \ |
252b5132 | 375 | else \ |
50212802 | 376 | echo windres | sed '$(program_transform_name)' ; \ |
252b5132 RH |
377 | fi; \ |
378 | fi` | |
379 | ||
50212802 NN |
380 | PICFLAG_FOR_TARGET = |
381 | ||
382 | # ------------------------------------ | |
383 | # Miscellaneous targets and flag lists | |
384 | # ------------------------------------ | |
385 | ||
252b5132 RH |
386 | # The first rule in the file had better be this one. Don't put any above it. |
387 | # This lives here to allow makefile fragments to contain dependencies. | |
388 | all: all.normal | |
389 | .PHONY: all | |
390 | ||
252b5132 | 391 | #### host and target specific makefile fragments come in here. |
a0da8069 NN |
392 | @target_makefile_frag@ |
393 | @alphaieee_frag@ | |
394 | @ospace_frag@ | |
395 | @host_makefile_frag@ | |
252b5132 RH |
396 | ### |
397 | ||
398 | # Flags to pass down to all sub-makes. | |
399 | # Please keep these in alphabetical order. | |
400 | BASE_FLAGS_TO_PASS = \ | |
401 | "AR_FLAGS=$(AR_FLAGS)" \ | |
402 | "AR_FOR_TARGET=$(AR_FOR_TARGET)" \ | |
403 | "AS_FOR_TARGET=$(AS_FOR_TARGET)" \ | |
404 | "BISON=$(BISON)" \ | |
405 | "CC_FOR_BUILD=$(CC_FOR_BUILD)" \ | |
406 | "CC_FOR_TARGET=$(CC_FOR_TARGET)" \ | |
407 | "CFLAGS=$(CFLAGS)" \ | |
408 | "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \ | |
75205f78 | 409 | "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \ |
252b5132 RH |
410 | "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \ |
411 | "CXXFLAGS=$(CXXFLAGS)" \ | |
412 | "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \ | |
413 | "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \ | |
497f816e | 414 | "DESTDIR=$(DESTDIR)" \ |
252b5132 RH |
415 | "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \ |
416 | "INSTALL=$(INSTALL)" \ | |
417 | "INSTALL_DATA=$(INSTALL_DATA)" \ | |
418 | "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ | |
419 | "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \ | |
420 | "LDFLAGS=$(LDFLAGS)" \ | |
421 | "LEX=$(LEX)" \ | |
422 | "LD_FOR_TARGET=$(LD_FOR_TARGET)" \ | |
423 | "LIBCFLAGS=$(LIBCFLAGS)" \ | |
424 | "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \ | |
425 | "LIBCXXFLAGS=$(LIBCXXFLAGS)" \ | |
426 | "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \ | |
427 | "M4=$(M4)" \ | |
428 | "MAKE=$(MAKE)" \ | |
429 | "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \ | |
430 | "NM_FOR_TARGET=$(NM_FOR_TARGET)" \ | |
431 | "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \ | |
432 | "RPATH_ENVVAR=$(RPATH_ENVVAR)" \ | |
433 | "SHELL=$(SHELL)" \ | |
434 | "EXPECT=$(EXPECT)" \ | |
435 | "RUNTEST=$(RUNTEST)" \ | |
436 | "RUNTESTFLAGS=$(RUNTESTFLAGS)" \ | |
437 | "TARGET_SUBDIR=$(TARGET_SUBDIR)" \ | |
438 | "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \ | |
439 | "YACC=$(YACC)" \ | |
440 | "bindir=$(bindir)" \ | |
441 | "datadir=$(datadir)" \ | |
442 | "exec_prefix=$(exec_prefix)" \ | |
443 | "includedir=$(includedir)" \ | |
444 | "infodir=$(infodir)" \ | |
445 | "libdir=$(libdir)" \ | |
446 | "libexecdir=$(libexecdir)" \ | |
447 | "lispdir=$(lispdir)" \ | |
75205f78 DD |
448 | "libstdcxx_incdir=$(libstdcxx_incdir)" \ |
449 | "libsubdir=$(libsubdir)" \ | |
252b5132 RH |
450 | "localstatedir=$(localstatedir)" \ |
451 | "mandir=$(mandir)" \ | |
452 | "oldincludedir=$(oldincludedir)" \ | |
453 | "prefix=$(prefix)" \ | |
454 | "sbindir=$(sbindir)" \ | |
455 | "sharedstatedir=$(sharedstatedir)" \ | |
456 | "sysconfdir=$(sysconfdir)" \ | |
457 | "tooldir=$(tooldir)" \ | |
ba73c63f | 458 | "build_tooldir=$(build_tooldir)" \ |
252b5132 RH |
459 | "gxx_include_dir=$(gxx_include_dir)" \ |
460 | "gcc_version=$(gcc_version)" \ | |
461 | "gcc_version_trigger=$(gcc_version_trigger)" \ | |
75205f78 | 462 | "target_alias=$(target_alias)" |
252b5132 | 463 | |
dec0cb0c AO |
464 | # For any flags above that may contain shell code that varies from one |
465 | # target library to another. When doing recursive invocations of the | |
466 | # top-level Makefile, we don't want the outer make to evaluate them, | |
467 | # so we pass these variables down unchanged. They must not contain | |
468 | # single nor double quotes. | |
469 | RECURSE_FLAGS = \ | |
930314a4 NN |
470 | CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \ |
471 | RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \ | |
dec0cb0c | 472 | |
252b5132 RH |
473 | # Flags to pass down to most sub-makes, in which we're building with |
474 | # the host environment. | |
252b5132 RH |
475 | EXTRA_HOST_FLAGS = \ |
476 | 'AR=$(AR)' \ | |
477 | 'AS=$(AS)' \ | |
478 | 'CC=$(CC)' \ | |
479 | 'CXX=$(CXX)' \ | |
480 | 'DLLTOOL=$(DLLTOOL)' \ | |
481 | 'LD=$(LD)' \ | |
482 | 'NM=$(NM)' \ | |
b9459e83 | 483 | 'RANLIB=$(RANLIB)' \ |
252b5132 RH |
484 | 'WINDRES=$(WINDRES)' |
485 | ||
486 | FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) | |
487 | ||
488 | # Flags that are concerned with the location of the X11 include files | |
489 | # and library files | |
490 | # | |
491 | # NOTE: until the top-level is getting the values via autoconf, it only | |
492 | # causes problems to have this top-level Makefile overriding the autoconf-set | |
493 | # values in child directories. Only variables that don't conflict with | |
494 | # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now. | |
495 | # | |
496 | X11_FLAGS_TO_PASS = \ | |
497 | 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \ | |
498 | 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)' | |
499 | ||
500 | # Flags to pass down to makes which are built with the target environment. | |
501 | # The double $ decreases the length of the command line; the variables | |
502 | # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. | |
252b5132 RH |
503 | EXTRA_TARGET_FLAGS = \ |
504 | 'AR=$$(AR_FOR_TARGET)' \ | |
505 | 'AS=$$(AS_FOR_TARGET)' \ | |
506 | 'CC=$$(CC_FOR_TARGET)' \ | |
507 | 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \ | |
508 | 'CXX=$$(CXX_FOR_TARGET)' \ | |
509 | 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \ | |
510 | 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \ | |
511 | 'LD=$$(LD_FOR_TARGET)' \ | |
512 | 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \ | |
513 | 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \ | |
514 | 'NM=$$(NM_FOR_TARGET)' \ | |
515 | 'RANLIB=$$(RANLIB_FOR_TARGET)' \ | |
516 | 'WINDRES=$$(WINDRES_FOR_TARGET)' | |
517 | ||
518 | TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) | |
519 | ||
520 | # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it | |
521 | # unfortunately needs the native compiler and the target ar and | |
522 | # ranlib. | |
523 | # If any variables are added here, they must be added to do-*, below. | |
2a4cbe27 | 524 | # The BUILD_* variables are a special case, which are used for the gcc |
252b5132 RH |
525 | # cross-building scheme. |
526 | EXTRA_GCC_FLAGS = \ | |
527 | 'AR=$(AR)' \ | |
528 | 'AS=$(AS)' \ | |
529 | 'CC=$(CC)' \ | |
530 | 'CXX=$(CXX)' \ | |
531 | 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \ | |
3866be5d | 532 | 'BUILD_CC=$(CC_FOR_BUILD)' \ |
27f15fdd DD |
533 | 'BUILD_PREFIX=$(BUILD_PREFIX)' \ |
534 | 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \ | |
252b5132 | 535 | 'NM=$(NM)' \ |
b9459e83 | 536 | 'RANLIB=$(RANLIB)' \ |
252b5132 RH |
537 | 'WINDRES=$$(WINDRES_FOR_TARGET)' \ |
538 | "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \ | |
75205f78 | 539 | "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \ |
252b5132 RH |
540 | "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s/.*=$$/XFOO=/`" \ |
541 | "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s/.*=$$/XFOO=/`" \ | |
542 | "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s/.*=$$/XFOO=/`" \ | |
252b5132 RH |
543 | "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \ |
544 | "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \ | |
545 | "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s/.*=$$/XFOO=/`" \ | |
546 | "`echo 'ENQUIRE=$(ENQUIRE)' | sed -e s/.*=$$/XFOO=/`" \ | |
75205f78 | 547 | "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \ |
252b5132 RH |
548 | "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" |
549 | ||
550 | GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) | |
551 | ||
dd12c3a8 NN |
552 | .PHONY: configure-host |
553 | configure-host: maybe-configure-gcc \ | |
554 | maybe-configure-ash \ | |
555 | maybe-configure-autoconf \ | |
556 | maybe-configure-automake \ | |
557 | maybe-configure-bash \ | |
558 | maybe-configure-bfd \ | |
559 | maybe-configure-opcodes \ | |
560 | maybe-configure-binutils \ | |
561 | maybe-configure-bison \ | |
562 | maybe-configure-byacc \ | |
563 | maybe-configure-bzip2 \ | |
564 | maybe-configure-dejagnu \ | |
565 | maybe-configure-diff \ | |
566 | maybe-configure-dosutils \ | |
567 | maybe-configure-etc \ | |
568 | maybe-configure-fastjar \ | |
569 | maybe-configure-fileutils \ | |
570 | maybe-configure-findutils \ | |
571 | maybe-configure-find \ | |
572 | maybe-configure-flex \ | |
573 | maybe-configure-gas \ | |
574 | maybe-configure-gawk \ | |
575 | maybe-configure-gettext \ | |
576 | maybe-configure-gnuserv \ | |
577 | maybe-configure-gprof \ | |
578 | maybe-configure-gzip \ | |
579 | maybe-configure-hello \ | |
580 | maybe-configure-indent \ | |
581 | maybe-configure-intl \ | |
582 | maybe-configure-tcl \ | |
583 | maybe-configure-itcl \ | |
584 | maybe-configure-ld \ | |
585 | maybe-configure-libgui \ | |
586 | maybe-configure-libiberty \ | |
587 | maybe-configure-libtool \ | |
588 | maybe-configure-m4 \ | |
589 | maybe-configure-make \ | |
590 | maybe-configure-mmalloc \ | |
591 | maybe-configure-patch \ | |
592 | maybe-configure-perl \ | |
593 | maybe-configure-prms \ | |
594 | maybe-configure-rcs \ | |
595 | maybe-configure-readline \ | |
596 | maybe-configure-release \ | |
597 | maybe-configure-recode \ | |
598 | maybe-configure-sed \ | |
599 | maybe-configure-send-pr \ | |
600 | maybe-configure-shellutils \ | |
601 | maybe-configure-sid \ | |
602 | maybe-configure-sim \ | |
603 | maybe-configure-tar \ | |
604 | maybe-configure-texinfo \ | |
605 | maybe-configure-textutils \ | |
606 | maybe-configure-time \ | |
607 | maybe-configure-uudecode \ | |
608 | maybe-configure-wdiff \ | |
609 | maybe-configure-zip \ | |
610 | maybe-configure-zlib \ | |
611 | maybe-configure-gdb \ | |
612 | maybe-configure-expect \ | |
613 | maybe-configure-guile \ | |
614 | maybe-configure-tk \ | |
615 | maybe-configure-tix \ | |
616 | maybe-configure-libtermcap \ | |
617 | maybe-configure-utils | |
618 | .PHONY: configure-target | |
619 | configure-target: \ | |
620 | maybe-configure-target-libstdc++-v3 \ | |
621 | maybe-configure-target-newlib \ | |
622 | maybe-configure-target-libf2c \ | |
623 | maybe-configure-target-libobjc \ | |
624 | maybe-configure-target-libtermcap \ | |
625 | maybe-configure-target-winsup \ | |
626 | maybe-configure-target-libgloss \ | |
627 | maybe-configure-target-libiberty \ | |
628 | maybe-configure-target-gperf \ | |
629 | maybe-configure-target-examples \ | |
630 | maybe-configure-target-libffi \ | |
631 | maybe-configure-target-libjava \ | |
632 | maybe-configure-target-zlib \ | |
633 | maybe-configure-target-boehm-gc \ | |
634 | maybe-configure-target-qthreads \ | |
635 | maybe-configure-target-rda | |
252b5132 | 636 | |
252b5132 RH |
637 | # The target built for a native build. |
638 | .PHONY: all.normal | |
dd12c3a8 NN |
639 | all.normal: @all_build_modules@ all-host all-target |
640 | ||
641 | .PHONY: all-host | |
642 | all-host: maybe-all-gcc \ | |
643 | maybe-all-ash \ | |
644 | maybe-all-autoconf \ | |
645 | maybe-all-automake \ | |
646 | maybe-all-bash \ | |
647 | maybe-all-bfd \ | |
648 | maybe-all-opcodes \ | |
649 | maybe-all-binutils \ | |
650 | maybe-all-bison \ | |
651 | maybe-all-byacc \ | |
652 | maybe-all-bzip2 \ | |
653 | maybe-all-dejagnu \ | |
654 | maybe-all-diff \ | |
655 | maybe-all-dosutils \ | |
656 | maybe-all-etc \ | |
657 | maybe-all-fastjar \ | |
658 | maybe-all-fileutils \ | |
659 | maybe-all-findutils \ | |
660 | maybe-all-find \ | |
661 | maybe-all-flex \ | |
662 | maybe-all-gas \ | |
663 | maybe-all-gawk \ | |
664 | maybe-all-gettext \ | |
665 | maybe-all-gnuserv \ | |
666 | maybe-all-gprof \ | |
667 | maybe-all-gzip \ | |
668 | maybe-all-hello \ | |
669 | maybe-all-indent \ | |
670 | maybe-all-intl \ | |
671 | maybe-all-tcl \ | |
672 | maybe-all-itcl \ | |
673 | maybe-all-ld \ | |
674 | maybe-all-libgui \ | |
675 | maybe-all-libiberty \ | |
676 | maybe-all-libtool \ | |
677 | maybe-all-m4 \ | |
678 | maybe-all-make \ | |
679 | maybe-all-mmalloc \ | |
680 | maybe-all-patch \ | |
681 | maybe-all-perl \ | |
682 | maybe-all-prms \ | |
683 | maybe-all-rcs \ | |
684 | maybe-all-readline \ | |
685 | maybe-all-release \ | |
686 | maybe-all-recode \ | |
687 | maybe-all-sed \ | |
688 | maybe-all-send-pr \ | |
689 | maybe-all-shellutils \ | |
690 | maybe-all-sid \ | |
691 | maybe-all-sim \ | |
692 | maybe-all-tar \ | |
693 | maybe-all-texinfo \ | |
694 | maybe-all-textutils \ | |
695 | maybe-all-time \ | |
696 | maybe-all-uudecode \ | |
697 | maybe-all-wdiff \ | |
698 | maybe-all-zip \ | |
699 | maybe-all-zlib \ | |
700 | maybe-all-gdb \ | |
701 | maybe-all-expect \ | |
702 | maybe-all-guile \ | |
703 | maybe-all-tk \ | |
704 | maybe-all-tix \ | |
705 | maybe-all-libtermcap \ | |
706 | maybe-all-utils | |
707 | .PHONY: all-target | |
708 | all-target: \ | |
709 | maybe-all-target-libstdc++-v3 \ | |
710 | maybe-all-target-newlib \ | |
711 | maybe-all-target-libf2c \ | |
712 | maybe-all-target-libobjc \ | |
713 | maybe-all-target-libtermcap \ | |
714 | maybe-all-target-winsup \ | |
715 | maybe-all-target-libgloss \ | |
716 | maybe-all-target-libiberty \ | |
717 | maybe-all-target-gperf \ | |
718 | maybe-all-target-examples \ | |
719 | maybe-all-target-libffi \ | |
720 | maybe-all-target-libjava \ | |
721 | maybe-all-target-zlib \ | |
722 | maybe-all-target-boehm-gc \ | |
723 | maybe-all-target-qthreads \ | |
724 | maybe-all-target-rda | |
252b5132 RH |
725 | |
726 | # Do a target for all the subdirectories. A ``make do-X'' will do a | |
727 | # ``make X'' in all subdirectories (because, in general, there is a | |
728 | # dependency (below) of X upon do-X, a ``make X'' will also do this, | |
729 | # but it may do additional work as well). | |
e393202e | 730 | |
2a4cbe27 NN |
731 | .PHONY: do-info |
732 | do-info: info-host info-target | |
e393202e | 733 | |
2a4cbe27 NN |
734 | .PHONY: info-host |
735 | info-host: maybe-info-gcc \ | |
736 | maybe-info-ash \ | |
737 | maybe-info-autoconf \ | |
738 | maybe-info-automake \ | |
739 | maybe-info-bash \ | |
740 | maybe-info-bfd \ | |
741 | maybe-info-opcodes \ | |
742 | maybe-info-binutils \ | |
743 | maybe-info-bison \ | |
744 | maybe-info-byacc \ | |
745 | maybe-info-bzip2 \ | |
746 | maybe-info-dejagnu \ | |
747 | maybe-info-diff \ | |
748 | maybe-info-dosutils \ | |
749 | maybe-info-etc \ | |
750 | maybe-info-fastjar \ | |
751 | maybe-info-fileutils \ | |
752 | maybe-info-findutils \ | |
753 | maybe-info-find \ | |
754 | maybe-info-flex \ | |
755 | maybe-info-gas \ | |
756 | maybe-info-gawk \ | |
757 | maybe-info-gettext \ | |
758 | maybe-info-gnuserv \ | |
759 | maybe-info-gprof \ | |
760 | maybe-info-gzip \ | |
761 | maybe-info-hello \ | |
762 | maybe-info-indent \ | |
763 | maybe-info-intl \ | |
764 | maybe-info-tcl \ | |
765 | maybe-info-itcl \ | |
766 | maybe-info-ld \ | |
767 | maybe-info-libgui \ | |
768 | maybe-info-libiberty \ | |
769 | maybe-info-libtool \ | |
770 | maybe-info-m4 \ | |
771 | maybe-info-make \ | |
772 | maybe-info-mmalloc \ | |
773 | maybe-info-patch \ | |
774 | maybe-info-perl \ | |
775 | maybe-info-prms \ | |
776 | maybe-info-rcs \ | |
777 | maybe-info-readline \ | |
778 | maybe-info-release \ | |
779 | maybe-info-recode \ | |
780 | maybe-info-sed \ | |
781 | maybe-info-send-pr \ | |
782 | maybe-info-shellutils \ | |
783 | maybe-info-sid \ | |
784 | maybe-info-sim \ | |
785 | maybe-info-tar \ | |
786 | maybe-info-texinfo \ | |
787 | maybe-info-textutils \ | |
788 | maybe-info-time \ | |
789 | maybe-info-uudecode \ | |
790 | maybe-info-wdiff \ | |
791 | maybe-info-zip \ | |
792 | maybe-info-zlib \ | |
793 | maybe-info-gdb \ | |
794 | maybe-info-expect \ | |
795 | maybe-info-guile \ | |
796 | maybe-info-tk \ | |
797 | maybe-info-tix \ | |
798 | maybe-info-libtermcap \ | |
799 | maybe-info-utils | |
252b5132 | 800 | |
2a4cbe27 NN |
801 | .PHONY: info-target |
802 | info-target: \ | |
803 | maybe-info-target-libstdc++-v3 \ | |
804 | maybe-info-target-newlib \ | |
805 | maybe-info-target-libf2c \ | |
806 | maybe-info-target-libobjc \ | |
807 | maybe-info-target-libtermcap \ | |
808 | maybe-info-target-winsup \ | |
809 | maybe-info-target-libgloss \ | |
810 | maybe-info-target-libiberty \ | |
811 | maybe-info-target-gperf \ | |
812 | maybe-info-target-examples \ | |
813 | maybe-info-target-libffi \ | |
814 | maybe-info-target-libjava \ | |
815 | maybe-info-target-zlib \ | |
816 | maybe-info-target-boehm-gc \ | |
817 | maybe-info-target-qthreads \ | |
818 | maybe-info-target-rda | |
252b5132 | 819 | |
2a4cbe27 NN |
820 | # GCC, the eternal special case |
821 | .PHONY: maybe-info-gcc info-gcc | |
822 | maybe-info-gcc: | |
823 | info-gcc: \ | |
824 | configure-gcc | |
825 | @[ -f ./gcc/Makefile ] || exit 0; \ | |
826 | r=`${PWD}`; export r; \ | |
827 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
828 | $(SET_LIB_PATH) \ | |
829 | for flag in $(EXTRA_GCC_FLAGS); do \ | |
830 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
831 | done; \ | |
832 | echo "Doing info in gcc" ; \ | |
833 | (cd gcc && \ | |
834 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
835 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
836 | "RANLIB=$${RANLIB}" \ | |
837 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
838 | info) \ | |
839 | || exit 1 | |
252b5132 | 840 | |
2a4cbe27 | 841 | # Host modules. |
252b5132 | 842 | |
2a4cbe27 NN |
843 | .PHONY: maybe-info-ash info-ash |
844 | maybe-info-ash: | |
252b5132 | 845 | |
2a4cbe27 NN |
846 | info-ash: \ |
847 | configure-ash | |
848 | @[ -f ./ash/Makefile ] || exit 0; \ | |
849 | r=`${PWD}`; export r; \ | |
850 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
851 | $(SET_LIB_PATH) \ | |
852 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
853 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
854 | done; \ | |
855 | echo "Doing info in ash" ; \ | |
856 | (cd ash && \ | |
857 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
858 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
859 | "RANLIB=$${RANLIB}" \ | |
860 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
861 | info) \ | |
862 | || exit 1 | |
252b5132 | 863 | |
e393202e | 864 | |
2a4cbe27 NN |
865 | .PHONY: maybe-info-autoconf info-autoconf |
866 | maybe-info-autoconf: | |
e393202e | 867 | |
2a4cbe27 NN |
868 | info-autoconf: \ |
869 | configure-autoconf | |
870 | @[ -f ./autoconf/Makefile ] || exit 0; \ | |
871 | r=`${PWD}`; export r; \ | |
872 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
873 | $(SET_LIB_PATH) \ | |
874 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
875 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
876 | done; \ | |
877 | echo "Doing info in autoconf" ; \ | |
878 | (cd autoconf && \ | |
879 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
880 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
881 | "RANLIB=$${RANLIB}" \ | |
882 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
883 | info) \ | |
884 | || exit 1 | |
e393202e NN |
885 | |
886 | ||
2a4cbe27 NN |
887 | .PHONY: maybe-info-automake info-automake |
888 | maybe-info-automake: | |
e393202e | 889 | |
2a4cbe27 NN |
890 | info-automake: \ |
891 | configure-automake | |
892 | @[ -f ./automake/Makefile ] || exit 0; \ | |
893 | r=`${PWD}`; export r; \ | |
894 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
895 | $(SET_LIB_PATH) \ | |
896 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
897 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
898 | done; \ | |
899 | echo "Doing info in automake" ; \ | |
900 | (cd automake && \ | |
901 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
902 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
903 | "RANLIB=$${RANLIB}" \ | |
904 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
905 | info) \ | |
906 | || exit 1 | |
e393202e | 907 | |
e393202e | 908 | |
2a4cbe27 NN |
909 | .PHONY: maybe-info-bash info-bash |
910 | maybe-info-bash: | |
911 | ||
912 | info-bash: \ | |
913 | configure-bash | |
914 | @[ -f ./bash/Makefile ] || exit 0; \ | |
915 | r=`${PWD}`; export r; \ | |
e393202e | 916 | s=`cd $(srcdir); ${PWD}`; export s; \ |
2a4cbe27 NN |
917 | $(SET_LIB_PATH) \ |
918 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
919 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
920 | done; \ | |
921 | echo "Doing info in bash" ; \ | |
922 | (cd bash && \ | |
923 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
924 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
925 | "RANLIB=$${RANLIB}" \ | |
926 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
927 | info) \ | |
928 | || exit 1 | |
e393202e | 929 | |
e393202e | 930 | |
2a4cbe27 NN |
931 | .PHONY: maybe-info-bfd info-bfd |
932 | maybe-info-bfd: | |
252b5132 | 933 | |
2a4cbe27 NN |
934 | info-bfd: \ |
935 | configure-bfd | |
936 | @[ -f ./bfd/Makefile ] || exit 0; \ | |
937 | r=`${PWD}`; export r; \ | |
938 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
939 | $(SET_LIB_PATH) \ | |
940 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
941 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
942 | done; \ | |
943 | echo "Doing info in bfd" ; \ | |
944 | (cd bfd && \ | |
945 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
946 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
947 | "RANLIB=$${RANLIB}" \ | |
948 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
949 | info) \ | |
950 | || exit 1 | |
252b5132 | 951 | |
252b5132 | 952 | |
2a4cbe27 NN |
953 | .PHONY: maybe-info-opcodes info-opcodes |
954 | maybe-info-opcodes: | |
955 | ||
956 | info-opcodes: \ | |
957 | configure-opcodes | |
958 | @[ -f ./opcodes/Makefile ] || exit 0; \ | |
959 | r=`${PWD}`; export r; \ | |
960 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
961 | $(SET_LIB_PATH) \ | |
962 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
963 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
964 | done; \ | |
965 | echo "Doing info in opcodes" ; \ | |
966 | (cd opcodes && \ | |
967 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
968 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
969 | "RANLIB=$${RANLIB}" \ | |
970 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
971 | info) \ | |
972 | || exit 1 | |
973 | ||
974 | ||
975 | .PHONY: maybe-info-binutils info-binutils | |
976 | maybe-info-binutils: | |
977 | ||
978 | info-binutils: \ | |
979 | configure-binutils | |
980 | @[ -f ./binutils/Makefile ] || exit 0; \ | |
981 | r=`${PWD}`; export r; \ | |
982 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
983 | $(SET_LIB_PATH) \ | |
984 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
985 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
986 | done; \ | |
987 | echo "Doing info in binutils" ; \ | |
988 | (cd binutils && \ | |
989 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
990 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
991 | "RANLIB=$${RANLIB}" \ | |
992 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
993 | info) \ | |
994 | || exit 1 | |
995 | ||
996 | ||
997 | .PHONY: maybe-info-bison info-bison | |
998 | maybe-info-bison: | |
999 | ||
1000 | info-bison: \ | |
1001 | configure-bison | |
1002 | @[ -f ./bison/Makefile ] || exit 0; \ | |
1003 | r=`${PWD}`; export r; \ | |
1004 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1005 | $(SET_LIB_PATH) \ | |
1006 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1007 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1008 | done; \ | |
1009 | echo "Doing info in bison" ; \ | |
1010 | (cd bison && \ | |
1011 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1012 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1013 | "RANLIB=$${RANLIB}" \ | |
1014 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1015 | info) \ | |
1016 | || exit 1 | |
1017 | ||
1018 | ||
1019 | .PHONY: maybe-info-byacc info-byacc | |
1020 | maybe-info-byacc: | |
1021 | ||
1022 | info-byacc: \ | |
1023 | configure-byacc | |
1024 | @[ -f ./byacc/Makefile ] || exit 0; \ | |
1025 | r=`${PWD}`; export r; \ | |
1026 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1027 | $(SET_LIB_PATH) \ | |
1028 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1029 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1030 | done; \ | |
1031 | echo "Doing info in byacc" ; \ | |
1032 | (cd byacc && \ | |
1033 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1034 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1035 | "RANLIB=$${RANLIB}" \ | |
1036 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1037 | info) \ | |
1038 | || exit 1 | |
1039 | ||
1040 | ||
1041 | .PHONY: maybe-info-bzip2 info-bzip2 | |
1042 | maybe-info-bzip2: | |
1043 | ||
1044 | info-bzip2: \ | |
1045 | configure-bzip2 | |
1046 | @[ -f ./bzip2/Makefile ] || exit 0; \ | |
1047 | r=`${PWD}`; export r; \ | |
1048 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1049 | $(SET_LIB_PATH) \ | |
1050 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1051 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1052 | done; \ | |
1053 | echo "Doing info in bzip2" ; \ | |
1054 | (cd bzip2 && \ | |
1055 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1056 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1057 | "RANLIB=$${RANLIB}" \ | |
1058 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1059 | info) \ | |
1060 | || exit 1 | |
1061 | ||
1062 | ||
1063 | .PHONY: maybe-info-dejagnu info-dejagnu | |
1064 | maybe-info-dejagnu: | |
1065 | ||
1066 | info-dejagnu: \ | |
1067 | configure-dejagnu | |
1068 | @[ -f ./dejagnu/Makefile ] || exit 0; \ | |
1069 | r=`${PWD}`; export r; \ | |
1070 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1071 | $(SET_LIB_PATH) \ | |
1072 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1073 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1074 | done; \ | |
1075 | echo "Doing info in dejagnu" ; \ | |
1076 | (cd dejagnu && \ | |
1077 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1078 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1079 | "RANLIB=$${RANLIB}" \ | |
1080 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1081 | info) \ | |
1082 | || exit 1 | |
1083 | ||
1084 | ||
1085 | .PHONY: maybe-info-diff info-diff | |
1086 | maybe-info-diff: | |
1087 | ||
1088 | info-diff: \ | |
1089 | configure-diff | |
1090 | @[ -f ./diff/Makefile ] || exit 0; \ | |
1091 | r=`${PWD}`; export r; \ | |
1092 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1093 | $(SET_LIB_PATH) \ | |
1094 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1095 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1096 | done; \ | |
1097 | echo "Doing info in diff" ; \ | |
1098 | (cd diff && \ | |
1099 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1100 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1101 | "RANLIB=$${RANLIB}" \ | |
1102 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1103 | info) \ | |
1104 | || exit 1 | |
1105 | ||
1106 | ||
1107 | .PHONY: maybe-info-dosutils info-dosutils | |
1108 | maybe-info-dosutils: | |
1109 | ||
1110 | info-dosutils: \ | |
1111 | configure-dosutils | |
1112 | @[ -f ./dosutils/Makefile ] || exit 0; \ | |
1113 | r=`${PWD}`; export r; \ | |
1114 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1115 | $(SET_LIB_PATH) \ | |
1116 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1117 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1118 | done; \ | |
1119 | echo "Doing info in dosutils" ; \ | |
1120 | (cd dosutils && \ | |
1121 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1122 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1123 | "RANLIB=$${RANLIB}" \ | |
1124 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1125 | info) \ | |
1126 | || exit 1 | |
1127 | ||
1128 | ||
1129 | .PHONY: maybe-info-etc info-etc | |
1130 | maybe-info-etc: | |
1131 | ||
1132 | info-etc: \ | |
1133 | configure-etc | |
1134 | @[ -f ./etc/Makefile ] || exit 0; \ | |
1135 | r=`${PWD}`; export r; \ | |
1136 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1137 | $(SET_LIB_PATH) \ | |
1138 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1139 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1140 | done; \ | |
1141 | echo "Doing info in etc" ; \ | |
1142 | (cd etc && \ | |
1143 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1144 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1145 | "RANLIB=$${RANLIB}" \ | |
1146 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1147 | info) \ | |
1148 | || exit 1 | |
1149 | ||
1150 | ||
1151 | .PHONY: maybe-info-fastjar info-fastjar | |
1152 | maybe-info-fastjar: | |
1153 | ||
1154 | info-fastjar: \ | |
1155 | configure-fastjar | |
1156 | @[ -f ./fastjar/Makefile ] || exit 0; \ | |
1157 | r=`${PWD}`; export r; \ | |
1158 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1159 | $(SET_LIB_PATH) \ | |
1160 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1161 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1162 | done; \ | |
1163 | echo "Doing info in fastjar" ; \ | |
1164 | (cd fastjar && \ | |
1165 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1166 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1167 | "RANLIB=$${RANLIB}" \ | |
1168 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1169 | info) \ | |
1170 | || exit 1 | |
1171 | ||
1172 | ||
1173 | .PHONY: maybe-info-fileutils info-fileutils | |
1174 | maybe-info-fileutils: | |
1175 | ||
1176 | info-fileutils: \ | |
1177 | configure-fileutils | |
1178 | @[ -f ./fileutils/Makefile ] || exit 0; \ | |
1179 | r=`${PWD}`; export r; \ | |
1180 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1181 | $(SET_LIB_PATH) \ | |
1182 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1183 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1184 | done; \ | |
1185 | echo "Doing info in fileutils" ; \ | |
1186 | (cd fileutils && \ | |
1187 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1188 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1189 | "RANLIB=$${RANLIB}" \ | |
1190 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1191 | info) \ | |
1192 | || exit 1 | |
1193 | ||
1194 | ||
1195 | .PHONY: maybe-info-findutils info-findutils | |
1196 | maybe-info-findutils: | |
1197 | ||
1198 | info-findutils: \ | |
1199 | configure-findutils | |
1200 | @[ -f ./findutils/Makefile ] || exit 0; \ | |
1201 | r=`${PWD}`; export r; \ | |
1202 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1203 | $(SET_LIB_PATH) \ | |
1204 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1205 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1206 | done; \ | |
1207 | echo "Doing info in findutils" ; \ | |
1208 | (cd findutils && \ | |
1209 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1210 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1211 | "RANLIB=$${RANLIB}" \ | |
1212 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1213 | info) \ | |
1214 | || exit 1 | |
1215 | ||
1216 | ||
1217 | .PHONY: maybe-info-find info-find | |
1218 | maybe-info-find: | |
1219 | ||
1220 | info-find: \ | |
1221 | configure-find | |
1222 | @[ -f ./find/Makefile ] || exit 0; \ | |
1223 | r=`${PWD}`; export r; \ | |
1224 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1225 | $(SET_LIB_PATH) \ | |
1226 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1227 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1228 | done; \ | |
1229 | echo "Doing info in find" ; \ | |
1230 | (cd find && \ | |
1231 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1232 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1233 | "RANLIB=$${RANLIB}" \ | |
1234 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1235 | info) \ | |
1236 | || exit 1 | |
1237 | ||
1238 | ||
1239 | .PHONY: maybe-info-flex info-flex | |
1240 | maybe-info-flex: | |
1241 | ||
1242 | info-flex: \ | |
1243 | configure-flex | |
1244 | @[ -f ./flex/Makefile ] || exit 0; \ | |
1245 | r=`${PWD}`; export r; \ | |
1246 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1247 | $(SET_LIB_PATH) \ | |
1248 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1249 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1250 | done; \ | |
1251 | echo "Doing info in flex" ; \ | |
1252 | (cd flex && \ | |
1253 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1254 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1255 | "RANLIB=$${RANLIB}" \ | |
1256 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1257 | info) \ | |
1258 | || exit 1 | |
1259 | ||
1260 | ||
1261 | .PHONY: maybe-info-gas info-gas | |
1262 | maybe-info-gas: | |
1263 | ||
1264 | info-gas: \ | |
1265 | configure-gas | |
1266 | @[ -f ./gas/Makefile ] || exit 0; \ | |
1267 | r=`${PWD}`; export r; \ | |
1268 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1269 | $(SET_LIB_PATH) \ | |
1270 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1271 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1272 | done; \ | |
1273 | echo "Doing info in gas" ; \ | |
1274 | (cd gas && \ | |
1275 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1276 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1277 | "RANLIB=$${RANLIB}" \ | |
1278 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1279 | info) \ | |
1280 | || exit 1 | |
1281 | ||
1282 | ||
1283 | .PHONY: maybe-info-gawk info-gawk | |
1284 | maybe-info-gawk: | |
1285 | ||
1286 | info-gawk: \ | |
1287 | configure-gawk | |
1288 | @[ -f ./gawk/Makefile ] || exit 0; \ | |
1289 | r=`${PWD}`; export r; \ | |
1290 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1291 | $(SET_LIB_PATH) \ | |
1292 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1293 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1294 | done; \ | |
1295 | echo "Doing info in gawk" ; \ | |
1296 | (cd gawk && \ | |
1297 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1298 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1299 | "RANLIB=$${RANLIB}" \ | |
1300 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1301 | info) \ | |
1302 | || exit 1 | |
1303 | ||
1304 | ||
1305 | .PHONY: maybe-info-gettext info-gettext | |
1306 | maybe-info-gettext: | |
1307 | ||
1308 | info-gettext: \ | |
1309 | configure-gettext | |
1310 | @[ -f ./gettext/Makefile ] || exit 0; \ | |
1311 | r=`${PWD}`; export r; \ | |
1312 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1313 | $(SET_LIB_PATH) \ | |
1314 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1315 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1316 | done; \ | |
1317 | echo "Doing info in gettext" ; \ | |
1318 | (cd gettext && \ | |
1319 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1320 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1321 | "RANLIB=$${RANLIB}" \ | |
1322 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1323 | info) \ | |
1324 | || exit 1 | |
1325 | ||
1326 | ||
1327 | .PHONY: maybe-info-gnuserv info-gnuserv | |
1328 | maybe-info-gnuserv: | |
1329 | ||
1330 | info-gnuserv: \ | |
1331 | configure-gnuserv | |
1332 | @[ -f ./gnuserv/Makefile ] || exit 0; \ | |
1333 | r=`${PWD}`; export r; \ | |
1334 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1335 | $(SET_LIB_PATH) \ | |
1336 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1337 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1338 | done; \ | |
1339 | echo "Doing info in gnuserv" ; \ | |
1340 | (cd gnuserv && \ | |
1341 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1342 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1343 | "RANLIB=$${RANLIB}" \ | |
1344 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1345 | info) \ | |
1346 | || exit 1 | |
1347 | ||
1348 | ||
1349 | .PHONY: maybe-info-gprof info-gprof | |
1350 | maybe-info-gprof: | |
1351 | ||
1352 | info-gprof: \ | |
1353 | configure-gprof | |
1354 | @[ -f ./gprof/Makefile ] || exit 0; \ | |
1355 | r=`${PWD}`; export r; \ | |
1356 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1357 | $(SET_LIB_PATH) \ | |
1358 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1359 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1360 | done; \ | |
1361 | echo "Doing info in gprof" ; \ | |
1362 | (cd gprof && \ | |
1363 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1364 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1365 | "RANLIB=$${RANLIB}" \ | |
1366 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1367 | info) \ | |
1368 | || exit 1 | |
1369 | ||
1370 | ||
1371 | .PHONY: maybe-info-gzip info-gzip | |
1372 | maybe-info-gzip: | |
1373 | ||
1374 | info-gzip: \ | |
1375 | configure-gzip | |
1376 | @[ -f ./gzip/Makefile ] || exit 0; \ | |
1377 | r=`${PWD}`; export r; \ | |
1378 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1379 | $(SET_LIB_PATH) \ | |
1380 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1381 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1382 | done; \ | |
1383 | echo "Doing info in gzip" ; \ | |
1384 | (cd gzip && \ | |
1385 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1386 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1387 | "RANLIB=$${RANLIB}" \ | |
1388 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1389 | info) \ | |
1390 | || exit 1 | |
1391 | ||
1392 | ||
1393 | .PHONY: maybe-info-hello info-hello | |
1394 | maybe-info-hello: | |
1395 | ||
1396 | info-hello: \ | |
1397 | configure-hello | |
1398 | @[ -f ./hello/Makefile ] || exit 0; \ | |
1399 | r=`${PWD}`; export r; \ | |
1400 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1401 | $(SET_LIB_PATH) \ | |
1402 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1403 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1404 | done; \ | |
1405 | echo "Doing info in hello" ; \ | |
1406 | (cd hello && \ | |
1407 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1408 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1409 | "RANLIB=$${RANLIB}" \ | |
1410 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1411 | info) \ | |
1412 | || exit 1 | |
1413 | ||
1414 | ||
1415 | .PHONY: maybe-info-indent info-indent | |
1416 | maybe-info-indent: | |
1417 | ||
1418 | info-indent: \ | |
1419 | configure-indent | |
1420 | @[ -f ./indent/Makefile ] || exit 0; \ | |
1421 | r=`${PWD}`; export r; \ | |
1422 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1423 | $(SET_LIB_PATH) \ | |
1424 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1425 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1426 | done; \ | |
1427 | echo "Doing info in indent" ; \ | |
1428 | (cd indent && \ | |
1429 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1430 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1431 | "RANLIB=$${RANLIB}" \ | |
1432 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1433 | info) \ | |
1434 | || exit 1 | |
1435 | ||
1436 | ||
1437 | .PHONY: maybe-info-intl info-intl | |
1438 | maybe-info-intl: | |
1439 | ||
1440 | info-intl: \ | |
1441 | configure-intl | |
1442 | @[ -f ./intl/Makefile ] || exit 0; \ | |
1443 | r=`${PWD}`; export r; \ | |
1444 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1445 | $(SET_LIB_PATH) \ | |
1446 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1447 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1448 | done; \ | |
1449 | echo "Doing info in intl" ; \ | |
1450 | (cd intl && \ | |
1451 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1452 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1453 | "RANLIB=$${RANLIB}" \ | |
1454 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1455 | info) \ | |
1456 | || exit 1 | |
1457 | ||
1458 | ||
1459 | .PHONY: maybe-info-tcl info-tcl | |
1460 | maybe-info-tcl: | |
1461 | ||
1462 | info-tcl: \ | |
1463 | configure-tcl | |
1464 | @[ -f ./tcl/Makefile ] || exit 0; \ | |
1465 | r=`${PWD}`; export r; \ | |
1466 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1467 | $(SET_LIB_PATH) \ | |
1468 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1469 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1470 | done; \ | |
1471 | echo "Doing info in tcl" ; \ | |
1472 | (cd tcl && \ | |
1473 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1474 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1475 | "RANLIB=$${RANLIB}" \ | |
1476 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1477 | info) \ | |
1478 | || exit 1 | |
1479 | ||
1480 | ||
1481 | .PHONY: maybe-info-itcl info-itcl | |
1482 | maybe-info-itcl: | |
1483 | ||
1484 | info-itcl: \ | |
1485 | configure-itcl | |
1486 | @[ -f ./itcl/Makefile ] || exit 0; \ | |
1487 | r=`${PWD}`; export r; \ | |
1488 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1489 | $(SET_LIB_PATH) \ | |
1490 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1491 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1492 | done; \ | |
1493 | echo "Doing info in itcl" ; \ | |
1494 | (cd itcl && \ | |
1495 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1496 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1497 | "RANLIB=$${RANLIB}" \ | |
1498 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1499 | info) \ | |
1500 | || exit 1 | |
1501 | ||
1502 | ||
1503 | .PHONY: maybe-info-ld info-ld | |
1504 | maybe-info-ld: | |
1505 | ||
1506 | info-ld: \ | |
1507 | configure-ld | |
1508 | @[ -f ./ld/Makefile ] || exit 0; \ | |
1509 | r=`${PWD}`; export r; \ | |
1510 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1511 | $(SET_LIB_PATH) \ | |
1512 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1513 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1514 | done; \ | |
1515 | echo "Doing info in ld" ; \ | |
1516 | (cd ld && \ | |
1517 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1518 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1519 | "RANLIB=$${RANLIB}" \ | |
1520 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1521 | info) \ | |
1522 | || exit 1 | |
1523 | ||
1524 | ||
1525 | .PHONY: maybe-info-libgui info-libgui | |
1526 | maybe-info-libgui: | |
1527 | ||
1528 | info-libgui: \ | |
1529 | configure-libgui | |
1530 | @[ -f ./libgui/Makefile ] || exit 0; \ | |
1531 | r=`${PWD}`; export r; \ | |
1532 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1533 | $(SET_LIB_PATH) \ | |
1534 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1535 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1536 | done; \ | |
1537 | echo "Doing info in libgui" ; \ | |
1538 | (cd libgui && \ | |
1539 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1540 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1541 | "RANLIB=$${RANLIB}" \ | |
1542 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1543 | info) \ | |
1544 | || exit 1 | |
1545 | ||
1546 | ||
1547 | .PHONY: maybe-info-libiberty info-libiberty | |
1548 | maybe-info-libiberty: | |
1549 | ||
1550 | info-libiberty: \ | |
1551 | configure-libiberty | |
1552 | @[ -f ./libiberty/Makefile ] || exit 0; \ | |
1553 | r=`${PWD}`; export r; \ | |
1554 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1555 | $(SET_LIB_PATH) \ | |
1556 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1557 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1558 | done; \ | |
1559 | echo "Doing info in libiberty" ; \ | |
1560 | (cd libiberty && \ | |
1561 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1562 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1563 | "RANLIB=$${RANLIB}" \ | |
1564 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1565 | info) \ | |
1566 | || exit 1 | |
1567 | ||
1568 | ||
1569 | .PHONY: maybe-info-libtool info-libtool | |
1570 | maybe-info-libtool: | |
1571 | ||
1572 | info-libtool: \ | |
1573 | configure-libtool | |
1574 | @[ -f ./libtool/Makefile ] || exit 0; \ | |
1575 | r=`${PWD}`; export r; \ | |
1576 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1577 | $(SET_LIB_PATH) \ | |
1578 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1579 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1580 | done; \ | |
1581 | echo "Doing info in libtool" ; \ | |
1582 | (cd libtool && \ | |
1583 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1584 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1585 | "RANLIB=$${RANLIB}" \ | |
1586 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1587 | info) \ | |
1588 | || exit 1 | |
1589 | ||
1590 | ||
1591 | .PHONY: maybe-info-m4 info-m4 | |
1592 | maybe-info-m4: | |
1593 | ||
1594 | info-m4: \ | |
1595 | configure-m4 | |
1596 | @[ -f ./m4/Makefile ] || exit 0; \ | |
1597 | r=`${PWD}`; export r; \ | |
1598 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1599 | $(SET_LIB_PATH) \ | |
1600 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1601 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1602 | done; \ | |
1603 | echo "Doing info in m4" ; \ | |
1604 | (cd m4 && \ | |
1605 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1606 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1607 | "RANLIB=$${RANLIB}" \ | |
1608 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1609 | info) \ | |
1610 | || exit 1 | |
1611 | ||
1612 | ||
1613 | .PHONY: maybe-info-make info-make | |
1614 | maybe-info-make: | |
1615 | ||
1616 | info-make: \ | |
1617 | configure-make | |
1618 | @[ -f ./make/Makefile ] || exit 0; \ | |
1619 | r=`${PWD}`; export r; \ | |
1620 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1621 | $(SET_LIB_PATH) \ | |
1622 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1623 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1624 | done; \ | |
1625 | echo "Doing info in make" ; \ | |
1626 | (cd make && \ | |
1627 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1628 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1629 | "RANLIB=$${RANLIB}" \ | |
1630 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1631 | info) \ | |
1632 | || exit 1 | |
1633 | ||
1634 | ||
1635 | .PHONY: maybe-info-mmalloc info-mmalloc | |
1636 | maybe-info-mmalloc: | |
1637 | ||
1638 | info-mmalloc: \ | |
1639 | configure-mmalloc | |
1640 | @[ -f ./mmalloc/Makefile ] || exit 0; \ | |
1641 | r=`${PWD}`; export r; \ | |
1642 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1643 | $(SET_LIB_PATH) \ | |
1644 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1645 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1646 | done; \ | |
1647 | echo "Doing info in mmalloc" ; \ | |
1648 | (cd mmalloc && \ | |
1649 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1650 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1651 | "RANLIB=$${RANLIB}" \ | |
1652 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1653 | info) \ | |
1654 | || exit 1 | |
1655 | ||
1656 | ||
1657 | .PHONY: maybe-info-patch info-patch | |
1658 | maybe-info-patch: | |
1659 | ||
1660 | info-patch: \ | |
1661 | configure-patch | |
1662 | @[ -f ./patch/Makefile ] || exit 0; \ | |
1663 | r=`${PWD}`; export r; \ | |
1664 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1665 | $(SET_LIB_PATH) \ | |
1666 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1667 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1668 | done; \ | |
1669 | echo "Doing info in patch" ; \ | |
1670 | (cd patch && \ | |
1671 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1672 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1673 | "RANLIB=$${RANLIB}" \ | |
1674 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1675 | info) \ | |
1676 | || exit 1 | |
1677 | ||
1678 | ||
1679 | .PHONY: maybe-info-perl info-perl | |
1680 | maybe-info-perl: | |
1681 | ||
1682 | info-perl: \ | |
1683 | configure-perl | |
1684 | @[ -f ./perl/Makefile ] || exit 0; \ | |
1685 | r=`${PWD}`; export r; \ | |
1686 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1687 | $(SET_LIB_PATH) \ | |
1688 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1689 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1690 | done; \ | |
1691 | echo "Doing info in perl" ; \ | |
1692 | (cd perl && \ | |
1693 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1694 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1695 | "RANLIB=$${RANLIB}" \ | |
1696 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1697 | info) \ | |
1698 | || exit 1 | |
1699 | ||
1700 | ||
1701 | .PHONY: maybe-info-prms info-prms | |
1702 | maybe-info-prms: | |
1703 | ||
1704 | info-prms: \ | |
1705 | configure-prms | |
1706 | @[ -f ./prms/Makefile ] || exit 0; \ | |
1707 | r=`${PWD}`; export r; \ | |
1708 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1709 | $(SET_LIB_PATH) \ | |
1710 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1711 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1712 | done; \ | |
1713 | echo "Doing info in prms" ; \ | |
1714 | (cd prms && \ | |
1715 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1716 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1717 | "RANLIB=$${RANLIB}" \ | |
1718 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1719 | info) \ | |
1720 | || exit 1 | |
1721 | ||
1722 | ||
1723 | .PHONY: maybe-info-rcs info-rcs | |
1724 | maybe-info-rcs: | |
1725 | ||
1726 | info-rcs: \ | |
1727 | configure-rcs | |
1728 | @[ -f ./rcs/Makefile ] || exit 0; \ | |
1729 | r=`${PWD}`; export r; \ | |
1730 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1731 | $(SET_LIB_PATH) \ | |
1732 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1733 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1734 | done; \ | |
1735 | echo "Doing info in rcs" ; \ | |
1736 | (cd rcs && \ | |
1737 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1738 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1739 | "RANLIB=$${RANLIB}" \ | |
1740 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1741 | info) \ | |
1742 | || exit 1 | |
1743 | ||
1744 | ||
1745 | .PHONY: maybe-info-readline info-readline | |
1746 | maybe-info-readline: | |
1747 | ||
1748 | info-readline: \ | |
1749 | configure-readline | |
1750 | @[ -f ./readline/Makefile ] || exit 0; \ | |
1751 | r=`${PWD}`; export r; \ | |
1752 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1753 | $(SET_LIB_PATH) \ | |
1754 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1755 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1756 | done; \ | |
1757 | echo "Doing info in readline" ; \ | |
1758 | (cd readline && \ | |
1759 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1760 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1761 | "RANLIB=$${RANLIB}" \ | |
1762 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1763 | info) \ | |
1764 | || exit 1 | |
1765 | ||
1766 | ||
1767 | .PHONY: maybe-info-release info-release | |
1768 | maybe-info-release: | |
1769 | ||
1770 | info-release: \ | |
1771 | configure-release | |
1772 | @[ -f ./release/Makefile ] || exit 0; \ | |
1773 | r=`${PWD}`; export r; \ | |
1774 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1775 | $(SET_LIB_PATH) \ | |
1776 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1777 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1778 | done; \ | |
1779 | echo "Doing info in release" ; \ | |
1780 | (cd release && \ | |
1781 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1782 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1783 | "RANLIB=$${RANLIB}" \ | |
1784 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1785 | info) \ | |
1786 | || exit 1 | |
1787 | ||
1788 | ||
1789 | .PHONY: maybe-info-recode info-recode | |
1790 | maybe-info-recode: | |
1791 | ||
1792 | info-recode: \ | |
1793 | configure-recode | |
1794 | @[ -f ./recode/Makefile ] || exit 0; \ | |
1795 | r=`${PWD}`; export r; \ | |
1796 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1797 | $(SET_LIB_PATH) \ | |
1798 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1799 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1800 | done; \ | |
1801 | echo "Doing info in recode" ; \ | |
1802 | (cd recode && \ | |
1803 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1804 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1805 | "RANLIB=$${RANLIB}" \ | |
1806 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1807 | info) \ | |
1808 | || exit 1 | |
1809 | ||
1810 | ||
1811 | .PHONY: maybe-info-sed info-sed | |
1812 | maybe-info-sed: | |
1813 | ||
1814 | info-sed: \ | |
1815 | configure-sed | |
1816 | @[ -f ./sed/Makefile ] || exit 0; \ | |
1817 | r=`${PWD}`; export r; \ | |
1818 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1819 | $(SET_LIB_PATH) \ | |
1820 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1821 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1822 | done; \ | |
1823 | echo "Doing info in sed" ; \ | |
1824 | (cd sed && \ | |
1825 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1826 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1827 | "RANLIB=$${RANLIB}" \ | |
1828 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1829 | info) \ | |
1830 | || exit 1 | |
1831 | ||
1832 | ||
1833 | .PHONY: maybe-info-send-pr info-send-pr | |
1834 | maybe-info-send-pr: | |
1835 | ||
1836 | info-send-pr: \ | |
1837 | configure-send-pr | |
1838 | @[ -f ./send-pr/Makefile ] || exit 0; \ | |
1839 | r=`${PWD}`; export r; \ | |
1840 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1841 | $(SET_LIB_PATH) \ | |
1842 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1843 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1844 | done; \ | |
1845 | echo "Doing info in send-pr" ; \ | |
1846 | (cd send-pr && \ | |
1847 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1848 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1849 | "RANLIB=$${RANLIB}" \ | |
1850 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1851 | info) \ | |
1852 | || exit 1 | |
1853 | ||
1854 | ||
1855 | .PHONY: maybe-info-shellutils info-shellutils | |
1856 | maybe-info-shellutils: | |
1857 | ||
1858 | info-shellutils: \ | |
1859 | configure-shellutils | |
1860 | @[ -f ./shellutils/Makefile ] || exit 0; \ | |
1861 | r=`${PWD}`; export r; \ | |
1862 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1863 | $(SET_LIB_PATH) \ | |
1864 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1865 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1866 | done; \ | |
1867 | echo "Doing info in shellutils" ; \ | |
1868 | (cd shellutils && \ | |
1869 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1870 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1871 | "RANLIB=$${RANLIB}" \ | |
1872 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1873 | info) \ | |
1874 | || exit 1 | |
1875 | ||
1876 | ||
1877 | .PHONY: maybe-info-sid info-sid | |
1878 | maybe-info-sid: | |
1879 | ||
1880 | info-sid: \ | |
1881 | configure-sid | |
1882 | @[ -f ./sid/Makefile ] || exit 0; \ | |
1883 | r=`${PWD}`; export r; \ | |
1884 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1885 | $(SET_LIB_PATH) \ | |
1886 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1887 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1888 | done; \ | |
1889 | echo "Doing info in sid" ; \ | |
1890 | (cd sid && \ | |
1891 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1892 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1893 | "RANLIB=$${RANLIB}" \ | |
1894 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1895 | info) \ | |
1896 | || exit 1 | |
1897 | ||
1898 | ||
1899 | .PHONY: maybe-info-sim info-sim | |
1900 | maybe-info-sim: | |
1901 | ||
1902 | info-sim: \ | |
1903 | configure-sim | |
1904 | @[ -f ./sim/Makefile ] || exit 0; \ | |
1905 | r=`${PWD}`; export r; \ | |
1906 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1907 | $(SET_LIB_PATH) \ | |
1908 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1909 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1910 | done; \ | |
1911 | echo "Doing info in sim" ; \ | |
1912 | (cd sim && \ | |
1913 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1914 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1915 | "RANLIB=$${RANLIB}" \ | |
1916 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1917 | info) \ | |
1918 | || exit 1 | |
1919 | ||
1920 | ||
1921 | .PHONY: maybe-info-tar info-tar | |
1922 | maybe-info-tar: | |
1923 | ||
1924 | info-tar: \ | |
1925 | configure-tar | |
1926 | @[ -f ./tar/Makefile ] || exit 0; \ | |
1927 | r=`${PWD}`; export r; \ | |
1928 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1929 | $(SET_LIB_PATH) \ | |
1930 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1931 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1932 | done; \ | |
1933 | echo "Doing info in tar" ; \ | |
1934 | (cd tar && \ | |
1935 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1936 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1937 | "RANLIB=$${RANLIB}" \ | |
1938 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1939 | info) \ | |
1940 | || exit 1 | |
1941 | ||
1942 | ||
1943 | .PHONY: maybe-info-texinfo info-texinfo | |
1944 | maybe-info-texinfo: | |
1945 | ||
1946 | info-texinfo: \ | |
1947 | configure-texinfo | |
1948 | @[ -f ./texinfo/Makefile ] || exit 0; \ | |
1949 | r=`${PWD}`; export r; \ | |
1950 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1951 | $(SET_LIB_PATH) \ | |
1952 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1953 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1954 | done; \ | |
1955 | echo "Doing info in texinfo" ; \ | |
1956 | (cd texinfo && \ | |
1957 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1958 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1959 | "RANLIB=$${RANLIB}" \ | |
1960 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1961 | info) \ | |
1962 | || exit 1 | |
1963 | ||
1964 | ||
1965 | .PHONY: maybe-info-textutils info-textutils | |
1966 | maybe-info-textutils: | |
1967 | ||
1968 | info-textutils: \ | |
1969 | configure-textutils | |
1970 | @[ -f ./textutils/Makefile ] || exit 0; \ | |
1971 | r=`${PWD}`; export r; \ | |
1972 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1973 | $(SET_LIB_PATH) \ | |
1974 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1975 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1976 | done; \ | |
1977 | echo "Doing info in textutils" ; \ | |
1978 | (cd textutils && \ | |
1979 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
1980 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
1981 | "RANLIB=$${RANLIB}" \ | |
1982 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
1983 | info) \ | |
1984 | || exit 1 | |
1985 | ||
1986 | ||
1987 | .PHONY: maybe-info-time info-time | |
1988 | maybe-info-time: | |
1989 | ||
1990 | info-time: \ | |
1991 | configure-time | |
1992 | @[ -f ./time/Makefile ] || exit 0; \ | |
1993 | r=`${PWD}`; export r; \ | |
1994 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
1995 | $(SET_LIB_PATH) \ | |
1996 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
1997 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
1998 | done; \ | |
1999 | echo "Doing info in time" ; \ | |
2000 | (cd time && \ | |
2001 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2002 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2003 | "RANLIB=$${RANLIB}" \ | |
2004 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2005 | info) \ | |
2006 | || exit 1 | |
2007 | ||
2008 | ||
2009 | .PHONY: maybe-info-uudecode info-uudecode | |
2010 | maybe-info-uudecode: | |
2011 | ||
2012 | info-uudecode: \ | |
2013 | configure-uudecode | |
2014 | @[ -f ./uudecode/Makefile ] || exit 0; \ | |
2015 | r=`${PWD}`; export r; \ | |
2016 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2017 | $(SET_LIB_PATH) \ | |
2018 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2019 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2020 | done; \ | |
2021 | echo "Doing info in uudecode" ; \ | |
2022 | (cd uudecode && \ | |
2023 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2024 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2025 | "RANLIB=$${RANLIB}" \ | |
2026 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2027 | info) \ | |
2028 | || exit 1 | |
2029 | ||
2030 | ||
2031 | .PHONY: maybe-info-wdiff info-wdiff | |
2032 | maybe-info-wdiff: | |
2033 | ||
2034 | info-wdiff: \ | |
2035 | configure-wdiff | |
2036 | @[ -f ./wdiff/Makefile ] || exit 0; \ | |
2037 | r=`${PWD}`; export r; \ | |
2038 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2039 | $(SET_LIB_PATH) \ | |
2040 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2041 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2042 | done; \ | |
2043 | echo "Doing info in wdiff" ; \ | |
2044 | (cd wdiff && \ | |
2045 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2046 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2047 | "RANLIB=$${RANLIB}" \ | |
2048 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2049 | info) \ | |
2050 | || exit 1 | |
2051 | ||
2052 | ||
2053 | .PHONY: maybe-info-zip info-zip | |
2054 | maybe-info-zip: | |
2055 | ||
2056 | info-zip: \ | |
2057 | configure-zip | |
2058 | @[ -f ./zip/Makefile ] || exit 0; \ | |
2059 | r=`${PWD}`; export r; \ | |
2060 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2061 | $(SET_LIB_PATH) \ | |
2062 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2063 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2064 | done; \ | |
2065 | echo "Doing info in zip" ; \ | |
2066 | (cd zip && \ | |
2067 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2068 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2069 | "RANLIB=$${RANLIB}" \ | |
2070 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2071 | info) \ | |
2072 | || exit 1 | |
2073 | ||
2074 | ||
2075 | .PHONY: maybe-info-zlib info-zlib | |
2076 | maybe-info-zlib: | |
2077 | ||
2078 | info-zlib: \ | |
2079 | configure-zlib | |
2080 | @[ -f ./zlib/Makefile ] || exit 0; \ | |
2081 | r=`${PWD}`; export r; \ | |
2082 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2083 | $(SET_LIB_PATH) \ | |
2084 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2085 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2086 | done; \ | |
2087 | echo "Doing info in zlib" ; \ | |
2088 | (cd zlib && \ | |
2089 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2090 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2091 | "RANLIB=$${RANLIB}" \ | |
2092 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2093 | info) \ | |
2094 | || exit 1 | |
2095 | ||
2096 | ||
2097 | .PHONY: maybe-info-gdb info-gdb | |
2098 | maybe-info-gdb: | |
2099 | ||
2100 | info-gdb: \ | |
2101 | configure-gdb | |
2102 | @[ -f ./gdb/Makefile ] || exit 0; \ | |
2103 | r=`${PWD}`; export r; \ | |
2104 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2105 | $(SET_LIB_PATH) \ | |
2106 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2107 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2108 | done; \ | |
2109 | echo "Doing info in gdb" ; \ | |
2110 | (cd gdb && \ | |
2111 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2112 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2113 | "RANLIB=$${RANLIB}" \ | |
2114 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2115 | info) \ | |
2116 | || exit 1 | |
2117 | ||
2118 | ||
2119 | .PHONY: maybe-info-expect info-expect | |
2120 | maybe-info-expect: | |
2121 | ||
2122 | info-expect: \ | |
2123 | configure-expect | |
2124 | @[ -f ./expect/Makefile ] || exit 0; \ | |
2125 | r=`${PWD}`; export r; \ | |
2126 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2127 | $(SET_LIB_PATH) \ | |
2128 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2129 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2130 | done; \ | |
2131 | echo "Doing info in expect" ; \ | |
2132 | (cd expect && \ | |
2133 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2134 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2135 | "RANLIB=$${RANLIB}" \ | |
2136 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2137 | info) \ | |
2138 | || exit 1 | |
2139 | ||
2140 | ||
2141 | .PHONY: maybe-info-guile info-guile | |
2142 | maybe-info-guile: | |
2143 | ||
2144 | info-guile: \ | |
2145 | configure-guile | |
2146 | @[ -f ./guile/Makefile ] || exit 0; \ | |
2147 | r=`${PWD}`; export r; \ | |
2148 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2149 | $(SET_LIB_PATH) \ | |
2150 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2151 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2152 | done; \ | |
2153 | echo "Doing info in guile" ; \ | |
2154 | (cd guile && \ | |
2155 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2156 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2157 | "RANLIB=$${RANLIB}" \ | |
2158 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2159 | info) \ | |
2160 | || exit 1 | |
2161 | ||
2162 | ||
2163 | .PHONY: maybe-info-tk info-tk | |
2164 | maybe-info-tk: | |
2165 | ||
2166 | info-tk: \ | |
2167 | configure-tk | |
2168 | @[ -f ./tk/Makefile ] || exit 0; \ | |
2169 | r=`${PWD}`; export r; \ | |
2170 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2171 | $(SET_LIB_PATH) \ | |
2172 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2173 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2174 | done; \ | |
2175 | echo "Doing info in tk" ; \ | |
2176 | (cd tk && \ | |
2177 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2178 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2179 | "RANLIB=$${RANLIB}" \ | |
2180 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2181 | info) \ | |
2182 | || exit 1 | |
2183 | ||
2184 | ||
2185 | .PHONY: maybe-info-tix info-tix | |
2186 | maybe-info-tix: | |
2187 | ||
2188 | info-tix: \ | |
2189 | configure-tix | |
2190 | @[ -f ./tix/Makefile ] || exit 0; \ | |
2191 | r=`${PWD}`; export r; \ | |
2192 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2193 | $(SET_LIB_PATH) \ | |
2194 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2195 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2196 | done; \ | |
2197 | echo "Doing info in tix" ; \ | |
2198 | (cd tix && \ | |
2199 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2200 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2201 | "RANLIB=$${RANLIB}" \ | |
2202 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2203 | info) \ | |
2204 | || exit 1 | |
2205 | ||
2206 | ||
2207 | .PHONY: maybe-info-libtermcap info-libtermcap | |
2208 | maybe-info-libtermcap: | |
2209 | ||
2210 | info-libtermcap: \ | |
2211 | configure-libtermcap | |
2212 | @[ -f ./libtermcap/Makefile ] || exit 0; \ | |
2213 | r=`${PWD}`; export r; \ | |
2214 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2215 | $(SET_LIB_PATH) \ | |
2216 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2217 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2218 | done; \ | |
2219 | echo "Doing info in libtermcap" ; \ | |
2220 | (cd libtermcap && \ | |
2221 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2222 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2223 | "RANLIB=$${RANLIB}" \ | |
2224 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2225 | info) \ | |
2226 | || exit 1 | |
2227 | ||
2228 | ||
2229 | .PHONY: maybe-info-utils info-utils | |
2230 | maybe-info-utils: | |
2231 | ||
2232 | info-utils: \ | |
2233 | configure-utils | |
2234 | @[ -f ./utils/Makefile ] || exit 0; \ | |
2235 | r=`${PWD}`; export r; \ | |
2236 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2237 | $(SET_LIB_PATH) \ | |
2238 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2239 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2240 | done; \ | |
2241 | echo "Doing info in utils" ; \ | |
2242 | (cd utils && \ | |
2243 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2244 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2245 | "RANLIB=$${RANLIB}" \ | |
2246 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2247 | info) \ | |
2248 | || exit 1 | |
2249 | ||
2250 | ||
2251 | ||
2252 | # Target modules. | |
2253 | ||
2254 | .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3 | |
2255 | maybe-info-target-libstdc++-v3: | |
2256 | ||
2257 | info-target-libstdc++-v3: \ | |
2258 | configure-target-libstdc++-v3 | |
2259 | @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ | |
2260 | r=`${PWD}`; export r; \ | |
2261 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2262 | $(SET_LIB_PATH) \ | |
2263 | echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \ | |
2264 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2265 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2266 | done; \ | |
2267 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
2268 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2269 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2270 | "RANLIB=$${RANLIB}" \ | |
2271 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2272 | info) \ | |
2273 | || exit 1 | |
2274 | ||
2275 | ||
2276 | .PHONY: maybe-info-target-newlib info-target-newlib | |
2277 | maybe-info-target-newlib: | |
2278 | ||
2279 | info-target-newlib: \ | |
2280 | configure-target-newlib | |
2281 | @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ | |
2282 | r=`${PWD}`; export r; \ | |
2283 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2284 | $(SET_LIB_PATH) \ | |
2285 | echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \ | |
2286 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2287 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2288 | done; \ | |
2289 | (cd $(TARGET_SUBDIR)/newlib && \ | |
2290 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2291 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2292 | "RANLIB=$${RANLIB}" \ | |
2293 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2294 | info) \ | |
2295 | || exit 1 | |
2296 | ||
2297 | ||
2298 | .PHONY: maybe-info-target-libf2c info-target-libf2c | |
2299 | maybe-info-target-libf2c: | |
2300 | ||
2301 | info-target-libf2c: \ | |
2302 | configure-target-libf2c | |
2303 | @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \ | |
2304 | r=`${PWD}`; export r; \ | |
2305 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2306 | $(SET_LIB_PATH) \ | |
2307 | echo "Doing info in $(TARGET_SUBDIR)/libf2c" ; \ | |
2308 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2309 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2310 | done; \ | |
2311 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
2312 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2313 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2314 | "RANLIB=$${RANLIB}" \ | |
2315 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2316 | info) \ | |
2317 | || exit 1 | |
2318 | ||
2319 | ||
2320 | .PHONY: maybe-info-target-libobjc info-target-libobjc | |
2321 | maybe-info-target-libobjc: | |
2322 | ||
2323 | info-target-libobjc: \ | |
2324 | configure-target-libobjc | |
2325 | @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ | |
2326 | r=`${PWD}`; export r; \ | |
2327 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2328 | $(SET_LIB_PATH) \ | |
2329 | echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \ | |
2330 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2331 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2332 | done; \ | |
2333 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
2334 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2335 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2336 | "RANLIB=$${RANLIB}" \ | |
2337 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2338 | info) \ | |
2339 | || exit 1 | |
2340 | ||
2341 | ||
2342 | .PHONY: maybe-info-target-libtermcap info-target-libtermcap | |
2343 | maybe-info-target-libtermcap: | |
2344 | ||
2345 | info-target-libtermcap: \ | |
2346 | configure-target-libtermcap | |
2347 | @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ | |
2348 | r=`${PWD}`; export r; \ | |
2349 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2350 | $(SET_LIB_PATH) \ | |
2351 | echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \ | |
2352 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2353 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2354 | done; \ | |
2355 | (cd $(TARGET_SUBDIR)/libtermcap && \ | |
2356 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2357 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2358 | "RANLIB=$${RANLIB}" \ | |
2359 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2360 | info) \ | |
2361 | || exit 1 | |
2362 | ||
2363 | ||
2364 | .PHONY: maybe-info-target-winsup info-target-winsup | |
2365 | maybe-info-target-winsup: | |
2366 | ||
2367 | info-target-winsup: \ | |
2368 | configure-target-winsup | |
2369 | @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ | |
2370 | r=`${PWD}`; export r; \ | |
2371 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2372 | $(SET_LIB_PATH) \ | |
2373 | echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \ | |
2374 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2375 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2376 | done; \ | |
2377 | (cd $(TARGET_SUBDIR)/winsup && \ | |
2378 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2379 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2380 | "RANLIB=$${RANLIB}" \ | |
2381 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2382 | info) \ | |
2383 | || exit 1 | |
2384 | ||
2385 | ||
2386 | .PHONY: maybe-info-target-libgloss info-target-libgloss | |
2387 | maybe-info-target-libgloss: | |
2388 | ||
2389 | info-target-libgloss: \ | |
2390 | configure-target-libgloss | |
2391 | @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ | |
2392 | r=`${PWD}`; export r; \ | |
2393 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2394 | $(SET_LIB_PATH) \ | |
2395 | echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \ | |
2396 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2397 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2398 | done; \ | |
2399 | (cd $(TARGET_SUBDIR)/libgloss && \ | |
2400 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2401 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2402 | "RANLIB=$${RANLIB}" \ | |
2403 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2404 | info) \ | |
2405 | || exit 1 | |
2406 | ||
2407 | ||
2408 | .PHONY: maybe-info-target-libiberty info-target-libiberty | |
2409 | maybe-info-target-libiberty: | |
2410 | ||
2411 | info-target-libiberty: \ | |
2412 | configure-target-libiberty | |
2413 | @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ | |
2414 | r=`${PWD}`; export r; \ | |
2415 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2416 | $(SET_LIB_PATH) \ | |
2417 | echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \ | |
2418 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2419 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2420 | done; \ | |
2421 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
2422 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2423 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2424 | "RANLIB=$${RANLIB}" \ | |
2425 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2426 | info) \ | |
2427 | || exit 1 | |
2428 | ||
2429 | ||
2430 | .PHONY: maybe-info-target-gperf info-target-gperf | |
2431 | maybe-info-target-gperf: | |
2432 | ||
2433 | info-target-gperf: \ | |
2434 | configure-target-gperf | |
2435 | @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ | |
2436 | r=`${PWD}`; export r; \ | |
2437 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2438 | $(SET_LIB_PATH) \ | |
2439 | echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \ | |
2440 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2441 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2442 | done; \ | |
2443 | (cd $(TARGET_SUBDIR)/gperf && \ | |
2444 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2445 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2446 | "RANLIB=$${RANLIB}" \ | |
2447 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2448 | info) \ | |
2449 | || exit 1 | |
2450 | ||
2451 | ||
2452 | .PHONY: maybe-info-target-examples info-target-examples | |
2453 | maybe-info-target-examples: | |
2454 | ||
2455 | info-target-examples: \ | |
2456 | configure-target-examples | |
2457 | @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ | |
2458 | r=`${PWD}`; export r; \ | |
2459 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2460 | $(SET_LIB_PATH) \ | |
2461 | echo "Doing info in $(TARGET_SUBDIR)/examples" ; \ | |
2462 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2463 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2464 | done; \ | |
2465 | (cd $(TARGET_SUBDIR)/examples && \ | |
2466 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2467 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2468 | "RANLIB=$${RANLIB}" \ | |
2469 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2470 | info) \ | |
2471 | || exit 1 | |
2472 | ||
2473 | ||
2474 | .PHONY: maybe-info-target-libffi info-target-libffi | |
2475 | maybe-info-target-libffi: | |
2476 | ||
2477 | info-target-libffi: \ | |
2478 | configure-target-libffi | |
2479 | @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ | |
2480 | r=`${PWD}`; export r; \ | |
2481 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2482 | $(SET_LIB_PATH) \ | |
2483 | echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \ | |
2484 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2485 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2486 | done; \ | |
2487 | (cd $(TARGET_SUBDIR)/libffi && \ | |
2488 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2489 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2490 | "RANLIB=$${RANLIB}" \ | |
2491 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2492 | info) \ | |
2493 | || exit 1 | |
2494 | ||
2495 | ||
2496 | .PHONY: maybe-info-target-libjava info-target-libjava | |
2497 | maybe-info-target-libjava: | |
2498 | ||
2499 | info-target-libjava: \ | |
2500 | configure-target-libjava | |
2501 | @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ | |
2502 | r=`${PWD}`; export r; \ | |
2503 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2504 | $(SET_LIB_PATH) \ | |
2505 | echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \ | |
2506 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2507 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2508 | done; \ | |
2509 | (cd $(TARGET_SUBDIR)/libjava && \ | |
2510 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2511 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2512 | "RANLIB=$${RANLIB}" \ | |
2513 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2514 | info) \ | |
2515 | || exit 1 | |
2516 | ||
2517 | ||
2518 | .PHONY: maybe-info-target-zlib info-target-zlib | |
2519 | maybe-info-target-zlib: | |
2520 | ||
2521 | info-target-zlib: \ | |
2522 | configure-target-zlib | |
2523 | @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ | |
2524 | r=`${PWD}`; export r; \ | |
2525 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2526 | $(SET_LIB_PATH) \ | |
2527 | echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \ | |
2528 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2529 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2530 | done; \ | |
2531 | (cd $(TARGET_SUBDIR)/zlib && \ | |
2532 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2533 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2534 | "RANLIB=$${RANLIB}" \ | |
2535 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2536 | info) \ | |
2537 | || exit 1 | |
2538 | ||
2539 | ||
2540 | .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc | |
2541 | maybe-info-target-boehm-gc: | |
2542 | ||
2543 | info-target-boehm-gc: \ | |
2544 | configure-target-boehm-gc | |
2545 | @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ | |
2546 | r=`${PWD}`; export r; \ | |
2547 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2548 | $(SET_LIB_PATH) \ | |
2549 | echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \ | |
2550 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2551 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2552 | done; \ | |
2553 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
2554 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2555 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2556 | "RANLIB=$${RANLIB}" \ | |
2557 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2558 | info) \ | |
2559 | || exit 1 | |
2560 | ||
2561 | ||
2562 | .PHONY: maybe-info-target-qthreads info-target-qthreads | |
2563 | maybe-info-target-qthreads: | |
2564 | ||
2565 | info-target-qthreads: \ | |
2566 | configure-target-qthreads | |
2567 | @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ | |
2568 | r=`${PWD}`; export r; \ | |
2569 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2570 | $(SET_LIB_PATH) \ | |
2571 | echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \ | |
2572 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2573 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2574 | done; \ | |
2575 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
2576 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2577 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2578 | "RANLIB=$${RANLIB}" \ | |
2579 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2580 | info) \ | |
2581 | || exit 1 | |
2582 | ||
2583 | ||
2584 | .PHONY: maybe-info-target-rda info-target-rda | |
2585 | maybe-info-target-rda: | |
2586 | ||
2587 | info-target-rda: \ | |
2588 | configure-target-rda | |
2589 | @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ | |
2590 | r=`${PWD}`; export r; \ | |
2591 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2592 | $(SET_LIB_PATH) \ | |
2593 | echo "Doing info in $(TARGET_SUBDIR)/rda" ; \ | |
2594 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
2595 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2596 | done; \ | |
2597 | (cd $(TARGET_SUBDIR)/rda && \ | |
2598 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2599 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2600 | "RANLIB=$${RANLIB}" \ | |
2601 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2602 | info) \ | |
2603 | || exit 1 | |
2604 | ||
2605 | ||
2606 | ||
2607 | .PHONY: do-dvi | |
2608 | do-dvi: dvi-host dvi-target | |
2609 | ||
2610 | .PHONY: dvi-host | |
2611 | dvi-host: maybe-dvi-gcc \ | |
2612 | maybe-dvi-ash \ | |
2613 | maybe-dvi-autoconf \ | |
2614 | maybe-dvi-automake \ | |
2615 | maybe-dvi-bash \ | |
2616 | maybe-dvi-bfd \ | |
2617 | maybe-dvi-opcodes \ | |
2618 | maybe-dvi-binutils \ | |
2619 | maybe-dvi-bison \ | |
2620 | maybe-dvi-byacc \ | |
2621 | maybe-dvi-bzip2 \ | |
2622 | maybe-dvi-dejagnu \ | |
2623 | maybe-dvi-diff \ | |
2624 | maybe-dvi-dosutils \ | |
2625 | maybe-dvi-etc \ | |
2626 | maybe-dvi-fastjar \ | |
2627 | maybe-dvi-fileutils \ | |
2628 | maybe-dvi-findutils \ | |
2629 | maybe-dvi-find \ | |
2630 | maybe-dvi-flex \ | |
2631 | maybe-dvi-gas \ | |
2632 | maybe-dvi-gawk \ | |
2633 | maybe-dvi-gettext \ | |
2634 | maybe-dvi-gnuserv \ | |
2635 | maybe-dvi-gprof \ | |
2636 | maybe-dvi-gzip \ | |
2637 | maybe-dvi-hello \ | |
2638 | maybe-dvi-indent \ | |
2639 | maybe-dvi-intl \ | |
2640 | maybe-dvi-tcl \ | |
2641 | maybe-dvi-itcl \ | |
2642 | maybe-dvi-ld \ | |
2643 | maybe-dvi-libgui \ | |
2644 | maybe-dvi-libiberty \ | |
2645 | maybe-dvi-libtool \ | |
2646 | maybe-dvi-m4 \ | |
2647 | maybe-dvi-make \ | |
2648 | maybe-dvi-mmalloc \ | |
2649 | maybe-dvi-patch \ | |
2650 | maybe-dvi-perl \ | |
2651 | maybe-dvi-prms \ | |
2652 | maybe-dvi-rcs \ | |
2653 | maybe-dvi-readline \ | |
2654 | maybe-dvi-release \ | |
2655 | maybe-dvi-recode \ | |
2656 | maybe-dvi-sed \ | |
2657 | maybe-dvi-send-pr \ | |
2658 | maybe-dvi-shellutils \ | |
2659 | maybe-dvi-sid \ | |
2660 | maybe-dvi-sim \ | |
2661 | maybe-dvi-tar \ | |
2662 | maybe-dvi-texinfo \ | |
2663 | maybe-dvi-textutils \ | |
2664 | maybe-dvi-time \ | |
2665 | maybe-dvi-uudecode \ | |
2666 | maybe-dvi-wdiff \ | |
2667 | maybe-dvi-zip \ | |
2668 | maybe-dvi-zlib \ | |
2669 | maybe-dvi-gdb \ | |
2670 | maybe-dvi-expect \ | |
2671 | maybe-dvi-guile \ | |
2672 | maybe-dvi-tk \ | |
2673 | maybe-dvi-tix \ | |
2674 | maybe-dvi-libtermcap \ | |
2675 | maybe-dvi-utils | |
2676 | ||
2677 | .PHONY: dvi-target | |
2678 | dvi-target: \ | |
2679 | maybe-dvi-target-libstdc++-v3 \ | |
2680 | maybe-dvi-target-newlib \ | |
2681 | maybe-dvi-target-libf2c \ | |
2682 | maybe-dvi-target-libobjc \ | |
2683 | maybe-dvi-target-libtermcap \ | |
2684 | maybe-dvi-target-winsup \ | |
2685 | maybe-dvi-target-libgloss \ | |
2686 | maybe-dvi-target-libiberty \ | |
2687 | maybe-dvi-target-gperf \ | |
2688 | maybe-dvi-target-examples \ | |
2689 | maybe-dvi-target-libffi \ | |
2690 | maybe-dvi-target-libjava \ | |
2691 | maybe-dvi-target-zlib \ | |
2692 | maybe-dvi-target-boehm-gc \ | |
2693 | maybe-dvi-target-qthreads \ | |
2694 | maybe-dvi-target-rda | |
2695 | ||
2696 | # GCC, the eternal special case | |
2697 | .PHONY: maybe-dvi-gcc dvi-gcc | |
2698 | maybe-dvi-gcc: | |
2699 | dvi-gcc: \ | |
2700 | configure-gcc | |
2701 | @[ -f ./gcc/Makefile ] || exit 0; \ | |
2702 | r=`${PWD}`; export r; \ | |
2703 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2704 | $(SET_LIB_PATH) \ | |
2705 | for flag in $(EXTRA_GCC_FLAGS); do \ | |
2706 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2707 | done; \ | |
2708 | echo "Doing dvi in gcc" ; \ | |
2709 | (cd gcc && \ | |
2710 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2711 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2712 | "RANLIB=$${RANLIB}" \ | |
2713 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2714 | dvi) \ | |
2715 | || exit 1 | |
2716 | ||
2717 | # Host modules. | |
2718 | ||
2719 | .PHONY: maybe-dvi-ash dvi-ash | |
2720 | maybe-dvi-ash: | |
2721 | ||
2722 | dvi-ash: \ | |
2723 | configure-ash | |
2724 | @[ -f ./ash/Makefile ] || exit 0; \ | |
2725 | r=`${PWD}`; export r; \ | |
2726 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2727 | $(SET_LIB_PATH) \ | |
2728 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2729 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2730 | done; \ | |
2731 | echo "Doing dvi in ash" ; \ | |
2732 | (cd ash && \ | |
2733 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2734 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2735 | "RANLIB=$${RANLIB}" \ | |
2736 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2737 | dvi) \ | |
2738 | || exit 1 | |
2739 | ||
2740 | ||
2741 | .PHONY: maybe-dvi-autoconf dvi-autoconf | |
2742 | maybe-dvi-autoconf: | |
2743 | ||
2744 | dvi-autoconf: \ | |
2745 | configure-autoconf | |
2746 | @[ -f ./autoconf/Makefile ] || exit 0; \ | |
2747 | r=`${PWD}`; export r; \ | |
2748 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2749 | $(SET_LIB_PATH) \ | |
2750 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2751 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2752 | done; \ | |
2753 | echo "Doing dvi in autoconf" ; \ | |
2754 | (cd autoconf && \ | |
2755 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2756 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2757 | "RANLIB=$${RANLIB}" \ | |
2758 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2759 | dvi) \ | |
2760 | || exit 1 | |
2761 | ||
2762 | ||
2763 | .PHONY: maybe-dvi-automake dvi-automake | |
2764 | maybe-dvi-automake: | |
2765 | ||
2766 | dvi-automake: \ | |
2767 | configure-automake | |
2768 | @[ -f ./automake/Makefile ] || exit 0; \ | |
2769 | r=`${PWD}`; export r; \ | |
2770 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2771 | $(SET_LIB_PATH) \ | |
2772 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2773 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2774 | done; \ | |
2775 | echo "Doing dvi in automake" ; \ | |
2776 | (cd automake && \ | |
2777 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2778 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2779 | "RANLIB=$${RANLIB}" \ | |
2780 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2781 | dvi) \ | |
2782 | || exit 1 | |
2783 | ||
2784 | ||
2785 | .PHONY: maybe-dvi-bash dvi-bash | |
2786 | maybe-dvi-bash: | |
2787 | ||
2788 | dvi-bash: \ | |
2789 | configure-bash | |
2790 | @[ -f ./bash/Makefile ] || exit 0; \ | |
2791 | r=`${PWD}`; export r; \ | |
2792 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2793 | $(SET_LIB_PATH) \ | |
2794 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2795 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2796 | done; \ | |
2797 | echo "Doing dvi in bash" ; \ | |
2798 | (cd bash && \ | |
2799 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2800 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2801 | "RANLIB=$${RANLIB}" \ | |
2802 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2803 | dvi) \ | |
2804 | || exit 1 | |
2805 | ||
2806 | ||
2807 | .PHONY: maybe-dvi-bfd dvi-bfd | |
2808 | maybe-dvi-bfd: | |
2809 | ||
2810 | dvi-bfd: \ | |
2811 | configure-bfd | |
2812 | @[ -f ./bfd/Makefile ] || exit 0; \ | |
2813 | r=`${PWD}`; export r; \ | |
2814 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2815 | $(SET_LIB_PATH) \ | |
2816 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2817 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2818 | done; \ | |
2819 | echo "Doing dvi in bfd" ; \ | |
2820 | (cd bfd && \ | |
2821 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2822 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2823 | "RANLIB=$${RANLIB}" \ | |
2824 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2825 | dvi) \ | |
2826 | || exit 1 | |
2827 | ||
2828 | ||
2829 | .PHONY: maybe-dvi-opcodes dvi-opcodes | |
2830 | maybe-dvi-opcodes: | |
2831 | ||
2832 | dvi-opcodes: \ | |
2833 | configure-opcodes | |
2834 | @[ -f ./opcodes/Makefile ] || exit 0; \ | |
2835 | r=`${PWD}`; export r; \ | |
2836 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2837 | $(SET_LIB_PATH) \ | |
2838 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2839 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2840 | done; \ | |
2841 | echo "Doing dvi in opcodes" ; \ | |
2842 | (cd opcodes && \ | |
2843 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2844 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2845 | "RANLIB=$${RANLIB}" \ | |
2846 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2847 | dvi) \ | |
2848 | || exit 1 | |
2849 | ||
2850 | ||
2851 | .PHONY: maybe-dvi-binutils dvi-binutils | |
2852 | maybe-dvi-binutils: | |
2853 | ||
2854 | dvi-binutils: \ | |
2855 | configure-binutils | |
2856 | @[ -f ./binutils/Makefile ] || exit 0; \ | |
2857 | r=`${PWD}`; export r; \ | |
2858 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2859 | $(SET_LIB_PATH) \ | |
2860 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2861 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2862 | done; \ | |
2863 | echo "Doing dvi in binutils" ; \ | |
2864 | (cd binutils && \ | |
2865 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2866 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2867 | "RANLIB=$${RANLIB}" \ | |
2868 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2869 | dvi) \ | |
2870 | || exit 1 | |
2871 | ||
2872 | ||
2873 | .PHONY: maybe-dvi-bison dvi-bison | |
2874 | maybe-dvi-bison: | |
2875 | ||
2876 | dvi-bison: \ | |
2877 | configure-bison | |
2878 | @[ -f ./bison/Makefile ] || exit 0; \ | |
2879 | r=`${PWD}`; export r; \ | |
2880 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2881 | $(SET_LIB_PATH) \ | |
2882 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2883 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2884 | done; \ | |
2885 | echo "Doing dvi in bison" ; \ | |
2886 | (cd bison && \ | |
2887 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2888 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2889 | "RANLIB=$${RANLIB}" \ | |
2890 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2891 | dvi) \ | |
2892 | || exit 1 | |
2893 | ||
2894 | ||
2895 | .PHONY: maybe-dvi-byacc dvi-byacc | |
2896 | maybe-dvi-byacc: | |
2897 | ||
2898 | dvi-byacc: \ | |
2899 | configure-byacc | |
2900 | @[ -f ./byacc/Makefile ] || exit 0; \ | |
2901 | r=`${PWD}`; export r; \ | |
2902 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2903 | $(SET_LIB_PATH) \ | |
2904 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2905 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2906 | done; \ | |
2907 | echo "Doing dvi in byacc" ; \ | |
2908 | (cd byacc && \ | |
2909 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2910 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2911 | "RANLIB=$${RANLIB}" \ | |
2912 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2913 | dvi) \ | |
2914 | || exit 1 | |
2915 | ||
2916 | ||
2917 | .PHONY: maybe-dvi-bzip2 dvi-bzip2 | |
2918 | maybe-dvi-bzip2: | |
2919 | ||
2920 | dvi-bzip2: \ | |
2921 | configure-bzip2 | |
2922 | @[ -f ./bzip2/Makefile ] || exit 0; \ | |
2923 | r=`${PWD}`; export r; \ | |
2924 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2925 | $(SET_LIB_PATH) \ | |
2926 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2927 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2928 | done; \ | |
2929 | echo "Doing dvi in bzip2" ; \ | |
2930 | (cd bzip2 && \ | |
2931 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2932 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2933 | "RANLIB=$${RANLIB}" \ | |
2934 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2935 | dvi) \ | |
2936 | || exit 1 | |
2937 | ||
2938 | ||
2939 | .PHONY: maybe-dvi-dejagnu dvi-dejagnu | |
2940 | maybe-dvi-dejagnu: | |
2941 | ||
2942 | dvi-dejagnu: \ | |
2943 | configure-dejagnu | |
2944 | @[ -f ./dejagnu/Makefile ] || exit 0; \ | |
2945 | r=`${PWD}`; export r; \ | |
2946 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2947 | $(SET_LIB_PATH) \ | |
2948 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2949 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2950 | done; \ | |
2951 | echo "Doing dvi in dejagnu" ; \ | |
2952 | (cd dejagnu && \ | |
2953 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2954 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2955 | "RANLIB=$${RANLIB}" \ | |
2956 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2957 | dvi) \ | |
2958 | || exit 1 | |
2959 | ||
2960 | ||
2961 | .PHONY: maybe-dvi-diff dvi-diff | |
2962 | maybe-dvi-diff: | |
2963 | ||
2964 | dvi-diff: \ | |
2965 | configure-diff | |
2966 | @[ -f ./diff/Makefile ] || exit 0; \ | |
2967 | r=`${PWD}`; export r; \ | |
2968 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2969 | $(SET_LIB_PATH) \ | |
2970 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2971 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2972 | done; \ | |
2973 | echo "Doing dvi in diff" ; \ | |
2974 | (cd diff && \ | |
2975 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2976 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2977 | "RANLIB=$${RANLIB}" \ | |
2978 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
2979 | dvi) \ | |
2980 | || exit 1 | |
2981 | ||
2982 | ||
2983 | .PHONY: maybe-dvi-dosutils dvi-dosutils | |
2984 | maybe-dvi-dosutils: | |
2985 | ||
2986 | dvi-dosutils: \ | |
2987 | configure-dosutils | |
2988 | @[ -f ./dosutils/Makefile ] || exit 0; \ | |
2989 | r=`${PWD}`; export r; \ | |
2990 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
2991 | $(SET_LIB_PATH) \ | |
2992 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
2993 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
2994 | done; \ | |
2995 | echo "Doing dvi in dosutils" ; \ | |
2996 | (cd dosutils && \ | |
2997 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
2998 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
2999 | "RANLIB=$${RANLIB}" \ | |
3000 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3001 | dvi) \ | |
3002 | || exit 1 | |
3003 | ||
3004 | ||
3005 | .PHONY: maybe-dvi-etc dvi-etc | |
3006 | maybe-dvi-etc: | |
3007 | ||
3008 | dvi-etc: \ | |
3009 | configure-etc | |
3010 | @[ -f ./etc/Makefile ] || exit 0; \ | |
3011 | r=`${PWD}`; export r; \ | |
3012 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3013 | $(SET_LIB_PATH) \ | |
3014 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3015 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3016 | done; \ | |
3017 | echo "Doing dvi in etc" ; \ | |
3018 | (cd etc && \ | |
3019 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3020 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3021 | "RANLIB=$${RANLIB}" \ | |
3022 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3023 | dvi) \ | |
3024 | || exit 1 | |
3025 | ||
3026 | ||
3027 | .PHONY: maybe-dvi-fastjar dvi-fastjar | |
3028 | maybe-dvi-fastjar: | |
3029 | ||
3030 | dvi-fastjar: \ | |
3031 | configure-fastjar | |
3032 | @[ -f ./fastjar/Makefile ] || exit 0; \ | |
3033 | r=`${PWD}`; export r; \ | |
3034 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3035 | $(SET_LIB_PATH) \ | |
3036 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3037 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3038 | done; \ | |
3039 | echo "Doing dvi in fastjar" ; \ | |
3040 | (cd fastjar && \ | |
3041 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3042 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3043 | "RANLIB=$${RANLIB}" \ | |
3044 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3045 | dvi) \ | |
3046 | || exit 1 | |
3047 | ||
3048 | ||
3049 | .PHONY: maybe-dvi-fileutils dvi-fileutils | |
3050 | maybe-dvi-fileutils: | |
3051 | ||
3052 | dvi-fileutils: \ | |
3053 | configure-fileutils | |
3054 | @[ -f ./fileutils/Makefile ] || exit 0; \ | |
3055 | r=`${PWD}`; export r; \ | |
3056 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3057 | $(SET_LIB_PATH) \ | |
3058 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3059 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3060 | done; \ | |
3061 | echo "Doing dvi in fileutils" ; \ | |
3062 | (cd fileutils && \ | |
3063 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3064 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3065 | "RANLIB=$${RANLIB}" \ | |
3066 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3067 | dvi) \ | |
3068 | || exit 1 | |
3069 | ||
3070 | ||
3071 | .PHONY: maybe-dvi-findutils dvi-findutils | |
3072 | maybe-dvi-findutils: | |
3073 | ||
3074 | dvi-findutils: \ | |
3075 | configure-findutils | |
3076 | @[ -f ./findutils/Makefile ] || exit 0; \ | |
3077 | r=`${PWD}`; export r; \ | |
3078 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3079 | $(SET_LIB_PATH) \ | |
3080 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3081 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3082 | done; \ | |
3083 | echo "Doing dvi in findutils" ; \ | |
3084 | (cd findutils && \ | |
3085 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3086 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3087 | "RANLIB=$${RANLIB}" \ | |
3088 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3089 | dvi) \ | |
3090 | || exit 1 | |
3091 | ||
3092 | ||
3093 | .PHONY: maybe-dvi-find dvi-find | |
3094 | maybe-dvi-find: | |
3095 | ||
3096 | dvi-find: \ | |
3097 | configure-find | |
3098 | @[ -f ./find/Makefile ] || exit 0; \ | |
3099 | r=`${PWD}`; export r; \ | |
3100 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3101 | $(SET_LIB_PATH) \ | |
3102 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3103 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3104 | done; \ | |
3105 | echo "Doing dvi in find" ; \ | |
3106 | (cd find && \ | |
3107 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3108 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3109 | "RANLIB=$${RANLIB}" \ | |
3110 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3111 | dvi) \ | |
3112 | || exit 1 | |
3113 | ||
3114 | ||
3115 | .PHONY: maybe-dvi-flex dvi-flex | |
3116 | maybe-dvi-flex: | |
3117 | ||
3118 | dvi-flex: \ | |
3119 | configure-flex | |
3120 | @[ -f ./flex/Makefile ] || exit 0; \ | |
3121 | r=`${PWD}`; export r; \ | |
3122 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3123 | $(SET_LIB_PATH) \ | |
3124 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3125 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3126 | done; \ | |
3127 | echo "Doing dvi in flex" ; \ | |
3128 | (cd flex && \ | |
3129 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3130 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3131 | "RANLIB=$${RANLIB}" \ | |
3132 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3133 | dvi) \ | |
3134 | || exit 1 | |
3135 | ||
3136 | ||
3137 | .PHONY: maybe-dvi-gas dvi-gas | |
3138 | maybe-dvi-gas: | |
3139 | ||
3140 | dvi-gas: \ | |
3141 | configure-gas | |
3142 | @[ -f ./gas/Makefile ] || exit 0; \ | |
3143 | r=`${PWD}`; export r; \ | |
3144 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3145 | $(SET_LIB_PATH) \ | |
3146 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3147 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3148 | done; \ | |
3149 | echo "Doing dvi in gas" ; \ | |
3150 | (cd gas && \ | |
3151 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3152 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3153 | "RANLIB=$${RANLIB}" \ | |
3154 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3155 | dvi) \ | |
3156 | || exit 1 | |
3157 | ||
3158 | ||
3159 | .PHONY: maybe-dvi-gawk dvi-gawk | |
3160 | maybe-dvi-gawk: | |
3161 | ||
3162 | dvi-gawk: \ | |
3163 | configure-gawk | |
3164 | @[ -f ./gawk/Makefile ] || exit 0; \ | |
3165 | r=`${PWD}`; export r; \ | |
3166 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3167 | $(SET_LIB_PATH) \ | |
3168 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3169 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3170 | done; \ | |
3171 | echo "Doing dvi in gawk" ; \ | |
3172 | (cd gawk && \ | |
3173 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3174 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3175 | "RANLIB=$${RANLIB}" \ | |
3176 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3177 | dvi) \ | |
3178 | || exit 1 | |
3179 | ||
3180 | ||
3181 | .PHONY: maybe-dvi-gettext dvi-gettext | |
3182 | maybe-dvi-gettext: | |
3183 | ||
3184 | dvi-gettext: \ | |
3185 | configure-gettext | |
3186 | @[ -f ./gettext/Makefile ] || exit 0; \ | |
3187 | r=`${PWD}`; export r; \ | |
3188 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3189 | $(SET_LIB_PATH) \ | |
3190 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3191 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3192 | done; \ | |
3193 | echo "Doing dvi in gettext" ; \ | |
3194 | (cd gettext && \ | |
3195 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3196 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3197 | "RANLIB=$${RANLIB}" \ | |
3198 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3199 | dvi) \ | |
3200 | || exit 1 | |
3201 | ||
3202 | ||
3203 | .PHONY: maybe-dvi-gnuserv dvi-gnuserv | |
3204 | maybe-dvi-gnuserv: | |
3205 | ||
3206 | dvi-gnuserv: \ | |
3207 | configure-gnuserv | |
3208 | @[ -f ./gnuserv/Makefile ] || exit 0; \ | |
3209 | r=`${PWD}`; export r; \ | |
3210 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3211 | $(SET_LIB_PATH) \ | |
3212 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3213 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3214 | done; \ | |
3215 | echo "Doing dvi in gnuserv" ; \ | |
3216 | (cd gnuserv && \ | |
3217 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3218 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3219 | "RANLIB=$${RANLIB}" \ | |
3220 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3221 | dvi) \ | |
3222 | || exit 1 | |
3223 | ||
3224 | ||
3225 | .PHONY: maybe-dvi-gprof dvi-gprof | |
3226 | maybe-dvi-gprof: | |
3227 | ||
3228 | dvi-gprof: \ | |
3229 | configure-gprof | |
3230 | @[ -f ./gprof/Makefile ] || exit 0; \ | |
3231 | r=`${PWD}`; export r; \ | |
3232 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3233 | $(SET_LIB_PATH) \ | |
3234 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3235 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3236 | done; \ | |
3237 | echo "Doing dvi in gprof" ; \ | |
3238 | (cd gprof && \ | |
3239 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3240 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3241 | "RANLIB=$${RANLIB}" \ | |
3242 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3243 | dvi) \ | |
3244 | || exit 1 | |
3245 | ||
3246 | ||
3247 | .PHONY: maybe-dvi-gzip dvi-gzip | |
3248 | maybe-dvi-gzip: | |
3249 | ||
3250 | dvi-gzip: \ | |
3251 | configure-gzip | |
3252 | @[ -f ./gzip/Makefile ] || exit 0; \ | |
3253 | r=`${PWD}`; export r; \ | |
3254 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3255 | $(SET_LIB_PATH) \ | |
3256 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3257 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3258 | done; \ | |
3259 | echo "Doing dvi in gzip" ; \ | |
3260 | (cd gzip && \ | |
3261 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3262 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3263 | "RANLIB=$${RANLIB}" \ | |
3264 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3265 | dvi) \ | |
3266 | || exit 1 | |
3267 | ||
3268 | ||
3269 | .PHONY: maybe-dvi-hello dvi-hello | |
3270 | maybe-dvi-hello: | |
3271 | ||
3272 | dvi-hello: \ | |
3273 | configure-hello | |
3274 | @[ -f ./hello/Makefile ] || exit 0; \ | |
3275 | r=`${PWD}`; export r; \ | |
3276 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3277 | $(SET_LIB_PATH) \ | |
3278 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3279 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3280 | done; \ | |
3281 | echo "Doing dvi in hello" ; \ | |
3282 | (cd hello && \ | |
3283 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3284 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3285 | "RANLIB=$${RANLIB}" \ | |
3286 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3287 | dvi) \ | |
3288 | || exit 1 | |
3289 | ||
3290 | ||
3291 | .PHONY: maybe-dvi-indent dvi-indent | |
3292 | maybe-dvi-indent: | |
3293 | ||
3294 | dvi-indent: \ | |
3295 | configure-indent | |
3296 | @[ -f ./indent/Makefile ] || exit 0; \ | |
3297 | r=`${PWD}`; export r; \ | |
3298 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3299 | $(SET_LIB_PATH) \ | |
3300 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3301 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3302 | done; \ | |
3303 | echo "Doing dvi in indent" ; \ | |
3304 | (cd indent && \ | |
3305 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3306 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3307 | "RANLIB=$${RANLIB}" \ | |
3308 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3309 | dvi) \ | |
3310 | || exit 1 | |
3311 | ||
3312 | ||
3313 | .PHONY: maybe-dvi-intl dvi-intl | |
3314 | maybe-dvi-intl: | |
3315 | ||
3316 | dvi-intl: \ | |
3317 | configure-intl | |
3318 | @[ -f ./intl/Makefile ] || exit 0; \ | |
3319 | r=`${PWD}`; export r; \ | |
3320 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3321 | $(SET_LIB_PATH) \ | |
3322 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3323 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3324 | done; \ | |
3325 | echo "Doing dvi in intl" ; \ | |
3326 | (cd intl && \ | |
3327 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3328 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3329 | "RANLIB=$${RANLIB}" \ | |
3330 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3331 | dvi) \ | |
3332 | || exit 1 | |
3333 | ||
3334 | ||
3335 | .PHONY: maybe-dvi-tcl dvi-tcl | |
3336 | maybe-dvi-tcl: | |
3337 | ||
3338 | dvi-tcl: \ | |
3339 | configure-tcl | |
3340 | @[ -f ./tcl/Makefile ] || exit 0; \ | |
3341 | r=`${PWD}`; export r; \ | |
3342 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3343 | $(SET_LIB_PATH) \ | |
3344 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3345 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3346 | done; \ | |
3347 | echo "Doing dvi in tcl" ; \ | |
3348 | (cd tcl && \ | |
3349 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3350 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3351 | "RANLIB=$${RANLIB}" \ | |
3352 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3353 | dvi) \ | |
3354 | || exit 1 | |
3355 | ||
3356 | ||
3357 | .PHONY: maybe-dvi-itcl dvi-itcl | |
3358 | maybe-dvi-itcl: | |
3359 | ||
3360 | dvi-itcl: \ | |
3361 | configure-itcl | |
3362 | @[ -f ./itcl/Makefile ] || exit 0; \ | |
3363 | r=`${PWD}`; export r; \ | |
3364 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3365 | $(SET_LIB_PATH) \ | |
3366 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3367 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3368 | done; \ | |
3369 | echo "Doing dvi in itcl" ; \ | |
3370 | (cd itcl && \ | |
3371 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3372 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3373 | "RANLIB=$${RANLIB}" \ | |
3374 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3375 | dvi) \ | |
3376 | || exit 1 | |
3377 | ||
3378 | ||
3379 | .PHONY: maybe-dvi-ld dvi-ld | |
3380 | maybe-dvi-ld: | |
3381 | ||
3382 | dvi-ld: \ | |
3383 | configure-ld | |
3384 | @[ -f ./ld/Makefile ] || exit 0; \ | |
3385 | r=`${PWD}`; export r; \ | |
3386 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3387 | $(SET_LIB_PATH) \ | |
3388 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3389 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3390 | done; \ | |
3391 | echo "Doing dvi in ld" ; \ | |
3392 | (cd ld && \ | |
3393 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3394 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3395 | "RANLIB=$${RANLIB}" \ | |
3396 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3397 | dvi) \ | |
3398 | || exit 1 | |
3399 | ||
3400 | ||
3401 | .PHONY: maybe-dvi-libgui dvi-libgui | |
3402 | maybe-dvi-libgui: | |
3403 | ||
3404 | dvi-libgui: \ | |
3405 | configure-libgui | |
3406 | @[ -f ./libgui/Makefile ] || exit 0; \ | |
3407 | r=`${PWD}`; export r; \ | |
3408 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3409 | $(SET_LIB_PATH) \ | |
3410 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3411 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3412 | done; \ | |
3413 | echo "Doing dvi in libgui" ; \ | |
3414 | (cd libgui && \ | |
3415 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3416 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3417 | "RANLIB=$${RANLIB}" \ | |
3418 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3419 | dvi) \ | |
3420 | || exit 1 | |
3421 | ||
3422 | ||
3423 | .PHONY: maybe-dvi-libiberty dvi-libiberty | |
3424 | maybe-dvi-libiberty: | |
3425 | ||
3426 | dvi-libiberty: \ | |
3427 | configure-libiberty | |
3428 | @[ -f ./libiberty/Makefile ] || exit 0; \ | |
3429 | r=`${PWD}`; export r; \ | |
3430 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3431 | $(SET_LIB_PATH) \ | |
3432 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3433 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3434 | done; \ | |
3435 | echo "Doing dvi in libiberty" ; \ | |
3436 | (cd libiberty && \ | |
3437 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3438 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3439 | "RANLIB=$${RANLIB}" \ | |
3440 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3441 | dvi) \ | |
3442 | || exit 1 | |
3443 | ||
3444 | ||
3445 | .PHONY: maybe-dvi-libtool dvi-libtool | |
3446 | maybe-dvi-libtool: | |
3447 | ||
3448 | dvi-libtool: \ | |
3449 | configure-libtool | |
3450 | @[ -f ./libtool/Makefile ] || exit 0; \ | |
3451 | r=`${PWD}`; export r; \ | |
3452 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3453 | $(SET_LIB_PATH) \ | |
3454 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3455 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3456 | done; \ | |
3457 | echo "Doing dvi in libtool" ; \ | |
3458 | (cd libtool && \ | |
3459 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3460 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3461 | "RANLIB=$${RANLIB}" \ | |
3462 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3463 | dvi) \ | |
3464 | || exit 1 | |
3465 | ||
3466 | ||
3467 | .PHONY: maybe-dvi-m4 dvi-m4 | |
3468 | maybe-dvi-m4: | |
3469 | ||
3470 | dvi-m4: \ | |
3471 | configure-m4 | |
3472 | @[ -f ./m4/Makefile ] || exit 0; \ | |
3473 | r=`${PWD}`; export r; \ | |
3474 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3475 | $(SET_LIB_PATH) \ | |
3476 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3477 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3478 | done; \ | |
3479 | echo "Doing dvi in m4" ; \ | |
3480 | (cd m4 && \ | |
3481 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3482 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3483 | "RANLIB=$${RANLIB}" \ | |
3484 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3485 | dvi) \ | |
3486 | || exit 1 | |
3487 | ||
3488 | ||
3489 | .PHONY: maybe-dvi-make dvi-make | |
3490 | maybe-dvi-make: | |
3491 | ||
3492 | dvi-make: \ | |
3493 | configure-make | |
3494 | @[ -f ./make/Makefile ] || exit 0; \ | |
3495 | r=`${PWD}`; export r; \ | |
3496 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3497 | $(SET_LIB_PATH) \ | |
3498 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3499 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3500 | done; \ | |
3501 | echo "Doing dvi in make" ; \ | |
3502 | (cd make && \ | |
3503 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3504 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3505 | "RANLIB=$${RANLIB}" \ | |
3506 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3507 | dvi) \ | |
3508 | || exit 1 | |
3509 | ||
3510 | ||
3511 | .PHONY: maybe-dvi-mmalloc dvi-mmalloc | |
3512 | maybe-dvi-mmalloc: | |
3513 | ||
3514 | dvi-mmalloc: \ | |
3515 | configure-mmalloc | |
3516 | @[ -f ./mmalloc/Makefile ] || exit 0; \ | |
3517 | r=`${PWD}`; export r; \ | |
3518 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3519 | $(SET_LIB_PATH) \ | |
3520 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3521 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3522 | done; \ | |
3523 | echo "Doing dvi in mmalloc" ; \ | |
3524 | (cd mmalloc && \ | |
3525 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3526 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3527 | "RANLIB=$${RANLIB}" \ | |
3528 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3529 | dvi) \ | |
3530 | || exit 1 | |
3531 | ||
3532 | ||
3533 | .PHONY: maybe-dvi-patch dvi-patch | |
3534 | maybe-dvi-patch: | |
3535 | ||
3536 | dvi-patch: \ | |
3537 | configure-patch | |
3538 | @[ -f ./patch/Makefile ] || exit 0; \ | |
3539 | r=`${PWD}`; export r; \ | |
3540 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3541 | $(SET_LIB_PATH) \ | |
3542 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3543 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3544 | done; \ | |
3545 | echo "Doing dvi in patch" ; \ | |
3546 | (cd patch && \ | |
3547 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3548 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3549 | "RANLIB=$${RANLIB}" \ | |
3550 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3551 | dvi) \ | |
3552 | || exit 1 | |
3553 | ||
3554 | ||
3555 | .PHONY: maybe-dvi-perl dvi-perl | |
3556 | maybe-dvi-perl: | |
3557 | ||
3558 | dvi-perl: \ | |
3559 | configure-perl | |
3560 | @[ -f ./perl/Makefile ] || exit 0; \ | |
3561 | r=`${PWD}`; export r; \ | |
3562 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3563 | $(SET_LIB_PATH) \ | |
3564 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3565 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3566 | done; \ | |
3567 | echo "Doing dvi in perl" ; \ | |
3568 | (cd perl && \ | |
3569 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3570 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3571 | "RANLIB=$${RANLIB}" \ | |
3572 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3573 | dvi) \ | |
3574 | || exit 1 | |
3575 | ||
3576 | ||
3577 | .PHONY: maybe-dvi-prms dvi-prms | |
3578 | maybe-dvi-prms: | |
3579 | ||
3580 | dvi-prms: \ | |
3581 | configure-prms | |
3582 | @[ -f ./prms/Makefile ] || exit 0; \ | |
3583 | r=`${PWD}`; export r; \ | |
3584 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3585 | $(SET_LIB_PATH) \ | |
3586 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3587 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3588 | done; \ | |
3589 | echo "Doing dvi in prms" ; \ | |
3590 | (cd prms && \ | |
3591 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3592 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3593 | "RANLIB=$${RANLIB}" \ | |
3594 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3595 | dvi) \ | |
3596 | || exit 1 | |
3597 | ||
3598 | ||
3599 | .PHONY: maybe-dvi-rcs dvi-rcs | |
3600 | maybe-dvi-rcs: | |
3601 | ||
3602 | dvi-rcs: \ | |
3603 | configure-rcs | |
3604 | @[ -f ./rcs/Makefile ] || exit 0; \ | |
3605 | r=`${PWD}`; export r; \ | |
3606 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3607 | $(SET_LIB_PATH) \ | |
3608 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3609 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3610 | done; \ | |
3611 | echo "Doing dvi in rcs" ; \ | |
3612 | (cd rcs && \ | |
3613 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3614 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3615 | "RANLIB=$${RANLIB}" \ | |
3616 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3617 | dvi) \ | |
3618 | || exit 1 | |
3619 | ||
3620 | ||
3621 | .PHONY: maybe-dvi-readline dvi-readline | |
3622 | maybe-dvi-readline: | |
3623 | ||
3624 | dvi-readline: \ | |
3625 | configure-readline | |
3626 | @[ -f ./readline/Makefile ] || exit 0; \ | |
3627 | r=`${PWD}`; export r; \ | |
3628 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3629 | $(SET_LIB_PATH) \ | |
3630 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3631 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3632 | done; \ | |
3633 | echo "Doing dvi in readline" ; \ | |
3634 | (cd readline && \ | |
3635 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3636 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3637 | "RANLIB=$${RANLIB}" \ | |
3638 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3639 | dvi) \ | |
3640 | || exit 1 | |
3641 | ||
3642 | ||
3643 | .PHONY: maybe-dvi-release dvi-release | |
3644 | maybe-dvi-release: | |
3645 | ||
3646 | dvi-release: \ | |
3647 | configure-release | |
3648 | @[ -f ./release/Makefile ] || exit 0; \ | |
3649 | r=`${PWD}`; export r; \ | |
3650 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3651 | $(SET_LIB_PATH) \ | |
3652 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3653 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3654 | done; \ | |
3655 | echo "Doing dvi in release" ; \ | |
3656 | (cd release && \ | |
3657 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3658 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3659 | "RANLIB=$${RANLIB}" \ | |
3660 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3661 | dvi) \ | |
3662 | || exit 1 | |
3663 | ||
3664 | ||
3665 | .PHONY: maybe-dvi-recode dvi-recode | |
3666 | maybe-dvi-recode: | |
3667 | ||
3668 | dvi-recode: \ | |
3669 | configure-recode | |
3670 | @[ -f ./recode/Makefile ] || exit 0; \ | |
3671 | r=`${PWD}`; export r; \ | |
3672 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3673 | $(SET_LIB_PATH) \ | |
3674 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3675 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3676 | done; \ | |
3677 | echo "Doing dvi in recode" ; \ | |
3678 | (cd recode && \ | |
3679 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3680 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3681 | "RANLIB=$${RANLIB}" \ | |
3682 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3683 | dvi) \ | |
3684 | || exit 1 | |
3685 | ||
3686 | ||
3687 | .PHONY: maybe-dvi-sed dvi-sed | |
3688 | maybe-dvi-sed: | |
3689 | ||
3690 | dvi-sed: \ | |
3691 | configure-sed | |
3692 | @[ -f ./sed/Makefile ] || exit 0; \ | |
3693 | r=`${PWD}`; export r; \ | |
3694 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3695 | $(SET_LIB_PATH) \ | |
3696 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3697 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3698 | done; \ | |
3699 | echo "Doing dvi in sed" ; \ | |
3700 | (cd sed && \ | |
3701 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3702 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3703 | "RANLIB=$${RANLIB}" \ | |
3704 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3705 | dvi) \ | |
3706 | || exit 1 | |
3707 | ||
3708 | ||
3709 | .PHONY: maybe-dvi-send-pr dvi-send-pr | |
3710 | maybe-dvi-send-pr: | |
3711 | ||
3712 | dvi-send-pr: \ | |
3713 | configure-send-pr | |
3714 | @[ -f ./send-pr/Makefile ] || exit 0; \ | |
3715 | r=`${PWD}`; export r; \ | |
3716 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3717 | $(SET_LIB_PATH) \ | |
3718 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3719 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3720 | done; \ | |
3721 | echo "Doing dvi in send-pr" ; \ | |
3722 | (cd send-pr && \ | |
3723 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3724 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3725 | "RANLIB=$${RANLIB}" \ | |
3726 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3727 | dvi) \ | |
3728 | || exit 1 | |
3729 | ||
3730 | ||
3731 | .PHONY: maybe-dvi-shellutils dvi-shellutils | |
3732 | maybe-dvi-shellutils: | |
3733 | ||
3734 | dvi-shellutils: \ | |
3735 | configure-shellutils | |
3736 | @[ -f ./shellutils/Makefile ] || exit 0; \ | |
3737 | r=`${PWD}`; export r; \ | |
3738 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3739 | $(SET_LIB_PATH) \ | |
3740 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3741 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3742 | done; \ | |
3743 | echo "Doing dvi in shellutils" ; \ | |
3744 | (cd shellutils && \ | |
3745 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3746 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3747 | "RANLIB=$${RANLIB}" \ | |
3748 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3749 | dvi) \ | |
3750 | || exit 1 | |
3751 | ||
3752 | ||
3753 | .PHONY: maybe-dvi-sid dvi-sid | |
3754 | maybe-dvi-sid: | |
3755 | ||
3756 | dvi-sid: \ | |
3757 | configure-sid | |
3758 | @[ -f ./sid/Makefile ] || exit 0; \ | |
3759 | r=`${PWD}`; export r; \ | |
3760 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3761 | $(SET_LIB_PATH) \ | |
3762 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3763 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3764 | done; \ | |
3765 | echo "Doing dvi in sid" ; \ | |
3766 | (cd sid && \ | |
3767 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3768 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3769 | "RANLIB=$${RANLIB}" \ | |
3770 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3771 | dvi) \ | |
3772 | || exit 1 | |
3773 | ||
3774 | ||
3775 | .PHONY: maybe-dvi-sim dvi-sim | |
3776 | maybe-dvi-sim: | |
3777 | ||
3778 | dvi-sim: \ | |
3779 | configure-sim | |
3780 | @[ -f ./sim/Makefile ] || exit 0; \ | |
3781 | r=`${PWD}`; export r; \ | |
3782 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3783 | $(SET_LIB_PATH) \ | |
3784 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3785 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3786 | done; \ | |
3787 | echo "Doing dvi in sim" ; \ | |
3788 | (cd sim && \ | |
3789 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3790 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3791 | "RANLIB=$${RANLIB}" \ | |
3792 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3793 | dvi) \ | |
3794 | || exit 1 | |
3795 | ||
3796 | ||
3797 | .PHONY: maybe-dvi-tar dvi-tar | |
3798 | maybe-dvi-tar: | |
3799 | ||
3800 | dvi-tar: \ | |
3801 | configure-tar | |
3802 | @[ -f ./tar/Makefile ] || exit 0; \ | |
3803 | r=`${PWD}`; export r; \ | |
3804 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3805 | $(SET_LIB_PATH) \ | |
3806 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3807 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3808 | done; \ | |
3809 | echo "Doing dvi in tar" ; \ | |
3810 | (cd tar && \ | |
3811 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3812 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3813 | "RANLIB=$${RANLIB}" \ | |
3814 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3815 | dvi) \ | |
3816 | || exit 1 | |
3817 | ||
3818 | ||
3819 | .PHONY: maybe-dvi-texinfo dvi-texinfo | |
3820 | maybe-dvi-texinfo: | |
3821 | ||
3822 | dvi-texinfo: \ | |
3823 | configure-texinfo | |
3824 | @[ -f ./texinfo/Makefile ] || exit 0; \ | |
3825 | r=`${PWD}`; export r; \ | |
3826 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3827 | $(SET_LIB_PATH) \ | |
3828 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3829 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3830 | done; \ | |
3831 | echo "Doing dvi in texinfo" ; \ | |
3832 | (cd texinfo && \ | |
3833 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3834 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3835 | "RANLIB=$${RANLIB}" \ | |
3836 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3837 | dvi) \ | |
3838 | || exit 1 | |
3839 | ||
3840 | ||
3841 | .PHONY: maybe-dvi-textutils dvi-textutils | |
3842 | maybe-dvi-textutils: | |
3843 | ||
3844 | dvi-textutils: \ | |
3845 | configure-textutils | |
3846 | @[ -f ./textutils/Makefile ] || exit 0; \ | |
3847 | r=`${PWD}`; export r; \ | |
3848 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3849 | $(SET_LIB_PATH) \ | |
3850 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3851 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3852 | done; \ | |
3853 | echo "Doing dvi in textutils" ; \ | |
3854 | (cd textutils && \ | |
3855 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3856 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3857 | "RANLIB=$${RANLIB}" \ | |
3858 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3859 | dvi) \ | |
3860 | || exit 1 | |
3861 | ||
3862 | ||
3863 | .PHONY: maybe-dvi-time dvi-time | |
3864 | maybe-dvi-time: | |
3865 | ||
3866 | dvi-time: \ | |
3867 | configure-time | |
3868 | @[ -f ./time/Makefile ] || exit 0; \ | |
3869 | r=`${PWD}`; export r; \ | |
3870 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3871 | $(SET_LIB_PATH) \ | |
3872 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3873 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3874 | done; \ | |
3875 | echo "Doing dvi in time" ; \ | |
3876 | (cd time && \ | |
3877 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3878 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3879 | "RANLIB=$${RANLIB}" \ | |
3880 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3881 | dvi) \ | |
3882 | || exit 1 | |
3883 | ||
3884 | ||
3885 | .PHONY: maybe-dvi-uudecode dvi-uudecode | |
3886 | maybe-dvi-uudecode: | |
3887 | ||
3888 | dvi-uudecode: \ | |
3889 | configure-uudecode | |
3890 | @[ -f ./uudecode/Makefile ] || exit 0; \ | |
3891 | r=`${PWD}`; export r; \ | |
3892 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3893 | $(SET_LIB_PATH) \ | |
3894 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3895 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3896 | done; \ | |
3897 | echo "Doing dvi in uudecode" ; \ | |
3898 | (cd uudecode && \ | |
3899 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3900 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3901 | "RANLIB=$${RANLIB}" \ | |
3902 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3903 | dvi) \ | |
3904 | || exit 1 | |
3905 | ||
3906 | ||
3907 | .PHONY: maybe-dvi-wdiff dvi-wdiff | |
3908 | maybe-dvi-wdiff: | |
3909 | ||
3910 | dvi-wdiff: \ | |
3911 | configure-wdiff | |
3912 | @[ -f ./wdiff/Makefile ] || exit 0; \ | |
3913 | r=`${PWD}`; export r; \ | |
3914 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3915 | $(SET_LIB_PATH) \ | |
3916 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3917 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3918 | done; \ | |
3919 | echo "Doing dvi in wdiff" ; \ | |
3920 | (cd wdiff && \ | |
3921 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3922 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3923 | "RANLIB=$${RANLIB}" \ | |
3924 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3925 | dvi) \ | |
3926 | || exit 1 | |
3927 | ||
3928 | ||
3929 | .PHONY: maybe-dvi-zip dvi-zip | |
3930 | maybe-dvi-zip: | |
3931 | ||
3932 | dvi-zip: \ | |
3933 | configure-zip | |
3934 | @[ -f ./zip/Makefile ] || exit 0; \ | |
3935 | r=`${PWD}`; export r; \ | |
3936 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3937 | $(SET_LIB_PATH) \ | |
3938 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3939 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3940 | done; \ | |
3941 | echo "Doing dvi in zip" ; \ | |
3942 | (cd zip && \ | |
3943 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3944 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3945 | "RANLIB=$${RANLIB}" \ | |
3946 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3947 | dvi) \ | |
3948 | || exit 1 | |
3949 | ||
3950 | ||
3951 | .PHONY: maybe-dvi-zlib dvi-zlib | |
3952 | maybe-dvi-zlib: | |
3953 | ||
3954 | dvi-zlib: \ | |
3955 | configure-zlib | |
3956 | @[ -f ./zlib/Makefile ] || exit 0; \ | |
3957 | r=`${PWD}`; export r; \ | |
3958 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3959 | $(SET_LIB_PATH) \ | |
3960 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3961 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3962 | done; \ | |
3963 | echo "Doing dvi in zlib" ; \ | |
3964 | (cd zlib && \ | |
3965 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3966 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3967 | "RANLIB=$${RANLIB}" \ | |
3968 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3969 | dvi) \ | |
3970 | || exit 1 | |
3971 | ||
3972 | ||
3973 | .PHONY: maybe-dvi-gdb dvi-gdb | |
3974 | maybe-dvi-gdb: | |
3975 | ||
3976 | dvi-gdb: \ | |
3977 | configure-gdb | |
3978 | @[ -f ./gdb/Makefile ] || exit 0; \ | |
3979 | r=`${PWD}`; export r; \ | |
3980 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
3981 | $(SET_LIB_PATH) \ | |
3982 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
3983 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
3984 | done; \ | |
3985 | echo "Doing dvi in gdb" ; \ | |
3986 | (cd gdb && \ | |
3987 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
3988 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
3989 | "RANLIB=$${RANLIB}" \ | |
3990 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
3991 | dvi) \ | |
3992 | || exit 1 | |
3993 | ||
3994 | ||
3995 | .PHONY: maybe-dvi-expect dvi-expect | |
3996 | maybe-dvi-expect: | |
3997 | ||
3998 | dvi-expect: \ | |
3999 | configure-expect | |
4000 | @[ -f ./expect/Makefile ] || exit 0; \ | |
4001 | r=`${PWD}`; export r; \ | |
4002 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4003 | $(SET_LIB_PATH) \ | |
4004 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4005 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4006 | done; \ | |
4007 | echo "Doing dvi in expect" ; \ | |
4008 | (cd expect && \ | |
4009 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4010 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4011 | "RANLIB=$${RANLIB}" \ | |
4012 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4013 | dvi) \ | |
4014 | || exit 1 | |
4015 | ||
4016 | ||
4017 | .PHONY: maybe-dvi-guile dvi-guile | |
4018 | maybe-dvi-guile: | |
4019 | ||
4020 | dvi-guile: \ | |
4021 | configure-guile | |
4022 | @[ -f ./guile/Makefile ] || exit 0; \ | |
4023 | r=`${PWD}`; export r; \ | |
4024 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4025 | $(SET_LIB_PATH) \ | |
4026 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4027 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4028 | done; \ | |
4029 | echo "Doing dvi in guile" ; \ | |
4030 | (cd guile && \ | |
4031 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4032 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4033 | "RANLIB=$${RANLIB}" \ | |
4034 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4035 | dvi) \ | |
4036 | || exit 1 | |
4037 | ||
4038 | ||
4039 | .PHONY: maybe-dvi-tk dvi-tk | |
4040 | maybe-dvi-tk: | |
4041 | ||
4042 | dvi-tk: \ | |
4043 | configure-tk | |
4044 | @[ -f ./tk/Makefile ] || exit 0; \ | |
4045 | r=`${PWD}`; export r; \ | |
4046 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4047 | $(SET_LIB_PATH) \ | |
4048 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4049 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4050 | done; \ | |
4051 | echo "Doing dvi in tk" ; \ | |
4052 | (cd tk && \ | |
4053 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4054 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4055 | "RANLIB=$${RANLIB}" \ | |
4056 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4057 | dvi) \ | |
4058 | || exit 1 | |
4059 | ||
4060 | ||
4061 | .PHONY: maybe-dvi-tix dvi-tix | |
4062 | maybe-dvi-tix: | |
4063 | ||
4064 | dvi-tix: \ | |
4065 | configure-tix | |
4066 | @[ -f ./tix/Makefile ] || exit 0; \ | |
4067 | r=`${PWD}`; export r; \ | |
4068 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4069 | $(SET_LIB_PATH) \ | |
4070 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4071 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4072 | done; \ | |
4073 | echo "Doing dvi in tix" ; \ | |
4074 | (cd tix && \ | |
4075 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4076 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4077 | "RANLIB=$${RANLIB}" \ | |
4078 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4079 | dvi) \ | |
4080 | || exit 1 | |
4081 | ||
4082 | ||
4083 | .PHONY: maybe-dvi-libtermcap dvi-libtermcap | |
4084 | maybe-dvi-libtermcap: | |
4085 | ||
4086 | dvi-libtermcap: \ | |
4087 | configure-libtermcap | |
4088 | @[ -f ./libtermcap/Makefile ] || exit 0; \ | |
4089 | r=`${PWD}`; export r; \ | |
4090 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4091 | $(SET_LIB_PATH) \ | |
4092 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4093 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4094 | done; \ | |
4095 | echo "Doing dvi in libtermcap" ; \ | |
4096 | (cd libtermcap && \ | |
4097 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4098 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4099 | "RANLIB=$${RANLIB}" \ | |
4100 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4101 | dvi) \ | |
4102 | || exit 1 | |
4103 | ||
4104 | ||
4105 | .PHONY: maybe-dvi-utils dvi-utils | |
4106 | maybe-dvi-utils: | |
4107 | ||
4108 | dvi-utils: \ | |
4109 | configure-utils | |
4110 | @[ -f ./utils/Makefile ] || exit 0; \ | |
4111 | r=`${PWD}`; export r; \ | |
4112 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4113 | $(SET_LIB_PATH) \ | |
4114 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4115 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4116 | done; \ | |
4117 | echo "Doing dvi in utils" ; \ | |
4118 | (cd utils && \ | |
4119 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4120 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4121 | "RANLIB=$${RANLIB}" \ | |
4122 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4123 | dvi) \ | |
4124 | || exit 1 | |
4125 | ||
4126 | ||
4127 | ||
4128 | # Target modules. | |
4129 | ||
4130 | .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3 | |
4131 | maybe-dvi-target-libstdc++-v3: | |
4132 | ||
4133 | dvi-target-libstdc++-v3: \ | |
4134 | configure-target-libstdc++-v3 | |
4135 | @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ | |
4136 | r=`${PWD}`; export r; \ | |
4137 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4138 | $(SET_LIB_PATH) \ | |
4139 | echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \ | |
4140 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4141 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4142 | done; \ | |
4143 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
4144 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4145 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4146 | "RANLIB=$${RANLIB}" \ | |
4147 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4148 | dvi) \ | |
4149 | || exit 1 | |
4150 | ||
4151 | ||
4152 | .PHONY: maybe-dvi-target-newlib dvi-target-newlib | |
4153 | maybe-dvi-target-newlib: | |
4154 | ||
4155 | dvi-target-newlib: \ | |
4156 | configure-target-newlib | |
4157 | @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ | |
4158 | r=`${PWD}`; export r; \ | |
4159 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4160 | $(SET_LIB_PATH) \ | |
4161 | echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \ | |
4162 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4163 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4164 | done; \ | |
4165 | (cd $(TARGET_SUBDIR)/newlib && \ | |
4166 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4167 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4168 | "RANLIB=$${RANLIB}" \ | |
4169 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4170 | dvi) \ | |
4171 | || exit 1 | |
4172 | ||
4173 | ||
4174 | .PHONY: maybe-dvi-target-libf2c dvi-target-libf2c | |
4175 | maybe-dvi-target-libf2c: | |
4176 | ||
4177 | dvi-target-libf2c: \ | |
4178 | configure-target-libf2c | |
4179 | @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \ | |
4180 | r=`${PWD}`; export r; \ | |
4181 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4182 | $(SET_LIB_PATH) \ | |
4183 | echo "Doing dvi in $(TARGET_SUBDIR)/libf2c" ; \ | |
4184 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4185 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4186 | done; \ | |
4187 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
4188 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4189 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4190 | "RANLIB=$${RANLIB}" \ | |
4191 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4192 | dvi) \ | |
4193 | || exit 1 | |
4194 | ||
4195 | ||
4196 | .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc | |
4197 | maybe-dvi-target-libobjc: | |
4198 | ||
4199 | dvi-target-libobjc: \ | |
4200 | configure-target-libobjc | |
4201 | @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ | |
4202 | r=`${PWD}`; export r; \ | |
4203 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4204 | $(SET_LIB_PATH) \ | |
4205 | echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \ | |
4206 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4207 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4208 | done; \ | |
4209 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
4210 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4211 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4212 | "RANLIB=$${RANLIB}" \ | |
4213 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4214 | dvi) \ | |
4215 | || exit 1 | |
4216 | ||
4217 | ||
4218 | .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap | |
4219 | maybe-dvi-target-libtermcap: | |
4220 | ||
4221 | dvi-target-libtermcap: \ | |
4222 | configure-target-libtermcap | |
4223 | @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ | |
4224 | r=`${PWD}`; export r; \ | |
4225 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4226 | $(SET_LIB_PATH) \ | |
4227 | echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \ | |
4228 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4229 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4230 | done; \ | |
4231 | (cd $(TARGET_SUBDIR)/libtermcap && \ | |
4232 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4233 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4234 | "RANLIB=$${RANLIB}" \ | |
4235 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4236 | dvi) \ | |
4237 | || exit 1 | |
4238 | ||
4239 | ||
4240 | .PHONY: maybe-dvi-target-winsup dvi-target-winsup | |
4241 | maybe-dvi-target-winsup: | |
4242 | ||
4243 | dvi-target-winsup: \ | |
4244 | configure-target-winsup | |
4245 | @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ | |
4246 | r=`${PWD}`; export r; \ | |
4247 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4248 | $(SET_LIB_PATH) \ | |
4249 | echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \ | |
4250 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4251 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4252 | done; \ | |
4253 | (cd $(TARGET_SUBDIR)/winsup && \ | |
4254 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4255 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4256 | "RANLIB=$${RANLIB}" \ | |
4257 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4258 | dvi) \ | |
4259 | || exit 1 | |
4260 | ||
4261 | ||
4262 | .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss | |
4263 | maybe-dvi-target-libgloss: | |
4264 | ||
4265 | dvi-target-libgloss: \ | |
4266 | configure-target-libgloss | |
4267 | @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ | |
4268 | r=`${PWD}`; export r; \ | |
4269 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4270 | $(SET_LIB_PATH) \ | |
4271 | echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \ | |
4272 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4273 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4274 | done; \ | |
4275 | (cd $(TARGET_SUBDIR)/libgloss && \ | |
4276 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4277 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4278 | "RANLIB=$${RANLIB}" \ | |
4279 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4280 | dvi) \ | |
4281 | || exit 1 | |
4282 | ||
4283 | ||
4284 | .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty | |
4285 | maybe-dvi-target-libiberty: | |
4286 | ||
4287 | dvi-target-libiberty: \ | |
4288 | configure-target-libiberty | |
4289 | @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ | |
4290 | r=`${PWD}`; export r; \ | |
4291 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4292 | $(SET_LIB_PATH) \ | |
4293 | echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \ | |
4294 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4295 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4296 | done; \ | |
4297 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
4298 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4299 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4300 | "RANLIB=$${RANLIB}" \ | |
4301 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4302 | dvi) \ | |
4303 | || exit 1 | |
4304 | ||
4305 | ||
4306 | .PHONY: maybe-dvi-target-gperf dvi-target-gperf | |
4307 | maybe-dvi-target-gperf: | |
4308 | ||
4309 | dvi-target-gperf: \ | |
4310 | configure-target-gperf | |
4311 | @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ | |
4312 | r=`${PWD}`; export r; \ | |
4313 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4314 | $(SET_LIB_PATH) \ | |
4315 | echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \ | |
4316 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4317 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4318 | done; \ | |
4319 | (cd $(TARGET_SUBDIR)/gperf && \ | |
4320 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4321 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4322 | "RANLIB=$${RANLIB}" \ | |
4323 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4324 | dvi) \ | |
4325 | || exit 1 | |
4326 | ||
4327 | ||
4328 | .PHONY: maybe-dvi-target-examples dvi-target-examples | |
4329 | maybe-dvi-target-examples: | |
4330 | ||
4331 | dvi-target-examples: \ | |
4332 | configure-target-examples | |
4333 | @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ | |
4334 | r=`${PWD}`; export r; \ | |
4335 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4336 | $(SET_LIB_PATH) \ | |
4337 | echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \ | |
4338 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4339 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4340 | done; \ | |
4341 | (cd $(TARGET_SUBDIR)/examples && \ | |
4342 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4343 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4344 | "RANLIB=$${RANLIB}" \ | |
4345 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4346 | dvi) \ | |
4347 | || exit 1 | |
4348 | ||
4349 | ||
4350 | .PHONY: maybe-dvi-target-libffi dvi-target-libffi | |
4351 | maybe-dvi-target-libffi: | |
4352 | ||
4353 | dvi-target-libffi: \ | |
4354 | configure-target-libffi | |
4355 | @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ | |
4356 | r=`${PWD}`; export r; \ | |
4357 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4358 | $(SET_LIB_PATH) \ | |
4359 | echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \ | |
4360 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4361 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4362 | done; \ | |
4363 | (cd $(TARGET_SUBDIR)/libffi && \ | |
4364 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4365 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4366 | "RANLIB=$${RANLIB}" \ | |
4367 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4368 | dvi) \ | |
4369 | || exit 1 | |
4370 | ||
4371 | ||
4372 | .PHONY: maybe-dvi-target-libjava dvi-target-libjava | |
4373 | maybe-dvi-target-libjava: | |
4374 | ||
4375 | dvi-target-libjava: \ | |
4376 | configure-target-libjava | |
4377 | @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ | |
4378 | r=`${PWD}`; export r; \ | |
4379 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4380 | $(SET_LIB_PATH) \ | |
4381 | echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \ | |
4382 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4383 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4384 | done; \ | |
4385 | (cd $(TARGET_SUBDIR)/libjava && \ | |
4386 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4387 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4388 | "RANLIB=$${RANLIB}" \ | |
4389 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4390 | dvi) \ | |
4391 | || exit 1 | |
4392 | ||
4393 | ||
4394 | .PHONY: maybe-dvi-target-zlib dvi-target-zlib | |
4395 | maybe-dvi-target-zlib: | |
4396 | ||
4397 | dvi-target-zlib: \ | |
4398 | configure-target-zlib | |
4399 | @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ | |
4400 | r=`${PWD}`; export r; \ | |
4401 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4402 | $(SET_LIB_PATH) \ | |
4403 | echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \ | |
4404 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4405 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4406 | done; \ | |
4407 | (cd $(TARGET_SUBDIR)/zlib && \ | |
4408 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4409 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4410 | "RANLIB=$${RANLIB}" \ | |
4411 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4412 | dvi) \ | |
4413 | || exit 1 | |
4414 | ||
4415 | ||
4416 | .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc | |
4417 | maybe-dvi-target-boehm-gc: | |
4418 | ||
4419 | dvi-target-boehm-gc: \ | |
4420 | configure-target-boehm-gc | |
4421 | @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ | |
4422 | r=`${PWD}`; export r; \ | |
4423 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4424 | $(SET_LIB_PATH) \ | |
4425 | echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \ | |
4426 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4427 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4428 | done; \ | |
4429 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
4430 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4431 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4432 | "RANLIB=$${RANLIB}" \ | |
4433 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4434 | dvi) \ | |
4435 | || exit 1 | |
4436 | ||
4437 | ||
4438 | .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads | |
4439 | maybe-dvi-target-qthreads: | |
4440 | ||
4441 | dvi-target-qthreads: \ | |
4442 | configure-target-qthreads | |
4443 | @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ | |
4444 | r=`${PWD}`; export r; \ | |
4445 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4446 | $(SET_LIB_PATH) \ | |
4447 | echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \ | |
4448 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4449 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4450 | done; \ | |
4451 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
4452 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4453 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4454 | "RANLIB=$${RANLIB}" \ | |
4455 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4456 | dvi) \ | |
4457 | || exit 1 | |
4458 | ||
4459 | ||
4460 | .PHONY: maybe-dvi-target-rda dvi-target-rda | |
4461 | maybe-dvi-target-rda: | |
4462 | ||
4463 | dvi-target-rda: \ | |
4464 | configure-target-rda | |
4465 | @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ | |
4466 | r=`${PWD}`; export r; \ | |
4467 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4468 | $(SET_LIB_PATH) \ | |
4469 | echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \ | |
4470 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
4471 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4472 | done; \ | |
4473 | (cd $(TARGET_SUBDIR)/rda && \ | |
4474 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4475 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4476 | "RANLIB=$${RANLIB}" \ | |
4477 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4478 | dvi) \ | |
4479 | || exit 1 | |
4480 | ||
4481 | ||
4482 | ||
4483 | .PHONY: do-TAGS | |
4484 | do-TAGS: TAGS-host TAGS-target | |
4485 | ||
4486 | .PHONY: TAGS-host | |
4487 | TAGS-host: maybe-TAGS-gcc \ | |
4488 | maybe-TAGS-ash \ | |
4489 | maybe-TAGS-autoconf \ | |
4490 | maybe-TAGS-automake \ | |
4491 | maybe-TAGS-bash \ | |
4492 | maybe-TAGS-bfd \ | |
4493 | maybe-TAGS-opcodes \ | |
4494 | maybe-TAGS-binutils \ | |
4495 | maybe-TAGS-bison \ | |
4496 | maybe-TAGS-byacc \ | |
4497 | maybe-TAGS-bzip2 \ | |
4498 | maybe-TAGS-dejagnu \ | |
4499 | maybe-TAGS-diff \ | |
4500 | maybe-TAGS-dosutils \ | |
4501 | maybe-TAGS-etc \ | |
4502 | maybe-TAGS-fastjar \ | |
4503 | maybe-TAGS-fileutils \ | |
4504 | maybe-TAGS-findutils \ | |
4505 | maybe-TAGS-find \ | |
4506 | maybe-TAGS-flex \ | |
4507 | maybe-TAGS-gas \ | |
4508 | maybe-TAGS-gawk \ | |
4509 | maybe-TAGS-gettext \ | |
4510 | maybe-TAGS-gnuserv \ | |
4511 | maybe-TAGS-gprof \ | |
4512 | maybe-TAGS-gzip \ | |
4513 | maybe-TAGS-hello \ | |
4514 | maybe-TAGS-indent \ | |
4515 | maybe-TAGS-intl \ | |
4516 | maybe-TAGS-tcl \ | |
4517 | maybe-TAGS-itcl \ | |
4518 | maybe-TAGS-ld \ | |
4519 | maybe-TAGS-libgui \ | |
4520 | maybe-TAGS-libiberty \ | |
4521 | maybe-TAGS-libtool \ | |
4522 | maybe-TAGS-m4 \ | |
4523 | maybe-TAGS-make \ | |
4524 | maybe-TAGS-mmalloc \ | |
4525 | maybe-TAGS-patch \ | |
4526 | maybe-TAGS-perl \ | |
4527 | maybe-TAGS-prms \ | |
4528 | maybe-TAGS-rcs \ | |
4529 | maybe-TAGS-readline \ | |
4530 | maybe-TAGS-release \ | |
4531 | maybe-TAGS-recode \ | |
4532 | maybe-TAGS-sed \ | |
4533 | maybe-TAGS-send-pr \ | |
4534 | maybe-TAGS-shellutils \ | |
4535 | maybe-TAGS-sid \ | |
4536 | maybe-TAGS-sim \ | |
4537 | maybe-TAGS-tar \ | |
4538 | maybe-TAGS-texinfo \ | |
4539 | maybe-TAGS-textutils \ | |
4540 | maybe-TAGS-time \ | |
4541 | maybe-TAGS-uudecode \ | |
4542 | maybe-TAGS-wdiff \ | |
4543 | maybe-TAGS-zip \ | |
4544 | maybe-TAGS-zlib \ | |
4545 | maybe-TAGS-gdb \ | |
4546 | maybe-TAGS-expect \ | |
4547 | maybe-TAGS-guile \ | |
4548 | maybe-TAGS-tk \ | |
4549 | maybe-TAGS-tix \ | |
4550 | maybe-TAGS-libtermcap \ | |
4551 | maybe-TAGS-utils | |
4552 | ||
4553 | .PHONY: TAGS-target | |
4554 | TAGS-target: \ | |
4555 | maybe-TAGS-target-libstdc++-v3 \ | |
4556 | maybe-TAGS-target-newlib \ | |
4557 | maybe-TAGS-target-libf2c \ | |
4558 | maybe-TAGS-target-libobjc \ | |
4559 | maybe-TAGS-target-libtermcap \ | |
4560 | maybe-TAGS-target-winsup \ | |
4561 | maybe-TAGS-target-libgloss \ | |
4562 | maybe-TAGS-target-libiberty \ | |
4563 | maybe-TAGS-target-gperf \ | |
4564 | maybe-TAGS-target-examples \ | |
4565 | maybe-TAGS-target-libffi \ | |
4566 | maybe-TAGS-target-libjava \ | |
4567 | maybe-TAGS-target-zlib \ | |
4568 | maybe-TAGS-target-boehm-gc \ | |
4569 | maybe-TAGS-target-qthreads \ | |
4570 | maybe-TAGS-target-rda | |
4571 | ||
4572 | # GCC, the eternal special case | |
4573 | .PHONY: maybe-TAGS-gcc TAGS-gcc | |
4574 | maybe-TAGS-gcc: | |
4575 | TAGS-gcc: \ | |
4576 | configure-gcc | |
4577 | @[ -f ./gcc/Makefile ] || exit 0; \ | |
4578 | r=`${PWD}`; export r; \ | |
4579 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4580 | $(SET_LIB_PATH) \ | |
4581 | for flag in $(EXTRA_GCC_FLAGS); do \ | |
4582 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4583 | done; \ | |
4584 | echo "Doing TAGS in gcc" ; \ | |
4585 | (cd gcc && \ | |
4586 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4587 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4588 | "RANLIB=$${RANLIB}" \ | |
4589 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4590 | TAGS) \ | |
4591 | || exit 1 | |
4592 | ||
4593 | # Host modules. | |
4594 | ||
4595 | .PHONY: maybe-TAGS-ash TAGS-ash | |
4596 | maybe-TAGS-ash: | |
4597 | ||
4598 | TAGS-ash: \ | |
4599 | configure-ash | |
4600 | @[ -f ./ash/Makefile ] || exit 0; \ | |
4601 | r=`${PWD}`; export r; \ | |
4602 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4603 | $(SET_LIB_PATH) \ | |
4604 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4605 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4606 | done; \ | |
4607 | echo "Doing TAGS in ash" ; \ | |
4608 | (cd ash && \ | |
4609 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4610 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4611 | "RANLIB=$${RANLIB}" \ | |
4612 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4613 | TAGS) \ | |
4614 | || exit 1 | |
4615 | ||
4616 | ||
4617 | .PHONY: maybe-TAGS-autoconf TAGS-autoconf | |
4618 | maybe-TAGS-autoconf: | |
4619 | ||
4620 | TAGS-autoconf: \ | |
4621 | configure-autoconf | |
4622 | @[ -f ./autoconf/Makefile ] || exit 0; \ | |
4623 | r=`${PWD}`; export r; \ | |
4624 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4625 | $(SET_LIB_PATH) \ | |
4626 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4627 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4628 | done; \ | |
4629 | echo "Doing TAGS in autoconf" ; \ | |
4630 | (cd autoconf && \ | |
4631 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4632 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4633 | "RANLIB=$${RANLIB}" \ | |
4634 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4635 | TAGS) \ | |
4636 | || exit 1 | |
4637 | ||
4638 | ||
4639 | .PHONY: maybe-TAGS-automake TAGS-automake | |
4640 | maybe-TAGS-automake: | |
4641 | ||
4642 | TAGS-automake: \ | |
4643 | configure-automake | |
4644 | @[ -f ./automake/Makefile ] || exit 0; \ | |
4645 | r=`${PWD}`; export r; \ | |
4646 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4647 | $(SET_LIB_PATH) \ | |
4648 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4649 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4650 | done; \ | |
4651 | echo "Doing TAGS in automake" ; \ | |
4652 | (cd automake && \ | |
4653 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4654 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4655 | "RANLIB=$${RANLIB}" \ | |
4656 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4657 | TAGS) \ | |
4658 | || exit 1 | |
4659 | ||
4660 | ||
4661 | .PHONY: maybe-TAGS-bash TAGS-bash | |
4662 | maybe-TAGS-bash: | |
4663 | ||
4664 | TAGS-bash: \ | |
4665 | configure-bash | |
4666 | @[ -f ./bash/Makefile ] || exit 0; \ | |
4667 | r=`${PWD}`; export r; \ | |
4668 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4669 | $(SET_LIB_PATH) \ | |
4670 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4671 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4672 | done; \ | |
4673 | echo "Doing TAGS in bash" ; \ | |
4674 | (cd bash && \ | |
4675 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4676 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4677 | "RANLIB=$${RANLIB}" \ | |
4678 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4679 | TAGS) \ | |
4680 | || exit 1 | |
4681 | ||
4682 | ||
4683 | .PHONY: maybe-TAGS-bfd TAGS-bfd | |
4684 | maybe-TAGS-bfd: | |
4685 | ||
4686 | TAGS-bfd: \ | |
4687 | configure-bfd | |
4688 | @[ -f ./bfd/Makefile ] || exit 0; \ | |
4689 | r=`${PWD}`; export r; \ | |
4690 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4691 | $(SET_LIB_PATH) \ | |
4692 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4693 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4694 | done; \ | |
4695 | echo "Doing TAGS in bfd" ; \ | |
4696 | (cd bfd && \ | |
4697 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4698 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4699 | "RANLIB=$${RANLIB}" \ | |
4700 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4701 | TAGS) \ | |
4702 | || exit 1 | |
4703 | ||
4704 | ||
4705 | .PHONY: maybe-TAGS-opcodes TAGS-opcodes | |
4706 | maybe-TAGS-opcodes: | |
4707 | ||
4708 | TAGS-opcodes: \ | |
4709 | configure-opcodes | |
4710 | @[ -f ./opcodes/Makefile ] || exit 0; \ | |
4711 | r=`${PWD}`; export r; \ | |
4712 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4713 | $(SET_LIB_PATH) \ | |
4714 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4715 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4716 | done; \ | |
4717 | echo "Doing TAGS in opcodes" ; \ | |
4718 | (cd opcodes && \ | |
4719 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4720 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4721 | "RANLIB=$${RANLIB}" \ | |
4722 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4723 | TAGS) \ | |
4724 | || exit 1 | |
4725 | ||
4726 | ||
4727 | .PHONY: maybe-TAGS-binutils TAGS-binutils | |
4728 | maybe-TAGS-binutils: | |
4729 | ||
4730 | TAGS-binutils: \ | |
4731 | configure-binutils | |
4732 | @[ -f ./binutils/Makefile ] || exit 0; \ | |
4733 | r=`${PWD}`; export r; \ | |
4734 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4735 | $(SET_LIB_PATH) \ | |
4736 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4737 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4738 | done; \ | |
4739 | echo "Doing TAGS in binutils" ; \ | |
4740 | (cd binutils && \ | |
4741 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4742 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4743 | "RANLIB=$${RANLIB}" \ | |
4744 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4745 | TAGS) \ | |
4746 | || exit 1 | |
4747 | ||
4748 | ||
4749 | .PHONY: maybe-TAGS-bison TAGS-bison | |
4750 | maybe-TAGS-bison: | |
4751 | ||
4752 | TAGS-bison: \ | |
4753 | configure-bison | |
4754 | @[ -f ./bison/Makefile ] || exit 0; \ | |
4755 | r=`${PWD}`; export r; \ | |
4756 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4757 | $(SET_LIB_PATH) \ | |
4758 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4759 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4760 | done; \ | |
4761 | echo "Doing TAGS in bison" ; \ | |
4762 | (cd bison && \ | |
4763 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4764 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4765 | "RANLIB=$${RANLIB}" \ | |
4766 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4767 | TAGS) \ | |
4768 | || exit 1 | |
4769 | ||
4770 | ||
4771 | .PHONY: maybe-TAGS-byacc TAGS-byacc | |
4772 | maybe-TAGS-byacc: | |
4773 | ||
4774 | TAGS-byacc: \ | |
4775 | configure-byacc | |
4776 | @[ -f ./byacc/Makefile ] || exit 0; \ | |
4777 | r=`${PWD}`; export r; \ | |
4778 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4779 | $(SET_LIB_PATH) \ | |
4780 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4781 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4782 | done; \ | |
4783 | echo "Doing TAGS in byacc" ; \ | |
4784 | (cd byacc && \ | |
4785 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4786 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4787 | "RANLIB=$${RANLIB}" \ | |
4788 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4789 | TAGS) \ | |
4790 | || exit 1 | |
4791 | ||
4792 | ||
4793 | .PHONY: maybe-TAGS-bzip2 TAGS-bzip2 | |
4794 | maybe-TAGS-bzip2: | |
4795 | ||
4796 | TAGS-bzip2: \ | |
4797 | configure-bzip2 | |
4798 | @[ -f ./bzip2/Makefile ] || exit 0; \ | |
4799 | r=`${PWD}`; export r; \ | |
4800 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4801 | $(SET_LIB_PATH) \ | |
4802 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4803 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4804 | done; \ | |
4805 | echo "Doing TAGS in bzip2" ; \ | |
4806 | (cd bzip2 && \ | |
4807 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4808 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4809 | "RANLIB=$${RANLIB}" \ | |
4810 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4811 | TAGS) \ | |
4812 | || exit 1 | |
4813 | ||
4814 | ||
4815 | .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu | |
4816 | maybe-TAGS-dejagnu: | |
4817 | ||
4818 | TAGS-dejagnu: \ | |
4819 | configure-dejagnu | |
4820 | @[ -f ./dejagnu/Makefile ] || exit 0; \ | |
4821 | r=`${PWD}`; export r; \ | |
4822 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4823 | $(SET_LIB_PATH) \ | |
4824 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4825 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4826 | done; \ | |
4827 | echo "Doing TAGS in dejagnu" ; \ | |
4828 | (cd dejagnu && \ | |
4829 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4830 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4831 | "RANLIB=$${RANLIB}" \ | |
4832 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4833 | TAGS) \ | |
4834 | || exit 1 | |
4835 | ||
4836 | ||
4837 | .PHONY: maybe-TAGS-diff TAGS-diff | |
4838 | maybe-TAGS-diff: | |
4839 | ||
4840 | TAGS-diff: \ | |
4841 | configure-diff | |
4842 | @[ -f ./diff/Makefile ] || exit 0; \ | |
4843 | r=`${PWD}`; export r; \ | |
4844 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4845 | $(SET_LIB_PATH) \ | |
4846 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4847 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4848 | done; \ | |
4849 | echo "Doing TAGS in diff" ; \ | |
4850 | (cd diff && \ | |
4851 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4852 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4853 | "RANLIB=$${RANLIB}" \ | |
4854 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4855 | TAGS) \ | |
4856 | || exit 1 | |
4857 | ||
4858 | ||
4859 | .PHONY: maybe-TAGS-dosutils TAGS-dosutils | |
4860 | maybe-TAGS-dosutils: | |
4861 | ||
4862 | TAGS-dosutils: \ | |
4863 | configure-dosutils | |
4864 | @[ -f ./dosutils/Makefile ] || exit 0; \ | |
4865 | r=`${PWD}`; export r; \ | |
4866 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4867 | $(SET_LIB_PATH) \ | |
4868 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4869 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4870 | done; \ | |
4871 | echo "Doing TAGS in dosutils" ; \ | |
4872 | (cd dosutils && \ | |
4873 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4874 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4875 | "RANLIB=$${RANLIB}" \ | |
4876 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4877 | TAGS) \ | |
4878 | || exit 1 | |
4879 | ||
4880 | ||
4881 | .PHONY: maybe-TAGS-etc TAGS-etc | |
4882 | maybe-TAGS-etc: | |
4883 | ||
4884 | TAGS-etc: \ | |
4885 | configure-etc | |
4886 | @[ -f ./etc/Makefile ] || exit 0; \ | |
4887 | r=`${PWD}`; export r; \ | |
4888 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4889 | $(SET_LIB_PATH) \ | |
4890 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4891 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4892 | done; \ | |
4893 | echo "Doing TAGS in etc" ; \ | |
4894 | (cd etc && \ | |
4895 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4896 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4897 | "RANLIB=$${RANLIB}" \ | |
4898 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4899 | TAGS) \ | |
4900 | || exit 1 | |
4901 | ||
4902 | ||
4903 | .PHONY: maybe-TAGS-fastjar TAGS-fastjar | |
4904 | maybe-TAGS-fastjar: | |
4905 | ||
4906 | TAGS-fastjar: \ | |
4907 | configure-fastjar | |
4908 | @[ -f ./fastjar/Makefile ] || exit 0; \ | |
4909 | r=`${PWD}`; export r; \ | |
4910 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4911 | $(SET_LIB_PATH) \ | |
4912 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4913 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4914 | done; \ | |
4915 | echo "Doing TAGS in fastjar" ; \ | |
4916 | (cd fastjar && \ | |
4917 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4918 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4919 | "RANLIB=$${RANLIB}" \ | |
4920 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4921 | TAGS) \ | |
4922 | || exit 1 | |
4923 | ||
4924 | ||
4925 | .PHONY: maybe-TAGS-fileutils TAGS-fileutils | |
4926 | maybe-TAGS-fileutils: | |
4927 | ||
4928 | TAGS-fileutils: \ | |
4929 | configure-fileutils | |
4930 | @[ -f ./fileutils/Makefile ] || exit 0; \ | |
4931 | r=`${PWD}`; export r; \ | |
4932 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4933 | $(SET_LIB_PATH) \ | |
4934 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4935 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4936 | done; \ | |
4937 | echo "Doing TAGS in fileutils" ; \ | |
4938 | (cd fileutils && \ | |
4939 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4940 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4941 | "RANLIB=$${RANLIB}" \ | |
4942 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4943 | TAGS) \ | |
4944 | || exit 1 | |
4945 | ||
4946 | ||
4947 | .PHONY: maybe-TAGS-findutils TAGS-findutils | |
4948 | maybe-TAGS-findutils: | |
4949 | ||
4950 | TAGS-findutils: \ | |
4951 | configure-findutils | |
4952 | @[ -f ./findutils/Makefile ] || exit 0; \ | |
4953 | r=`${PWD}`; export r; \ | |
4954 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4955 | $(SET_LIB_PATH) \ | |
4956 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4957 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4958 | done; \ | |
4959 | echo "Doing TAGS in findutils" ; \ | |
4960 | (cd findutils && \ | |
4961 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4962 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4963 | "RANLIB=$${RANLIB}" \ | |
4964 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4965 | TAGS) \ | |
4966 | || exit 1 | |
4967 | ||
4968 | ||
4969 | .PHONY: maybe-TAGS-find TAGS-find | |
4970 | maybe-TAGS-find: | |
4971 | ||
4972 | TAGS-find: \ | |
4973 | configure-find | |
4974 | @[ -f ./find/Makefile ] || exit 0; \ | |
4975 | r=`${PWD}`; export r; \ | |
4976 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4977 | $(SET_LIB_PATH) \ | |
4978 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
4979 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
4980 | done; \ | |
4981 | echo "Doing TAGS in find" ; \ | |
4982 | (cd find && \ | |
4983 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
4984 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
4985 | "RANLIB=$${RANLIB}" \ | |
4986 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
4987 | TAGS) \ | |
4988 | || exit 1 | |
4989 | ||
4990 | ||
4991 | .PHONY: maybe-TAGS-flex TAGS-flex | |
4992 | maybe-TAGS-flex: | |
4993 | ||
4994 | TAGS-flex: \ | |
4995 | configure-flex | |
4996 | @[ -f ./flex/Makefile ] || exit 0; \ | |
4997 | r=`${PWD}`; export r; \ | |
4998 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
4999 | $(SET_LIB_PATH) \ | |
5000 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5001 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5002 | done; \ | |
5003 | echo "Doing TAGS in flex" ; \ | |
5004 | (cd flex && \ | |
5005 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5006 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5007 | "RANLIB=$${RANLIB}" \ | |
5008 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5009 | TAGS) \ | |
5010 | || exit 1 | |
5011 | ||
5012 | ||
5013 | .PHONY: maybe-TAGS-gas TAGS-gas | |
5014 | maybe-TAGS-gas: | |
5015 | ||
5016 | TAGS-gas: \ | |
5017 | configure-gas | |
5018 | @[ -f ./gas/Makefile ] || exit 0; \ | |
5019 | r=`${PWD}`; export r; \ | |
5020 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5021 | $(SET_LIB_PATH) \ | |
5022 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5023 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5024 | done; \ | |
5025 | echo "Doing TAGS in gas" ; \ | |
5026 | (cd gas && \ | |
5027 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5028 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5029 | "RANLIB=$${RANLIB}" \ | |
5030 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5031 | TAGS) \ | |
5032 | || exit 1 | |
5033 | ||
5034 | ||
5035 | .PHONY: maybe-TAGS-gawk TAGS-gawk | |
5036 | maybe-TAGS-gawk: | |
5037 | ||
5038 | TAGS-gawk: \ | |
5039 | configure-gawk | |
5040 | @[ -f ./gawk/Makefile ] || exit 0; \ | |
5041 | r=`${PWD}`; export r; \ | |
5042 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5043 | $(SET_LIB_PATH) \ | |
5044 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5045 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5046 | done; \ | |
5047 | echo "Doing TAGS in gawk" ; \ | |
5048 | (cd gawk && \ | |
5049 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5050 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5051 | "RANLIB=$${RANLIB}" \ | |
5052 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5053 | TAGS) \ | |
5054 | || exit 1 | |
5055 | ||
5056 | ||
5057 | .PHONY: maybe-TAGS-gettext TAGS-gettext | |
5058 | maybe-TAGS-gettext: | |
5059 | ||
5060 | TAGS-gettext: \ | |
5061 | configure-gettext | |
5062 | @[ -f ./gettext/Makefile ] || exit 0; \ | |
5063 | r=`${PWD}`; export r; \ | |
5064 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5065 | $(SET_LIB_PATH) \ | |
5066 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5067 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5068 | done; \ | |
5069 | echo "Doing TAGS in gettext" ; \ | |
5070 | (cd gettext && \ | |
5071 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5072 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5073 | "RANLIB=$${RANLIB}" \ | |
5074 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5075 | TAGS) \ | |
5076 | || exit 1 | |
5077 | ||
5078 | ||
5079 | .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv | |
5080 | maybe-TAGS-gnuserv: | |
5081 | ||
5082 | TAGS-gnuserv: \ | |
5083 | configure-gnuserv | |
5084 | @[ -f ./gnuserv/Makefile ] || exit 0; \ | |
5085 | r=`${PWD}`; export r; \ | |
5086 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5087 | $(SET_LIB_PATH) \ | |
5088 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5089 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5090 | done; \ | |
5091 | echo "Doing TAGS in gnuserv" ; \ | |
5092 | (cd gnuserv && \ | |
5093 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5094 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5095 | "RANLIB=$${RANLIB}" \ | |
5096 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5097 | TAGS) \ | |
5098 | || exit 1 | |
5099 | ||
5100 | ||
5101 | .PHONY: maybe-TAGS-gprof TAGS-gprof | |
5102 | maybe-TAGS-gprof: | |
5103 | ||
5104 | TAGS-gprof: \ | |
5105 | configure-gprof | |
5106 | @[ -f ./gprof/Makefile ] || exit 0; \ | |
5107 | r=`${PWD}`; export r; \ | |
5108 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5109 | $(SET_LIB_PATH) \ | |
5110 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5111 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5112 | done; \ | |
5113 | echo "Doing TAGS in gprof" ; \ | |
5114 | (cd gprof && \ | |
5115 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5116 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5117 | "RANLIB=$${RANLIB}" \ | |
5118 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5119 | TAGS) \ | |
5120 | || exit 1 | |
5121 | ||
5122 | ||
5123 | .PHONY: maybe-TAGS-gzip TAGS-gzip | |
5124 | maybe-TAGS-gzip: | |
5125 | ||
5126 | TAGS-gzip: \ | |
5127 | configure-gzip | |
5128 | @[ -f ./gzip/Makefile ] || exit 0; \ | |
5129 | r=`${PWD}`; export r; \ | |
5130 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5131 | $(SET_LIB_PATH) \ | |
5132 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5133 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5134 | done; \ | |
5135 | echo "Doing TAGS in gzip" ; \ | |
5136 | (cd gzip && \ | |
5137 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5138 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5139 | "RANLIB=$${RANLIB}" \ | |
5140 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5141 | TAGS) \ | |
5142 | || exit 1 | |
5143 | ||
5144 | ||
5145 | .PHONY: maybe-TAGS-hello TAGS-hello | |
5146 | maybe-TAGS-hello: | |
5147 | ||
5148 | TAGS-hello: \ | |
5149 | configure-hello | |
5150 | @[ -f ./hello/Makefile ] || exit 0; \ | |
5151 | r=`${PWD}`; export r; \ | |
5152 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5153 | $(SET_LIB_PATH) \ | |
5154 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5155 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5156 | done; \ | |
5157 | echo "Doing TAGS in hello" ; \ | |
5158 | (cd hello && \ | |
5159 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5160 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5161 | "RANLIB=$${RANLIB}" \ | |
5162 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5163 | TAGS) \ | |
5164 | || exit 1 | |
5165 | ||
5166 | ||
5167 | .PHONY: maybe-TAGS-indent TAGS-indent | |
5168 | maybe-TAGS-indent: | |
5169 | ||
5170 | TAGS-indent: \ | |
5171 | configure-indent | |
5172 | @[ -f ./indent/Makefile ] || exit 0; \ | |
5173 | r=`${PWD}`; export r; \ | |
5174 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5175 | $(SET_LIB_PATH) \ | |
5176 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5177 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5178 | done; \ | |
5179 | echo "Doing TAGS in indent" ; \ | |
5180 | (cd indent && \ | |
5181 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5182 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5183 | "RANLIB=$${RANLIB}" \ | |
5184 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5185 | TAGS) \ | |
5186 | || exit 1 | |
5187 | ||
5188 | ||
5189 | .PHONY: maybe-TAGS-intl TAGS-intl | |
5190 | maybe-TAGS-intl: | |
5191 | ||
5192 | TAGS-intl: \ | |
5193 | configure-intl | |
5194 | @[ -f ./intl/Makefile ] || exit 0; \ | |
5195 | r=`${PWD}`; export r; \ | |
5196 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5197 | $(SET_LIB_PATH) \ | |
5198 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5199 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5200 | done; \ | |
5201 | echo "Doing TAGS in intl" ; \ | |
5202 | (cd intl && \ | |
5203 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5204 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5205 | "RANLIB=$${RANLIB}" \ | |
5206 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5207 | TAGS) \ | |
5208 | || exit 1 | |
5209 | ||
5210 | ||
5211 | .PHONY: maybe-TAGS-tcl TAGS-tcl | |
5212 | maybe-TAGS-tcl: | |
5213 | ||
5214 | TAGS-tcl: \ | |
5215 | configure-tcl | |
5216 | @[ -f ./tcl/Makefile ] || exit 0; \ | |
5217 | r=`${PWD}`; export r; \ | |
5218 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5219 | $(SET_LIB_PATH) \ | |
5220 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5221 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5222 | done; \ | |
5223 | echo "Doing TAGS in tcl" ; \ | |
5224 | (cd tcl && \ | |
5225 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5226 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5227 | "RANLIB=$${RANLIB}" \ | |
5228 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5229 | TAGS) \ | |
5230 | || exit 1 | |
5231 | ||
5232 | ||
5233 | .PHONY: maybe-TAGS-itcl TAGS-itcl | |
5234 | maybe-TAGS-itcl: | |
5235 | ||
5236 | TAGS-itcl: \ | |
5237 | configure-itcl | |
5238 | @[ -f ./itcl/Makefile ] || exit 0; \ | |
5239 | r=`${PWD}`; export r; \ | |
5240 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5241 | $(SET_LIB_PATH) \ | |
5242 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5243 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5244 | done; \ | |
5245 | echo "Doing TAGS in itcl" ; \ | |
5246 | (cd itcl && \ | |
5247 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5248 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5249 | "RANLIB=$${RANLIB}" \ | |
5250 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5251 | TAGS) \ | |
5252 | || exit 1 | |
5253 | ||
5254 | ||
5255 | .PHONY: maybe-TAGS-ld TAGS-ld | |
5256 | maybe-TAGS-ld: | |
5257 | ||
5258 | TAGS-ld: \ | |
5259 | configure-ld | |
5260 | @[ -f ./ld/Makefile ] || exit 0; \ | |
5261 | r=`${PWD}`; export r; \ | |
5262 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5263 | $(SET_LIB_PATH) \ | |
5264 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5265 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5266 | done; \ | |
5267 | echo "Doing TAGS in ld" ; \ | |
5268 | (cd ld && \ | |
5269 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5270 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5271 | "RANLIB=$${RANLIB}" \ | |
5272 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5273 | TAGS) \ | |
5274 | || exit 1 | |
5275 | ||
5276 | ||
5277 | .PHONY: maybe-TAGS-libgui TAGS-libgui | |
5278 | maybe-TAGS-libgui: | |
5279 | ||
5280 | TAGS-libgui: \ | |
5281 | configure-libgui | |
5282 | @[ -f ./libgui/Makefile ] || exit 0; \ | |
5283 | r=`${PWD}`; export r; \ | |
5284 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5285 | $(SET_LIB_PATH) \ | |
5286 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5287 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5288 | done; \ | |
5289 | echo "Doing TAGS in libgui" ; \ | |
5290 | (cd libgui && \ | |
5291 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5292 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5293 | "RANLIB=$${RANLIB}" \ | |
5294 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5295 | TAGS) \ | |
5296 | || exit 1 | |
5297 | ||
5298 | ||
5299 | .PHONY: maybe-TAGS-libiberty TAGS-libiberty | |
5300 | maybe-TAGS-libiberty: | |
5301 | ||
5302 | TAGS-libiberty: \ | |
5303 | configure-libiberty | |
5304 | @[ -f ./libiberty/Makefile ] || exit 0; \ | |
5305 | r=`${PWD}`; export r; \ | |
5306 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5307 | $(SET_LIB_PATH) \ | |
5308 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5309 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5310 | done; \ | |
5311 | echo "Doing TAGS in libiberty" ; \ | |
5312 | (cd libiberty && \ | |
5313 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5314 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5315 | "RANLIB=$${RANLIB}" \ | |
5316 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5317 | TAGS) \ | |
5318 | || exit 1 | |
5319 | ||
5320 | ||
5321 | .PHONY: maybe-TAGS-libtool TAGS-libtool | |
5322 | maybe-TAGS-libtool: | |
5323 | ||
5324 | TAGS-libtool: \ | |
5325 | configure-libtool | |
5326 | @[ -f ./libtool/Makefile ] || exit 0; \ | |
5327 | r=`${PWD}`; export r; \ | |
5328 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5329 | $(SET_LIB_PATH) \ | |
5330 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5331 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5332 | done; \ | |
5333 | echo "Doing TAGS in libtool" ; \ | |
5334 | (cd libtool && \ | |
5335 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5336 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5337 | "RANLIB=$${RANLIB}" \ | |
5338 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5339 | TAGS) \ | |
5340 | || exit 1 | |
5341 | ||
5342 | ||
5343 | .PHONY: maybe-TAGS-m4 TAGS-m4 | |
5344 | maybe-TAGS-m4: | |
5345 | ||
5346 | TAGS-m4: \ | |
5347 | configure-m4 | |
5348 | @[ -f ./m4/Makefile ] || exit 0; \ | |
5349 | r=`${PWD}`; export r; \ | |
5350 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5351 | $(SET_LIB_PATH) \ | |
5352 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5353 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5354 | done; \ | |
5355 | echo "Doing TAGS in m4" ; \ | |
5356 | (cd m4 && \ | |
5357 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5358 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5359 | "RANLIB=$${RANLIB}" \ | |
5360 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5361 | TAGS) \ | |
5362 | || exit 1 | |
5363 | ||
5364 | ||
5365 | .PHONY: maybe-TAGS-make TAGS-make | |
5366 | maybe-TAGS-make: | |
5367 | ||
5368 | TAGS-make: \ | |
5369 | configure-make | |
5370 | @[ -f ./make/Makefile ] || exit 0; \ | |
5371 | r=`${PWD}`; export r; \ | |
5372 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5373 | $(SET_LIB_PATH) \ | |
5374 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5375 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5376 | done; \ | |
5377 | echo "Doing TAGS in make" ; \ | |
5378 | (cd make && \ | |
5379 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5380 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5381 | "RANLIB=$${RANLIB}" \ | |
5382 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5383 | TAGS) \ | |
5384 | || exit 1 | |
5385 | ||
5386 | ||
5387 | .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc | |
5388 | maybe-TAGS-mmalloc: | |
5389 | ||
5390 | TAGS-mmalloc: \ | |
5391 | configure-mmalloc | |
5392 | @[ -f ./mmalloc/Makefile ] || exit 0; \ | |
5393 | r=`${PWD}`; export r; \ | |
5394 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5395 | $(SET_LIB_PATH) \ | |
5396 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5397 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5398 | done; \ | |
5399 | echo "Doing TAGS in mmalloc" ; \ | |
5400 | (cd mmalloc && \ | |
5401 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5402 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5403 | "RANLIB=$${RANLIB}" \ | |
5404 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5405 | TAGS) \ | |
5406 | || exit 1 | |
5407 | ||
5408 | ||
5409 | .PHONY: maybe-TAGS-patch TAGS-patch | |
5410 | maybe-TAGS-patch: | |
5411 | ||
5412 | TAGS-patch: \ | |
5413 | configure-patch | |
5414 | @[ -f ./patch/Makefile ] || exit 0; \ | |
5415 | r=`${PWD}`; export r; \ | |
5416 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5417 | $(SET_LIB_PATH) \ | |
5418 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5419 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5420 | done; \ | |
5421 | echo "Doing TAGS in patch" ; \ | |
5422 | (cd patch && \ | |
5423 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5424 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5425 | "RANLIB=$${RANLIB}" \ | |
5426 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5427 | TAGS) \ | |
5428 | || exit 1 | |
5429 | ||
5430 | ||
5431 | .PHONY: maybe-TAGS-perl TAGS-perl | |
5432 | maybe-TAGS-perl: | |
5433 | ||
5434 | TAGS-perl: \ | |
5435 | configure-perl | |
5436 | @[ -f ./perl/Makefile ] || exit 0; \ | |
5437 | r=`${PWD}`; export r; \ | |
5438 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5439 | $(SET_LIB_PATH) \ | |
5440 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5441 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5442 | done; \ | |
5443 | echo "Doing TAGS in perl" ; \ | |
5444 | (cd perl && \ | |
5445 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5446 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5447 | "RANLIB=$${RANLIB}" \ | |
5448 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5449 | TAGS) \ | |
5450 | || exit 1 | |
5451 | ||
5452 | ||
5453 | .PHONY: maybe-TAGS-prms TAGS-prms | |
5454 | maybe-TAGS-prms: | |
5455 | ||
5456 | TAGS-prms: \ | |
5457 | configure-prms | |
5458 | @[ -f ./prms/Makefile ] || exit 0; \ | |
5459 | r=`${PWD}`; export r; \ | |
5460 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5461 | $(SET_LIB_PATH) \ | |
5462 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5463 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5464 | done; \ | |
5465 | echo "Doing TAGS in prms" ; \ | |
5466 | (cd prms && \ | |
5467 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5468 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5469 | "RANLIB=$${RANLIB}" \ | |
5470 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5471 | TAGS) \ | |
5472 | || exit 1 | |
5473 | ||
5474 | ||
5475 | .PHONY: maybe-TAGS-rcs TAGS-rcs | |
5476 | maybe-TAGS-rcs: | |
5477 | ||
5478 | TAGS-rcs: \ | |
5479 | configure-rcs | |
5480 | @[ -f ./rcs/Makefile ] || exit 0; \ | |
5481 | r=`${PWD}`; export r; \ | |
5482 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5483 | $(SET_LIB_PATH) \ | |
5484 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5485 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5486 | done; \ | |
5487 | echo "Doing TAGS in rcs" ; \ | |
5488 | (cd rcs && \ | |
5489 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5490 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5491 | "RANLIB=$${RANLIB}" \ | |
5492 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5493 | TAGS) \ | |
5494 | || exit 1 | |
5495 | ||
5496 | ||
5497 | .PHONY: maybe-TAGS-readline TAGS-readline | |
5498 | maybe-TAGS-readline: | |
5499 | ||
5500 | TAGS-readline: \ | |
5501 | configure-readline | |
5502 | @[ -f ./readline/Makefile ] || exit 0; \ | |
5503 | r=`${PWD}`; export r; \ | |
5504 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5505 | $(SET_LIB_PATH) \ | |
5506 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5507 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5508 | done; \ | |
5509 | echo "Doing TAGS in readline" ; \ | |
5510 | (cd readline && \ | |
5511 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5512 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5513 | "RANLIB=$${RANLIB}" \ | |
5514 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5515 | TAGS) \ | |
5516 | || exit 1 | |
5517 | ||
5518 | ||
5519 | .PHONY: maybe-TAGS-release TAGS-release | |
5520 | maybe-TAGS-release: | |
5521 | ||
5522 | TAGS-release: \ | |
5523 | configure-release | |
5524 | @[ -f ./release/Makefile ] || exit 0; \ | |
5525 | r=`${PWD}`; export r; \ | |
5526 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5527 | $(SET_LIB_PATH) \ | |
5528 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5529 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5530 | done; \ | |
5531 | echo "Doing TAGS in release" ; \ | |
5532 | (cd release && \ | |
5533 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5534 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5535 | "RANLIB=$${RANLIB}" \ | |
5536 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5537 | TAGS) \ | |
5538 | || exit 1 | |
5539 | ||
5540 | ||
5541 | .PHONY: maybe-TAGS-recode TAGS-recode | |
5542 | maybe-TAGS-recode: | |
5543 | ||
5544 | TAGS-recode: \ | |
5545 | configure-recode | |
5546 | @[ -f ./recode/Makefile ] || exit 0; \ | |
5547 | r=`${PWD}`; export r; \ | |
5548 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5549 | $(SET_LIB_PATH) \ | |
5550 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5551 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5552 | done; \ | |
5553 | echo "Doing TAGS in recode" ; \ | |
5554 | (cd recode && \ | |
5555 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5556 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5557 | "RANLIB=$${RANLIB}" \ | |
5558 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5559 | TAGS) \ | |
5560 | || exit 1 | |
5561 | ||
5562 | ||
5563 | .PHONY: maybe-TAGS-sed TAGS-sed | |
5564 | maybe-TAGS-sed: | |
5565 | ||
5566 | TAGS-sed: \ | |
5567 | configure-sed | |
5568 | @[ -f ./sed/Makefile ] || exit 0; \ | |
5569 | r=`${PWD}`; export r; \ | |
5570 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5571 | $(SET_LIB_PATH) \ | |
5572 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5573 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5574 | done; \ | |
5575 | echo "Doing TAGS in sed" ; \ | |
5576 | (cd sed && \ | |
5577 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5578 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5579 | "RANLIB=$${RANLIB}" \ | |
5580 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5581 | TAGS) \ | |
5582 | || exit 1 | |
5583 | ||
5584 | ||
5585 | .PHONY: maybe-TAGS-send-pr TAGS-send-pr | |
5586 | maybe-TAGS-send-pr: | |
5587 | ||
5588 | TAGS-send-pr: \ | |
5589 | configure-send-pr | |
5590 | @[ -f ./send-pr/Makefile ] || exit 0; \ | |
5591 | r=`${PWD}`; export r; \ | |
5592 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5593 | $(SET_LIB_PATH) \ | |
5594 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5595 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5596 | done; \ | |
5597 | echo "Doing TAGS in send-pr" ; \ | |
5598 | (cd send-pr && \ | |
5599 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5600 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5601 | "RANLIB=$${RANLIB}" \ | |
5602 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5603 | TAGS) \ | |
5604 | || exit 1 | |
5605 | ||
5606 | ||
5607 | .PHONY: maybe-TAGS-shellutils TAGS-shellutils | |
5608 | maybe-TAGS-shellutils: | |
5609 | ||
5610 | TAGS-shellutils: \ | |
5611 | configure-shellutils | |
5612 | @[ -f ./shellutils/Makefile ] || exit 0; \ | |
5613 | r=`${PWD}`; export r; \ | |
5614 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5615 | $(SET_LIB_PATH) \ | |
5616 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5617 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5618 | done; \ | |
5619 | echo "Doing TAGS in shellutils" ; \ | |
5620 | (cd shellutils && \ | |
5621 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5622 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5623 | "RANLIB=$${RANLIB}" \ | |
5624 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5625 | TAGS) \ | |
5626 | || exit 1 | |
5627 | ||
5628 | ||
5629 | .PHONY: maybe-TAGS-sid TAGS-sid | |
5630 | maybe-TAGS-sid: | |
5631 | ||
5632 | TAGS-sid: \ | |
5633 | configure-sid | |
5634 | @[ -f ./sid/Makefile ] || exit 0; \ | |
5635 | r=`${PWD}`; export r; \ | |
5636 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5637 | $(SET_LIB_PATH) \ | |
5638 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5639 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5640 | done; \ | |
5641 | echo "Doing TAGS in sid" ; \ | |
5642 | (cd sid && \ | |
5643 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5644 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5645 | "RANLIB=$${RANLIB}" \ | |
5646 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5647 | TAGS) \ | |
5648 | || exit 1 | |
5649 | ||
5650 | ||
5651 | .PHONY: maybe-TAGS-sim TAGS-sim | |
5652 | maybe-TAGS-sim: | |
5653 | ||
5654 | TAGS-sim: \ | |
5655 | configure-sim | |
5656 | @[ -f ./sim/Makefile ] || exit 0; \ | |
5657 | r=`${PWD}`; export r; \ | |
5658 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5659 | $(SET_LIB_PATH) \ | |
5660 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5661 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5662 | done; \ | |
5663 | echo "Doing TAGS in sim" ; \ | |
5664 | (cd sim && \ | |
5665 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5666 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5667 | "RANLIB=$${RANLIB}" \ | |
5668 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5669 | TAGS) \ | |
5670 | || exit 1 | |
5671 | ||
5672 | ||
5673 | .PHONY: maybe-TAGS-tar TAGS-tar | |
5674 | maybe-TAGS-tar: | |
5675 | ||
5676 | TAGS-tar: \ | |
5677 | configure-tar | |
5678 | @[ -f ./tar/Makefile ] || exit 0; \ | |
5679 | r=`${PWD}`; export r; \ | |
5680 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5681 | $(SET_LIB_PATH) \ | |
5682 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5683 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5684 | done; \ | |
5685 | echo "Doing TAGS in tar" ; \ | |
5686 | (cd tar && \ | |
5687 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5688 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5689 | "RANLIB=$${RANLIB}" \ | |
5690 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5691 | TAGS) \ | |
5692 | || exit 1 | |
5693 | ||
5694 | ||
5695 | .PHONY: maybe-TAGS-texinfo TAGS-texinfo | |
5696 | maybe-TAGS-texinfo: | |
5697 | ||
5698 | TAGS-texinfo: \ | |
5699 | configure-texinfo | |
5700 | @[ -f ./texinfo/Makefile ] || exit 0; \ | |
5701 | r=`${PWD}`; export r; \ | |
5702 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5703 | $(SET_LIB_PATH) \ | |
5704 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5705 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5706 | done; \ | |
5707 | echo "Doing TAGS in texinfo" ; \ | |
5708 | (cd texinfo && \ | |
5709 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5710 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5711 | "RANLIB=$${RANLIB}" \ | |
5712 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5713 | TAGS) \ | |
5714 | || exit 1 | |
5715 | ||
5716 | ||
5717 | .PHONY: maybe-TAGS-textutils TAGS-textutils | |
5718 | maybe-TAGS-textutils: | |
5719 | ||
5720 | TAGS-textutils: \ | |
5721 | configure-textutils | |
5722 | @[ -f ./textutils/Makefile ] || exit 0; \ | |
5723 | r=`${PWD}`; export r; \ | |
5724 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5725 | $(SET_LIB_PATH) \ | |
5726 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5727 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5728 | done; \ | |
5729 | echo "Doing TAGS in textutils" ; \ | |
5730 | (cd textutils && \ | |
5731 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5732 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5733 | "RANLIB=$${RANLIB}" \ | |
5734 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5735 | TAGS) \ | |
5736 | || exit 1 | |
5737 | ||
5738 | ||
5739 | .PHONY: maybe-TAGS-time TAGS-time | |
5740 | maybe-TAGS-time: | |
5741 | ||
5742 | TAGS-time: \ | |
5743 | configure-time | |
5744 | @[ -f ./time/Makefile ] || exit 0; \ | |
5745 | r=`${PWD}`; export r; \ | |
5746 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5747 | $(SET_LIB_PATH) \ | |
5748 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5749 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5750 | done; \ | |
5751 | echo "Doing TAGS in time" ; \ | |
5752 | (cd time && \ | |
5753 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5754 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5755 | "RANLIB=$${RANLIB}" \ | |
5756 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5757 | TAGS) \ | |
5758 | || exit 1 | |
5759 | ||
5760 | ||
5761 | .PHONY: maybe-TAGS-uudecode TAGS-uudecode | |
5762 | maybe-TAGS-uudecode: | |
5763 | ||
5764 | TAGS-uudecode: \ | |
5765 | configure-uudecode | |
5766 | @[ -f ./uudecode/Makefile ] || exit 0; \ | |
5767 | r=`${PWD}`; export r; \ | |
5768 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5769 | $(SET_LIB_PATH) \ | |
5770 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5771 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5772 | done; \ | |
5773 | echo "Doing TAGS in uudecode" ; \ | |
5774 | (cd uudecode && \ | |
5775 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5776 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5777 | "RANLIB=$${RANLIB}" \ | |
5778 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5779 | TAGS) \ | |
5780 | || exit 1 | |
5781 | ||
5782 | ||
5783 | .PHONY: maybe-TAGS-wdiff TAGS-wdiff | |
5784 | maybe-TAGS-wdiff: | |
5785 | ||
5786 | TAGS-wdiff: \ | |
5787 | configure-wdiff | |
5788 | @[ -f ./wdiff/Makefile ] || exit 0; \ | |
5789 | r=`${PWD}`; export r; \ | |
5790 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5791 | $(SET_LIB_PATH) \ | |
5792 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5793 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5794 | done; \ | |
5795 | echo "Doing TAGS in wdiff" ; \ | |
5796 | (cd wdiff && \ | |
5797 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5798 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5799 | "RANLIB=$${RANLIB}" \ | |
5800 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5801 | TAGS) \ | |
5802 | || exit 1 | |
5803 | ||
5804 | ||
5805 | .PHONY: maybe-TAGS-zip TAGS-zip | |
5806 | maybe-TAGS-zip: | |
5807 | ||
5808 | TAGS-zip: \ | |
5809 | configure-zip | |
5810 | @[ -f ./zip/Makefile ] || exit 0; \ | |
5811 | r=`${PWD}`; export r; \ | |
5812 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5813 | $(SET_LIB_PATH) \ | |
5814 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5815 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5816 | done; \ | |
5817 | echo "Doing TAGS in zip" ; \ | |
5818 | (cd zip && \ | |
5819 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5820 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5821 | "RANLIB=$${RANLIB}" \ | |
5822 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5823 | TAGS) \ | |
5824 | || exit 1 | |
5825 | ||
5826 | ||
5827 | .PHONY: maybe-TAGS-zlib TAGS-zlib | |
5828 | maybe-TAGS-zlib: | |
5829 | ||
5830 | TAGS-zlib: \ | |
5831 | configure-zlib | |
5832 | @[ -f ./zlib/Makefile ] || exit 0; \ | |
5833 | r=`${PWD}`; export r; \ | |
5834 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5835 | $(SET_LIB_PATH) \ | |
5836 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5837 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5838 | done; \ | |
5839 | echo "Doing TAGS in zlib" ; \ | |
5840 | (cd zlib && \ | |
5841 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5842 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5843 | "RANLIB=$${RANLIB}" \ | |
5844 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5845 | TAGS) \ | |
5846 | || exit 1 | |
5847 | ||
5848 | ||
5849 | .PHONY: maybe-TAGS-gdb TAGS-gdb | |
5850 | maybe-TAGS-gdb: | |
5851 | ||
5852 | TAGS-gdb: \ | |
5853 | configure-gdb | |
5854 | @[ -f ./gdb/Makefile ] || exit 0; \ | |
5855 | r=`${PWD}`; export r; \ | |
5856 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5857 | $(SET_LIB_PATH) \ | |
5858 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5859 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5860 | done; \ | |
5861 | echo "Doing TAGS in gdb" ; \ | |
5862 | (cd gdb && \ | |
5863 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5864 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5865 | "RANLIB=$${RANLIB}" \ | |
5866 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5867 | TAGS) \ | |
5868 | || exit 1 | |
5869 | ||
5870 | ||
5871 | .PHONY: maybe-TAGS-expect TAGS-expect | |
5872 | maybe-TAGS-expect: | |
5873 | ||
5874 | TAGS-expect: \ | |
5875 | configure-expect | |
5876 | @[ -f ./expect/Makefile ] || exit 0; \ | |
5877 | r=`${PWD}`; export r; \ | |
5878 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5879 | $(SET_LIB_PATH) \ | |
5880 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5881 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5882 | done; \ | |
5883 | echo "Doing TAGS in expect" ; \ | |
5884 | (cd expect && \ | |
5885 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5886 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5887 | "RANLIB=$${RANLIB}" \ | |
5888 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5889 | TAGS) \ | |
5890 | || exit 1 | |
5891 | ||
5892 | ||
5893 | .PHONY: maybe-TAGS-guile TAGS-guile | |
5894 | maybe-TAGS-guile: | |
5895 | ||
5896 | TAGS-guile: \ | |
5897 | configure-guile | |
5898 | @[ -f ./guile/Makefile ] || exit 0; \ | |
5899 | r=`${PWD}`; export r; \ | |
5900 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5901 | $(SET_LIB_PATH) \ | |
5902 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5903 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5904 | done; \ | |
5905 | echo "Doing TAGS in guile" ; \ | |
5906 | (cd guile && \ | |
5907 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5908 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5909 | "RANLIB=$${RANLIB}" \ | |
5910 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5911 | TAGS) \ | |
5912 | || exit 1 | |
5913 | ||
5914 | ||
5915 | .PHONY: maybe-TAGS-tk TAGS-tk | |
5916 | maybe-TAGS-tk: | |
5917 | ||
5918 | TAGS-tk: \ | |
5919 | configure-tk | |
5920 | @[ -f ./tk/Makefile ] || exit 0; \ | |
5921 | r=`${PWD}`; export r; \ | |
5922 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5923 | $(SET_LIB_PATH) \ | |
5924 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5925 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5926 | done; \ | |
5927 | echo "Doing TAGS in tk" ; \ | |
5928 | (cd tk && \ | |
5929 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5930 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5931 | "RANLIB=$${RANLIB}" \ | |
5932 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5933 | TAGS) \ | |
5934 | || exit 1 | |
5935 | ||
5936 | ||
5937 | .PHONY: maybe-TAGS-tix TAGS-tix | |
5938 | maybe-TAGS-tix: | |
5939 | ||
5940 | TAGS-tix: \ | |
5941 | configure-tix | |
5942 | @[ -f ./tix/Makefile ] || exit 0; \ | |
5943 | r=`${PWD}`; export r; \ | |
5944 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5945 | $(SET_LIB_PATH) \ | |
5946 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5947 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5948 | done; \ | |
5949 | echo "Doing TAGS in tix" ; \ | |
5950 | (cd tix && \ | |
5951 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5952 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5953 | "RANLIB=$${RANLIB}" \ | |
5954 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5955 | TAGS) \ | |
5956 | || exit 1 | |
5957 | ||
5958 | ||
5959 | .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap | |
5960 | maybe-TAGS-libtermcap: | |
5961 | ||
5962 | TAGS-libtermcap: \ | |
5963 | configure-libtermcap | |
5964 | @[ -f ./libtermcap/Makefile ] || exit 0; \ | |
5965 | r=`${PWD}`; export r; \ | |
5966 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5967 | $(SET_LIB_PATH) \ | |
5968 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5969 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5970 | done; \ | |
5971 | echo "Doing TAGS in libtermcap" ; \ | |
5972 | (cd libtermcap && \ | |
5973 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5974 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5975 | "RANLIB=$${RANLIB}" \ | |
5976 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5977 | TAGS) \ | |
5978 | || exit 1 | |
5979 | ||
5980 | ||
5981 | .PHONY: maybe-TAGS-utils TAGS-utils | |
5982 | maybe-TAGS-utils: | |
5983 | ||
5984 | TAGS-utils: \ | |
5985 | configure-utils | |
5986 | @[ -f ./utils/Makefile ] || exit 0; \ | |
5987 | r=`${PWD}`; export r; \ | |
5988 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
5989 | $(SET_LIB_PATH) \ | |
5990 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
5991 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
5992 | done; \ | |
5993 | echo "Doing TAGS in utils" ; \ | |
5994 | (cd utils && \ | |
5995 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
5996 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
5997 | "RANLIB=$${RANLIB}" \ | |
5998 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
5999 | TAGS) \ | |
6000 | || exit 1 | |
6001 | ||
6002 | ||
6003 | ||
6004 | # Target modules. | |
6005 | ||
6006 | .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3 | |
6007 | maybe-TAGS-target-libstdc++-v3: | |
6008 | ||
6009 | TAGS-target-libstdc++-v3: \ | |
6010 | configure-target-libstdc++-v3 | |
6011 | @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ | |
6012 | r=`${PWD}`; export r; \ | |
6013 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6014 | $(SET_LIB_PATH) \ | |
6015 | echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \ | |
6016 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6017 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6018 | done; \ | |
6019 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
6020 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6021 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6022 | "RANLIB=$${RANLIB}" \ | |
6023 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6024 | TAGS) \ | |
6025 | || exit 1 | |
6026 | ||
6027 | ||
6028 | .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib | |
6029 | maybe-TAGS-target-newlib: | |
6030 | ||
6031 | TAGS-target-newlib: \ | |
6032 | configure-target-newlib | |
6033 | @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ | |
6034 | r=`${PWD}`; export r; \ | |
6035 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6036 | $(SET_LIB_PATH) \ | |
6037 | echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \ | |
6038 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6039 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6040 | done; \ | |
6041 | (cd $(TARGET_SUBDIR)/newlib && \ | |
6042 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6043 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6044 | "RANLIB=$${RANLIB}" \ | |
6045 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6046 | TAGS) \ | |
6047 | || exit 1 | |
6048 | ||
6049 | ||
6050 | .PHONY: maybe-TAGS-target-libf2c TAGS-target-libf2c | |
6051 | maybe-TAGS-target-libf2c: | |
6052 | ||
6053 | TAGS-target-libf2c: \ | |
6054 | configure-target-libf2c | |
6055 | @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \ | |
6056 | r=`${PWD}`; export r; \ | |
6057 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6058 | $(SET_LIB_PATH) \ | |
6059 | echo "Doing TAGS in $(TARGET_SUBDIR)/libf2c" ; \ | |
6060 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6061 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6062 | done; \ | |
6063 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
6064 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6065 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6066 | "RANLIB=$${RANLIB}" \ | |
6067 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6068 | TAGS) \ | |
6069 | || exit 1 | |
6070 | ||
6071 | ||
6072 | .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc | |
6073 | maybe-TAGS-target-libobjc: | |
6074 | ||
6075 | TAGS-target-libobjc: \ | |
6076 | configure-target-libobjc | |
6077 | @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ | |
6078 | r=`${PWD}`; export r; \ | |
6079 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6080 | $(SET_LIB_PATH) \ | |
6081 | echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \ | |
6082 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6083 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6084 | done; \ | |
6085 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
6086 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6087 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6088 | "RANLIB=$${RANLIB}" \ | |
6089 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6090 | TAGS) \ | |
6091 | || exit 1 | |
6092 | ||
6093 | ||
6094 | .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap | |
6095 | maybe-TAGS-target-libtermcap: | |
6096 | ||
6097 | TAGS-target-libtermcap: \ | |
6098 | configure-target-libtermcap | |
6099 | @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ | |
6100 | r=`${PWD}`; export r; \ | |
6101 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6102 | $(SET_LIB_PATH) \ | |
6103 | echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \ | |
6104 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6105 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6106 | done; \ | |
6107 | (cd $(TARGET_SUBDIR)/libtermcap && \ | |
6108 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6109 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6110 | "RANLIB=$${RANLIB}" \ | |
6111 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6112 | TAGS) \ | |
6113 | || exit 1 | |
6114 | ||
6115 | ||
6116 | .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup | |
6117 | maybe-TAGS-target-winsup: | |
6118 | ||
6119 | TAGS-target-winsup: \ | |
6120 | configure-target-winsup | |
6121 | @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ | |
6122 | r=`${PWD}`; export r; \ | |
6123 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6124 | $(SET_LIB_PATH) \ | |
6125 | echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \ | |
6126 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6127 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6128 | done; \ | |
6129 | (cd $(TARGET_SUBDIR)/winsup && \ | |
6130 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6131 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6132 | "RANLIB=$${RANLIB}" \ | |
6133 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6134 | TAGS) \ | |
6135 | || exit 1 | |
6136 | ||
6137 | ||
6138 | .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss | |
6139 | maybe-TAGS-target-libgloss: | |
6140 | ||
6141 | TAGS-target-libgloss: \ | |
6142 | configure-target-libgloss | |
6143 | @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ | |
6144 | r=`${PWD}`; export r; \ | |
6145 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6146 | $(SET_LIB_PATH) \ | |
6147 | echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \ | |
6148 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6149 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6150 | done; \ | |
6151 | (cd $(TARGET_SUBDIR)/libgloss && \ | |
6152 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6153 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6154 | "RANLIB=$${RANLIB}" \ | |
6155 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6156 | TAGS) \ | |
6157 | || exit 1 | |
6158 | ||
6159 | ||
6160 | .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty | |
6161 | maybe-TAGS-target-libiberty: | |
6162 | ||
6163 | TAGS-target-libiberty: \ | |
6164 | configure-target-libiberty | |
6165 | @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ | |
6166 | r=`${PWD}`; export r; \ | |
6167 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6168 | $(SET_LIB_PATH) \ | |
6169 | echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \ | |
6170 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6171 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6172 | done; \ | |
6173 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
6174 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6175 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6176 | "RANLIB=$${RANLIB}" \ | |
6177 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6178 | TAGS) \ | |
6179 | || exit 1 | |
6180 | ||
6181 | ||
6182 | .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf | |
6183 | maybe-TAGS-target-gperf: | |
6184 | ||
6185 | TAGS-target-gperf: \ | |
6186 | configure-target-gperf | |
6187 | @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ | |
6188 | r=`${PWD}`; export r; \ | |
6189 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6190 | $(SET_LIB_PATH) \ | |
6191 | echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \ | |
6192 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6193 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6194 | done; \ | |
6195 | (cd $(TARGET_SUBDIR)/gperf && \ | |
6196 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6197 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6198 | "RANLIB=$${RANLIB}" \ | |
6199 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6200 | TAGS) \ | |
6201 | || exit 1 | |
6202 | ||
6203 | ||
6204 | .PHONY: maybe-TAGS-target-examples TAGS-target-examples | |
6205 | maybe-TAGS-target-examples: | |
6206 | ||
6207 | TAGS-target-examples: \ | |
6208 | configure-target-examples | |
6209 | @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ | |
6210 | r=`${PWD}`; export r; \ | |
6211 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6212 | $(SET_LIB_PATH) \ | |
6213 | echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \ | |
6214 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6215 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6216 | done; \ | |
6217 | (cd $(TARGET_SUBDIR)/examples && \ | |
6218 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6219 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6220 | "RANLIB=$${RANLIB}" \ | |
6221 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6222 | TAGS) \ | |
6223 | || exit 1 | |
6224 | ||
6225 | ||
6226 | .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi | |
6227 | maybe-TAGS-target-libffi: | |
6228 | ||
6229 | TAGS-target-libffi: \ | |
6230 | configure-target-libffi | |
6231 | @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ | |
6232 | r=`${PWD}`; export r; \ | |
6233 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6234 | $(SET_LIB_PATH) \ | |
6235 | echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \ | |
6236 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6237 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6238 | done; \ | |
6239 | (cd $(TARGET_SUBDIR)/libffi && \ | |
6240 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6241 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6242 | "RANLIB=$${RANLIB}" \ | |
6243 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6244 | TAGS) \ | |
6245 | || exit 1 | |
6246 | ||
6247 | ||
6248 | .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava | |
6249 | maybe-TAGS-target-libjava: | |
6250 | ||
6251 | TAGS-target-libjava: \ | |
6252 | configure-target-libjava | |
6253 | @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ | |
6254 | r=`${PWD}`; export r; \ | |
6255 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6256 | $(SET_LIB_PATH) \ | |
6257 | echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \ | |
6258 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6259 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6260 | done; \ | |
6261 | (cd $(TARGET_SUBDIR)/libjava && \ | |
6262 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6263 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6264 | "RANLIB=$${RANLIB}" \ | |
6265 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6266 | TAGS) \ | |
6267 | || exit 1 | |
6268 | ||
6269 | ||
6270 | .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib | |
6271 | maybe-TAGS-target-zlib: | |
6272 | ||
6273 | TAGS-target-zlib: \ | |
6274 | configure-target-zlib | |
6275 | @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ | |
6276 | r=`${PWD}`; export r; \ | |
6277 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6278 | $(SET_LIB_PATH) \ | |
6279 | echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \ | |
6280 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6281 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6282 | done; \ | |
6283 | (cd $(TARGET_SUBDIR)/zlib && \ | |
6284 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6285 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6286 | "RANLIB=$${RANLIB}" \ | |
6287 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6288 | TAGS) \ | |
6289 | || exit 1 | |
6290 | ||
6291 | ||
6292 | .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc | |
6293 | maybe-TAGS-target-boehm-gc: | |
6294 | ||
6295 | TAGS-target-boehm-gc: \ | |
6296 | configure-target-boehm-gc | |
6297 | @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ | |
6298 | r=`${PWD}`; export r; \ | |
6299 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6300 | $(SET_LIB_PATH) \ | |
6301 | echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \ | |
6302 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6303 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6304 | done; \ | |
6305 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
6306 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6307 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6308 | "RANLIB=$${RANLIB}" \ | |
6309 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6310 | TAGS) \ | |
6311 | || exit 1 | |
6312 | ||
6313 | ||
6314 | .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads | |
6315 | maybe-TAGS-target-qthreads: | |
6316 | ||
6317 | TAGS-target-qthreads: \ | |
6318 | configure-target-qthreads | |
6319 | @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ | |
6320 | r=`${PWD}`; export r; \ | |
6321 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6322 | $(SET_LIB_PATH) \ | |
6323 | echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \ | |
6324 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6325 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6326 | done; \ | |
6327 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
6328 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6329 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6330 | "RANLIB=$${RANLIB}" \ | |
6331 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6332 | TAGS) \ | |
6333 | || exit 1 | |
6334 | ||
6335 | ||
6336 | .PHONY: maybe-TAGS-target-rda TAGS-target-rda | |
6337 | maybe-TAGS-target-rda: | |
6338 | ||
6339 | TAGS-target-rda: \ | |
6340 | configure-target-rda | |
6341 | @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ | |
6342 | r=`${PWD}`; export r; \ | |
6343 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6344 | $(SET_LIB_PATH) \ | |
6345 | echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \ | |
6346 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
6347 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6348 | done; \ | |
6349 | (cd $(TARGET_SUBDIR)/rda && \ | |
6350 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6351 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6352 | "RANLIB=$${RANLIB}" \ | |
6353 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6354 | TAGS) \ | |
6355 | || exit 1 | |
6356 | ||
6357 | ||
6358 | ||
6359 | .PHONY: do-install-info | |
6360 | do-install-info: install-info-host install-info-target | |
6361 | ||
6362 | .PHONY: install-info-host | |
6363 | install-info-host: maybe-install-info-gcc \ | |
6364 | maybe-install-info-ash \ | |
6365 | maybe-install-info-autoconf \ | |
6366 | maybe-install-info-automake \ | |
6367 | maybe-install-info-bash \ | |
6368 | maybe-install-info-bfd \ | |
6369 | maybe-install-info-opcodes \ | |
6370 | maybe-install-info-binutils \ | |
6371 | maybe-install-info-bison \ | |
6372 | maybe-install-info-byacc \ | |
6373 | maybe-install-info-bzip2 \ | |
6374 | maybe-install-info-dejagnu \ | |
6375 | maybe-install-info-diff \ | |
6376 | maybe-install-info-dosutils \ | |
6377 | maybe-install-info-etc \ | |
6378 | maybe-install-info-fastjar \ | |
6379 | maybe-install-info-fileutils \ | |
6380 | maybe-install-info-findutils \ | |
6381 | maybe-install-info-find \ | |
6382 | maybe-install-info-flex \ | |
6383 | maybe-install-info-gas \ | |
6384 | maybe-install-info-gawk \ | |
6385 | maybe-install-info-gettext \ | |
6386 | maybe-install-info-gnuserv \ | |
6387 | maybe-install-info-gprof \ | |
6388 | maybe-install-info-gzip \ | |
6389 | maybe-install-info-hello \ | |
6390 | maybe-install-info-indent \ | |
6391 | maybe-install-info-intl \ | |
6392 | maybe-install-info-tcl \ | |
6393 | maybe-install-info-itcl \ | |
6394 | maybe-install-info-ld \ | |
6395 | maybe-install-info-libgui \ | |
6396 | maybe-install-info-libiberty \ | |
6397 | maybe-install-info-libtool \ | |
6398 | maybe-install-info-m4 \ | |
6399 | maybe-install-info-make \ | |
6400 | maybe-install-info-mmalloc \ | |
6401 | maybe-install-info-patch \ | |
6402 | maybe-install-info-perl \ | |
6403 | maybe-install-info-prms \ | |
6404 | maybe-install-info-rcs \ | |
6405 | maybe-install-info-readline \ | |
6406 | maybe-install-info-release \ | |
6407 | maybe-install-info-recode \ | |
6408 | maybe-install-info-sed \ | |
6409 | maybe-install-info-send-pr \ | |
6410 | maybe-install-info-shellutils \ | |
6411 | maybe-install-info-sid \ | |
6412 | maybe-install-info-sim \ | |
6413 | maybe-install-info-tar \ | |
6414 | maybe-install-info-texinfo \ | |
6415 | maybe-install-info-textutils \ | |
6416 | maybe-install-info-time \ | |
6417 | maybe-install-info-uudecode \ | |
6418 | maybe-install-info-wdiff \ | |
6419 | maybe-install-info-zip \ | |
6420 | maybe-install-info-zlib \ | |
6421 | maybe-install-info-gdb \ | |
6422 | maybe-install-info-expect \ | |
6423 | maybe-install-info-guile \ | |
6424 | maybe-install-info-tk \ | |
6425 | maybe-install-info-tix \ | |
6426 | maybe-install-info-libtermcap \ | |
6427 | maybe-install-info-utils | |
6428 | ||
6429 | .PHONY: install-info-target | |
6430 | install-info-target: \ | |
6431 | maybe-install-info-target-libstdc++-v3 \ | |
6432 | maybe-install-info-target-newlib \ | |
6433 | maybe-install-info-target-libf2c \ | |
6434 | maybe-install-info-target-libobjc \ | |
6435 | maybe-install-info-target-libtermcap \ | |
6436 | maybe-install-info-target-winsup \ | |
6437 | maybe-install-info-target-libgloss \ | |
6438 | maybe-install-info-target-libiberty \ | |
6439 | maybe-install-info-target-gperf \ | |
6440 | maybe-install-info-target-examples \ | |
6441 | maybe-install-info-target-libffi \ | |
6442 | maybe-install-info-target-libjava \ | |
6443 | maybe-install-info-target-zlib \ | |
6444 | maybe-install-info-target-boehm-gc \ | |
6445 | maybe-install-info-target-qthreads \ | |
6446 | maybe-install-info-target-rda | |
6447 | ||
6448 | # GCC, the eternal special case | |
6449 | .PHONY: maybe-install-info-gcc install-info-gcc | |
6450 | maybe-install-info-gcc: | |
6451 | install-info-gcc: \ | |
6452 | configure-gcc \ | |
6453 | info-gcc | |
6454 | @[ -f ./gcc/Makefile ] || exit 0; \ | |
6455 | r=`${PWD}`; export r; \ | |
6456 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6457 | $(SET_LIB_PATH) \ | |
6458 | for flag in $(EXTRA_GCC_FLAGS); do \ | |
6459 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6460 | done; \ | |
6461 | echo "Doing install-info in gcc" ; \ | |
6462 | (cd gcc && \ | |
6463 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6464 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6465 | "RANLIB=$${RANLIB}" \ | |
6466 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6467 | install-info) \ | |
6468 | || exit 1 | |
6469 | ||
6470 | # Host modules. | |
6471 | ||
6472 | .PHONY: maybe-install-info-ash install-info-ash | |
6473 | maybe-install-info-ash: | |
6474 | ||
6475 | install-info-ash: \ | |
6476 | configure-ash \ | |
6477 | info-ash | |
6478 | @[ -f ./ash/Makefile ] || exit 0; \ | |
6479 | r=`${PWD}`; export r; \ | |
6480 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6481 | $(SET_LIB_PATH) \ | |
6482 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6483 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6484 | done; \ | |
6485 | echo "Doing install-info in ash" ; \ | |
6486 | (cd ash && \ | |
6487 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6488 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6489 | "RANLIB=$${RANLIB}" \ | |
6490 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6491 | install-info) \ | |
6492 | || exit 1 | |
6493 | ||
6494 | ||
6495 | .PHONY: maybe-install-info-autoconf install-info-autoconf | |
6496 | maybe-install-info-autoconf: | |
6497 | ||
6498 | install-info-autoconf: \ | |
6499 | configure-autoconf \ | |
6500 | info-autoconf | |
6501 | @[ -f ./autoconf/Makefile ] || exit 0; \ | |
6502 | r=`${PWD}`; export r; \ | |
6503 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6504 | $(SET_LIB_PATH) \ | |
6505 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6506 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6507 | done; \ | |
6508 | echo "Doing install-info in autoconf" ; \ | |
6509 | (cd autoconf && \ | |
6510 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6511 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6512 | "RANLIB=$${RANLIB}" \ | |
6513 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6514 | install-info) \ | |
6515 | || exit 1 | |
6516 | ||
6517 | ||
6518 | .PHONY: maybe-install-info-automake install-info-automake | |
6519 | maybe-install-info-automake: | |
6520 | ||
6521 | install-info-automake: \ | |
6522 | configure-automake \ | |
6523 | info-automake | |
6524 | @[ -f ./automake/Makefile ] || exit 0; \ | |
6525 | r=`${PWD}`; export r; \ | |
6526 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6527 | $(SET_LIB_PATH) \ | |
6528 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6529 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6530 | done; \ | |
6531 | echo "Doing install-info in automake" ; \ | |
6532 | (cd automake && \ | |
6533 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6534 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6535 | "RANLIB=$${RANLIB}" \ | |
6536 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6537 | install-info) \ | |
6538 | || exit 1 | |
6539 | ||
6540 | ||
6541 | .PHONY: maybe-install-info-bash install-info-bash | |
6542 | maybe-install-info-bash: | |
6543 | ||
6544 | install-info-bash: \ | |
6545 | configure-bash \ | |
6546 | info-bash | |
6547 | @[ -f ./bash/Makefile ] || exit 0; \ | |
6548 | r=`${PWD}`; export r; \ | |
6549 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6550 | $(SET_LIB_PATH) \ | |
6551 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6552 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6553 | done; \ | |
6554 | echo "Doing install-info in bash" ; \ | |
6555 | (cd bash && \ | |
6556 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6557 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6558 | "RANLIB=$${RANLIB}" \ | |
6559 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6560 | install-info) \ | |
6561 | || exit 1 | |
6562 | ||
6563 | ||
6564 | .PHONY: maybe-install-info-bfd install-info-bfd | |
6565 | maybe-install-info-bfd: | |
6566 | ||
6567 | install-info-bfd: \ | |
6568 | configure-bfd \ | |
6569 | info-bfd | |
6570 | @[ -f ./bfd/Makefile ] || exit 0; \ | |
6571 | r=`${PWD}`; export r; \ | |
6572 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6573 | $(SET_LIB_PATH) \ | |
6574 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6575 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6576 | done; \ | |
6577 | echo "Doing install-info in bfd" ; \ | |
6578 | (cd bfd && \ | |
6579 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6580 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6581 | "RANLIB=$${RANLIB}" \ | |
6582 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6583 | install-info) \ | |
6584 | || exit 1 | |
6585 | ||
6586 | ||
6587 | .PHONY: maybe-install-info-opcodes install-info-opcodes | |
6588 | maybe-install-info-opcodes: | |
6589 | ||
6590 | install-info-opcodes: \ | |
6591 | configure-opcodes \ | |
6592 | info-opcodes | |
6593 | @[ -f ./opcodes/Makefile ] || exit 0; \ | |
6594 | r=`${PWD}`; export r; \ | |
6595 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6596 | $(SET_LIB_PATH) \ | |
6597 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6598 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6599 | done; \ | |
6600 | echo "Doing install-info in opcodes" ; \ | |
6601 | (cd opcodes && \ | |
6602 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6603 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6604 | "RANLIB=$${RANLIB}" \ | |
6605 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6606 | install-info) \ | |
6607 | || exit 1 | |
6608 | ||
6609 | ||
6610 | .PHONY: maybe-install-info-binutils install-info-binutils | |
6611 | maybe-install-info-binutils: | |
6612 | ||
6613 | install-info-binutils: \ | |
6614 | configure-binutils \ | |
6615 | info-binutils | |
6616 | @[ -f ./binutils/Makefile ] || exit 0; \ | |
6617 | r=`${PWD}`; export r; \ | |
6618 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6619 | $(SET_LIB_PATH) \ | |
6620 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6621 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6622 | done; \ | |
6623 | echo "Doing install-info in binutils" ; \ | |
6624 | (cd binutils && \ | |
6625 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6626 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6627 | "RANLIB=$${RANLIB}" \ | |
6628 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6629 | install-info) \ | |
6630 | || exit 1 | |
6631 | ||
6632 | ||
6633 | .PHONY: maybe-install-info-bison install-info-bison | |
6634 | maybe-install-info-bison: | |
6635 | ||
6636 | install-info-bison: \ | |
6637 | configure-bison \ | |
6638 | info-bison | |
6639 | @[ -f ./bison/Makefile ] || exit 0; \ | |
6640 | r=`${PWD}`; export r; \ | |
6641 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6642 | $(SET_LIB_PATH) \ | |
6643 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6644 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6645 | done; \ | |
6646 | echo "Doing install-info in bison" ; \ | |
6647 | (cd bison && \ | |
6648 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6649 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6650 | "RANLIB=$${RANLIB}" \ | |
6651 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6652 | install-info) \ | |
6653 | || exit 1 | |
6654 | ||
6655 | ||
6656 | .PHONY: maybe-install-info-byacc install-info-byacc | |
6657 | maybe-install-info-byacc: | |
6658 | ||
6659 | install-info-byacc: \ | |
6660 | configure-byacc \ | |
6661 | info-byacc | |
6662 | @[ -f ./byacc/Makefile ] || exit 0; \ | |
6663 | r=`${PWD}`; export r; \ | |
6664 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6665 | $(SET_LIB_PATH) \ | |
6666 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6667 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6668 | done; \ | |
6669 | echo "Doing install-info in byacc" ; \ | |
6670 | (cd byacc && \ | |
6671 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6672 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6673 | "RANLIB=$${RANLIB}" \ | |
6674 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6675 | install-info) \ | |
6676 | || exit 1 | |
6677 | ||
6678 | ||
6679 | .PHONY: maybe-install-info-bzip2 install-info-bzip2 | |
6680 | maybe-install-info-bzip2: | |
6681 | ||
6682 | install-info-bzip2: \ | |
6683 | configure-bzip2 \ | |
6684 | info-bzip2 | |
6685 | @[ -f ./bzip2/Makefile ] || exit 0; \ | |
6686 | r=`${PWD}`; export r; \ | |
6687 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6688 | $(SET_LIB_PATH) \ | |
6689 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6690 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6691 | done; \ | |
6692 | echo "Doing install-info in bzip2" ; \ | |
6693 | (cd bzip2 && \ | |
6694 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6695 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6696 | "RANLIB=$${RANLIB}" \ | |
6697 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6698 | install-info) \ | |
6699 | || exit 1 | |
6700 | ||
6701 | ||
6702 | .PHONY: maybe-install-info-dejagnu install-info-dejagnu | |
6703 | maybe-install-info-dejagnu: | |
6704 | ||
6705 | install-info-dejagnu: \ | |
6706 | configure-dejagnu \ | |
6707 | info-dejagnu | |
6708 | @[ -f ./dejagnu/Makefile ] || exit 0; \ | |
6709 | r=`${PWD}`; export r; \ | |
6710 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6711 | $(SET_LIB_PATH) \ | |
6712 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6713 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6714 | done; \ | |
6715 | echo "Doing install-info in dejagnu" ; \ | |
6716 | (cd dejagnu && \ | |
6717 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6718 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6719 | "RANLIB=$${RANLIB}" \ | |
6720 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6721 | install-info) \ | |
6722 | || exit 1 | |
6723 | ||
6724 | ||
6725 | .PHONY: maybe-install-info-diff install-info-diff | |
6726 | maybe-install-info-diff: | |
6727 | ||
6728 | install-info-diff: \ | |
6729 | configure-diff \ | |
6730 | info-diff | |
6731 | @[ -f ./diff/Makefile ] || exit 0; \ | |
6732 | r=`${PWD}`; export r; \ | |
6733 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6734 | $(SET_LIB_PATH) \ | |
6735 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6736 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6737 | done; \ | |
6738 | echo "Doing install-info in diff" ; \ | |
6739 | (cd diff && \ | |
6740 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6741 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6742 | "RANLIB=$${RANLIB}" \ | |
6743 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6744 | install-info) \ | |
6745 | || exit 1 | |
6746 | ||
6747 | ||
6748 | .PHONY: maybe-install-info-dosutils install-info-dosutils | |
6749 | maybe-install-info-dosutils: | |
6750 | ||
6751 | install-info-dosutils: \ | |
6752 | configure-dosutils \ | |
6753 | info-dosutils | |
6754 | @[ -f ./dosutils/Makefile ] || exit 0; \ | |
6755 | r=`${PWD}`; export r; \ | |
6756 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6757 | $(SET_LIB_PATH) \ | |
6758 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6759 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6760 | done; \ | |
6761 | echo "Doing install-info in dosutils" ; \ | |
6762 | (cd dosutils && \ | |
6763 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6764 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6765 | "RANLIB=$${RANLIB}" \ | |
6766 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6767 | install-info) \ | |
6768 | || exit 1 | |
6769 | ||
6770 | ||
6771 | .PHONY: maybe-install-info-etc install-info-etc | |
6772 | maybe-install-info-etc: | |
6773 | ||
6774 | install-info-etc: \ | |
6775 | configure-etc \ | |
6776 | info-etc | |
6777 | @[ -f ./etc/Makefile ] || exit 0; \ | |
6778 | r=`${PWD}`; export r; \ | |
6779 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6780 | $(SET_LIB_PATH) \ | |
6781 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6782 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6783 | done; \ | |
6784 | echo "Doing install-info in etc" ; \ | |
6785 | (cd etc && \ | |
6786 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6787 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6788 | "RANLIB=$${RANLIB}" \ | |
6789 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6790 | install-info) \ | |
6791 | || exit 1 | |
6792 | ||
6793 | ||
6794 | .PHONY: maybe-install-info-fastjar install-info-fastjar | |
6795 | maybe-install-info-fastjar: | |
6796 | ||
6797 | install-info-fastjar: \ | |
6798 | configure-fastjar \ | |
6799 | info-fastjar | |
6800 | @[ -f ./fastjar/Makefile ] || exit 0; \ | |
6801 | r=`${PWD}`; export r; \ | |
6802 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6803 | $(SET_LIB_PATH) \ | |
6804 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6805 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6806 | done; \ | |
6807 | echo "Doing install-info in fastjar" ; \ | |
6808 | (cd fastjar && \ | |
6809 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6810 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6811 | "RANLIB=$${RANLIB}" \ | |
6812 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6813 | install-info) \ | |
6814 | || exit 1 | |
6815 | ||
6816 | ||
6817 | .PHONY: maybe-install-info-fileutils install-info-fileutils | |
6818 | maybe-install-info-fileutils: | |
6819 | ||
6820 | install-info-fileutils: \ | |
6821 | configure-fileutils \ | |
6822 | info-fileutils | |
6823 | @[ -f ./fileutils/Makefile ] || exit 0; \ | |
6824 | r=`${PWD}`; export r; \ | |
6825 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6826 | $(SET_LIB_PATH) \ | |
6827 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6828 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6829 | done; \ | |
6830 | echo "Doing install-info in fileutils" ; \ | |
6831 | (cd fileutils && \ | |
6832 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6833 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6834 | "RANLIB=$${RANLIB}" \ | |
6835 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6836 | install-info) \ | |
6837 | || exit 1 | |
6838 | ||
6839 | ||
6840 | .PHONY: maybe-install-info-findutils install-info-findutils | |
6841 | maybe-install-info-findutils: | |
6842 | ||
6843 | install-info-findutils: \ | |
6844 | configure-findutils \ | |
6845 | info-findutils | |
6846 | @[ -f ./findutils/Makefile ] || exit 0; \ | |
6847 | r=`${PWD}`; export r; \ | |
6848 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6849 | $(SET_LIB_PATH) \ | |
6850 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6851 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6852 | done; \ | |
6853 | echo "Doing install-info in findutils" ; \ | |
6854 | (cd findutils && \ | |
6855 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6856 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6857 | "RANLIB=$${RANLIB}" \ | |
6858 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6859 | install-info) \ | |
6860 | || exit 1 | |
6861 | ||
6862 | ||
6863 | .PHONY: maybe-install-info-find install-info-find | |
6864 | maybe-install-info-find: | |
6865 | ||
6866 | install-info-find: \ | |
6867 | configure-find \ | |
6868 | info-find | |
6869 | @[ -f ./find/Makefile ] || exit 0; \ | |
6870 | r=`${PWD}`; export r; \ | |
6871 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6872 | $(SET_LIB_PATH) \ | |
6873 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6874 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6875 | done; \ | |
6876 | echo "Doing install-info in find" ; \ | |
6877 | (cd find && \ | |
6878 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6879 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6880 | "RANLIB=$${RANLIB}" \ | |
6881 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6882 | install-info) \ | |
6883 | || exit 1 | |
6884 | ||
6885 | ||
6886 | .PHONY: maybe-install-info-flex install-info-flex | |
6887 | maybe-install-info-flex: | |
6888 | ||
6889 | install-info-flex: \ | |
6890 | configure-flex \ | |
6891 | info-flex | |
6892 | @[ -f ./flex/Makefile ] || exit 0; \ | |
6893 | r=`${PWD}`; export r; \ | |
6894 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6895 | $(SET_LIB_PATH) \ | |
6896 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6897 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6898 | done; \ | |
6899 | echo "Doing install-info in flex" ; \ | |
6900 | (cd flex && \ | |
6901 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6902 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6903 | "RANLIB=$${RANLIB}" \ | |
6904 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6905 | install-info) \ | |
6906 | || exit 1 | |
6907 | ||
6908 | ||
6909 | .PHONY: maybe-install-info-gas install-info-gas | |
6910 | maybe-install-info-gas: | |
6911 | ||
6912 | install-info-gas: \ | |
6913 | configure-gas \ | |
6914 | info-gas | |
6915 | @[ -f ./gas/Makefile ] || exit 0; \ | |
6916 | r=`${PWD}`; export r; \ | |
6917 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6918 | $(SET_LIB_PATH) \ | |
6919 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6920 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6921 | done; \ | |
6922 | echo "Doing install-info in gas" ; \ | |
6923 | (cd gas && \ | |
6924 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6925 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6926 | "RANLIB=$${RANLIB}" \ | |
6927 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6928 | install-info) \ | |
6929 | || exit 1 | |
6930 | ||
6931 | ||
6932 | .PHONY: maybe-install-info-gawk install-info-gawk | |
6933 | maybe-install-info-gawk: | |
6934 | ||
6935 | install-info-gawk: \ | |
6936 | configure-gawk \ | |
6937 | info-gawk | |
6938 | @[ -f ./gawk/Makefile ] || exit 0; \ | |
6939 | r=`${PWD}`; export r; \ | |
6940 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6941 | $(SET_LIB_PATH) \ | |
6942 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6943 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6944 | done; \ | |
6945 | echo "Doing install-info in gawk" ; \ | |
6946 | (cd gawk && \ | |
6947 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6948 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6949 | "RANLIB=$${RANLIB}" \ | |
6950 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6951 | install-info) \ | |
6952 | || exit 1 | |
6953 | ||
6954 | ||
6955 | .PHONY: maybe-install-info-gettext install-info-gettext | |
6956 | maybe-install-info-gettext: | |
6957 | ||
6958 | install-info-gettext: \ | |
6959 | configure-gettext \ | |
6960 | info-gettext | |
6961 | @[ -f ./gettext/Makefile ] || exit 0; \ | |
6962 | r=`${PWD}`; export r; \ | |
6963 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6964 | $(SET_LIB_PATH) \ | |
6965 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6966 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6967 | done; \ | |
6968 | echo "Doing install-info in gettext" ; \ | |
6969 | (cd gettext && \ | |
6970 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6971 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6972 | "RANLIB=$${RANLIB}" \ | |
6973 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6974 | install-info) \ | |
6975 | || exit 1 | |
6976 | ||
6977 | ||
6978 | .PHONY: maybe-install-info-gnuserv install-info-gnuserv | |
6979 | maybe-install-info-gnuserv: | |
6980 | ||
6981 | install-info-gnuserv: \ | |
6982 | configure-gnuserv \ | |
6983 | info-gnuserv | |
6984 | @[ -f ./gnuserv/Makefile ] || exit 0; \ | |
6985 | r=`${PWD}`; export r; \ | |
6986 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
6987 | $(SET_LIB_PATH) \ | |
6988 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
6989 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
6990 | done; \ | |
6991 | echo "Doing install-info in gnuserv" ; \ | |
6992 | (cd gnuserv && \ | |
6993 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
6994 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
6995 | "RANLIB=$${RANLIB}" \ | |
6996 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
6997 | install-info) \ | |
6998 | || exit 1 | |
6999 | ||
7000 | ||
7001 | .PHONY: maybe-install-info-gprof install-info-gprof | |
7002 | maybe-install-info-gprof: | |
7003 | ||
7004 | install-info-gprof: \ | |
7005 | configure-gprof \ | |
7006 | info-gprof | |
7007 | @[ -f ./gprof/Makefile ] || exit 0; \ | |
7008 | r=`${PWD}`; export r; \ | |
7009 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7010 | $(SET_LIB_PATH) \ | |
7011 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7012 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7013 | done; \ | |
7014 | echo "Doing install-info in gprof" ; \ | |
7015 | (cd gprof && \ | |
7016 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7017 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7018 | "RANLIB=$${RANLIB}" \ | |
7019 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7020 | install-info) \ | |
7021 | || exit 1 | |
7022 | ||
7023 | ||
7024 | .PHONY: maybe-install-info-gzip install-info-gzip | |
7025 | maybe-install-info-gzip: | |
7026 | ||
7027 | install-info-gzip: \ | |
7028 | configure-gzip \ | |
7029 | info-gzip | |
7030 | @[ -f ./gzip/Makefile ] || exit 0; \ | |
7031 | r=`${PWD}`; export r; \ | |
7032 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7033 | $(SET_LIB_PATH) \ | |
7034 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7035 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7036 | done; \ | |
7037 | echo "Doing install-info in gzip" ; \ | |
7038 | (cd gzip && \ | |
7039 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7040 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7041 | "RANLIB=$${RANLIB}" \ | |
7042 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7043 | install-info) \ | |
7044 | || exit 1 | |
7045 | ||
7046 | ||
7047 | .PHONY: maybe-install-info-hello install-info-hello | |
7048 | maybe-install-info-hello: | |
7049 | ||
7050 | install-info-hello: \ | |
7051 | configure-hello \ | |
7052 | info-hello | |
7053 | @[ -f ./hello/Makefile ] || exit 0; \ | |
7054 | r=`${PWD}`; export r; \ | |
7055 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7056 | $(SET_LIB_PATH) \ | |
7057 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7058 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7059 | done; \ | |
7060 | echo "Doing install-info in hello" ; \ | |
7061 | (cd hello && \ | |
7062 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7063 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7064 | "RANLIB=$${RANLIB}" \ | |
7065 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7066 | install-info) \ | |
7067 | || exit 1 | |
7068 | ||
7069 | ||
7070 | .PHONY: maybe-install-info-indent install-info-indent | |
7071 | maybe-install-info-indent: | |
7072 | ||
7073 | install-info-indent: \ | |
7074 | configure-indent \ | |
7075 | info-indent | |
7076 | @[ -f ./indent/Makefile ] || exit 0; \ | |
7077 | r=`${PWD}`; export r; \ | |
7078 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7079 | $(SET_LIB_PATH) \ | |
7080 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7081 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7082 | done; \ | |
7083 | echo "Doing install-info in indent" ; \ | |
7084 | (cd indent && \ | |
7085 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7086 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7087 | "RANLIB=$${RANLIB}" \ | |
7088 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7089 | install-info) \ | |
7090 | || exit 1 | |
7091 | ||
7092 | ||
7093 | .PHONY: maybe-install-info-intl install-info-intl | |
7094 | maybe-install-info-intl: | |
7095 | ||
7096 | install-info-intl: \ | |
7097 | configure-intl \ | |
7098 | info-intl | |
7099 | @[ -f ./intl/Makefile ] || exit 0; \ | |
7100 | r=`${PWD}`; export r; \ | |
7101 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7102 | $(SET_LIB_PATH) \ | |
7103 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7104 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7105 | done; \ | |
7106 | echo "Doing install-info in intl" ; \ | |
7107 | (cd intl && \ | |
7108 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7109 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7110 | "RANLIB=$${RANLIB}" \ | |
7111 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7112 | install-info) \ | |
7113 | || exit 1 | |
7114 | ||
7115 | ||
7116 | .PHONY: maybe-install-info-tcl install-info-tcl | |
7117 | maybe-install-info-tcl: | |
7118 | ||
7119 | install-info-tcl: \ | |
7120 | configure-tcl \ | |
7121 | info-tcl | |
7122 | @[ -f ./tcl/Makefile ] || exit 0; \ | |
7123 | r=`${PWD}`; export r; \ | |
7124 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7125 | $(SET_LIB_PATH) \ | |
7126 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7127 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7128 | done; \ | |
7129 | echo "Doing install-info in tcl" ; \ | |
7130 | (cd tcl && \ | |
7131 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7132 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7133 | "RANLIB=$${RANLIB}" \ | |
7134 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7135 | install-info) \ | |
7136 | || exit 1 | |
7137 | ||
7138 | ||
7139 | .PHONY: maybe-install-info-itcl install-info-itcl | |
7140 | maybe-install-info-itcl: | |
7141 | ||
7142 | install-info-itcl: \ | |
7143 | configure-itcl \ | |
7144 | info-itcl | |
7145 | @[ -f ./itcl/Makefile ] || exit 0; \ | |
7146 | r=`${PWD}`; export r; \ | |
7147 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7148 | $(SET_LIB_PATH) \ | |
7149 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7150 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7151 | done; \ | |
7152 | echo "Doing install-info in itcl" ; \ | |
7153 | (cd itcl && \ | |
7154 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7155 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7156 | "RANLIB=$${RANLIB}" \ | |
7157 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7158 | install-info) \ | |
7159 | || exit 1 | |
7160 | ||
7161 | ||
7162 | .PHONY: maybe-install-info-ld install-info-ld | |
7163 | maybe-install-info-ld: | |
7164 | ||
7165 | install-info-ld: \ | |
7166 | configure-ld \ | |
7167 | info-ld | |
7168 | @[ -f ./ld/Makefile ] || exit 0; \ | |
7169 | r=`${PWD}`; export r; \ | |
7170 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7171 | $(SET_LIB_PATH) \ | |
7172 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7173 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7174 | done; \ | |
7175 | echo "Doing install-info in ld" ; \ | |
7176 | (cd ld && \ | |
7177 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7178 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7179 | "RANLIB=$${RANLIB}" \ | |
7180 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7181 | install-info) \ | |
7182 | || exit 1 | |
7183 | ||
7184 | ||
7185 | .PHONY: maybe-install-info-libgui install-info-libgui | |
7186 | maybe-install-info-libgui: | |
7187 | ||
7188 | install-info-libgui: \ | |
7189 | configure-libgui \ | |
7190 | info-libgui | |
7191 | @[ -f ./libgui/Makefile ] || exit 0; \ | |
7192 | r=`${PWD}`; export r; \ | |
7193 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7194 | $(SET_LIB_PATH) \ | |
7195 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7196 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7197 | done; \ | |
7198 | echo "Doing install-info in libgui" ; \ | |
7199 | (cd libgui && \ | |
7200 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7201 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7202 | "RANLIB=$${RANLIB}" \ | |
7203 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7204 | install-info) \ | |
7205 | || exit 1 | |
7206 | ||
7207 | ||
7208 | .PHONY: maybe-install-info-libiberty install-info-libiberty | |
7209 | maybe-install-info-libiberty: | |
7210 | ||
7211 | install-info-libiberty: \ | |
7212 | configure-libiberty \ | |
7213 | info-libiberty | |
7214 | @[ -f ./libiberty/Makefile ] || exit 0; \ | |
7215 | r=`${PWD}`; export r; \ | |
7216 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7217 | $(SET_LIB_PATH) \ | |
7218 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7219 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7220 | done; \ | |
7221 | echo "Doing install-info in libiberty" ; \ | |
7222 | (cd libiberty && \ | |
7223 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7224 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7225 | "RANLIB=$${RANLIB}" \ | |
7226 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7227 | install-info) \ | |
7228 | || exit 1 | |
7229 | ||
7230 | ||
7231 | .PHONY: maybe-install-info-libtool install-info-libtool | |
7232 | maybe-install-info-libtool: | |
7233 | ||
7234 | install-info-libtool: \ | |
7235 | configure-libtool \ | |
7236 | info-libtool | |
7237 | @[ -f ./libtool/Makefile ] || exit 0; \ | |
7238 | r=`${PWD}`; export r; \ | |
7239 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7240 | $(SET_LIB_PATH) \ | |
7241 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7242 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7243 | done; \ | |
7244 | echo "Doing install-info in libtool" ; \ | |
7245 | (cd libtool && \ | |
7246 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7247 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7248 | "RANLIB=$${RANLIB}" \ | |
7249 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7250 | install-info) \ | |
7251 | || exit 1 | |
7252 | ||
7253 | ||
7254 | .PHONY: maybe-install-info-m4 install-info-m4 | |
7255 | maybe-install-info-m4: | |
7256 | ||
7257 | install-info-m4: \ | |
7258 | configure-m4 \ | |
7259 | info-m4 | |
7260 | @[ -f ./m4/Makefile ] || exit 0; \ | |
7261 | r=`${PWD}`; export r; \ | |
7262 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7263 | $(SET_LIB_PATH) \ | |
7264 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7265 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7266 | done; \ | |
7267 | echo "Doing install-info in m4" ; \ | |
7268 | (cd m4 && \ | |
7269 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7270 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7271 | "RANLIB=$${RANLIB}" \ | |
7272 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7273 | install-info) \ | |
7274 | || exit 1 | |
7275 | ||
7276 | ||
7277 | .PHONY: maybe-install-info-make install-info-make | |
7278 | maybe-install-info-make: | |
7279 | ||
7280 | install-info-make: \ | |
7281 | configure-make \ | |
7282 | info-make | |
7283 | @[ -f ./make/Makefile ] || exit 0; \ | |
7284 | r=`${PWD}`; export r; \ | |
7285 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7286 | $(SET_LIB_PATH) \ | |
7287 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7288 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7289 | done; \ | |
7290 | echo "Doing install-info in make" ; \ | |
7291 | (cd make && \ | |
7292 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7293 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7294 | "RANLIB=$${RANLIB}" \ | |
7295 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7296 | install-info) \ | |
7297 | || exit 1 | |
7298 | ||
7299 | ||
7300 | .PHONY: maybe-install-info-mmalloc install-info-mmalloc | |
7301 | maybe-install-info-mmalloc: | |
7302 | ||
7303 | install-info-mmalloc: \ | |
7304 | configure-mmalloc \ | |
7305 | info-mmalloc | |
7306 | @[ -f ./mmalloc/Makefile ] || exit 0; \ | |
7307 | r=`${PWD}`; export r; \ | |
7308 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7309 | $(SET_LIB_PATH) \ | |
7310 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7311 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7312 | done; \ | |
7313 | echo "Doing install-info in mmalloc" ; \ | |
7314 | (cd mmalloc && \ | |
7315 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7316 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7317 | "RANLIB=$${RANLIB}" \ | |
7318 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7319 | install-info) \ | |
7320 | || exit 1 | |
7321 | ||
7322 | ||
7323 | .PHONY: maybe-install-info-patch install-info-patch | |
7324 | maybe-install-info-patch: | |
7325 | ||
7326 | install-info-patch: \ | |
7327 | configure-patch \ | |
7328 | info-patch | |
7329 | @[ -f ./patch/Makefile ] || exit 0; \ | |
7330 | r=`${PWD}`; export r; \ | |
7331 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7332 | $(SET_LIB_PATH) \ | |
7333 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7334 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7335 | done; \ | |
7336 | echo "Doing install-info in patch" ; \ | |
7337 | (cd patch && \ | |
7338 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7339 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7340 | "RANLIB=$${RANLIB}" \ | |
7341 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7342 | install-info) \ | |
7343 | || exit 1 | |
7344 | ||
7345 | ||
7346 | .PHONY: maybe-install-info-perl install-info-perl | |
7347 | maybe-install-info-perl: | |
7348 | ||
7349 | install-info-perl: \ | |
7350 | configure-perl \ | |
7351 | info-perl | |
7352 | @[ -f ./perl/Makefile ] || exit 0; \ | |
7353 | r=`${PWD}`; export r; \ | |
7354 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7355 | $(SET_LIB_PATH) \ | |
7356 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7357 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7358 | done; \ | |
7359 | echo "Doing install-info in perl" ; \ | |
7360 | (cd perl && \ | |
7361 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7362 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7363 | "RANLIB=$${RANLIB}" \ | |
7364 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7365 | install-info) \ | |
7366 | || exit 1 | |
7367 | ||
7368 | ||
7369 | .PHONY: maybe-install-info-prms install-info-prms | |
7370 | maybe-install-info-prms: | |
7371 | ||
7372 | install-info-prms: \ | |
7373 | configure-prms \ | |
7374 | info-prms | |
7375 | @[ -f ./prms/Makefile ] || exit 0; \ | |
7376 | r=`${PWD}`; export r; \ | |
7377 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7378 | $(SET_LIB_PATH) \ | |
7379 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7380 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7381 | done; \ | |
7382 | echo "Doing install-info in prms" ; \ | |
7383 | (cd prms && \ | |
7384 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7385 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7386 | "RANLIB=$${RANLIB}" \ | |
7387 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7388 | install-info) \ | |
7389 | || exit 1 | |
7390 | ||
7391 | ||
7392 | .PHONY: maybe-install-info-rcs install-info-rcs | |
7393 | maybe-install-info-rcs: | |
7394 | ||
7395 | install-info-rcs: \ | |
7396 | configure-rcs \ | |
7397 | info-rcs | |
7398 | @[ -f ./rcs/Makefile ] || exit 0; \ | |
7399 | r=`${PWD}`; export r; \ | |
7400 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7401 | $(SET_LIB_PATH) \ | |
7402 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7403 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7404 | done; \ | |
7405 | echo "Doing install-info in rcs" ; \ | |
7406 | (cd rcs && \ | |
7407 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7408 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7409 | "RANLIB=$${RANLIB}" \ | |
7410 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7411 | install-info) \ | |
7412 | || exit 1 | |
7413 | ||
7414 | ||
7415 | .PHONY: maybe-install-info-readline install-info-readline | |
7416 | maybe-install-info-readline: | |
7417 | ||
7418 | install-info-readline: \ | |
7419 | configure-readline \ | |
7420 | info-readline | |
7421 | @[ -f ./readline/Makefile ] || exit 0; \ | |
7422 | r=`${PWD}`; export r; \ | |
7423 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7424 | $(SET_LIB_PATH) \ | |
7425 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7426 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7427 | done; \ | |
7428 | echo "Doing install-info in readline" ; \ | |
7429 | (cd readline && \ | |
7430 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7431 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7432 | "RANLIB=$${RANLIB}" \ | |
7433 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7434 | install-info) \ | |
7435 | || exit 1 | |
7436 | ||
7437 | ||
7438 | .PHONY: maybe-install-info-release install-info-release | |
7439 | maybe-install-info-release: | |
7440 | ||
7441 | install-info-release: \ | |
7442 | configure-release \ | |
7443 | info-release | |
7444 | @[ -f ./release/Makefile ] || exit 0; \ | |
7445 | r=`${PWD}`; export r; \ | |
7446 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7447 | $(SET_LIB_PATH) \ | |
7448 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7449 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7450 | done; \ | |
7451 | echo "Doing install-info in release" ; \ | |
7452 | (cd release && \ | |
7453 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7454 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7455 | "RANLIB=$${RANLIB}" \ | |
7456 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7457 | install-info) \ | |
7458 | || exit 1 | |
7459 | ||
7460 | ||
7461 | .PHONY: maybe-install-info-recode install-info-recode | |
7462 | maybe-install-info-recode: | |
7463 | ||
7464 | install-info-recode: \ | |
7465 | configure-recode \ | |
7466 | info-recode | |
7467 | @[ -f ./recode/Makefile ] || exit 0; \ | |
7468 | r=`${PWD}`; export r; \ | |
7469 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7470 | $(SET_LIB_PATH) \ | |
7471 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7472 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7473 | done; \ | |
7474 | echo "Doing install-info in recode" ; \ | |
7475 | (cd recode && \ | |
7476 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7477 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7478 | "RANLIB=$${RANLIB}" \ | |
7479 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7480 | install-info) \ | |
7481 | || exit 1 | |
7482 | ||
7483 | ||
7484 | .PHONY: maybe-install-info-sed install-info-sed | |
7485 | maybe-install-info-sed: | |
7486 | ||
7487 | install-info-sed: \ | |
7488 | configure-sed \ | |
7489 | info-sed | |
7490 | @[ -f ./sed/Makefile ] || exit 0; \ | |
7491 | r=`${PWD}`; export r; \ | |
7492 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7493 | $(SET_LIB_PATH) \ | |
7494 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7495 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7496 | done; \ | |
7497 | echo "Doing install-info in sed" ; \ | |
7498 | (cd sed && \ | |
7499 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7500 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7501 | "RANLIB=$${RANLIB}" \ | |
7502 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7503 | install-info) \ | |
7504 | || exit 1 | |
7505 | ||
7506 | ||
7507 | .PHONY: maybe-install-info-send-pr install-info-send-pr | |
7508 | maybe-install-info-send-pr: | |
7509 | ||
7510 | install-info-send-pr: \ | |
7511 | configure-send-pr \ | |
7512 | info-send-pr | |
7513 | @[ -f ./send-pr/Makefile ] || exit 0; \ | |
7514 | r=`${PWD}`; export r; \ | |
7515 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7516 | $(SET_LIB_PATH) \ | |
7517 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7518 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7519 | done; \ | |
7520 | echo "Doing install-info in send-pr" ; \ | |
7521 | (cd send-pr && \ | |
7522 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7523 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7524 | "RANLIB=$${RANLIB}" \ | |
7525 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7526 | install-info) \ | |
7527 | || exit 1 | |
7528 | ||
7529 | ||
7530 | .PHONY: maybe-install-info-shellutils install-info-shellutils | |
7531 | maybe-install-info-shellutils: | |
7532 | ||
7533 | install-info-shellutils: \ | |
7534 | configure-shellutils \ | |
7535 | info-shellutils | |
7536 | @[ -f ./shellutils/Makefile ] || exit 0; \ | |
7537 | r=`${PWD}`; export r; \ | |
7538 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7539 | $(SET_LIB_PATH) \ | |
7540 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7541 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7542 | done; \ | |
7543 | echo "Doing install-info in shellutils" ; \ | |
7544 | (cd shellutils && \ | |
7545 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7546 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7547 | "RANLIB=$${RANLIB}" \ | |
7548 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7549 | install-info) \ | |
7550 | || exit 1 | |
7551 | ||
7552 | ||
7553 | .PHONY: maybe-install-info-sid install-info-sid | |
7554 | maybe-install-info-sid: | |
7555 | ||
7556 | install-info-sid: \ | |
7557 | configure-sid \ | |
7558 | info-sid | |
7559 | @[ -f ./sid/Makefile ] || exit 0; \ | |
7560 | r=`${PWD}`; export r; \ | |
7561 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7562 | $(SET_LIB_PATH) \ | |
7563 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7564 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7565 | done; \ | |
7566 | echo "Doing install-info in sid" ; \ | |
7567 | (cd sid && \ | |
7568 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7569 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7570 | "RANLIB=$${RANLIB}" \ | |
7571 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7572 | install-info) \ | |
7573 | || exit 1 | |
7574 | ||
7575 | ||
7576 | .PHONY: maybe-install-info-sim install-info-sim | |
7577 | maybe-install-info-sim: | |
7578 | ||
7579 | install-info-sim: \ | |
7580 | configure-sim \ | |
7581 | info-sim | |
7582 | @[ -f ./sim/Makefile ] || exit 0; \ | |
7583 | r=`${PWD}`; export r; \ | |
7584 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7585 | $(SET_LIB_PATH) \ | |
7586 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7587 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7588 | done; \ | |
7589 | echo "Doing install-info in sim" ; \ | |
7590 | (cd sim && \ | |
7591 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7592 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7593 | "RANLIB=$${RANLIB}" \ | |
7594 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7595 | install-info) \ | |
7596 | || exit 1 | |
7597 | ||
7598 | ||
7599 | .PHONY: maybe-install-info-tar install-info-tar | |
7600 | maybe-install-info-tar: | |
7601 | ||
7602 | install-info-tar: \ | |
7603 | configure-tar \ | |
7604 | info-tar | |
7605 | @[ -f ./tar/Makefile ] || exit 0; \ | |
7606 | r=`${PWD}`; export r; \ | |
7607 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7608 | $(SET_LIB_PATH) \ | |
7609 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7610 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7611 | done; \ | |
7612 | echo "Doing install-info in tar" ; \ | |
7613 | (cd tar && \ | |
7614 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7615 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7616 | "RANLIB=$${RANLIB}" \ | |
7617 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7618 | install-info) \ | |
7619 | || exit 1 | |
7620 | ||
7621 | ||
7622 | .PHONY: maybe-install-info-texinfo install-info-texinfo | |
7623 | maybe-install-info-texinfo: | |
7624 | ||
7625 | install-info-texinfo: \ | |
7626 | configure-texinfo \ | |
7627 | info-texinfo | |
7628 | @[ -f ./texinfo/Makefile ] || exit 0; \ | |
7629 | r=`${PWD}`; export r; \ | |
7630 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7631 | $(SET_LIB_PATH) \ | |
7632 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7633 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7634 | done; \ | |
7635 | echo "Doing install-info in texinfo" ; \ | |
7636 | (cd texinfo && \ | |
7637 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7638 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7639 | "RANLIB=$${RANLIB}" \ | |
7640 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7641 | install-info) \ | |
7642 | || exit 1 | |
7643 | ||
7644 | ||
7645 | .PHONY: maybe-install-info-textutils install-info-textutils | |
7646 | maybe-install-info-textutils: | |
7647 | ||
7648 | install-info-textutils: \ | |
7649 | configure-textutils \ | |
7650 | info-textutils | |
7651 | @[ -f ./textutils/Makefile ] || exit 0; \ | |
7652 | r=`${PWD}`; export r; \ | |
7653 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7654 | $(SET_LIB_PATH) \ | |
7655 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7656 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7657 | done; \ | |
7658 | echo "Doing install-info in textutils" ; \ | |
7659 | (cd textutils && \ | |
7660 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7661 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7662 | "RANLIB=$${RANLIB}" \ | |
7663 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7664 | install-info) \ | |
7665 | || exit 1 | |
7666 | ||
7667 | ||
7668 | .PHONY: maybe-install-info-time install-info-time | |
7669 | maybe-install-info-time: | |
7670 | ||
7671 | install-info-time: \ | |
7672 | configure-time \ | |
7673 | info-time | |
7674 | @[ -f ./time/Makefile ] || exit 0; \ | |
7675 | r=`${PWD}`; export r; \ | |
7676 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7677 | $(SET_LIB_PATH) \ | |
7678 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7679 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7680 | done; \ | |
7681 | echo "Doing install-info in time" ; \ | |
7682 | (cd time && \ | |
7683 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7684 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7685 | "RANLIB=$${RANLIB}" \ | |
7686 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7687 | install-info) \ | |
7688 | || exit 1 | |
7689 | ||
7690 | ||
7691 | .PHONY: maybe-install-info-uudecode install-info-uudecode | |
7692 | maybe-install-info-uudecode: | |
7693 | ||
7694 | install-info-uudecode: \ | |
7695 | configure-uudecode \ | |
7696 | info-uudecode | |
7697 | @[ -f ./uudecode/Makefile ] || exit 0; \ | |
7698 | r=`${PWD}`; export r; \ | |
7699 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7700 | $(SET_LIB_PATH) \ | |
7701 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7702 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7703 | done; \ | |
7704 | echo "Doing install-info in uudecode" ; \ | |
7705 | (cd uudecode && \ | |
7706 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7707 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7708 | "RANLIB=$${RANLIB}" \ | |
7709 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7710 | install-info) \ | |
7711 | || exit 1 | |
7712 | ||
7713 | ||
7714 | .PHONY: maybe-install-info-wdiff install-info-wdiff | |
7715 | maybe-install-info-wdiff: | |
7716 | ||
7717 | install-info-wdiff: \ | |
7718 | configure-wdiff \ | |
7719 | info-wdiff | |
7720 | @[ -f ./wdiff/Makefile ] || exit 0; \ | |
7721 | r=`${PWD}`; export r; \ | |
7722 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7723 | $(SET_LIB_PATH) \ | |
7724 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7725 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7726 | done; \ | |
7727 | echo "Doing install-info in wdiff" ; \ | |
7728 | (cd wdiff && \ | |
7729 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7730 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7731 | "RANLIB=$${RANLIB}" \ | |
7732 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7733 | install-info) \ | |
7734 | || exit 1 | |
7735 | ||
7736 | ||
7737 | .PHONY: maybe-install-info-zip install-info-zip | |
7738 | maybe-install-info-zip: | |
7739 | ||
7740 | install-info-zip: \ | |
7741 | configure-zip \ | |
7742 | info-zip | |
7743 | @[ -f ./zip/Makefile ] || exit 0; \ | |
7744 | r=`${PWD}`; export r; \ | |
7745 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7746 | $(SET_LIB_PATH) \ | |
7747 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7748 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7749 | done; \ | |
7750 | echo "Doing install-info in zip" ; \ | |
7751 | (cd zip && \ | |
7752 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7753 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7754 | "RANLIB=$${RANLIB}" \ | |
7755 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7756 | install-info) \ | |
7757 | || exit 1 | |
7758 | ||
7759 | ||
7760 | .PHONY: maybe-install-info-zlib install-info-zlib | |
7761 | maybe-install-info-zlib: | |
7762 | ||
7763 | install-info-zlib: \ | |
7764 | configure-zlib \ | |
7765 | info-zlib | |
7766 | @[ -f ./zlib/Makefile ] || exit 0; \ | |
7767 | r=`${PWD}`; export r; \ | |
7768 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7769 | $(SET_LIB_PATH) \ | |
7770 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7771 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7772 | done; \ | |
7773 | echo "Doing install-info in zlib" ; \ | |
7774 | (cd zlib && \ | |
7775 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7776 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7777 | "RANLIB=$${RANLIB}" \ | |
7778 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7779 | install-info) \ | |
7780 | || exit 1 | |
7781 | ||
7782 | ||
7783 | .PHONY: maybe-install-info-gdb install-info-gdb | |
7784 | maybe-install-info-gdb: | |
7785 | ||
7786 | install-info-gdb: \ | |
7787 | configure-gdb \ | |
7788 | info-gdb | |
7789 | @[ -f ./gdb/Makefile ] || exit 0; \ | |
7790 | r=`${PWD}`; export r; \ | |
7791 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7792 | $(SET_LIB_PATH) \ | |
7793 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7794 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7795 | done; \ | |
7796 | echo "Doing install-info in gdb" ; \ | |
7797 | (cd gdb && \ | |
7798 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7799 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7800 | "RANLIB=$${RANLIB}" \ | |
7801 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7802 | install-info) \ | |
7803 | || exit 1 | |
7804 | ||
7805 | ||
7806 | .PHONY: maybe-install-info-expect install-info-expect | |
7807 | maybe-install-info-expect: | |
7808 | ||
7809 | install-info-expect: \ | |
7810 | configure-expect \ | |
7811 | info-expect | |
7812 | @[ -f ./expect/Makefile ] || exit 0; \ | |
7813 | r=`${PWD}`; export r; \ | |
7814 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7815 | $(SET_LIB_PATH) \ | |
7816 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7817 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7818 | done; \ | |
7819 | echo "Doing install-info in expect" ; \ | |
7820 | (cd expect && \ | |
7821 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7822 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7823 | "RANLIB=$${RANLIB}" \ | |
7824 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7825 | install-info) \ | |
7826 | || exit 1 | |
7827 | ||
7828 | ||
7829 | .PHONY: maybe-install-info-guile install-info-guile | |
7830 | maybe-install-info-guile: | |
7831 | ||
7832 | install-info-guile: \ | |
7833 | configure-guile \ | |
7834 | info-guile | |
7835 | @[ -f ./guile/Makefile ] || exit 0; \ | |
7836 | r=`${PWD}`; export r; \ | |
7837 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7838 | $(SET_LIB_PATH) \ | |
7839 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7840 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7841 | done; \ | |
7842 | echo "Doing install-info in guile" ; \ | |
7843 | (cd guile && \ | |
7844 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7845 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7846 | "RANLIB=$${RANLIB}" \ | |
7847 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7848 | install-info) \ | |
7849 | || exit 1 | |
7850 | ||
7851 | ||
7852 | .PHONY: maybe-install-info-tk install-info-tk | |
7853 | maybe-install-info-tk: | |
7854 | ||
7855 | install-info-tk: \ | |
7856 | configure-tk \ | |
7857 | info-tk | |
7858 | @[ -f ./tk/Makefile ] || exit 0; \ | |
7859 | r=`${PWD}`; export r; \ | |
7860 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7861 | $(SET_LIB_PATH) \ | |
7862 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7863 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7864 | done; \ | |
7865 | echo "Doing install-info in tk" ; \ | |
7866 | (cd tk && \ | |
7867 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7868 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7869 | "RANLIB=$${RANLIB}" \ | |
7870 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7871 | install-info) \ | |
7872 | || exit 1 | |
7873 | ||
7874 | ||
7875 | .PHONY: maybe-install-info-tix install-info-tix | |
7876 | maybe-install-info-tix: | |
7877 | ||
7878 | install-info-tix: \ | |
7879 | configure-tix \ | |
7880 | info-tix | |
7881 | @[ -f ./tix/Makefile ] || exit 0; \ | |
7882 | r=`${PWD}`; export r; \ | |
7883 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7884 | $(SET_LIB_PATH) \ | |
7885 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7886 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7887 | done; \ | |
7888 | echo "Doing install-info in tix" ; \ | |
7889 | (cd tix && \ | |
7890 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7891 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7892 | "RANLIB=$${RANLIB}" \ | |
7893 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7894 | install-info) \ | |
7895 | || exit 1 | |
7896 | ||
7897 | ||
7898 | .PHONY: maybe-install-info-libtermcap install-info-libtermcap | |
7899 | maybe-install-info-libtermcap: | |
7900 | ||
7901 | install-info-libtermcap: \ | |
7902 | configure-libtermcap \ | |
7903 | info-libtermcap | |
7904 | @[ -f ./libtermcap/Makefile ] || exit 0; \ | |
7905 | r=`${PWD}`; export r; \ | |
7906 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7907 | $(SET_LIB_PATH) \ | |
7908 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7909 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7910 | done; \ | |
7911 | echo "Doing install-info in libtermcap" ; \ | |
7912 | (cd libtermcap && \ | |
7913 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7914 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7915 | "RANLIB=$${RANLIB}" \ | |
7916 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7917 | install-info) \ | |
7918 | || exit 1 | |
7919 | ||
7920 | ||
7921 | .PHONY: maybe-install-info-utils install-info-utils | |
7922 | maybe-install-info-utils: | |
7923 | ||
7924 | install-info-utils: \ | |
7925 | configure-utils \ | |
7926 | info-utils | |
7927 | @[ -f ./utils/Makefile ] || exit 0; \ | |
7928 | r=`${PWD}`; export r; \ | |
7929 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7930 | $(SET_LIB_PATH) \ | |
7931 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
7932 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7933 | done; \ | |
7934 | echo "Doing install-info in utils" ; \ | |
7935 | (cd utils && \ | |
7936 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7937 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7938 | "RANLIB=$${RANLIB}" \ | |
7939 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7940 | install-info) \ | |
7941 | || exit 1 | |
7942 | ||
7943 | ||
7944 | ||
7945 | # Target modules. | |
7946 | ||
7947 | .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3 | |
7948 | maybe-install-info-target-libstdc++-v3: | |
7949 | ||
7950 | install-info-target-libstdc++-v3: \ | |
7951 | configure-target-libstdc++-v3 \ | |
7952 | info-target-libstdc++-v3 | |
7953 | @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ | |
7954 | r=`${PWD}`; export r; \ | |
7955 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7956 | $(SET_LIB_PATH) \ | |
7957 | echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \ | |
7958 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
7959 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7960 | done; \ | |
7961 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
7962 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7963 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7964 | "RANLIB=$${RANLIB}" \ | |
7965 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7966 | install-info) \ | |
7967 | || exit 1 | |
7968 | ||
7969 | ||
7970 | .PHONY: maybe-install-info-target-newlib install-info-target-newlib | |
7971 | maybe-install-info-target-newlib: | |
7972 | ||
7973 | install-info-target-newlib: \ | |
7974 | configure-target-newlib \ | |
7975 | info-target-newlib | |
7976 | @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ | |
7977 | r=`${PWD}`; export r; \ | |
7978 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
7979 | $(SET_LIB_PATH) \ | |
7980 | echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \ | |
7981 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
7982 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
7983 | done; \ | |
7984 | (cd $(TARGET_SUBDIR)/newlib && \ | |
7985 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
7986 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
7987 | "RANLIB=$${RANLIB}" \ | |
7988 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
7989 | install-info) \ | |
7990 | || exit 1 | |
7991 | ||
7992 | ||
7993 | .PHONY: maybe-install-info-target-libf2c install-info-target-libf2c | |
7994 | maybe-install-info-target-libf2c: | |
7995 | ||
7996 | install-info-target-libf2c: \ | |
7997 | configure-target-libf2c \ | |
7998 | info-target-libf2c | |
7999 | @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \ | |
8000 | r=`${PWD}`; export r; \ | |
8001 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8002 | $(SET_LIB_PATH) \ | |
8003 | echo "Doing install-info in $(TARGET_SUBDIR)/libf2c" ; \ | |
8004 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8005 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8006 | done; \ | |
8007 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
8008 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8009 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8010 | "RANLIB=$${RANLIB}" \ | |
8011 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8012 | install-info) \ | |
8013 | || exit 1 | |
8014 | ||
8015 | ||
8016 | .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc | |
8017 | maybe-install-info-target-libobjc: | |
8018 | ||
8019 | install-info-target-libobjc: \ | |
8020 | configure-target-libobjc \ | |
8021 | info-target-libobjc | |
8022 | @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ | |
8023 | r=`${PWD}`; export r; \ | |
8024 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8025 | $(SET_LIB_PATH) \ | |
8026 | echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \ | |
8027 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8028 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8029 | done; \ | |
8030 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
8031 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8032 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8033 | "RANLIB=$${RANLIB}" \ | |
8034 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8035 | install-info) \ | |
8036 | || exit 1 | |
8037 | ||
8038 | ||
8039 | .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap | |
8040 | maybe-install-info-target-libtermcap: | |
8041 | ||
8042 | install-info-target-libtermcap: \ | |
8043 | configure-target-libtermcap \ | |
8044 | info-target-libtermcap | |
8045 | @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ | |
8046 | r=`${PWD}`; export r; \ | |
8047 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8048 | $(SET_LIB_PATH) \ | |
8049 | echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \ | |
8050 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8051 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8052 | done; \ | |
8053 | (cd $(TARGET_SUBDIR)/libtermcap && \ | |
8054 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8055 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8056 | "RANLIB=$${RANLIB}" \ | |
8057 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8058 | install-info) \ | |
8059 | || exit 1 | |
8060 | ||
8061 | ||
8062 | .PHONY: maybe-install-info-target-winsup install-info-target-winsup | |
8063 | maybe-install-info-target-winsup: | |
8064 | ||
8065 | install-info-target-winsup: \ | |
8066 | configure-target-winsup \ | |
8067 | info-target-winsup | |
8068 | @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ | |
8069 | r=`${PWD}`; export r; \ | |
8070 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8071 | $(SET_LIB_PATH) \ | |
8072 | echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \ | |
8073 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8074 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8075 | done; \ | |
8076 | (cd $(TARGET_SUBDIR)/winsup && \ | |
8077 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8078 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8079 | "RANLIB=$${RANLIB}" \ | |
8080 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8081 | install-info) \ | |
8082 | || exit 1 | |
8083 | ||
8084 | ||
8085 | .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss | |
8086 | maybe-install-info-target-libgloss: | |
8087 | ||
8088 | install-info-target-libgloss: \ | |
8089 | configure-target-libgloss \ | |
8090 | info-target-libgloss | |
8091 | @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ | |
8092 | r=`${PWD}`; export r; \ | |
8093 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8094 | $(SET_LIB_PATH) \ | |
8095 | echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \ | |
8096 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8097 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8098 | done; \ | |
8099 | (cd $(TARGET_SUBDIR)/libgloss && \ | |
8100 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8101 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8102 | "RANLIB=$${RANLIB}" \ | |
8103 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8104 | install-info) \ | |
8105 | || exit 1 | |
8106 | ||
8107 | ||
8108 | .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty | |
8109 | maybe-install-info-target-libiberty: | |
8110 | ||
8111 | install-info-target-libiberty: \ | |
8112 | configure-target-libiberty \ | |
8113 | info-target-libiberty | |
8114 | @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ | |
8115 | r=`${PWD}`; export r; \ | |
8116 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8117 | $(SET_LIB_PATH) \ | |
8118 | echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \ | |
8119 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8120 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8121 | done; \ | |
8122 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
8123 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8124 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8125 | "RANLIB=$${RANLIB}" \ | |
8126 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8127 | install-info) \ | |
8128 | || exit 1 | |
8129 | ||
8130 | ||
8131 | .PHONY: maybe-install-info-target-gperf install-info-target-gperf | |
8132 | maybe-install-info-target-gperf: | |
8133 | ||
8134 | install-info-target-gperf: \ | |
8135 | configure-target-gperf \ | |
8136 | info-target-gperf | |
8137 | @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ | |
8138 | r=`${PWD}`; export r; \ | |
8139 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8140 | $(SET_LIB_PATH) \ | |
8141 | echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \ | |
8142 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8143 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8144 | done; \ | |
8145 | (cd $(TARGET_SUBDIR)/gperf && \ | |
8146 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8147 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8148 | "RANLIB=$${RANLIB}" \ | |
8149 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8150 | install-info) \ | |
8151 | || exit 1 | |
8152 | ||
8153 | ||
8154 | .PHONY: maybe-install-info-target-examples install-info-target-examples | |
8155 | maybe-install-info-target-examples: | |
8156 | ||
8157 | install-info-target-examples: \ | |
8158 | configure-target-examples \ | |
8159 | info-target-examples | |
8160 | @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ | |
8161 | r=`${PWD}`; export r; \ | |
8162 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8163 | $(SET_LIB_PATH) \ | |
8164 | echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \ | |
8165 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8166 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8167 | done; \ | |
8168 | (cd $(TARGET_SUBDIR)/examples && \ | |
8169 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8170 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8171 | "RANLIB=$${RANLIB}" \ | |
8172 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8173 | install-info) \ | |
8174 | || exit 1 | |
8175 | ||
8176 | ||
8177 | .PHONY: maybe-install-info-target-libffi install-info-target-libffi | |
8178 | maybe-install-info-target-libffi: | |
8179 | ||
8180 | install-info-target-libffi: \ | |
8181 | configure-target-libffi \ | |
8182 | info-target-libffi | |
8183 | @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ | |
8184 | r=`${PWD}`; export r; \ | |
8185 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8186 | $(SET_LIB_PATH) \ | |
8187 | echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \ | |
8188 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8189 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8190 | done; \ | |
8191 | (cd $(TARGET_SUBDIR)/libffi && \ | |
8192 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8193 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8194 | "RANLIB=$${RANLIB}" \ | |
8195 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8196 | install-info) \ | |
8197 | || exit 1 | |
8198 | ||
8199 | ||
8200 | .PHONY: maybe-install-info-target-libjava install-info-target-libjava | |
8201 | maybe-install-info-target-libjava: | |
8202 | ||
8203 | install-info-target-libjava: \ | |
8204 | configure-target-libjava \ | |
8205 | info-target-libjava | |
8206 | @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ | |
8207 | r=`${PWD}`; export r; \ | |
8208 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8209 | $(SET_LIB_PATH) \ | |
8210 | echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \ | |
8211 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8212 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8213 | done; \ | |
8214 | (cd $(TARGET_SUBDIR)/libjava && \ | |
8215 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8216 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8217 | "RANLIB=$${RANLIB}" \ | |
8218 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8219 | install-info) \ | |
8220 | || exit 1 | |
8221 | ||
8222 | ||
8223 | .PHONY: maybe-install-info-target-zlib install-info-target-zlib | |
8224 | maybe-install-info-target-zlib: | |
8225 | ||
8226 | install-info-target-zlib: \ | |
8227 | configure-target-zlib \ | |
8228 | info-target-zlib | |
8229 | @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ | |
8230 | r=`${PWD}`; export r; \ | |
8231 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8232 | $(SET_LIB_PATH) \ | |
8233 | echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \ | |
8234 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8235 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8236 | done; \ | |
8237 | (cd $(TARGET_SUBDIR)/zlib && \ | |
8238 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8239 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8240 | "RANLIB=$${RANLIB}" \ | |
8241 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8242 | install-info) \ | |
8243 | || exit 1 | |
8244 | ||
8245 | ||
8246 | .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc | |
8247 | maybe-install-info-target-boehm-gc: | |
8248 | ||
8249 | install-info-target-boehm-gc: \ | |
8250 | configure-target-boehm-gc \ | |
8251 | info-target-boehm-gc | |
8252 | @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ | |
8253 | r=`${PWD}`; export r; \ | |
8254 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8255 | $(SET_LIB_PATH) \ | |
8256 | echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \ | |
8257 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8258 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8259 | done; \ | |
8260 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
8261 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8262 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8263 | "RANLIB=$${RANLIB}" \ | |
8264 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8265 | install-info) \ | |
8266 | || exit 1 | |
8267 | ||
8268 | ||
8269 | .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads | |
8270 | maybe-install-info-target-qthreads: | |
8271 | ||
8272 | install-info-target-qthreads: \ | |
8273 | configure-target-qthreads \ | |
8274 | info-target-qthreads | |
8275 | @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ | |
8276 | r=`${PWD}`; export r; \ | |
8277 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8278 | $(SET_LIB_PATH) \ | |
8279 | echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \ | |
8280 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8281 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8282 | done; \ | |
8283 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
8284 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8285 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8286 | "RANLIB=$${RANLIB}" \ | |
8287 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8288 | install-info) \ | |
8289 | || exit 1 | |
8290 | ||
8291 | ||
8292 | .PHONY: maybe-install-info-target-rda install-info-target-rda | |
8293 | maybe-install-info-target-rda: | |
8294 | ||
8295 | install-info-target-rda: \ | |
8296 | configure-target-rda \ | |
8297 | info-target-rda | |
8298 | @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ | |
8299 | r=`${PWD}`; export r; \ | |
8300 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8301 | $(SET_LIB_PATH) \ | |
8302 | echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \ | |
8303 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
8304 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8305 | done; \ | |
8306 | (cd $(TARGET_SUBDIR)/rda && \ | |
8307 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8308 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8309 | "RANLIB=$${RANLIB}" \ | |
8310 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8311 | install-info) \ | |
8312 | || exit 1 | |
8313 | ||
8314 | ||
8315 | ||
8316 | .PHONY: do-installcheck | |
8317 | do-installcheck: installcheck-host installcheck-target | |
8318 | ||
8319 | .PHONY: installcheck-host | |
8320 | installcheck-host: maybe-installcheck-gcc \ | |
8321 | maybe-installcheck-ash \ | |
8322 | maybe-installcheck-autoconf \ | |
8323 | maybe-installcheck-automake \ | |
8324 | maybe-installcheck-bash \ | |
8325 | maybe-installcheck-bfd \ | |
8326 | maybe-installcheck-opcodes \ | |
8327 | maybe-installcheck-binutils \ | |
8328 | maybe-installcheck-bison \ | |
8329 | maybe-installcheck-byacc \ | |
8330 | maybe-installcheck-bzip2 \ | |
8331 | maybe-installcheck-dejagnu \ | |
8332 | maybe-installcheck-diff \ | |
8333 | maybe-installcheck-dosutils \ | |
8334 | maybe-installcheck-etc \ | |
8335 | maybe-installcheck-fastjar \ | |
8336 | maybe-installcheck-fileutils \ | |
8337 | maybe-installcheck-findutils \ | |
8338 | maybe-installcheck-find \ | |
8339 | maybe-installcheck-flex \ | |
8340 | maybe-installcheck-gas \ | |
8341 | maybe-installcheck-gawk \ | |
8342 | maybe-installcheck-gettext \ | |
8343 | maybe-installcheck-gnuserv \ | |
8344 | maybe-installcheck-gprof \ | |
8345 | maybe-installcheck-gzip \ | |
8346 | maybe-installcheck-hello \ | |
8347 | maybe-installcheck-indent \ | |
8348 | maybe-installcheck-intl \ | |
8349 | maybe-installcheck-tcl \ | |
8350 | maybe-installcheck-itcl \ | |
8351 | maybe-installcheck-ld \ | |
8352 | maybe-installcheck-libgui \ | |
8353 | maybe-installcheck-libiberty \ | |
8354 | maybe-installcheck-libtool \ | |
8355 | maybe-installcheck-m4 \ | |
8356 | maybe-installcheck-make \ | |
8357 | maybe-installcheck-mmalloc \ | |
8358 | maybe-installcheck-patch \ | |
8359 | maybe-installcheck-perl \ | |
8360 | maybe-installcheck-prms \ | |
8361 | maybe-installcheck-rcs \ | |
8362 | maybe-installcheck-readline \ | |
8363 | maybe-installcheck-release \ | |
8364 | maybe-installcheck-recode \ | |
8365 | maybe-installcheck-sed \ | |
8366 | maybe-installcheck-send-pr \ | |
8367 | maybe-installcheck-shellutils \ | |
8368 | maybe-installcheck-sid \ | |
8369 | maybe-installcheck-sim \ | |
8370 | maybe-installcheck-tar \ | |
8371 | maybe-installcheck-texinfo \ | |
8372 | maybe-installcheck-textutils \ | |
8373 | maybe-installcheck-time \ | |
8374 | maybe-installcheck-uudecode \ | |
8375 | maybe-installcheck-wdiff \ | |
8376 | maybe-installcheck-zip \ | |
8377 | maybe-installcheck-zlib \ | |
8378 | maybe-installcheck-gdb \ | |
8379 | maybe-installcheck-expect \ | |
8380 | maybe-installcheck-guile \ | |
8381 | maybe-installcheck-tk \ | |
8382 | maybe-installcheck-tix \ | |
8383 | maybe-installcheck-libtermcap \ | |
8384 | maybe-installcheck-utils | |
8385 | ||
8386 | .PHONY: installcheck-target | |
8387 | installcheck-target: \ | |
8388 | maybe-installcheck-target-libstdc++-v3 \ | |
8389 | maybe-installcheck-target-newlib \ | |
8390 | maybe-installcheck-target-libf2c \ | |
8391 | maybe-installcheck-target-libobjc \ | |
8392 | maybe-installcheck-target-libtermcap \ | |
8393 | maybe-installcheck-target-winsup \ | |
8394 | maybe-installcheck-target-libgloss \ | |
8395 | maybe-installcheck-target-libiberty \ | |
8396 | maybe-installcheck-target-gperf \ | |
8397 | maybe-installcheck-target-examples \ | |
8398 | maybe-installcheck-target-libffi \ | |
8399 | maybe-installcheck-target-libjava \ | |
8400 | maybe-installcheck-target-zlib \ | |
8401 | maybe-installcheck-target-boehm-gc \ | |
8402 | maybe-installcheck-target-qthreads \ | |
8403 | maybe-installcheck-target-rda | |
8404 | ||
8405 | # GCC, the eternal special case | |
8406 | .PHONY: maybe-installcheck-gcc installcheck-gcc | |
8407 | maybe-installcheck-gcc: | |
8408 | installcheck-gcc: \ | |
8409 | configure-gcc | |
8410 | @[ -f ./gcc/Makefile ] || exit 0; \ | |
8411 | r=`${PWD}`; export r; \ | |
8412 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8413 | $(SET_LIB_PATH) \ | |
8414 | for flag in $(EXTRA_GCC_FLAGS); do \ | |
8415 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8416 | done; \ | |
8417 | echo "Doing installcheck in gcc" ; \ | |
8418 | (cd gcc && \ | |
8419 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8420 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8421 | "RANLIB=$${RANLIB}" \ | |
8422 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8423 | installcheck) \ | |
8424 | || exit 1 | |
8425 | ||
8426 | # Host modules. | |
8427 | ||
8428 | .PHONY: maybe-installcheck-ash installcheck-ash | |
8429 | maybe-installcheck-ash: | |
8430 | ||
8431 | installcheck-ash: \ | |
8432 | configure-ash | |
8433 | @[ -f ./ash/Makefile ] || exit 0; \ | |
8434 | r=`${PWD}`; export r; \ | |
8435 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8436 | $(SET_LIB_PATH) \ | |
8437 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8438 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8439 | done; \ | |
8440 | echo "Doing installcheck in ash" ; \ | |
8441 | (cd ash && \ | |
8442 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8443 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8444 | "RANLIB=$${RANLIB}" \ | |
8445 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8446 | installcheck) \ | |
8447 | || exit 1 | |
8448 | ||
8449 | ||
8450 | .PHONY: maybe-installcheck-autoconf installcheck-autoconf | |
8451 | maybe-installcheck-autoconf: | |
8452 | ||
8453 | installcheck-autoconf: \ | |
8454 | configure-autoconf | |
8455 | @[ -f ./autoconf/Makefile ] || exit 0; \ | |
8456 | r=`${PWD}`; export r; \ | |
8457 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8458 | $(SET_LIB_PATH) \ | |
8459 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8460 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8461 | done; \ | |
8462 | echo "Doing installcheck in autoconf" ; \ | |
8463 | (cd autoconf && \ | |
8464 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8465 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8466 | "RANLIB=$${RANLIB}" \ | |
8467 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8468 | installcheck) \ | |
8469 | || exit 1 | |
8470 | ||
8471 | ||
8472 | .PHONY: maybe-installcheck-automake installcheck-automake | |
8473 | maybe-installcheck-automake: | |
8474 | ||
8475 | installcheck-automake: \ | |
8476 | configure-automake | |
8477 | @[ -f ./automake/Makefile ] || exit 0; \ | |
8478 | r=`${PWD}`; export r; \ | |
8479 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8480 | $(SET_LIB_PATH) \ | |
8481 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8482 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8483 | done; \ | |
8484 | echo "Doing installcheck in automake" ; \ | |
8485 | (cd automake && \ | |
8486 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8487 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8488 | "RANLIB=$${RANLIB}" \ | |
8489 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8490 | installcheck) \ | |
8491 | || exit 1 | |
8492 | ||
8493 | ||
8494 | .PHONY: maybe-installcheck-bash installcheck-bash | |
8495 | maybe-installcheck-bash: | |
8496 | ||
8497 | installcheck-bash: \ | |
8498 | configure-bash | |
8499 | @[ -f ./bash/Makefile ] || exit 0; \ | |
8500 | r=`${PWD}`; export r; \ | |
8501 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8502 | $(SET_LIB_PATH) \ | |
8503 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8504 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8505 | done; \ | |
8506 | echo "Doing installcheck in bash" ; \ | |
8507 | (cd bash && \ | |
8508 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8509 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8510 | "RANLIB=$${RANLIB}" \ | |
8511 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8512 | installcheck) \ | |
8513 | || exit 1 | |
8514 | ||
8515 | ||
8516 | .PHONY: maybe-installcheck-bfd installcheck-bfd | |
8517 | maybe-installcheck-bfd: | |
8518 | ||
8519 | installcheck-bfd: \ | |
8520 | configure-bfd | |
8521 | @[ -f ./bfd/Makefile ] || exit 0; \ | |
8522 | r=`${PWD}`; export r; \ | |
8523 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8524 | $(SET_LIB_PATH) \ | |
8525 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8526 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8527 | done; \ | |
8528 | echo "Doing installcheck in bfd" ; \ | |
8529 | (cd bfd && \ | |
8530 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8531 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8532 | "RANLIB=$${RANLIB}" \ | |
8533 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8534 | installcheck) \ | |
8535 | || exit 1 | |
8536 | ||
8537 | ||
8538 | .PHONY: maybe-installcheck-opcodes installcheck-opcodes | |
8539 | maybe-installcheck-opcodes: | |
8540 | ||
8541 | installcheck-opcodes: \ | |
8542 | configure-opcodes | |
8543 | @[ -f ./opcodes/Makefile ] || exit 0; \ | |
8544 | r=`${PWD}`; export r; \ | |
8545 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8546 | $(SET_LIB_PATH) \ | |
8547 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8548 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8549 | done; \ | |
8550 | echo "Doing installcheck in opcodes" ; \ | |
8551 | (cd opcodes && \ | |
8552 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8553 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8554 | "RANLIB=$${RANLIB}" \ | |
8555 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8556 | installcheck) \ | |
8557 | || exit 1 | |
8558 | ||
8559 | ||
8560 | .PHONY: maybe-installcheck-binutils installcheck-binutils | |
8561 | maybe-installcheck-binutils: | |
8562 | ||
8563 | installcheck-binutils: \ | |
8564 | configure-binutils | |
8565 | @[ -f ./binutils/Makefile ] || exit 0; \ | |
8566 | r=`${PWD}`; export r; \ | |
8567 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8568 | $(SET_LIB_PATH) \ | |
8569 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8570 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8571 | done; \ | |
8572 | echo "Doing installcheck in binutils" ; \ | |
8573 | (cd binutils && \ | |
8574 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8575 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8576 | "RANLIB=$${RANLIB}" \ | |
8577 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8578 | installcheck) \ | |
8579 | || exit 1 | |
8580 | ||
8581 | ||
8582 | .PHONY: maybe-installcheck-bison installcheck-bison | |
8583 | maybe-installcheck-bison: | |
8584 | ||
8585 | installcheck-bison: \ | |
8586 | configure-bison | |
8587 | @[ -f ./bison/Makefile ] || exit 0; \ | |
8588 | r=`${PWD}`; export r; \ | |
8589 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8590 | $(SET_LIB_PATH) \ | |
8591 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8592 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8593 | done; \ | |
8594 | echo "Doing installcheck in bison" ; \ | |
8595 | (cd bison && \ | |
8596 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8597 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8598 | "RANLIB=$${RANLIB}" \ | |
8599 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8600 | installcheck) \ | |
8601 | || exit 1 | |
8602 | ||
8603 | ||
8604 | .PHONY: maybe-installcheck-byacc installcheck-byacc | |
8605 | maybe-installcheck-byacc: | |
8606 | ||
8607 | installcheck-byacc: \ | |
8608 | configure-byacc | |
8609 | @[ -f ./byacc/Makefile ] || exit 0; \ | |
8610 | r=`${PWD}`; export r; \ | |
8611 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8612 | $(SET_LIB_PATH) \ | |
8613 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8614 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8615 | done; \ | |
8616 | echo "Doing installcheck in byacc" ; \ | |
8617 | (cd byacc && \ | |
8618 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8619 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8620 | "RANLIB=$${RANLIB}" \ | |
8621 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8622 | installcheck) \ | |
8623 | || exit 1 | |
8624 | ||
8625 | ||
8626 | .PHONY: maybe-installcheck-bzip2 installcheck-bzip2 | |
8627 | maybe-installcheck-bzip2: | |
8628 | ||
8629 | installcheck-bzip2: \ | |
8630 | configure-bzip2 | |
8631 | @[ -f ./bzip2/Makefile ] || exit 0; \ | |
8632 | r=`${PWD}`; export r; \ | |
8633 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8634 | $(SET_LIB_PATH) \ | |
8635 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8636 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8637 | done; \ | |
8638 | echo "Doing installcheck in bzip2" ; \ | |
8639 | (cd bzip2 && \ | |
8640 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8641 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8642 | "RANLIB=$${RANLIB}" \ | |
8643 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8644 | installcheck) \ | |
8645 | || exit 1 | |
8646 | ||
8647 | ||
8648 | .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu | |
8649 | maybe-installcheck-dejagnu: | |
8650 | ||
8651 | installcheck-dejagnu: \ | |
8652 | configure-dejagnu | |
8653 | @[ -f ./dejagnu/Makefile ] || exit 0; \ | |
8654 | r=`${PWD}`; export r; \ | |
8655 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8656 | $(SET_LIB_PATH) \ | |
8657 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8658 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8659 | done; \ | |
8660 | echo "Doing installcheck in dejagnu" ; \ | |
8661 | (cd dejagnu && \ | |
8662 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8663 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8664 | "RANLIB=$${RANLIB}" \ | |
8665 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8666 | installcheck) \ | |
8667 | || exit 1 | |
8668 | ||
8669 | ||
8670 | .PHONY: maybe-installcheck-diff installcheck-diff | |
8671 | maybe-installcheck-diff: | |
8672 | ||
8673 | installcheck-diff: \ | |
8674 | configure-diff | |
8675 | @[ -f ./diff/Makefile ] || exit 0; \ | |
8676 | r=`${PWD}`; export r; \ | |
8677 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8678 | $(SET_LIB_PATH) \ | |
8679 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8680 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8681 | done; \ | |
8682 | echo "Doing installcheck in diff" ; \ | |
8683 | (cd diff && \ | |
8684 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8685 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8686 | "RANLIB=$${RANLIB}" \ | |
8687 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8688 | installcheck) \ | |
8689 | || exit 1 | |
8690 | ||
8691 | ||
8692 | .PHONY: maybe-installcheck-dosutils installcheck-dosutils | |
8693 | maybe-installcheck-dosutils: | |
8694 | ||
8695 | installcheck-dosutils: \ | |
8696 | configure-dosutils | |
8697 | @[ -f ./dosutils/Makefile ] || exit 0; \ | |
8698 | r=`${PWD}`; export r; \ | |
8699 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8700 | $(SET_LIB_PATH) \ | |
8701 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8702 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8703 | done; \ | |
8704 | echo "Doing installcheck in dosutils" ; \ | |
8705 | (cd dosutils && \ | |
8706 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8707 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8708 | "RANLIB=$${RANLIB}" \ | |
8709 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8710 | installcheck) \ | |
8711 | || exit 1 | |
8712 | ||
8713 | ||
8714 | .PHONY: maybe-installcheck-etc installcheck-etc | |
8715 | maybe-installcheck-etc: | |
8716 | ||
8717 | installcheck-etc: \ | |
8718 | configure-etc | |
8719 | @[ -f ./etc/Makefile ] || exit 0; \ | |
8720 | r=`${PWD}`; export r; \ | |
8721 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8722 | $(SET_LIB_PATH) \ | |
8723 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8724 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8725 | done; \ | |
8726 | echo "Doing installcheck in etc" ; \ | |
8727 | (cd etc && \ | |
8728 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8729 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8730 | "RANLIB=$${RANLIB}" \ | |
8731 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8732 | installcheck) \ | |
8733 | || exit 1 | |
8734 | ||
8735 | ||
8736 | .PHONY: maybe-installcheck-fastjar installcheck-fastjar | |
8737 | maybe-installcheck-fastjar: | |
8738 | ||
8739 | installcheck-fastjar: \ | |
8740 | configure-fastjar | |
8741 | @[ -f ./fastjar/Makefile ] || exit 0; \ | |
8742 | r=`${PWD}`; export r; \ | |
8743 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8744 | $(SET_LIB_PATH) \ | |
8745 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8746 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8747 | done; \ | |
8748 | echo "Doing installcheck in fastjar" ; \ | |
8749 | (cd fastjar && \ | |
8750 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8751 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8752 | "RANLIB=$${RANLIB}" \ | |
8753 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8754 | installcheck) \ | |
8755 | || exit 1 | |
8756 | ||
8757 | ||
8758 | .PHONY: maybe-installcheck-fileutils installcheck-fileutils | |
8759 | maybe-installcheck-fileutils: | |
8760 | ||
8761 | installcheck-fileutils: \ | |
8762 | configure-fileutils | |
8763 | @[ -f ./fileutils/Makefile ] || exit 0; \ | |
8764 | r=`${PWD}`; export r; \ | |
8765 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8766 | $(SET_LIB_PATH) \ | |
8767 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8768 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8769 | done; \ | |
8770 | echo "Doing installcheck in fileutils" ; \ | |
8771 | (cd fileutils && \ | |
8772 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8773 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8774 | "RANLIB=$${RANLIB}" \ | |
8775 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8776 | installcheck) \ | |
8777 | || exit 1 | |
8778 | ||
8779 | ||
8780 | .PHONY: maybe-installcheck-findutils installcheck-findutils | |
8781 | maybe-installcheck-findutils: | |
8782 | ||
8783 | installcheck-findutils: \ | |
8784 | configure-findutils | |
8785 | @[ -f ./findutils/Makefile ] || exit 0; \ | |
8786 | r=`${PWD}`; export r; \ | |
8787 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8788 | $(SET_LIB_PATH) \ | |
8789 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8790 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8791 | done; \ | |
8792 | echo "Doing installcheck in findutils" ; \ | |
8793 | (cd findutils && \ | |
8794 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8795 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8796 | "RANLIB=$${RANLIB}" \ | |
8797 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8798 | installcheck) \ | |
8799 | || exit 1 | |
8800 | ||
8801 | ||
8802 | .PHONY: maybe-installcheck-find installcheck-find | |
8803 | maybe-installcheck-find: | |
8804 | ||
8805 | installcheck-find: \ | |
8806 | configure-find | |
8807 | @[ -f ./find/Makefile ] || exit 0; \ | |
8808 | r=`${PWD}`; export r; \ | |
8809 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8810 | $(SET_LIB_PATH) \ | |
8811 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8812 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8813 | done; \ | |
8814 | echo "Doing installcheck in find" ; \ | |
8815 | (cd find && \ | |
8816 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8817 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8818 | "RANLIB=$${RANLIB}" \ | |
8819 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8820 | installcheck) \ | |
8821 | || exit 1 | |
8822 | ||
8823 | ||
8824 | .PHONY: maybe-installcheck-flex installcheck-flex | |
8825 | maybe-installcheck-flex: | |
8826 | ||
8827 | installcheck-flex: \ | |
8828 | configure-flex | |
8829 | @[ -f ./flex/Makefile ] || exit 0; \ | |
8830 | r=`${PWD}`; export r; \ | |
8831 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8832 | $(SET_LIB_PATH) \ | |
8833 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8834 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8835 | done; \ | |
8836 | echo "Doing installcheck in flex" ; \ | |
8837 | (cd flex && \ | |
8838 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8839 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8840 | "RANLIB=$${RANLIB}" \ | |
8841 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8842 | installcheck) \ | |
8843 | || exit 1 | |
8844 | ||
8845 | ||
8846 | .PHONY: maybe-installcheck-gas installcheck-gas | |
8847 | maybe-installcheck-gas: | |
8848 | ||
8849 | installcheck-gas: \ | |
8850 | configure-gas | |
8851 | @[ -f ./gas/Makefile ] || exit 0; \ | |
8852 | r=`${PWD}`; export r; \ | |
8853 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8854 | $(SET_LIB_PATH) \ | |
8855 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8856 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8857 | done; \ | |
8858 | echo "Doing installcheck in gas" ; \ | |
8859 | (cd gas && \ | |
8860 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8861 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8862 | "RANLIB=$${RANLIB}" \ | |
8863 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8864 | installcheck) \ | |
8865 | || exit 1 | |
8866 | ||
8867 | ||
8868 | .PHONY: maybe-installcheck-gawk installcheck-gawk | |
8869 | maybe-installcheck-gawk: | |
8870 | ||
8871 | installcheck-gawk: \ | |
8872 | configure-gawk | |
8873 | @[ -f ./gawk/Makefile ] || exit 0; \ | |
8874 | r=`${PWD}`; export r; \ | |
8875 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8876 | $(SET_LIB_PATH) \ | |
8877 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8878 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8879 | done; \ | |
8880 | echo "Doing installcheck in gawk" ; \ | |
8881 | (cd gawk && \ | |
8882 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8883 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8884 | "RANLIB=$${RANLIB}" \ | |
8885 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8886 | installcheck) \ | |
8887 | || exit 1 | |
8888 | ||
8889 | ||
8890 | .PHONY: maybe-installcheck-gettext installcheck-gettext | |
8891 | maybe-installcheck-gettext: | |
8892 | ||
8893 | installcheck-gettext: \ | |
8894 | configure-gettext | |
8895 | @[ -f ./gettext/Makefile ] || exit 0; \ | |
8896 | r=`${PWD}`; export r; \ | |
8897 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8898 | $(SET_LIB_PATH) \ | |
8899 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8900 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8901 | done; \ | |
8902 | echo "Doing installcheck in gettext" ; \ | |
8903 | (cd gettext && \ | |
8904 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8905 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8906 | "RANLIB=$${RANLIB}" \ | |
8907 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8908 | installcheck) \ | |
8909 | || exit 1 | |
8910 | ||
8911 | ||
8912 | .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv | |
8913 | maybe-installcheck-gnuserv: | |
8914 | ||
8915 | installcheck-gnuserv: \ | |
8916 | configure-gnuserv | |
8917 | @[ -f ./gnuserv/Makefile ] || exit 0; \ | |
8918 | r=`${PWD}`; export r; \ | |
8919 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8920 | $(SET_LIB_PATH) \ | |
8921 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8922 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8923 | done; \ | |
8924 | echo "Doing installcheck in gnuserv" ; \ | |
8925 | (cd gnuserv && \ | |
8926 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8927 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8928 | "RANLIB=$${RANLIB}" \ | |
8929 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8930 | installcheck) \ | |
8931 | || exit 1 | |
8932 | ||
8933 | ||
8934 | .PHONY: maybe-installcheck-gprof installcheck-gprof | |
8935 | maybe-installcheck-gprof: | |
8936 | ||
8937 | installcheck-gprof: \ | |
8938 | configure-gprof | |
8939 | @[ -f ./gprof/Makefile ] || exit 0; \ | |
8940 | r=`${PWD}`; export r; \ | |
8941 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8942 | $(SET_LIB_PATH) \ | |
8943 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8944 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8945 | done; \ | |
8946 | echo "Doing installcheck in gprof" ; \ | |
8947 | (cd gprof && \ | |
8948 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8949 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8950 | "RANLIB=$${RANLIB}" \ | |
8951 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8952 | installcheck) \ | |
8953 | || exit 1 | |
8954 | ||
8955 | ||
8956 | .PHONY: maybe-installcheck-gzip installcheck-gzip | |
8957 | maybe-installcheck-gzip: | |
8958 | ||
8959 | installcheck-gzip: \ | |
8960 | configure-gzip | |
8961 | @[ -f ./gzip/Makefile ] || exit 0; \ | |
8962 | r=`${PWD}`; export r; \ | |
8963 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8964 | $(SET_LIB_PATH) \ | |
8965 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8966 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8967 | done; \ | |
8968 | echo "Doing installcheck in gzip" ; \ | |
8969 | (cd gzip && \ | |
8970 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8971 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8972 | "RANLIB=$${RANLIB}" \ | |
8973 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8974 | installcheck) \ | |
8975 | || exit 1 | |
8976 | ||
8977 | ||
8978 | .PHONY: maybe-installcheck-hello installcheck-hello | |
8979 | maybe-installcheck-hello: | |
8980 | ||
8981 | installcheck-hello: \ | |
8982 | configure-hello | |
8983 | @[ -f ./hello/Makefile ] || exit 0; \ | |
8984 | r=`${PWD}`; export r; \ | |
8985 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
8986 | $(SET_LIB_PATH) \ | |
8987 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
8988 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
8989 | done; \ | |
8990 | echo "Doing installcheck in hello" ; \ | |
8991 | (cd hello && \ | |
8992 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
8993 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
8994 | "RANLIB=$${RANLIB}" \ | |
8995 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
8996 | installcheck) \ | |
8997 | || exit 1 | |
8998 | ||
8999 | ||
9000 | .PHONY: maybe-installcheck-indent installcheck-indent | |
9001 | maybe-installcheck-indent: | |
9002 | ||
9003 | installcheck-indent: \ | |
9004 | configure-indent | |
9005 | @[ -f ./indent/Makefile ] || exit 0; \ | |
9006 | r=`${PWD}`; export r; \ | |
9007 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9008 | $(SET_LIB_PATH) \ | |
9009 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9010 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9011 | done; \ | |
9012 | echo "Doing installcheck in indent" ; \ | |
9013 | (cd indent && \ | |
9014 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9015 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9016 | "RANLIB=$${RANLIB}" \ | |
9017 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9018 | installcheck) \ | |
9019 | || exit 1 | |
9020 | ||
9021 | ||
9022 | .PHONY: maybe-installcheck-intl installcheck-intl | |
9023 | maybe-installcheck-intl: | |
9024 | ||
9025 | installcheck-intl: \ | |
9026 | configure-intl | |
9027 | @[ -f ./intl/Makefile ] || exit 0; \ | |
9028 | r=`${PWD}`; export r; \ | |
9029 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9030 | $(SET_LIB_PATH) \ | |
9031 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9032 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9033 | done; \ | |
9034 | echo "Doing installcheck in intl" ; \ | |
9035 | (cd intl && \ | |
9036 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9037 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9038 | "RANLIB=$${RANLIB}" \ | |
9039 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9040 | installcheck) \ | |
9041 | || exit 1 | |
9042 | ||
9043 | ||
9044 | .PHONY: maybe-installcheck-tcl installcheck-tcl | |
9045 | maybe-installcheck-tcl: | |
9046 | ||
9047 | installcheck-tcl: \ | |
9048 | configure-tcl | |
9049 | @[ -f ./tcl/Makefile ] || exit 0; \ | |
9050 | r=`${PWD}`; export r; \ | |
9051 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9052 | $(SET_LIB_PATH) \ | |
9053 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9054 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9055 | done; \ | |
9056 | echo "Doing installcheck in tcl" ; \ | |
9057 | (cd tcl && \ | |
9058 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9059 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9060 | "RANLIB=$${RANLIB}" \ | |
9061 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9062 | installcheck) \ | |
9063 | || exit 1 | |
9064 | ||
9065 | ||
9066 | .PHONY: maybe-installcheck-itcl installcheck-itcl | |
9067 | maybe-installcheck-itcl: | |
9068 | ||
9069 | installcheck-itcl: \ | |
9070 | configure-itcl | |
9071 | @[ -f ./itcl/Makefile ] || exit 0; \ | |
9072 | r=`${PWD}`; export r; \ | |
9073 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9074 | $(SET_LIB_PATH) \ | |
9075 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9076 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9077 | done; \ | |
9078 | echo "Doing installcheck in itcl" ; \ | |
9079 | (cd itcl && \ | |
9080 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9081 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9082 | "RANLIB=$${RANLIB}" \ | |
9083 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9084 | installcheck) \ | |
9085 | || exit 1 | |
9086 | ||
9087 | ||
9088 | .PHONY: maybe-installcheck-ld installcheck-ld | |
9089 | maybe-installcheck-ld: | |
9090 | ||
9091 | installcheck-ld: \ | |
9092 | configure-ld | |
9093 | @[ -f ./ld/Makefile ] || exit 0; \ | |
9094 | r=`${PWD}`; export r; \ | |
9095 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9096 | $(SET_LIB_PATH) \ | |
9097 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9098 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9099 | done; \ | |
9100 | echo "Doing installcheck in ld" ; \ | |
9101 | (cd ld && \ | |
9102 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9103 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9104 | "RANLIB=$${RANLIB}" \ | |
9105 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9106 | installcheck) \ | |
9107 | || exit 1 | |
9108 | ||
9109 | ||
9110 | .PHONY: maybe-installcheck-libgui installcheck-libgui | |
9111 | maybe-installcheck-libgui: | |
9112 | ||
9113 | installcheck-libgui: \ | |
9114 | configure-libgui | |
9115 | @[ -f ./libgui/Makefile ] || exit 0; \ | |
9116 | r=`${PWD}`; export r; \ | |
9117 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9118 | $(SET_LIB_PATH) \ | |
9119 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9120 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9121 | done; \ | |
9122 | echo "Doing installcheck in libgui" ; \ | |
9123 | (cd libgui && \ | |
9124 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9125 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9126 | "RANLIB=$${RANLIB}" \ | |
9127 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9128 | installcheck) \ | |
9129 | || exit 1 | |
9130 | ||
9131 | ||
9132 | .PHONY: maybe-installcheck-libiberty installcheck-libiberty | |
9133 | maybe-installcheck-libiberty: | |
9134 | ||
9135 | installcheck-libiberty: \ | |
9136 | configure-libiberty | |
9137 | @[ -f ./libiberty/Makefile ] || exit 0; \ | |
9138 | r=`${PWD}`; export r; \ | |
9139 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9140 | $(SET_LIB_PATH) \ | |
9141 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9142 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9143 | done; \ | |
9144 | echo "Doing installcheck in libiberty" ; \ | |
9145 | (cd libiberty && \ | |
9146 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9147 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9148 | "RANLIB=$${RANLIB}" \ | |
9149 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9150 | installcheck) \ | |
9151 | || exit 1 | |
9152 | ||
9153 | ||
9154 | .PHONY: maybe-installcheck-libtool installcheck-libtool | |
9155 | maybe-installcheck-libtool: | |
9156 | ||
9157 | installcheck-libtool: \ | |
9158 | configure-libtool | |
9159 | @[ -f ./libtool/Makefile ] || exit 0; \ | |
9160 | r=`${PWD}`; export r; \ | |
9161 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9162 | $(SET_LIB_PATH) \ | |
9163 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9164 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9165 | done; \ | |
9166 | echo "Doing installcheck in libtool" ; \ | |
9167 | (cd libtool && \ | |
9168 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9169 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9170 | "RANLIB=$${RANLIB}" \ | |
9171 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9172 | installcheck) \ | |
9173 | || exit 1 | |
9174 | ||
9175 | ||
9176 | .PHONY: maybe-installcheck-m4 installcheck-m4 | |
9177 | maybe-installcheck-m4: | |
9178 | ||
9179 | installcheck-m4: \ | |
9180 | configure-m4 | |
9181 | @[ -f ./m4/Makefile ] || exit 0; \ | |
9182 | r=`${PWD}`; export r; \ | |
9183 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9184 | $(SET_LIB_PATH) \ | |
9185 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9186 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9187 | done; \ | |
9188 | echo "Doing installcheck in m4" ; \ | |
9189 | (cd m4 && \ | |
9190 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9191 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9192 | "RANLIB=$${RANLIB}" \ | |
9193 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9194 | installcheck) \ | |
9195 | || exit 1 | |
9196 | ||
9197 | ||
9198 | .PHONY: maybe-installcheck-make installcheck-make | |
9199 | maybe-installcheck-make: | |
9200 | ||
9201 | installcheck-make: \ | |
9202 | configure-make | |
9203 | @[ -f ./make/Makefile ] || exit 0; \ | |
9204 | r=`${PWD}`; export r; \ | |
9205 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9206 | $(SET_LIB_PATH) \ | |
9207 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9208 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9209 | done; \ | |
9210 | echo "Doing installcheck in make" ; \ | |
9211 | (cd make && \ | |
9212 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9213 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9214 | "RANLIB=$${RANLIB}" \ | |
9215 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9216 | installcheck) \ | |
9217 | || exit 1 | |
9218 | ||
9219 | ||
9220 | .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc | |
9221 | maybe-installcheck-mmalloc: | |
9222 | ||
9223 | installcheck-mmalloc: \ | |
9224 | configure-mmalloc | |
9225 | @[ -f ./mmalloc/Makefile ] || exit 0; \ | |
9226 | r=`${PWD}`; export r; \ | |
9227 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9228 | $(SET_LIB_PATH) \ | |
9229 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9230 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9231 | done; \ | |
9232 | echo "Doing installcheck in mmalloc" ; \ | |
9233 | (cd mmalloc && \ | |
9234 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9235 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9236 | "RANLIB=$${RANLIB}" \ | |
9237 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9238 | installcheck) \ | |
9239 | || exit 1 | |
9240 | ||
9241 | ||
9242 | .PHONY: maybe-installcheck-patch installcheck-patch | |
9243 | maybe-installcheck-patch: | |
9244 | ||
9245 | installcheck-patch: \ | |
9246 | configure-patch | |
9247 | @[ -f ./patch/Makefile ] || exit 0; \ | |
9248 | r=`${PWD}`; export r; \ | |
9249 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9250 | $(SET_LIB_PATH) \ | |
9251 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9252 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9253 | done; \ | |
9254 | echo "Doing installcheck in patch" ; \ | |
9255 | (cd patch && \ | |
9256 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9257 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9258 | "RANLIB=$${RANLIB}" \ | |
9259 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9260 | installcheck) \ | |
9261 | || exit 1 | |
9262 | ||
9263 | ||
9264 | .PHONY: maybe-installcheck-perl installcheck-perl | |
9265 | maybe-installcheck-perl: | |
9266 | ||
9267 | installcheck-perl: \ | |
9268 | configure-perl | |
9269 | @[ -f ./perl/Makefile ] || exit 0; \ | |
9270 | r=`${PWD}`; export r; \ | |
9271 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9272 | $(SET_LIB_PATH) \ | |
9273 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9274 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9275 | done; \ | |
9276 | echo "Doing installcheck in perl" ; \ | |
9277 | (cd perl && \ | |
9278 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9279 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9280 | "RANLIB=$${RANLIB}" \ | |
9281 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9282 | installcheck) \ | |
9283 | || exit 1 | |
9284 | ||
9285 | ||
9286 | .PHONY: maybe-installcheck-prms installcheck-prms | |
9287 | maybe-installcheck-prms: | |
9288 | ||
9289 | installcheck-prms: \ | |
9290 | configure-prms | |
9291 | @[ -f ./prms/Makefile ] || exit 0; \ | |
9292 | r=`${PWD}`; export r; \ | |
9293 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9294 | $(SET_LIB_PATH) \ | |
9295 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9296 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9297 | done; \ | |
9298 | echo "Doing installcheck in prms" ; \ | |
9299 | (cd prms && \ | |
9300 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9301 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9302 | "RANLIB=$${RANLIB}" \ | |
9303 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9304 | installcheck) \ | |
9305 | || exit 1 | |
9306 | ||
9307 | ||
9308 | .PHONY: maybe-installcheck-rcs installcheck-rcs | |
9309 | maybe-installcheck-rcs: | |
9310 | ||
9311 | installcheck-rcs: \ | |
9312 | configure-rcs | |
9313 | @[ -f ./rcs/Makefile ] || exit 0; \ | |
9314 | r=`${PWD}`; export r; \ | |
9315 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9316 | $(SET_LIB_PATH) \ | |
9317 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9318 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9319 | done; \ | |
9320 | echo "Doing installcheck in rcs" ; \ | |
9321 | (cd rcs && \ | |
9322 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9323 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9324 | "RANLIB=$${RANLIB}" \ | |
9325 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9326 | installcheck) \ | |
9327 | || exit 1 | |
9328 | ||
9329 | ||
9330 | .PHONY: maybe-installcheck-readline installcheck-readline | |
9331 | maybe-installcheck-readline: | |
9332 | ||
9333 | installcheck-readline: \ | |
9334 | configure-readline | |
9335 | @[ -f ./readline/Makefile ] || exit 0; \ | |
9336 | r=`${PWD}`; export r; \ | |
9337 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9338 | $(SET_LIB_PATH) \ | |
9339 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9340 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9341 | done; \ | |
9342 | echo "Doing installcheck in readline" ; \ | |
9343 | (cd readline && \ | |
9344 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9345 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9346 | "RANLIB=$${RANLIB}" \ | |
9347 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9348 | installcheck) \ | |
9349 | || exit 1 | |
9350 | ||
9351 | ||
9352 | .PHONY: maybe-installcheck-release installcheck-release | |
9353 | maybe-installcheck-release: | |
9354 | ||
9355 | installcheck-release: \ | |
9356 | configure-release | |
9357 | @[ -f ./release/Makefile ] || exit 0; \ | |
9358 | r=`${PWD}`; export r; \ | |
9359 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9360 | $(SET_LIB_PATH) \ | |
9361 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9362 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9363 | done; \ | |
9364 | echo "Doing installcheck in release" ; \ | |
9365 | (cd release && \ | |
9366 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9367 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9368 | "RANLIB=$${RANLIB}" \ | |
9369 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9370 | installcheck) \ | |
9371 | || exit 1 | |
9372 | ||
9373 | ||
9374 | .PHONY: maybe-installcheck-recode installcheck-recode | |
9375 | maybe-installcheck-recode: | |
9376 | ||
9377 | installcheck-recode: \ | |
9378 | configure-recode | |
9379 | @[ -f ./recode/Makefile ] || exit 0; \ | |
9380 | r=`${PWD}`; export r; \ | |
9381 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9382 | $(SET_LIB_PATH) \ | |
9383 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9384 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9385 | done; \ | |
9386 | echo "Doing installcheck in recode" ; \ | |
9387 | (cd recode && \ | |
9388 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9389 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9390 | "RANLIB=$${RANLIB}" \ | |
9391 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9392 | installcheck) \ | |
9393 | || exit 1 | |
9394 | ||
9395 | ||
9396 | .PHONY: maybe-installcheck-sed installcheck-sed | |
9397 | maybe-installcheck-sed: | |
9398 | ||
9399 | installcheck-sed: \ | |
9400 | configure-sed | |
9401 | @[ -f ./sed/Makefile ] || exit 0; \ | |
9402 | r=`${PWD}`; export r; \ | |
9403 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9404 | $(SET_LIB_PATH) \ | |
9405 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9406 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9407 | done; \ | |
9408 | echo "Doing installcheck in sed" ; \ | |
9409 | (cd sed && \ | |
9410 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9411 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9412 | "RANLIB=$${RANLIB}" \ | |
9413 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9414 | installcheck) \ | |
9415 | || exit 1 | |
9416 | ||
9417 | ||
9418 | .PHONY: maybe-installcheck-send-pr installcheck-send-pr | |
9419 | maybe-installcheck-send-pr: | |
9420 | ||
9421 | installcheck-send-pr: \ | |
9422 | configure-send-pr | |
9423 | @[ -f ./send-pr/Makefile ] || exit 0; \ | |
9424 | r=`${PWD}`; export r; \ | |
9425 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9426 | $(SET_LIB_PATH) \ | |
9427 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9428 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9429 | done; \ | |
9430 | echo "Doing installcheck in send-pr" ; \ | |
9431 | (cd send-pr && \ | |
9432 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9433 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9434 | "RANLIB=$${RANLIB}" \ | |
9435 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9436 | installcheck) \ | |
9437 | || exit 1 | |
9438 | ||
9439 | ||
9440 | .PHONY: maybe-installcheck-shellutils installcheck-shellutils | |
9441 | maybe-installcheck-shellutils: | |
9442 | ||
9443 | installcheck-shellutils: \ | |
9444 | configure-shellutils | |
9445 | @[ -f ./shellutils/Makefile ] || exit 0; \ | |
9446 | r=`${PWD}`; export r; \ | |
9447 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9448 | $(SET_LIB_PATH) \ | |
9449 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9450 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9451 | done; \ | |
9452 | echo "Doing installcheck in shellutils" ; \ | |
9453 | (cd shellutils && \ | |
9454 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9455 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9456 | "RANLIB=$${RANLIB}" \ | |
9457 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9458 | installcheck) \ | |
9459 | || exit 1 | |
9460 | ||
9461 | ||
9462 | .PHONY: maybe-installcheck-sid installcheck-sid | |
9463 | maybe-installcheck-sid: | |
9464 | ||
9465 | installcheck-sid: \ | |
9466 | configure-sid | |
9467 | @[ -f ./sid/Makefile ] || exit 0; \ | |
9468 | r=`${PWD}`; export r; \ | |
9469 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9470 | $(SET_LIB_PATH) \ | |
9471 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9472 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9473 | done; \ | |
9474 | echo "Doing installcheck in sid" ; \ | |
9475 | (cd sid && \ | |
9476 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9477 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9478 | "RANLIB=$${RANLIB}" \ | |
9479 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9480 | installcheck) \ | |
9481 | || exit 1 | |
9482 | ||
9483 | ||
9484 | .PHONY: maybe-installcheck-sim installcheck-sim | |
9485 | maybe-installcheck-sim: | |
9486 | ||
9487 | installcheck-sim: \ | |
9488 | configure-sim | |
9489 | @[ -f ./sim/Makefile ] || exit 0; \ | |
9490 | r=`${PWD}`; export r; \ | |
9491 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9492 | $(SET_LIB_PATH) \ | |
9493 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9494 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9495 | done; \ | |
9496 | echo "Doing installcheck in sim" ; \ | |
9497 | (cd sim && \ | |
9498 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9499 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9500 | "RANLIB=$${RANLIB}" \ | |
9501 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9502 | installcheck) \ | |
9503 | || exit 1 | |
9504 | ||
9505 | ||
9506 | .PHONY: maybe-installcheck-tar installcheck-tar | |
9507 | maybe-installcheck-tar: | |
9508 | ||
9509 | installcheck-tar: \ | |
9510 | configure-tar | |
9511 | @[ -f ./tar/Makefile ] || exit 0; \ | |
9512 | r=`${PWD}`; export r; \ | |
9513 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9514 | $(SET_LIB_PATH) \ | |
9515 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9516 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9517 | done; \ | |
9518 | echo "Doing installcheck in tar" ; \ | |
9519 | (cd tar && \ | |
9520 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9521 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9522 | "RANLIB=$${RANLIB}" \ | |
9523 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9524 | installcheck) \ | |
9525 | || exit 1 | |
9526 | ||
9527 | ||
9528 | .PHONY: maybe-installcheck-texinfo installcheck-texinfo | |
9529 | maybe-installcheck-texinfo: | |
9530 | ||
9531 | installcheck-texinfo: \ | |
9532 | configure-texinfo | |
9533 | @[ -f ./texinfo/Makefile ] || exit 0; \ | |
9534 | r=`${PWD}`; export r; \ | |
9535 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9536 | $(SET_LIB_PATH) \ | |
9537 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9538 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9539 | done; \ | |
9540 | echo "Doing installcheck in texinfo" ; \ | |
9541 | (cd texinfo && \ | |
9542 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9543 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9544 | "RANLIB=$${RANLIB}" \ | |
9545 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9546 | installcheck) \ | |
9547 | || exit 1 | |
9548 | ||
9549 | ||
9550 | .PHONY: maybe-installcheck-textutils installcheck-textutils | |
9551 | maybe-installcheck-textutils: | |
9552 | ||
9553 | installcheck-textutils: \ | |
9554 | configure-textutils | |
9555 | @[ -f ./textutils/Makefile ] || exit 0; \ | |
9556 | r=`${PWD}`; export r; \ | |
9557 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9558 | $(SET_LIB_PATH) \ | |
9559 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9560 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9561 | done; \ | |
9562 | echo "Doing installcheck in textutils" ; \ | |
9563 | (cd textutils && \ | |
9564 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9565 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9566 | "RANLIB=$${RANLIB}" \ | |
9567 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9568 | installcheck) \ | |
9569 | || exit 1 | |
9570 | ||
9571 | ||
9572 | .PHONY: maybe-installcheck-time installcheck-time | |
9573 | maybe-installcheck-time: | |
9574 | ||
9575 | installcheck-time: \ | |
9576 | configure-time | |
9577 | @[ -f ./time/Makefile ] || exit 0; \ | |
9578 | r=`${PWD}`; export r; \ | |
9579 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9580 | $(SET_LIB_PATH) \ | |
9581 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9582 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9583 | done; \ | |
9584 | echo "Doing installcheck in time" ; \ | |
9585 | (cd time && \ | |
9586 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9587 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9588 | "RANLIB=$${RANLIB}" \ | |
9589 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9590 | installcheck) \ | |
9591 | || exit 1 | |
9592 | ||
9593 | ||
9594 | .PHONY: maybe-installcheck-uudecode installcheck-uudecode | |
9595 | maybe-installcheck-uudecode: | |
9596 | ||
9597 | installcheck-uudecode: \ | |
9598 | configure-uudecode | |
9599 | @[ -f ./uudecode/Makefile ] || exit 0; \ | |
9600 | r=`${PWD}`; export r; \ | |
9601 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9602 | $(SET_LIB_PATH) \ | |
9603 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9604 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9605 | done; \ | |
9606 | echo "Doing installcheck in uudecode" ; \ | |
9607 | (cd uudecode && \ | |
9608 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9609 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9610 | "RANLIB=$${RANLIB}" \ | |
9611 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9612 | installcheck) \ | |
9613 | || exit 1 | |
9614 | ||
9615 | ||
9616 | .PHONY: maybe-installcheck-wdiff installcheck-wdiff | |
9617 | maybe-installcheck-wdiff: | |
9618 | ||
9619 | installcheck-wdiff: \ | |
9620 | configure-wdiff | |
9621 | @[ -f ./wdiff/Makefile ] || exit 0; \ | |
9622 | r=`${PWD}`; export r; \ | |
9623 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9624 | $(SET_LIB_PATH) \ | |
9625 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9626 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9627 | done; \ | |
9628 | echo "Doing installcheck in wdiff" ; \ | |
9629 | (cd wdiff && \ | |
9630 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9631 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9632 | "RANLIB=$${RANLIB}" \ | |
9633 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9634 | installcheck) \ | |
9635 | || exit 1 | |
9636 | ||
9637 | ||
9638 | .PHONY: maybe-installcheck-zip installcheck-zip | |
9639 | maybe-installcheck-zip: | |
9640 | ||
9641 | installcheck-zip: \ | |
9642 | configure-zip | |
9643 | @[ -f ./zip/Makefile ] || exit 0; \ | |
9644 | r=`${PWD}`; export r; \ | |
9645 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9646 | $(SET_LIB_PATH) \ | |
9647 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9648 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9649 | done; \ | |
9650 | echo "Doing installcheck in zip" ; \ | |
9651 | (cd zip && \ | |
9652 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9653 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9654 | "RANLIB=$${RANLIB}" \ | |
9655 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9656 | installcheck) \ | |
9657 | || exit 1 | |
9658 | ||
9659 | ||
9660 | .PHONY: maybe-installcheck-zlib installcheck-zlib | |
9661 | maybe-installcheck-zlib: | |
9662 | ||
9663 | installcheck-zlib: \ | |
9664 | configure-zlib | |
9665 | @[ -f ./zlib/Makefile ] || exit 0; \ | |
9666 | r=`${PWD}`; export r; \ | |
9667 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9668 | $(SET_LIB_PATH) \ | |
9669 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9670 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9671 | done; \ | |
9672 | echo "Doing installcheck in zlib" ; \ | |
9673 | (cd zlib && \ | |
9674 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9675 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9676 | "RANLIB=$${RANLIB}" \ | |
9677 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9678 | installcheck) \ | |
9679 | || exit 1 | |
9680 | ||
9681 | ||
9682 | .PHONY: maybe-installcheck-gdb installcheck-gdb | |
9683 | maybe-installcheck-gdb: | |
9684 | ||
9685 | installcheck-gdb: \ | |
9686 | configure-gdb | |
9687 | @[ -f ./gdb/Makefile ] || exit 0; \ | |
9688 | r=`${PWD}`; export r; \ | |
9689 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9690 | $(SET_LIB_PATH) \ | |
9691 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9692 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9693 | done; \ | |
9694 | echo "Doing installcheck in gdb" ; \ | |
9695 | (cd gdb && \ | |
9696 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9697 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9698 | "RANLIB=$${RANLIB}" \ | |
9699 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9700 | installcheck) \ | |
9701 | || exit 1 | |
9702 | ||
9703 | ||
9704 | .PHONY: maybe-installcheck-expect installcheck-expect | |
9705 | maybe-installcheck-expect: | |
9706 | ||
9707 | installcheck-expect: \ | |
9708 | configure-expect | |
9709 | @[ -f ./expect/Makefile ] || exit 0; \ | |
9710 | r=`${PWD}`; export r; \ | |
9711 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9712 | $(SET_LIB_PATH) \ | |
9713 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9714 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9715 | done; \ | |
9716 | echo "Doing installcheck in expect" ; \ | |
9717 | (cd expect && \ | |
9718 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9719 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9720 | "RANLIB=$${RANLIB}" \ | |
9721 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9722 | installcheck) \ | |
9723 | || exit 1 | |
9724 | ||
9725 | ||
9726 | .PHONY: maybe-installcheck-guile installcheck-guile | |
9727 | maybe-installcheck-guile: | |
9728 | ||
9729 | installcheck-guile: \ | |
9730 | configure-guile | |
9731 | @[ -f ./guile/Makefile ] || exit 0; \ | |
9732 | r=`${PWD}`; export r; \ | |
9733 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9734 | $(SET_LIB_PATH) \ | |
9735 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9736 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9737 | done; \ | |
9738 | echo "Doing installcheck in guile" ; \ | |
9739 | (cd guile && \ | |
9740 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9741 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9742 | "RANLIB=$${RANLIB}" \ | |
9743 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9744 | installcheck) \ | |
9745 | || exit 1 | |
9746 | ||
9747 | ||
9748 | .PHONY: maybe-installcheck-tk installcheck-tk | |
9749 | maybe-installcheck-tk: | |
9750 | ||
9751 | installcheck-tk: \ | |
9752 | configure-tk | |
9753 | @[ -f ./tk/Makefile ] || exit 0; \ | |
9754 | r=`${PWD}`; export r; \ | |
9755 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9756 | $(SET_LIB_PATH) \ | |
9757 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9758 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9759 | done; \ | |
9760 | echo "Doing installcheck in tk" ; \ | |
9761 | (cd tk && \ | |
9762 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9763 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9764 | "RANLIB=$${RANLIB}" \ | |
9765 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9766 | installcheck) \ | |
9767 | || exit 1 | |
9768 | ||
9769 | ||
9770 | .PHONY: maybe-installcheck-tix installcheck-tix | |
9771 | maybe-installcheck-tix: | |
9772 | ||
9773 | installcheck-tix: \ | |
9774 | configure-tix | |
9775 | @[ -f ./tix/Makefile ] || exit 0; \ | |
9776 | r=`${PWD}`; export r; \ | |
9777 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9778 | $(SET_LIB_PATH) \ | |
9779 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9780 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9781 | done; \ | |
9782 | echo "Doing installcheck in tix" ; \ | |
9783 | (cd tix && \ | |
9784 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9785 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9786 | "RANLIB=$${RANLIB}" \ | |
9787 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9788 | installcheck) \ | |
9789 | || exit 1 | |
9790 | ||
9791 | ||
9792 | .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap | |
9793 | maybe-installcheck-libtermcap: | |
9794 | ||
9795 | installcheck-libtermcap: \ | |
9796 | configure-libtermcap | |
9797 | @[ -f ./libtermcap/Makefile ] || exit 0; \ | |
9798 | r=`${PWD}`; export r; \ | |
9799 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9800 | $(SET_LIB_PATH) \ | |
9801 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9802 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9803 | done; \ | |
9804 | echo "Doing installcheck in libtermcap" ; \ | |
9805 | (cd libtermcap && \ | |
9806 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9807 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9808 | "RANLIB=$${RANLIB}" \ | |
9809 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9810 | installcheck) \ | |
9811 | || exit 1 | |
9812 | ||
9813 | ||
9814 | .PHONY: maybe-installcheck-utils installcheck-utils | |
9815 | maybe-installcheck-utils: | |
9816 | ||
9817 | installcheck-utils: \ | |
9818 | configure-utils | |
9819 | @[ -f ./utils/Makefile ] || exit 0; \ | |
9820 | r=`${PWD}`; export r; \ | |
9821 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9822 | $(SET_LIB_PATH) \ | |
9823 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
9824 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9825 | done; \ | |
9826 | echo "Doing installcheck in utils" ; \ | |
9827 | (cd utils && \ | |
9828 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9829 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9830 | "RANLIB=$${RANLIB}" \ | |
9831 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9832 | installcheck) \ | |
9833 | || exit 1 | |
9834 | ||
9835 | ||
9836 | ||
9837 | # Target modules. | |
9838 | ||
9839 | .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3 | |
9840 | maybe-installcheck-target-libstdc++-v3: | |
9841 | ||
9842 | installcheck-target-libstdc++-v3: \ | |
9843 | configure-target-libstdc++-v3 | |
9844 | @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ | |
9845 | r=`${PWD}`; export r; \ | |
9846 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9847 | $(SET_LIB_PATH) \ | |
9848 | echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \ | |
9849 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
9850 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9851 | done; \ | |
9852 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
9853 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9854 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9855 | "RANLIB=$${RANLIB}" \ | |
9856 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9857 | installcheck) \ | |
9858 | || exit 1 | |
9859 | ||
9860 | ||
9861 | .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib | |
9862 | maybe-installcheck-target-newlib: | |
9863 | ||
9864 | installcheck-target-newlib: \ | |
9865 | configure-target-newlib | |
9866 | @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ | |
9867 | r=`${PWD}`; export r; \ | |
9868 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9869 | $(SET_LIB_PATH) \ | |
9870 | echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \ | |
9871 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
9872 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9873 | done; \ | |
9874 | (cd $(TARGET_SUBDIR)/newlib && \ | |
9875 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9876 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9877 | "RANLIB=$${RANLIB}" \ | |
9878 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9879 | installcheck) \ | |
9880 | || exit 1 | |
9881 | ||
9882 | ||
9883 | .PHONY: maybe-installcheck-target-libf2c installcheck-target-libf2c | |
9884 | maybe-installcheck-target-libf2c: | |
9885 | ||
9886 | installcheck-target-libf2c: \ | |
9887 | configure-target-libf2c | |
9888 | @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \ | |
9889 | r=`${PWD}`; export r; \ | |
9890 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9891 | $(SET_LIB_PATH) \ | |
9892 | echo "Doing installcheck in $(TARGET_SUBDIR)/libf2c" ; \ | |
9893 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
9894 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9895 | done; \ | |
9896 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
9897 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9898 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9899 | "RANLIB=$${RANLIB}" \ | |
9900 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9901 | installcheck) \ | |
9902 | || exit 1 | |
9903 | ||
9904 | ||
9905 | .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc | |
9906 | maybe-installcheck-target-libobjc: | |
9907 | ||
9908 | installcheck-target-libobjc: \ | |
9909 | configure-target-libobjc | |
9910 | @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ | |
9911 | r=`${PWD}`; export r; \ | |
9912 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9913 | $(SET_LIB_PATH) \ | |
9914 | echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \ | |
9915 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
9916 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9917 | done; \ | |
9918 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
9919 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9920 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9921 | "RANLIB=$${RANLIB}" \ | |
9922 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9923 | installcheck) \ | |
9924 | || exit 1 | |
9925 | ||
9926 | ||
9927 | .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap | |
9928 | maybe-installcheck-target-libtermcap: | |
9929 | ||
9930 | installcheck-target-libtermcap: \ | |
9931 | configure-target-libtermcap | |
9932 | @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ | |
9933 | r=`${PWD}`; export r; \ | |
9934 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9935 | $(SET_LIB_PATH) \ | |
9936 | echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \ | |
9937 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
9938 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9939 | done; \ | |
9940 | (cd $(TARGET_SUBDIR)/libtermcap && \ | |
9941 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9942 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9943 | "RANLIB=$${RANLIB}" \ | |
9944 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9945 | installcheck) \ | |
9946 | || exit 1 | |
9947 | ||
9948 | ||
9949 | .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup | |
9950 | maybe-installcheck-target-winsup: | |
9951 | ||
9952 | installcheck-target-winsup: \ | |
9953 | configure-target-winsup | |
9954 | @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ | |
9955 | r=`${PWD}`; export r; \ | |
9956 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9957 | $(SET_LIB_PATH) \ | |
9958 | echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \ | |
9959 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
9960 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9961 | done; \ | |
9962 | (cd $(TARGET_SUBDIR)/winsup && \ | |
9963 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9964 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9965 | "RANLIB=$${RANLIB}" \ | |
9966 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9967 | installcheck) \ | |
9968 | || exit 1 | |
9969 | ||
9970 | ||
9971 | .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss | |
9972 | maybe-installcheck-target-libgloss: | |
9973 | ||
9974 | installcheck-target-libgloss: \ | |
9975 | configure-target-libgloss | |
9976 | @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ | |
9977 | r=`${PWD}`; export r; \ | |
9978 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
9979 | $(SET_LIB_PATH) \ | |
9980 | echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \ | |
9981 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
9982 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
9983 | done; \ | |
9984 | (cd $(TARGET_SUBDIR)/libgloss && \ | |
9985 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
9986 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
9987 | "RANLIB=$${RANLIB}" \ | |
9988 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
9989 | installcheck) \ | |
9990 | || exit 1 | |
9991 | ||
9992 | ||
9993 | .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty | |
9994 | maybe-installcheck-target-libiberty: | |
9995 | ||
9996 | installcheck-target-libiberty: \ | |
9997 | configure-target-libiberty | |
9998 | @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ | |
9999 | r=`${PWD}`; export r; \ | |
10000 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10001 | $(SET_LIB_PATH) \ | |
10002 | echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \ | |
10003 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
10004 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10005 | done; \ | |
10006 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
10007 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10008 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10009 | "RANLIB=$${RANLIB}" \ | |
10010 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10011 | installcheck) \ | |
10012 | || exit 1 | |
10013 | ||
10014 | ||
10015 | .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf | |
10016 | maybe-installcheck-target-gperf: | |
10017 | ||
10018 | installcheck-target-gperf: \ | |
10019 | configure-target-gperf | |
10020 | @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ | |
10021 | r=`${PWD}`; export r; \ | |
10022 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10023 | $(SET_LIB_PATH) \ | |
10024 | echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \ | |
10025 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
10026 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10027 | done; \ | |
10028 | (cd $(TARGET_SUBDIR)/gperf && \ | |
10029 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10030 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10031 | "RANLIB=$${RANLIB}" \ | |
10032 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10033 | installcheck) \ | |
10034 | || exit 1 | |
10035 | ||
10036 | ||
10037 | .PHONY: maybe-installcheck-target-examples installcheck-target-examples | |
10038 | maybe-installcheck-target-examples: | |
10039 | ||
10040 | installcheck-target-examples: \ | |
10041 | configure-target-examples | |
10042 | @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ | |
10043 | r=`${PWD}`; export r; \ | |
10044 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10045 | $(SET_LIB_PATH) \ | |
10046 | echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \ | |
10047 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
10048 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10049 | done; \ | |
10050 | (cd $(TARGET_SUBDIR)/examples && \ | |
10051 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10052 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10053 | "RANLIB=$${RANLIB}" \ | |
10054 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10055 | installcheck) \ | |
10056 | || exit 1 | |
10057 | ||
10058 | ||
10059 | .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi | |
10060 | maybe-installcheck-target-libffi: | |
10061 | ||
10062 | installcheck-target-libffi: \ | |
10063 | configure-target-libffi | |
10064 | @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ | |
10065 | r=`${PWD}`; export r; \ | |
10066 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10067 | $(SET_LIB_PATH) \ | |
10068 | echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \ | |
10069 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
10070 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10071 | done; \ | |
10072 | (cd $(TARGET_SUBDIR)/libffi && \ | |
10073 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10074 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10075 | "RANLIB=$${RANLIB}" \ | |
10076 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10077 | installcheck) \ | |
10078 | || exit 1 | |
10079 | ||
10080 | ||
10081 | .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava | |
10082 | maybe-installcheck-target-libjava: | |
10083 | ||
10084 | installcheck-target-libjava: \ | |
10085 | configure-target-libjava | |
10086 | @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ | |
10087 | r=`${PWD}`; export r; \ | |
10088 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10089 | $(SET_LIB_PATH) \ | |
10090 | echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \ | |
10091 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
10092 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10093 | done; \ | |
10094 | (cd $(TARGET_SUBDIR)/libjava && \ | |
10095 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10096 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10097 | "RANLIB=$${RANLIB}" \ | |
10098 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10099 | installcheck) \ | |
10100 | || exit 1 | |
10101 | ||
10102 | ||
10103 | .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib | |
10104 | maybe-installcheck-target-zlib: | |
10105 | ||
10106 | installcheck-target-zlib: \ | |
10107 | configure-target-zlib | |
10108 | @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ | |
10109 | r=`${PWD}`; export r; \ | |
10110 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10111 | $(SET_LIB_PATH) \ | |
10112 | echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \ | |
10113 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
10114 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10115 | done; \ | |
10116 | (cd $(TARGET_SUBDIR)/zlib && \ | |
10117 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10118 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10119 | "RANLIB=$${RANLIB}" \ | |
10120 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10121 | installcheck) \ | |
10122 | || exit 1 | |
10123 | ||
10124 | ||
10125 | .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc | |
10126 | maybe-installcheck-target-boehm-gc: | |
10127 | ||
10128 | installcheck-target-boehm-gc: \ | |
10129 | configure-target-boehm-gc | |
10130 | @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ | |
10131 | r=`${PWD}`; export r; \ | |
10132 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10133 | $(SET_LIB_PATH) \ | |
10134 | echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \ | |
10135 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
10136 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10137 | done; \ | |
10138 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
10139 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10140 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10141 | "RANLIB=$${RANLIB}" \ | |
10142 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10143 | installcheck) \ | |
10144 | || exit 1 | |
10145 | ||
10146 | ||
10147 | .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads | |
10148 | maybe-installcheck-target-qthreads: | |
10149 | ||
10150 | installcheck-target-qthreads: \ | |
10151 | configure-target-qthreads | |
10152 | @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ | |
10153 | r=`${PWD}`; export r; \ | |
10154 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10155 | $(SET_LIB_PATH) \ | |
10156 | echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \ | |
10157 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
10158 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10159 | done; \ | |
10160 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
10161 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10162 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10163 | "RANLIB=$${RANLIB}" \ | |
10164 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10165 | installcheck) \ | |
10166 | || exit 1 | |
10167 | ||
10168 | ||
10169 | .PHONY: maybe-installcheck-target-rda installcheck-target-rda | |
10170 | maybe-installcheck-target-rda: | |
10171 | ||
10172 | installcheck-target-rda: \ | |
10173 | configure-target-rda | |
10174 | @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ | |
10175 | r=`${PWD}`; export r; \ | |
10176 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10177 | $(SET_LIB_PATH) \ | |
10178 | echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \ | |
10179 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
10180 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10181 | done; \ | |
10182 | (cd $(TARGET_SUBDIR)/rda && \ | |
10183 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10184 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10185 | "RANLIB=$${RANLIB}" \ | |
10186 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10187 | installcheck) \ | |
10188 | || exit 1 | |
10189 | ||
10190 | ||
10191 | ||
10192 | .PHONY: do-mostlyclean | |
10193 | do-mostlyclean: mostlyclean-host mostlyclean-target | |
10194 | ||
10195 | .PHONY: mostlyclean-host | |
10196 | mostlyclean-host: maybe-mostlyclean-gcc \ | |
10197 | maybe-mostlyclean-ash \ | |
10198 | maybe-mostlyclean-autoconf \ | |
10199 | maybe-mostlyclean-automake \ | |
10200 | maybe-mostlyclean-bash \ | |
10201 | maybe-mostlyclean-bfd \ | |
10202 | maybe-mostlyclean-opcodes \ | |
10203 | maybe-mostlyclean-binutils \ | |
10204 | maybe-mostlyclean-bison \ | |
10205 | maybe-mostlyclean-byacc \ | |
10206 | maybe-mostlyclean-bzip2 \ | |
10207 | maybe-mostlyclean-dejagnu \ | |
10208 | maybe-mostlyclean-diff \ | |
10209 | maybe-mostlyclean-dosutils \ | |
10210 | maybe-mostlyclean-etc \ | |
10211 | maybe-mostlyclean-fastjar \ | |
10212 | maybe-mostlyclean-fileutils \ | |
10213 | maybe-mostlyclean-findutils \ | |
10214 | maybe-mostlyclean-find \ | |
10215 | maybe-mostlyclean-flex \ | |
10216 | maybe-mostlyclean-gas \ | |
10217 | maybe-mostlyclean-gawk \ | |
10218 | maybe-mostlyclean-gettext \ | |
10219 | maybe-mostlyclean-gnuserv \ | |
10220 | maybe-mostlyclean-gprof \ | |
10221 | maybe-mostlyclean-gzip \ | |
10222 | maybe-mostlyclean-hello \ | |
10223 | maybe-mostlyclean-indent \ | |
10224 | maybe-mostlyclean-intl \ | |
10225 | maybe-mostlyclean-tcl \ | |
10226 | maybe-mostlyclean-itcl \ | |
10227 | maybe-mostlyclean-ld \ | |
10228 | maybe-mostlyclean-libgui \ | |
10229 | maybe-mostlyclean-libiberty \ | |
10230 | maybe-mostlyclean-libtool \ | |
10231 | maybe-mostlyclean-m4 \ | |
10232 | maybe-mostlyclean-make \ | |
10233 | maybe-mostlyclean-mmalloc \ | |
10234 | maybe-mostlyclean-patch \ | |
10235 | maybe-mostlyclean-perl \ | |
10236 | maybe-mostlyclean-prms \ | |
10237 | maybe-mostlyclean-rcs \ | |
10238 | maybe-mostlyclean-readline \ | |
10239 | maybe-mostlyclean-release \ | |
10240 | maybe-mostlyclean-recode \ | |
10241 | maybe-mostlyclean-sed \ | |
10242 | maybe-mostlyclean-send-pr \ | |
10243 | maybe-mostlyclean-shellutils \ | |
10244 | maybe-mostlyclean-sid \ | |
10245 | maybe-mostlyclean-sim \ | |
10246 | maybe-mostlyclean-tar \ | |
10247 | maybe-mostlyclean-texinfo \ | |
10248 | maybe-mostlyclean-textutils \ | |
10249 | maybe-mostlyclean-time \ | |
10250 | maybe-mostlyclean-uudecode \ | |
10251 | maybe-mostlyclean-wdiff \ | |
10252 | maybe-mostlyclean-zip \ | |
10253 | maybe-mostlyclean-zlib \ | |
10254 | maybe-mostlyclean-gdb \ | |
10255 | maybe-mostlyclean-expect \ | |
10256 | maybe-mostlyclean-guile \ | |
10257 | maybe-mostlyclean-tk \ | |
10258 | maybe-mostlyclean-tix \ | |
10259 | maybe-mostlyclean-libtermcap \ | |
10260 | maybe-mostlyclean-utils | |
10261 | ||
10262 | .PHONY: mostlyclean-target | |
10263 | mostlyclean-target: \ | |
10264 | maybe-mostlyclean-target-libstdc++-v3 \ | |
10265 | maybe-mostlyclean-target-newlib \ | |
10266 | maybe-mostlyclean-target-libf2c \ | |
10267 | maybe-mostlyclean-target-libobjc \ | |
10268 | maybe-mostlyclean-target-libtermcap \ | |
10269 | maybe-mostlyclean-target-winsup \ | |
10270 | maybe-mostlyclean-target-libgloss \ | |
10271 | maybe-mostlyclean-target-libiberty \ | |
10272 | maybe-mostlyclean-target-gperf \ | |
10273 | maybe-mostlyclean-target-examples \ | |
10274 | maybe-mostlyclean-target-libffi \ | |
10275 | maybe-mostlyclean-target-libjava \ | |
10276 | maybe-mostlyclean-target-zlib \ | |
10277 | maybe-mostlyclean-target-boehm-gc \ | |
10278 | maybe-mostlyclean-target-qthreads \ | |
10279 | maybe-mostlyclean-target-rda | |
10280 | ||
10281 | # GCC, the eternal special case | |
10282 | .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc | |
10283 | maybe-mostlyclean-gcc: | |
10284 | mostlyclean-gcc: | |
10285 | @[ -f ./gcc/Makefile ] || exit 0; \ | |
10286 | r=`${PWD}`; export r; \ | |
10287 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10288 | $(SET_LIB_PATH) \ | |
10289 | for flag in $(EXTRA_GCC_FLAGS); do \ | |
10290 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10291 | done; \ | |
10292 | echo "Doing mostlyclean in gcc" ; \ | |
10293 | (cd gcc && \ | |
10294 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10295 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10296 | "RANLIB=$${RANLIB}" \ | |
10297 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10298 | mostlyclean) \ | |
10299 | || exit 1 | |
10300 | ||
10301 | # Host modules. | |
10302 | ||
10303 | .PHONY: maybe-mostlyclean-ash mostlyclean-ash | |
10304 | maybe-mostlyclean-ash: | |
10305 | ||
10306 | mostlyclean-ash: | |
10307 | @[ -f ./ash/Makefile ] || exit 0; \ | |
10308 | r=`${PWD}`; export r; \ | |
10309 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10310 | $(SET_LIB_PATH) \ | |
10311 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10312 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10313 | done; \ | |
10314 | echo "Doing mostlyclean in ash" ; \ | |
10315 | (cd ash && \ | |
10316 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10317 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10318 | "RANLIB=$${RANLIB}" \ | |
10319 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10320 | mostlyclean) \ | |
10321 | || exit 1 | |
10322 | ||
10323 | ||
10324 | .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf | |
10325 | maybe-mostlyclean-autoconf: | |
10326 | ||
10327 | mostlyclean-autoconf: | |
10328 | @[ -f ./autoconf/Makefile ] || exit 0; \ | |
10329 | r=`${PWD}`; export r; \ | |
10330 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10331 | $(SET_LIB_PATH) \ | |
10332 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10333 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10334 | done; \ | |
10335 | echo "Doing mostlyclean in autoconf" ; \ | |
10336 | (cd autoconf && \ | |
10337 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10338 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10339 | "RANLIB=$${RANLIB}" \ | |
10340 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10341 | mostlyclean) \ | |
10342 | || exit 1 | |
10343 | ||
10344 | ||
10345 | .PHONY: maybe-mostlyclean-automake mostlyclean-automake | |
10346 | maybe-mostlyclean-automake: | |
10347 | ||
10348 | mostlyclean-automake: | |
10349 | @[ -f ./automake/Makefile ] || exit 0; \ | |
10350 | r=`${PWD}`; export r; \ | |
10351 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10352 | $(SET_LIB_PATH) \ | |
10353 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10354 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10355 | done; \ | |
10356 | echo "Doing mostlyclean in automake" ; \ | |
10357 | (cd automake && \ | |
10358 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10359 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10360 | "RANLIB=$${RANLIB}" \ | |
10361 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10362 | mostlyclean) \ | |
10363 | || exit 1 | |
10364 | ||
10365 | ||
10366 | .PHONY: maybe-mostlyclean-bash mostlyclean-bash | |
10367 | maybe-mostlyclean-bash: | |
10368 | ||
10369 | mostlyclean-bash: | |
10370 | @[ -f ./bash/Makefile ] || exit 0; \ | |
10371 | r=`${PWD}`; export r; \ | |
10372 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10373 | $(SET_LIB_PATH) \ | |
10374 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10375 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10376 | done; \ | |
10377 | echo "Doing mostlyclean in bash" ; \ | |
10378 | (cd bash && \ | |
10379 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10380 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10381 | "RANLIB=$${RANLIB}" \ | |
10382 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10383 | mostlyclean) \ | |
10384 | || exit 1 | |
10385 | ||
10386 | ||
10387 | .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd | |
10388 | maybe-mostlyclean-bfd: | |
10389 | ||
10390 | mostlyclean-bfd: | |
10391 | @[ -f ./bfd/Makefile ] || exit 0; \ | |
10392 | r=`${PWD}`; export r; \ | |
10393 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10394 | $(SET_LIB_PATH) \ | |
10395 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10396 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10397 | done; \ | |
10398 | echo "Doing mostlyclean in bfd" ; \ | |
10399 | (cd bfd && \ | |
10400 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10401 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10402 | "RANLIB=$${RANLIB}" \ | |
10403 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10404 | mostlyclean) \ | |
10405 | || exit 1 | |
10406 | ||
10407 | ||
10408 | .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes | |
10409 | maybe-mostlyclean-opcodes: | |
10410 | ||
10411 | mostlyclean-opcodes: | |
10412 | @[ -f ./opcodes/Makefile ] || exit 0; \ | |
10413 | r=`${PWD}`; export r; \ | |
10414 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10415 | $(SET_LIB_PATH) \ | |
10416 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10417 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10418 | done; \ | |
10419 | echo "Doing mostlyclean in opcodes" ; \ | |
10420 | (cd opcodes && \ | |
10421 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10422 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10423 | "RANLIB=$${RANLIB}" \ | |
10424 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10425 | mostlyclean) \ | |
10426 | || exit 1 | |
10427 | ||
10428 | ||
10429 | .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils | |
10430 | maybe-mostlyclean-binutils: | |
10431 | ||
10432 | mostlyclean-binutils: | |
10433 | @[ -f ./binutils/Makefile ] || exit 0; \ | |
10434 | r=`${PWD}`; export r; \ | |
10435 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10436 | $(SET_LIB_PATH) \ | |
10437 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10438 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10439 | done; \ | |
10440 | echo "Doing mostlyclean in binutils" ; \ | |
10441 | (cd binutils && \ | |
10442 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10443 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10444 | "RANLIB=$${RANLIB}" \ | |
10445 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10446 | mostlyclean) \ | |
10447 | || exit 1 | |
10448 | ||
10449 | ||
10450 | .PHONY: maybe-mostlyclean-bison mostlyclean-bison | |
10451 | maybe-mostlyclean-bison: | |
10452 | ||
10453 | mostlyclean-bison: | |
10454 | @[ -f ./bison/Makefile ] || exit 0; \ | |
10455 | r=`${PWD}`; export r; \ | |
10456 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10457 | $(SET_LIB_PATH) \ | |
10458 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10459 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10460 | done; \ | |
10461 | echo "Doing mostlyclean in bison" ; \ | |
10462 | (cd bison && \ | |
10463 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10464 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10465 | "RANLIB=$${RANLIB}" \ | |
10466 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10467 | mostlyclean) \ | |
10468 | || exit 1 | |
10469 | ||
10470 | ||
10471 | .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc | |
10472 | maybe-mostlyclean-byacc: | |
10473 | ||
10474 | mostlyclean-byacc: | |
10475 | @[ -f ./byacc/Makefile ] || exit 0; \ | |
10476 | r=`${PWD}`; export r; \ | |
10477 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10478 | $(SET_LIB_PATH) \ | |
10479 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10480 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10481 | done; \ | |
10482 | echo "Doing mostlyclean in byacc" ; \ | |
10483 | (cd byacc && \ | |
10484 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10485 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10486 | "RANLIB=$${RANLIB}" \ | |
10487 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10488 | mostlyclean) \ | |
10489 | || exit 1 | |
10490 | ||
10491 | ||
10492 | .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2 | |
10493 | maybe-mostlyclean-bzip2: | |
10494 | ||
10495 | mostlyclean-bzip2: | |
10496 | @[ -f ./bzip2/Makefile ] || exit 0; \ | |
10497 | r=`${PWD}`; export r; \ | |
10498 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10499 | $(SET_LIB_PATH) \ | |
10500 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10501 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10502 | done; \ | |
10503 | echo "Doing mostlyclean in bzip2" ; \ | |
10504 | (cd bzip2 && \ | |
10505 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10506 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10507 | "RANLIB=$${RANLIB}" \ | |
10508 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10509 | mostlyclean) \ | |
10510 | || exit 1 | |
10511 | ||
10512 | ||
10513 | .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu | |
10514 | maybe-mostlyclean-dejagnu: | |
10515 | ||
10516 | mostlyclean-dejagnu: | |
10517 | @[ -f ./dejagnu/Makefile ] || exit 0; \ | |
10518 | r=`${PWD}`; export r; \ | |
10519 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10520 | $(SET_LIB_PATH) \ | |
10521 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10522 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10523 | done; \ | |
10524 | echo "Doing mostlyclean in dejagnu" ; \ | |
10525 | (cd dejagnu && \ | |
10526 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10527 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10528 | "RANLIB=$${RANLIB}" \ | |
10529 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10530 | mostlyclean) \ | |
10531 | || exit 1 | |
10532 | ||
10533 | ||
10534 | .PHONY: maybe-mostlyclean-diff mostlyclean-diff | |
10535 | maybe-mostlyclean-diff: | |
10536 | ||
10537 | mostlyclean-diff: | |
10538 | @[ -f ./diff/Makefile ] || exit 0; \ | |
10539 | r=`${PWD}`; export r; \ | |
10540 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10541 | $(SET_LIB_PATH) \ | |
10542 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10543 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10544 | done; \ | |
10545 | echo "Doing mostlyclean in diff" ; \ | |
10546 | (cd diff && \ | |
10547 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10548 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10549 | "RANLIB=$${RANLIB}" \ | |
10550 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10551 | mostlyclean) \ | |
10552 | || exit 1 | |
10553 | ||
10554 | ||
10555 | .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils | |
10556 | maybe-mostlyclean-dosutils: | |
10557 | ||
10558 | mostlyclean-dosutils: | |
10559 | @[ -f ./dosutils/Makefile ] || exit 0; \ | |
10560 | r=`${PWD}`; export r; \ | |
10561 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10562 | $(SET_LIB_PATH) \ | |
10563 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10564 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10565 | done; \ | |
10566 | echo "Doing mostlyclean in dosutils" ; \ | |
10567 | (cd dosutils && \ | |
10568 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10569 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10570 | "RANLIB=$${RANLIB}" \ | |
10571 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10572 | mostlyclean) \ | |
10573 | || exit 1 | |
10574 | ||
10575 | ||
10576 | .PHONY: maybe-mostlyclean-etc mostlyclean-etc | |
10577 | maybe-mostlyclean-etc: | |
10578 | ||
10579 | mostlyclean-etc: | |
10580 | @[ -f ./etc/Makefile ] || exit 0; \ | |
10581 | r=`${PWD}`; export r; \ | |
10582 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10583 | $(SET_LIB_PATH) \ | |
10584 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10585 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10586 | done; \ | |
10587 | echo "Doing mostlyclean in etc" ; \ | |
10588 | (cd etc && \ | |
10589 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10590 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10591 | "RANLIB=$${RANLIB}" \ | |
10592 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10593 | mostlyclean) \ | |
10594 | || exit 1 | |
10595 | ||
10596 | ||
10597 | .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar | |
10598 | maybe-mostlyclean-fastjar: | |
10599 | ||
10600 | mostlyclean-fastjar: | |
10601 | @[ -f ./fastjar/Makefile ] || exit 0; \ | |
10602 | r=`${PWD}`; export r; \ | |
10603 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10604 | $(SET_LIB_PATH) \ | |
10605 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10606 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10607 | done; \ | |
10608 | echo "Doing mostlyclean in fastjar" ; \ | |
10609 | (cd fastjar && \ | |
10610 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10611 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10612 | "RANLIB=$${RANLIB}" \ | |
10613 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10614 | mostlyclean) \ | |
10615 | || exit 1 | |
10616 | ||
10617 | ||
10618 | .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils | |
10619 | maybe-mostlyclean-fileutils: | |
10620 | ||
10621 | mostlyclean-fileutils: | |
10622 | @[ -f ./fileutils/Makefile ] || exit 0; \ | |
10623 | r=`${PWD}`; export r; \ | |
10624 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10625 | $(SET_LIB_PATH) \ | |
10626 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10627 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10628 | done; \ | |
10629 | echo "Doing mostlyclean in fileutils" ; \ | |
10630 | (cd fileutils && \ | |
10631 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10632 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10633 | "RANLIB=$${RANLIB}" \ | |
10634 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10635 | mostlyclean) \ | |
10636 | || exit 1 | |
10637 | ||
10638 | ||
10639 | .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils | |
10640 | maybe-mostlyclean-findutils: | |
10641 | ||
10642 | mostlyclean-findutils: | |
10643 | @[ -f ./findutils/Makefile ] || exit 0; \ | |
10644 | r=`${PWD}`; export r; \ | |
10645 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10646 | $(SET_LIB_PATH) \ | |
10647 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10648 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10649 | done; \ | |
10650 | echo "Doing mostlyclean in findutils" ; \ | |
10651 | (cd findutils && \ | |
10652 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10653 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10654 | "RANLIB=$${RANLIB}" \ | |
10655 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10656 | mostlyclean) \ | |
10657 | || exit 1 | |
10658 | ||
10659 | ||
10660 | .PHONY: maybe-mostlyclean-find mostlyclean-find | |
10661 | maybe-mostlyclean-find: | |
10662 | ||
10663 | mostlyclean-find: | |
10664 | @[ -f ./find/Makefile ] || exit 0; \ | |
10665 | r=`${PWD}`; export r; \ | |
10666 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10667 | $(SET_LIB_PATH) \ | |
10668 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10669 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10670 | done; \ | |
10671 | echo "Doing mostlyclean in find" ; \ | |
10672 | (cd find && \ | |
10673 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10674 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10675 | "RANLIB=$${RANLIB}" \ | |
10676 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10677 | mostlyclean) \ | |
10678 | || exit 1 | |
10679 | ||
10680 | ||
10681 | .PHONY: maybe-mostlyclean-flex mostlyclean-flex | |
10682 | maybe-mostlyclean-flex: | |
10683 | ||
10684 | mostlyclean-flex: | |
10685 | @[ -f ./flex/Makefile ] || exit 0; \ | |
10686 | r=`${PWD}`; export r; \ | |
10687 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10688 | $(SET_LIB_PATH) \ | |
10689 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10690 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10691 | done; \ | |
10692 | echo "Doing mostlyclean in flex" ; \ | |
10693 | (cd flex && \ | |
10694 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10695 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10696 | "RANLIB=$${RANLIB}" \ | |
10697 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10698 | mostlyclean) \ | |
10699 | || exit 1 | |
10700 | ||
10701 | ||
10702 | .PHONY: maybe-mostlyclean-gas mostlyclean-gas | |
10703 | maybe-mostlyclean-gas: | |
10704 | ||
10705 | mostlyclean-gas: | |
10706 | @[ -f ./gas/Makefile ] || exit 0; \ | |
10707 | r=`${PWD}`; export r; \ | |
10708 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10709 | $(SET_LIB_PATH) \ | |
10710 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10711 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10712 | done; \ | |
10713 | echo "Doing mostlyclean in gas" ; \ | |
10714 | (cd gas && \ | |
10715 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10716 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10717 | "RANLIB=$${RANLIB}" \ | |
10718 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10719 | mostlyclean) \ | |
10720 | || exit 1 | |
10721 | ||
10722 | ||
10723 | .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk | |
10724 | maybe-mostlyclean-gawk: | |
10725 | ||
10726 | mostlyclean-gawk: | |
10727 | @[ -f ./gawk/Makefile ] || exit 0; \ | |
10728 | r=`${PWD}`; export r; \ | |
10729 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10730 | $(SET_LIB_PATH) \ | |
10731 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10732 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10733 | done; \ | |
10734 | echo "Doing mostlyclean in gawk" ; \ | |
10735 | (cd gawk && \ | |
10736 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10737 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10738 | "RANLIB=$${RANLIB}" \ | |
10739 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10740 | mostlyclean) \ | |
10741 | || exit 1 | |
10742 | ||
10743 | ||
10744 | .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext | |
10745 | maybe-mostlyclean-gettext: | |
10746 | ||
10747 | mostlyclean-gettext: | |
10748 | @[ -f ./gettext/Makefile ] || exit 0; \ | |
10749 | r=`${PWD}`; export r; \ | |
10750 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10751 | $(SET_LIB_PATH) \ | |
10752 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10753 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10754 | done; \ | |
10755 | echo "Doing mostlyclean in gettext" ; \ | |
10756 | (cd gettext && \ | |
10757 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10758 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10759 | "RANLIB=$${RANLIB}" \ | |
10760 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10761 | mostlyclean) \ | |
10762 | || exit 1 | |
10763 | ||
10764 | ||
10765 | .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv | |
10766 | maybe-mostlyclean-gnuserv: | |
10767 | ||
10768 | mostlyclean-gnuserv: | |
10769 | @[ -f ./gnuserv/Makefile ] || exit 0; \ | |
10770 | r=`${PWD}`; export r; \ | |
10771 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10772 | $(SET_LIB_PATH) \ | |
10773 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10774 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10775 | done; \ | |
10776 | echo "Doing mostlyclean in gnuserv" ; \ | |
10777 | (cd gnuserv && \ | |
10778 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10779 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10780 | "RANLIB=$${RANLIB}" \ | |
10781 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10782 | mostlyclean) \ | |
10783 | || exit 1 | |
10784 | ||
10785 | ||
10786 | .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof | |
10787 | maybe-mostlyclean-gprof: | |
10788 | ||
10789 | mostlyclean-gprof: | |
10790 | @[ -f ./gprof/Makefile ] || exit 0; \ | |
10791 | r=`${PWD}`; export r; \ | |
10792 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10793 | $(SET_LIB_PATH) \ | |
10794 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10795 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10796 | done; \ | |
10797 | echo "Doing mostlyclean in gprof" ; \ | |
10798 | (cd gprof && \ | |
10799 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10800 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10801 | "RANLIB=$${RANLIB}" \ | |
10802 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10803 | mostlyclean) \ | |
10804 | || exit 1 | |
10805 | ||
10806 | ||
10807 | .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip | |
10808 | maybe-mostlyclean-gzip: | |
10809 | ||
10810 | mostlyclean-gzip: | |
10811 | @[ -f ./gzip/Makefile ] || exit 0; \ | |
10812 | r=`${PWD}`; export r; \ | |
10813 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10814 | $(SET_LIB_PATH) \ | |
10815 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10816 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10817 | done; \ | |
10818 | echo "Doing mostlyclean in gzip" ; \ | |
10819 | (cd gzip && \ | |
10820 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10821 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10822 | "RANLIB=$${RANLIB}" \ | |
10823 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10824 | mostlyclean) \ | |
10825 | || exit 1 | |
10826 | ||
10827 | ||
10828 | .PHONY: maybe-mostlyclean-hello mostlyclean-hello | |
10829 | maybe-mostlyclean-hello: | |
10830 | ||
10831 | mostlyclean-hello: | |
10832 | @[ -f ./hello/Makefile ] || exit 0; \ | |
10833 | r=`${PWD}`; export r; \ | |
10834 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10835 | $(SET_LIB_PATH) \ | |
10836 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10837 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10838 | done; \ | |
10839 | echo "Doing mostlyclean in hello" ; \ | |
10840 | (cd hello && \ | |
10841 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10842 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10843 | "RANLIB=$${RANLIB}" \ | |
10844 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10845 | mostlyclean) \ | |
10846 | || exit 1 | |
10847 | ||
10848 | ||
10849 | .PHONY: maybe-mostlyclean-indent mostlyclean-indent | |
10850 | maybe-mostlyclean-indent: | |
10851 | ||
10852 | mostlyclean-indent: | |
10853 | @[ -f ./indent/Makefile ] || exit 0; \ | |
10854 | r=`${PWD}`; export r; \ | |
10855 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10856 | $(SET_LIB_PATH) \ | |
10857 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10858 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10859 | done; \ | |
10860 | echo "Doing mostlyclean in indent" ; \ | |
10861 | (cd indent && \ | |
10862 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10863 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10864 | "RANLIB=$${RANLIB}" \ | |
10865 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10866 | mostlyclean) \ | |
10867 | || exit 1 | |
10868 | ||
10869 | ||
10870 | .PHONY: maybe-mostlyclean-intl mostlyclean-intl | |
10871 | maybe-mostlyclean-intl: | |
10872 | ||
10873 | mostlyclean-intl: | |
10874 | @[ -f ./intl/Makefile ] || exit 0; \ | |
10875 | r=`${PWD}`; export r; \ | |
10876 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10877 | $(SET_LIB_PATH) \ | |
10878 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10879 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10880 | done; \ | |
10881 | echo "Doing mostlyclean in intl" ; \ | |
10882 | (cd intl && \ | |
10883 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10884 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10885 | "RANLIB=$${RANLIB}" \ | |
10886 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10887 | mostlyclean) \ | |
10888 | || exit 1 | |
10889 | ||
10890 | ||
10891 | .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl | |
10892 | maybe-mostlyclean-tcl: | |
10893 | ||
10894 | # tcl doesn't support mostlyclean. | |
10895 | mostlyclean-tcl: | |
10896 | ||
10897 | ||
10898 | .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl | |
10899 | maybe-mostlyclean-itcl: | |
10900 | ||
10901 | mostlyclean-itcl: | |
10902 | @[ -f ./itcl/Makefile ] || exit 0; \ | |
10903 | r=`${PWD}`; export r; \ | |
10904 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10905 | $(SET_LIB_PATH) \ | |
10906 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10907 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10908 | done; \ | |
10909 | echo "Doing mostlyclean in itcl" ; \ | |
10910 | (cd itcl && \ | |
10911 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10912 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10913 | "RANLIB=$${RANLIB}" \ | |
10914 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10915 | mostlyclean) \ | |
10916 | || exit 1 | |
10917 | ||
10918 | ||
10919 | .PHONY: maybe-mostlyclean-ld mostlyclean-ld | |
10920 | maybe-mostlyclean-ld: | |
10921 | ||
10922 | mostlyclean-ld: | |
10923 | @[ -f ./ld/Makefile ] || exit 0; \ | |
10924 | r=`${PWD}`; export r; \ | |
10925 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10926 | $(SET_LIB_PATH) \ | |
10927 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10928 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10929 | done; \ | |
10930 | echo "Doing mostlyclean in ld" ; \ | |
10931 | (cd ld && \ | |
10932 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10933 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10934 | "RANLIB=$${RANLIB}" \ | |
10935 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10936 | mostlyclean) \ | |
10937 | || exit 1 | |
10938 | ||
10939 | ||
10940 | .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui | |
10941 | maybe-mostlyclean-libgui: | |
10942 | ||
10943 | mostlyclean-libgui: | |
10944 | @[ -f ./libgui/Makefile ] || exit 0; \ | |
10945 | r=`${PWD}`; export r; \ | |
10946 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10947 | $(SET_LIB_PATH) \ | |
10948 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10949 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10950 | done; \ | |
10951 | echo "Doing mostlyclean in libgui" ; \ | |
10952 | (cd libgui && \ | |
10953 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10954 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10955 | "RANLIB=$${RANLIB}" \ | |
10956 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10957 | mostlyclean) \ | |
10958 | || exit 1 | |
10959 | ||
10960 | ||
10961 | .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty | |
10962 | maybe-mostlyclean-libiberty: | |
10963 | ||
10964 | mostlyclean-libiberty: | |
10965 | @[ -f ./libiberty/Makefile ] || exit 0; \ | |
10966 | r=`${PWD}`; export r; \ | |
10967 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10968 | $(SET_LIB_PATH) \ | |
10969 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10970 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10971 | done; \ | |
10972 | echo "Doing mostlyclean in libiberty" ; \ | |
10973 | (cd libiberty && \ | |
10974 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10975 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10976 | "RANLIB=$${RANLIB}" \ | |
10977 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10978 | mostlyclean) \ | |
10979 | || exit 1 | |
10980 | ||
10981 | ||
10982 | .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool | |
10983 | maybe-mostlyclean-libtool: | |
10984 | ||
10985 | mostlyclean-libtool: | |
10986 | @[ -f ./libtool/Makefile ] || exit 0; \ | |
10987 | r=`${PWD}`; export r; \ | |
10988 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
10989 | $(SET_LIB_PATH) \ | |
10990 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
10991 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
10992 | done; \ | |
10993 | echo "Doing mostlyclean in libtool" ; \ | |
10994 | (cd libtool && \ | |
10995 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
10996 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
10997 | "RANLIB=$${RANLIB}" \ | |
10998 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
10999 | mostlyclean) \ | |
11000 | || exit 1 | |
11001 | ||
11002 | ||
11003 | .PHONY: maybe-mostlyclean-m4 mostlyclean-m4 | |
11004 | maybe-mostlyclean-m4: | |
11005 | ||
11006 | mostlyclean-m4: | |
11007 | @[ -f ./m4/Makefile ] || exit 0; \ | |
11008 | r=`${PWD}`; export r; \ | |
11009 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11010 | $(SET_LIB_PATH) \ | |
11011 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11012 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11013 | done; \ | |
11014 | echo "Doing mostlyclean in m4" ; \ | |
11015 | (cd m4 && \ | |
11016 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11017 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11018 | "RANLIB=$${RANLIB}" \ | |
11019 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11020 | mostlyclean) \ | |
11021 | || exit 1 | |
11022 | ||
11023 | ||
11024 | .PHONY: maybe-mostlyclean-make mostlyclean-make | |
11025 | maybe-mostlyclean-make: | |
11026 | ||
11027 | mostlyclean-make: | |
11028 | @[ -f ./make/Makefile ] || exit 0; \ | |
11029 | r=`${PWD}`; export r; \ | |
11030 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11031 | $(SET_LIB_PATH) \ | |
11032 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11033 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11034 | done; \ | |
11035 | echo "Doing mostlyclean in make" ; \ | |
11036 | (cd make && \ | |
11037 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11038 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11039 | "RANLIB=$${RANLIB}" \ | |
11040 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11041 | mostlyclean) \ | |
11042 | || exit 1 | |
11043 | ||
11044 | ||
11045 | .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc | |
11046 | maybe-mostlyclean-mmalloc: | |
11047 | ||
11048 | mostlyclean-mmalloc: | |
11049 | @[ -f ./mmalloc/Makefile ] || exit 0; \ | |
11050 | r=`${PWD}`; export r; \ | |
11051 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11052 | $(SET_LIB_PATH) \ | |
11053 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11054 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11055 | done; \ | |
11056 | echo "Doing mostlyclean in mmalloc" ; \ | |
11057 | (cd mmalloc && \ | |
11058 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11059 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11060 | "RANLIB=$${RANLIB}" \ | |
11061 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11062 | mostlyclean) \ | |
11063 | || exit 1 | |
11064 | ||
11065 | ||
11066 | .PHONY: maybe-mostlyclean-patch mostlyclean-patch | |
11067 | maybe-mostlyclean-patch: | |
11068 | ||
11069 | mostlyclean-patch: | |
11070 | @[ -f ./patch/Makefile ] || exit 0; \ | |
11071 | r=`${PWD}`; export r; \ | |
11072 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11073 | $(SET_LIB_PATH) \ | |
11074 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11075 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11076 | done; \ | |
11077 | echo "Doing mostlyclean in patch" ; \ | |
11078 | (cd patch && \ | |
11079 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11080 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11081 | "RANLIB=$${RANLIB}" \ | |
11082 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11083 | mostlyclean) \ | |
11084 | || exit 1 | |
11085 | ||
11086 | ||
11087 | .PHONY: maybe-mostlyclean-perl mostlyclean-perl | |
11088 | maybe-mostlyclean-perl: | |
11089 | ||
11090 | mostlyclean-perl: | |
11091 | @[ -f ./perl/Makefile ] || exit 0; \ | |
11092 | r=`${PWD}`; export r; \ | |
11093 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11094 | $(SET_LIB_PATH) \ | |
11095 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11096 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11097 | done; \ | |
11098 | echo "Doing mostlyclean in perl" ; \ | |
11099 | (cd perl && \ | |
11100 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11101 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11102 | "RANLIB=$${RANLIB}" \ | |
11103 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11104 | mostlyclean) \ | |
11105 | || exit 1 | |
11106 | ||
11107 | ||
11108 | .PHONY: maybe-mostlyclean-prms mostlyclean-prms | |
11109 | maybe-mostlyclean-prms: | |
11110 | ||
11111 | mostlyclean-prms: | |
11112 | @[ -f ./prms/Makefile ] || exit 0; \ | |
11113 | r=`${PWD}`; export r; \ | |
11114 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11115 | $(SET_LIB_PATH) \ | |
11116 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11117 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11118 | done; \ | |
11119 | echo "Doing mostlyclean in prms" ; \ | |
11120 | (cd prms && \ | |
11121 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11122 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11123 | "RANLIB=$${RANLIB}" \ | |
11124 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11125 | mostlyclean) \ | |
11126 | || exit 1 | |
11127 | ||
11128 | ||
11129 | .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs | |
11130 | maybe-mostlyclean-rcs: | |
11131 | ||
11132 | mostlyclean-rcs: | |
11133 | @[ -f ./rcs/Makefile ] || exit 0; \ | |
11134 | r=`${PWD}`; export r; \ | |
11135 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11136 | $(SET_LIB_PATH) \ | |
11137 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11138 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11139 | done; \ | |
11140 | echo "Doing mostlyclean in rcs" ; \ | |
11141 | (cd rcs && \ | |
11142 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11143 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11144 | "RANLIB=$${RANLIB}" \ | |
11145 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11146 | mostlyclean) \ | |
11147 | || exit 1 | |
11148 | ||
11149 | ||
11150 | .PHONY: maybe-mostlyclean-readline mostlyclean-readline | |
11151 | maybe-mostlyclean-readline: | |
11152 | ||
11153 | mostlyclean-readline: | |
11154 | @[ -f ./readline/Makefile ] || exit 0; \ | |
11155 | r=`${PWD}`; export r; \ | |
11156 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11157 | $(SET_LIB_PATH) \ | |
11158 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11159 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11160 | done; \ | |
11161 | echo "Doing mostlyclean in readline" ; \ | |
11162 | (cd readline && \ | |
11163 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11164 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11165 | "RANLIB=$${RANLIB}" \ | |
11166 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11167 | mostlyclean) \ | |
11168 | || exit 1 | |
11169 | ||
11170 | ||
11171 | .PHONY: maybe-mostlyclean-release mostlyclean-release | |
11172 | maybe-mostlyclean-release: | |
11173 | ||
11174 | mostlyclean-release: | |
11175 | @[ -f ./release/Makefile ] || exit 0; \ | |
11176 | r=`${PWD}`; export r; \ | |
11177 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11178 | $(SET_LIB_PATH) \ | |
11179 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11180 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11181 | done; \ | |
11182 | echo "Doing mostlyclean in release" ; \ | |
11183 | (cd release && \ | |
11184 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11185 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11186 | "RANLIB=$${RANLIB}" \ | |
11187 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11188 | mostlyclean) \ | |
11189 | || exit 1 | |
11190 | ||
11191 | ||
11192 | .PHONY: maybe-mostlyclean-recode mostlyclean-recode | |
11193 | maybe-mostlyclean-recode: | |
11194 | ||
11195 | mostlyclean-recode: | |
11196 | @[ -f ./recode/Makefile ] || exit 0; \ | |
11197 | r=`${PWD}`; export r; \ | |
11198 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11199 | $(SET_LIB_PATH) \ | |
11200 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11201 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11202 | done; \ | |
11203 | echo "Doing mostlyclean in recode" ; \ | |
11204 | (cd recode && \ | |
11205 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11206 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11207 | "RANLIB=$${RANLIB}" \ | |
11208 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11209 | mostlyclean) \ | |
11210 | || exit 1 | |
11211 | ||
11212 | ||
11213 | .PHONY: maybe-mostlyclean-sed mostlyclean-sed | |
11214 | maybe-mostlyclean-sed: | |
11215 | ||
11216 | mostlyclean-sed: | |
11217 | @[ -f ./sed/Makefile ] || exit 0; \ | |
11218 | r=`${PWD}`; export r; \ | |
11219 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11220 | $(SET_LIB_PATH) \ | |
11221 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11222 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11223 | done; \ | |
11224 | echo "Doing mostlyclean in sed" ; \ | |
11225 | (cd sed && \ | |
11226 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11227 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11228 | "RANLIB=$${RANLIB}" \ | |
11229 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11230 | mostlyclean) \ | |
11231 | || exit 1 | |
11232 | ||
11233 | ||
11234 | .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr | |
11235 | maybe-mostlyclean-send-pr: | |
11236 | ||
11237 | mostlyclean-send-pr: | |
11238 | @[ -f ./send-pr/Makefile ] || exit 0; \ | |
11239 | r=`${PWD}`; export r; \ | |
11240 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11241 | $(SET_LIB_PATH) \ | |
11242 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11243 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11244 | done; \ | |
11245 | echo "Doing mostlyclean in send-pr" ; \ | |
11246 | (cd send-pr && \ | |
11247 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11248 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11249 | "RANLIB=$${RANLIB}" \ | |
11250 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11251 | mostlyclean) \ | |
11252 | || exit 1 | |
11253 | ||
11254 | ||
11255 | .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils | |
11256 | maybe-mostlyclean-shellutils: | |
11257 | ||
11258 | mostlyclean-shellutils: | |
11259 | @[ -f ./shellutils/Makefile ] || exit 0; \ | |
11260 | r=`${PWD}`; export r; \ | |
11261 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11262 | $(SET_LIB_PATH) \ | |
11263 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11264 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11265 | done; \ | |
11266 | echo "Doing mostlyclean in shellutils" ; \ | |
11267 | (cd shellutils && \ | |
11268 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11269 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11270 | "RANLIB=$${RANLIB}" \ | |
11271 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11272 | mostlyclean) \ | |
11273 | || exit 1 | |
11274 | ||
11275 | ||
11276 | .PHONY: maybe-mostlyclean-sid mostlyclean-sid | |
11277 | maybe-mostlyclean-sid: | |
11278 | ||
11279 | mostlyclean-sid: | |
11280 | @[ -f ./sid/Makefile ] || exit 0; \ | |
11281 | r=`${PWD}`; export r; \ | |
11282 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11283 | $(SET_LIB_PATH) \ | |
11284 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11285 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11286 | done; \ | |
11287 | echo "Doing mostlyclean in sid" ; \ | |
11288 | (cd sid && \ | |
11289 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11290 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11291 | "RANLIB=$${RANLIB}" \ | |
11292 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11293 | mostlyclean) \ | |
11294 | || exit 1 | |
11295 | ||
11296 | ||
11297 | .PHONY: maybe-mostlyclean-sim mostlyclean-sim | |
11298 | maybe-mostlyclean-sim: | |
11299 | ||
11300 | mostlyclean-sim: | |
11301 | @[ -f ./sim/Makefile ] || exit 0; \ | |
11302 | r=`${PWD}`; export r; \ | |
11303 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11304 | $(SET_LIB_PATH) \ | |
11305 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11306 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11307 | done; \ | |
11308 | echo "Doing mostlyclean in sim" ; \ | |
11309 | (cd sim && \ | |
11310 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11311 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11312 | "RANLIB=$${RANLIB}" \ | |
11313 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11314 | mostlyclean) \ | |
11315 | || exit 1 | |
11316 | ||
11317 | ||
11318 | .PHONY: maybe-mostlyclean-tar mostlyclean-tar | |
11319 | maybe-mostlyclean-tar: | |
11320 | ||
11321 | mostlyclean-tar: | |
11322 | @[ -f ./tar/Makefile ] || exit 0; \ | |
11323 | r=`${PWD}`; export r; \ | |
11324 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11325 | $(SET_LIB_PATH) \ | |
11326 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11327 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11328 | done; \ | |
11329 | echo "Doing mostlyclean in tar" ; \ | |
11330 | (cd tar && \ | |
11331 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11332 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11333 | "RANLIB=$${RANLIB}" \ | |
11334 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11335 | mostlyclean) \ | |
11336 | || exit 1 | |
11337 | ||
11338 | ||
11339 | .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo | |
11340 | maybe-mostlyclean-texinfo: | |
11341 | ||
11342 | mostlyclean-texinfo: | |
11343 | @[ -f ./texinfo/Makefile ] || exit 0; \ | |
11344 | r=`${PWD}`; export r; \ | |
11345 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11346 | $(SET_LIB_PATH) \ | |
11347 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11348 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11349 | done; \ | |
11350 | echo "Doing mostlyclean in texinfo" ; \ | |
11351 | (cd texinfo && \ | |
11352 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11353 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11354 | "RANLIB=$${RANLIB}" \ | |
11355 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11356 | mostlyclean) \ | |
11357 | || exit 1 | |
11358 | ||
11359 | ||
11360 | .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils | |
11361 | maybe-mostlyclean-textutils: | |
11362 | ||
11363 | mostlyclean-textutils: | |
11364 | @[ -f ./textutils/Makefile ] || exit 0; \ | |
11365 | r=`${PWD}`; export r; \ | |
11366 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11367 | $(SET_LIB_PATH) \ | |
11368 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11369 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11370 | done; \ | |
11371 | echo "Doing mostlyclean in textutils" ; \ | |
11372 | (cd textutils && \ | |
11373 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11374 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11375 | "RANLIB=$${RANLIB}" \ | |
11376 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11377 | mostlyclean) \ | |
11378 | || exit 1 | |
11379 | ||
11380 | ||
11381 | .PHONY: maybe-mostlyclean-time mostlyclean-time | |
11382 | maybe-mostlyclean-time: | |
11383 | ||
11384 | mostlyclean-time: | |
11385 | @[ -f ./time/Makefile ] || exit 0; \ | |
11386 | r=`${PWD}`; export r; \ | |
11387 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11388 | $(SET_LIB_PATH) \ | |
11389 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11390 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11391 | done; \ | |
11392 | echo "Doing mostlyclean in time" ; \ | |
11393 | (cd time && \ | |
11394 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11395 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11396 | "RANLIB=$${RANLIB}" \ | |
11397 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11398 | mostlyclean) \ | |
11399 | || exit 1 | |
11400 | ||
11401 | ||
11402 | .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode | |
11403 | maybe-mostlyclean-uudecode: | |
11404 | ||
11405 | mostlyclean-uudecode: | |
11406 | @[ -f ./uudecode/Makefile ] || exit 0; \ | |
11407 | r=`${PWD}`; export r; \ | |
11408 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11409 | $(SET_LIB_PATH) \ | |
11410 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11411 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11412 | done; \ | |
11413 | echo "Doing mostlyclean in uudecode" ; \ | |
11414 | (cd uudecode && \ | |
11415 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11416 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11417 | "RANLIB=$${RANLIB}" \ | |
11418 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11419 | mostlyclean) \ | |
11420 | || exit 1 | |
11421 | ||
11422 | ||
11423 | .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff | |
11424 | maybe-mostlyclean-wdiff: | |
11425 | ||
11426 | mostlyclean-wdiff: | |
11427 | @[ -f ./wdiff/Makefile ] || exit 0; \ | |
11428 | r=`${PWD}`; export r; \ | |
11429 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11430 | $(SET_LIB_PATH) \ | |
11431 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11432 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11433 | done; \ | |
11434 | echo "Doing mostlyclean in wdiff" ; \ | |
11435 | (cd wdiff && \ | |
11436 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11437 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11438 | "RANLIB=$${RANLIB}" \ | |
11439 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11440 | mostlyclean) \ | |
11441 | || exit 1 | |
11442 | ||
11443 | ||
11444 | .PHONY: maybe-mostlyclean-zip mostlyclean-zip | |
11445 | maybe-mostlyclean-zip: | |
11446 | ||
11447 | mostlyclean-zip: | |
11448 | @[ -f ./zip/Makefile ] || exit 0; \ | |
11449 | r=`${PWD}`; export r; \ | |
11450 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11451 | $(SET_LIB_PATH) \ | |
11452 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11453 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11454 | done; \ | |
11455 | echo "Doing mostlyclean in zip" ; \ | |
11456 | (cd zip && \ | |
11457 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11458 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11459 | "RANLIB=$${RANLIB}" \ | |
11460 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11461 | mostlyclean) \ | |
11462 | || exit 1 | |
11463 | ||
11464 | ||
11465 | .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib | |
11466 | maybe-mostlyclean-zlib: | |
11467 | ||
11468 | mostlyclean-zlib: | |
11469 | @[ -f ./zlib/Makefile ] || exit 0; \ | |
11470 | r=`${PWD}`; export r; \ | |
11471 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11472 | $(SET_LIB_PATH) \ | |
11473 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11474 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11475 | done; \ | |
11476 | echo "Doing mostlyclean in zlib" ; \ | |
11477 | (cd zlib && \ | |
11478 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11479 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11480 | "RANLIB=$${RANLIB}" \ | |
11481 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11482 | mostlyclean) \ | |
11483 | || exit 1 | |
11484 | ||
11485 | ||
11486 | .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb | |
11487 | maybe-mostlyclean-gdb: | |
11488 | ||
11489 | mostlyclean-gdb: | |
11490 | @[ -f ./gdb/Makefile ] || exit 0; \ | |
11491 | r=`${PWD}`; export r; \ | |
11492 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11493 | $(SET_LIB_PATH) \ | |
11494 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11495 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11496 | done; \ | |
11497 | echo "Doing mostlyclean in gdb" ; \ | |
11498 | (cd gdb && \ | |
11499 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11500 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11501 | "RANLIB=$${RANLIB}" \ | |
11502 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11503 | mostlyclean) \ | |
11504 | || exit 1 | |
11505 | ||
11506 | ||
11507 | .PHONY: maybe-mostlyclean-expect mostlyclean-expect | |
11508 | maybe-mostlyclean-expect: | |
11509 | ||
11510 | mostlyclean-expect: | |
11511 | @[ -f ./expect/Makefile ] || exit 0; \ | |
11512 | r=`${PWD}`; export r; \ | |
11513 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11514 | $(SET_LIB_PATH) \ | |
11515 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11516 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11517 | done; \ | |
11518 | echo "Doing mostlyclean in expect" ; \ | |
11519 | (cd expect && \ | |
11520 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11521 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11522 | "RANLIB=$${RANLIB}" \ | |
11523 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11524 | mostlyclean) \ | |
11525 | || exit 1 | |
11526 | ||
11527 | ||
11528 | .PHONY: maybe-mostlyclean-guile mostlyclean-guile | |
11529 | maybe-mostlyclean-guile: | |
11530 | ||
11531 | mostlyclean-guile: | |
11532 | @[ -f ./guile/Makefile ] || exit 0; \ | |
11533 | r=`${PWD}`; export r; \ | |
11534 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11535 | $(SET_LIB_PATH) \ | |
11536 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11537 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11538 | done; \ | |
11539 | echo "Doing mostlyclean in guile" ; \ | |
11540 | (cd guile && \ | |
11541 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11542 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11543 | "RANLIB=$${RANLIB}" \ | |
11544 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11545 | mostlyclean) \ | |
11546 | || exit 1 | |
11547 | ||
11548 | ||
11549 | .PHONY: maybe-mostlyclean-tk mostlyclean-tk | |
11550 | maybe-mostlyclean-tk: | |
11551 | ||
11552 | mostlyclean-tk: | |
11553 | @[ -f ./tk/Makefile ] || exit 0; \ | |
11554 | r=`${PWD}`; export r; \ | |
11555 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11556 | $(SET_LIB_PATH) \ | |
11557 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11558 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11559 | done; \ | |
11560 | echo "Doing mostlyclean in tk" ; \ | |
11561 | (cd tk && \ | |
11562 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11563 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11564 | "RANLIB=$${RANLIB}" \ | |
11565 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11566 | mostlyclean) \ | |
11567 | || exit 1 | |
11568 | ||
11569 | ||
11570 | .PHONY: maybe-mostlyclean-tix mostlyclean-tix | |
11571 | maybe-mostlyclean-tix: | |
11572 | ||
11573 | mostlyclean-tix: | |
11574 | @[ -f ./tix/Makefile ] || exit 0; \ | |
11575 | r=`${PWD}`; export r; \ | |
11576 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11577 | $(SET_LIB_PATH) \ | |
11578 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11579 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11580 | done; \ | |
11581 | echo "Doing mostlyclean in tix" ; \ | |
11582 | (cd tix && \ | |
11583 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11584 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11585 | "RANLIB=$${RANLIB}" \ | |
11586 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11587 | mostlyclean) \ | |
11588 | || exit 1 | |
11589 | ||
11590 | ||
11591 | .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap | |
11592 | maybe-mostlyclean-libtermcap: | |
11593 | ||
11594 | # libtermcap doesn't support mostlyclean. | |
11595 | mostlyclean-libtermcap: | |
11596 | ||
11597 | ||
11598 | .PHONY: maybe-mostlyclean-utils mostlyclean-utils | |
11599 | maybe-mostlyclean-utils: | |
11600 | ||
11601 | mostlyclean-utils: | |
11602 | @[ -f ./utils/Makefile ] || exit 0; \ | |
11603 | r=`${PWD}`; export r; \ | |
11604 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11605 | $(SET_LIB_PATH) \ | |
11606 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
11607 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11608 | done; \ | |
11609 | echo "Doing mostlyclean in utils" ; \ | |
11610 | (cd utils && \ | |
11611 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11612 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11613 | "RANLIB=$${RANLIB}" \ | |
11614 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11615 | mostlyclean) \ | |
11616 | || exit 1 | |
11617 | ||
11618 | ||
11619 | ||
11620 | # Target modules. | |
11621 | ||
11622 | .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3 | |
11623 | maybe-mostlyclean-target-libstdc++-v3: | |
11624 | ||
11625 | mostlyclean-target-libstdc++-v3: | |
11626 | @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ | |
11627 | r=`${PWD}`; export r; \ | |
11628 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11629 | $(SET_LIB_PATH) \ | |
11630 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \ | |
11631 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11632 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11633 | done; \ | |
11634 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
11635 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11636 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11637 | "RANLIB=$${RANLIB}" \ | |
11638 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11639 | mostlyclean) \ | |
11640 | || exit 1 | |
11641 | ||
11642 | ||
11643 | .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib | |
11644 | maybe-mostlyclean-target-newlib: | |
11645 | ||
11646 | mostlyclean-target-newlib: | |
11647 | @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ | |
11648 | r=`${PWD}`; export r; \ | |
11649 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11650 | $(SET_LIB_PATH) \ | |
11651 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \ | |
11652 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11653 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11654 | done; \ | |
11655 | (cd $(TARGET_SUBDIR)/newlib && \ | |
11656 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11657 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11658 | "RANLIB=$${RANLIB}" \ | |
11659 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11660 | mostlyclean) \ | |
11661 | || exit 1 | |
11662 | ||
11663 | ||
11664 | .PHONY: maybe-mostlyclean-target-libf2c mostlyclean-target-libf2c | |
11665 | maybe-mostlyclean-target-libf2c: | |
11666 | ||
11667 | mostlyclean-target-libf2c: | |
11668 | @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \ | |
11669 | r=`${PWD}`; export r; \ | |
11670 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11671 | $(SET_LIB_PATH) \ | |
11672 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/libf2c" ; \ | |
11673 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11674 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11675 | done; \ | |
11676 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
11677 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11678 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11679 | "RANLIB=$${RANLIB}" \ | |
11680 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11681 | mostlyclean) \ | |
11682 | || exit 1 | |
11683 | ||
11684 | ||
11685 | .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc | |
11686 | maybe-mostlyclean-target-libobjc: | |
11687 | ||
11688 | mostlyclean-target-libobjc: | |
11689 | @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ | |
11690 | r=`${PWD}`; export r; \ | |
11691 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11692 | $(SET_LIB_PATH) \ | |
11693 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \ | |
11694 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11695 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11696 | done; \ | |
11697 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
11698 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11699 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11700 | "RANLIB=$${RANLIB}" \ | |
11701 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11702 | mostlyclean) \ | |
11703 | || exit 1 | |
11704 | ||
11705 | ||
11706 | .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap | |
11707 | maybe-mostlyclean-target-libtermcap: | |
11708 | ||
11709 | # libtermcap doesn't support mostlyclean. | |
123494c8 | 11710 | mostlyclean-target-libtermcap: |
2a4cbe27 NN |
11711 | |
11712 | ||
11713 | .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup | |
11714 | maybe-mostlyclean-target-winsup: | |
11715 | ||
11716 | mostlyclean-target-winsup: | |
11717 | @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ | |
11718 | r=`${PWD}`; export r; \ | |
11719 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11720 | $(SET_LIB_PATH) \ | |
11721 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \ | |
11722 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11723 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11724 | done; \ | |
11725 | (cd $(TARGET_SUBDIR)/winsup && \ | |
11726 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11727 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11728 | "RANLIB=$${RANLIB}" \ | |
11729 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11730 | mostlyclean) \ | |
11731 | || exit 1 | |
11732 | ||
11733 | ||
11734 | .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss | |
11735 | maybe-mostlyclean-target-libgloss: | |
11736 | ||
11737 | mostlyclean-target-libgloss: | |
11738 | @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ | |
11739 | r=`${PWD}`; export r; \ | |
11740 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11741 | $(SET_LIB_PATH) \ | |
11742 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \ | |
11743 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11744 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11745 | done; \ | |
11746 | (cd $(TARGET_SUBDIR)/libgloss && \ | |
11747 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11748 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11749 | "RANLIB=$${RANLIB}" \ | |
11750 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11751 | mostlyclean) \ | |
11752 | || exit 1 | |
11753 | ||
11754 | ||
11755 | .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty | |
11756 | maybe-mostlyclean-target-libiberty: | |
11757 | ||
11758 | mostlyclean-target-libiberty: | |
11759 | @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ | |
11760 | r=`${PWD}`; export r; \ | |
11761 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11762 | $(SET_LIB_PATH) \ | |
11763 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \ | |
11764 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11765 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11766 | done; \ | |
11767 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
11768 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11769 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11770 | "RANLIB=$${RANLIB}" \ | |
11771 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11772 | mostlyclean) \ | |
11773 | || exit 1 | |
11774 | ||
11775 | ||
11776 | .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf | |
11777 | maybe-mostlyclean-target-gperf: | |
11778 | ||
11779 | mostlyclean-target-gperf: | |
11780 | @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ | |
11781 | r=`${PWD}`; export r; \ | |
11782 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11783 | $(SET_LIB_PATH) \ | |
11784 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \ | |
11785 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11786 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11787 | done; \ | |
11788 | (cd $(TARGET_SUBDIR)/gperf && \ | |
11789 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11790 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11791 | "RANLIB=$${RANLIB}" \ | |
11792 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11793 | mostlyclean) \ | |
11794 | || exit 1 | |
11795 | ||
11796 | ||
11797 | .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples | |
11798 | maybe-mostlyclean-target-examples: | |
11799 | ||
11800 | mostlyclean-target-examples: | |
11801 | @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ | |
11802 | r=`${PWD}`; export r; \ | |
11803 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11804 | $(SET_LIB_PATH) \ | |
11805 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \ | |
11806 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11807 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11808 | done; \ | |
11809 | (cd $(TARGET_SUBDIR)/examples && \ | |
11810 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11811 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11812 | "RANLIB=$${RANLIB}" \ | |
11813 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11814 | mostlyclean) \ | |
11815 | || exit 1 | |
11816 | ||
11817 | ||
11818 | .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi | |
11819 | maybe-mostlyclean-target-libffi: | |
11820 | ||
11821 | mostlyclean-target-libffi: | |
11822 | @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ | |
11823 | r=`${PWD}`; export r; \ | |
11824 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11825 | $(SET_LIB_PATH) \ | |
11826 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \ | |
11827 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11828 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11829 | done; \ | |
11830 | (cd $(TARGET_SUBDIR)/libffi && \ | |
11831 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11832 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11833 | "RANLIB=$${RANLIB}" \ | |
11834 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11835 | mostlyclean) \ | |
11836 | || exit 1 | |
11837 | ||
11838 | ||
11839 | .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava | |
11840 | maybe-mostlyclean-target-libjava: | |
11841 | ||
11842 | mostlyclean-target-libjava: | |
11843 | @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ | |
11844 | r=`${PWD}`; export r; \ | |
11845 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11846 | $(SET_LIB_PATH) \ | |
11847 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \ | |
11848 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11849 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11850 | done; \ | |
11851 | (cd $(TARGET_SUBDIR)/libjava && \ | |
11852 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11853 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11854 | "RANLIB=$${RANLIB}" \ | |
11855 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11856 | mostlyclean) \ | |
11857 | || exit 1 | |
11858 | ||
11859 | ||
11860 | .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib | |
11861 | maybe-mostlyclean-target-zlib: | |
11862 | ||
11863 | mostlyclean-target-zlib: | |
11864 | @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ | |
11865 | r=`${PWD}`; export r; \ | |
11866 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11867 | $(SET_LIB_PATH) \ | |
11868 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \ | |
11869 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11870 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11871 | done; \ | |
11872 | (cd $(TARGET_SUBDIR)/zlib && \ | |
11873 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11874 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11875 | "RANLIB=$${RANLIB}" \ | |
11876 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11877 | mostlyclean) \ | |
11878 | || exit 1 | |
11879 | ||
11880 | ||
11881 | .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc | |
11882 | maybe-mostlyclean-target-boehm-gc: | |
11883 | ||
11884 | mostlyclean-target-boehm-gc: | |
11885 | @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ | |
11886 | r=`${PWD}`; export r; \ | |
11887 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11888 | $(SET_LIB_PATH) \ | |
11889 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \ | |
11890 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11891 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11892 | done; \ | |
11893 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
11894 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11895 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11896 | "RANLIB=$${RANLIB}" \ | |
11897 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11898 | mostlyclean) \ | |
11899 | || exit 1 | |
11900 | ||
11901 | ||
11902 | .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads | |
11903 | maybe-mostlyclean-target-qthreads: | |
11904 | ||
11905 | mostlyclean-target-qthreads: | |
11906 | @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ | |
11907 | r=`${PWD}`; export r; \ | |
11908 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11909 | $(SET_LIB_PATH) \ | |
11910 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \ | |
11911 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11912 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11913 | done; \ | |
11914 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
11915 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11916 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11917 | "RANLIB=$${RANLIB}" \ | |
11918 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11919 | mostlyclean) \ | |
11920 | || exit 1 | |
11921 | ||
11922 | ||
11923 | .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda | |
11924 | maybe-mostlyclean-target-rda: | |
11925 | ||
11926 | mostlyclean-target-rda: | |
11927 | @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ | |
11928 | r=`${PWD}`; export r; \ | |
11929 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
11930 | $(SET_LIB_PATH) \ | |
11931 | echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \ | |
11932 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
11933 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
11934 | done; \ | |
11935 | (cd $(TARGET_SUBDIR)/rda && \ | |
11936 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
11937 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
11938 | "RANLIB=$${RANLIB}" \ | |
11939 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
11940 | mostlyclean) \ | |
11941 | || exit 1 | |
11942 | ||
11943 | ||
11944 | ||
11945 | .PHONY: do-clean | |
11946 | do-clean: clean-host clean-target | |
11947 | ||
11948 | .PHONY: clean-host | |
11949 | clean-host: maybe-clean-gcc \ | |
11950 | maybe-clean-ash \ | |
11951 | maybe-clean-autoconf \ | |
11952 | maybe-clean-automake \ | |
11953 | maybe-clean-bash \ | |
11954 | maybe-clean-bfd \ | |
11955 | maybe-clean-opcodes \ | |
11956 | maybe-clean-binutils \ | |
11957 | maybe-clean-bison \ | |
11958 | maybe-clean-byacc \ | |
11959 | maybe-clean-bzip2 \ | |
11960 | maybe-clean-dejagnu \ | |
11961 | maybe-clean-diff \ | |
11962 | maybe-clean-dosutils \ | |
11963 | maybe-clean-etc \ | |
11964 | maybe-clean-fastjar \ | |
11965 | maybe-clean-fileutils \ | |
11966 | maybe-clean-findutils \ | |
11967 | maybe-clean-find \ | |
11968 | maybe-clean-flex \ | |
11969 | maybe-clean-gas \ | |
11970 | maybe-clean-gawk \ | |
11971 | maybe-clean-gettext \ | |
11972 | maybe-clean-gnuserv \ | |
11973 | maybe-clean-gprof \ | |
11974 | maybe-clean-gzip \ | |
11975 | maybe-clean-hello \ | |
11976 | maybe-clean-indent \ | |
11977 | maybe-clean-intl \ | |
11978 | maybe-clean-tcl \ | |
11979 | maybe-clean-itcl \ | |
11980 | maybe-clean-ld \ | |
11981 | maybe-clean-libgui \ | |
11982 | maybe-clean-libiberty \ | |
11983 | maybe-clean-libtool \ | |
11984 | maybe-clean-m4 \ | |
11985 | maybe-clean-make \ | |
11986 | maybe-clean-mmalloc \ | |
11987 | maybe-clean-patch \ | |
11988 | maybe-clean-perl \ | |
11989 | maybe-clean-prms \ | |
11990 | maybe-clean-rcs \ | |
11991 | maybe-clean-readline \ | |
11992 | maybe-clean-release \ | |
11993 | maybe-clean-recode \ | |
11994 | maybe-clean-sed \ | |
11995 | maybe-clean-send-pr \ | |
11996 | maybe-clean-shellutils \ | |
11997 | maybe-clean-sid \ | |
11998 | maybe-clean-sim \ | |
11999 | maybe-clean-tar \ | |
12000 | maybe-clean-texinfo \ | |
12001 | maybe-clean-textutils \ | |
12002 | maybe-clean-time \ | |
12003 | maybe-clean-uudecode \ | |
12004 | maybe-clean-wdiff \ | |
12005 | maybe-clean-zip \ | |
12006 | maybe-clean-zlib \ | |
12007 | maybe-clean-gdb \ | |
12008 | maybe-clean-expect \ | |
12009 | maybe-clean-guile \ | |
12010 | maybe-clean-tk \ | |
12011 | maybe-clean-tix \ | |
12012 | maybe-clean-libtermcap \ | |
12013 | maybe-clean-utils | |
12014 | ||
12015 | .PHONY: clean-target | |
12016 | clean-target: \ | |
12017 | maybe-clean-target-libstdc++-v3 \ | |
12018 | maybe-clean-target-newlib \ | |
12019 | maybe-clean-target-libf2c \ | |
12020 | maybe-clean-target-libobjc \ | |
12021 | maybe-clean-target-libtermcap \ | |
12022 | maybe-clean-target-winsup \ | |
12023 | maybe-clean-target-libgloss \ | |
12024 | maybe-clean-target-libiberty \ | |
12025 | maybe-clean-target-gperf \ | |
12026 | maybe-clean-target-examples \ | |
12027 | maybe-clean-target-libffi \ | |
12028 | maybe-clean-target-libjava \ | |
12029 | maybe-clean-target-zlib \ | |
12030 | maybe-clean-target-boehm-gc \ | |
12031 | maybe-clean-target-qthreads \ | |
12032 | maybe-clean-target-rda | |
12033 | ||
12034 | # GCC, the eternal special case | |
12035 | .PHONY: maybe-clean-gcc clean-gcc | |
12036 | maybe-clean-gcc: | |
12037 | clean-gcc: | |
12038 | @[ -f ./gcc/Makefile ] || exit 0; \ | |
12039 | r=`${PWD}`; export r; \ | |
12040 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12041 | $(SET_LIB_PATH) \ | |
12042 | for flag in $(EXTRA_GCC_FLAGS); do \ | |
12043 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12044 | done; \ | |
12045 | echo "Doing clean in gcc" ; \ | |
12046 | (cd gcc && \ | |
12047 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12048 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12049 | "RANLIB=$${RANLIB}" \ | |
12050 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12051 | clean) \ | |
12052 | || exit 1 | |
12053 | ||
12054 | # Host modules. | |
12055 | ||
12056 | .PHONY: maybe-clean-ash clean-ash | |
12057 | maybe-clean-ash: | |
12058 | ||
12059 | clean-ash: | |
12060 | @[ -f ./ash/Makefile ] || exit 0; \ | |
12061 | r=`${PWD}`; export r; \ | |
12062 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12063 | $(SET_LIB_PATH) \ | |
12064 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12065 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12066 | done; \ | |
12067 | echo "Doing clean in ash" ; \ | |
12068 | (cd ash && \ | |
12069 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12070 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12071 | "RANLIB=$${RANLIB}" \ | |
12072 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12073 | clean) \ | |
12074 | || exit 1 | |
12075 | ||
12076 | ||
12077 | .PHONY: maybe-clean-autoconf clean-autoconf | |
12078 | maybe-clean-autoconf: | |
12079 | ||
12080 | clean-autoconf: | |
12081 | @[ -f ./autoconf/Makefile ] || exit 0; \ | |
12082 | r=`${PWD}`; export r; \ | |
12083 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12084 | $(SET_LIB_PATH) \ | |
12085 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12086 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12087 | done; \ | |
12088 | echo "Doing clean in autoconf" ; \ | |
12089 | (cd autoconf && \ | |
12090 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12091 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12092 | "RANLIB=$${RANLIB}" \ | |
12093 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12094 | clean) \ | |
12095 | || exit 1 | |
12096 | ||
12097 | ||
12098 | .PHONY: maybe-clean-automake clean-automake | |
12099 | maybe-clean-automake: | |
12100 | ||
12101 | clean-automake: | |
12102 | @[ -f ./automake/Makefile ] || exit 0; \ | |
12103 | r=`${PWD}`; export r; \ | |
12104 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12105 | $(SET_LIB_PATH) \ | |
12106 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12107 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12108 | done; \ | |
12109 | echo "Doing clean in automake" ; \ | |
12110 | (cd automake && \ | |
12111 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12112 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12113 | "RANLIB=$${RANLIB}" \ | |
12114 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12115 | clean) \ | |
12116 | || exit 1 | |
12117 | ||
12118 | ||
12119 | .PHONY: maybe-clean-bash clean-bash | |
12120 | maybe-clean-bash: | |
12121 | ||
12122 | clean-bash: | |
12123 | @[ -f ./bash/Makefile ] || exit 0; \ | |
12124 | r=`${PWD}`; export r; \ | |
12125 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12126 | $(SET_LIB_PATH) \ | |
12127 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12128 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12129 | done; \ | |
12130 | echo "Doing clean in bash" ; \ | |
12131 | (cd bash && \ | |
12132 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12133 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12134 | "RANLIB=$${RANLIB}" \ | |
12135 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12136 | clean) \ | |
12137 | || exit 1 | |
12138 | ||
12139 | ||
12140 | .PHONY: maybe-clean-bfd clean-bfd | |
12141 | maybe-clean-bfd: | |
12142 | ||
12143 | clean-bfd: | |
12144 | @[ -f ./bfd/Makefile ] || exit 0; \ | |
12145 | r=`${PWD}`; export r; \ | |
12146 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12147 | $(SET_LIB_PATH) \ | |
12148 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12149 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12150 | done; \ | |
12151 | echo "Doing clean in bfd" ; \ | |
12152 | (cd bfd && \ | |
12153 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12154 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12155 | "RANLIB=$${RANLIB}" \ | |
12156 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12157 | clean) \ | |
12158 | || exit 1 | |
12159 | ||
12160 | ||
12161 | .PHONY: maybe-clean-opcodes clean-opcodes | |
12162 | maybe-clean-opcodes: | |
12163 | ||
12164 | clean-opcodes: | |
12165 | @[ -f ./opcodes/Makefile ] || exit 0; \ | |
12166 | r=`${PWD}`; export r; \ | |
12167 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12168 | $(SET_LIB_PATH) \ | |
12169 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12170 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12171 | done; \ | |
12172 | echo "Doing clean in opcodes" ; \ | |
12173 | (cd opcodes && \ | |
12174 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12175 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12176 | "RANLIB=$${RANLIB}" \ | |
12177 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12178 | clean) \ | |
12179 | || exit 1 | |
12180 | ||
12181 | ||
12182 | .PHONY: maybe-clean-binutils clean-binutils | |
12183 | maybe-clean-binutils: | |
12184 | ||
12185 | clean-binutils: | |
12186 | @[ -f ./binutils/Makefile ] || exit 0; \ | |
12187 | r=`${PWD}`; export r; \ | |
12188 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12189 | $(SET_LIB_PATH) \ | |
12190 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12191 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12192 | done; \ | |
12193 | echo "Doing clean in binutils" ; \ | |
12194 | (cd binutils && \ | |
12195 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12196 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12197 | "RANLIB=$${RANLIB}" \ | |
12198 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12199 | clean) \ | |
12200 | || exit 1 | |
12201 | ||
12202 | ||
12203 | .PHONY: maybe-clean-bison clean-bison | |
12204 | maybe-clean-bison: | |
12205 | ||
12206 | clean-bison: | |
12207 | @[ -f ./bison/Makefile ] || exit 0; \ | |
12208 | r=`${PWD}`; export r; \ | |
12209 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12210 | $(SET_LIB_PATH) \ | |
12211 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12212 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12213 | done; \ | |
12214 | echo "Doing clean in bison" ; \ | |
12215 | (cd bison && \ | |
12216 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12217 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12218 | "RANLIB=$${RANLIB}" \ | |
12219 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12220 | clean) \ | |
12221 | || exit 1 | |
12222 | ||
12223 | ||
12224 | .PHONY: maybe-clean-byacc clean-byacc | |
12225 | maybe-clean-byacc: | |
12226 | ||
12227 | clean-byacc: | |
12228 | @[ -f ./byacc/Makefile ] || exit 0; \ | |
12229 | r=`${PWD}`; export r; \ | |
12230 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12231 | $(SET_LIB_PATH) \ | |
12232 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12233 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12234 | done; \ | |
12235 | echo "Doing clean in byacc" ; \ | |
12236 | (cd byacc && \ | |
12237 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12238 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12239 | "RANLIB=$${RANLIB}" \ | |
12240 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12241 | clean) \ | |
12242 | || exit 1 | |
12243 | ||
12244 | ||
12245 | .PHONY: maybe-clean-bzip2 clean-bzip2 | |
12246 | maybe-clean-bzip2: | |
12247 | ||
12248 | clean-bzip2: | |
12249 | @[ -f ./bzip2/Makefile ] || exit 0; \ | |
12250 | r=`${PWD}`; export r; \ | |
12251 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12252 | $(SET_LIB_PATH) \ | |
12253 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12254 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12255 | done; \ | |
12256 | echo "Doing clean in bzip2" ; \ | |
12257 | (cd bzip2 && \ | |
12258 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12259 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12260 | "RANLIB=$${RANLIB}" \ | |
12261 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12262 | clean) \ | |
12263 | || exit 1 | |
12264 | ||
12265 | ||
12266 | .PHONY: maybe-clean-dejagnu clean-dejagnu | |
12267 | maybe-clean-dejagnu: | |
12268 | ||
12269 | clean-dejagnu: | |
12270 | @[ -f ./dejagnu/Makefile ] || exit 0; \ | |
12271 | r=`${PWD}`; export r; \ | |
12272 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12273 | $(SET_LIB_PATH) \ | |
12274 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12275 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12276 | done; \ | |
12277 | echo "Doing clean in dejagnu" ; \ | |
12278 | (cd dejagnu && \ | |
12279 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12280 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12281 | "RANLIB=$${RANLIB}" \ | |
12282 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12283 | clean) \ | |
12284 | || exit 1 | |
12285 | ||
12286 | ||
12287 | .PHONY: maybe-clean-diff clean-diff | |
12288 | maybe-clean-diff: | |
12289 | ||
12290 | clean-diff: | |
12291 | @[ -f ./diff/Makefile ] || exit 0; \ | |
12292 | r=`${PWD}`; export r; \ | |
12293 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12294 | $(SET_LIB_PATH) \ | |
12295 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12296 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12297 | done; \ | |
12298 | echo "Doing clean in diff" ; \ | |
12299 | (cd diff && \ | |
12300 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12301 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12302 | "RANLIB=$${RANLIB}" \ | |
12303 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12304 | clean) \ | |
12305 | || exit 1 | |
12306 | ||
12307 | ||
12308 | .PHONY: maybe-clean-dosutils clean-dosutils | |
12309 | maybe-clean-dosutils: | |
12310 | ||
12311 | clean-dosutils: | |
12312 | @[ -f ./dosutils/Makefile ] || exit 0; \ | |
12313 | r=`${PWD}`; export r; \ | |
12314 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12315 | $(SET_LIB_PATH) \ | |
12316 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12317 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12318 | done; \ | |
12319 | echo "Doing clean in dosutils" ; \ | |
12320 | (cd dosutils && \ | |
12321 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12322 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12323 | "RANLIB=$${RANLIB}" \ | |
12324 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12325 | clean) \ | |
12326 | || exit 1 | |
12327 | ||
12328 | ||
12329 | .PHONY: maybe-clean-etc clean-etc | |
12330 | maybe-clean-etc: | |
12331 | ||
12332 | clean-etc: | |
12333 | @[ -f ./etc/Makefile ] || exit 0; \ | |
12334 | r=`${PWD}`; export r; \ | |
12335 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12336 | $(SET_LIB_PATH) \ | |
12337 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12338 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12339 | done; \ | |
12340 | echo "Doing clean in etc" ; \ | |
12341 | (cd etc && \ | |
12342 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12343 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12344 | "RANLIB=$${RANLIB}" \ | |
12345 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12346 | clean) \ | |
12347 | || exit 1 | |
12348 | ||
12349 | ||
12350 | .PHONY: maybe-clean-fastjar clean-fastjar | |
12351 | maybe-clean-fastjar: | |
12352 | ||
12353 | clean-fastjar: | |
12354 | @[ -f ./fastjar/Makefile ] || exit 0; \ | |
12355 | r=`${PWD}`; export r; \ | |
12356 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12357 | $(SET_LIB_PATH) \ | |
12358 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12359 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12360 | done; \ | |
12361 | echo "Doing clean in fastjar" ; \ | |
12362 | (cd fastjar && \ | |
12363 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12364 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12365 | "RANLIB=$${RANLIB}" \ | |
12366 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12367 | clean) \ | |
12368 | || exit 1 | |
12369 | ||
12370 | ||
12371 | .PHONY: maybe-clean-fileutils clean-fileutils | |
12372 | maybe-clean-fileutils: | |
12373 | ||
12374 | clean-fileutils: | |
12375 | @[ -f ./fileutils/Makefile ] || exit 0; \ | |
12376 | r=`${PWD}`; export r; \ | |
12377 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12378 | $(SET_LIB_PATH) \ | |
12379 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12380 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12381 | done; \ | |
12382 | echo "Doing clean in fileutils" ; \ | |
12383 | (cd fileutils && \ | |
12384 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12385 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12386 | "RANLIB=$${RANLIB}" \ | |
12387 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12388 | clean) \ | |
12389 | || exit 1 | |
12390 | ||
12391 | ||
12392 | .PHONY: maybe-clean-findutils clean-findutils | |
12393 | maybe-clean-findutils: | |
12394 | ||
12395 | clean-findutils: | |
12396 | @[ -f ./findutils/Makefile ] || exit 0; \ | |
12397 | r=`${PWD}`; export r; \ | |
12398 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12399 | $(SET_LIB_PATH) \ | |
12400 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12401 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12402 | done; \ | |
12403 | echo "Doing clean in findutils" ; \ | |
12404 | (cd findutils && \ | |
12405 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12406 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12407 | "RANLIB=$${RANLIB}" \ | |
12408 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12409 | clean) \ | |
12410 | || exit 1 | |
12411 | ||
12412 | ||
12413 | .PHONY: maybe-clean-find clean-find | |
12414 | maybe-clean-find: | |
12415 | ||
12416 | clean-find: | |
12417 | @[ -f ./find/Makefile ] || exit 0; \ | |
12418 | r=`${PWD}`; export r; \ | |
12419 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12420 | $(SET_LIB_PATH) \ | |
12421 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12422 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12423 | done; \ | |
12424 | echo "Doing clean in find" ; \ | |
12425 | (cd find && \ | |
12426 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12427 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12428 | "RANLIB=$${RANLIB}" \ | |
12429 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12430 | clean) \ | |
12431 | || exit 1 | |
12432 | ||
12433 | ||
12434 | .PHONY: maybe-clean-flex clean-flex | |
12435 | maybe-clean-flex: | |
12436 | ||
12437 | clean-flex: | |
12438 | @[ -f ./flex/Makefile ] || exit 0; \ | |
12439 | r=`${PWD}`; export r; \ | |
12440 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12441 | $(SET_LIB_PATH) \ | |
12442 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12443 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12444 | done; \ | |
12445 | echo "Doing clean in flex" ; \ | |
12446 | (cd flex && \ | |
12447 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12448 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12449 | "RANLIB=$${RANLIB}" \ | |
12450 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12451 | clean) \ | |
12452 | || exit 1 | |
12453 | ||
12454 | ||
12455 | .PHONY: maybe-clean-gas clean-gas | |
12456 | maybe-clean-gas: | |
12457 | ||
12458 | clean-gas: | |
12459 | @[ -f ./gas/Makefile ] || exit 0; \ | |
12460 | r=`${PWD}`; export r; \ | |
12461 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12462 | $(SET_LIB_PATH) \ | |
12463 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12464 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12465 | done; \ | |
12466 | echo "Doing clean in gas" ; \ | |
12467 | (cd gas && \ | |
12468 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12469 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12470 | "RANLIB=$${RANLIB}" \ | |
12471 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12472 | clean) \ | |
12473 | || exit 1 | |
12474 | ||
12475 | ||
12476 | .PHONY: maybe-clean-gawk clean-gawk | |
12477 | maybe-clean-gawk: | |
12478 | ||
12479 | clean-gawk: | |
12480 | @[ -f ./gawk/Makefile ] || exit 0; \ | |
12481 | r=`${PWD}`; export r; \ | |
12482 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12483 | $(SET_LIB_PATH) \ | |
12484 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12485 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12486 | done; \ | |
12487 | echo "Doing clean in gawk" ; \ | |
12488 | (cd gawk && \ | |
12489 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12490 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12491 | "RANLIB=$${RANLIB}" \ | |
12492 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12493 | clean) \ | |
12494 | || exit 1 | |
12495 | ||
12496 | ||
12497 | .PHONY: maybe-clean-gettext clean-gettext | |
12498 | maybe-clean-gettext: | |
12499 | ||
12500 | clean-gettext: | |
12501 | @[ -f ./gettext/Makefile ] || exit 0; \ | |
12502 | r=`${PWD}`; export r; \ | |
12503 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12504 | $(SET_LIB_PATH) \ | |
12505 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12506 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12507 | done; \ | |
12508 | echo "Doing clean in gettext" ; \ | |
12509 | (cd gettext && \ | |
12510 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12511 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12512 | "RANLIB=$${RANLIB}" \ | |
12513 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12514 | clean) \ | |
12515 | || exit 1 | |
12516 | ||
12517 | ||
12518 | .PHONY: maybe-clean-gnuserv clean-gnuserv | |
12519 | maybe-clean-gnuserv: | |
12520 | ||
12521 | clean-gnuserv: | |
12522 | @[ -f ./gnuserv/Makefile ] || exit 0; \ | |
12523 | r=`${PWD}`; export r; \ | |
12524 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12525 | $(SET_LIB_PATH) \ | |
12526 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12527 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12528 | done; \ | |
12529 | echo "Doing clean in gnuserv" ; \ | |
12530 | (cd gnuserv && \ | |
12531 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12532 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12533 | "RANLIB=$${RANLIB}" \ | |
12534 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12535 | clean) \ | |
12536 | || exit 1 | |
12537 | ||
12538 | ||
12539 | .PHONY: maybe-clean-gprof clean-gprof | |
12540 | maybe-clean-gprof: | |
12541 | ||
12542 | clean-gprof: | |
12543 | @[ -f ./gprof/Makefile ] || exit 0; \ | |
12544 | r=`${PWD}`; export r; \ | |
12545 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12546 | $(SET_LIB_PATH) \ | |
12547 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12548 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12549 | done; \ | |
12550 | echo "Doing clean in gprof" ; \ | |
12551 | (cd gprof && \ | |
12552 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12553 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12554 | "RANLIB=$${RANLIB}" \ | |
12555 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12556 | clean) \ | |
12557 | || exit 1 | |
12558 | ||
12559 | ||
12560 | .PHONY: maybe-clean-gzip clean-gzip | |
12561 | maybe-clean-gzip: | |
12562 | ||
12563 | clean-gzip: | |
12564 | @[ -f ./gzip/Makefile ] || exit 0; \ | |
12565 | r=`${PWD}`; export r; \ | |
12566 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12567 | $(SET_LIB_PATH) \ | |
12568 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12569 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12570 | done; \ | |
12571 | echo "Doing clean in gzip" ; \ | |
12572 | (cd gzip && \ | |
12573 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12574 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12575 | "RANLIB=$${RANLIB}" \ | |
12576 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12577 | clean) \ | |
12578 | || exit 1 | |
12579 | ||
12580 | ||
12581 | .PHONY: maybe-clean-hello clean-hello | |
12582 | maybe-clean-hello: | |
12583 | ||
12584 | clean-hello: | |
12585 | @[ -f ./hello/Makefile ] || exit 0; \ | |
12586 | r=`${PWD}`; export r; \ | |
12587 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12588 | $(SET_LIB_PATH) \ | |
12589 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12590 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12591 | done; \ | |
12592 | echo "Doing clean in hello" ; \ | |
12593 | (cd hello && \ | |
12594 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12595 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12596 | "RANLIB=$${RANLIB}" \ | |
12597 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12598 | clean) \ | |
12599 | || exit 1 | |
12600 | ||
12601 | ||
12602 | .PHONY: maybe-clean-indent clean-indent | |
12603 | maybe-clean-indent: | |
12604 | ||
12605 | clean-indent: | |
12606 | @[ -f ./indent/Makefile ] || exit 0; \ | |
12607 | r=`${PWD}`; export r; \ | |
12608 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12609 | $(SET_LIB_PATH) \ | |
12610 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12611 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12612 | done; \ | |
12613 | echo "Doing clean in indent" ; \ | |
12614 | (cd indent && \ | |
12615 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12616 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12617 | "RANLIB=$${RANLIB}" \ | |
12618 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12619 | clean) \ | |
12620 | || exit 1 | |
12621 | ||
12622 | ||
12623 | .PHONY: maybe-clean-intl clean-intl | |
12624 | maybe-clean-intl: | |
12625 | ||
12626 | clean-intl: | |
12627 | @[ -f ./intl/Makefile ] || exit 0; \ | |
12628 | r=`${PWD}`; export r; \ | |
12629 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12630 | $(SET_LIB_PATH) \ | |
12631 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12632 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12633 | done; \ | |
12634 | echo "Doing clean in intl" ; \ | |
12635 | (cd intl && \ | |
12636 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12637 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12638 | "RANLIB=$${RANLIB}" \ | |
12639 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12640 | clean) \ | |
12641 | || exit 1 | |
12642 | ||
12643 | ||
12644 | .PHONY: maybe-clean-tcl clean-tcl | |
12645 | maybe-clean-tcl: | |
12646 | ||
12647 | clean-tcl: | |
12648 | @[ -f ./tcl/Makefile ] || exit 0; \ | |
12649 | r=`${PWD}`; export r; \ | |
12650 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12651 | $(SET_LIB_PATH) \ | |
12652 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12653 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12654 | done; \ | |
12655 | echo "Doing clean in tcl" ; \ | |
12656 | (cd tcl && \ | |
12657 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12658 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12659 | "RANLIB=$${RANLIB}" \ | |
12660 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12661 | clean) \ | |
12662 | || exit 1 | |
12663 | ||
12664 | ||
12665 | .PHONY: maybe-clean-itcl clean-itcl | |
12666 | maybe-clean-itcl: | |
12667 | ||
12668 | clean-itcl: | |
12669 | @[ -f ./itcl/Makefile ] || exit 0; \ | |
12670 | r=`${PWD}`; export r; \ | |
12671 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12672 | $(SET_LIB_PATH) \ | |
12673 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12674 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12675 | done; \ | |
12676 | echo "Doing clean in itcl" ; \ | |
12677 | (cd itcl && \ | |
12678 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12679 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12680 | "RANLIB=$${RANLIB}" \ | |
12681 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12682 | clean) \ | |
12683 | || exit 1 | |
12684 | ||
12685 | ||
12686 | .PHONY: maybe-clean-ld clean-ld | |
12687 | maybe-clean-ld: | |
12688 | ||
12689 | clean-ld: | |
12690 | @[ -f ./ld/Makefile ] || exit 0; \ | |
12691 | r=`${PWD}`; export r; \ | |
12692 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12693 | $(SET_LIB_PATH) \ | |
12694 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12695 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12696 | done; \ | |
12697 | echo "Doing clean in ld" ; \ | |
12698 | (cd ld && \ | |
12699 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12700 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12701 | "RANLIB=$${RANLIB}" \ | |
12702 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12703 | clean) \ | |
12704 | || exit 1 | |
12705 | ||
12706 | ||
12707 | .PHONY: maybe-clean-libgui clean-libgui | |
12708 | maybe-clean-libgui: | |
12709 | ||
12710 | clean-libgui: | |
12711 | @[ -f ./libgui/Makefile ] || exit 0; \ | |
12712 | r=`${PWD}`; export r; \ | |
12713 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12714 | $(SET_LIB_PATH) \ | |
12715 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12716 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12717 | done; \ | |
12718 | echo "Doing clean in libgui" ; \ | |
12719 | (cd libgui && \ | |
12720 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12721 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12722 | "RANLIB=$${RANLIB}" \ | |
12723 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12724 | clean) \ | |
12725 | || exit 1 | |
12726 | ||
12727 | ||
12728 | .PHONY: maybe-clean-libiberty clean-libiberty | |
12729 | maybe-clean-libiberty: | |
12730 | ||
12731 | clean-libiberty: | |
12732 | @[ -f ./libiberty/Makefile ] || exit 0; \ | |
12733 | r=`${PWD}`; export r; \ | |
12734 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12735 | $(SET_LIB_PATH) \ | |
12736 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12737 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12738 | done; \ | |
12739 | echo "Doing clean in libiberty" ; \ | |
12740 | (cd libiberty && \ | |
12741 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12742 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12743 | "RANLIB=$${RANLIB}" \ | |
12744 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12745 | clean) \ | |
12746 | || exit 1 | |
12747 | ||
12748 | ||
12749 | .PHONY: maybe-clean-libtool clean-libtool | |
12750 | maybe-clean-libtool: | |
12751 | ||
12752 | clean-libtool: | |
12753 | @[ -f ./libtool/Makefile ] || exit 0; \ | |
12754 | r=`${PWD}`; export r; \ | |
12755 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12756 | $(SET_LIB_PATH) \ | |
12757 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12758 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12759 | done; \ | |
12760 | echo "Doing clean in libtool" ; \ | |
12761 | (cd libtool && \ | |
12762 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12763 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12764 | "RANLIB=$${RANLIB}" \ | |
12765 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12766 | clean) \ | |
12767 | || exit 1 | |
12768 | ||
12769 | ||
12770 | .PHONY: maybe-clean-m4 clean-m4 | |
12771 | maybe-clean-m4: | |
12772 | ||
12773 | clean-m4: | |
12774 | @[ -f ./m4/Makefile ] || exit 0; \ | |
12775 | r=`${PWD}`; export r; \ | |
12776 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12777 | $(SET_LIB_PATH) \ | |
12778 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12779 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12780 | done; \ | |
12781 | echo "Doing clean in m4" ; \ | |
12782 | (cd m4 && \ | |
12783 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12784 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12785 | "RANLIB=$${RANLIB}" \ | |
12786 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12787 | clean) \ | |
12788 | || exit 1 | |
12789 | ||
12790 | ||
12791 | .PHONY: maybe-clean-make clean-make | |
12792 | maybe-clean-make: | |
12793 | ||
12794 | clean-make: | |
12795 | @[ -f ./make/Makefile ] || exit 0; \ | |
12796 | r=`${PWD}`; export r; \ | |
12797 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12798 | $(SET_LIB_PATH) \ | |
12799 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12800 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12801 | done; \ | |
12802 | echo "Doing clean in make" ; \ | |
12803 | (cd make && \ | |
12804 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12805 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12806 | "RANLIB=$${RANLIB}" \ | |
12807 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12808 | clean) \ | |
12809 | || exit 1 | |
12810 | ||
12811 | ||
12812 | .PHONY: maybe-clean-mmalloc clean-mmalloc | |
12813 | maybe-clean-mmalloc: | |
12814 | ||
12815 | clean-mmalloc: | |
12816 | @[ -f ./mmalloc/Makefile ] || exit 0; \ | |
12817 | r=`${PWD}`; export r; \ | |
12818 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12819 | $(SET_LIB_PATH) \ | |
12820 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12821 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12822 | done; \ | |
12823 | echo "Doing clean in mmalloc" ; \ | |
12824 | (cd mmalloc && \ | |
12825 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12826 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12827 | "RANLIB=$${RANLIB}" \ | |
12828 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12829 | clean) \ | |
12830 | || exit 1 | |
12831 | ||
12832 | ||
12833 | .PHONY: maybe-clean-patch clean-patch | |
12834 | maybe-clean-patch: | |
12835 | ||
12836 | clean-patch: | |
12837 | @[ -f ./patch/Makefile ] || exit 0; \ | |
12838 | r=`${PWD}`; export r; \ | |
12839 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12840 | $(SET_LIB_PATH) \ | |
12841 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12842 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12843 | done; \ | |
12844 | echo "Doing clean in patch" ; \ | |
12845 | (cd patch && \ | |
12846 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12847 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12848 | "RANLIB=$${RANLIB}" \ | |
12849 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12850 | clean) \ | |
12851 | || exit 1 | |
12852 | ||
12853 | ||
12854 | .PHONY: maybe-clean-perl clean-perl | |
12855 | maybe-clean-perl: | |
12856 | ||
12857 | clean-perl: | |
12858 | @[ -f ./perl/Makefile ] || exit 0; \ | |
12859 | r=`${PWD}`; export r; \ | |
12860 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12861 | $(SET_LIB_PATH) \ | |
12862 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12863 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12864 | done; \ | |
12865 | echo "Doing clean in perl" ; \ | |
12866 | (cd perl && \ | |
12867 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12868 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12869 | "RANLIB=$${RANLIB}" \ | |
12870 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12871 | clean) \ | |
12872 | || exit 1 | |
12873 | ||
12874 | ||
12875 | .PHONY: maybe-clean-prms clean-prms | |
12876 | maybe-clean-prms: | |
12877 | ||
12878 | clean-prms: | |
12879 | @[ -f ./prms/Makefile ] || exit 0; \ | |
12880 | r=`${PWD}`; export r; \ | |
12881 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12882 | $(SET_LIB_PATH) \ | |
12883 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12884 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12885 | done; \ | |
12886 | echo "Doing clean in prms" ; \ | |
12887 | (cd prms && \ | |
12888 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12889 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12890 | "RANLIB=$${RANLIB}" \ | |
12891 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12892 | clean) \ | |
12893 | || exit 1 | |
12894 | ||
12895 | ||
12896 | .PHONY: maybe-clean-rcs clean-rcs | |
12897 | maybe-clean-rcs: | |
12898 | ||
12899 | clean-rcs: | |
12900 | @[ -f ./rcs/Makefile ] || exit 0; \ | |
12901 | r=`${PWD}`; export r; \ | |
12902 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12903 | $(SET_LIB_PATH) \ | |
12904 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12905 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12906 | done; \ | |
12907 | echo "Doing clean in rcs" ; \ | |
12908 | (cd rcs && \ | |
12909 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12910 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12911 | "RANLIB=$${RANLIB}" \ | |
12912 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12913 | clean) \ | |
12914 | || exit 1 | |
12915 | ||
12916 | ||
12917 | .PHONY: maybe-clean-readline clean-readline | |
12918 | maybe-clean-readline: | |
12919 | ||
12920 | clean-readline: | |
12921 | @[ -f ./readline/Makefile ] || exit 0; \ | |
12922 | r=`${PWD}`; export r; \ | |
12923 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12924 | $(SET_LIB_PATH) \ | |
12925 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12926 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12927 | done; \ | |
12928 | echo "Doing clean in readline" ; \ | |
12929 | (cd readline && \ | |
12930 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12931 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12932 | "RANLIB=$${RANLIB}" \ | |
12933 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12934 | clean) \ | |
12935 | || exit 1 | |
12936 | ||
12937 | ||
12938 | .PHONY: maybe-clean-release clean-release | |
12939 | maybe-clean-release: | |
12940 | ||
12941 | clean-release: | |
12942 | @[ -f ./release/Makefile ] || exit 0; \ | |
12943 | r=`${PWD}`; export r; \ | |
12944 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12945 | $(SET_LIB_PATH) \ | |
12946 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12947 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12948 | done; \ | |
12949 | echo "Doing clean in release" ; \ | |
12950 | (cd release && \ | |
12951 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12952 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12953 | "RANLIB=$${RANLIB}" \ | |
12954 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12955 | clean) \ | |
12956 | || exit 1 | |
12957 | ||
12958 | ||
12959 | .PHONY: maybe-clean-recode clean-recode | |
12960 | maybe-clean-recode: | |
12961 | ||
12962 | clean-recode: | |
12963 | @[ -f ./recode/Makefile ] || exit 0; \ | |
12964 | r=`${PWD}`; export r; \ | |
12965 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12966 | $(SET_LIB_PATH) \ | |
12967 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12968 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12969 | done; \ | |
12970 | echo "Doing clean in recode" ; \ | |
12971 | (cd recode && \ | |
12972 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12973 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12974 | "RANLIB=$${RANLIB}" \ | |
12975 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12976 | clean) \ | |
12977 | || exit 1 | |
12978 | ||
12979 | ||
12980 | .PHONY: maybe-clean-sed clean-sed | |
12981 | maybe-clean-sed: | |
12982 | ||
12983 | clean-sed: | |
12984 | @[ -f ./sed/Makefile ] || exit 0; \ | |
12985 | r=`${PWD}`; export r; \ | |
12986 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
12987 | $(SET_LIB_PATH) \ | |
12988 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
12989 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
12990 | done; \ | |
12991 | echo "Doing clean in sed" ; \ | |
12992 | (cd sed && \ | |
12993 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
12994 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
12995 | "RANLIB=$${RANLIB}" \ | |
12996 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
12997 | clean) \ | |
12998 | || exit 1 | |
12999 | ||
13000 | ||
13001 | .PHONY: maybe-clean-send-pr clean-send-pr | |
13002 | maybe-clean-send-pr: | |
13003 | ||
13004 | clean-send-pr: | |
13005 | @[ -f ./send-pr/Makefile ] || exit 0; \ | |
13006 | r=`${PWD}`; export r; \ | |
13007 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13008 | $(SET_LIB_PATH) \ | |
13009 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13010 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13011 | done; \ | |
13012 | echo "Doing clean in send-pr" ; \ | |
13013 | (cd send-pr && \ | |
13014 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13015 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13016 | "RANLIB=$${RANLIB}" \ | |
13017 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13018 | clean) \ | |
13019 | || exit 1 | |
13020 | ||
13021 | ||
13022 | .PHONY: maybe-clean-shellutils clean-shellutils | |
13023 | maybe-clean-shellutils: | |
13024 | ||
13025 | clean-shellutils: | |
13026 | @[ -f ./shellutils/Makefile ] || exit 0; \ | |
13027 | r=`${PWD}`; export r; \ | |
13028 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13029 | $(SET_LIB_PATH) \ | |
13030 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13031 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13032 | done; \ | |
13033 | echo "Doing clean in shellutils" ; \ | |
13034 | (cd shellutils && \ | |
13035 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13036 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13037 | "RANLIB=$${RANLIB}" \ | |
13038 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13039 | clean) \ | |
13040 | || exit 1 | |
13041 | ||
13042 | ||
13043 | .PHONY: maybe-clean-sid clean-sid | |
13044 | maybe-clean-sid: | |
13045 | ||
13046 | clean-sid: | |
13047 | @[ -f ./sid/Makefile ] || exit 0; \ | |
13048 | r=`${PWD}`; export r; \ | |
13049 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13050 | $(SET_LIB_PATH) \ | |
13051 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13052 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13053 | done; \ | |
13054 | echo "Doing clean in sid" ; \ | |
13055 | (cd sid && \ | |
13056 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13057 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13058 | "RANLIB=$${RANLIB}" \ | |
13059 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13060 | clean) \ | |
13061 | || exit 1 | |
13062 | ||
13063 | ||
13064 | .PHONY: maybe-clean-sim clean-sim | |
13065 | maybe-clean-sim: | |
13066 | ||
13067 | clean-sim: | |
13068 | @[ -f ./sim/Makefile ] || exit 0; \ | |
13069 | r=`${PWD}`; export r; \ | |
13070 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13071 | $(SET_LIB_PATH) \ | |
13072 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13073 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13074 | done; \ | |
13075 | echo "Doing clean in sim" ; \ | |
13076 | (cd sim && \ | |
13077 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13078 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13079 | "RANLIB=$${RANLIB}" \ | |
13080 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13081 | clean) \ | |
13082 | || exit 1 | |
13083 | ||
13084 | ||
13085 | .PHONY: maybe-clean-tar clean-tar | |
13086 | maybe-clean-tar: | |
13087 | ||
13088 | clean-tar: | |
13089 | @[ -f ./tar/Makefile ] || exit 0; \ | |
13090 | r=`${PWD}`; export r; \ | |
13091 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13092 | $(SET_LIB_PATH) \ | |
13093 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13094 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13095 | done; \ | |
13096 | echo "Doing clean in tar" ; \ | |
13097 | (cd tar && \ | |
13098 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13099 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13100 | "RANLIB=$${RANLIB}" \ | |
13101 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13102 | clean) \ | |
13103 | || exit 1 | |
13104 | ||
13105 | ||
13106 | .PHONY: maybe-clean-texinfo clean-texinfo | |
13107 | maybe-clean-texinfo: | |
13108 | ||
13109 | clean-texinfo: | |
13110 | @[ -f ./texinfo/Makefile ] || exit 0; \ | |
13111 | r=`${PWD}`; export r; \ | |
13112 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13113 | $(SET_LIB_PATH) \ | |
13114 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13115 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13116 | done; \ | |
13117 | echo "Doing clean in texinfo" ; \ | |
13118 | (cd texinfo && \ | |
13119 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13120 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13121 | "RANLIB=$${RANLIB}" \ | |
13122 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13123 | clean) \ | |
13124 | || exit 1 | |
13125 | ||
13126 | ||
13127 | .PHONY: maybe-clean-textutils clean-textutils | |
13128 | maybe-clean-textutils: | |
13129 | ||
13130 | clean-textutils: | |
13131 | @[ -f ./textutils/Makefile ] || exit 0; \ | |
13132 | r=`${PWD}`; export r; \ | |
13133 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13134 | $(SET_LIB_PATH) \ | |
13135 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13136 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13137 | done; \ | |
13138 | echo "Doing clean in textutils" ; \ | |
13139 | (cd textutils && \ | |
13140 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13141 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13142 | "RANLIB=$${RANLIB}" \ | |
13143 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13144 | clean) \ | |
13145 | || exit 1 | |
13146 | ||
13147 | ||
13148 | .PHONY: maybe-clean-time clean-time | |
13149 | maybe-clean-time: | |
13150 | ||
13151 | clean-time: | |
13152 | @[ -f ./time/Makefile ] || exit 0; \ | |
13153 | r=`${PWD}`; export r; \ | |
13154 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13155 | $(SET_LIB_PATH) \ | |
13156 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13157 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13158 | done; \ | |
13159 | echo "Doing clean in time" ; \ | |
13160 | (cd time && \ | |
13161 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13162 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13163 | "RANLIB=$${RANLIB}" \ | |
13164 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13165 | clean) \ | |
13166 | || exit 1 | |
13167 | ||
13168 | ||
13169 | .PHONY: maybe-clean-uudecode clean-uudecode | |
13170 | maybe-clean-uudecode: | |
13171 | ||
13172 | clean-uudecode: | |
13173 | @[ -f ./uudecode/Makefile ] || exit 0; \ | |
13174 | r=`${PWD}`; export r; \ | |
13175 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13176 | $(SET_LIB_PATH) \ | |
13177 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13178 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13179 | done; \ | |
13180 | echo "Doing clean in uudecode" ; \ | |
13181 | (cd uudecode && \ | |
13182 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13183 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13184 | "RANLIB=$${RANLIB}" \ | |
13185 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13186 | clean) \ | |
13187 | || exit 1 | |
13188 | ||
13189 | ||
13190 | .PHONY: maybe-clean-wdiff clean-wdiff | |
13191 | maybe-clean-wdiff: | |
13192 | ||
13193 | clean-wdiff: | |
13194 | @[ -f ./wdiff/Makefile ] || exit 0; \ | |
13195 | r=`${PWD}`; export r; \ | |
13196 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13197 | $(SET_LIB_PATH) \ | |
13198 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13199 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13200 | done; \ | |
13201 | echo "Doing clean in wdiff" ; \ | |
13202 | (cd wdiff && \ | |
13203 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13204 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13205 | "RANLIB=$${RANLIB}" \ | |
13206 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13207 | clean) \ | |
13208 | || exit 1 | |
13209 | ||
13210 | ||
13211 | .PHONY: maybe-clean-zip clean-zip | |
13212 | maybe-clean-zip: | |
13213 | ||
13214 | clean-zip: | |
13215 | @[ -f ./zip/Makefile ] || exit 0; \ | |
13216 | r=`${PWD}`; export r; \ | |
13217 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13218 | $(SET_LIB_PATH) \ | |
13219 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13220 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13221 | done; \ | |
13222 | echo "Doing clean in zip" ; \ | |
13223 | (cd zip && \ | |
13224 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13225 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13226 | "RANLIB=$${RANLIB}" \ | |
13227 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13228 | clean) \ | |
13229 | || exit 1 | |
13230 | ||
13231 | ||
13232 | .PHONY: maybe-clean-zlib clean-zlib | |
13233 | maybe-clean-zlib: | |
13234 | ||
13235 | clean-zlib: | |
13236 | @[ -f ./zlib/Makefile ] || exit 0; \ | |
13237 | r=`${PWD}`; export r; \ | |
13238 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13239 | $(SET_LIB_PATH) \ | |
13240 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13241 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13242 | done; \ | |
13243 | echo "Doing clean in zlib" ; \ | |
13244 | (cd zlib && \ | |
13245 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13246 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13247 | "RANLIB=$${RANLIB}" \ | |
13248 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13249 | clean) \ | |
13250 | || exit 1 | |
13251 | ||
13252 | ||
13253 | .PHONY: maybe-clean-gdb clean-gdb | |
13254 | maybe-clean-gdb: | |
13255 | ||
13256 | clean-gdb: | |
13257 | @[ -f ./gdb/Makefile ] || exit 0; \ | |
13258 | r=`${PWD}`; export r; \ | |
13259 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13260 | $(SET_LIB_PATH) \ | |
13261 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13262 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13263 | done; \ | |
13264 | echo "Doing clean in gdb" ; \ | |
13265 | (cd gdb && \ | |
13266 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13267 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13268 | "RANLIB=$${RANLIB}" \ | |
13269 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13270 | clean) \ | |
13271 | || exit 1 | |
13272 | ||
13273 | ||
13274 | .PHONY: maybe-clean-expect clean-expect | |
13275 | maybe-clean-expect: | |
13276 | ||
13277 | clean-expect: | |
13278 | @[ -f ./expect/Makefile ] || exit 0; \ | |
13279 | r=`${PWD}`; export r; \ | |
13280 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13281 | $(SET_LIB_PATH) \ | |
13282 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13283 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13284 | done; \ | |
13285 | echo "Doing clean in expect" ; \ | |
13286 | (cd expect && \ | |
13287 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13288 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13289 | "RANLIB=$${RANLIB}" \ | |
13290 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13291 | clean) \ | |
13292 | || exit 1 | |
13293 | ||
13294 | ||
13295 | .PHONY: maybe-clean-guile clean-guile | |
13296 | maybe-clean-guile: | |
13297 | ||
13298 | clean-guile: | |
13299 | @[ -f ./guile/Makefile ] || exit 0; \ | |
13300 | r=`${PWD}`; export r; \ | |
13301 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13302 | $(SET_LIB_PATH) \ | |
13303 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13304 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13305 | done; \ | |
13306 | echo "Doing clean in guile" ; \ | |
13307 | (cd guile && \ | |
13308 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13309 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13310 | "RANLIB=$${RANLIB}" \ | |
13311 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13312 | clean) \ | |
13313 | || exit 1 | |
13314 | ||
13315 | ||
13316 | .PHONY: maybe-clean-tk clean-tk | |
13317 | maybe-clean-tk: | |
13318 | ||
13319 | clean-tk: | |
13320 | @[ -f ./tk/Makefile ] || exit 0; \ | |
13321 | r=`${PWD}`; export r; \ | |
13322 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13323 | $(SET_LIB_PATH) \ | |
13324 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13325 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13326 | done; \ | |
13327 | echo "Doing clean in tk" ; \ | |
13328 | (cd tk && \ | |
13329 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13330 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13331 | "RANLIB=$${RANLIB}" \ | |
13332 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13333 | clean) \ | |
13334 | || exit 1 | |
13335 | ||
13336 | ||
13337 | .PHONY: maybe-clean-tix clean-tix | |
13338 | maybe-clean-tix: | |
13339 | ||
13340 | clean-tix: | |
13341 | @[ -f ./tix/Makefile ] || exit 0; \ | |
13342 | r=`${PWD}`; export r; \ | |
13343 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13344 | $(SET_LIB_PATH) \ | |
13345 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13346 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13347 | done; \ | |
13348 | echo "Doing clean in tix" ; \ | |
13349 | (cd tix && \ | |
13350 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13351 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13352 | "RANLIB=$${RANLIB}" \ | |
13353 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13354 | clean) \ | |
13355 | || exit 1 | |
13356 | ||
13357 | ||
13358 | .PHONY: maybe-clean-libtermcap clean-libtermcap | |
13359 | maybe-clean-libtermcap: | |
13360 | ||
13361 | # libtermcap doesn't support clean. | |
13362 | clean-libtermcap: | |
13363 | ||
13364 | ||
13365 | .PHONY: maybe-clean-utils clean-utils | |
13366 | maybe-clean-utils: | |
13367 | ||
13368 | clean-utils: | |
13369 | @[ -f ./utils/Makefile ] || exit 0; \ | |
13370 | r=`${PWD}`; export r; \ | |
13371 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13372 | $(SET_LIB_PATH) \ | |
13373 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13374 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13375 | done; \ | |
13376 | echo "Doing clean in utils" ; \ | |
13377 | (cd utils && \ | |
13378 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13379 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13380 | "RANLIB=$${RANLIB}" \ | |
13381 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13382 | clean) \ | |
13383 | || exit 1 | |
13384 | ||
13385 | ||
13386 | ||
13387 | # Target modules. | |
13388 | ||
13389 | .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3 | |
13390 | maybe-clean-target-libstdc++-v3: | |
13391 | ||
13392 | clean-target-libstdc++-v3: | |
13393 | @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ | |
13394 | r=`${PWD}`; export r; \ | |
13395 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13396 | $(SET_LIB_PATH) \ | |
13397 | echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \ | |
13398 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13399 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13400 | done; \ | |
13401 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
13402 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13403 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13404 | "RANLIB=$${RANLIB}" \ | |
13405 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13406 | clean) \ | |
13407 | || exit 1 | |
13408 | ||
13409 | ||
13410 | .PHONY: maybe-clean-target-newlib clean-target-newlib | |
13411 | maybe-clean-target-newlib: | |
13412 | ||
13413 | clean-target-newlib: | |
13414 | @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ | |
13415 | r=`${PWD}`; export r; \ | |
13416 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13417 | $(SET_LIB_PATH) \ | |
13418 | echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \ | |
13419 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13420 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13421 | done; \ | |
13422 | (cd $(TARGET_SUBDIR)/newlib && \ | |
13423 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13424 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13425 | "RANLIB=$${RANLIB}" \ | |
13426 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13427 | clean) \ | |
13428 | || exit 1 | |
13429 | ||
13430 | ||
13431 | .PHONY: maybe-clean-target-libf2c clean-target-libf2c | |
13432 | maybe-clean-target-libf2c: | |
13433 | ||
13434 | clean-target-libf2c: | |
13435 | @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \ | |
13436 | r=`${PWD}`; export r; \ | |
13437 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13438 | $(SET_LIB_PATH) \ | |
13439 | echo "Doing clean in $(TARGET_SUBDIR)/libf2c" ; \ | |
13440 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13441 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13442 | done; \ | |
13443 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
13444 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13445 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13446 | "RANLIB=$${RANLIB}" \ | |
13447 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13448 | clean) \ | |
13449 | || exit 1 | |
13450 | ||
13451 | ||
13452 | .PHONY: maybe-clean-target-libobjc clean-target-libobjc | |
13453 | maybe-clean-target-libobjc: | |
13454 | ||
13455 | clean-target-libobjc: | |
13456 | @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ | |
13457 | r=`${PWD}`; export r; \ | |
13458 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13459 | $(SET_LIB_PATH) \ | |
13460 | echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \ | |
13461 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13462 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13463 | done; \ | |
13464 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
13465 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13466 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13467 | "RANLIB=$${RANLIB}" \ | |
13468 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13469 | clean) \ | |
13470 | || exit 1 | |
13471 | ||
13472 | ||
13473 | .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap | |
13474 | maybe-clean-target-libtermcap: | |
13475 | ||
13476 | # libtermcap doesn't support clean. | |
123494c8 | 13477 | clean-target-libtermcap: |
2a4cbe27 NN |
13478 | |
13479 | ||
13480 | .PHONY: maybe-clean-target-winsup clean-target-winsup | |
13481 | maybe-clean-target-winsup: | |
13482 | ||
13483 | clean-target-winsup: | |
13484 | @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ | |
13485 | r=`${PWD}`; export r; \ | |
13486 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13487 | $(SET_LIB_PATH) \ | |
13488 | echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \ | |
13489 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13490 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13491 | done; \ | |
13492 | (cd $(TARGET_SUBDIR)/winsup && \ | |
13493 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13494 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13495 | "RANLIB=$${RANLIB}" \ | |
13496 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13497 | clean) \ | |
13498 | || exit 1 | |
13499 | ||
13500 | ||
13501 | .PHONY: maybe-clean-target-libgloss clean-target-libgloss | |
13502 | maybe-clean-target-libgloss: | |
13503 | ||
13504 | clean-target-libgloss: | |
13505 | @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ | |
13506 | r=`${PWD}`; export r; \ | |
13507 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13508 | $(SET_LIB_PATH) \ | |
13509 | echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \ | |
13510 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13511 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13512 | done; \ | |
13513 | (cd $(TARGET_SUBDIR)/libgloss && \ | |
13514 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13515 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13516 | "RANLIB=$${RANLIB}" \ | |
13517 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13518 | clean) \ | |
13519 | || exit 1 | |
13520 | ||
13521 | ||
13522 | .PHONY: maybe-clean-target-libiberty clean-target-libiberty | |
13523 | maybe-clean-target-libiberty: | |
13524 | ||
13525 | clean-target-libiberty: | |
13526 | @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ | |
13527 | r=`${PWD}`; export r; \ | |
13528 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13529 | $(SET_LIB_PATH) \ | |
13530 | echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \ | |
13531 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13532 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13533 | done; \ | |
13534 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
13535 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13536 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13537 | "RANLIB=$${RANLIB}" \ | |
13538 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13539 | clean) \ | |
13540 | || exit 1 | |
13541 | ||
13542 | ||
13543 | .PHONY: maybe-clean-target-gperf clean-target-gperf | |
13544 | maybe-clean-target-gperf: | |
13545 | ||
13546 | clean-target-gperf: | |
13547 | @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ | |
13548 | r=`${PWD}`; export r; \ | |
13549 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13550 | $(SET_LIB_PATH) \ | |
13551 | echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \ | |
13552 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13553 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13554 | done; \ | |
13555 | (cd $(TARGET_SUBDIR)/gperf && \ | |
13556 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13557 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13558 | "RANLIB=$${RANLIB}" \ | |
13559 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13560 | clean) \ | |
13561 | || exit 1 | |
13562 | ||
13563 | ||
13564 | .PHONY: maybe-clean-target-examples clean-target-examples | |
13565 | maybe-clean-target-examples: | |
13566 | ||
13567 | clean-target-examples: | |
13568 | @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ | |
13569 | r=`${PWD}`; export r; \ | |
13570 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13571 | $(SET_LIB_PATH) \ | |
13572 | echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \ | |
13573 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13574 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13575 | done; \ | |
13576 | (cd $(TARGET_SUBDIR)/examples && \ | |
13577 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13578 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13579 | "RANLIB=$${RANLIB}" \ | |
13580 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13581 | clean) \ | |
13582 | || exit 1 | |
13583 | ||
13584 | ||
13585 | .PHONY: maybe-clean-target-libffi clean-target-libffi | |
13586 | maybe-clean-target-libffi: | |
13587 | ||
13588 | clean-target-libffi: | |
13589 | @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ | |
13590 | r=`${PWD}`; export r; \ | |
13591 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13592 | $(SET_LIB_PATH) \ | |
13593 | echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \ | |
13594 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13595 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13596 | done; \ | |
13597 | (cd $(TARGET_SUBDIR)/libffi && \ | |
13598 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13599 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13600 | "RANLIB=$${RANLIB}" \ | |
13601 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13602 | clean) \ | |
13603 | || exit 1 | |
13604 | ||
13605 | ||
13606 | .PHONY: maybe-clean-target-libjava clean-target-libjava | |
13607 | maybe-clean-target-libjava: | |
13608 | ||
13609 | clean-target-libjava: | |
13610 | @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ | |
13611 | r=`${PWD}`; export r; \ | |
13612 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13613 | $(SET_LIB_PATH) \ | |
13614 | echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \ | |
13615 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13616 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13617 | done; \ | |
13618 | (cd $(TARGET_SUBDIR)/libjava && \ | |
13619 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13620 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13621 | "RANLIB=$${RANLIB}" \ | |
13622 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13623 | clean) \ | |
13624 | || exit 1 | |
13625 | ||
13626 | ||
13627 | .PHONY: maybe-clean-target-zlib clean-target-zlib | |
13628 | maybe-clean-target-zlib: | |
13629 | ||
13630 | clean-target-zlib: | |
13631 | @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ | |
13632 | r=`${PWD}`; export r; \ | |
13633 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13634 | $(SET_LIB_PATH) \ | |
13635 | echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \ | |
13636 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13637 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13638 | done; \ | |
13639 | (cd $(TARGET_SUBDIR)/zlib && \ | |
13640 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13641 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13642 | "RANLIB=$${RANLIB}" \ | |
13643 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13644 | clean) \ | |
13645 | || exit 1 | |
13646 | ||
13647 | ||
13648 | .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc | |
13649 | maybe-clean-target-boehm-gc: | |
13650 | ||
13651 | clean-target-boehm-gc: | |
13652 | @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ | |
13653 | r=`${PWD}`; export r; \ | |
13654 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13655 | $(SET_LIB_PATH) \ | |
13656 | echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \ | |
13657 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13658 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13659 | done; \ | |
13660 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
13661 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13662 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13663 | "RANLIB=$${RANLIB}" \ | |
13664 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13665 | clean) \ | |
13666 | || exit 1 | |
13667 | ||
13668 | ||
13669 | .PHONY: maybe-clean-target-qthreads clean-target-qthreads | |
13670 | maybe-clean-target-qthreads: | |
13671 | ||
13672 | clean-target-qthreads: | |
13673 | @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ | |
13674 | r=`${PWD}`; export r; \ | |
13675 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13676 | $(SET_LIB_PATH) \ | |
13677 | echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \ | |
13678 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13679 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13680 | done; \ | |
13681 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
13682 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13683 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13684 | "RANLIB=$${RANLIB}" \ | |
13685 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13686 | clean) \ | |
13687 | || exit 1 | |
13688 | ||
13689 | ||
13690 | .PHONY: maybe-clean-target-rda clean-target-rda | |
13691 | maybe-clean-target-rda: | |
13692 | ||
13693 | clean-target-rda: | |
13694 | @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ | |
13695 | r=`${PWD}`; export r; \ | |
13696 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13697 | $(SET_LIB_PATH) \ | |
13698 | echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \ | |
13699 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
13700 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13701 | done; \ | |
13702 | (cd $(TARGET_SUBDIR)/rda && \ | |
13703 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13704 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13705 | "RANLIB=$${RANLIB}" \ | |
13706 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13707 | clean) \ | |
13708 | || exit 1 | |
13709 | ||
13710 | ||
13711 | ||
13712 | .PHONY: do-distclean | |
13713 | do-distclean: distclean-host distclean-target | |
13714 | ||
13715 | .PHONY: distclean-host | |
13716 | distclean-host: maybe-distclean-gcc \ | |
13717 | maybe-distclean-ash \ | |
13718 | maybe-distclean-autoconf \ | |
13719 | maybe-distclean-automake \ | |
13720 | maybe-distclean-bash \ | |
13721 | maybe-distclean-bfd \ | |
13722 | maybe-distclean-opcodes \ | |
13723 | maybe-distclean-binutils \ | |
13724 | maybe-distclean-bison \ | |
13725 | maybe-distclean-byacc \ | |
13726 | maybe-distclean-bzip2 \ | |
13727 | maybe-distclean-dejagnu \ | |
13728 | maybe-distclean-diff \ | |
13729 | maybe-distclean-dosutils \ | |
13730 | maybe-distclean-etc \ | |
13731 | maybe-distclean-fastjar \ | |
13732 | maybe-distclean-fileutils \ | |
13733 | maybe-distclean-findutils \ | |
13734 | maybe-distclean-find \ | |
13735 | maybe-distclean-flex \ | |
13736 | maybe-distclean-gas \ | |
13737 | maybe-distclean-gawk \ | |
13738 | maybe-distclean-gettext \ | |
13739 | maybe-distclean-gnuserv \ | |
13740 | maybe-distclean-gprof \ | |
13741 | maybe-distclean-gzip \ | |
13742 | maybe-distclean-hello \ | |
13743 | maybe-distclean-indent \ | |
13744 | maybe-distclean-intl \ | |
13745 | maybe-distclean-tcl \ | |
13746 | maybe-distclean-itcl \ | |
13747 | maybe-distclean-ld \ | |
13748 | maybe-distclean-libgui \ | |
13749 | maybe-distclean-libiberty \ | |
13750 | maybe-distclean-libtool \ | |
13751 | maybe-distclean-m4 \ | |
13752 | maybe-distclean-make \ | |
13753 | maybe-distclean-mmalloc \ | |
13754 | maybe-distclean-patch \ | |
13755 | maybe-distclean-perl \ | |
13756 | maybe-distclean-prms \ | |
13757 | maybe-distclean-rcs \ | |
13758 | maybe-distclean-readline \ | |
13759 | maybe-distclean-release \ | |
13760 | maybe-distclean-recode \ | |
13761 | maybe-distclean-sed \ | |
13762 | maybe-distclean-send-pr \ | |
13763 | maybe-distclean-shellutils \ | |
13764 | maybe-distclean-sid \ | |
13765 | maybe-distclean-sim \ | |
13766 | maybe-distclean-tar \ | |
13767 | maybe-distclean-texinfo \ | |
13768 | maybe-distclean-textutils \ | |
13769 | maybe-distclean-time \ | |
13770 | maybe-distclean-uudecode \ | |
13771 | maybe-distclean-wdiff \ | |
13772 | maybe-distclean-zip \ | |
13773 | maybe-distclean-zlib \ | |
13774 | maybe-distclean-gdb \ | |
13775 | maybe-distclean-expect \ | |
13776 | maybe-distclean-guile \ | |
13777 | maybe-distclean-tk \ | |
13778 | maybe-distclean-tix \ | |
13779 | maybe-distclean-libtermcap \ | |
13780 | maybe-distclean-utils | |
13781 | ||
13782 | .PHONY: distclean-target | |
13783 | distclean-target: \ | |
13784 | maybe-distclean-target-libstdc++-v3 \ | |
13785 | maybe-distclean-target-newlib \ | |
13786 | maybe-distclean-target-libf2c \ | |
13787 | maybe-distclean-target-libobjc \ | |
13788 | maybe-distclean-target-libtermcap \ | |
13789 | maybe-distclean-target-winsup \ | |
13790 | maybe-distclean-target-libgloss \ | |
13791 | maybe-distclean-target-libiberty \ | |
13792 | maybe-distclean-target-gperf \ | |
13793 | maybe-distclean-target-examples \ | |
13794 | maybe-distclean-target-libffi \ | |
13795 | maybe-distclean-target-libjava \ | |
13796 | maybe-distclean-target-zlib \ | |
13797 | maybe-distclean-target-boehm-gc \ | |
13798 | maybe-distclean-target-qthreads \ | |
13799 | maybe-distclean-target-rda | |
13800 | ||
13801 | # GCC, the eternal special case | |
13802 | .PHONY: maybe-distclean-gcc distclean-gcc | |
13803 | maybe-distclean-gcc: | |
13804 | distclean-gcc: | |
13805 | @[ -f ./gcc/Makefile ] || exit 0; \ | |
13806 | r=`${PWD}`; export r; \ | |
13807 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13808 | $(SET_LIB_PATH) \ | |
13809 | for flag in $(EXTRA_GCC_FLAGS); do \ | |
13810 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13811 | done; \ | |
13812 | echo "Doing distclean in gcc" ; \ | |
13813 | (cd gcc && \ | |
13814 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13815 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13816 | "RANLIB=$${RANLIB}" \ | |
13817 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13818 | distclean) \ | |
13819 | || exit 1 | |
13820 | ||
13821 | # Host modules. | |
13822 | ||
13823 | .PHONY: maybe-distclean-ash distclean-ash | |
13824 | maybe-distclean-ash: | |
13825 | ||
13826 | distclean-ash: | |
13827 | @[ -f ./ash/Makefile ] || exit 0; \ | |
13828 | r=`${PWD}`; export r; \ | |
13829 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13830 | $(SET_LIB_PATH) \ | |
13831 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13832 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13833 | done; \ | |
13834 | echo "Doing distclean in ash" ; \ | |
13835 | (cd ash && \ | |
13836 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13837 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13838 | "RANLIB=$${RANLIB}" \ | |
13839 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13840 | distclean) \ | |
13841 | || exit 1 | |
13842 | ||
13843 | ||
13844 | .PHONY: maybe-distclean-autoconf distclean-autoconf | |
13845 | maybe-distclean-autoconf: | |
13846 | ||
13847 | distclean-autoconf: | |
13848 | @[ -f ./autoconf/Makefile ] || exit 0; \ | |
13849 | r=`${PWD}`; export r; \ | |
13850 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13851 | $(SET_LIB_PATH) \ | |
13852 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13853 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13854 | done; \ | |
13855 | echo "Doing distclean in autoconf" ; \ | |
13856 | (cd autoconf && \ | |
13857 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13858 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13859 | "RANLIB=$${RANLIB}" \ | |
13860 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13861 | distclean) \ | |
13862 | || exit 1 | |
13863 | ||
13864 | ||
13865 | .PHONY: maybe-distclean-automake distclean-automake | |
13866 | maybe-distclean-automake: | |
13867 | ||
13868 | distclean-automake: | |
13869 | @[ -f ./automake/Makefile ] || exit 0; \ | |
13870 | r=`${PWD}`; export r; \ | |
13871 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13872 | $(SET_LIB_PATH) \ | |
13873 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13874 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13875 | done; \ | |
13876 | echo "Doing distclean in automake" ; \ | |
13877 | (cd automake && \ | |
13878 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13879 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13880 | "RANLIB=$${RANLIB}" \ | |
13881 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13882 | distclean) \ | |
13883 | || exit 1 | |
13884 | ||
13885 | ||
13886 | .PHONY: maybe-distclean-bash distclean-bash | |
13887 | maybe-distclean-bash: | |
13888 | ||
13889 | distclean-bash: | |
13890 | @[ -f ./bash/Makefile ] || exit 0; \ | |
13891 | r=`${PWD}`; export r; \ | |
13892 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13893 | $(SET_LIB_PATH) \ | |
13894 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13895 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13896 | done; \ | |
13897 | echo "Doing distclean in bash" ; \ | |
13898 | (cd bash && \ | |
13899 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13900 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13901 | "RANLIB=$${RANLIB}" \ | |
13902 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13903 | distclean) \ | |
13904 | || exit 1 | |
13905 | ||
13906 | ||
13907 | .PHONY: maybe-distclean-bfd distclean-bfd | |
13908 | maybe-distclean-bfd: | |
13909 | ||
13910 | distclean-bfd: | |
13911 | @[ -f ./bfd/Makefile ] || exit 0; \ | |
13912 | r=`${PWD}`; export r; \ | |
13913 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13914 | $(SET_LIB_PATH) \ | |
13915 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13916 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13917 | done; \ | |
13918 | echo "Doing distclean in bfd" ; \ | |
13919 | (cd bfd && \ | |
13920 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13921 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13922 | "RANLIB=$${RANLIB}" \ | |
13923 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13924 | distclean) \ | |
13925 | || exit 1 | |
13926 | ||
13927 | ||
13928 | .PHONY: maybe-distclean-opcodes distclean-opcodes | |
13929 | maybe-distclean-opcodes: | |
13930 | ||
13931 | distclean-opcodes: | |
13932 | @[ -f ./opcodes/Makefile ] || exit 0; \ | |
13933 | r=`${PWD}`; export r; \ | |
13934 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13935 | $(SET_LIB_PATH) \ | |
13936 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13937 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13938 | done; \ | |
13939 | echo "Doing distclean in opcodes" ; \ | |
13940 | (cd opcodes && \ | |
13941 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13942 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13943 | "RANLIB=$${RANLIB}" \ | |
13944 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13945 | distclean) \ | |
13946 | || exit 1 | |
13947 | ||
13948 | ||
13949 | .PHONY: maybe-distclean-binutils distclean-binutils | |
13950 | maybe-distclean-binutils: | |
13951 | ||
13952 | distclean-binutils: | |
13953 | @[ -f ./binutils/Makefile ] || exit 0; \ | |
13954 | r=`${PWD}`; export r; \ | |
13955 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13956 | $(SET_LIB_PATH) \ | |
13957 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13958 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13959 | done; \ | |
13960 | echo "Doing distclean in binutils" ; \ | |
13961 | (cd binutils && \ | |
13962 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13963 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13964 | "RANLIB=$${RANLIB}" \ | |
13965 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13966 | distclean) \ | |
13967 | || exit 1 | |
13968 | ||
13969 | ||
13970 | .PHONY: maybe-distclean-bison distclean-bison | |
13971 | maybe-distclean-bison: | |
13972 | ||
13973 | distclean-bison: | |
13974 | @[ -f ./bison/Makefile ] || exit 0; \ | |
13975 | r=`${PWD}`; export r; \ | |
13976 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13977 | $(SET_LIB_PATH) \ | |
13978 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
13979 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
13980 | done; \ | |
13981 | echo "Doing distclean in bison" ; \ | |
13982 | (cd bison && \ | |
13983 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
13984 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
13985 | "RANLIB=$${RANLIB}" \ | |
13986 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
13987 | distclean) \ | |
13988 | || exit 1 | |
13989 | ||
13990 | ||
13991 | .PHONY: maybe-distclean-byacc distclean-byacc | |
13992 | maybe-distclean-byacc: | |
13993 | ||
13994 | distclean-byacc: | |
13995 | @[ -f ./byacc/Makefile ] || exit 0; \ | |
13996 | r=`${PWD}`; export r; \ | |
13997 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
13998 | $(SET_LIB_PATH) \ | |
13999 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14000 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14001 | done; \ | |
14002 | echo "Doing distclean in byacc" ; \ | |
14003 | (cd byacc && \ | |
14004 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14005 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14006 | "RANLIB=$${RANLIB}" \ | |
14007 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14008 | distclean) \ | |
14009 | || exit 1 | |
14010 | ||
14011 | ||
14012 | .PHONY: maybe-distclean-bzip2 distclean-bzip2 | |
14013 | maybe-distclean-bzip2: | |
14014 | ||
14015 | distclean-bzip2: | |
14016 | @[ -f ./bzip2/Makefile ] || exit 0; \ | |
14017 | r=`${PWD}`; export r; \ | |
14018 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14019 | $(SET_LIB_PATH) \ | |
14020 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14021 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14022 | done; \ | |
14023 | echo "Doing distclean in bzip2" ; \ | |
14024 | (cd bzip2 && \ | |
14025 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14026 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14027 | "RANLIB=$${RANLIB}" \ | |
14028 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14029 | distclean) \ | |
14030 | || exit 1 | |
14031 | ||
14032 | ||
14033 | .PHONY: maybe-distclean-dejagnu distclean-dejagnu | |
14034 | maybe-distclean-dejagnu: | |
14035 | ||
14036 | distclean-dejagnu: | |
14037 | @[ -f ./dejagnu/Makefile ] || exit 0; \ | |
14038 | r=`${PWD}`; export r; \ | |
14039 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14040 | $(SET_LIB_PATH) \ | |
14041 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14042 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14043 | done; \ | |
14044 | echo "Doing distclean in dejagnu" ; \ | |
14045 | (cd dejagnu && \ | |
14046 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14047 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14048 | "RANLIB=$${RANLIB}" \ | |
14049 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14050 | distclean) \ | |
14051 | || exit 1 | |
14052 | ||
14053 | ||
14054 | .PHONY: maybe-distclean-diff distclean-diff | |
14055 | maybe-distclean-diff: | |
14056 | ||
14057 | distclean-diff: | |
14058 | @[ -f ./diff/Makefile ] || exit 0; \ | |
14059 | r=`${PWD}`; export r; \ | |
14060 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14061 | $(SET_LIB_PATH) \ | |
14062 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14063 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14064 | done; \ | |
14065 | echo "Doing distclean in diff" ; \ | |
14066 | (cd diff && \ | |
14067 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14068 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14069 | "RANLIB=$${RANLIB}" \ | |
14070 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14071 | distclean) \ | |
14072 | || exit 1 | |
14073 | ||
14074 | ||
14075 | .PHONY: maybe-distclean-dosutils distclean-dosutils | |
14076 | maybe-distclean-dosutils: | |
14077 | ||
14078 | distclean-dosutils: | |
14079 | @[ -f ./dosutils/Makefile ] || exit 0; \ | |
14080 | r=`${PWD}`; export r; \ | |
14081 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14082 | $(SET_LIB_PATH) \ | |
14083 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14084 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14085 | done; \ | |
14086 | echo "Doing distclean in dosutils" ; \ | |
14087 | (cd dosutils && \ | |
14088 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14089 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14090 | "RANLIB=$${RANLIB}" \ | |
14091 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14092 | distclean) \ | |
14093 | || exit 1 | |
14094 | ||
14095 | ||
14096 | .PHONY: maybe-distclean-etc distclean-etc | |
14097 | maybe-distclean-etc: | |
14098 | ||
14099 | distclean-etc: | |
14100 | @[ -f ./etc/Makefile ] || exit 0; \ | |
14101 | r=`${PWD}`; export r; \ | |
14102 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14103 | $(SET_LIB_PATH) \ | |
14104 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14105 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14106 | done; \ | |
14107 | echo "Doing distclean in etc" ; \ | |
14108 | (cd etc && \ | |
14109 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14110 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14111 | "RANLIB=$${RANLIB}" \ | |
14112 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14113 | distclean) \ | |
14114 | || exit 1 | |
14115 | ||
14116 | ||
14117 | .PHONY: maybe-distclean-fastjar distclean-fastjar | |
14118 | maybe-distclean-fastjar: | |
14119 | ||
14120 | distclean-fastjar: | |
14121 | @[ -f ./fastjar/Makefile ] || exit 0; \ | |
14122 | r=`${PWD}`; export r; \ | |
14123 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14124 | $(SET_LIB_PATH) \ | |
14125 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14126 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14127 | done; \ | |
14128 | echo "Doing distclean in fastjar" ; \ | |
14129 | (cd fastjar && \ | |
14130 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14131 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14132 | "RANLIB=$${RANLIB}" \ | |
14133 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14134 | distclean) \ | |
14135 | || exit 1 | |
14136 | ||
14137 | ||
14138 | .PHONY: maybe-distclean-fileutils distclean-fileutils | |
14139 | maybe-distclean-fileutils: | |
14140 | ||
14141 | distclean-fileutils: | |
14142 | @[ -f ./fileutils/Makefile ] || exit 0; \ | |
14143 | r=`${PWD}`; export r; \ | |
14144 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14145 | $(SET_LIB_PATH) \ | |
14146 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14147 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14148 | done; \ | |
14149 | echo "Doing distclean in fileutils" ; \ | |
14150 | (cd fileutils && \ | |
14151 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14152 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14153 | "RANLIB=$${RANLIB}" \ | |
14154 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14155 | distclean) \ | |
14156 | || exit 1 | |
14157 | ||
14158 | ||
14159 | .PHONY: maybe-distclean-findutils distclean-findutils | |
14160 | maybe-distclean-findutils: | |
14161 | ||
14162 | distclean-findutils: | |
14163 | @[ -f ./findutils/Makefile ] || exit 0; \ | |
14164 | r=`${PWD}`; export r; \ | |
14165 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14166 | $(SET_LIB_PATH) \ | |
14167 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14168 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14169 | done; \ | |
14170 | echo "Doing distclean in findutils" ; \ | |
14171 | (cd findutils && \ | |
14172 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14173 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14174 | "RANLIB=$${RANLIB}" \ | |
14175 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14176 | distclean) \ | |
14177 | || exit 1 | |
14178 | ||
14179 | ||
14180 | .PHONY: maybe-distclean-find distclean-find | |
14181 | maybe-distclean-find: | |
14182 | ||
14183 | distclean-find: | |
14184 | @[ -f ./find/Makefile ] || exit 0; \ | |
14185 | r=`${PWD}`; export r; \ | |
14186 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14187 | $(SET_LIB_PATH) \ | |
14188 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14189 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14190 | done; \ | |
14191 | echo "Doing distclean in find" ; \ | |
14192 | (cd find && \ | |
14193 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14194 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14195 | "RANLIB=$${RANLIB}" \ | |
14196 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14197 | distclean) \ | |
14198 | || exit 1 | |
14199 | ||
14200 | ||
14201 | .PHONY: maybe-distclean-flex distclean-flex | |
14202 | maybe-distclean-flex: | |
14203 | ||
14204 | distclean-flex: | |
14205 | @[ -f ./flex/Makefile ] || exit 0; \ | |
14206 | r=`${PWD}`; export r; \ | |
14207 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14208 | $(SET_LIB_PATH) \ | |
14209 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14210 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14211 | done; \ | |
14212 | echo "Doing distclean in flex" ; \ | |
14213 | (cd flex && \ | |
14214 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14215 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14216 | "RANLIB=$${RANLIB}" \ | |
14217 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14218 | distclean) \ | |
14219 | || exit 1 | |
14220 | ||
14221 | ||
14222 | .PHONY: maybe-distclean-gas distclean-gas | |
14223 | maybe-distclean-gas: | |
14224 | ||
14225 | distclean-gas: | |
14226 | @[ -f ./gas/Makefile ] || exit 0; \ | |
14227 | r=`${PWD}`; export r; \ | |
14228 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14229 | $(SET_LIB_PATH) \ | |
14230 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14231 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14232 | done; \ | |
14233 | echo "Doing distclean in gas" ; \ | |
14234 | (cd gas && \ | |
14235 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14236 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14237 | "RANLIB=$${RANLIB}" \ | |
14238 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14239 | distclean) \ | |
14240 | || exit 1 | |
14241 | ||
14242 | ||
14243 | .PHONY: maybe-distclean-gawk distclean-gawk | |
14244 | maybe-distclean-gawk: | |
14245 | ||
14246 | distclean-gawk: | |
14247 | @[ -f ./gawk/Makefile ] || exit 0; \ | |
14248 | r=`${PWD}`; export r; \ | |
14249 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14250 | $(SET_LIB_PATH) \ | |
14251 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14252 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14253 | done; \ | |
14254 | echo "Doing distclean in gawk" ; \ | |
14255 | (cd gawk && \ | |
14256 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14257 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14258 | "RANLIB=$${RANLIB}" \ | |
14259 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14260 | distclean) \ | |
14261 | || exit 1 | |
14262 | ||
14263 | ||
14264 | .PHONY: maybe-distclean-gettext distclean-gettext | |
14265 | maybe-distclean-gettext: | |
14266 | ||
14267 | distclean-gettext: | |
14268 | @[ -f ./gettext/Makefile ] || exit 0; \ | |
14269 | r=`${PWD}`; export r; \ | |
14270 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14271 | $(SET_LIB_PATH) \ | |
14272 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14273 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14274 | done; \ | |
14275 | echo "Doing distclean in gettext" ; \ | |
14276 | (cd gettext && \ | |
14277 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14278 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14279 | "RANLIB=$${RANLIB}" \ | |
14280 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14281 | distclean) \ | |
14282 | || exit 1 | |
14283 | ||
14284 | ||
14285 | .PHONY: maybe-distclean-gnuserv distclean-gnuserv | |
14286 | maybe-distclean-gnuserv: | |
14287 | ||
14288 | distclean-gnuserv: | |
14289 | @[ -f ./gnuserv/Makefile ] || exit 0; \ | |
14290 | r=`${PWD}`; export r; \ | |
14291 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14292 | $(SET_LIB_PATH) \ | |
14293 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14294 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14295 | done; \ | |
14296 | echo "Doing distclean in gnuserv" ; \ | |
14297 | (cd gnuserv && \ | |
14298 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14299 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14300 | "RANLIB=$${RANLIB}" \ | |
14301 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14302 | distclean) \ | |
14303 | || exit 1 | |
14304 | ||
14305 | ||
14306 | .PHONY: maybe-distclean-gprof distclean-gprof | |
14307 | maybe-distclean-gprof: | |
14308 | ||
14309 | distclean-gprof: | |
14310 | @[ -f ./gprof/Makefile ] || exit 0; \ | |
14311 | r=`${PWD}`; export r; \ | |
14312 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14313 | $(SET_LIB_PATH) \ | |
14314 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14315 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14316 | done; \ | |
14317 | echo "Doing distclean in gprof" ; \ | |
14318 | (cd gprof && \ | |
14319 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14320 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14321 | "RANLIB=$${RANLIB}" \ | |
14322 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14323 | distclean) \ | |
14324 | || exit 1 | |
14325 | ||
14326 | ||
14327 | .PHONY: maybe-distclean-gzip distclean-gzip | |
14328 | maybe-distclean-gzip: | |
14329 | ||
14330 | distclean-gzip: | |
14331 | @[ -f ./gzip/Makefile ] || exit 0; \ | |
14332 | r=`${PWD}`; export r; \ | |
14333 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14334 | $(SET_LIB_PATH) \ | |
14335 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14336 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14337 | done; \ | |
14338 | echo "Doing distclean in gzip" ; \ | |
14339 | (cd gzip && \ | |
14340 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14341 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14342 | "RANLIB=$${RANLIB}" \ | |
14343 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14344 | distclean) \ | |
14345 | || exit 1 | |
14346 | ||
14347 | ||
14348 | .PHONY: maybe-distclean-hello distclean-hello | |
14349 | maybe-distclean-hello: | |
14350 | ||
14351 | distclean-hello: | |
14352 | @[ -f ./hello/Makefile ] || exit 0; \ | |
14353 | r=`${PWD}`; export r; \ | |
14354 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14355 | $(SET_LIB_PATH) \ | |
14356 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14357 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14358 | done; \ | |
14359 | echo "Doing distclean in hello" ; \ | |
14360 | (cd hello && \ | |
14361 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14362 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14363 | "RANLIB=$${RANLIB}" \ | |
14364 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14365 | distclean) \ | |
14366 | || exit 1 | |
14367 | ||
14368 | ||
14369 | .PHONY: maybe-distclean-indent distclean-indent | |
14370 | maybe-distclean-indent: | |
14371 | ||
14372 | distclean-indent: | |
14373 | @[ -f ./indent/Makefile ] || exit 0; \ | |
14374 | r=`${PWD}`; export r; \ | |
14375 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14376 | $(SET_LIB_PATH) \ | |
14377 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14378 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14379 | done; \ | |
14380 | echo "Doing distclean in indent" ; \ | |
14381 | (cd indent && \ | |
14382 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14383 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14384 | "RANLIB=$${RANLIB}" \ | |
14385 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14386 | distclean) \ | |
14387 | || exit 1 | |
14388 | ||
14389 | ||
14390 | .PHONY: maybe-distclean-intl distclean-intl | |
14391 | maybe-distclean-intl: | |
14392 | ||
14393 | distclean-intl: | |
14394 | @[ -f ./intl/Makefile ] || exit 0; \ | |
14395 | r=`${PWD}`; export r; \ | |
14396 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14397 | $(SET_LIB_PATH) \ | |
14398 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14399 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14400 | done; \ | |
14401 | echo "Doing distclean in intl" ; \ | |
14402 | (cd intl && \ | |
14403 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14404 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14405 | "RANLIB=$${RANLIB}" \ | |
14406 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14407 | distclean) \ | |
14408 | || exit 1 | |
14409 | ||
14410 | ||
14411 | .PHONY: maybe-distclean-tcl distclean-tcl | |
14412 | maybe-distclean-tcl: | |
14413 | ||
14414 | distclean-tcl: | |
14415 | @[ -f ./tcl/Makefile ] || exit 0; \ | |
14416 | r=`${PWD}`; export r; \ | |
14417 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14418 | $(SET_LIB_PATH) \ | |
14419 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14420 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14421 | done; \ | |
14422 | echo "Doing distclean in tcl" ; \ | |
14423 | (cd tcl && \ | |
14424 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14425 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14426 | "RANLIB=$${RANLIB}" \ | |
14427 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14428 | distclean) \ | |
14429 | || exit 1 | |
14430 | ||
14431 | ||
14432 | .PHONY: maybe-distclean-itcl distclean-itcl | |
14433 | maybe-distclean-itcl: | |
14434 | ||
14435 | distclean-itcl: | |
14436 | @[ -f ./itcl/Makefile ] || exit 0; \ | |
14437 | r=`${PWD}`; export r; \ | |
14438 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14439 | $(SET_LIB_PATH) \ | |
14440 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14441 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14442 | done; \ | |
14443 | echo "Doing distclean in itcl" ; \ | |
14444 | (cd itcl && \ | |
14445 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14446 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14447 | "RANLIB=$${RANLIB}" \ | |
14448 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14449 | distclean) \ | |
14450 | || exit 1 | |
14451 | ||
14452 | ||
14453 | .PHONY: maybe-distclean-ld distclean-ld | |
14454 | maybe-distclean-ld: | |
14455 | ||
14456 | distclean-ld: | |
14457 | @[ -f ./ld/Makefile ] || exit 0; \ | |
14458 | r=`${PWD}`; export r; \ | |
14459 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14460 | $(SET_LIB_PATH) \ | |
14461 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14462 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14463 | done; \ | |
14464 | echo "Doing distclean in ld" ; \ | |
14465 | (cd ld && \ | |
14466 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14467 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14468 | "RANLIB=$${RANLIB}" \ | |
14469 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14470 | distclean) \ | |
14471 | || exit 1 | |
14472 | ||
14473 | ||
14474 | .PHONY: maybe-distclean-libgui distclean-libgui | |
14475 | maybe-distclean-libgui: | |
14476 | ||
14477 | distclean-libgui: | |
14478 | @[ -f ./libgui/Makefile ] || exit 0; \ | |
14479 | r=`${PWD}`; export r; \ | |
14480 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14481 | $(SET_LIB_PATH) \ | |
14482 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14483 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14484 | done; \ | |
14485 | echo "Doing distclean in libgui" ; \ | |
14486 | (cd libgui && \ | |
14487 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14488 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14489 | "RANLIB=$${RANLIB}" \ | |
14490 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14491 | distclean) \ | |
14492 | || exit 1 | |
14493 | ||
14494 | ||
14495 | .PHONY: maybe-distclean-libiberty distclean-libiberty | |
14496 | maybe-distclean-libiberty: | |
14497 | ||
14498 | distclean-libiberty: | |
14499 | @[ -f ./libiberty/Makefile ] || exit 0; \ | |
14500 | r=`${PWD}`; export r; \ | |
14501 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14502 | $(SET_LIB_PATH) \ | |
14503 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14504 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14505 | done; \ | |
14506 | echo "Doing distclean in libiberty" ; \ | |
14507 | (cd libiberty && \ | |
14508 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14509 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14510 | "RANLIB=$${RANLIB}" \ | |
14511 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14512 | distclean) \ | |
14513 | || exit 1 | |
14514 | ||
14515 | ||
14516 | .PHONY: maybe-distclean-libtool distclean-libtool | |
14517 | maybe-distclean-libtool: | |
14518 | ||
14519 | distclean-libtool: | |
14520 | @[ -f ./libtool/Makefile ] || exit 0; \ | |
14521 | r=`${PWD}`; export r; \ | |
14522 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14523 | $(SET_LIB_PATH) \ | |
14524 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14525 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14526 | done; \ | |
14527 | echo "Doing distclean in libtool" ; \ | |
14528 | (cd libtool && \ | |
14529 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14530 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14531 | "RANLIB=$${RANLIB}" \ | |
14532 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14533 | distclean) \ | |
14534 | || exit 1 | |
14535 | ||
14536 | ||
14537 | .PHONY: maybe-distclean-m4 distclean-m4 | |
14538 | maybe-distclean-m4: | |
14539 | ||
14540 | distclean-m4: | |
14541 | @[ -f ./m4/Makefile ] || exit 0; \ | |
14542 | r=`${PWD}`; export r; \ | |
14543 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14544 | $(SET_LIB_PATH) \ | |
14545 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14546 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14547 | done; \ | |
14548 | echo "Doing distclean in m4" ; \ | |
14549 | (cd m4 && \ | |
14550 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14551 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14552 | "RANLIB=$${RANLIB}" \ | |
14553 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14554 | distclean) \ | |
14555 | || exit 1 | |
14556 | ||
14557 | ||
14558 | .PHONY: maybe-distclean-make distclean-make | |
14559 | maybe-distclean-make: | |
14560 | ||
14561 | distclean-make: | |
14562 | @[ -f ./make/Makefile ] || exit 0; \ | |
14563 | r=`${PWD}`; export r; \ | |
14564 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14565 | $(SET_LIB_PATH) \ | |
14566 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14567 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14568 | done; \ | |
14569 | echo "Doing distclean in make" ; \ | |
14570 | (cd make && \ | |
14571 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14572 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14573 | "RANLIB=$${RANLIB}" \ | |
14574 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14575 | distclean) \ | |
14576 | || exit 1 | |
14577 | ||
14578 | ||
14579 | .PHONY: maybe-distclean-mmalloc distclean-mmalloc | |
14580 | maybe-distclean-mmalloc: | |
14581 | ||
14582 | distclean-mmalloc: | |
14583 | @[ -f ./mmalloc/Makefile ] || exit 0; \ | |
14584 | r=`${PWD}`; export r; \ | |
14585 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14586 | $(SET_LIB_PATH) \ | |
14587 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14588 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14589 | done; \ | |
14590 | echo "Doing distclean in mmalloc" ; \ | |
14591 | (cd mmalloc && \ | |
14592 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14593 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14594 | "RANLIB=$${RANLIB}" \ | |
14595 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14596 | distclean) \ | |
14597 | || exit 1 | |
14598 | ||
14599 | ||
14600 | .PHONY: maybe-distclean-patch distclean-patch | |
14601 | maybe-distclean-patch: | |
14602 | ||
14603 | distclean-patch: | |
14604 | @[ -f ./patch/Makefile ] || exit 0; \ | |
14605 | r=`${PWD}`; export r; \ | |
14606 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14607 | $(SET_LIB_PATH) \ | |
14608 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14609 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14610 | done; \ | |
14611 | echo "Doing distclean in patch" ; \ | |
14612 | (cd patch && \ | |
14613 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14614 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14615 | "RANLIB=$${RANLIB}" \ | |
14616 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14617 | distclean) \ | |
14618 | || exit 1 | |
14619 | ||
14620 | ||
14621 | .PHONY: maybe-distclean-perl distclean-perl | |
14622 | maybe-distclean-perl: | |
14623 | ||
14624 | distclean-perl: | |
14625 | @[ -f ./perl/Makefile ] || exit 0; \ | |
14626 | r=`${PWD}`; export r; \ | |
14627 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14628 | $(SET_LIB_PATH) \ | |
14629 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14630 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14631 | done; \ | |
14632 | echo "Doing distclean in perl" ; \ | |
14633 | (cd perl && \ | |
14634 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14635 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14636 | "RANLIB=$${RANLIB}" \ | |
14637 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14638 | distclean) \ | |
14639 | || exit 1 | |
14640 | ||
14641 | ||
14642 | .PHONY: maybe-distclean-prms distclean-prms | |
14643 | maybe-distclean-prms: | |
14644 | ||
14645 | distclean-prms: | |
14646 | @[ -f ./prms/Makefile ] || exit 0; \ | |
14647 | r=`${PWD}`; export r; \ | |
14648 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14649 | $(SET_LIB_PATH) \ | |
14650 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14651 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14652 | done; \ | |
14653 | echo "Doing distclean in prms" ; \ | |
14654 | (cd prms && \ | |
14655 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14656 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14657 | "RANLIB=$${RANLIB}" \ | |
14658 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14659 | distclean) \ | |
14660 | || exit 1 | |
14661 | ||
14662 | ||
14663 | .PHONY: maybe-distclean-rcs distclean-rcs | |
14664 | maybe-distclean-rcs: | |
14665 | ||
14666 | distclean-rcs: | |
14667 | @[ -f ./rcs/Makefile ] || exit 0; \ | |
14668 | r=`${PWD}`; export r; \ | |
14669 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14670 | $(SET_LIB_PATH) \ | |
14671 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14672 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14673 | done; \ | |
14674 | echo "Doing distclean in rcs" ; \ | |
14675 | (cd rcs && \ | |
14676 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14677 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14678 | "RANLIB=$${RANLIB}" \ | |
14679 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14680 | distclean) \ | |
14681 | || exit 1 | |
14682 | ||
14683 | ||
14684 | .PHONY: maybe-distclean-readline distclean-readline | |
14685 | maybe-distclean-readline: | |
14686 | ||
14687 | distclean-readline: | |
14688 | @[ -f ./readline/Makefile ] || exit 0; \ | |
14689 | r=`${PWD}`; export r; \ | |
14690 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14691 | $(SET_LIB_PATH) \ | |
14692 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14693 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14694 | done; \ | |
14695 | echo "Doing distclean in readline" ; \ | |
14696 | (cd readline && \ | |
14697 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14698 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14699 | "RANLIB=$${RANLIB}" \ | |
14700 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14701 | distclean) \ | |
14702 | || exit 1 | |
14703 | ||
14704 | ||
14705 | .PHONY: maybe-distclean-release distclean-release | |
14706 | maybe-distclean-release: | |
14707 | ||
14708 | distclean-release: | |
14709 | @[ -f ./release/Makefile ] || exit 0; \ | |
14710 | r=`${PWD}`; export r; \ | |
14711 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14712 | $(SET_LIB_PATH) \ | |
14713 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14714 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14715 | done; \ | |
14716 | echo "Doing distclean in release" ; \ | |
14717 | (cd release && \ | |
14718 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14719 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14720 | "RANLIB=$${RANLIB}" \ | |
14721 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14722 | distclean) \ | |
14723 | || exit 1 | |
14724 | ||
14725 | ||
14726 | .PHONY: maybe-distclean-recode distclean-recode | |
14727 | maybe-distclean-recode: | |
14728 | ||
14729 | distclean-recode: | |
14730 | @[ -f ./recode/Makefile ] || exit 0; \ | |
14731 | r=`${PWD}`; export r; \ | |
14732 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14733 | $(SET_LIB_PATH) \ | |
14734 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14735 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14736 | done; \ | |
14737 | echo "Doing distclean in recode" ; \ | |
14738 | (cd recode && \ | |
14739 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14740 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14741 | "RANLIB=$${RANLIB}" \ | |
14742 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14743 | distclean) \ | |
14744 | || exit 1 | |
14745 | ||
14746 | ||
14747 | .PHONY: maybe-distclean-sed distclean-sed | |
14748 | maybe-distclean-sed: | |
14749 | ||
14750 | distclean-sed: | |
14751 | @[ -f ./sed/Makefile ] || exit 0; \ | |
14752 | r=`${PWD}`; export r; \ | |
14753 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14754 | $(SET_LIB_PATH) \ | |
14755 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14756 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14757 | done; \ | |
14758 | echo "Doing distclean in sed" ; \ | |
14759 | (cd sed && \ | |
14760 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14761 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14762 | "RANLIB=$${RANLIB}" \ | |
14763 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14764 | distclean) \ | |
14765 | || exit 1 | |
14766 | ||
14767 | ||
14768 | .PHONY: maybe-distclean-send-pr distclean-send-pr | |
14769 | maybe-distclean-send-pr: | |
14770 | ||
14771 | distclean-send-pr: | |
14772 | @[ -f ./send-pr/Makefile ] || exit 0; \ | |
14773 | r=`${PWD}`; export r; \ | |
14774 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14775 | $(SET_LIB_PATH) \ | |
14776 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14777 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14778 | done; \ | |
14779 | echo "Doing distclean in send-pr" ; \ | |
14780 | (cd send-pr && \ | |
14781 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14782 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14783 | "RANLIB=$${RANLIB}" \ | |
14784 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14785 | distclean) \ | |
14786 | || exit 1 | |
14787 | ||
14788 | ||
14789 | .PHONY: maybe-distclean-shellutils distclean-shellutils | |
14790 | maybe-distclean-shellutils: | |
14791 | ||
14792 | distclean-shellutils: | |
14793 | @[ -f ./shellutils/Makefile ] || exit 0; \ | |
14794 | r=`${PWD}`; export r; \ | |
14795 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14796 | $(SET_LIB_PATH) \ | |
14797 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14798 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14799 | done; \ | |
14800 | echo "Doing distclean in shellutils" ; \ | |
14801 | (cd shellutils && \ | |
14802 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14803 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14804 | "RANLIB=$${RANLIB}" \ | |
14805 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14806 | distclean) \ | |
14807 | || exit 1 | |
14808 | ||
14809 | ||
14810 | .PHONY: maybe-distclean-sid distclean-sid | |
14811 | maybe-distclean-sid: | |
14812 | ||
14813 | distclean-sid: | |
14814 | @[ -f ./sid/Makefile ] || exit 0; \ | |
14815 | r=`${PWD}`; export r; \ | |
14816 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14817 | $(SET_LIB_PATH) \ | |
14818 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14819 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14820 | done; \ | |
14821 | echo "Doing distclean in sid" ; \ | |
14822 | (cd sid && \ | |
14823 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14824 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14825 | "RANLIB=$${RANLIB}" \ | |
14826 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14827 | distclean) \ | |
14828 | || exit 1 | |
14829 | ||
14830 | ||
14831 | .PHONY: maybe-distclean-sim distclean-sim | |
14832 | maybe-distclean-sim: | |
14833 | ||
14834 | distclean-sim: | |
14835 | @[ -f ./sim/Makefile ] || exit 0; \ | |
14836 | r=`${PWD}`; export r; \ | |
14837 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14838 | $(SET_LIB_PATH) \ | |
14839 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14840 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14841 | done; \ | |
14842 | echo "Doing distclean in sim" ; \ | |
14843 | (cd sim && \ | |
14844 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14845 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14846 | "RANLIB=$${RANLIB}" \ | |
14847 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14848 | distclean) \ | |
14849 | || exit 1 | |
14850 | ||
14851 | ||
14852 | .PHONY: maybe-distclean-tar distclean-tar | |
14853 | maybe-distclean-tar: | |
14854 | ||
14855 | distclean-tar: | |
14856 | @[ -f ./tar/Makefile ] || exit 0; \ | |
14857 | r=`${PWD}`; export r; \ | |
14858 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14859 | $(SET_LIB_PATH) \ | |
14860 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14861 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14862 | done; \ | |
14863 | echo "Doing distclean in tar" ; \ | |
14864 | (cd tar && \ | |
14865 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14866 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14867 | "RANLIB=$${RANLIB}" \ | |
14868 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14869 | distclean) \ | |
14870 | || exit 1 | |
14871 | ||
14872 | ||
14873 | .PHONY: maybe-distclean-texinfo distclean-texinfo | |
14874 | maybe-distclean-texinfo: | |
14875 | ||
14876 | distclean-texinfo: | |
14877 | @[ -f ./texinfo/Makefile ] || exit 0; \ | |
14878 | r=`${PWD}`; export r; \ | |
14879 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14880 | $(SET_LIB_PATH) \ | |
14881 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14882 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14883 | done; \ | |
14884 | echo "Doing distclean in texinfo" ; \ | |
14885 | (cd texinfo && \ | |
14886 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14887 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14888 | "RANLIB=$${RANLIB}" \ | |
14889 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14890 | distclean) \ | |
14891 | || exit 1 | |
14892 | ||
14893 | ||
14894 | .PHONY: maybe-distclean-textutils distclean-textutils | |
14895 | maybe-distclean-textutils: | |
14896 | ||
14897 | distclean-textutils: | |
14898 | @[ -f ./textutils/Makefile ] || exit 0; \ | |
14899 | r=`${PWD}`; export r; \ | |
14900 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14901 | $(SET_LIB_PATH) \ | |
14902 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14903 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14904 | done; \ | |
14905 | echo "Doing distclean in textutils" ; \ | |
14906 | (cd textutils && \ | |
14907 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14908 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14909 | "RANLIB=$${RANLIB}" \ | |
14910 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14911 | distclean) \ | |
14912 | || exit 1 | |
14913 | ||
14914 | ||
14915 | .PHONY: maybe-distclean-time distclean-time | |
14916 | maybe-distclean-time: | |
14917 | ||
14918 | distclean-time: | |
14919 | @[ -f ./time/Makefile ] || exit 0; \ | |
14920 | r=`${PWD}`; export r; \ | |
14921 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14922 | $(SET_LIB_PATH) \ | |
14923 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14924 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14925 | done; \ | |
14926 | echo "Doing distclean in time" ; \ | |
14927 | (cd time && \ | |
14928 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14929 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14930 | "RANLIB=$${RANLIB}" \ | |
14931 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14932 | distclean) \ | |
14933 | || exit 1 | |
14934 | ||
14935 | ||
14936 | .PHONY: maybe-distclean-uudecode distclean-uudecode | |
14937 | maybe-distclean-uudecode: | |
14938 | ||
14939 | distclean-uudecode: | |
14940 | @[ -f ./uudecode/Makefile ] || exit 0; \ | |
14941 | r=`${PWD}`; export r; \ | |
14942 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14943 | $(SET_LIB_PATH) \ | |
14944 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14945 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14946 | done; \ | |
14947 | echo "Doing distclean in uudecode" ; \ | |
14948 | (cd uudecode && \ | |
14949 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14950 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14951 | "RANLIB=$${RANLIB}" \ | |
14952 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14953 | distclean) \ | |
14954 | || exit 1 | |
14955 | ||
14956 | ||
14957 | .PHONY: maybe-distclean-wdiff distclean-wdiff | |
14958 | maybe-distclean-wdiff: | |
14959 | ||
14960 | distclean-wdiff: | |
14961 | @[ -f ./wdiff/Makefile ] || exit 0; \ | |
14962 | r=`${PWD}`; export r; \ | |
14963 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14964 | $(SET_LIB_PATH) \ | |
14965 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14966 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14967 | done; \ | |
14968 | echo "Doing distclean in wdiff" ; \ | |
14969 | (cd wdiff && \ | |
14970 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14971 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14972 | "RANLIB=$${RANLIB}" \ | |
14973 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14974 | distclean) \ | |
14975 | || exit 1 | |
14976 | ||
14977 | ||
14978 | .PHONY: maybe-distclean-zip distclean-zip | |
14979 | maybe-distclean-zip: | |
14980 | ||
14981 | distclean-zip: | |
14982 | @[ -f ./zip/Makefile ] || exit 0; \ | |
14983 | r=`${PWD}`; export r; \ | |
14984 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
14985 | $(SET_LIB_PATH) \ | |
14986 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
14987 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
14988 | done; \ | |
14989 | echo "Doing distclean in zip" ; \ | |
14990 | (cd zip && \ | |
14991 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
14992 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
14993 | "RANLIB=$${RANLIB}" \ | |
14994 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
14995 | distclean) \ | |
14996 | || exit 1 | |
14997 | ||
14998 | ||
14999 | .PHONY: maybe-distclean-zlib distclean-zlib | |
15000 | maybe-distclean-zlib: | |
15001 | ||
15002 | distclean-zlib: | |
15003 | @[ -f ./zlib/Makefile ] || exit 0; \ | |
15004 | r=`${PWD}`; export r; \ | |
15005 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15006 | $(SET_LIB_PATH) \ | |
15007 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15008 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15009 | done; \ | |
15010 | echo "Doing distclean in zlib" ; \ | |
15011 | (cd zlib && \ | |
15012 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15013 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15014 | "RANLIB=$${RANLIB}" \ | |
15015 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15016 | distclean) \ | |
15017 | || exit 1 | |
15018 | ||
15019 | ||
15020 | .PHONY: maybe-distclean-gdb distclean-gdb | |
15021 | maybe-distclean-gdb: | |
15022 | ||
15023 | distclean-gdb: | |
15024 | @[ -f ./gdb/Makefile ] || exit 0; \ | |
15025 | r=`${PWD}`; export r; \ | |
15026 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15027 | $(SET_LIB_PATH) \ | |
15028 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15029 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15030 | done; \ | |
15031 | echo "Doing distclean in gdb" ; \ | |
15032 | (cd gdb && \ | |
15033 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15034 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15035 | "RANLIB=$${RANLIB}" \ | |
15036 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15037 | distclean) \ | |
15038 | || exit 1 | |
15039 | ||
15040 | ||
15041 | .PHONY: maybe-distclean-expect distclean-expect | |
15042 | maybe-distclean-expect: | |
15043 | ||
15044 | distclean-expect: | |
15045 | @[ -f ./expect/Makefile ] || exit 0; \ | |
15046 | r=`${PWD}`; export r; \ | |
15047 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15048 | $(SET_LIB_PATH) \ | |
15049 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15050 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15051 | done; \ | |
15052 | echo "Doing distclean in expect" ; \ | |
15053 | (cd expect && \ | |
15054 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15055 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15056 | "RANLIB=$${RANLIB}" \ | |
15057 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15058 | distclean) \ | |
15059 | || exit 1 | |
15060 | ||
15061 | ||
15062 | .PHONY: maybe-distclean-guile distclean-guile | |
15063 | maybe-distclean-guile: | |
15064 | ||
15065 | distclean-guile: | |
15066 | @[ -f ./guile/Makefile ] || exit 0; \ | |
15067 | r=`${PWD}`; export r; \ | |
15068 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15069 | $(SET_LIB_PATH) \ | |
15070 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15071 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15072 | done; \ | |
15073 | echo "Doing distclean in guile" ; \ | |
15074 | (cd guile && \ | |
15075 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15076 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15077 | "RANLIB=$${RANLIB}" \ | |
15078 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15079 | distclean) \ | |
15080 | || exit 1 | |
15081 | ||
15082 | ||
15083 | .PHONY: maybe-distclean-tk distclean-tk | |
15084 | maybe-distclean-tk: | |
15085 | ||
15086 | distclean-tk: | |
15087 | @[ -f ./tk/Makefile ] || exit 0; \ | |
15088 | r=`${PWD}`; export r; \ | |
15089 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15090 | $(SET_LIB_PATH) \ | |
15091 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15092 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15093 | done; \ | |
15094 | echo "Doing distclean in tk" ; \ | |
15095 | (cd tk && \ | |
15096 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15097 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15098 | "RANLIB=$${RANLIB}" \ | |
15099 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15100 | distclean) \ | |
15101 | || exit 1 | |
15102 | ||
15103 | ||
15104 | .PHONY: maybe-distclean-tix distclean-tix | |
15105 | maybe-distclean-tix: | |
15106 | ||
15107 | distclean-tix: | |
15108 | @[ -f ./tix/Makefile ] || exit 0; \ | |
15109 | r=`${PWD}`; export r; \ | |
15110 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15111 | $(SET_LIB_PATH) \ | |
15112 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15113 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15114 | done; \ | |
15115 | echo "Doing distclean in tix" ; \ | |
15116 | (cd tix && \ | |
15117 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15118 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15119 | "RANLIB=$${RANLIB}" \ | |
15120 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15121 | distclean) \ | |
15122 | || exit 1 | |
15123 | ||
15124 | ||
15125 | .PHONY: maybe-distclean-libtermcap distclean-libtermcap | |
15126 | maybe-distclean-libtermcap: | |
15127 | ||
15128 | # libtermcap doesn't support distclean. | |
15129 | distclean-libtermcap: | |
15130 | ||
15131 | ||
15132 | .PHONY: maybe-distclean-utils distclean-utils | |
15133 | maybe-distclean-utils: | |
15134 | ||
15135 | distclean-utils: | |
15136 | @[ -f ./utils/Makefile ] || exit 0; \ | |
15137 | r=`${PWD}`; export r; \ | |
15138 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15139 | $(SET_LIB_PATH) \ | |
15140 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15141 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15142 | done; \ | |
15143 | echo "Doing distclean in utils" ; \ | |
15144 | (cd utils && \ | |
15145 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15146 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15147 | "RANLIB=$${RANLIB}" \ | |
15148 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15149 | distclean) \ | |
15150 | || exit 1 | |
15151 | ||
15152 | ||
15153 | ||
15154 | # Target modules. | |
15155 | ||
15156 | .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3 | |
15157 | maybe-distclean-target-libstdc++-v3: | |
15158 | ||
15159 | distclean-target-libstdc++-v3: | |
15160 | @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ | |
15161 | r=`${PWD}`; export r; \ | |
15162 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15163 | $(SET_LIB_PATH) \ | |
15164 | echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \ | |
15165 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15166 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15167 | done; \ | |
15168 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
15169 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15170 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15171 | "RANLIB=$${RANLIB}" \ | |
15172 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15173 | distclean) \ | |
15174 | || exit 1 | |
15175 | ||
15176 | ||
15177 | .PHONY: maybe-distclean-target-newlib distclean-target-newlib | |
15178 | maybe-distclean-target-newlib: | |
15179 | ||
15180 | distclean-target-newlib: | |
15181 | @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ | |
15182 | r=`${PWD}`; export r; \ | |
15183 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15184 | $(SET_LIB_PATH) \ | |
15185 | echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \ | |
15186 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15187 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15188 | done; \ | |
15189 | (cd $(TARGET_SUBDIR)/newlib && \ | |
15190 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15191 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15192 | "RANLIB=$${RANLIB}" \ | |
15193 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15194 | distclean) \ | |
15195 | || exit 1 | |
15196 | ||
15197 | ||
15198 | .PHONY: maybe-distclean-target-libf2c distclean-target-libf2c | |
15199 | maybe-distclean-target-libf2c: | |
15200 | ||
15201 | distclean-target-libf2c: | |
15202 | @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \ | |
15203 | r=`${PWD}`; export r; \ | |
15204 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15205 | $(SET_LIB_PATH) \ | |
15206 | echo "Doing distclean in $(TARGET_SUBDIR)/libf2c" ; \ | |
15207 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15208 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15209 | done; \ | |
15210 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
15211 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15212 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15213 | "RANLIB=$${RANLIB}" \ | |
15214 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15215 | distclean) \ | |
15216 | || exit 1 | |
15217 | ||
15218 | ||
15219 | .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc | |
15220 | maybe-distclean-target-libobjc: | |
15221 | ||
15222 | distclean-target-libobjc: | |
15223 | @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ | |
15224 | r=`${PWD}`; export r; \ | |
15225 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15226 | $(SET_LIB_PATH) \ | |
15227 | echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \ | |
15228 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15229 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15230 | done; \ | |
15231 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
15232 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15233 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15234 | "RANLIB=$${RANLIB}" \ | |
15235 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15236 | distclean) \ | |
15237 | || exit 1 | |
15238 | ||
15239 | ||
15240 | .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap | |
15241 | maybe-distclean-target-libtermcap: | |
15242 | ||
15243 | # libtermcap doesn't support distclean. | |
123494c8 | 15244 | distclean-target-libtermcap: |
2a4cbe27 NN |
15245 | |
15246 | ||
15247 | .PHONY: maybe-distclean-target-winsup distclean-target-winsup | |
15248 | maybe-distclean-target-winsup: | |
15249 | ||
15250 | distclean-target-winsup: | |
15251 | @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ | |
15252 | r=`${PWD}`; export r; \ | |
15253 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15254 | $(SET_LIB_PATH) \ | |
15255 | echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \ | |
15256 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15257 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15258 | done; \ | |
15259 | (cd $(TARGET_SUBDIR)/winsup && \ | |
15260 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15261 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15262 | "RANLIB=$${RANLIB}" \ | |
15263 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15264 | distclean) \ | |
15265 | || exit 1 | |
15266 | ||
15267 | ||
15268 | .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss | |
15269 | maybe-distclean-target-libgloss: | |
15270 | ||
15271 | distclean-target-libgloss: | |
15272 | @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ | |
15273 | r=`${PWD}`; export r; \ | |
15274 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15275 | $(SET_LIB_PATH) \ | |
15276 | echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \ | |
15277 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15278 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15279 | done; \ | |
15280 | (cd $(TARGET_SUBDIR)/libgloss && \ | |
15281 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15282 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15283 | "RANLIB=$${RANLIB}" \ | |
15284 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15285 | distclean) \ | |
15286 | || exit 1 | |
15287 | ||
15288 | ||
15289 | .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty | |
15290 | maybe-distclean-target-libiberty: | |
15291 | ||
15292 | distclean-target-libiberty: | |
15293 | @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ | |
15294 | r=`${PWD}`; export r; \ | |
15295 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15296 | $(SET_LIB_PATH) \ | |
15297 | echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \ | |
15298 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15299 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15300 | done; \ | |
15301 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
15302 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15303 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15304 | "RANLIB=$${RANLIB}" \ | |
15305 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15306 | distclean) \ | |
15307 | || exit 1 | |
15308 | ||
15309 | ||
15310 | .PHONY: maybe-distclean-target-gperf distclean-target-gperf | |
15311 | maybe-distclean-target-gperf: | |
15312 | ||
15313 | distclean-target-gperf: | |
15314 | @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ | |
15315 | r=`${PWD}`; export r; \ | |
15316 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15317 | $(SET_LIB_PATH) \ | |
15318 | echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \ | |
15319 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15320 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15321 | done; \ | |
15322 | (cd $(TARGET_SUBDIR)/gperf && \ | |
15323 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15324 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15325 | "RANLIB=$${RANLIB}" \ | |
15326 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15327 | distclean) \ | |
15328 | || exit 1 | |
15329 | ||
15330 | ||
15331 | .PHONY: maybe-distclean-target-examples distclean-target-examples | |
15332 | maybe-distclean-target-examples: | |
15333 | ||
15334 | distclean-target-examples: | |
15335 | @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ | |
15336 | r=`${PWD}`; export r; \ | |
15337 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15338 | $(SET_LIB_PATH) \ | |
15339 | echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \ | |
15340 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15341 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15342 | done; \ | |
15343 | (cd $(TARGET_SUBDIR)/examples && \ | |
15344 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15345 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15346 | "RANLIB=$${RANLIB}" \ | |
15347 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15348 | distclean) \ | |
15349 | || exit 1 | |
15350 | ||
15351 | ||
15352 | .PHONY: maybe-distclean-target-libffi distclean-target-libffi | |
15353 | maybe-distclean-target-libffi: | |
15354 | ||
15355 | distclean-target-libffi: | |
15356 | @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ | |
15357 | r=`${PWD}`; export r; \ | |
15358 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15359 | $(SET_LIB_PATH) \ | |
15360 | echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \ | |
15361 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15362 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15363 | done; \ | |
15364 | (cd $(TARGET_SUBDIR)/libffi && \ | |
15365 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15366 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15367 | "RANLIB=$${RANLIB}" \ | |
15368 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15369 | distclean) \ | |
15370 | || exit 1 | |
15371 | ||
15372 | ||
15373 | .PHONY: maybe-distclean-target-libjava distclean-target-libjava | |
15374 | maybe-distclean-target-libjava: | |
15375 | ||
15376 | distclean-target-libjava: | |
15377 | @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ | |
15378 | r=`${PWD}`; export r; \ | |
15379 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15380 | $(SET_LIB_PATH) \ | |
15381 | echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \ | |
15382 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15383 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15384 | done; \ | |
15385 | (cd $(TARGET_SUBDIR)/libjava && \ | |
15386 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15387 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15388 | "RANLIB=$${RANLIB}" \ | |
15389 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15390 | distclean) \ | |
15391 | || exit 1 | |
15392 | ||
15393 | ||
15394 | .PHONY: maybe-distclean-target-zlib distclean-target-zlib | |
15395 | maybe-distclean-target-zlib: | |
15396 | ||
15397 | distclean-target-zlib: | |
15398 | @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ | |
15399 | r=`${PWD}`; export r; \ | |
15400 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15401 | $(SET_LIB_PATH) \ | |
15402 | echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \ | |
15403 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15404 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15405 | done; \ | |
15406 | (cd $(TARGET_SUBDIR)/zlib && \ | |
15407 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15408 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15409 | "RANLIB=$${RANLIB}" \ | |
15410 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15411 | distclean) \ | |
15412 | || exit 1 | |
15413 | ||
15414 | ||
15415 | .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc | |
15416 | maybe-distclean-target-boehm-gc: | |
15417 | ||
15418 | distclean-target-boehm-gc: | |
15419 | @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ | |
15420 | r=`${PWD}`; export r; \ | |
15421 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15422 | $(SET_LIB_PATH) \ | |
15423 | echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \ | |
15424 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15425 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15426 | done; \ | |
15427 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
15428 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15429 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15430 | "RANLIB=$${RANLIB}" \ | |
15431 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15432 | distclean) \ | |
15433 | || exit 1 | |
15434 | ||
15435 | ||
15436 | .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads | |
15437 | maybe-distclean-target-qthreads: | |
15438 | ||
15439 | distclean-target-qthreads: | |
15440 | @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ | |
15441 | r=`${PWD}`; export r; \ | |
15442 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15443 | $(SET_LIB_PATH) \ | |
15444 | echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \ | |
15445 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15446 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15447 | done; \ | |
15448 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
15449 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15450 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15451 | "RANLIB=$${RANLIB}" \ | |
15452 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15453 | distclean) \ | |
15454 | || exit 1 | |
15455 | ||
15456 | ||
15457 | .PHONY: maybe-distclean-target-rda distclean-target-rda | |
15458 | maybe-distclean-target-rda: | |
15459 | ||
15460 | distclean-target-rda: | |
15461 | @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ | |
15462 | r=`${PWD}`; export r; \ | |
15463 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15464 | $(SET_LIB_PATH) \ | |
15465 | echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \ | |
15466 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
15467 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15468 | done; \ | |
15469 | (cd $(TARGET_SUBDIR)/rda && \ | |
15470 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15471 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15472 | "RANLIB=$${RANLIB}" \ | |
15473 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15474 | distclean) \ | |
15475 | || exit 1 | |
15476 | ||
15477 | ||
15478 | ||
15479 | .PHONY: do-maintainer-clean | |
15480 | do-maintainer-clean: maintainer-clean-host maintainer-clean-target | |
15481 | ||
15482 | .PHONY: maintainer-clean-host | |
15483 | maintainer-clean-host: maybe-maintainer-clean-gcc \ | |
15484 | maybe-maintainer-clean-ash \ | |
15485 | maybe-maintainer-clean-autoconf \ | |
15486 | maybe-maintainer-clean-automake \ | |
15487 | maybe-maintainer-clean-bash \ | |
15488 | maybe-maintainer-clean-bfd \ | |
15489 | maybe-maintainer-clean-opcodes \ | |
15490 | maybe-maintainer-clean-binutils \ | |
15491 | maybe-maintainer-clean-bison \ | |
15492 | maybe-maintainer-clean-byacc \ | |
15493 | maybe-maintainer-clean-bzip2 \ | |
15494 | maybe-maintainer-clean-dejagnu \ | |
15495 | maybe-maintainer-clean-diff \ | |
15496 | maybe-maintainer-clean-dosutils \ | |
15497 | maybe-maintainer-clean-etc \ | |
15498 | maybe-maintainer-clean-fastjar \ | |
15499 | maybe-maintainer-clean-fileutils \ | |
15500 | maybe-maintainer-clean-findutils \ | |
15501 | maybe-maintainer-clean-find \ | |
15502 | maybe-maintainer-clean-flex \ | |
15503 | maybe-maintainer-clean-gas \ | |
15504 | maybe-maintainer-clean-gawk \ | |
15505 | maybe-maintainer-clean-gettext \ | |
15506 | maybe-maintainer-clean-gnuserv \ | |
15507 | maybe-maintainer-clean-gprof \ | |
15508 | maybe-maintainer-clean-gzip \ | |
15509 | maybe-maintainer-clean-hello \ | |
15510 | maybe-maintainer-clean-indent \ | |
15511 | maybe-maintainer-clean-intl \ | |
15512 | maybe-maintainer-clean-tcl \ | |
15513 | maybe-maintainer-clean-itcl \ | |
15514 | maybe-maintainer-clean-ld \ | |
15515 | maybe-maintainer-clean-libgui \ | |
15516 | maybe-maintainer-clean-libiberty \ | |
15517 | maybe-maintainer-clean-libtool \ | |
15518 | maybe-maintainer-clean-m4 \ | |
15519 | maybe-maintainer-clean-make \ | |
15520 | maybe-maintainer-clean-mmalloc \ | |
15521 | maybe-maintainer-clean-patch \ | |
15522 | maybe-maintainer-clean-perl \ | |
15523 | maybe-maintainer-clean-prms \ | |
15524 | maybe-maintainer-clean-rcs \ | |
15525 | maybe-maintainer-clean-readline \ | |
15526 | maybe-maintainer-clean-release \ | |
15527 | maybe-maintainer-clean-recode \ | |
15528 | maybe-maintainer-clean-sed \ | |
15529 | maybe-maintainer-clean-send-pr \ | |
15530 | maybe-maintainer-clean-shellutils \ | |
15531 | maybe-maintainer-clean-sid \ | |
15532 | maybe-maintainer-clean-sim \ | |
15533 | maybe-maintainer-clean-tar \ | |
15534 | maybe-maintainer-clean-texinfo \ | |
15535 | maybe-maintainer-clean-textutils \ | |
15536 | maybe-maintainer-clean-time \ | |
15537 | maybe-maintainer-clean-uudecode \ | |
15538 | maybe-maintainer-clean-wdiff \ | |
15539 | maybe-maintainer-clean-zip \ | |
15540 | maybe-maintainer-clean-zlib \ | |
15541 | maybe-maintainer-clean-gdb \ | |
15542 | maybe-maintainer-clean-expect \ | |
15543 | maybe-maintainer-clean-guile \ | |
15544 | maybe-maintainer-clean-tk \ | |
15545 | maybe-maintainer-clean-tix \ | |
15546 | maybe-maintainer-clean-libtermcap \ | |
15547 | maybe-maintainer-clean-utils | |
15548 | ||
15549 | .PHONY: maintainer-clean-target | |
15550 | maintainer-clean-target: \ | |
15551 | maybe-maintainer-clean-target-libstdc++-v3 \ | |
15552 | maybe-maintainer-clean-target-newlib \ | |
15553 | maybe-maintainer-clean-target-libf2c \ | |
15554 | maybe-maintainer-clean-target-libobjc \ | |
15555 | maybe-maintainer-clean-target-libtermcap \ | |
15556 | maybe-maintainer-clean-target-winsup \ | |
15557 | maybe-maintainer-clean-target-libgloss \ | |
15558 | maybe-maintainer-clean-target-libiberty \ | |
15559 | maybe-maintainer-clean-target-gperf \ | |
15560 | maybe-maintainer-clean-target-examples \ | |
15561 | maybe-maintainer-clean-target-libffi \ | |
15562 | maybe-maintainer-clean-target-libjava \ | |
15563 | maybe-maintainer-clean-target-zlib \ | |
15564 | maybe-maintainer-clean-target-boehm-gc \ | |
15565 | maybe-maintainer-clean-target-qthreads \ | |
15566 | maybe-maintainer-clean-target-rda | |
15567 | ||
15568 | # GCC, the eternal special case | |
15569 | .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc | |
15570 | maybe-maintainer-clean-gcc: | |
15571 | maintainer-clean-gcc: | |
15572 | @[ -f ./gcc/Makefile ] || exit 0; \ | |
15573 | r=`${PWD}`; export r; \ | |
15574 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15575 | $(SET_LIB_PATH) \ | |
15576 | for flag in $(EXTRA_GCC_FLAGS); do \ | |
15577 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15578 | done; \ | |
15579 | echo "Doing maintainer-clean in gcc" ; \ | |
15580 | (cd gcc && \ | |
15581 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15582 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15583 | "RANLIB=$${RANLIB}" \ | |
15584 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15585 | maintainer-clean) \ | |
15586 | || exit 1 | |
15587 | ||
15588 | # Host modules. | |
15589 | ||
15590 | .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash | |
15591 | maybe-maintainer-clean-ash: | |
15592 | ||
15593 | maintainer-clean-ash: | |
15594 | @[ -f ./ash/Makefile ] || exit 0; \ | |
15595 | r=`${PWD}`; export r; \ | |
15596 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15597 | $(SET_LIB_PATH) \ | |
15598 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15599 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15600 | done; \ | |
15601 | echo "Doing maintainer-clean in ash" ; \ | |
15602 | (cd ash && \ | |
15603 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15604 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15605 | "RANLIB=$${RANLIB}" \ | |
15606 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15607 | maintainer-clean) \ | |
15608 | || exit 1 | |
15609 | ||
15610 | ||
15611 | .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf | |
15612 | maybe-maintainer-clean-autoconf: | |
15613 | ||
15614 | maintainer-clean-autoconf: | |
15615 | @[ -f ./autoconf/Makefile ] || exit 0; \ | |
15616 | r=`${PWD}`; export r; \ | |
15617 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15618 | $(SET_LIB_PATH) \ | |
15619 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15620 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15621 | done; \ | |
15622 | echo "Doing maintainer-clean in autoconf" ; \ | |
15623 | (cd autoconf && \ | |
15624 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15625 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15626 | "RANLIB=$${RANLIB}" \ | |
15627 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15628 | maintainer-clean) \ | |
15629 | || exit 1 | |
15630 | ||
15631 | ||
15632 | .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake | |
15633 | maybe-maintainer-clean-automake: | |
15634 | ||
15635 | maintainer-clean-automake: | |
15636 | @[ -f ./automake/Makefile ] || exit 0; \ | |
15637 | r=`${PWD}`; export r; \ | |
15638 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15639 | $(SET_LIB_PATH) \ | |
15640 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15641 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15642 | done; \ | |
15643 | echo "Doing maintainer-clean in automake" ; \ | |
15644 | (cd automake && \ | |
15645 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15646 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15647 | "RANLIB=$${RANLIB}" \ | |
15648 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15649 | maintainer-clean) \ | |
15650 | || exit 1 | |
15651 | ||
15652 | ||
15653 | .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash | |
15654 | maybe-maintainer-clean-bash: | |
15655 | ||
15656 | maintainer-clean-bash: | |
15657 | @[ -f ./bash/Makefile ] || exit 0; \ | |
15658 | r=`${PWD}`; export r; \ | |
15659 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15660 | $(SET_LIB_PATH) \ | |
15661 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15662 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15663 | done; \ | |
15664 | echo "Doing maintainer-clean in bash" ; \ | |
15665 | (cd bash && \ | |
15666 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15667 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15668 | "RANLIB=$${RANLIB}" \ | |
15669 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15670 | maintainer-clean) \ | |
15671 | || exit 1 | |
15672 | ||
15673 | ||
15674 | .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd | |
15675 | maybe-maintainer-clean-bfd: | |
15676 | ||
15677 | maintainer-clean-bfd: | |
15678 | @[ -f ./bfd/Makefile ] || exit 0; \ | |
15679 | r=`${PWD}`; export r; \ | |
15680 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15681 | $(SET_LIB_PATH) \ | |
15682 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15683 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15684 | done; \ | |
15685 | echo "Doing maintainer-clean in bfd" ; \ | |
15686 | (cd bfd && \ | |
15687 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15688 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15689 | "RANLIB=$${RANLIB}" \ | |
15690 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15691 | maintainer-clean) \ | |
15692 | || exit 1 | |
15693 | ||
15694 | ||
15695 | .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes | |
15696 | maybe-maintainer-clean-opcodes: | |
15697 | ||
15698 | maintainer-clean-opcodes: | |
15699 | @[ -f ./opcodes/Makefile ] || exit 0; \ | |
15700 | r=`${PWD}`; export r; \ | |
15701 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15702 | $(SET_LIB_PATH) \ | |
15703 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15704 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15705 | done; \ | |
15706 | echo "Doing maintainer-clean in opcodes" ; \ | |
15707 | (cd opcodes && \ | |
15708 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15709 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15710 | "RANLIB=$${RANLIB}" \ | |
15711 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15712 | maintainer-clean) \ | |
15713 | || exit 1 | |
15714 | ||
15715 | ||
15716 | .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils | |
15717 | maybe-maintainer-clean-binutils: | |
15718 | ||
15719 | maintainer-clean-binutils: | |
15720 | @[ -f ./binutils/Makefile ] || exit 0; \ | |
15721 | r=`${PWD}`; export r; \ | |
15722 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15723 | $(SET_LIB_PATH) \ | |
15724 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15725 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15726 | done; \ | |
15727 | echo "Doing maintainer-clean in binutils" ; \ | |
15728 | (cd binutils && \ | |
15729 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15730 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15731 | "RANLIB=$${RANLIB}" \ | |
15732 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15733 | maintainer-clean) \ | |
15734 | || exit 1 | |
15735 | ||
15736 | ||
15737 | .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison | |
15738 | maybe-maintainer-clean-bison: | |
15739 | ||
15740 | maintainer-clean-bison: | |
15741 | @[ -f ./bison/Makefile ] || exit 0; \ | |
15742 | r=`${PWD}`; export r; \ | |
15743 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15744 | $(SET_LIB_PATH) \ | |
15745 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15746 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15747 | done; \ | |
15748 | echo "Doing maintainer-clean in bison" ; \ | |
15749 | (cd bison && \ | |
15750 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15751 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15752 | "RANLIB=$${RANLIB}" \ | |
15753 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15754 | maintainer-clean) \ | |
15755 | || exit 1 | |
15756 | ||
15757 | ||
15758 | .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc | |
15759 | maybe-maintainer-clean-byacc: | |
15760 | ||
15761 | maintainer-clean-byacc: | |
15762 | @[ -f ./byacc/Makefile ] || exit 0; \ | |
15763 | r=`${PWD}`; export r; \ | |
15764 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15765 | $(SET_LIB_PATH) \ | |
15766 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15767 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15768 | done; \ | |
15769 | echo "Doing maintainer-clean in byacc" ; \ | |
15770 | (cd byacc && \ | |
15771 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15772 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15773 | "RANLIB=$${RANLIB}" \ | |
15774 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15775 | maintainer-clean) \ | |
15776 | || exit 1 | |
15777 | ||
15778 | ||
15779 | .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2 | |
15780 | maybe-maintainer-clean-bzip2: | |
15781 | ||
15782 | maintainer-clean-bzip2: | |
15783 | @[ -f ./bzip2/Makefile ] || exit 0; \ | |
15784 | r=`${PWD}`; export r; \ | |
15785 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15786 | $(SET_LIB_PATH) \ | |
15787 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15788 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15789 | done; \ | |
15790 | echo "Doing maintainer-clean in bzip2" ; \ | |
15791 | (cd bzip2 && \ | |
15792 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15793 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15794 | "RANLIB=$${RANLIB}" \ | |
15795 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15796 | maintainer-clean) \ | |
15797 | || exit 1 | |
15798 | ||
15799 | ||
15800 | .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu | |
15801 | maybe-maintainer-clean-dejagnu: | |
15802 | ||
15803 | maintainer-clean-dejagnu: | |
15804 | @[ -f ./dejagnu/Makefile ] || exit 0; \ | |
15805 | r=`${PWD}`; export r; \ | |
15806 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15807 | $(SET_LIB_PATH) \ | |
15808 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15809 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15810 | done; \ | |
15811 | echo "Doing maintainer-clean in dejagnu" ; \ | |
15812 | (cd dejagnu && \ | |
15813 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15814 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15815 | "RANLIB=$${RANLIB}" \ | |
15816 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15817 | maintainer-clean) \ | |
15818 | || exit 1 | |
15819 | ||
15820 | ||
15821 | .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff | |
15822 | maybe-maintainer-clean-diff: | |
15823 | ||
15824 | maintainer-clean-diff: | |
15825 | @[ -f ./diff/Makefile ] || exit 0; \ | |
15826 | r=`${PWD}`; export r; \ | |
15827 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15828 | $(SET_LIB_PATH) \ | |
15829 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15830 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15831 | done; \ | |
15832 | echo "Doing maintainer-clean in diff" ; \ | |
15833 | (cd diff && \ | |
15834 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15835 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15836 | "RANLIB=$${RANLIB}" \ | |
15837 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15838 | maintainer-clean) \ | |
15839 | || exit 1 | |
15840 | ||
15841 | ||
15842 | .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils | |
15843 | maybe-maintainer-clean-dosutils: | |
15844 | ||
15845 | maintainer-clean-dosutils: | |
15846 | @[ -f ./dosutils/Makefile ] || exit 0; \ | |
15847 | r=`${PWD}`; export r; \ | |
15848 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15849 | $(SET_LIB_PATH) \ | |
15850 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15851 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15852 | done; \ | |
15853 | echo "Doing maintainer-clean in dosutils" ; \ | |
15854 | (cd dosutils && \ | |
15855 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15856 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15857 | "RANLIB=$${RANLIB}" \ | |
15858 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15859 | maintainer-clean) \ | |
15860 | || exit 1 | |
15861 | ||
15862 | ||
15863 | .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc | |
15864 | maybe-maintainer-clean-etc: | |
15865 | ||
15866 | maintainer-clean-etc: | |
15867 | @[ -f ./etc/Makefile ] || exit 0; \ | |
15868 | r=`${PWD}`; export r; \ | |
15869 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15870 | $(SET_LIB_PATH) \ | |
15871 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15872 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15873 | done; \ | |
15874 | echo "Doing maintainer-clean in etc" ; \ | |
15875 | (cd etc && \ | |
15876 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15877 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15878 | "RANLIB=$${RANLIB}" \ | |
15879 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15880 | maintainer-clean) \ | |
15881 | || exit 1 | |
15882 | ||
15883 | ||
15884 | .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar | |
15885 | maybe-maintainer-clean-fastjar: | |
15886 | ||
15887 | maintainer-clean-fastjar: | |
15888 | @[ -f ./fastjar/Makefile ] || exit 0; \ | |
15889 | r=`${PWD}`; export r; \ | |
15890 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15891 | $(SET_LIB_PATH) \ | |
15892 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15893 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15894 | done; \ | |
15895 | echo "Doing maintainer-clean in fastjar" ; \ | |
15896 | (cd fastjar && \ | |
15897 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15898 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15899 | "RANLIB=$${RANLIB}" \ | |
15900 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15901 | maintainer-clean) \ | |
15902 | || exit 1 | |
15903 | ||
15904 | ||
15905 | .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils | |
15906 | maybe-maintainer-clean-fileutils: | |
15907 | ||
15908 | maintainer-clean-fileutils: | |
15909 | @[ -f ./fileutils/Makefile ] || exit 0; \ | |
15910 | r=`${PWD}`; export r; \ | |
15911 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15912 | $(SET_LIB_PATH) \ | |
15913 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15914 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15915 | done; \ | |
15916 | echo "Doing maintainer-clean in fileutils" ; \ | |
15917 | (cd fileutils && \ | |
15918 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15919 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15920 | "RANLIB=$${RANLIB}" \ | |
15921 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15922 | maintainer-clean) \ | |
15923 | || exit 1 | |
15924 | ||
15925 | ||
15926 | .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils | |
15927 | maybe-maintainer-clean-findutils: | |
15928 | ||
15929 | maintainer-clean-findutils: | |
15930 | @[ -f ./findutils/Makefile ] || exit 0; \ | |
15931 | r=`${PWD}`; export r; \ | |
15932 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15933 | $(SET_LIB_PATH) \ | |
15934 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15935 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15936 | done; \ | |
15937 | echo "Doing maintainer-clean in findutils" ; \ | |
15938 | (cd findutils && \ | |
15939 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15940 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15941 | "RANLIB=$${RANLIB}" \ | |
15942 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15943 | maintainer-clean) \ | |
15944 | || exit 1 | |
15945 | ||
15946 | ||
15947 | .PHONY: maybe-maintainer-clean-find maintainer-clean-find | |
15948 | maybe-maintainer-clean-find: | |
15949 | ||
15950 | maintainer-clean-find: | |
15951 | @[ -f ./find/Makefile ] || exit 0; \ | |
15952 | r=`${PWD}`; export r; \ | |
15953 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15954 | $(SET_LIB_PATH) \ | |
15955 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15956 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15957 | done; \ | |
15958 | echo "Doing maintainer-clean in find" ; \ | |
15959 | (cd find && \ | |
15960 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15961 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15962 | "RANLIB=$${RANLIB}" \ | |
15963 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15964 | maintainer-clean) \ | |
15965 | || exit 1 | |
15966 | ||
15967 | ||
15968 | .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex | |
15969 | maybe-maintainer-clean-flex: | |
15970 | ||
15971 | maintainer-clean-flex: | |
15972 | @[ -f ./flex/Makefile ] || exit 0; \ | |
15973 | r=`${PWD}`; export r; \ | |
15974 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15975 | $(SET_LIB_PATH) \ | |
15976 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15977 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15978 | done; \ | |
15979 | echo "Doing maintainer-clean in flex" ; \ | |
15980 | (cd flex && \ | |
15981 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
15982 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
15983 | "RANLIB=$${RANLIB}" \ | |
15984 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
15985 | maintainer-clean) \ | |
15986 | || exit 1 | |
15987 | ||
15988 | ||
15989 | .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas | |
15990 | maybe-maintainer-clean-gas: | |
15991 | ||
15992 | maintainer-clean-gas: | |
15993 | @[ -f ./gas/Makefile ] || exit 0; \ | |
15994 | r=`${PWD}`; export r; \ | |
15995 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
15996 | $(SET_LIB_PATH) \ | |
15997 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
15998 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
15999 | done; \ | |
16000 | echo "Doing maintainer-clean in gas" ; \ | |
16001 | (cd gas && \ | |
16002 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16003 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16004 | "RANLIB=$${RANLIB}" \ | |
16005 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16006 | maintainer-clean) \ | |
16007 | || exit 1 | |
16008 | ||
16009 | ||
16010 | .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk | |
16011 | maybe-maintainer-clean-gawk: | |
16012 | ||
16013 | maintainer-clean-gawk: | |
16014 | @[ -f ./gawk/Makefile ] || exit 0; \ | |
16015 | r=`${PWD}`; export r; \ | |
16016 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16017 | $(SET_LIB_PATH) \ | |
16018 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16019 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16020 | done; \ | |
16021 | echo "Doing maintainer-clean in gawk" ; \ | |
16022 | (cd gawk && \ | |
16023 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16024 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16025 | "RANLIB=$${RANLIB}" \ | |
16026 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16027 | maintainer-clean) \ | |
16028 | || exit 1 | |
16029 | ||
16030 | ||
16031 | .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext | |
16032 | maybe-maintainer-clean-gettext: | |
16033 | ||
16034 | maintainer-clean-gettext: | |
16035 | @[ -f ./gettext/Makefile ] || exit 0; \ | |
16036 | r=`${PWD}`; export r; \ | |
16037 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16038 | $(SET_LIB_PATH) \ | |
16039 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16040 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16041 | done; \ | |
16042 | echo "Doing maintainer-clean in gettext" ; \ | |
16043 | (cd gettext && \ | |
16044 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16045 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16046 | "RANLIB=$${RANLIB}" \ | |
16047 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16048 | maintainer-clean) \ | |
16049 | || exit 1 | |
16050 | ||
16051 | ||
16052 | .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv | |
16053 | maybe-maintainer-clean-gnuserv: | |
16054 | ||
16055 | maintainer-clean-gnuserv: | |
16056 | @[ -f ./gnuserv/Makefile ] || exit 0; \ | |
16057 | r=`${PWD}`; export r; \ | |
16058 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16059 | $(SET_LIB_PATH) \ | |
16060 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16061 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16062 | done; \ | |
16063 | echo "Doing maintainer-clean in gnuserv" ; \ | |
16064 | (cd gnuserv && \ | |
16065 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16066 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16067 | "RANLIB=$${RANLIB}" \ | |
16068 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16069 | maintainer-clean) \ | |
16070 | || exit 1 | |
16071 | ||
16072 | ||
16073 | .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof | |
16074 | maybe-maintainer-clean-gprof: | |
16075 | ||
16076 | maintainer-clean-gprof: | |
16077 | @[ -f ./gprof/Makefile ] || exit 0; \ | |
16078 | r=`${PWD}`; export r; \ | |
16079 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16080 | $(SET_LIB_PATH) \ | |
16081 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16082 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16083 | done; \ | |
16084 | echo "Doing maintainer-clean in gprof" ; \ | |
16085 | (cd gprof && \ | |
16086 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16087 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16088 | "RANLIB=$${RANLIB}" \ | |
16089 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16090 | maintainer-clean) \ | |
16091 | || exit 1 | |
16092 | ||
16093 | ||
16094 | .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip | |
16095 | maybe-maintainer-clean-gzip: | |
16096 | ||
16097 | maintainer-clean-gzip: | |
16098 | @[ -f ./gzip/Makefile ] || exit 0; \ | |
16099 | r=`${PWD}`; export r; \ | |
16100 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16101 | $(SET_LIB_PATH) \ | |
16102 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16103 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16104 | done; \ | |
16105 | echo "Doing maintainer-clean in gzip" ; \ | |
16106 | (cd gzip && \ | |
16107 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16108 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16109 | "RANLIB=$${RANLIB}" \ | |
16110 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16111 | maintainer-clean) \ | |
16112 | || exit 1 | |
16113 | ||
16114 | ||
16115 | .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello | |
16116 | maybe-maintainer-clean-hello: | |
16117 | ||
16118 | maintainer-clean-hello: | |
16119 | @[ -f ./hello/Makefile ] || exit 0; \ | |
16120 | r=`${PWD}`; export r; \ | |
16121 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16122 | $(SET_LIB_PATH) \ | |
16123 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16124 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16125 | done; \ | |
16126 | echo "Doing maintainer-clean in hello" ; \ | |
16127 | (cd hello && \ | |
16128 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16129 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16130 | "RANLIB=$${RANLIB}" \ | |
16131 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16132 | maintainer-clean) \ | |
16133 | || exit 1 | |
16134 | ||
16135 | ||
16136 | .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent | |
16137 | maybe-maintainer-clean-indent: | |
16138 | ||
16139 | maintainer-clean-indent: | |
16140 | @[ -f ./indent/Makefile ] || exit 0; \ | |
16141 | r=`${PWD}`; export r; \ | |
16142 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16143 | $(SET_LIB_PATH) \ | |
16144 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16145 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16146 | done; \ | |
16147 | echo "Doing maintainer-clean in indent" ; \ | |
16148 | (cd indent && \ | |
16149 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16150 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16151 | "RANLIB=$${RANLIB}" \ | |
16152 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16153 | maintainer-clean) \ | |
16154 | || exit 1 | |
16155 | ||
16156 | ||
16157 | .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl | |
16158 | maybe-maintainer-clean-intl: | |
16159 | ||
16160 | maintainer-clean-intl: | |
16161 | @[ -f ./intl/Makefile ] || exit 0; \ | |
16162 | r=`${PWD}`; export r; \ | |
16163 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16164 | $(SET_LIB_PATH) \ | |
16165 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16166 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16167 | done; \ | |
16168 | echo "Doing maintainer-clean in intl" ; \ | |
16169 | (cd intl && \ | |
16170 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16171 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16172 | "RANLIB=$${RANLIB}" \ | |
16173 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16174 | maintainer-clean) \ | |
16175 | || exit 1 | |
16176 | ||
16177 | ||
16178 | .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl | |
16179 | maybe-maintainer-clean-tcl: | |
16180 | ||
16181 | maintainer-clean-tcl: | |
16182 | @[ -f ./tcl/Makefile ] || exit 0; \ | |
16183 | r=`${PWD}`; export r; \ | |
16184 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16185 | $(SET_LIB_PATH) \ | |
16186 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16187 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16188 | done; \ | |
16189 | echo "Doing maintainer-clean in tcl" ; \ | |
16190 | (cd tcl && \ | |
16191 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16192 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16193 | "RANLIB=$${RANLIB}" \ | |
16194 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16195 | maintainer-clean) \ | |
16196 | || exit 1 | |
16197 | ||
16198 | ||
16199 | .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl | |
16200 | maybe-maintainer-clean-itcl: | |
16201 | ||
16202 | maintainer-clean-itcl: | |
16203 | @[ -f ./itcl/Makefile ] || exit 0; \ | |
16204 | r=`${PWD}`; export r; \ | |
16205 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16206 | $(SET_LIB_PATH) \ | |
16207 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16208 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16209 | done; \ | |
16210 | echo "Doing maintainer-clean in itcl" ; \ | |
16211 | (cd itcl && \ | |
16212 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16213 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16214 | "RANLIB=$${RANLIB}" \ | |
16215 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16216 | maintainer-clean) \ | |
16217 | || exit 1 | |
16218 | ||
16219 | ||
16220 | .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld | |
16221 | maybe-maintainer-clean-ld: | |
16222 | ||
16223 | maintainer-clean-ld: | |
16224 | @[ -f ./ld/Makefile ] || exit 0; \ | |
16225 | r=`${PWD}`; export r; \ | |
16226 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16227 | $(SET_LIB_PATH) \ | |
16228 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16229 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16230 | done; \ | |
16231 | echo "Doing maintainer-clean in ld" ; \ | |
16232 | (cd ld && \ | |
16233 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16234 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16235 | "RANLIB=$${RANLIB}" \ | |
16236 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16237 | maintainer-clean) \ | |
16238 | || exit 1 | |
16239 | ||
16240 | ||
16241 | .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui | |
16242 | maybe-maintainer-clean-libgui: | |
16243 | ||
16244 | maintainer-clean-libgui: | |
16245 | @[ -f ./libgui/Makefile ] || exit 0; \ | |
16246 | r=`${PWD}`; export r; \ | |
16247 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16248 | $(SET_LIB_PATH) \ | |
16249 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16250 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16251 | done; \ | |
16252 | echo "Doing maintainer-clean in libgui" ; \ | |
16253 | (cd libgui && \ | |
16254 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16255 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16256 | "RANLIB=$${RANLIB}" \ | |
16257 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16258 | maintainer-clean) \ | |
16259 | || exit 1 | |
16260 | ||
16261 | ||
16262 | .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty | |
16263 | maybe-maintainer-clean-libiberty: | |
16264 | ||
16265 | maintainer-clean-libiberty: | |
16266 | @[ -f ./libiberty/Makefile ] || exit 0; \ | |
16267 | r=`${PWD}`; export r; \ | |
16268 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16269 | $(SET_LIB_PATH) \ | |
16270 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16271 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16272 | done; \ | |
16273 | echo "Doing maintainer-clean in libiberty" ; \ | |
16274 | (cd libiberty && \ | |
16275 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16276 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16277 | "RANLIB=$${RANLIB}" \ | |
16278 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16279 | maintainer-clean) \ | |
16280 | || exit 1 | |
16281 | ||
16282 | ||
16283 | .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool | |
16284 | maybe-maintainer-clean-libtool: | |
16285 | ||
16286 | maintainer-clean-libtool: | |
16287 | @[ -f ./libtool/Makefile ] || exit 0; \ | |
16288 | r=`${PWD}`; export r; \ | |
16289 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16290 | $(SET_LIB_PATH) \ | |
16291 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16292 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16293 | done; \ | |
16294 | echo "Doing maintainer-clean in libtool" ; \ | |
16295 | (cd libtool && \ | |
16296 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16297 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16298 | "RANLIB=$${RANLIB}" \ | |
16299 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16300 | maintainer-clean) \ | |
16301 | || exit 1 | |
16302 | ||
16303 | ||
16304 | .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4 | |
16305 | maybe-maintainer-clean-m4: | |
16306 | ||
16307 | maintainer-clean-m4: | |
16308 | @[ -f ./m4/Makefile ] || exit 0; \ | |
16309 | r=`${PWD}`; export r; \ | |
16310 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16311 | $(SET_LIB_PATH) \ | |
16312 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16313 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16314 | done; \ | |
16315 | echo "Doing maintainer-clean in m4" ; \ | |
16316 | (cd m4 && \ | |
16317 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16318 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16319 | "RANLIB=$${RANLIB}" \ | |
16320 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16321 | maintainer-clean) \ | |
16322 | || exit 1 | |
16323 | ||
16324 | ||
16325 | .PHONY: maybe-maintainer-clean-make maintainer-clean-make | |
16326 | maybe-maintainer-clean-make: | |
16327 | ||
16328 | maintainer-clean-make: | |
16329 | @[ -f ./make/Makefile ] || exit 0; \ | |
16330 | r=`${PWD}`; export r; \ | |
16331 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16332 | $(SET_LIB_PATH) \ | |
16333 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16334 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16335 | done; \ | |
16336 | echo "Doing maintainer-clean in make" ; \ | |
16337 | (cd make && \ | |
16338 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16339 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16340 | "RANLIB=$${RANLIB}" \ | |
16341 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16342 | maintainer-clean) \ | |
16343 | || exit 1 | |
16344 | ||
16345 | ||
16346 | .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc | |
16347 | maybe-maintainer-clean-mmalloc: | |
16348 | ||
16349 | maintainer-clean-mmalloc: | |
16350 | @[ -f ./mmalloc/Makefile ] || exit 0; \ | |
16351 | r=`${PWD}`; export r; \ | |
16352 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16353 | $(SET_LIB_PATH) \ | |
16354 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16355 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16356 | done; \ | |
16357 | echo "Doing maintainer-clean in mmalloc" ; \ | |
16358 | (cd mmalloc && \ | |
16359 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16360 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16361 | "RANLIB=$${RANLIB}" \ | |
16362 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16363 | maintainer-clean) \ | |
16364 | || exit 1 | |
16365 | ||
16366 | ||
16367 | .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch | |
16368 | maybe-maintainer-clean-patch: | |
16369 | ||
16370 | maintainer-clean-patch: | |
16371 | @[ -f ./patch/Makefile ] || exit 0; \ | |
16372 | r=`${PWD}`; export r; \ | |
16373 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16374 | $(SET_LIB_PATH) \ | |
16375 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16376 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16377 | done; \ | |
16378 | echo "Doing maintainer-clean in patch" ; \ | |
16379 | (cd patch && \ | |
16380 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16381 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16382 | "RANLIB=$${RANLIB}" \ | |
16383 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16384 | maintainer-clean) \ | |
16385 | || exit 1 | |
16386 | ||
16387 | ||
16388 | .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl | |
16389 | maybe-maintainer-clean-perl: | |
16390 | ||
16391 | maintainer-clean-perl: | |
16392 | @[ -f ./perl/Makefile ] || exit 0; \ | |
16393 | r=`${PWD}`; export r; \ | |
16394 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16395 | $(SET_LIB_PATH) \ | |
16396 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16397 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16398 | done; \ | |
16399 | echo "Doing maintainer-clean in perl" ; \ | |
16400 | (cd perl && \ | |
16401 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16402 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16403 | "RANLIB=$${RANLIB}" \ | |
16404 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16405 | maintainer-clean) \ | |
16406 | || exit 1 | |
16407 | ||
16408 | ||
16409 | .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms | |
16410 | maybe-maintainer-clean-prms: | |
16411 | ||
16412 | maintainer-clean-prms: | |
16413 | @[ -f ./prms/Makefile ] || exit 0; \ | |
16414 | r=`${PWD}`; export r; \ | |
16415 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16416 | $(SET_LIB_PATH) \ | |
16417 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16418 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16419 | done; \ | |
16420 | echo "Doing maintainer-clean in prms" ; \ | |
16421 | (cd prms && \ | |
16422 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16423 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16424 | "RANLIB=$${RANLIB}" \ | |
16425 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16426 | maintainer-clean) \ | |
16427 | || exit 1 | |
16428 | ||
16429 | ||
16430 | .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs | |
16431 | maybe-maintainer-clean-rcs: | |
16432 | ||
16433 | maintainer-clean-rcs: | |
16434 | @[ -f ./rcs/Makefile ] || exit 0; \ | |
16435 | r=`${PWD}`; export r; \ | |
16436 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16437 | $(SET_LIB_PATH) \ | |
16438 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16439 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16440 | done; \ | |
16441 | echo "Doing maintainer-clean in rcs" ; \ | |
16442 | (cd rcs && \ | |
16443 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16444 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16445 | "RANLIB=$${RANLIB}" \ | |
16446 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16447 | maintainer-clean) \ | |
16448 | || exit 1 | |
16449 | ||
16450 | ||
16451 | .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline | |
16452 | maybe-maintainer-clean-readline: | |
16453 | ||
16454 | maintainer-clean-readline: | |
16455 | @[ -f ./readline/Makefile ] || exit 0; \ | |
16456 | r=`${PWD}`; export r; \ | |
16457 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16458 | $(SET_LIB_PATH) \ | |
16459 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16460 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16461 | done; \ | |
16462 | echo "Doing maintainer-clean in readline" ; \ | |
16463 | (cd readline && \ | |
16464 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16465 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16466 | "RANLIB=$${RANLIB}" \ | |
16467 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16468 | maintainer-clean) \ | |
16469 | || exit 1 | |
16470 | ||
16471 | ||
16472 | .PHONY: maybe-maintainer-clean-release maintainer-clean-release | |
16473 | maybe-maintainer-clean-release: | |
16474 | ||
16475 | maintainer-clean-release: | |
16476 | @[ -f ./release/Makefile ] || exit 0; \ | |
16477 | r=`${PWD}`; export r; \ | |
16478 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16479 | $(SET_LIB_PATH) \ | |
16480 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16481 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16482 | done; \ | |
16483 | echo "Doing maintainer-clean in release" ; \ | |
16484 | (cd release && \ | |
16485 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16486 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16487 | "RANLIB=$${RANLIB}" \ | |
16488 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16489 | maintainer-clean) \ | |
16490 | || exit 1 | |
16491 | ||
16492 | ||
16493 | .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode | |
16494 | maybe-maintainer-clean-recode: | |
16495 | ||
16496 | maintainer-clean-recode: | |
16497 | @[ -f ./recode/Makefile ] || exit 0; \ | |
16498 | r=`${PWD}`; export r; \ | |
16499 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16500 | $(SET_LIB_PATH) \ | |
16501 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16502 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16503 | done; \ | |
16504 | echo "Doing maintainer-clean in recode" ; \ | |
16505 | (cd recode && \ | |
16506 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16507 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16508 | "RANLIB=$${RANLIB}" \ | |
16509 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16510 | maintainer-clean) \ | |
16511 | || exit 1 | |
16512 | ||
16513 | ||
16514 | .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed | |
16515 | maybe-maintainer-clean-sed: | |
16516 | ||
16517 | maintainer-clean-sed: | |
16518 | @[ -f ./sed/Makefile ] || exit 0; \ | |
16519 | r=`${PWD}`; export r; \ | |
16520 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16521 | $(SET_LIB_PATH) \ | |
16522 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16523 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16524 | done; \ | |
16525 | echo "Doing maintainer-clean in sed" ; \ | |
16526 | (cd sed && \ | |
16527 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16528 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16529 | "RANLIB=$${RANLIB}" \ | |
16530 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16531 | maintainer-clean) \ | |
16532 | || exit 1 | |
16533 | ||
16534 | ||
16535 | .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr | |
16536 | maybe-maintainer-clean-send-pr: | |
16537 | ||
16538 | maintainer-clean-send-pr: | |
16539 | @[ -f ./send-pr/Makefile ] || exit 0; \ | |
16540 | r=`${PWD}`; export r; \ | |
16541 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16542 | $(SET_LIB_PATH) \ | |
16543 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16544 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16545 | done; \ | |
16546 | echo "Doing maintainer-clean in send-pr" ; \ | |
16547 | (cd send-pr && \ | |
16548 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16549 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16550 | "RANLIB=$${RANLIB}" \ | |
16551 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16552 | maintainer-clean) \ | |
16553 | || exit 1 | |
16554 | ||
16555 | ||
16556 | .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils | |
16557 | maybe-maintainer-clean-shellutils: | |
16558 | ||
16559 | maintainer-clean-shellutils: | |
16560 | @[ -f ./shellutils/Makefile ] || exit 0; \ | |
16561 | r=`${PWD}`; export r; \ | |
16562 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16563 | $(SET_LIB_PATH) \ | |
16564 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16565 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16566 | done; \ | |
16567 | echo "Doing maintainer-clean in shellutils" ; \ | |
16568 | (cd shellutils && \ | |
16569 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16570 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16571 | "RANLIB=$${RANLIB}" \ | |
16572 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16573 | maintainer-clean) \ | |
16574 | || exit 1 | |
16575 | ||
16576 | ||
16577 | .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid | |
16578 | maybe-maintainer-clean-sid: | |
16579 | ||
16580 | maintainer-clean-sid: | |
16581 | @[ -f ./sid/Makefile ] || exit 0; \ | |
16582 | r=`${PWD}`; export r; \ | |
16583 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16584 | $(SET_LIB_PATH) \ | |
16585 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16586 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16587 | done; \ | |
16588 | echo "Doing maintainer-clean in sid" ; \ | |
16589 | (cd sid && \ | |
16590 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16591 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16592 | "RANLIB=$${RANLIB}" \ | |
16593 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16594 | maintainer-clean) \ | |
16595 | || exit 1 | |
16596 | ||
16597 | ||
16598 | .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim | |
16599 | maybe-maintainer-clean-sim: | |
16600 | ||
16601 | maintainer-clean-sim: | |
16602 | @[ -f ./sim/Makefile ] || exit 0; \ | |
16603 | r=`${PWD}`; export r; \ | |
16604 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16605 | $(SET_LIB_PATH) \ | |
16606 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16607 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16608 | done; \ | |
16609 | echo "Doing maintainer-clean in sim" ; \ | |
16610 | (cd sim && \ | |
16611 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16612 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16613 | "RANLIB=$${RANLIB}" \ | |
16614 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16615 | maintainer-clean) \ | |
16616 | || exit 1 | |
16617 | ||
16618 | ||
16619 | .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar | |
16620 | maybe-maintainer-clean-tar: | |
16621 | ||
16622 | maintainer-clean-tar: | |
16623 | @[ -f ./tar/Makefile ] || exit 0; \ | |
16624 | r=`${PWD}`; export r; \ | |
16625 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16626 | $(SET_LIB_PATH) \ | |
16627 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16628 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16629 | done; \ | |
16630 | echo "Doing maintainer-clean in tar" ; \ | |
16631 | (cd tar && \ | |
16632 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16633 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16634 | "RANLIB=$${RANLIB}" \ | |
16635 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16636 | maintainer-clean) \ | |
16637 | || exit 1 | |
16638 | ||
16639 | ||
16640 | .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo | |
16641 | maybe-maintainer-clean-texinfo: | |
16642 | ||
16643 | maintainer-clean-texinfo: | |
16644 | @[ -f ./texinfo/Makefile ] || exit 0; \ | |
16645 | r=`${PWD}`; export r; \ | |
16646 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16647 | $(SET_LIB_PATH) \ | |
16648 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16649 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16650 | done; \ | |
16651 | echo "Doing maintainer-clean in texinfo" ; \ | |
16652 | (cd texinfo && \ | |
16653 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16654 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16655 | "RANLIB=$${RANLIB}" \ | |
16656 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16657 | maintainer-clean) \ | |
16658 | || exit 1 | |
16659 | ||
16660 | ||
16661 | .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils | |
16662 | maybe-maintainer-clean-textutils: | |
16663 | ||
16664 | maintainer-clean-textutils: | |
16665 | @[ -f ./textutils/Makefile ] || exit 0; \ | |
16666 | r=`${PWD}`; export r; \ | |
16667 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16668 | $(SET_LIB_PATH) \ | |
16669 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16670 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16671 | done; \ | |
16672 | echo "Doing maintainer-clean in textutils" ; \ | |
16673 | (cd textutils && \ | |
16674 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16675 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16676 | "RANLIB=$${RANLIB}" \ | |
16677 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16678 | maintainer-clean) \ | |
16679 | || exit 1 | |
16680 | ||
16681 | ||
16682 | .PHONY: maybe-maintainer-clean-time maintainer-clean-time | |
16683 | maybe-maintainer-clean-time: | |
16684 | ||
16685 | maintainer-clean-time: | |
16686 | @[ -f ./time/Makefile ] || exit 0; \ | |
16687 | r=`${PWD}`; export r; \ | |
16688 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16689 | $(SET_LIB_PATH) \ | |
16690 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16691 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16692 | done; \ | |
16693 | echo "Doing maintainer-clean in time" ; \ | |
16694 | (cd time && \ | |
16695 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16696 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16697 | "RANLIB=$${RANLIB}" \ | |
16698 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16699 | maintainer-clean) \ | |
16700 | || exit 1 | |
16701 | ||
16702 | ||
16703 | .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode | |
16704 | maybe-maintainer-clean-uudecode: | |
16705 | ||
16706 | maintainer-clean-uudecode: | |
16707 | @[ -f ./uudecode/Makefile ] || exit 0; \ | |
16708 | r=`${PWD}`; export r; \ | |
16709 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16710 | $(SET_LIB_PATH) \ | |
16711 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16712 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16713 | done; \ | |
16714 | echo "Doing maintainer-clean in uudecode" ; \ | |
16715 | (cd uudecode && \ | |
16716 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16717 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16718 | "RANLIB=$${RANLIB}" \ | |
16719 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16720 | maintainer-clean) \ | |
16721 | || exit 1 | |
16722 | ||
16723 | ||
16724 | .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff | |
16725 | maybe-maintainer-clean-wdiff: | |
16726 | ||
16727 | maintainer-clean-wdiff: | |
16728 | @[ -f ./wdiff/Makefile ] || exit 0; \ | |
16729 | r=`${PWD}`; export r; \ | |
16730 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16731 | $(SET_LIB_PATH) \ | |
16732 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16733 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16734 | done; \ | |
16735 | echo "Doing maintainer-clean in wdiff" ; \ | |
16736 | (cd wdiff && \ | |
16737 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16738 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16739 | "RANLIB=$${RANLIB}" \ | |
16740 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16741 | maintainer-clean) \ | |
16742 | || exit 1 | |
16743 | ||
16744 | ||
16745 | .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip | |
16746 | maybe-maintainer-clean-zip: | |
16747 | ||
16748 | maintainer-clean-zip: | |
16749 | @[ -f ./zip/Makefile ] || exit 0; \ | |
16750 | r=`${PWD}`; export r; \ | |
16751 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16752 | $(SET_LIB_PATH) \ | |
16753 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16754 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16755 | done; \ | |
16756 | echo "Doing maintainer-clean in zip" ; \ | |
16757 | (cd zip && \ | |
16758 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16759 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16760 | "RANLIB=$${RANLIB}" \ | |
16761 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16762 | maintainer-clean) \ | |
16763 | || exit 1 | |
16764 | ||
16765 | ||
16766 | .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib | |
16767 | maybe-maintainer-clean-zlib: | |
16768 | ||
16769 | maintainer-clean-zlib: | |
16770 | @[ -f ./zlib/Makefile ] || exit 0; \ | |
16771 | r=`${PWD}`; export r; \ | |
16772 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16773 | $(SET_LIB_PATH) \ | |
16774 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16775 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16776 | done; \ | |
16777 | echo "Doing maintainer-clean in zlib" ; \ | |
16778 | (cd zlib && \ | |
16779 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16780 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16781 | "RANLIB=$${RANLIB}" \ | |
16782 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16783 | maintainer-clean) \ | |
16784 | || exit 1 | |
16785 | ||
16786 | ||
16787 | .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb | |
16788 | maybe-maintainer-clean-gdb: | |
16789 | ||
16790 | maintainer-clean-gdb: | |
16791 | @[ -f ./gdb/Makefile ] || exit 0; \ | |
16792 | r=`${PWD}`; export r; \ | |
16793 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16794 | $(SET_LIB_PATH) \ | |
16795 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16796 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16797 | done; \ | |
16798 | echo "Doing maintainer-clean in gdb" ; \ | |
16799 | (cd gdb && \ | |
16800 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16801 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16802 | "RANLIB=$${RANLIB}" \ | |
16803 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16804 | maintainer-clean) \ | |
16805 | || exit 1 | |
16806 | ||
16807 | ||
16808 | .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect | |
16809 | maybe-maintainer-clean-expect: | |
16810 | ||
16811 | maintainer-clean-expect: | |
16812 | @[ -f ./expect/Makefile ] || exit 0; \ | |
16813 | r=`${PWD}`; export r; \ | |
16814 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16815 | $(SET_LIB_PATH) \ | |
16816 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16817 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16818 | done; \ | |
16819 | echo "Doing maintainer-clean in expect" ; \ | |
16820 | (cd expect && \ | |
16821 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16822 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16823 | "RANLIB=$${RANLIB}" \ | |
16824 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16825 | maintainer-clean) \ | |
16826 | || exit 1 | |
16827 | ||
16828 | ||
16829 | .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile | |
16830 | maybe-maintainer-clean-guile: | |
16831 | ||
16832 | maintainer-clean-guile: | |
16833 | @[ -f ./guile/Makefile ] || exit 0; \ | |
16834 | r=`${PWD}`; export r; \ | |
16835 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16836 | $(SET_LIB_PATH) \ | |
16837 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16838 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16839 | done; \ | |
16840 | echo "Doing maintainer-clean in guile" ; \ | |
16841 | (cd guile && \ | |
16842 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16843 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16844 | "RANLIB=$${RANLIB}" \ | |
16845 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16846 | maintainer-clean) \ | |
16847 | || exit 1 | |
16848 | ||
16849 | ||
16850 | .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk | |
16851 | maybe-maintainer-clean-tk: | |
16852 | ||
16853 | maintainer-clean-tk: | |
16854 | @[ -f ./tk/Makefile ] || exit 0; \ | |
16855 | r=`${PWD}`; export r; \ | |
16856 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16857 | $(SET_LIB_PATH) \ | |
16858 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16859 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16860 | done; \ | |
16861 | echo "Doing maintainer-clean in tk" ; \ | |
16862 | (cd tk && \ | |
16863 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16864 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16865 | "RANLIB=$${RANLIB}" \ | |
16866 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16867 | maintainer-clean) \ | |
16868 | || exit 1 | |
16869 | ||
16870 | ||
16871 | .PHONY: maybe-maintainer-clean-tix maintainer-clean-tix | |
16872 | maybe-maintainer-clean-tix: | |
16873 | ||
16874 | maintainer-clean-tix: | |
16875 | @[ -f ./tix/Makefile ] || exit 0; \ | |
16876 | r=`${PWD}`; export r; \ | |
16877 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16878 | $(SET_LIB_PATH) \ | |
16879 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16880 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16881 | done; \ | |
16882 | echo "Doing maintainer-clean in tix" ; \ | |
16883 | (cd tix && \ | |
16884 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16885 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16886 | "RANLIB=$${RANLIB}" \ | |
16887 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16888 | maintainer-clean) \ | |
16889 | || exit 1 | |
16890 | ||
16891 | ||
16892 | .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap | |
16893 | maybe-maintainer-clean-libtermcap: | |
16894 | ||
16895 | # libtermcap doesn't support maintainer-clean. | |
16896 | maintainer-clean-libtermcap: | |
16897 | ||
16898 | ||
16899 | .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils | |
16900 | maybe-maintainer-clean-utils: | |
16901 | ||
16902 | maintainer-clean-utils: | |
16903 | @[ -f ./utils/Makefile ] || exit 0; \ | |
16904 | r=`${PWD}`; export r; \ | |
16905 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16906 | $(SET_LIB_PATH) \ | |
16907 | for flag in $(EXTRA_HOST_FLAGS); do \ | |
16908 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16909 | done; \ | |
16910 | echo "Doing maintainer-clean in utils" ; \ | |
16911 | (cd utils && \ | |
16912 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16913 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16914 | "RANLIB=$${RANLIB}" \ | |
16915 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16916 | maintainer-clean) \ | |
16917 | || exit 1 | |
16918 | ||
16919 | ||
16920 | ||
16921 | # Target modules. | |
16922 | ||
16923 | .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3 | |
16924 | maybe-maintainer-clean-target-libstdc++-v3: | |
16925 | ||
16926 | maintainer-clean-target-libstdc++-v3: | |
16927 | @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ | |
16928 | r=`${PWD}`; export r; \ | |
16929 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16930 | $(SET_LIB_PATH) \ | |
16931 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \ | |
16932 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
16933 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16934 | done; \ | |
16935 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
16936 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16937 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16938 | "RANLIB=$${RANLIB}" \ | |
16939 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16940 | maintainer-clean) \ | |
16941 | || exit 1 | |
16942 | ||
16943 | ||
16944 | .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib | |
16945 | maybe-maintainer-clean-target-newlib: | |
16946 | ||
16947 | maintainer-clean-target-newlib: | |
16948 | @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ | |
16949 | r=`${PWD}`; export r; \ | |
16950 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16951 | $(SET_LIB_PATH) \ | |
16952 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \ | |
16953 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
16954 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16955 | done; \ | |
16956 | (cd $(TARGET_SUBDIR)/newlib && \ | |
16957 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16958 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16959 | "RANLIB=$${RANLIB}" \ | |
16960 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16961 | maintainer-clean) \ | |
16962 | || exit 1 | |
16963 | ||
16964 | ||
16965 | .PHONY: maybe-maintainer-clean-target-libf2c maintainer-clean-target-libf2c | |
16966 | maybe-maintainer-clean-target-libf2c: | |
16967 | ||
16968 | maintainer-clean-target-libf2c: | |
16969 | @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \ | |
16970 | r=`${PWD}`; export r; \ | |
16971 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16972 | $(SET_LIB_PATH) \ | |
16973 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libf2c" ; \ | |
16974 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
16975 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16976 | done; \ | |
16977 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
16978 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
16979 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
16980 | "RANLIB=$${RANLIB}" \ | |
16981 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
16982 | maintainer-clean) \ | |
16983 | || exit 1 | |
16984 | ||
16985 | ||
16986 | .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc | |
16987 | maybe-maintainer-clean-target-libobjc: | |
16988 | ||
16989 | maintainer-clean-target-libobjc: | |
16990 | @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ | |
16991 | r=`${PWD}`; export r; \ | |
16992 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
16993 | $(SET_LIB_PATH) \ | |
16994 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \ | |
16995 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
16996 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
16997 | done; \ | |
16998 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
16999 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
17000 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
17001 | "RANLIB=$${RANLIB}" \ | |
17002 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
17003 | maintainer-clean) \ | |
17004 | || exit 1 | |
17005 | ||
17006 | ||
17007 | .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap | |
17008 | maybe-maintainer-clean-target-libtermcap: | |
17009 | ||
17010 | # libtermcap doesn't support maintainer-clean. | |
123494c8 | 17011 | maintainer-clean-target-libtermcap: |
2a4cbe27 NN |
17012 | |
17013 | ||
17014 | .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup | |
17015 | maybe-maintainer-clean-target-winsup: | |
17016 | ||
17017 | maintainer-clean-target-winsup: | |
17018 | @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ | |
17019 | r=`${PWD}`; export r; \ | |
17020 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
17021 | $(SET_LIB_PATH) \ | |
17022 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \ | |
17023 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
17024 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
17025 | done; \ | |
17026 | (cd $(TARGET_SUBDIR)/winsup && \ | |
17027 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
17028 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
17029 | "RANLIB=$${RANLIB}" \ | |
17030 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
17031 | maintainer-clean) \ | |
17032 | || exit 1 | |
17033 | ||
17034 | ||
17035 | .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss | |
17036 | maybe-maintainer-clean-target-libgloss: | |
17037 | ||
17038 | maintainer-clean-target-libgloss: | |
17039 | @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ | |
17040 | r=`${PWD}`; export r; \ | |
17041 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
17042 | $(SET_LIB_PATH) \ | |
17043 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \ | |
17044 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
17045 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
17046 | done; \ | |
17047 | (cd $(TARGET_SUBDIR)/libgloss && \ | |
17048 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
17049 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
17050 | "RANLIB=$${RANLIB}" \ | |
17051 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
17052 | maintainer-clean) \ | |
17053 | || exit 1 | |
17054 | ||
17055 | ||
17056 | .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty | |
17057 | maybe-maintainer-clean-target-libiberty: | |
17058 | ||
17059 | maintainer-clean-target-libiberty: | |
17060 | @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \ | |
17061 | r=`${PWD}`; export r; \ | |
17062 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
17063 | $(SET_LIB_PATH) \ | |
17064 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \ | |
17065 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
17066 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
17067 | done; \ | |
17068 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
17069 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
17070 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
17071 | "RANLIB=$${RANLIB}" \ | |
17072 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
17073 | maintainer-clean) \ | |
17074 | || exit 1 | |
17075 | ||
17076 | ||
17077 | .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf | |
17078 | maybe-maintainer-clean-target-gperf: | |
17079 | ||
17080 | maintainer-clean-target-gperf: | |
17081 | @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \ | |
17082 | r=`${PWD}`; export r; \ | |
17083 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
17084 | $(SET_LIB_PATH) \ | |
17085 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \ | |
17086 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
17087 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
17088 | done; \ | |
17089 | (cd $(TARGET_SUBDIR)/gperf && \ | |
17090 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
17091 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
17092 | "RANLIB=$${RANLIB}" \ | |
17093 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
17094 | maintainer-clean) \ | |
17095 | || exit 1 | |
17096 | ||
17097 | ||
17098 | .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples | |
17099 | maybe-maintainer-clean-target-examples: | |
17100 | ||
17101 | maintainer-clean-target-examples: | |
17102 | @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \ | |
17103 | r=`${PWD}`; export r; \ | |
17104 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
17105 | $(SET_LIB_PATH) \ | |
17106 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \ | |
17107 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
17108 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
17109 | done; \ | |
17110 | (cd $(TARGET_SUBDIR)/examples && \ | |
17111 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
17112 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
17113 | "RANLIB=$${RANLIB}" \ | |
17114 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
17115 | maintainer-clean) \ | |
17116 | || exit 1 | |
17117 | ||
17118 | ||
17119 | .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi | |
17120 | maybe-maintainer-clean-target-libffi: | |
17121 | ||
17122 | maintainer-clean-target-libffi: | |
17123 | @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ | |
17124 | r=`${PWD}`; export r; \ | |
17125 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
17126 | $(SET_LIB_PATH) \ | |
17127 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \ | |
17128 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
17129 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
17130 | done; \ | |
17131 | (cd $(TARGET_SUBDIR)/libffi && \ | |
17132 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
17133 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
17134 | "RANLIB=$${RANLIB}" \ | |
17135 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
17136 | maintainer-clean) \ | |
17137 | || exit 1 | |
17138 | ||
17139 | ||
17140 | .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava | |
17141 | maybe-maintainer-clean-target-libjava: | |
17142 | ||
17143 | maintainer-clean-target-libjava: | |
17144 | @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ | |
17145 | r=`${PWD}`; export r; \ | |
17146 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
17147 | $(SET_LIB_PATH) \ | |
17148 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \ | |
17149 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
17150 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
17151 | done; \ | |
17152 | (cd $(TARGET_SUBDIR)/libjava && \ | |
17153 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
17154 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
17155 | "RANLIB=$${RANLIB}" \ | |
17156 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
17157 | maintainer-clean) \ | |
17158 | || exit 1 | |
17159 | ||
17160 | ||
17161 | .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib | |
17162 | maybe-maintainer-clean-target-zlib: | |
17163 | ||
17164 | maintainer-clean-target-zlib: | |
17165 | @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ | |
17166 | r=`${PWD}`; export r; \ | |
17167 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
17168 | $(SET_LIB_PATH) \ | |
17169 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \ | |
17170 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
17171 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
17172 | done; \ | |
17173 | (cd $(TARGET_SUBDIR)/zlib && \ | |
17174 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
17175 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
17176 | "RANLIB=$${RANLIB}" \ | |
17177 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
17178 | maintainer-clean) \ | |
17179 | || exit 1 | |
17180 | ||
17181 | ||
17182 | .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc | |
17183 | maybe-maintainer-clean-target-boehm-gc: | |
17184 | ||
17185 | maintainer-clean-target-boehm-gc: | |
17186 | @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ | |
17187 | r=`${PWD}`; export r; \ | |
17188 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
17189 | $(SET_LIB_PATH) \ | |
17190 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \ | |
17191 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
17192 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
17193 | done; \ | |
17194 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
17195 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
17196 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
17197 | "RANLIB=$${RANLIB}" \ | |
17198 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
17199 | maintainer-clean) \ | |
17200 | || exit 1 | |
17201 | ||
17202 | ||
17203 | .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads | |
17204 | maybe-maintainer-clean-target-qthreads: | |
17205 | ||
17206 | maintainer-clean-target-qthreads: | |
17207 | @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \ | |
17208 | r=`${PWD}`; export r; \ | |
17209 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
17210 | $(SET_LIB_PATH) \ | |
17211 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \ | |
17212 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
17213 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
17214 | done; \ | |
17215 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
17216 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
17217 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
17218 | "RANLIB=$${RANLIB}" \ | |
17219 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
17220 | maintainer-clean) \ | |
17221 | || exit 1 | |
17222 | ||
17223 | ||
17224 | .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda | |
17225 | maybe-maintainer-clean-target-rda: | |
17226 | ||
17227 | maintainer-clean-target-rda: | |
17228 | @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ | |
17229 | r=`${PWD}`; export r; \ | |
17230 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
17231 | $(SET_LIB_PATH) \ | |
17232 | echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \ | |
17233 | for flag in $(EXTRA_TARGET_FLAGS); do \ | |
17234 | eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ | |
17235 | done; \ | |
17236 | (cd $(TARGET_SUBDIR)/rda && \ | |
17237 | $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ | |
17238 | "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ | |
17239 | "RANLIB=$${RANLIB}" \ | |
17240 | "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ | |
17241 | maintainer-clean) \ | |
17242 | || exit 1 | |
17243 | ||
17244 | ||
17245 | ||
17246 | ||
17247 | # Here are the targets which correspond to the do-X targets. | |
17248 | ||
17249 | .PHONY: info installcheck dvi install-info | |
17250 | .PHONY: clean distclean mostlyclean maintainer-clean realclean | |
17251 | .PHONY: local-clean local-distclean local-maintainer-clean | |
17252 | info: do-info | |
17253 | installcheck: do-installcheck | |
17254 | dvi: do-dvi | |
17255 | ||
17256 | # Make sure makeinfo is built before we do a `make info', if we're | |
17257 | # in fact building texinfo. | |
17258 | do-info: maybe-all-texinfo | |
17259 | ||
17260 | install-info: do-install-info dir.info | |
17261 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
17262 | if [ -f dir.info ] ; then \ | |
17263 | $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \ | |
17264 | else true ; fi | |
17265 | ||
17266 | local-clean: | |
17267 | -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log | |
17268 | ||
17269 | local-distclean: | |
17270 | -rm -f Makefile config.status config.cache mh-frag mt-frag | |
17271 | -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp | |
17272 | -if [ "$(TARGET_SUBDIR)" != "." ]; then \ | |
17273 | rm -rf $(TARGET_SUBDIR); \ | |
17274 | else true; fi | |
17275 | -rm -rf $(BUILD_SUBDIR) | |
17276 | -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile | |
17277 | -rm -f texinfo/doc/Makefile texinfo/po/POTFILES | |
17278 | -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null | |
17279 | -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null | |
17280 | -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null | |
17281 | ||
17282 | local-maintainer-clean: | |
17283 | @echo "This command is intended for maintainers to use;" | |
17284 | @echo "it deletes files that may require special tools to rebuild." | |
17285 | ||
17286 | clean: do-clean local-clean | |
17287 | mostlyclean: do-mostlyclean local-clean | |
17288 | distclean: do-distclean local-clean local-distclean | |
17289 | maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean | |
17290 | maintainer-clean: local-distclean | |
17291 | realclean: maintainer-clean | |
252b5132 | 17292 | |
2a4cbe27 NN |
17293 | # Extra dependency for clean-target, owing to the mixed nature of gcc |
17294 | clean-target: clean-target-libgcc | |
5cec67bf AO |
17295 | clean-target-libgcc: |
17296 | test ! -d gcc/libgcc || \ | |
17297 | (cd gcc/libgcc && find . -type d -print) | \ | |
17298 | while read d; do rm -f gcc/$$d/libgcc.a || : ; done | |
17299 | -rm -rf gcc/libgcc | |
252b5132 RH |
17300 | |
17301 | # Check target. | |
17302 | ||
80413487 RH |
17303 | .PHONY: check do-check |
17304 | check: | |
17305 | $(MAKE) do-check NOTPARALLEL=parallel-ok | |
17306 | ||
3866be5d | 17307 | # Only include modules actually being configured and built. |
16ae0395 NN |
17308 | do-check: maybe-check-gcc \ |
17309 | maybe-check-ash \ | |
17310 | maybe-check-autoconf \ | |
17311 | maybe-check-automake \ | |
17312 | maybe-check-bash \ | |
17313 | maybe-check-bfd \ | |
17314 | maybe-check-opcodes \ | |
17315 | maybe-check-binutils \ | |
17316 | maybe-check-bison \ | |
17317 | maybe-check-byacc \ | |
17318 | maybe-check-bzip2 \ | |
17319 | maybe-check-dejagnu \ | |
17320 | maybe-check-diff \ | |
17321 | maybe-check-dosutils \ | |
17322 | maybe-check-etc \ | |
17323 | maybe-check-fastjar \ | |
17324 | maybe-check-fileutils \ | |
17325 | maybe-check-findutils \ | |
17326 | maybe-check-find \ | |
17327 | maybe-check-flex \ | |
17328 | maybe-check-gas \ | |
17329 | maybe-check-gawk \ | |
17330 | maybe-check-gettext \ | |
17331 | maybe-check-gnuserv \ | |
17332 | maybe-check-gprof \ | |
17333 | maybe-check-gzip \ | |
17334 | maybe-check-hello \ | |
17335 | maybe-check-indent \ | |
17336 | maybe-check-intl \ | |
17337 | maybe-check-tcl \ | |
17338 | maybe-check-itcl \ | |
17339 | maybe-check-ld \ | |
17340 | maybe-check-libgui \ | |
17341 | maybe-check-libiberty \ | |
17342 | maybe-check-libtool \ | |
17343 | maybe-check-m4 \ | |
17344 | maybe-check-make \ | |
17345 | maybe-check-mmalloc \ | |
17346 | maybe-check-patch \ | |
17347 | maybe-check-perl \ | |
17348 | maybe-check-prms \ | |
17349 | maybe-check-rcs \ | |
17350 | maybe-check-readline \ | |
17351 | maybe-check-release \ | |
17352 | maybe-check-recode \ | |
17353 | maybe-check-sed \ | |
17354 | maybe-check-send-pr \ | |
17355 | maybe-check-shellutils \ | |
17356 | maybe-check-sid \ | |
17357 | maybe-check-sim \ | |
17358 | maybe-check-tar \ | |
17359 | maybe-check-texinfo \ | |
17360 | maybe-check-textutils \ | |
17361 | maybe-check-time \ | |
17362 | maybe-check-uudecode \ | |
17363 | maybe-check-wdiff \ | |
17364 | maybe-check-zip \ | |
17365 | maybe-check-zlib \ | |
17366 | maybe-check-gdb \ | |
17367 | maybe-check-expect \ | |
17368 | maybe-check-guile \ | |
17369 | maybe-check-tk \ | |
17370 | maybe-check-tix \ | |
17371 | maybe-check-libtermcap \ | |
17372 | maybe-check-utils \ | |
17373 | maybe-check-target-libstdc++-v3 \ | |
17374 | maybe-check-target-newlib \ | |
17375 | maybe-check-target-libf2c \ | |
17376 | maybe-check-target-libobjc \ | |
17377 | maybe-check-target-libtermcap \ | |
17378 | maybe-check-target-winsup \ | |
17379 | maybe-check-target-libgloss \ | |
17380 | maybe-check-target-libiberty \ | |
17381 | maybe-check-target-gperf \ | |
17382 | maybe-check-target-examples \ | |
17383 | maybe-check-target-libffi \ | |
17384 | maybe-check-target-libjava \ | |
17385 | maybe-check-target-zlib \ | |
17386 | maybe-check-target-boehm-gc \ | |
17387 | maybe-check-target-qthreads \ | |
17388 | maybe-check-target-rda | |
252b5132 RH |
17389 | |
17390 | # Automated reporting of test results. | |
17391 | ||
17392 | warning.log: build.log | |
17393 | $(srcdir)/contrib/warn_summary build.log > $@ | |
17394 | ||
17395 | mail-report.log: | |
17396 | if test x'$(BOOT_CFLAGS)' != x''; then \ | |
17397 | BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \ | |
17398 | fi; \ | |
17399 | $(srcdir)/contrib/test_summary -t >$@ | |
17400 | chmod +x $@ | |
17401 | echo If you really want to send e-mail, run ./$@ now | |
17402 | ||
17403 | mail-report-with-warnings.log: warning.log | |
17404 | if test x'$(BOOT_CFLAGS)' != x''; then \ | |
17405 | BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \ | |
17406 | fi; \ | |
17407 | $(srcdir)/contrib/test_summary -t -i warning.log >$@ | |
17408 | chmod +x $@ | |
17409 | echo If you really want to send e-mail, run ./$@ now | |
17410 | ||
17411 | # Installation targets. | |
17412 | ||
ae831be5 | 17413 | .PHONY: install uninstall |
dd12c3a8 NN |
17414 | install: installdirs install-host install-target |
17415 | ||
16ae0395 NN |
17416 | .PHONY: install-host-nogcc |
17417 | install-host-nogcc: \ | |
17418 | maybe-install-ash \ | |
17419 | maybe-install-autoconf \ | |
17420 | maybe-install-automake \ | |
17421 | maybe-install-bash \ | |
17422 | maybe-install-bfd \ | |
17423 | maybe-install-opcodes \ | |
17424 | maybe-install-binutils \ | |
17425 | maybe-install-bison \ | |
17426 | maybe-install-byacc \ | |
17427 | maybe-install-bzip2 \ | |
17428 | maybe-install-dejagnu \ | |
17429 | maybe-install-diff \ | |
17430 | maybe-install-dosutils \ | |
17431 | maybe-install-etc \ | |
17432 | maybe-install-fastjar \ | |
17433 | maybe-install-fileutils \ | |
17434 | maybe-install-findutils \ | |
17435 | maybe-install-find \ | |
17436 | maybe-install-flex \ | |
17437 | maybe-install-gas \ | |
17438 | maybe-install-gawk \ | |
17439 | maybe-install-gettext \ | |
17440 | maybe-install-gnuserv \ | |
17441 | maybe-install-gprof \ | |
17442 | maybe-install-gzip \ | |
17443 | maybe-install-hello \ | |
17444 | maybe-install-indent \ | |
17445 | maybe-install-intl \ | |
17446 | maybe-install-tcl \ | |
17447 | maybe-install-itcl \ | |
17448 | maybe-install-ld \ | |
17449 | maybe-install-libgui \ | |
17450 | maybe-install-libiberty \ | |
17451 | maybe-install-libtool \ | |
17452 | maybe-install-m4 \ | |
17453 | maybe-install-make \ | |
17454 | maybe-install-mmalloc \ | |
17455 | maybe-install-patch \ | |
17456 | maybe-install-perl \ | |
17457 | maybe-install-prms \ | |
17458 | maybe-install-rcs \ | |
17459 | maybe-install-readline \ | |
17460 | maybe-install-release \ | |
17461 | maybe-install-recode \ | |
17462 | maybe-install-sed \ | |
17463 | maybe-install-send-pr \ | |
17464 | maybe-install-shellutils \ | |
17465 | maybe-install-sid \ | |
17466 | maybe-install-sim \ | |
17467 | maybe-install-tar \ | |
17468 | maybe-install-texinfo \ | |
17469 | maybe-install-textutils \ | |
17470 | maybe-install-time \ | |
17471 | maybe-install-uudecode \ | |
17472 | maybe-install-wdiff \ | |
17473 | maybe-install-zip \ | |
17474 | maybe-install-zlib \ | |
17475 | maybe-install-gdb \ | |
17476 | maybe-install-expect \ | |
17477 | maybe-install-guile \ | |
17478 | maybe-install-tk \ | |
17479 | maybe-install-tix \ | |
17480 | maybe-install-libtermcap \ | |
17481 | maybe-install-utils | |
17482 | ||
dd12c3a8 NN |
17483 | .PHONY: install-host |
17484 | install-host: maybe-install-gcc \ | |
17485 | maybe-install-ash \ | |
17486 | maybe-install-autoconf \ | |
17487 | maybe-install-automake \ | |
17488 | maybe-install-bash \ | |
17489 | maybe-install-bfd \ | |
17490 | maybe-install-opcodes \ | |
17491 | maybe-install-binutils \ | |
17492 | maybe-install-bison \ | |
17493 | maybe-install-byacc \ | |
17494 | maybe-install-bzip2 \ | |
17495 | maybe-install-dejagnu \ | |
17496 | maybe-install-diff \ | |
17497 | maybe-install-dosutils \ | |
17498 | maybe-install-etc \ | |
17499 | maybe-install-fastjar \ | |
17500 | maybe-install-fileutils \ | |
17501 | maybe-install-findutils \ | |
17502 | maybe-install-find \ | |
17503 | maybe-install-flex \ | |
17504 | maybe-install-gas \ | |
17505 | maybe-install-gawk \ | |
17506 | maybe-install-gettext \ | |
17507 | maybe-install-gnuserv \ | |
17508 | maybe-install-gprof \ | |
17509 | maybe-install-gzip \ | |
17510 | maybe-install-hello \ | |
17511 | maybe-install-indent \ | |
17512 | maybe-install-intl \ | |
17513 | maybe-install-tcl \ | |
17514 | maybe-install-itcl \ | |
17515 | maybe-install-ld \ | |
17516 | maybe-install-libgui \ | |
17517 | maybe-install-libiberty \ | |
17518 | maybe-install-libtool \ | |
17519 | maybe-install-m4 \ | |
17520 | maybe-install-make \ | |
17521 | maybe-install-mmalloc \ | |
17522 | maybe-install-patch \ | |
17523 | maybe-install-perl \ | |
17524 | maybe-install-prms \ | |
17525 | maybe-install-rcs \ | |
17526 | maybe-install-readline \ | |
17527 | maybe-install-release \ | |
17528 | maybe-install-recode \ | |
17529 | maybe-install-sed \ | |
17530 | maybe-install-send-pr \ | |
17531 | maybe-install-shellutils \ | |
17532 | maybe-install-sid \ | |
17533 | maybe-install-sim \ | |
17534 | maybe-install-tar \ | |
17535 | maybe-install-texinfo \ | |
17536 | maybe-install-textutils \ | |
17537 | maybe-install-time \ | |
17538 | maybe-install-uudecode \ | |
17539 | maybe-install-wdiff \ | |
17540 | maybe-install-zip \ | |
17541 | maybe-install-zlib \ | |
17542 | maybe-install-gdb \ | |
17543 | maybe-install-expect \ | |
17544 | maybe-install-guile \ | |
17545 | maybe-install-tk \ | |
17546 | maybe-install-tix \ | |
17547 | maybe-install-libtermcap \ | |
17548 | maybe-install-utils | |
16ae0395 | 17549 | |
dd12c3a8 NN |
17550 | .PHONY: install-target |
17551 | install-target: \ | |
17552 | maybe-install-target-libstdc++-v3 \ | |
17553 | maybe-install-target-newlib \ | |
17554 | maybe-install-target-libf2c \ | |
17555 | maybe-install-target-libobjc \ | |
17556 | maybe-install-target-libtermcap \ | |
17557 | maybe-install-target-winsup \ | |
17558 | maybe-install-target-libgloss \ | |
17559 | maybe-install-target-libiberty \ | |
17560 | maybe-install-target-gperf \ | |
17561 | maybe-install-target-examples \ | |
17562 | maybe-install-target-libffi \ | |
17563 | maybe-install-target-libjava \ | |
17564 | maybe-install-target-zlib \ | |
17565 | maybe-install-target-boehm-gc \ | |
17566 | maybe-install-target-qthreads \ | |
17567 | maybe-install-target-rda | |
252b5132 RH |
17568 | |
17569 | uninstall: | |
17570 | @echo "the uninstall target is not supported in this tree" | |
17571 | ||
3866be5d NN |
17572 | .PHONY: install.all |
17573 | install.all: install-no-fixedincludes | |
17574 | @if [ -f ./gcc/Makefile ] ; then \ | |
17575 | r=`${PWD}` ; export r ; \ | |
17576 | $(SET_LIB_PATH) \ | |
1086bc09 | 17577 | (cd ./gcc && \ |
3866be5d NN |
17578 | $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \ |
17579 | else \ | |
17580 | true ; \ | |
17581 | fi | |
17582 | ||
17583 | # install-no-fixedincludes is used because Cygnus can not distribute | |
17584 | # the fixed header files. | |
17585 | .PHONY: install-no-fixedincludes | |
16ae0395 | 17586 | install-no-fixedincludes: installdirs install-host-nogcc \ |
dd12c3a8 | 17587 | install-target gcc-no-fixedincludes |
3866be5d | 17588 | |
15723a45 | 17589 | ### other supporting targets |
3866be5d | 17590 | |
15723a45 NN |
17591 | MAKEDIRS= \ |
17592 | $(DESTDIR)$(prefix) \ | |
17593 | $(DESTDIR)$(exec_prefix) | |
17594 | .PHONY: installdirs | |
17595 | installdirs: mkinstalldirs | |
17596 | $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS) | |
3866be5d | 17597 | |
15723a45 NN |
17598 | dir.info: do-install-info |
17599 | if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \ | |
497f816e | 17600 | $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \ |
15723a45 NN |
17601 | mv -f dir.info.new dir.info ; \ |
17602 | else true ; \ | |
3866be5d NN |
17603 | fi |
17604 | ||
15723a45 NN |
17605 | dist: |
17606 | @echo "Building a full distribution of this tree isn't done" | |
17607 | @echo "via 'make dist'. Check out the etc/ subdirectory" | |
17608 | ||
17609 | etags tags: TAGS | |
17610 | ||
17611 | # Right now this just builds TAGS in each subdirectory. emacs19 has the | |
17612 | # ability to use several tags files at once, so there is probably no need | |
17613 | # to combine them into one big TAGS file (like CVS 1.3 does). We could | |
17614 | # (if we felt like it) have this Makefile write a piece of elisp which | |
17615 | # the user could load to tell emacs19 where all the TAGS files we just | |
17616 | # built are. | |
17617 | TAGS: do-TAGS | |
17618 | ||
15723a45 NN |
17619 | # -------------------------------------- |
17620 | # Modules which run on the build machine | |
17621 | # -------------------------------------- | |
17622 | ||
930314a4 NN |
17623 | .PHONY: configure-build-libiberty maybe-configure-build-libiberty |
17624 | maybe-configure-build-libiberty: | |
e6bfb94a AO |
17625 | configure-build-libiberty: |
17626 | @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \ | |
bba45b8b NN |
17627 | [ -d $(BUILD_SUBDIR)/libiberty ] || \ |
17628 | mkdir $(BUILD_SUBDIR)/libiberty;\ | |
17629 | r=`${PWD}`; export r; \ | |
17630 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
17631 | AR="$(AR_FOR_BUILD)"; export AR; \ | |
17632 | AS="$(AS_FOR_BUILD)"; export AS; \ | |
17633 | CC="$(CC_FOR_BUILD)"; export CC; \ | |
17634 | CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \ | |
17635 | CXX="$(CXX_FOR_BUILD)"; export CXX; \ | |
17636 | CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \ | |
17637 | GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \ | |
17638 | DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \ | |
17639 | LD="$(LD_FOR_BUILD)"; export LD; \ | |
17640 | LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \ | |
17641 | NM="$(NM_FOR_BUILD)"; export NM; \ | |
17642 | RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \ | |
17643 | WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \ | |
17644 | echo Configuring in $(BUILD_SUBDIR)/libiberty; \ | |
17645 | cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \ | |
17646 | case $(srcdir) in \ | |
17647 | /* | [A-Za-z]:[\\/]*) \ | |
17648 | topdir=$(srcdir) ;; \ | |
17649 | *) \ | |
17650 | case "$(BUILD_SUBDIR)" in \ | |
3866be5d NN |
17651 | .) topdir="../$(srcdir)" ;; \ |
17652 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
17653 | esac ;; \ |
17654 | esac; \ | |
17655 | if [ "$(srcdir)" = "." ] ; then \ | |
17656 | if [ "$(BUILD_SUBDIR)" != "." ] ; then \ | |
17657 | if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \ | |
17658 | if [ -f Makefile ]; then \ | |
17659 | if $(MAKE) distclean; then \ | |
17660 | true; \ | |
17661 | else \ | |
17662 | exit 1; \ | |
17663 | fi; \ | |
3866be5d | 17664 | else \ |
bba45b8b | 17665 | true; \ |
3866be5d | 17666 | fi; \ |
3866be5d | 17667 | else \ |
bba45b8b | 17668 | exit 1; \ |
3866be5d | 17669 | fi; \ |
bba45b8b NN |
17670 | else \ |
17671 | true; \ | |
17672 | fi; \ | |
17673 | srcdiroption="--srcdir=."; \ | |
17674 | libsrcdir="."; \ | |
17675 | else \ | |
17676 | srcdiroption="--srcdir=$${topdir}/libiberty"; \ | |
17677 | libsrcdir="$$s/libiberty"; \ | |
17678 | fi; \ | |
17679 | rm -f no-such-file || : ; \ | |
17680 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
17681 | $(BUILD_CONFIGARGS) $${srcdiroption} \ | |
17682 | --with-build-subdir="$(BUILD_SUBDIR)" \ | |
17683 | || exit 1 | |
15723a45 NN |
17684 | |
17685 | .PHONY: all-build-libiberty maybe-all-build-libiberty | |
17686 | maybe-all-build-libiberty: | |
17687 | all-build-libiberty: configure-build-libiberty | |
17688 | @r=`${PWD}`; export r; \ | |
bba45b8b NN |
17689 | s=`cd $(srcdir); ${PWD}`; export s; \ |
17690 | (cd $(BUILD_SUBDIR)/libiberty && $(MAKE) all) | |
3866be5d NN |
17691 | |
17692 | ||
15723a45 NN |
17693 | # -------------------------------------- |
17694 | # Modules which run on the host machine | |
17695 | # -------------------------------------- | |
3866be5d | 17696 | |
e2b9e2dc NN |
17697 | .PHONY: configure-ash maybe-configure-ash |
17698 | maybe-configure-ash: | |
e6bfb94a AO |
17699 | configure-ash: |
17700 | @test ! -f ash/Makefile || exit 0; \ | |
17701 | [ -d ash ] || mkdir ash; \ | |
e2b9e2dc NN |
17702 | r=`${PWD}`; export r; \ |
17703 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
17704 | CC="$(CC)"; export CC; \ | |
17705 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
17706 | CXX="$(CXX)"; export CXX; \ | |
17707 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
17708 | AR="$(AR)"; export AR; \ |
17709 | AS="$(AS)"; export AS; \ | |
17710 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
17711 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
17712 | LD="$(LD)"; export LD; \ | |
17713 | NM="$(NM)"; export NM; \ | |
17714 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
17715 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
17716 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
17717 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
17718 | echo Configuring in ash; \ |
17719 | cd ash || exit 1; \ | |
17720 | case $(srcdir) in \ | |
17721 | \.) \ | |
17722 | srcdiroption="--srcdir=."; \ | |
17723 | libsrcdir=".";; \ | |
17724 | /* | [A-Za-z]:[\\/]*) \ | |
17725 | srcdiroption="--srcdir=$(srcdir)/ash"; \ | |
17726 | libsrcdir="$$s/ash";; \ | |
17727 | *) \ | |
17728 | srcdiroption="--srcdir=../$(srcdir)/ash"; \ | |
17729 | libsrcdir="$$s/ash";; \ | |
17730 | esac; \ | |
17731 | $(SHELL) $${libsrcdir}/configure \ | |
17732 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
17733 | || exit 1 | |
17734 | ||
930314a4 NN |
17735 | .PHONY: all-ash maybe-all-ash |
17736 | maybe-all-ash: | |
db1ac78d | 17737 | all-ash: configure-ash |
930314a4 | 17738 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
17739 | s=`cd $(srcdir); ${PWD}`; export s; \ |
17740 | $(SET_LIB_PATH) \ | |
17741 | (cd ash && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 17742 | |
16ae0395 NN |
17743 | .PHONY: check-ash maybe-check-ash |
17744 | maybe-check-ash: | |
3866be5d | 17745 | |
3866be5d | 17746 | check-ash: |
930314a4 | 17747 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
17748 | s=`cd $(srcdir); ${PWD}`; export s; \ |
17749 | $(SET_LIB_PATH) \ | |
17750 | (cd ash && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
17751 | |
17752 | ||
930314a4 NN |
17753 | .PHONY: install-ash maybe-install-ash |
17754 | maybe-install-ash: | |
16ae0395 | 17755 | |
3866be5d | 17756 | install-ash: installdirs |
930314a4 | 17757 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
17758 | s=`cd $(srcdir); ${PWD}`; export s; \ |
17759 | $(SET_LIB_PATH) \ | |
17760 | (cd ash && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
17761 | |
17762 | ||
e2b9e2dc NN |
17763 | .PHONY: configure-autoconf maybe-configure-autoconf |
17764 | maybe-configure-autoconf: | |
e6bfb94a AO |
17765 | configure-autoconf: |
17766 | @test ! -f autoconf/Makefile || exit 0; \ | |
17767 | [ -d autoconf ] || mkdir autoconf; \ | |
e2b9e2dc NN |
17768 | r=`${PWD}`; export r; \ |
17769 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
17770 | CC="$(CC)"; export CC; \ | |
17771 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
17772 | CXX="$(CXX)"; export CXX; \ | |
17773 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
17774 | AR="$(AR)"; export AR; \ |
17775 | AS="$(AS)"; export AS; \ | |
17776 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
17777 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
17778 | LD="$(LD)"; export LD; \ | |
17779 | NM="$(NM)"; export NM; \ | |
17780 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
17781 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
17782 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
17783 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
17784 | echo Configuring in autoconf; \ |
17785 | cd autoconf || exit 1; \ | |
17786 | case $(srcdir) in \ | |
17787 | \.) \ | |
17788 | srcdiroption="--srcdir=."; \ | |
17789 | libsrcdir=".";; \ | |
17790 | /* | [A-Za-z]:[\\/]*) \ | |
17791 | srcdiroption="--srcdir=$(srcdir)/autoconf"; \ | |
17792 | libsrcdir="$$s/autoconf";; \ | |
17793 | *) \ | |
17794 | srcdiroption="--srcdir=../$(srcdir)/autoconf"; \ | |
17795 | libsrcdir="$$s/autoconf";; \ | |
17796 | esac; \ | |
17797 | $(SHELL) $${libsrcdir}/configure \ | |
17798 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
17799 | || exit 1 | |
17800 | ||
930314a4 NN |
17801 | .PHONY: all-autoconf maybe-all-autoconf |
17802 | maybe-all-autoconf: | |
db1ac78d | 17803 | all-autoconf: configure-autoconf |
930314a4 | 17804 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
17805 | s=`cd $(srcdir); ${PWD}`; export s; \ |
17806 | $(SET_LIB_PATH) \ | |
17807 | (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 17808 | |
16ae0395 NN |
17809 | .PHONY: check-autoconf maybe-check-autoconf |
17810 | maybe-check-autoconf: | |
3866be5d | 17811 | |
3866be5d | 17812 | check-autoconf: |
930314a4 | 17813 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
17814 | s=`cd $(srcdir); ${PWD}`; export s; \ |
17815 | $(SET_LIB_PATH) \ | |
17816 | (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
17817 | |
17818 | ||
930314a4 NN |
17819 | .PHONY: install-autoconf maybe-install-autoconf |
17820 | maybe-install-autoconf: | |
16ae0395 | 17821 | |
3866be5d | 17822 | install-autoconf: installdirs |
930314a4 | 17823 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
17824 | s=`cd $(srcdir); ${PWD}`; export s; \ |
17825 | $(SET_LIB_PATH) \ | |
17826 | (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
17827 | |
17828 | ||
e2b9e2dc NN |
17829 | .PHONY: configure-automake maybe-configure-automake |
17830 | maybe-configure-automake: | |
e6bfb94a AO |
17831 | configure-automake: |
17832 | @test ! -f automake/Makefile || exit 0; \ | |
17833 | [ -d automake ] || mkdir automake; \ | |
e2b9e2dc NN |
17834 | r=`${PWD}`; export r; \ |
17835 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
17836 | CC="$(CC)"; export CC; \ | |
17837 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
17838 | CXX="$(CXX)"; export CXX; \ | |
17839 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
17840 | AR="$(AR)"; export AR; \ |
17841 | AS="$(AS)"; export AS; \ | |
17842 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
17843 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
17844 | LD="$(LD)"; export LD; \ | |
17845 | NM="$(NM)"; export NM; \ | |
17846 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
17847 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
17848 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
17849 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
17850 | echo Configuring in automake; \ |
17851 | cd automake || exit 1; \ | |
17852 | case $(srcdir) in \ | |
17853 | \.) \ | |
17854 | srcdiroption="--srcdir=."; \ | |
17855 | libsrcdir=".";; \ | |
17856 | /* | [A-Za-z]:[\\/]*) \ | |
17857 | srcdiroption="--srcdir=$(srcdir)/automake"; \ | |
17858 | libsrcdir="$$s/automake";; \ | |
17859 | *) \ | |
17860 | srcdiroption="--srcdir=../$(srcdir)/automake"; \ | |
17861 | libsrcdir="$$s/automake";; \ | |
17862 | esac; \ | |
17863 | $(SHELL) $${libsrcdir}/configure \ | |
17864 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
17865 | || exit 1 | |
17866 | ||
930314a4 NN |
17867 | .PHONY: all-automake maybe-all-automake |
17868 | maybe-all-automake: | |
db1ac78d | 17869 | all-automake: configure-automake |
930314a4 | 17870 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
17871 | s=`cd $(srcdir); ${PWD}`; export s; \ |
17872 | $(SET_LIB_PATH) \ | |
17873 | (cd automake && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 17874 | |
16ae0395 NN |
17875 | .PHONY: check-automake maybe-check-automake |
17876 | maybe-check-automake: | |
3866be5d | 17877 | |
3866be5d | 17878 | check-automake: |
930314a4 | 17879 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
17880 | s=`cd $(srcdir); ${PWD}`; export s; \ |
17881 | $(SET_LIB_PATH) \ | |
17882 | (cd automake && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
17883 | |
17884 | ||
930314a4 NN |
17885 | .PHONY: install-automake maybe-install-automake |
17886 | maybe-install-automake: | |
16ae0395 | 17887 | |
3866be5d | 17888 | install-automake: installdirs |
930314a4 | 17889 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
17890 | s=`cd $(srcdir); ${PWD}`; export s; \ |
17891 | $(SET_LIB_PATH) \ | |
17892 | (cd automake && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
17893 | |
17894 | ||
e2b9e2dc NN |
17895 | .PHONY: configure-bash maybe-configure-bash |
17896 | maybe-configure-bash: | |
e6bfb94a AO |
17897 | configure-bash: |
17898 | @test ! -f bash/Makefile || exit 0; \ | |
17899 | [ -d bash ] || mkdir bash; \ | |
e2b9e2dc NN |
17900 | r=`${PWD}`; export r; \ |
17901 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
17902 | CC="$(CC)"; export CC; \ | |
17903 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
17904 | CXX="$(CXX)"; export CXX; \ | |
17905 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
17906 | AR="$(AR)"; export AR; \ |
17907 | AS="$(AS)"; export AS; \ | |
17908 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
17909 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
17910 | LD="$(LD)"; export LD; \ | |
17911 | NM="$(NM)"; export NM; \ | |
17912 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
17913 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
17914 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
17915 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
17916 | echo Configuring in bash; \ |
17917 | cd bash || exit 1; \ | |
17918 | case $(srcdir) in \ | |
17919 | \.) \ | |
17920 | srcdiroption="--srcdir=."; \ | |
17921 | libsrcdir=".";; \ | |
17922 | /* | [A-Za-z]:[\\/]*) \ | |
17923 | srcdiroption="--srcdir=$(srcdir)/bash"; \ | |
17924 | libsrcdir="$$s/bash";; \ | |
17925 | *) \ | |
17926 | srcdiroption="--srcdir=../$(srcdir)/bash"; \ | |
17927 | libsrcdir="$$s/bash";; \ | |
17928 | esac; \ | |
17929 | $(SHELL) $${libsrcdir}/configure \ | |
17930 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
17931 | || exit 1 | |
17932 | ||
930314a4 NN |
17933 | .PHONY: all-bash maybe-all-bash |
17934 | maybe-all-bash: | |
db1ac78d | 17935 | all-bash: configure-bash |
930314a4 | 17936 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
17937 | s=`cd $(srcdir); ${PWD}`; export s; \ |
17938 | $(SET_LIB_PATH) \ | |
17939 | (cd bash && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 17940 | |
16ae0395 NN |
17941 | .PHONY: check-bash maybe-check-bash |
17942 | maybe-check-bash: | |
3866be5d | 17943 | |
3866be5d | 17944 | check-bash: |
930314a4 | 17945 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
17946 | s=`cd $(srcdir); ${PWD}`; export s; \ |
17947 | $(SET_LIB_PATH) \ | |
17948 | (cd bash && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
17949 | |
17950 | ||
930314a4 NN |
17951 | .PHONY: install-bash maybe-install-bash |
17952 | maybe-install-bash: | |
16ae0395 | 17953 | |
3866be5d | 17954 | install-bash: installdirs |
930314a4 | 17955 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
17956 | s=`cd $(srcdir); ${PWD}`; export s; \ |
17957 | $(SET_LIB_PATH) \ | |
17958 | (cd bash && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
17959 | |
17960 | ||
e2b9e2dc NN |
17961 | .PHONY: configure-bfd maybe-configure-bfd |
17962 | maybe-configure-bfd: | |
e6bfb94a AO |
17963 | configure-bfd: |
17964 | @test ! -f bfd/Makefile || exit 0; \ | |
17965 | [ -d bfd ] || mkdir bfd; \ | |
e2b9e2dc NN |
17966 | r=`${PWD}`; export r; \ |
17967 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
17968 | CC="$(CC)"; export CC; \ | |
17969 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
17970 | CXX="$(CXX)"; export CXX; \ | |
17971 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
17972 | AR="$(AR)"; export AR; \ |
17973 | AS="$(AS)"; export AS; \ | |
17974 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
17975 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
17976 | LD="$(LD)"; export LD; \ | |
17977 | NM="$(NM)"; export NM; \ | |
17978 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
17979 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
17980 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
17981 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
17982 | echo Configuring in bfd; \ |
17983 | cd bfd || exit 1; \ | |
17984 | case $(srcdir) in \ | |
17985 | \.) \ | |
17986 | srcdiroption="--srcdir=."; \ | |
17987 | libsrcdir=".";; \ | |
17988 | /* | [A-Za-z]:[\\/]*) \ | |
17989 | srcdiroption="--srcdir=$(srcdir)/bfd"; \ | |
17990 | libsrcdir="$$s/bfd";; \ | |
17991 | *) \ | |
17992 | srcdiroption="--srcdir=../$(srcdir)/bfd"; \ | |
17993 | libsrcdir="$$s/bfd";; \ | |
17994 | esac; \ | |
17995 | $(SHELL) $${libsrcdir}/configure \ | |
17996 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
17997 | || exit 1 | |
17998 | ||
930314a4 NN |
17999 | .PHONY: all-bfd maybe-all-bfd |
18000 | maybe-all-bfd: | |
db1ac78d | 18001 | all-bfd: configure-bfd |
930314a4 | 18002 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18003 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18004 | $(SET_LIB_PATH) \ | |
18005 | (cd bfd && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18006 | |
16ae0395 NN |
18007 | .PHONY: check-bfd maybe-check-bfd |
18008 | maybe-check-bfd: | |
3866be5d | 18009 | |
3866be5d | 18010 | check-bfd: |
930314a4 | 18011 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18012 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18013 | $(SET_LIB_PATH) \ | |
18014 | (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
18015 | |
18016 | ||
930314a4 NN |
18017 | .PHONY: install-bfd maybe-install-bfd |
18018 | maybe-install-bfd: | |
16ae0395 | 18019 | |
3866be5d | 18020 | install-bfd: installdirs |
930314a4 | 18021 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18022 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18023 | $(SET_LIB_PATH) \ | |
18024 | (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18025 | |
18026 | ||
e2b9e2dc NN |
18027 | .PHONY: configure-opcodes maybe-configure-opcodes |
18028 | maybe-configure-opcodes: | |
e6bfb94a AO |
18029 | configure-opcodes: |
18030 | @test ! -f opcodes/Makefile || exit 0; \ | |
18031 | [ -d opcodes ] || mkdir opcodes; \ | |
e2b9e2dc NN |
18032 | r=`${PWD}`; export r; \ |
18033 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
18034 | CC="$(CC)"; export CC; \ | |
18035 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18036 | CXX="$(CXX)"; export CXX; \ | |
18037 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18038 | AR="$(AR)"; export AR; \ |
18039 | AS="$(AS)"; export AS; \ | |
18040 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18041 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18042 | LD="$(LD)"; export LD; \ | |
18043 | NM="$(NM)"; export NM; \ | |
18044 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18045 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18046 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18047 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18048 | echo Configuring in opcodes; \ |
18049 | cd opcodes || exit 1; \ | |
18050 | case $(srcdir) in \ | |
18051 | \.) \ | |
18052 | srcdiroption="--srcdir=."; \ | |
18053 | libsrcdir=".";; \ | |
18054 | /* | [A-Za-z]:[\\/]*) \ | |
18055 | srcdiroption="--srcdir=$(srcdir)/opcodes"; \ | |
18056 | libsrcdir="$$s/opcodes";; \ | |
18057 | *) \ | |
18058 | srcdiroption="--srcdir=../$(srcdir)/opcodes"; \ | |
18059 | libsrcdir="$$s/opcodes";; \ | |
18060 | esac; \ | |
18061 | $(SHELL) $${libsrcdir}/configure \ | |
18062 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18063 | || exit 1 | |
18064 | ||
930314a4 NN |
18065 | .PHONY: all-opcodes maybe-all-opcodes |
18066 | maybe-all-opcodes: | |
db1ac78d | 18067 | all-opcodes: configure-opcodes |
930314a4 | 18068 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18069 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18070 | $(SET_LIB_PATH) \ | |
18071 | (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18072 | |
16ae0395 NN |
18073 | .PHONY: check-opcodes maybe-check-opcodes |
18074 | maybe-check-opcodes: | |
3866be5d | 18075 | |
3866be5d | 18076 | check-opcodes: |
930314a4 | 18077 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18078 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18079 | $(SET_LIB_PATH) \ | |
18080 | (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
18081 | |
18082 | ||
930314a4 NN |
18083 | .PHONY: install-opcodes maybe-install-opcodes |
18084 | maybe-install-opcodes: | |
16ae0395 | 18085 | |
3866be5d | 18086 | install-opcodes: installdirs |
930314a4 | 18087 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18088 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18089 | $(SET_LIB_PATH) \ | |
18090 | (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18091 | |
18092 | ||
e2b9e2dc NN |
18093 | .PHONY: configure-binutils maybe-configure-binutils |
18094 | maybe-configure-binutils: | |
e6bfb94a AO |
18095 | configure-binutils: |
18096 | @test ! -f binutils/Makefile || exit 0; \ | |
18097 | [ -d binutils ] || mkdir binutils; \ | |
e2b9e2dc NN |
18098 | r=`${PWD}`; export r; \ |
18099 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
18100 | CC="$(CC)"; export CC; \ | |
18101 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18102 | CXX="$(CXX)"; export CXX; \ | |
18103 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18104 | AR="$(AR)"; export AR; \ |
18105 | AS="$(AS)"; export AS; \ | |
18106 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18107 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18108 | LD="$(LD)"; export LD; \ | |
18109 | NM="$(NM)"; export NM; \ | |
18110 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18111 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18112 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18113 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18114 | echo Configuring in binutils; \ |
18115 | cd binutils || exit 1; \ | |
18116 | case $(srcdir) in \ | |
18117 | \.) \ | |
18118 | srcdiroption="--srcdir=."; \ | |
18119 | libsrcdir=".";; \ | |
18120 | /* | [A-Za-z]:[\\/]*) \ | |
18121 | srcdiroption="--srcdir=$(srcdir)/binutils"; \ | |
18122 | libsrcdir="$$s/binutils";; \ | |
18123 | *) \ | |
18124 | srcdiroption="--srcdir=../$(srcdir)/binutils"; \ | |
18125 | libsrcdir="$$s/binutils";; \ | |
18126 | esac; \ | |
18127 | $(SHELL) $${libsrcdir}/configure \ | |
18128 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18129 | || exit 1 | |
18130 | ||
930314a4 NN |
18131 | .PHONY: all-binutils maybe-all-binutils |
18132 | maybe-all-binutils: | |
db1ac78d | 18133 | all-binutils: configure-binutils |
930314a4 | 18134 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18135 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18136 | $(SET_LIB_PATH) \ | |
18137 | (cd binutils && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18138 | |
16ae0395 NN |
18139 | .PHONY: check-binutils maybe-check-binutils |
18140 | maybe-check-binutils: | |
3866be5d | 18141 | |
3866be5d | 18142 | check-binutils: |
930314a4 | 18143 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18144 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18145 | $(SET_LIB_PATH) \ | |
18146 | (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
18147 | |
18148 | ||
930314a4 NN |
18149 | .PHONY: install-binutils maybe-install-binutils |
18150 | maybe-install-binutils: | |
16ae0395 | 18151 | |
3866be5d | 18152 | install-binutils: installdirs |
930314a4 | 18153 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18154 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18155 | $(SET_LIB_PATH) \ | |
18156 | (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18157 | |
18158 | ||
e2b9e2dc NN |
18159 | .PHONY: configure-bison maybe-configure-bison |
18160 | maybe-configure-bison: | |
e6bfb94a AO |
18161 | configure-bison: |
18162 | @test ! -f bison/Makefile || exit 0; \ | |
18163 | [ -d bison ] || mkdir bison; \ | |
e2b9e2dc NN |
18164 | r=`${PWD}`; export r; \ |
18165 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
18166 | CC="$(CC)"; export CC; \ | |
18167 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18168 | CXX="$(CXX)"; export CXX; \ | |
18169 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18170 | AR="$(AR)"; export AR; \ |
18171 | AS="$(AS)"; export AS; \ | |
18172 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18173 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18174 | LD="$(LD)"; export LD; \ | |
18175 | NM="$(NM)"; export NM; \ | |
18176 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18177 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18178 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18179 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18180 | echo Configuring in bison; \ |
18181 | cd bison || exit 1; \ | |
18182 | case $(srcdir) in \ | |
18183 | \.) \ | |
18184 | srcdiroption="--srcdir=."; \ | |
18185 | libsrcdir=".";; \ | |
18186 | /* | [A-Za-z]:[\\/]*) \ | |
18187 | srcdiroption="--srcdir=$(srcdir)/bison"; \ | |
18188 | libsrcdir="$$s/bison";; \ | |
18189 | *) \ | |
18190 | srcdiroption="--srcdir=../$(srcdir)/bison"; \ | |
18191 | libsrcdir="$$s/bison";; \ | |
18192 | esac; \ | |
18193 | $(SHELL) $${libsrcdir}/configure \ | |
18194 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18195 | || exit 1 | |
18196 | ||
930314a4 NN |
18197 | .PHONY: all-bison maybe-all-bison |
18198 | maybe-all-bison: | |
db1ac78d | 18199 | all-bison: configure-bison |
930314a4 | 18200 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18201 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18202 | $(SET_LIB_PATH) \ | |
18203 | (cd bison && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18204 | |
16ae0395 NN |
18205 | .PHONY: check-bison maybe-check-bison |
18206 | maybe-check-bison: | |
3866be5d | 18207 | |
3866be5d NN |
18208 | # This module is only tested in a native toolchain. |
18209 | check-bison: | |
18210 | @if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \ | |
bba45b8b NN |
18211 | r=`${PWD}`; export r; \ |
18212 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
18213 | $(SET_LIB_PATH) \ | |
18214 | (cd bison && $(MAKE) $(FLAGS_TO_PASS) check); \ | |
3866be5d NN |
18215 | fi |
18216 | ||
18217 | ||
930314a4 NN |
18218 | .PHONY: install-bison maybe-install-bison |
18219 | maybe-install-bison: | |
16ae0395 | 18220 | |
3866be5d | 18221 | install-bison: installdirs |
930314a4 | 18222 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18223 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18224 | $(SET_LIB_PATH) \ | |
18225 | (cd bison && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18226 | |
18227 | ||
e2b9e2dc NN |
18228 | .PHONY: configure-byacc maybe-configure-byacc |
18229 | maybe-configure-byacc: | |
e6bfb94a AO |
18230 | configure-byacc: |
18231 | @test ! -f byacc/Makefile || exit 0; \ | |
18232 | [ -d byacc ] || mkdir byacc; \ | |
e2b9e2dc NN |
18233 | r=`${PWD}`; export r; \ |
18234 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
18235 | CC="$(CC)"; export CC; \ | |
18236 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18237 | CXX="$(CXX)"; export CXX; \ | |
18238 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18239 | AR="$(AR)"; export AR; \ |
18240 | AS="$(AS)"; export AS; \ | |
18241 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18242 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18243 | LD="$(LD)"; export LD; \ | |
18244 | NM="$(NM)"; export NM; \ | |
18245 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18246 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18247 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18248 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18249 | echo Configuring in byacc; \ |
18250 | cd byacc || exit 1; \ | |
18251 | case $(srcdir) in \ | |
18252 | \.) \ | |
18253 | srcdiroption="--srcdir=."; \ | |
18254 | libsrcdir=".";; \ | |
18255 | /* | [A-Za-z]:[\\/]*) \ | |
18256 | srcdiroption="--srcdir=$(srcdir)/byacc"; \ | |
18257 | libsrcdir="$$s/byacc";; \ | |
18258 | *) \ | |
18259 | srcdiroption="--srcdir=../$(srcdir)/byacc"; \ | |
18260 | libsrcdir="$$s/byacc";; \ | |
18261 | esac; \ | |
18262 | $(SHELL) $${libsrcdir}/configure \ | |
18263 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18264 | || exit 1 | |
18265 | ||
930314a4 NN |
18266 | .PHONY: all-byacc maybe-all-byacc |
18267 | maybe-all-byacc: | |
db1ac78d | 18268 | all-byacc: configure-byacc |
930314a4 | 18269 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18270 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18271 | $(SET_LIB_PATH) \ | |
18272 | (cd byacc && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18273 | |
16ae0395 NN |
18274 | .PHONY: check-byacc maybe-check-byacc |
18275 | maybe-check-byacc: | |
3866be5d | 18276 | |
3866be5d NN |
18277 | # This module is only tested in a native toolchain. |
18278 | check-byacc: | |
18279 | @if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \ | |
bba45b8b NN |
18280 | r=`${PWD}`; export r; \ |
18281 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
18282 | $(SET_LIB_PATH) \ | |
18283 | (cd byacc && $(MAKE) $(FLAGS_TO_PASS) check); \ | |
3866be5d NN |
18284 | fi |
18285 | ||
18286 | ||
930314a4 NN |
18287 | .PHONY: install-byacc maybe-install-byacc |
18288 | maybe-install-byacc: | |
16ae0395 | 18289 | |
3866be5d | 18290 | install-byacc: installdirs |
930314a4 | 18291 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18292 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18293 | $(SET_LIB_PATH) \ | |
18294 | (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18295 | |
18296 | ||
e2b9e2dc NN |
18297 | .PHONY: configure-bzip2 maybe-configure-bzip2 |
18298 | maybe-configure-bzip2: | |
e6bfb94a AO |
18299 | configure-bzip2: |
18300 | @test ! -f bzip2/Makefile || exit 0; \ | |
18301 | [ -d bzip2 ] || mkdir bzip2; \ | |
e2b9e2dc NN |
18302 | r=`${PWD}`; export r; \ |
18303 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
18304 | CC="$(CC)"; export CC; \ | |
18305 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18306 | CXX="$(CXX)"; export CXX; \ | |
18307 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18308 | AR="$(AR)"; export AR; \ |
18309 | AS="$(AS)"; export AS; \ | |
18310 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18311 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18312 | LD="$(LD)"; export LD; \ | |
18313 | NM="$(NM)"; export NM; \ | |
18314 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18315 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18316 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18317 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18318 | echo Configuring in bzip2; \ |
18319 | cd bzip2 || exit 1; \ | |
18320 | case $(srcdir) in \ | |
18321 | \.) \ | |
18322 | srcdiroption="--srcdir=."; \ | |
18323 | libsrcdir=".";; \ | |
18324 | /* | [A-Za-z]:[\\/]*) \ | |
18325 | srcdiroption="--srcdir=$(srcdir)/bzip2"; \ | |
18326 | libsrcdir="$$s/bzip2";; \ | |
18327 | *) \ | |
18328 | srcdiroption="--srcdir=../$(srcdir)/bzip2"; \ | |
18329 | libsrcdir="$$s/bzip2";; \ | |
18330 | esac; \ | |
18331 | $(SHELL) $${libsrcdir}/configure \ | |
18332 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18333 | || exit 1 | |
18334 | ||
930314a4 NN |
18335 | .PHONY: all-bzip2 maybe-all-bzip2 |
18336 | maybe-all-bzip2: | |
db1ac78d | 18337 | all-bzip2: configure-bzip2 |
930314a4 | 18338 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18339 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18340 | $(SET_LIB_PATH) \ | |
18341 | (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18342 | |
16ae0395 NN |
18343 | .PHONY: check-bzip2 maybe-check-bzip2 |
18344 | maybe-check-bzip2: | |
3866be5d | 18345 | |
3866be5d | 18346 | check-bzip2: |
930314a4 | 18347 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18348 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18349 | $(SET_LIB_PATH) \ | |
18350 | (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
18351 | |
18352 | ||
930314a4 NN |
18353 | .PHONY: install-bzip2 maybe-install-bzip2 |
18354 | maybe-install-bzip2: | |
16ae0395 | 18355 | |
3866be5d | 18356 | install-bzip2: installdirs |
930314a4 | 18357 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18358 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18359 | $(SET_LIB_PATH) \ | |
18360 | (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18361 | |
18362 | ||
e2b9e2dc NN |
18363 | .PHONY: configure-dejagnu maybe-configure-dejagnu |
18364 | maybe-configure-dejagnu: | |
e6bfb94a AO |
18365 | configure-dejagnu: |
18366 | @test ! -f dejagnu/Makefile || exit 0; \ | |
18367 | [ -d dejagnu ] || mkdir dejagnu; \ | |
e2b9e2dc NN |
18368 | r=`${PWD}`; export r; \ |
18369 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
18370 | CC="$(CC)"; export CC; \ | |
18371 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18372 | CXX="$(CXX)"; export CXX; \ | |
18373 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18374 | AR="$(AR)"; export AR; \ |
18375 | AS="$(AS)"; export AS; \ | |
18376 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18377 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18378 | LD="$(LD)"; export LD; \ | |
18379 | NM="$(NM)"; export NM; \ | |
18380 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18381 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18382 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18383 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18384 | echo Configuring in dejagnu; \ |
18385 | cd dejagnu || exit 1; \ | |
18386 | case $(srcdir) in \ | |
18387 | \.) \ | |
18388 | srcdiroption="--srcdir=."; \ | |
18389 | libsrcdir=".";; \ | |
18390 | /* | [A-Za-z]:[\\/]*) \ | |
18391 | srcdiroption="--srcdir=$(srcdir)/dejagnu"; \ | |
18392 | libsrcdir="$$s/dejagnu";; \ | |
18393 | *) \ | |
18394 | srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \ | |
18395 | libsrcdir="$$s/dejagnu";; \ | |
18396 | esac; \ | |
18397 | $(SHELL) $${libsrcdir}/configure \ | |
18398 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18399 | || exit 1 | |
18400 | ||
930314a4 NN |
18401 | .PHONY: all-dejagnu maybe-all-dejagnu |
18402 | maybe-all-dejagnu: | |
db1ac78d | 18403 | all-dejagnu: configure-dejagnu |
930314a4 | 18404 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18405 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18406 | $(SET_LIB_PATH) \ | |
18407 | (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18408 | |
16ae0395 NN |
18409 | .PHONY: check-dejagnu maybe-check-dejagnu |
18410 | maybe-check-dejagnu: | |
3866be5d | 18411 | |
3866be5d | 18412 | check-dejagnu: |
930314a4 | 18413 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18414 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18415 | $(SET_LIB_PATH) \ | |
18416 | (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
18417 | |
18418 | ||
930314a4 NN |
18419 | .PHONY: install-dejagnu maybe-install-dejagnu |
18420 | maybe-install-dejagnu: | |
16ae0395 | 18421 | |
3866be5d | 18422 | install-dejagnu: installdirs |
930314a4 | 18423 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18424 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18425 | $(SET_LIB_PATH) \ | |
18426 | (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18427 | |
18428 | ||
e2b9e2dc NN |
18429 | .PHONY: configure-diff maybe-configure-diff |
18430 | maybe-configure-diff: | |
e6bfb94a AO |
18431 | configure-diff: |
18432 | @test ! -f diff/Makefile || exit 0; \ | |
18433 | [ -d diff ] || mkdir diff; \ | |
e2b9e2dc NN |
18434 | r=`${PWD}`; export r; \ |
18435 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
18436 | CC="$(CC)"; export CC; \ | |
18437 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18438 | CXX="$(CXX)"; export CXX; \ | |
18439 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18440 | AR="$(AR)"; export AR; \ |
18441 | AS="$(AS)"; export AS; \ | |
18442 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18443 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18444 | LD="$(LD)"; export LD; \ | |
18445 | NM="$(NM)"; export NM; \ | |
18446 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18447 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18448 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18449 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18450 | echo Configuring in diff; \ |
18451 | cd diff || exit 1; \ | |
18452 | case $(srcdir) in \ | |
18453 | \.) \ | |
18454 | srcdiroption="--srcdir=."; \ | |
18455 | libsrcdir=".";; \ | |
18456 | /* | [A-Za-z]:[\\/]*) \ | |
18457 | srcdiroption="--srcdir=$(srcdir)/diff"; \ | |
18458 | libsrcdir="$$s/diff";; \ | |
18459 | *) \ | |
18460 | srcdiroption="--srcdir=../$(srcdir)/diff"; \ | |
18461 | libsrcdir="$$s/diff";; \ | |
18462 | esac; \ | |
18463 | $(SHELL) $${libsrcdir}/configure \ | |
18464 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18465 | || exit 1 | |
18466 | ||
930314a4 NN |
18467 | .PHONY: all-diff maybe-all-diff |
18468 | maybe-all-diff: | |
db1ac78d | 18469 | all-diff: configure-diff |
930314a4 | 18470 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18471 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18472 | $(SET_LIB_PATH) \ | |
18473 | (cd diff && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18474 | |
16ae0395 NN |
18475 | .PHONY: check-diff maybe-check-diff |
18476 | maybe-check-diff: | |
3866be5d | 18477 | |
3866be5d | 18478 | check-diff: |
930314a4 | 18479 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18480 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18481 | $(SET_LIB_PATH) \ | |
18482 | (cd diff && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
18483 | |
18484 | ||
930314a4 NN |
18485 | .PHONY: install-diff maybe-install-diff |
18486 | maybe-install-diff: | |
16ae0395 | 18487 | |
3866be5d | 18488 | install-diff: installdirs |
930314a4 | 18489 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18490 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18491 | $(SET_LIB_PATH) \ | |
18492 | (cd diff && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18493 | |
18494 | ||
e2b9e2dc NN |
18495 | .PHONY: configure-dosutils maybe-configure-dosutils |
18496 | maybe-configure-dosutils: | |
e6bfb94a AO |
18497 | configure-dosutils: |
18498 | @test ! -f dosutils/Makefile || exit 0; \ | |
18499 | [ -d dosutils ] || mkdir dosutils; \ | |
e2b9e2dc NN |
18500 | r=`${PWD}`; export r; \ |
18501 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
18502 | CC="$(CC)"; export CC; \ | |
18503 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18504 | CXX="$(CXX)"; export CXX; \ | |
18505 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18506 | AR="$(AR)"; export AR; \ |
18507 | AS="$(AS)"; export AS; \ | |
18508 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18509 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18510 | LD="$(LD)"; export LD; \ | |
18511 | NM="$(NM)"; export NM; \ | |
18512 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18513 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18514 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18515 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18516 | echo Configuring in dosutils; \ |
18517 | cd dosutils || exit 1; \ | |
18518 | case $(srcdir) in \ | |
18519 | \.) \ | |
18520 | srcdiroption="--srcdir=."; \ | |
18521 | libsrcdir=".";; \ | |
18522 | /* | [A-Za-z]:[\\/]*) \ | |
18523 | srcdiroption="--srcdir=$(srcdir)/dosutils"; \ | |
18524 | libsrcdir="$$s/dosutils";; \ | |
18525 | *) \ | |
18526 | srcdiroption="--srcdir=../$(srcdir)/dosutils"; \ | |
18527 | libsrcdir="$$s/dosutils";; \ | |
18528 | esac; \ | |
18529 | $(SHELL) $${libsrcdir}/configure \ | |
18530 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18531 | || exit 1 | |
18532 | ||
930314a4 NN |
18533 | .PHONY: all-dosutils maybe-all-dosutils |
18534 | maybe-all-dosutils: | |
db1ac78d | 18535 | all-dosutils: configure-dosutils |
930314a4 | 18536 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18537 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18538 | $(SET_LIB_PATH) \ | |
18539 | (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18540 | |
16ae0395 NN |
18541 | .PHONY: check-dosutils maybe-check-dosutils |
18542 | maybe-check-dosutils: | |
3866be5d | 18543 | |
3866be5d NN |
18544 | check-dosutils: |
18545 | ||
18546 | ||
930314a4 NN |
18547 | .PHONY: install-dosutils maybe-install-dosutils |
18548 | maybe-install-dosutils: | |
16ae0395 | 18549 | |
3866be5d | 18550 | install-dosutils: installdirs |
930314a4 | 18551 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18552 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18553 | $(SET_LIB_PATH) \ | |
18554 | (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18555 | |
18556 | ||
e2b9e2dc NN |
18557 | .PHONY: configure-etc maybe-configure-etc |
18558 | maybe-configure-etc: | |
e6bfb94a AO |
18559 | configure-etc: |
18560 | @test ! -f etc/Makefile || exit 0; \ | |
18561 | [ -d etc ] || mkdir etc; \ | |
e2b9e2dc NN |
18562 | r=`${PWD}`; export r; \ |
18563 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
18564 | CC="$(CC)"; export CC; \ | |
18565 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18566 | CXX="$(CXX)"; export CXX; \ | |
18567 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18568 | AR="$(AR)"; export AR; \ |
18569 | AS="$(AS)"; export AS; \ | |
18570 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18571 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18572 | LD="$(LD)"; export LD; \ | |
18573 | NM="$(NM)"; export NM; \ | |
18574 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18575 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18576 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18577 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18578 | echo Configuring in etc; \ |
18579 | cd etc || exit 1; \ | |
18580 | case $(srcdir) in \ | |
18581 | \.) \ | |
18582 | srcdiroption="--srcdir=."; \ | |
18583 | libsrcdir=".";; \ | |
18584 | /* | [A-Za-z]:[\\/]*) \ | |
18585 | srcdiroption="--srcdir=$(srcdir)/etc"; \ | |
18586 | libsrcdir="$$s/etc";; \ | |
18587 | *) \ | |
18588 | srcdiroption="--srcdir=../$(srcdir)/etc"; \ | |
18589 | libsrcdir="$$s/etc";; \ | |
18590 | esac; \ | |
18591 | $(SHELL) $${libsrcdir}/configure \ | |
18592 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18593 | || exit 1 | |
18594 | ||
930314a4 NN |
18595 | .PHONY: all-etc maybe-all-etc |
18596 | maybe-all-etc: | |
db1ac78d | 18597 | all-etc: configure-etc |
930314a4 | 18598 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18599 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18600 | $(SET_LIB_PATH) \ | |
18601 | (cd etc && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18602 | |
16ae0395 NN |
18603 | .PHONY: check-etc maybe-check-etc |
18604 | maybe-check-etc: | |
3866be5d | 18605 | |
3866be5d | 18606 | check-etc: |
930314a4 | 18607 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18608 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18609 | $(SET_LIB_PATH) \ | |
18610 | (cd etc && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
18611 | |
18612 | ||
930314a4 NN |
18613 | .PHONY: install-etc maybe-install-etc |
18614 | maybe-install-etc: | |
16ae0395 | 18615 | |
3866be5d | 18616 | install-etc: installdirs |
930314a4 | 18617 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18618 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18619 | $(SET_LIB_PATH) \ | |
18620 | (cd etc && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18621 | |
18622 | ||
e2b9e2dc NN |
18623 | .PHONY: configure-fastjar maybe-configure-fastjar |
18624 | maybe-configure-fastjar: | |
e6bfb94a AO |
18625 | configure-fastjar: |
18626 | @test ! -f fastjar/Makefile || exit 0; \ | |
18627 | [ -d fastjar ] || mkdir fastjar; \ | |
e2b9e2dc NN |
18628 | r=`${PWD}`; export r; \ |
18629 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
18630 | CC="$(CC)"; export CC; \ | |
18631 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18632 | CXX="$(CXX)"; export CXX; \ | |
18633 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18634 | AR="$(AR)"; export AR; \ |
18635 | AS="$(AS)"; export AS; \ | |
18636 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18637 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18638 | LD="$(LD)"; export LD; \ | |
18639 | NM="$(NM)"; export NM; \ | |
18640 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18641 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18642 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18643 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18644 | echo Configuring in fastjar; \ |
18645 | cd fastjar || exit 1; \ | |
18646 | case $(srcdir) in \ | |
18647 | \.) \ | |
18648 | srcdiroption="--srcdir=."; \ | |
18649 | libsrcdir=".";; \ | |
18650 | /* | [A-Za-z]:[\\/]*) \ | |
18651 | srcdiroption="--srcdir=$(srcdir)/fastjar"; \ | |
18652 | libsrcdir="$$s/fastjar";; \ | |
18653 | *) \ | |
18654 | srcdiroption="--srcdir=../$(srcdir)/fastjar"; \ | |
18655 | libsrcdir="$$s/fastjar";; \ | |
18656 | esac; \ | |
18657 | $(SHELL) $${libsrcdir}/configure \ | |
18658 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18659 | || exit 1 | |
18660 | ||
930314a4 NN |
18661 | .PHONY: all-fastjar maybe-all-fastjar |
18662 | maybe-all-fastjar: | |
db1ac78d | 18663 | all-fastjar: configure-fastjar |
930314a4 | 18664 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18665 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18666 | $(SET_LIB_PATH) \ | |
18667 | (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18668 | |
16ae0395 NN |
18669 | .PHONY: check-fastjar maybe-check-fastjar |
18670 | maybe-check-fastjar: | |
3866be5d | 18671 | |
3866be5d NN |
18672 | # This module is only tested in a native toolchain. |
18673 | check-fastjar: | |
18674 | @if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \ | |
bba45b8b NN |
18675 | r=`${PWD}`; export r; \ |
18676 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
18677 | $(SET_LIB_PATH) \ | |
18678 | (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) check); \ | |
3866be5d NN |
18679 | fi |
18680 | ||
18681 | ||
930314a4 NN |
18682 | .PHONY: install-fastjar maybe-install-fastjar |
18683 | maybe-install-fastjar: | |
16ae0395 | 18684 | |
3866be5d | 18685 | install-fastjar: installdirs |
930314a4 | 18686 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18687 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18688 | $(SET_LIB_PATH) \ | |
18689 | (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18690 | |
18691 | ||
e2b9e2dc NN |
18692 | .PHONY: configure-fileutils maybe-configure-fileutils |
18693 | maybe-configure-fileutils: | |
e6bfb94a AO |
18694 | configure-fileutils: |
18695 | @test ! -f fileutils/Makefile || exit 0; \ | |
18696 | [ -d fileutils ] || mkdir fileutils; \ | |
e2b9e2dc NN |
18697 | r=`${PWD}`; export r; \ |
18698 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
18699 | CC="$(CC)"; export CC; \ | |
18700 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18701 | CXX="$(CXX)"; export CXX; \ | |
18702 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18703 | AR="$(AR)"; export AR; \ |
18704 | AS="$(AS)"; export AS; \ | |
18705 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18706 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18707 | LD="$(LD)"; export LD; \ | |
18708 | NM="$(NM)"; export NM; \ | |
18709 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18710 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18711 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18712 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18713 | echo Configuring in fileutils; \ |
18714 | cd fileutils || exit 1; \ | |
18715 | case $(srcdir) in \ | |
18716 | \.) \ | |
18717 | srcdiroption="--srcdir=."; \ | |
18718 | libsrcdir=".";; \ | |
18719 | /* | [A-Za-z]:[\\/]*) \ | |
18720 | srcdiroption="--srcdir=$(srcdir)/fileutils"; \ | |
18721 | libsrcdir="$$s/fileutils";; \ | |
18722 | *) \ | |
18723 | srcdiroption="--srcdir=../$(srcdir)/fileutils"; \ | |
18724 | libsrcdir="$$s/fileutils";; \ | |
18725 | esac; \ | |
18726 | $(SHELL) $${libsrcdir}/configure \ | |
18727 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18728 | || exit 1 | |
18729 | ||
930314a4 NN |
18730 | .PHONY: all-fileutils maybe-all-fileutils |
18731 | maybe-all-fileutils: | |
db1ac78d | 18732 | all-fileutils: configure-fileutils |
930314a4 | 18733 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18734 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18735 | $(SET_LIB_PATH) \ | |
18736 | (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18737 | |
16ae0395 NN |
18738 | .PHONY: check-fileutils maybe-check-fileutils |
18739 | maybe-check-fileutils: | |
3866be5d | 18740 | |
3866be5d | 18741 | check-fileutils: |
930314a4 | 18742 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18743 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18744 | $(SET_LIB_PATH) \ | |
18745 | (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
18746 | |
18747 | ||
930314a4 NN |
18748 | .PHONY: install-fileutils maybe-install-fileutils |
18749 | maybe-install-fileutils: | |
16ae0395 | 18750 | |
3866be5d | 18751 | install-fileutils: installdirs |
930314a4 | 18752 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18753 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18754 | $(SET_LIB_PATH) \ | |
18755 | (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18756 | |
18757 | ||
e2b9e2dc NN |
18758 | .PHONY: configure-findutils maybe-configure-findutils |
18759 | maybe-configure-findutils: | |
e6bfb94a AO |
18760 | configure-findutils: |
18761 | @test ! -f findutils/Makefile || exit 0; \ | |
18762 | [ -d findutils ] || mkdir findutils; \ | |
e2b9e2dc NN |
18763 | r=`${PWD}`; export r; \ |
18764 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
18765 | CC="$(CC)"; export CC; \ | |
18766 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18767 | CXX="$(CXX)"; export CXX; \ | |
18768 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18769 | AR="$(AR)"; export AR; \ |
18770 | AS="$(AS)"; export AS; \ | |
18771 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18772 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18773 | LD="$(LD)"; export LD; \ | |
18774 | NM="$(NM)"; export NM; \ | |
18775 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18776 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18777 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18778 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18779 | echo Configuring in findutils; \ |
18780 | cd findutils || exit 1; \ | |
18781 | case $(srcdir) in \ | |
18782 | \.) \ | |
18783 | srcdiroption="--srcdir=."; \ | |
18784 | libsrcdir=".";; \ | |
18785 | /* | [A-Za-z]:[\\/]*) \ | |
18786 | srcdiroption="--srcdir=$(srcdir)/findutils"; \ | |
18787 | libsrcdir="$$s/findutils";; \ | |
18788 | *) \ | |
18789 | srcdiroption="--srcdir=../$(srcdir)/findutils"; \ | |
18790 | libsrcdir="$$s/findutils";; \ | |
18791 | esac; \ | |
18792 | $(SHELL) $${libsrcdir}/configure \ | |
18793 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18794 | || exit 1 | |
18795 | ||
930314a4 NN |
18796 | .PHONY: all-findutils maybe-all-findutils |
18797 | maybe-all-findutils: | |
db1ac78d | 18798 | all-findutils: configure-findutils |
930314a4 | 18799 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18800 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18801 | $(SET_LIB_PATH) \ | |
18802 | (cd findutils && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18803 | |
16ae0395 NN |
18804 | .PHONY: check-findutils maybe-check-findutils |
18805 | maybe-check-findutils: | |
3866be5d | 18806 | |
3866be5d | 18807 | check-findutils: |
930314a4 | 18808 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18809 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18810 | $(SET_LIB_PATH) \ | |
18811 | (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
18812 | |
18813 | ||
930314a4 NN |
18814 | .PHONY: install-findutils maybe-install-findutils |
18815 | maybe-install-findutils: | |
16ae0395 | 18816 | |
3866be5d | 18817 | install-findutils: installdirs |
930314a4 | 18818 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18819 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18820 | $(SET_LIB_PATH) \ | |
18821 | (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18822 | |
18823 | ||
e2b9e2dc NN |
18824 | .PHONY: configure-find maybe-configure-find |
18825 | maybe-configure-find: | |
e6bfb94a AO |
18826 | configure-find: |
18827 | @test ! -f find/Makefile || exit 0; \ | |
18828 | [ -d find ] || mkdir find; \ | |
e2b9e2dc NN |
18829 | r=`${PWD}`; export r; \ |
18830 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
18831 | CC="$(CC)"; export CC; \ | |
18832 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18833 | CXX="$(CXX)"; export CXX; \ | |
18834 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18835 | AR="$(AR)"; export AR; \ |
18836 | AS="$(AS)"; export AS; \ | |
18837 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18838 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18839 | LD="$(LD)"; export LD; \ | |
18840 | NM="$(NM)"; export NM; \ | |
18841 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18842 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18843 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18844 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18845 | echo Configuring in find; \ |
18846 | cd find || exit 1; \ | |
18847 | case $(srcdir) in \ | |
18848 | \.) \ | |
18849 | srcdiroption="--srcdir=."; \ | |
18850 | libsrcdir=".";; \ | |
18851 | /* | [A-Za-z]:[\\/]*) \ | |
18852 | srcdiroption="--srcdir=$(srcdir)/find"; \ | |
18853 | libsrcdir="$$s/find";; \ | |
18854 | *) \ | |
18855 | srcdiroption="--srcdir=../$(srcdir)/find"; \ | |
18856 | libsrcdir="$$s/find";; \ | |
18857 | esac; \ | |
18858 | $(SHELL) $${libsrcdir}/configure \ | |
18859 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18860 | || exit 1 | |
18861 | ||
930314a4 NN |
18862 | .PHONY: all-find maybe-all-find |
18863 | maybe-all-find: | |
db1ac78d | 18864 | all-find: configure-find |
930314a4 | 18865 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18866 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18867 | $(SET_LIB_PATH) \ | |
18868 | (cd find && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18869 | |
16ae0395 NN |
18870 | .PHONY: check-find maybe-check-find |
18871 | maybe-check-find: | |
3866be5d | 18872 | |
3866be5d | 18873 | check-find: |
930314a4 | 18874 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18875 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18876 | $(SET_LIB_PATH) \ | |
18877 | (cd find && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
18878 | |
18879 | ||
930314a4 NN |
18880 | .PHONY: install-find maybe-install-find |
18881 | maybe-install-find: | |
16ae0395 | 18882 | |
3866be5d | 18883 | install-find: installdirs |
930314a4 | 18884 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18885 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18886 | $(SET_LIB_PATH) \ | |
18887 | (cd find && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18888 | |
18889 | ||
e2b9e2dc NN |
18890 | .PHONY: configure-flex maybe-configure-flex |
18891 | maybe-configure-flex: | |
e6bfb94a AO |
18892 | configure-flex: |
18893 | @test ! -f flex/Makefile || exit 0; \ | |
18894 | [ -d flex ] || mkdir flex; \ | |
e2b9e2dc NN |
18895 | r=`${PWD}`; export r; \ |
18896 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
18897 | CC="$(CC)"; export CC; \ | |
18898 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18899 | CXX="$(CXX)"; export CXX; \ | |
18900 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18901 | AR="$(AR)"; export AR; \ |
18902 | AS="$(AS)"; export AS; \ | |
18903 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18904 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18905 | LD="$(LD)"; export LD; \ | |
18906 | NM="$(NM)"; export NM; \ | |
18907 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18908 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18909 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18910 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18911 | echo Configuring in flex; \ |
18912 | cd flex || exit 1; \ | |
18913 | case $(srcdir) in \ | |
18914 | \.) \ | |
18915 | srcdiroption="--srcdir=."; \ | |
18916 | libsrcdir=".";; \ | |
18917 | /* | [A-Za-z]:[\\/]*) \ | |
18918 | srcdiroption="--srcdir=$(srcdir)/flex"; \ | |
18919 | libsrcdir="$$s/flex";; \ | |
18920 | *) \ | |
18921 | srcdiroption="--srcdir=../$(srcdir)/flex"; \ | |
18922 | libsrcdir="$$s/flex";; \ | |
18923 | esac; \ | |
18924 | $(SHELL) $${libsrcdir}/configure \ | |
18925 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18926 | || exit 1 | |
18927 | ||
930314a4 NN |
18928 | .PHONY: all-flex maybe-all-flex |
18929 | maybe-all-flex: | |
db1ac78d | 18930 | all-flex: configure-flex |
930314a4 | 18931 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18932 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18933 | $(SET_LIB_PATH) \ | |
18934 | (cd flex && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 18935 | |
16ae0395 NN |
18936 | .PHONY: check-flex maybe-check-flex |
18937 | maybe-check-flex: | |
3866be5d | 18938 | |
3866be5d NN |
18939 | # This module is only tested in a native toolchain. |
18940 | check-flex: | |
18941 | @if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \ | |
bba45b8b NN |
18942 | r=`${PWD}`; export r; \ |
18943 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
18944 | $(SET_LIB_PATH) \ | |
18945 | (cd flex && $(MAKE) $(FLAGS_TO_PASS) check); \ | |
3866be5d NN |
18946 | fi |
18947 | ||
18948 | ||
930314a4 NN |
18949 | .PHONY: install-flex maybe-install-flex |
18950 | maybe-install-flex: | |
16ae0395 | 18951 | |
3866be5d | 18952 | install-flex: installdirs |
930314a4 | 18953 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
18954 | s=`cd $(srcdir); ${PWD}`; export s; \ |
18955 | $(SET_LIB_PATH) \ | |
18956 | (cd flex && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
18957 | |
18958 | ||
e2b9e2dc NN |
18959 | .PHONY: configure-gas maybe-configure-gas |
18960 | maybe-configure-gas: | |
e6bfb94a AO |
18961 | configure-gas: |
18962 | @test ! -f gas/Makefile || exit 0; \ | |
18963 | [ -d gas ] || mkdir gas; \ | |
e2b9e2dc NN |
18964 | r=`${PWD}`; export r; \ |
18965 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
18966 | CC="$(CC)"; export CC; \ | |
18967 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
18968 | CXX="$(CXX)"; export CXX; \ | |
18969 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
18970 | AR="$(AR)"; export AR; \ |
18971 | AS="$(AS)"; export AS; \ | |
18972 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
18973 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
18974 | LD="$(LD)"; export LD; \ | |
18975 | NM="$(NM)"; export NM; \ | |
18976 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
18977 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
18978 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
18979 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
18980 | echo Configuring in gas; \ |
18981 | cd gas || exit 1; \ | |
18982 | case $(srcdir) in \ | |
18983 | \.) \ | |
18984 | srcdiroption="--srcdir=."; \ | |
18985 | libsrcdir=".";; \ | |
18986 | /* | [A-Za-z]:[\\/]*) \ | |
18987 | srcdiroption="--srcdir=$(srcdir)/gas"; \ | |
18988 | libsrcdir="$$s/gas";; \ | |
18989 | *) \ | |
18990 | srcdiroption="--srcdir=../$(srcdir)/gas"; \ | |
18991 | libsrcdir="$$s/gas";; \ | |
18992 | esac; \ | |
18993 | $(SHELL) $${libsrcdir}/configure \ | |
18994 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
18995 | || exit 1 | |
18996 | ||
930314a4 NN |
18997 | .PHONY: all-gas maybe-all-gas |
18998 | maybe-all-gas: | |
db1ac78d | 18999 | all-gas: configure-gas |
930314a4 | 19000 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19001 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19002 | $(SET_LIB_PATH) \ | |
19003 | (cd gas && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19004 | |
16ae0395 NN |
19005 | .PHONY: check-gas maybe-check-gas |
19006 | maybe-check-gas: | |
3866be5d | 19007 | |
3866be5d | 19008 | check-gas: |
930314a4 | 19009 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19010 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19011 | $(SET_LIB_PATH) \ | |
19012 | (cd gas && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19013 | |
19014 | ||
930314a4 NN |
19015 | .PHONY: install-gas maybe-install-gas |
19016 | maybe-install-gas: | |
16ae0395 | 19017 | |
3866be5d | 19018 | install-gas: installdirs |
930314a4 | 19019 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19020 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19021 | $(SET_LIB_PATH) \ | |
19022 | (cd gas && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19023 | |
19024 | ||
e2b9e2dc NN |
19025 | .PHONY: configure-gawk maybe-configure-gawk |
19026 | maybe-configure-gawk: | |
e6bfb94a AO |
19027 | configure-gawk: |
19028 | @test ! -f gawk/Makefile || exit 0; \ | |
19029 | [ -d gawk ] || mkdir gawk; \ | |
e2b9e2dc NN |
19030 | r=`${PWD}`; export r; \ |
19031 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
19032 | CC="$(CC)"; export CC; \ | |
19033 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19034 | CXX="$(CXX)"; export CXX; \ | |
19035 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19036 | AR="$(AR)"; export AR; \ |
19037 | AS="$(AS)"; export AS; \ | |
19038 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19039 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19040 | LD="$(LD)"; export LD; \ | |
19041 | NM="$(NM)"; export NM; \ | |
19042 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19043 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19044 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19045 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19046 | echo Configuring in gawk; \ |
19047 | cd gawk || exit 1; \ | |
19048 | case $(srcdir) in \ | |
19049 | \.) \ | |
19050 | srcdiroption="--srcdir=."; \ | |
19051 | libsrcdir=".";; \ | |
19052 | /* | [A-Za-z]:[\\/]*) \ | |
19053 | srcdiroption="--srcdir=$(srcdir)/gawk"; \ | |
19054 | libsrcdir="$$s/gawk";; \ | |
19055 | *) \ | |
19056 | srcdiroption="--srcdir=../$(srcdir)/gawk"; \ | |
19057 | libsrcdir="$$s/gawk";; \ | |
19058 | esac; \ | |
19059 | $(SHELL) $${libsrcdir}/configure \ | |
19060 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19061 | || exit 1 | |
19062 | ||
930314a4 NN |
19063 | .PHONY: all-gawk maybe-all-gawk |
19064 | maybe-all-gawk: | |
db1ac78d | 19065 | all-gawk: configure-gawk |
930314a4 | 19066 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19067 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19068 | $(SET_LIB_PATH) \ | |
19069 | (cd gawk && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19070 | |
16ae0395 NN |
19071 | .PHONY: check-gawk maybe-check-gawk |
19072 | maybe-check-gawk: | |
3866be5d | 19073 | |
3866be5d | 19074 | check-gawk: |
930314a4 | 19075 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19076 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19077 | $(SET_LIB_PATH) \ | |
19078 | (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19079 | |
19080 | ||
930314a4 NN |
19081 | .PHONY: install-gawk maybe-install-gawk |
19082 | maybe-install-gawk: | |
16ae0395 | 19083 | |
3866be5d | 19084 | install-gawk: installdirs |
930314a4 | 19085 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19086 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19087 | $(SET_LIB_PATH) \ | |
19088 | (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19089 | |
19090 | ||
e2b9e2dc NN |
19091 | .PHONY: configure-gettext maybe-configure-gettext |
19092 | maybe-configure-gettext: | |
e6bfb94a AO |
19093 | configure-gettext: |
19094 | @test ! -f gettext/Makefile || exit 0; \ | |
19095 | [ -d gettext ] || mkdir gettext; \ | |
e2b9e2dc NN |
19096 | r=`${PWD}`; export r; \ |
19097 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
19098 | CC="$(CC)"; export CC; \ | |
19099 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19100 | CXX="$(CXX)"; export CXX; \ | |
19101 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19102 | AR="$(AR)"; export AR; \ |
19103 | AS="$(AS)"; export AS; \ | |
19104 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19105 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19106 | LD="$(LD)"; export LD; \ | |
19107 | NM="$(NM)"; export NM; \ | |
19108 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19109 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19110 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19111 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19112 | echo Configuring in gettext; \ |
19113 | cd gettext || exit 1; \ | |
19114 | case $(srcdir) in \ | |
19115 | \.) \ | |
19116 | srcdiroption="--srcdir=."; \ | |
19117 | libsrcdir=".";; \ | |
19118 | /* | [A-Za-z]:[\\/]*) \ | |
19119 | srcdiroption="--srcdir=$(srcdir)/gettext"; \ | |
19120 | libsrcdir="$$s/gettext";; \ | |
19121 | *) \ | |
19122 | srcdiroption="--srcdir=../$(srcdir)/gettext"; \ | |
19123 | libsrcdir="$$s/gettext";; \ | |
19124 | esac; \ | |
19125 | $(SHELL) $${libsrcdir}/configure \ | |
19126 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19127 | || exit 1 | |
19128 | ||
930314a4 NN |
19129 | .PHONY: all-gettext maybe-all-gettext |
19130 | maybe-all-gettext: | |
db1ac78d | 19131 | all-gettext: configure-gettext |
930314a4 | 19132 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19133 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19134 | $(SET_LIB_PATH) \ | |
19135 | (cd gettext && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19136 | |
16ae0395 NN |
19137 | .PHONY: check-gettext maybe-check-gettext |
19138 | maybe-check-gettext: | |
3866be5d | 19139 | |
3866be5d | 19140 | check-gettext: |
930314a4 | 19141 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19142 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19143 | $(SET_LIB_PATH) \ | |
19144 | (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19145 | |
19146 | ||
930314a4 NN |
19147 | .PHONY: install-gettext maybe-install-gettext |
19148 | maybe-install-gettext: | |
16ae0395 | 19149 | |
3866be5d | 19150 | install-gettext: installdirs |
930314a4 | 19151 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19152 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19153 | $(SET_LIB_PATH) \ | |
19154 | (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19155 | |
19156 | ||
e2b9e2dc NN |
19157 | .PHONY: configure-gnuserv maybe-configure-gnuserv |
19158 | maybe-configure-gnuserv: | |
e6bfb94a AO |
19159 | configure-gnuserv: |
19160 | @test ! -f gnuserv/Makefile || exit 0; \ | |
19161 | [ -d gnuserv ] || mkdir gnuserv; \ | |
e2b9e2dc NN |
19162 | r=`${PWD}`; export r; \ |
19163 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
19164 | CC="$(CC)"; export CC; \ | |
19165 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19166 | CXX="$(CXX)"; export CXX; \ | |
19167 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19168 | AR="$(AR)"; export AR; \ |
19169 | AS="$(AS)"; export AS; \ | |
19170 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19171 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19172 | LD="$(LD)"; export LD; \ | |
19173 | NM="$(NM)"; export NM; \ | |
19174 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19175 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19176 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19177 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19178 | echo Configuring in gnuserv; \ |
19179 | cd gnuserv || exit 1; \ | |
19180 | case $(srcdir) in \ | |
19181 | \.) \ | |
19182 | srcdiroption="--srcdir=."; \ | |
19183 | libsrcdir=".";; \ | |
19184 | /* | [A-Za-z]:[\\/]*) \ | |
19185 | srcdiroption="--srcdir=$(srcdir)/gnuserv"; \ | |
19186 | libsrcdir="$$s/gnuserv";; \ | |
19187 | *) \ | |
19188 | srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \ | |
19189 | libsrcdir="$$s/gnuserv";; \ | |
19190 | esac; \ | |
19191 | $(SHELL) $${libsrcdir}/configure \ | |
19192 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19193 | || exit 1 | |
19194 | ||
930314a4 NN |
19195 | .PHONY: all-gnuserv maybe-all-gnuserv |
19196 | maybe-all-gnuserv: | |
db1ac78d | 19197 | all-gnuserv: configure-gnuserv |
930314a4 | 19198 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19199 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19200 | $(SET_LIB_PATH) \ | |
19201 | (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19202 | |
16ae0395 NN |
19203 | .PHONY: check-gnuserv maybe-check-gnuserv |
19204 | maybe-check-gnuserv: | |
3866be5d | 19205 | |
3866be5d | 19206 | check-gnuserv: |
930314a4 | 19207 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19208 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19209 | $(SET_LIB_PATH) \ | |
19210 | (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19211 | |
19212 | ||
930314a4 NN |
19213 | .PHONY: install-gnuserv maybe-install-gnuserv |
19214 | maybe-install-gnuserv: | |
16ae0395 | 19215 | |
3866be5d | 19216 | install-gnuserv: installdirs |
930314a4 | 19217 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19218 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19219 | $(SET_LIB_PATH) \ | |
19220 | (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19221 | |
19222 | ||
e2b9e2dc NN |
19223 | .PHONY: configure-gprof maybe-configure-gprof |
19224 | maybe-configure-gprof: | |
e6bfb94a AO |
19225 | configure-gprof: |
19226 | @test ! -f gprof/Makefile || exit 0; \ | |
19227 | [ -d gprof ] || mkdir gprof; \ | |
e2b9e2dc NN |
19228 | r=`${PWD}`; export r; \ |
19229 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
19230 | CC="$(CC)"; export CC; \ | |
19231 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19232 | CXX="$(CXX)"; export CXX; \ | |
19233 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19234 | AR="$(AR)"; export AR; \ |
19235 | AS="$(AS)"; export AS; \ | |
19236 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19237 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19238 | LD="$(LD)"; export LD; \ | |
19239 | NM="$(NM)"; export NM; \ | |
19240 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19241 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19242 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19243 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19244 | echo Configuring in gprof; \ |
19245 | cd gprof || exit 1; \ | |
19246 | case $(srcdir) in \ | |
19247 | \.) \ | |
19248 | srcdiroption="--srcdir=."; \ | |
19249 | libsrcdir=".";; \ | |
19250 | /* | [A-Za-z]:[\\/]*) \ | |
19251 | srcdiroption="--srcdir=$(srcdir)/gprof"; \ | |
19252 | libsrcdir="$$s/gprof";; \ | |
19253 | *) \ | |
19254 | srcdiroption="--srcdir=../$(srcdir)/gprof"; \ | |
19255 | libsrcdir="$$s/gprof";; \ | |
19256 | esac; \ | |
19257 | $(SHELL) $${libsrcdir}/configure \ | |
19258 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19259 | || exit 1 | |
19260 | ||
930314a4 NN |
19261 | .PHONY: all-gprof maybe-all-gprof |
19262 | maybe-all-gprof: | |
db1ac78d | 19263 | all-gprof: configure-gprof |
930314a4 | 19264 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19265 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19266 | $(SET_LIB_PATH) \ | |
19267 | (cd gprof && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19268 | |
16ae0395 NN |
19269 | .PHONY: check-gprof maybe-check-gprof |
19270 | maybe-check-gprof: | |
3866be5d | 19271 | |
3866be5d | 19272 | check-gprof: |
930314a4 | 19273 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19274 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19275 | $(SET_LIB_PATH) \ | |
19276 | (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19277 | |
19278 | ||
930314a4 NN |
19279 | .PHONY: install-gprof maybe-install-gprof |
19280 | maybe-install-gprof: | |
16ae0395 | 19281 | |
3866be5d | 19282 | install-gprof: installdirs |
930314a4 | 19283 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19284 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19285 | $(SET_LIB_PATH) \ | |
19286 | (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19287 | |
19288 | ||
e2b9e2dc NN |
19289 | .PHONY: configure-gzip maybe-configure-gzip |
19290 | maybe-configure-gzip: | |
e6bfb94a AO |
19291 | configure-gzip: |
19292 | @test ! -f gzip/Makefile || exit 0; \ | |
19293 | [ -d gzip ] || mkdir gzip; \ | |
e2b9e2dc NN |
19294 | r=`${PWD}`; export r; \ |
19295 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
19296 | CC="$(CC)"; export CC; \ | |
19297 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19298 | CXX="$(CXX)"; export CXX; \ | |
19299 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19300 | AR="$(AR)"; export AR; \ |
19301 | AS="$(AS)"; export AS; \ | |
19302 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19303 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19304 | LD="$(LD)"; export LD; \ | |
19305 | NM="$(NM)"; export NM; \ | |
19306 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19307 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19308 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19309 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19310 | echo Configuring in gzip; \ |
19311 | cd gzip || exit 1; \ | |
19312 | case $(srcdir) in \ | |
19313 | \.) \ | |
19314 | srcdiroption="--srcdir=."; \ | |
19315 | libsrcdir=".";; \ | |
19316 | /* | [A-Za-z]:[\\/]*) \ | |
19317 | srcdiroption="--srcdir=$(srcdir)/gzip"; \ | |
19318 | libsrcdir="$$s/gzip";; \ | |
19319 | *) \ | |
19320 | srcdiroption="--srcdir=../$(srcdir)/gzip"; \ | |
19321 | libsrcdir="$$s/gzip";; \ | |
19322 | esac; \ | |
19323 | $(SHELL) $${libsrcdir}/configure \ | |
19324 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19325 | || exit 1 | |
19326 | ||
930314a4 NN |
19327 | .PHONY: all-gzip maybe-all-gzip |
19328 | maybe-all-gzip: | |
db1ac78d | 19329 | all-gzip: configure-gzip |
930314a4 | 19330 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19331 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19332 | $(SET_LIB_PATH) \ | |
19333 | (cd gzip && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19334 | |
16ae0395 NN |
19335 | .PHONY: check-gzip maybe-check-gzip |
19336 | maybe-check-gzip: | |
3866be5d | 19337 | |
3866be5d | 19338 | check-gzip: |
930314a4 | 19339 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19340 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19341 | $(SET_LIB_PATH) \ | |
19342 | (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19343 | |
19344 | ||
930314a4 NN |
19345 | .PHONY: install-gzip maybe-install-gzip |
19346 | maybe-install-gzip: | |
16ae0395 | 19347 | |
3866be5d | 19348 | install-gzip: installdirs |
930314a4 | 19349 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19350 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19351 | $(SET_LIB_PATH) \ | |
19352 | (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19353 | |
19354 | ||
e2b9e2dc NN |
19355 | .PHONY: configure-hello maybe-configure-hello |
19356 | maybe-configure-hello: | |
e6bfb94a AO |
19357 | configure-hello: |
19358 | @test ! -f hello/Makefile || exit 0; \ | |
19359 | [ -d hello ] || mkdir hello; \ | |
e2b9e2dc NN |
19360 | r=`${PWD}`; export r; \ |
19361 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
19362 | CC="$(CC)"; export CC; \ | |
19363 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19364 | CXX="$(CXX)"; export CXX; \ | |
19365 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19366 | AR="$(AR)"; export AR; \ |
19367 | AS="$(AS)"; export AS; \ | |
19368 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19369 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19370 | LD="$(LD)"; export LD; \ | |
19371 | NM="$(NM)"; export NM; \ | |
19372 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19373 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19374 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19375 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19376 | echo Configuring in hello; \ |
19377 | cd hello || exit 1; \ | |
19378 | case $(srcdir) in \ | |
19379 | \.) \ | |
19380 | srcdiroption="--srcdir=."; \ | |
19381 | libsrcdir=".";; \ | |
19382 | /* | [A-Za-z]:[\\/]*) \ | |
19383 | srcdiroption="--srcdir=$(srcdir)/hello"; \ | |
19384 | libsrcdir="$$s/hello";; \ | |
19385 | *) \ | |
19386 | srcdiroption="--srcdir=../$(srcdir)/hello"; \ | |
19387 | libsrcdir="$$s/hello";; \ | |
19388 | esac; \ | |
19389 | $(SHELL) $${libsrcdir}/configure \ | |
19390 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19391 | || exit 1 | |
19392 | ||
930314a4 NN |
19393 | .PHONY: all-hello maybe-all-hello |
19394 | maybe-all-hello: | |
db1ac78d | 19395 | all-hello: configure-hello |
930314a4 | 19396 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19397 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19398 | $(SET_LIB_PATH) \ | |
19399 | (cd hello && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19400 | |
16ae0395 NN |
19401 | .PHONY: check-hello maybe-check-hello |
19402 | maybe-check-hello: | |
3866be5d | 19403 | |
3866be5d | 19404 | check-hello: |
930314a4 | 19405 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19406 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19407 | $(SET_LIB_PATH) \ | |
19408 | (cd hello && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19409 | |
19410 | ||
930314a4 NN |
19411 | .PHONY: install-hello maybe-install-hello |
19412 | maybe-install-hello: | |
16ae0395 | 19413 | |
3866be5d | 19414 | install-hello: installdirs |
930314a4 | 19415 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19416 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19417 | $(SET_LIB_PATH) \ | |
19418 | (cd hello && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19419 | |
19420 | ||
e2b9e2dc NN |
19421 | .PHONY: configure-indent maybe-configure-indent |
19422 | maybe-configure-indent: | |
e6bfb94a AO |
19423 | configure-indent: |
19424 | @test ! -f indent/Makefile || exit 0; \ | |
19425 | [ -d indent ] || mkdir indent; \ | |
e2b9e2dc NN |
19426 | r=`${PWD}`; export r; \ |
19427 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
19428 | CC="$(CC)"; export CC; \ | |
19429 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19430 | CXX="$(CXX)"; export CXX; \ | |
19431 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19432 | AR="$(AR)"; export AR; \ |
19433 | AS="$(AS)"; export AS; \ | |
19434 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19435 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19436 | LD="$(LD)"; export LD; \ | |
19437 | NM="$(NM)"; export NM; \ | |
19438 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19439 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19440 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19441 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19442 | echo Configuring in indent; \ |
19443 | cd indent || exit 1; \ | |
19444 | case $(srcdir) in \ | |
19445 | \.) \ | |
19446 | srcdiroption="--srcdir=."; \ | |
19447 | libsrcdir=".";; \ | |
19448 | /* | [A-Za-z]:[\\/]*) \ | |
19449 | srcdiroption="--srcdir=$(srcdir)/indent"; \ | |
19450 | libsrcdir="$$s/indent";; \ | |
19451 | *) \ | |
19452 | srcdiroption="--srcdir=../$(srcdir)/indent"; \ | |
19453 | libsrcdir="$$s/indent";; \ | |
19454 | esac; \ | |
19455 | $(SHELL) $${libsrcdir}/configure \ | |
19456 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19457 | || exit 1 | |
19458 | ||
930314a4 NN |
19459 | .PHONY: all-indent maybe-all-indent |
19460 | maybe-all-indent: | |
db1ac78d | 19461 | all-indent: configure-indent |
930314a4 | 19462 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19463 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19464 | $(SET_LIB_PATH) \ | |
19465 | (cd indent && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19466 | |
16ae0395 NN |
19467 | .PHONY: check-indent maybe-check-indent |
19468 | maybe-check-indent: | |
3866be5d | 19469 | |
3866be5d | 19470 | check-indent: |
930314a4 | 19471 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19472 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19473 | $(SET_LIB_PATH) \ | |
19474 | (cd indent && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19475 | |
19476 | ||
930314a4 NN |
19477 | .PHONY: install-indent maybe-install-indent |
19478 | maybe-install-indent: | |
16ae0395 | 19479 | |
3866be5d | 19480 | install-indent: installdirs |
930314a4 | 19481 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19482 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19483 | $(SET_LIB_PATH) \ | |
19484 | (cd indent && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19485 | |
19486 | ||
e2b9e2dc NN |
19487 | .PHONY: configure-intl maybe-configure-intl |
19488 | maybe-configure-intl: | |
e6bfb94a AO |
19489 | configure-intl: |
19490 | @test ! -f intl/Makefile || exit 0; \ | |
19491 | [ -d intl ] || mkdir intl; \ | |
e2b9e2dc NN |
19492 | r=`${PWD}`; export r; \ |
19493 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
19494 | CC="$(CC)"; export CC; \ | |
19495 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19496 | CXX="$(CXX)"; export CXX; \ | |
19497 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19498 | AR="$(AR)"; export AR; \ |
19499 | AS="$(AS)"; export AS; \ | |
19500 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19501 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19502 | LD="$(LD)"; export LD; \ | |
19503 | NM="$(NM)"; export NM; \ | |
19504 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19505 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19506 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19507 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19508 | echo Configuring in intl; \ |
19509 | cd intl || exit 1; \ | |
19510 | case $(srcdir) in \ | |
19511 | \.) \ | |
19512 | srcdiroption="--srcdir=."; \ | |
19513 | libsrcdir=".";; \ | |
19514 | /* | [A-Za-z]:[\\/]*) \ | |
19515 | srcdiroption="--srcdir=$(srcdir)/intl"; \ | |
19516 | libsrcdir="$$s/intl";; \ | |
19517 | *) \ | |
19518 | srcdiroption="--srcdir=../$(srcdir)/intl"; \ | |
19519 | libsrcdir="$$s/intl";; \ | |
19520 | esac; \ | |
19521 | $(SHELL) $${libsrcdir}/configure \ | |
19522 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19523 | || exit 1 | |
19524 | ||
930314a4 NN |
19525 | .PHONY: all-intl maybe-all-intl |
19526 | maybe-all-intl: | |
db1ac78d | 19527 | all-intl: configure-intl |
930314a4 | 19528 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19529 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19530 | $(SET_LIB_PATH) \ | |
19531 | (cd intl && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19532 | |
16ae0395 NN |
19533 | .PHONY: check-intl maybe-check-intl |
19534 | maybe-check-intl: | |
3866be5d | 19535 | |
3866be5d | 19536 | check-intl: |
930314a4 | 19537 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19538 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19539 | $(SET_LIB_PATH) \ | |
19540 | (cd intl && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19541 | |
19542 | ||
930314a4 NN |
19543 | .PHONY: install-intl maybe-install-intl |
19544 | maybe-install-intl: | |
16ae0395 | 19545 | |
3866be5d | 19546 | install-intl: installdirs |
930314a4 | 19547 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19548 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19549 | $(SET_LIB_PATH) \ | |
19550 | (cd intl && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19551 | |
19552 | ||
e2b9e2dc NN |
19553 | .PHONY: configure-tcl maybe-configure-tcl |
19554 | maybe-configure-tcl: | |
e6bfb94a AO |
19555 | configure-tcl: |
19556 | @test ! -f tcl/Makefile || exit 0; \ | |
19557 | [ -d tcl ] || mkdir tcl; \ | |
e2b9e2dc NN |
19558 | r=`${PWD}`; export r; \ |
19559 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
19560 | CC="$(CC)"; export CC; \ | |
19561 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19562 | CXX="$(CXX)"; export CXX; \ | |
19563 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19564 | AR="$(AR)"; export AR; \ |
19565 | AS="$(AS)"; export AS; \ | |
19566 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19567 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19568 | LD="$(LD)"; export LD; \ | |
19569 | NM="$(NM)"; export NM; \ | |
19570 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19571 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19572 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19573 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19574 | echo Configuring in tcl; \ |
19575 | cd tcl || exit 1; \ | |
19576 | case $(srcdir) in \ | |
19577 | \.) \ | |
19578 | srcdiroption="--srcdir=."; \ | |
19579 | libsrcdir=".";; \ | |
19580 | /* | [A-Za-z]:[\\/]*) \ | |
19581 | srcdiroption="--srcdir=$(srcdir)/tcl"; \ | |
19582 | libsrcdir="$$s/tcl";; \ | |
19583 | *) \ | |
19584 | srcdiroption="--srcdir=../$(srcdir)/tcl"; \ | |
19585 | libsrcdir="$$s/tcl";; \ | |
19586 | esac; \ | |
19587 | $(SHELL) $${libsrcdir}/configure \ | |
19588 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19589 | || exit 1 | |
19590 | ||
930314a4 NN |
19591 | .PHONY: all-tcl maybe-all-tcl |
19592 | maybe-all-tcl: | |
db1ac78d | 19593 | all-tcl: configure-tcl |
930314a4 | 19594 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19595 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19596 | $(SET_LIB_PATH) \ | |
19597 | (cd tcl && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19598 | |
16ae0395 NN |
19599 | .PHONY: check-tcl maybe-check-tcl |
19600 | maybe-check-tcl: | |
3866be5d | 19601 | |
3866be5d | 19602 | check-tcl: |
930314a4 | 19603 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19604 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19605 | $(SET_LIB_PATH) \ | |
19606 | (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19607 | |
19608 | ||
930314a4 NN |
19609 | .PHONY: install-tcl maybe-install-tcl |
19610 | maybe-install-tcl: | |
16ae0395 | 19611 | |
3866be5d | 19612 | install-tcl: installdirs |
930314a4 | 19613 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19614 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19615 | $(SET_LIB_PATH) \ | |
19616 | (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19617 | |
19618 | ||
e2b9e2dc NN |
19619 | .PHONY: configure-itcl maybe-configure-itcl |
19620 | maybe-configure-itcl: | |
e6bfb94a AO |
19621 | configure-itcl: |
19622 | @test ! -f itcl/Makefile || exit 0; \ | |
19623 | [ -d itcl ] || mkdir itcl; \ | |
e2b9e2dc NN |
19624 | r=`${PWD}`; export r; \ |
19625 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
19626 | CC="$(CC)"; export CC; \ | |
19627 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19628 | CXX="$(CXX)"; export CXX; \ | |
19629 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19630 | AR="$(AR)"; export AR; \ |
19631 | AS="$(AS)"; export AS; \ | |
19632 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19633 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19634 | LD="$(LD)"; export LD; \ | |
19635 | NM="$(NM)"; export NM; \ | |
19636 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19637 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19638 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19639 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19640 | echo Configuring in itcl; \ |
19641 | cd itcl || exit 1; \ | |
19642 | case $(srcdir) in \ | |
19643 | \.) \ | |
19644 | srcdiroption="--srcdir=."; \ | |
19645 | libsrcdir=".";; \ | |
19646 | /* | [A-Za-z]:[\\/]*) \ | |
19647 | srcdiroption="--srcdir=$(srcdir)/itcl"; \ | |
19648 | libsrcdir="$$s/itcl";; \ | |
19649 | *) \ | |
19650 | srcdiroption="--srcdir=../$(srcdir)/itcl"; \ | |
19651 | libsrcdir="$$s/itcl";; \ | |
19652 | esac; \ | |
19653 | $(SHELL) $${libsrcdir}/configure \ | |
19654 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19655 | || exit 1 | |
19656 | ||
930314a4 NN |
19657 | .PHONY: all-itcl maybe-all-itcl |
19658 | maybe-all-itcl: | |
db1ac78d | 19659 | all-itcl: configure-itcl |
930314a4 | 19660 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19661 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19662 | $(SET_LIB_PATH) \ | |
19663 | (cd itcl && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19664 | |
16ae0395 NN |
19665 | .PHONY: check-itcl maybe-check-itcl |
19666 | maybe-check-itcl: | |
3866be5d | 19667 | |
3866be5d | 19668 | check-itcl: |
930314a4 | 19669 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19670 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19671 | $(SET_LIB_PATH) \ | |
19672 | (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19673 | |
19674 | ||
930314a4 NN |
19675 | .PHONY: install-itcl maybe-install-itcl |
19676 | maybe-install-itcl: | |
16ae0395 | 19677 | |
3866be5d | 19678 | install-itcl: installdirs |
930314a4 | 19679 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19680 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19681 | $(SET_LIB_PATH) \ | |
19682 | (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19683 | |
19684 | ||
e2b9e2dc NN |
19685 | .PHONY: configure-ld maybe-configure-ld |
19686 | maybe-configure-ld: | |
e6bfb94a AO |
19687 | configure-ld: |
19688 | @test ! -f ld/Makefile || exit 0; \ | |
19689 | [ -d ld ] || mkdir ld; \ | |
e2b9e2dc NN |
19690 | r=`${PWD}`; export r; \ |
19691 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
19692 | CC="$(CC)"; export CC; \ | |
19693 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19694 | CXX="$(CXX)"; export CXX; \ | |
19695 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19696 | AR="$(AR)"; export AR; \ |
19697 | AS="$(AS)"; export AS; \ | |
19698 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19699 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19700 | LD="$(LD)"; export LD; \ | |
19701 | NM="$(NM)"; export NM; \ | |
19702 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19703 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19704 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19705 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19706 | echo Configuring in ld; \ |
19707 | cd ld || exit 1; \ | |
19708 | case $(srcdir) in \ | |
19709 | \.) \ | |
19710 | srcdiroption="--srcdir=."; \ | |
19711 | libsrcdir=".";; \ | |
19712 | /* | [A-Za-z]:[\\/]*) \ | |
19713 | srcdiroption="--srcdir=$(srcdir)/ld"; \ | |
19714 | libsrcdir="$$s/ld";; \ | |
19715 | *) \ | |
19716 | srcdiroption="--srcdir=../$(srcdir)/ld"; \ | |
19717 | libsrcdir="$$s/ld";; \ | |
19718 | esac; \ | |
19719 | $(SHELL) $${libsrcdir}/configure \ | |
19720 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19721 | || exit 1 | |
19722 | ||
930314a4 NN |
19723 | .PHONY: all-ld maybe-all-ld |
19724 | maybe-all-ld: | |
db1ac78d | 19725 | all-ld: configure-ld |
930314a4 | 19726 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19727 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19728 | $(SET_LIB_PATH) \ | |
19729 | (cd ld && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19730 | |
16ae0395 NN |
19731 | .PHONY: check-ld maybe-check-ld |
19732 | maybe-check-ld: | |
3866be5d | 19733 | |
3866be5d | 19734 | check-ld: |
930314a4 | 19735 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19736 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19737 | $(SET_LIB_PATH) \ | |
19738 | (cd ld && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19739 | |
19740 | ||
930314a4 NN |
19741 | .PHONY: install-ld maybe-install-ld |
19742 | maybe-install-ld: | |
16ae0395 | 19743 | |
3866be5d | 19744 | install-ld: installdirs |
930314a4 | 19745 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19746 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19747 | $(SET_LIB_PATH) \ | |
19748 | (cd ld && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19749 | |
19750 | ||
e2b9e2dc NN |
19751 | .PHONY: configure-libgui maybe-configure-libgui |
19752 | maybe-configure-libgui: | |
e6bfb94a AO |
19753 | configure-libgui: |
19754 | @test ! -f libgui/Makefile || exit 0; \ | |
19755 | [ -d libgui ] || mkdir libgui; \ | |
e2b9e2dc NN |
19756 | r=`${PWD}`; export r; \ |
19757 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
19758 | CC="$(CC)"; export CC; \ | |
19759 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19760 | CXX="$(CXX)"; export CXX; \ | |
19761 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19762 | AR="$(AR)"; export AR; \ |
19763 | AS="$(AS)"; export AS; \ | |
19764 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19765 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19766 | LD="$(LD)"; export LD; \ | |
19767 | NM="$(NM)"; export NM; \ | |
19768 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19769 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19770 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19771 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19772 | echo Configuring in libgui; \ |
19773 | cd libgui || exit 1; \ | |
19774 | case $(srcdir) in \ | |
19775 | \.) \ | |
19776 | srcdiroption="--srcdir=."; \ | |
19777 | libsrcdir=".";; \ | |
19778 | /* | [A-Za-z]:[\\/]*) \ | |
19779 | srcdiroption="--srcdir=$(srcdir)/libgui"; \ | |
19780 | libsrcdir="$$s/libgui";; \ | |
19781 | *) \ | |
19782 | srcdiroption="--srcdir=../$(srcdir)/libgui"; \ | |
19783 | libsrcdir="$$s/libgui";; \ | |
19784 | esac; \ | |
19785 | $(SHELL) $${libsrcdir}/configure \ | |
19786 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19787 | || exit 1 | |
19788 | ||
930314a4 NN |
19789 | .PHONY: all-libgui maybe-all-libgui |
19790 | maybe-all-libgui: | |
db1ac78d | 19791 | all-libgui: configure-libgui |
930314a4 | 19792 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19793 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19794 | $(SET_LIB_PATH) \ | |
19795 | (cd libgui && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19796 | |
16ae0395 NN |
19797 | .PHONY: check-libgui maybe-check-libgui |
19798 | maybe-check-libgui: | |
3866be5d | 19799 | |
3866be5d | 19800 | check-libgui: |
930314a4 | 19801 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19802 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19803 | $(SET_LIB_PATH) \ | |
19804 | (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19805 | |
19806 | ||
930314a4 NN |
19807 | .PHONY: install-libgui maybe-install-libgui |
19808 | maybe-install-libgui: | |
16ae0395 | 19809 | |
3866be5d | 19810 | install-libgui: installdirs |
930314a4 | 19811 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19812 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19813 | $(SET_LIB_PATH) \ | |
19814 | (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19815 | |
19816 | ||
e2b9e2dc NN |
19817 | .PHONY: configure-libiberty maybe-configure-libiberty |
19818 | maybe-configure-libiberty: | |
e6bfb94a AO |
19819 | configure-libiberty: |
19820 | @test ! -f libiberty/Makefile || exit 0; \ | |
19821 | [ -d libiberty ] || mkdir libiberty; \ | |
e2b9e2dc NN |
19822 | r=`${PWD}`; export r; \ |
19823 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
19824 | CC="$(CC)"; export CC; \ | |
19825 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19826 | CXX="$(CXX)"; export CXX; \ | |
19827 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19828 | AR="$(AR)"; export AR; \ |
19829 | AS="$(AS)"; export AS; \ | |
19830 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19831 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19832 | LD="$(LD)"; export LD; \ | |
19833 | NM="$(NM)"; export NM; \ | |
19834 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19835 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19836 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19837 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19838 | echo Configuring in libiberty; \ |
19839 | cd libiberty || exit 1; \ | |
19840 | case $(srcdir) in \ | |
19841 | \.) \ | |
19842 | srcdiroption="--srcdir=."; \ | |
19843 | libsrcdir=".";; \ | |
19844 | /* | [A-Za-z]:[\\/]*) \ | |
19845 | srcdiroption="--srcdir=$(srcdir)/libiberty"; \ | |
19846 | libsrcdir="$$s/libiberty";; \ | |
19847 | *) \ | |
19848 | srcdiroption="--srcdir=../$(srcdir)/libiberty"; \ | |
19849 | libsrcdir="$$s/libiberty";; \ | |
19850 | esac; \ | |
19851 | $(SHELL) $${libsrcdir}/configure \ | |
19852 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19853 | || exit 1 | |
19854 | ||
930314a4 NN |
19855 | .PHONY: all-libiberty maybe-all-libiberty |
19856 | maybe-all-libiberty: | |
db1ac78d | 19857 | all-libiberty: configure-libiberty |
930314a4 | 19858 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19859 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19860 | $(SET_LIB_PATH) \ | |
19861 | (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19862 | |
16ae0395 NN |
19863 | .PHONY: check-libiberty maybe-check-libiberty |
19864 | maybe-check-libiberty: | |
3866be5d | 19865 | |
3866be5d | 19866 | check-libiberty: |
930314a4 | 19867 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19868 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19869 | $(SET_LIB_PATH) \ | |
19870 | (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19871 | |
19872 | ||
930314a4 NN |
19873 | .PHONY: install-libiberty maybe-install-libiberty |
19874 | maybe-install-libiberty: | |
16ae0395 | 19875 | |
3866be5d | 19876 | install-libiberty: installdirs |
930314a4 | 19877 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19878 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19879 | $(SET_LIB_PATH) \ | |
19880 | (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19881 | |
19882 | ||
e2b9e2dc NN |
19883 | .PHONY: configure-libtool maybe-configure-libtool |
19884 | maybe-configure-libtool: | |
e6bfb94a AO |
19885 | configure-libtool: |
19886 | @test ! -f libtool/Makefile || exit 0; \ | |
19887 | [ -d libtool ] || mkdir libtool; \ | |
e2b9e2dc NN |
19888 | r=`${PWD}`; export r; \ |
19889 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
19890 | CC="$(CC)"; export CC; \ | |
19891 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19892 | CXX="$(CXX)"; export CXX; \ | |
19893 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19894 | AR="$(AR)"; export AR; \ |
19895 | AS="$(AS)"; export AS; \ | |
19896 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19897 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19898 | LD="$(LD)"; export LD; \ | |
19899 | NM="$(NM)"; export NM; \ | |
19900 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19901 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19902 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19903 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19904 | echo Configuring in libtool; \ |
19905 | cd libtool || exit 1; \ | |
19906 | case $(srcdir) in \ | |
19907 | \.) \ | |
19908 | srcdiroption="--srcdir=."; \ | |
19909 | libsrcdir=".";; \ | |
19910 | /* | [A-Za-z]:[\\/]*) \ | |
19911 | srcdiroption="--srcdir=$(srcdir)/libtool"; \ | |
19912 | libsrcdir="$$s/libtool";; \ | |
19913 | *) \ | |
19914 | srcdiroption="--srcdir=../$(srcdir)/libtool"; \ | |
19915 | libsrcdir="$$s/libtool";; \ | |
19916 | esac; \ | |
19917 | $(SHELL) $${libsrcdir}/configure \ | |
19918 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19919 | || exit 1 | |
19920 | ||
930314a4 NN |
19921 | .PHONY: all-libtool maybe-all-libtool |
19922 | maybe-all-libtool: | |
db1ac78d | 19923 | all-libtool: configure-libtool |
930314a4 | 19924 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19925 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19926 | $(SET_LIB_PATH) \ | |
19927 | (cd libtool && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19928 | |
16ae0395 NN |
19929 | .PHONY: check-libtool maybe-check-libtool |
19930 | maybe-check-libtool: | |
3866be5d | 19931 | |
3866be5d | 19932 | check-libtool: |
930314a4 | 19933 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19934 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19935 | $(SET_LIB_PATH) \ | |
19936 | (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
19937 | |
19938 | ||
930314a4 NN |
19939 | .PHONY: install-libtool maybe-install-libtool |
19940 | maybe-install-libtool: | |
16ae0395 | 19941 | |
3866be5d | 19942 | install-libtool: installdirs |
930314a4 | 19943 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19944 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19945 | $(SET_LIB_PATH) \ | |
19946 | (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
19947 | |
19948 | ||
e2b9e2dc NN |
19949 | .PHONY: configure-m4 maybe-configure-m4 |
19950 | maybe-configure-m4: | |
e6bfb94a AO |
19951 | configure-m4: |
19952 | @test ! -f m4/Makefile || exit 0; \ | |
19953 | [ -d m4 ] || mkdir m4; \ | |
e2b9e2dc NN |
19954 | r=`${PWD}`; export r; \ |
19955 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
19956 | CC="$(CC)"; export CC; \ | |
19957 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
19958 | CXX="$(CXX)"; export CXX; \ | |
19959 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
19960 | AR="$(AR)"; export AR; \ |
19961 | AS="$(AS)"; export AS; \ | |
19962 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
19963 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
19964 | LD="$(LD)"; export LD; \ | |
19965 | NM="$(NM)"; export NM; \ | |
19966 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
19967 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
19968 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
19969 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
19970 | echo Configuring in m4; \ |
19971 | cd m4 || exit 1; \ | |
19972 | case $(srcdir) in \ | |
19973 | \.) \ | |
19974 | srcdiroption="--srcdir=."; \ | |
19975 | libsrcdir=".";; \ | |
19976 | /* | [A-Za-z]:[\\/]*) \ | |
19977 | srcdiroption="--srcdir=$(srcdir)/m4"; \ | |
19978 | libsrcdir="$$s/m4";; \ | |
19979 | *) \ | |
19980 | srcdiroption="--srcdir=../$(srcdir)/m4"; \ | |
19981 | libsrcdir="$$s/m4";; \ | |
19982 | esac; \ | |
19983 | $(SHELL) $${libsrcdir}/configure \ | |
19984 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
19985 | || exit 1 | |
19986 | ||
930314a4 NN |
19987 | .PHONY: all-m4 maybe-all-m4 |
19988 | maybe-all-m4: | |
db1ac78d | 19989 | all-m4: configure-m4 |
930314a4 | 19990 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
19991 | s=`cd $(srcdir); ${PWD}`; export s; \ |
19992 | $(SET_LIB_PATH) \ | |
19993 | (cd m4 && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 19994 | |
16ae0395 NN |
19995 | .PHONY: check-m4 maybe-check-m4 |
19996 | maybe-check-m4: | |
3866be5d | 19997 | |
3866be5d | 19998 | check-m4: |
930314a4 | 19999 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20000 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20001 | $(SET_LIB_PATH) \ | |
20002 | (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20003 | |
20004 | ||
930314a4 NN |
20005 | .PHONY: install-m4 maybe-install-m4 |
20006 | maybe-install-m4: | |
16ae0395 | 20007 | |
3866be5d | 20008 | install-m4: installdirs |
930314a4 | 20009 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20010 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20011 | $(SET_LIB_PATH) \ | |
20012 | (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20013 | |
20014 | ||
e2b9e2dc NN |
20015 | .PHONY: configure-make maybe-configure-make |
20016 | maybe-configure-make: | |
e6bfb94a AO |
20017 | configure-make: |
20018 | @test ! -f make/Makefile || exit 0; \ | |
20019 | [ -d make ] || mkdir make; \ | |
e2b9e2dc NN |
20020 | r=`${PWD}`; export r; \ |
20021 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
20022 | CC="$(CC)"; export CC; \ | |
20023 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20024 | CXX="$(CXX)"; export CXX; \ | |
20025 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20026 | AR="$(AR)"; export AR; \ |
20027 | AS="$(AS)"; export AS; \ | |
20028 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20029 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20030 | LD="$(LD)"; export LD; \ | |
20031 | NM="$(NM)"; export NM; \ | |
20032 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20033 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20034 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20035 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20036 | echo Configuring in make; \ |
20037 | cd make || exit 1; \ | |
20038 | case $(srcdir) in \ | |
20039 | \.) \ | |
20040 | srcdiroption="--srcdir=."; \ | |
20041 | libsrcdir=".";; \ | |
20042 | /* | [A-Za-z]:[\\/]*) \ | |
20043 | srcdiroption="--srcdir=$(srcdir)/make"; \ | |
20044 | libsrcdir="$$s/make";; \ | |
20045 | *) \ | |
20046 | srcdiroption="--srcdir=../$(srcdir)/make"; \ | |
20047 | libsrcdir="$$s/make";; \ | |
20048 | esac; \ | |
20049 | $(SHELL) $${libsrcdir}/configure \ | |
20050 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20051 | || exit 1 | |
20052 | ||
930314a4 NN |
20053 | .PHONY: all-make maybe-all-make |
20054 | maybe-all-make: | |
db1ac78d | 20055 | all-make: configure-make |
930314a4 | 20056 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20057 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20058 | $(SET_LIB_PATH) \ | |
20059 | (cd make && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20060 | |
16ae0395 NN |
20061 | .PHONY: check-make maybe-check-make |
20062 | maybe-check-make: | |
3866be5d | 20063 | |
3866be5d | 20064 | check-make: |
930314a4 | 20065 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20066 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20067 | $(SET_LIB_PATH) \ | |
20068 | (cd make && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20069 | |
20070 | ||
930314a4 NN |
20071 | .PHONY: install-make maybe-install-make |
20072 | maybe-install-make: | |
16ae0395 | 20073 | |
3866be5d | 20074 | install-make: installdirs |
930314a4 | 20075 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20076 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20077 | $(SET_LIB_PATH) \ | |
20078 | (cd make && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20079 | |
20080 | ||
e2b9e2dc NN |
20081 | .PHONY: configure-mmalloc maybe-configure-mmalloc |
20082 | maybe-configure-mmalloc: | |
e6bfb94a AO |
20083 | configure-mmalloc: |
20084 | @test ! -f mmalloc/Makefile || exit 0; \ | |
20085 | [ -d mmalloc ] || mkdir mmalloc; \ | |
e2b9e2dc NN |
20086 | r=`${PWD}`; export r; \ |
20087 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
20088 | CC="$(CC)"; export CC; \ | |
20089 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20090 | CXX="$(CXX)"; export CXX; \ | |
20091 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20092 | AR="$(AR)"; export AR; \ |
20093 | AS="$(AS)"; export AS; \ | |
20094 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20095 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20096 | LD="$(LD)"; export LD; \ | |
20097 | NM="$(NM)"; export NM; \ | |
20098 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20099 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20100 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20101 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20102 | echo Configuring in mmalloc; \ |
20103 | cd mmalloc || exit 1; \ | |
20104 | case $(srcdir) in \ | |
20105 | \.) \ | |
20106 | srcdiroption="--srcdir=."; \ | |
20107 | libsrcdir=".";; \ | |
20108 | /* | [A-Za-z]:[\\/]*) \ | |
20109 | srcdiroption="--srcdir=$(srcdir)/mmalloc"; \ | |
20110 | libsrcdir="$$s/mmalloc";; \ | |
20111 | *) \ | |
20112 | srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \ | |
20113 | libsrcdir="$$s/mmalloc";; \ | |
20114 | esac; \ | |
20115 | $(SHELL) $${libsrcdir}/configure \ | |
20116 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20117 | || exit 1 | |
20118 | ||
930314a4 NN |
20119 | .PHONY: all-mmalloc maybe-all-mmalloc |
20120 | maybe-all-mmalloc: | |
db1ac78d | 20121 | all-mmalloc: configure-mmalloc |
930314a4 | 20122 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20123 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20124 | $(SET_LIB_PATH) \ | |
20125 | (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20126 | |
16ae0395 NN |
20127 | .PHONY: check-mmalloc maybe-check-mmalloc |
20128 | maybe-check-mmalloc: | |
3866be5d | 20129 | |
3866be5d NN |
20130 | check-mmalloc: |
20131 | ||
20132 | ||
930314a4 NN |
20133 | .PHONY: install-mmalloc maybe-install-mmalloc |
20134 | maybe-install-mmalloc: | |
16ae0395 | 20135 | |
3866be5d | 20136 | install-mmalloc: installdirs |
930314a4 | 20137 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20138 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20139 | $(SET_LIB_PATH) \ | |
20140 | (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20141 | |
20142 | ||
e2b9e2dc NN |
20143 | .PHONY: configure-patch maybe-configure-patch |
20144 | maybe-configure-patch: | |
e6bfb94a AO |
20145 | configure-patch: |
20146 | @test ! -f patch/Makefile || exit 0; \ | |
20147 | [ -d patch ] || mkdir patch; \ | |
e2b9e2dc NN |
20148 | r=`${PWD}`; export r; \ |
20149 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
20150 | CC="$(CC)"; export CC; \ | |
20151 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20152 | CXX="$(CXX)"; export CXX; \ | |
20153 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20154 | AR="$(AR)"; export AR; \ |
20155 | AS="$(AS)"; export AS; \ | |
20156 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20157 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20158 | LD="$(LD)"; export LD; \ | |
20159 | NM="$(NM)"; export NM; \ | |
20160 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20161 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20162 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20163 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20164 | echo Configuring in patch; \ |
20165 | cd patch || exit 1; \ | |
20166 | case $(srcdir) in \ | |
20167 | \.) \ | |
20168 | srcdiroption="--srcdir=."; \ | |
20169 | libsrcdir=".";; \ | |
20170 | /* | [A-Za-z]:[\\/]*) \ | |
20171 | srcdiroption="--srcdir=$(srcdir)/patch"; \ | |
20172 | libsrcdir="$$s/patch";; \ | |
20173 | *) \ | |
20174 | srcdiroption="--srcdir=../$(srcdir)/patch"; \ | |
20175 | libsrcdir="$$s/patch";; \ | |
20176 | esac; \ | |
20177 | $(SHELL) $${libsrcdir}/configure \ | |
20178 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20179 | || exit 1 | |
20180 | ||
930314a4 NN |
20181 | .PHONY: all-patch maybe-all-patch |
20182 | maybe-all-patch: | |
db1ac78d | 20183 | all-patch: configure-patch |
930314a4 | 20184 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20185 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20186 | $(SET_LIB_PATH) \ | |
20187 | (cd patch && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20188 | |
16ae0395 NN |
20189 | .PHONY: check-patch maybe-check-patch |
20190 | maybe-check-patch: | |
3866be5d | 20191 | |
3866be5d | 20192 | check-patch: |
930314a4 | 20193 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20194 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20195 | $(SET_LIB_PATH) \ | |
20196 | (cd patch && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20197 | |
20198 | ||
930314a4 NN |
20199 | .PHONY: install-patch maybe-install-patch |
20200 | maybe-install-patch: | |
16ae0395 | 20201 | |
3866be5d | 20202 | install-patch: installdirs |
930314a4 | 20203 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20204 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20205 | $(SET_LIB_PATH) \ | |
20206 | (cd patch && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20207 | |
20208 | ||
e2b9e2dc NN |
20209 | .PHONY: configure-perl maybe-configure-perl |
20210 | maybe-configure-perl: | |
e6bfb94a AO |
20211 | configure-perl: |
20212 | @test ! -f perl/Makefile || exit 0; \ | |
20213 | [ -d perl ] || mkdir perl; \ | |
e2b9e2dc NN |
20214 | r=`${PWD}`; export r; \ |
20215 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
20216 | CC="$(CC)"; export CC; \ | |
20217 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20218 | CXX="$(CXX)"; export CXX; \ | |
20219 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20220 | AR="$(AR)"; export AR; \ |
20221 | AS="$(AS)"; export AS; \ | |
20222 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20223 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20224 | LD="$(LD)"; export LD; \ | |
20225 | NM="$(NM)"; export NM; \ | |
20226 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20227 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20228 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20229 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20230 | echo Configuring in perl; \ |
20231 | cd perl || exit 1; \ | |
20232 | case $(srcdir) in \ | |
20233 | \.) \ | |
20234 | srcdiroption="--srcdir=."; \ | |
20235 | libsrcdir=".";; \ | |
20236 | /* | [A-Za-z]:[\\/]*) \ | |
20237 | srcdiroption="--srcdir=$(srcdir)/perl"; \ | |
20238 | libsrcdir="$$s/perl";; \ | |
20239 | *) \ | |
20240 | srcdiroption="--srcdir=../$(srcdir)/perl"; \ | |
20241 | libsrcdir="$$s/perl";; \ | |
20242 | esac; \ | |
20243 | $(SHELL) $${libsrcdir}/configure \ | |
20244 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20245 | || exit 1 | |
20246 | ||
930314a4 NN |
20247 | .PHONY: all-perl maybe-all-perl |
20248 | maybe-all-perl: | |
db1ac78d | 20249 | all-perl: configure-perl |
930314a4 | 20250 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20251 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20252 | $(SET_LIB_PATH) \ | |
20253 | (cd perl && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20254 | |
16ae0395 NN |
20255 | .PHONY: check-perl maybe-check-perl |
20256 | maybe-check-perl: | |
3866be5d | 20257 | |
3866be5d | 20258 | check-perl: |
930314a4 | 20259 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20260 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20261 | $(SET_LIB_PATH) \ | |
20262 | (cd perl && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20263 | |
20264 | ||
930314a4 NN |
20265 | .PHONY: install-perl maybe-install-perl |
20266 | maybe-install-perl: | |
16ae0395 | 20267 | |
3866be5d | 20268 | install-perl: installdirs |
930314a4 | 20269 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20270 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20271 | $(SET_LIB_PATH) \ | |
20272 | (cd perl && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20273 | |
20274 | ||
e2b9e2dc NN |
20275 | .PHONY: configure-prms maybe-configure-prms |
20276 | maybe-configure-prms: | |
e6bfb94a AO |
20277 | configure-prms: |
20278 | @test ! -f prms/Makefile || exit 0; \ | |
20279 | [ -d prms ] || mkdir prms; \ | |
e2b9e2dc NN |
20280 | r=`${PWD}`; export r; \ |
20281 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
20282 | CC="$(CC)"; export CC; \ | |
20283 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20284 | CXX="$(CXX)"; export CXX; \ | |
20285 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20286 | AR="$(AR)"; export AR; \ |
20287 | AS="$(AS)"; export AS; \ | |
20288 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20289 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20290 | LD="$(LD)"; export LD; \ | |
20291 | NM="$(NM)"; export NM; \ | |
20292 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20293 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20294 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20295 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20296 | echo Configuring in prms; \ |
20297 | cd prms || exit 1; \ | |
20298 | case $(srcdir) in \ | |
20299 | \.) \ | |
20300 | srcdiroption="--srcdir=."; \ | |
20301 | libsrcdir=".";; \ | |
20302 | /* | [A-Za-z]:[\\/]*) \ | |
20303 | srcdiroption="--srcdir=$(srcdir)/prms"; \ | |
20304 | libsrcdir="$$s/prms";; \ | |
20305 | *) \ | |
20306 | srcdiroption="--srcdir=../$(srcdir)/prms"; \ | |
20307 | libsrcdir="$$s/prms";; \ | |
20308 | esac; \ | |
20309 | $(SHELL) $${libsrcdir}/configure \ | |
20310 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20311 | || exit 1 | |
20312 | ||
930314a4 NN |
20313 | .PHONY: all-prms maybe-all-prms |
20314 | maybe-all-prms: | |
db1ac78d | 20315 | all-prms: configure-prms |
930314a4 | 20316 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20317 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20318 | $(SET_LIB_PATH) \ | |
20319 | (cd prms && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20320 | |
16ae0395 NN |
20321 | .PHONY: check-prms maybe-check-prms |
20322 | maybe-check-prms: | |
3866be5d | 20323 | |
3866be5d | 20324 | check-prms: |
930314a4 | 20325 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20326 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20327 | $(SET_LIB_PATH) \ | |
20328 | (cd prms && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20329 | |
20330 | ||
930314a4 NN |
20331 | .PHONY: install-prms maybe-install-prms |
20332 | maybe-install-prms: | |
16ae0395 | 20333 | |
3866be5d | 20334 | install-prms: installdirs |
930314a4 | 20335 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20336 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20337 | $(SET_LIB_PATH) \ | |
20338 | (cd prms && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20339 | |
20340 | ||
e2b9e2dc NN |
20341 | .PHONY: configure-rcs maybe-configure-rcs |
20342 | maybe-configure-rcs: | |
e6bfb94a AO |
20343 | configure-rcs: |
20344 | @test ! -f rcs/Makefile || exit 0; \ | |
20345 | [ -d rcs ] || mkdir rcs; \ | |
e2b9e2dc NN |
20346 | r=`${PWD}`; export r; \ |
20347 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
20348 | CC="$(CC)"; export CC; \ | |
20349 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20350 | CXX="$(CXX)"; export CXX; \ | |
20351 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20352 | AR="$(AR)"; export AR; \ |
20353 | AS="$(AS)"; export AS; \ | |
20354 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20355 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20356 | LD="$(LD)"; export LD; \ | |
20357 | NM="$(NM)"; export NM; \ | |
20358 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20359 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20360 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20361 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20362 | echo Configuring in rcs; \ |
20363 | cd rcs || exit 1; \ | |
20364 | case $(srcdir) in \ | |
20365 | \.) \ | |
20366 | srcdiroption="--srcdir=."; \ | |
20367 | libsrcdir=".";; \ | |
20368 | /* | [A-Za-z]:[\\/]*) \ | |
20369 | srcdiroption="--srcdir=$(srcdir)/rcs"; \ | |
20370 | libsrcdir="$$s/rcs";; \ | |
20371 | *) \ | |
20372 | srcdiroption="--srcdir=../$(srcdir)/rcs"; \ | |
20373 | libsrcdir="$$s/rcs";; \ | |
20374 | esac; \ | |
20375 | $(SHELL) $${libsrcdir}/configure \ | |
20376 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20377 | || exit 1 | |
20378 | ||
930314a4 NN |
20379 | .PHONY: all-rcs maybe-all-rcs |
20380 | maybe-all-rcs: | |
db1ac78d | 20381 | all-rcs: configure-rcs |
930314a4 | 20382 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20383 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20384 | $(SET_LIB_PATH) \ | |
20385 | (cd rcs && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20386 | |
16ae0395 NN |
20387 | .PHONY: check-rcs maybe-check-rcs |
20388 | maybe-check-rcs: | |
3866be5d | 20389 | |
3866be5d | 20390 | check-rcs: |
930314a4 | 20391 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20392 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20393 | $(SET_LIB_PATH) \ | |
20394 | (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20395 | |
20396 | ||
930314a4 NN |
20397 | .PHONY: install-rcs maybe-install-rcs |
20398 | maybe-install-rcs: | |
16ae0395 | 20399 | |
3866be5d | 20400 | install-rcs: installdirs |
930314a4 | 20401 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20402 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20403 | $(SET_LIB_PATH) \ | |
20404 | (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20405 | |
20406 | ||
e2b9e2dc NN |
20407 | .PHONY: configure-readline maybe-configure-readline |
20408 | maybe-configure-readline: | |
e6bfb94a AO |
20409 | configure-readline: |
20410 | @test ! -f readline/Makefile || exit 0; \ | |
20411 | [ -d readline ] || mkdir readline; \ | |
e2b9e2dc NN |
20412 | r=`${PWD}`; export r; \ |
20413 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
20414 | CC="$(CC)"; export CC; \ | |
20415 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20416 | CXX="$(CXX)"; export CXX; \ | |
20417 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20418 | AR="$(AR)"; export AR; \ |
20419 | AS="$(AS)"; export AS; \ | |
20420 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20421 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20422 | LD="$(LD)"; export LD; \ | |
20423 | NM="$(NM)"; export NM; \ | |
20424 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20425 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20426 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20427 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20428 | echo Configuring in readline; \ |
20429 | cd readline || exit 1; \ | |
20430 | case $(srcdir) in \ | |
20431 | \.) \ | |
20432 | srcdiroption="--srcdir=."; \ | |
20433 | libsrcdir=".";; \ | |
20434 | /* | [A-Za-z]:[\\/]*) \ | |
20435 | srcdiroption="--srcdir=$(srcdir)/readline"; \ | |
20436 | libsrcdir="$$s/readline";; \ | |
20437 | *) \ | |
20438 | srcdiroption="--srcdir=../$(srcdir)/readline"; \ | |
20439 | libsrcdir="$$s/readline";; \ | |
20440 | esac; \ | |
20441 | $(SHELL) $${libsrcdir}/configure \ | |
20442 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20443 | || exit 1 | |
20444 | ||
930314a4 NN |
20445 | .PHONY: all-readline maybe-all-readline |
20446 | maybe-all-readline: | |
db1ac78d | 20447 | all-readline: configure-readline |
930314a4 | 20448 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20449 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20450 | $(SET_LIB_PATH) \ | |
20451 | (cd readline && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20452 | |
16ae0395 NN |
20453 | .PHONY: check-readline maybe-check-readline |
20454 | maybe-check-readline: | |
3866be5d | 20455 | |
3866be5d | 20456 | check-readline: |
930314a4 | 20457 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20458 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20459 | $(SET_LIB_PATH) \ | |
20460 | (cd readline && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20461 | |
20462 | ||
930314a4 NN |
20463 | .PHONY: install-readline maybe-install-readline |
20464 | maybe-install-readline: | |
16ae0395 | 20465 | |
3866be5d | 20466 | install-readline: installdirs |
930314a4 | 20467 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20468 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20469 | $(SET_LIB_PATH) \ | |
20470 | (cd readline && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20471 | |
20472 | ||
e2b9e2dc NN |
20473 | .PHONY: configure-release maybe-configure-release |
20474 | maybe-configure-release: | |
e6bfb94a AO |
20475 | configure-release: |
20476 | @test ! -f release/Makefile || exit 0; \ | |
20477 | [ -d release ] || mkdir release; \ | |
e2b9e2dc NN |
20478 | r=`${PWD}`; export r; \ |
20479 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
20480 | CC="$(CC)"; export CC; \ | |
20481 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20482 | CXX="$(CXX)"; export CXX; \ | |
20483 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20484 | AR="$(AR)"; export AR; \ |
20485 | AS="$(AS)"; export AS; \ | |
20486 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20487 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20488 | LD="$(LD)"; export LD; \ | |
20489 | NM="$(NM)"; export NM; \ | |
20490 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20491 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20492 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20493 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20494 | echo Configuring in release; \ |
20495 | cd release || exit 1; \ | |
20496 | case $(srcdir) in \ | |
20497 | \.) \ | |
20498 | srcdiroption="--srcdir=."; \ | |
20499 | libsrcdir=".";; \ | |
20500 | /* | [A-Za-z]:[\\/]*) \ | |
20501 | srcdiroption="--srcdir=$(srcdir)/release"; \ | |
20502 | libsrcdir="$$s/release";; \ | |
20503 | *) \ | |
20504 | srcdiroption="--srcdir=../$(srcdir)/release"; \ | |
20505 | libsrcdir="$$s/release";; \ | |
20506 | esac; \ | |
20507 | $(SHELL) $${libsrcdir}/configure \ | |
20508 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20509 | || exit 1 | |
20510 | ||
930314a4 NN |
20511 | .PHONY: all-release maybe-all-release |
20512 | maybe-all-release: | |
db1ac78d | 20513 | all-release: configure-release |
930314a4 | 20514 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20515 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20516 | $(SET_LIB_PATH) \ | |
20517 | (cd release && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20518 | |
16ae0395 NN |
20519 | .PHONY: check-release maybe-check-release |
20520 | maybe-check-release: | |
3866be5d | 20521 | |
3866be5d NN |
20522 | check-release: |
20523 | ||
20524 | ||
930314a4 NN |
20525 | .PHONY: install-release maybe-install-release |
20526 | maybe-install-release: | |
16ae0395 | 20527 | |
3866be5d NN |
20528 | install-release: |
20529 | ||
20530 | ||
e2b9e2dc NN |
20531 | .PHONY: configure-recode maybe-configure-recode |
20532 | maybe-configure-recode: | |
e6bfb94a AO |
20533 | configure-recode: |
20534 | @test ! -f recode/Makefile || exit 0; \ | |
20535 | [ -d recode ] || mkdir recode; \ | |
e2b9e2dc NN |
20536 | r=`${PWD}`; export r; \ |
20537 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
20538 | CC="$(CC)"; export CC; \ | |
20539 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20540 | CXX="$(CXX)"; export CXX; \ | |
20541 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20542 | AR="$(AR)"; export AR; \ |
20543 | AS="$(AS)"; export AS; \ | |
20544 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20545 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20546 | LD="$(LD)"; export LD; \ | |
20547 | NM="$(NM)"; export NM; \ | |
20548 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20549 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20550 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20551 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20552 | echo Configuring in recode; \ |
20553 | cd recode || exit 1; \ | |
20554 | case $(srcdir) in \ | |
20555 | \.) \ | |
20556 | srcdiroption="--srcdir=."; \ | |
20557 | libsrcdir=".";; \ | |
20558 | /* | [A-Za-z]:[\\/]*) \ | |
20559 | srcdiroption="--srcdir=$(srcdir)/recode"; \ | |
20560 | libsrcdir="$$s/recode";; \ | |
20561 | *) \ | |
20562 | srcdiroption="--srcdir=../$(srcdir)/recode"; \ | |
20563 | libsrcdir="$$s/recode";; \ | |
20564 | esac; \ | |
20565 | $(SHELL) $${libsrcdir}/configure \ | |
20566 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20567 | || exit 1 | |
20568 | ||
930314a4 NN |
20569 | .PHONY: all-recode maybe-all-recode |
20570 | maybe-all-recode: | |
db1ac78d | 20571 | all-recode: configure-recode |
930314a4 | 20572 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20573 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20574 | $(SET_LIB_PATH) \ | |
20575 | (cd recode && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20576 | |
16ae0395 NN |
20577 | .PHONY: check-recode maybe-check-recode |
20578 | maybe-check-recode: | |
3866be5d | 20579 | |
3866be5d | 20580 | check-recode: |
930314a4 | 20581 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20582 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20583 | $(SET_LIB_PATH) \ | |
20584 | (cd recode && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20585 | |
20586 | ||
930314a4 NN |
20587 | .PHONY: install-recode maybe-install-recode |
20588 | maybe-install-recode: | |
16ae0395 | 20589 | |
3866be5d | 20590 | install-recode: installdirs |
930314a4 | 20591 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20592 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20593 | $(SET_LIB_PATH) \ | |
20594 | (cd recode && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20595 | |
20596 | ||
e2b9e2dc NN |
20597 | .PHONY: configure-sed maybe-configure-sed |
20598 | maybe-configure-sed: | |
e6bfb94a AO |
20599 | configure-sed: |
20600 | @test ! -f sed/Makefile || exit 0; \ | |
20601 | [ -d sed ] || mkdir sed; \ | |
e2b9e2dc NN |
20602 | r=`${PWD}`; export r; \ |
20603 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
20604 | CC="$(CC)"; export CC; \ | |
20605 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20606 | CXX="$(CXX)"; export CXX; \ | |
20607 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20608 | AR="$(AR)"; export AR; \ |
20609 | AS="$(AS)"; export AS; \ | |
20610 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20611 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20612 | LD="$(LD)"; export LD; \ | |
20613 | NM="$(NM)"; export NM; \ | |
20614 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20615 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20616 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20617 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20618 | echo Configuring in sed; \ |
20619 | cd sed || exit 1; \ | |
20620 | case $(srcdir) in \ | |
20621 | \.) \ | |
20622 | srcdiroption="--srcdir=."; \ | |
20623 | libsrcdir=".";; \ | |
20624 | /* | [A-Za-z]:[\\/]*) \ | |
20625 | srcdiroption="--srcdir=$(srcdir)/sed"; \ | |
20626 | libsrcdir="$$s/sed";; \ | |
20627 | *) \ | |
20628 | srcdiroption="--srcdir=../$(srcdir)/sed"; \ | |
20629 | libsrcdir="$$s/sed";; \ | |
20630 | esac; \ | |
20631 | $(SHELL) $${libsrcdir}/configure \ | |
20632 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20633 | || exit 1 | |
20634 | ||
930314a4 NN |
20635 | .PHONY: all-sed maybe-all-sed |
20636 | maybe-all-sed: | |
db1ac78d | 20637 | all-sed: configure-sed |
930314a4 | 20638 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20639 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20640 | $(SET_LIB_PATH) \ | |
20641 | (cd sed && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20642 | |
16ae0395 NN |
20643 | .PHONY: check-sed maybe-check-sed |
20644 | maybe-check-sed: | |
3866be5d | 20645 | |
3866be5d | 20646 | check-sed: |
930314a4 | 20647 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20648 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20649 | $(SET_LIB_PATH) \ | |
20650 | (cd sed && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20651 | |
20652 | ||
930314a4 NN |
20653 | .PHONY: install-sed maybe-install-sed |
20654 | maybe-install-sed: | |
16ae0395 | 20655 | |
3866be5d | 20656 | install-sed: installdirs |
930314a4 | 20657 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20658 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20659 | $(SET_LIB_PATH) \ | |
20660 | (cd sed && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20661 | |
20662 | ||
e2b9e2dc NN |
20663 | .PHONY: configure-send-pr maybe-configure-send-pr |
20664 | maybe-configure-send-pr: | |
e6bfb94a AO |
20665 | configure-send-pr: |
20666 | @test ! -f send-pr/Makefile || exit 0; \ | |
20667 | [ -d send-pr ] || mkdir send-pr; \ | |
e2b9e2dc NN |
20668 | r=`${PWD}`; export r; \ |
20669 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
20670 | CC="$(CC)"; export CC; \ | |
20671 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20672 | CXX="$(CXX)"; export CXX; \ | |
20673 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20674 | AR="$(AR)"; export AR; \ |
20675 | AS="$(AS)"; export AS; \ | |
20676 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20677 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20678 | LD="$(LD)"; export LD; \ | |
20679 | NM="$(NM)"; export NM; \ | |
20680 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20681 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20682 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20683 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20684 | echo Configuring in send-pr; \ |
20685 | cd send-pr || exit 1; \ | |
20686 | case $(srcdir) in \ | |
20687 | \.) \ | |
20688 | srcdiroption="--srcdir=."; \ | |
20689 | libsrcdir=".";; \ | |
20690 | /* | [A-Za-z]:[\\/]*) \ | |
20691 | srcdiroption="--srcdir=$(srcdir)/send-pr"; \ | |
20692 | libsrcdir="$$s/send-pr";; \ | |
20693 | *) \ | |
20694 | srcdiroption="--srcdir=../$(srcdir)/send-pr"; \ | |
20695 | libsrcdir="$$s/send-pr";; \ | |
20696 | esac; \ | |
20697 | $(SHELL) $${libsrcdir}/configure \ | |
20698 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20699 | || exit 1 | |
20700 | ||
930314a4 NN |
20701 | .PHONY: all-send-pr maybe-all-send-pr |
20702 | maybe-all-send-pr: | |
db1ac78d | 20703 | all-send-pr: configure-send-pr |
930314a4 | 20704 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20705 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20706 | $(SET_LIB_PATH) \ | |
20707 | (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20708 | |
16ae0395 NN |
20709 | .PHONY: check-send-pr maybe-check-send-pr |
20710 | maybe-check-send-pr: | |
3866be5d | 20711 | |
3866be5d | 20712 | check-send-pr: |
930314a4 | 20713 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20714 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20715 | $(SET_LIB_PATH) \ | |
20716 | (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20717 | |
20718 | ||
930314a4 NN |
20719 | .PHONY: install-send-pr maybe-install-send-pr |
20720 | maybe-install-send-pr: | |
16ae0395 | 20721 | |
3866be5d | 20722 | install-send-pr: installdirs |
930314a4 | 20723 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20724 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20725 | $(SET_LIB_PATH) \ | |
20726 | (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20727 | |
20728 | ||
e2b9e2dc NN |
20729 | .PHONY: configure-shellutils maybe-configure-shellutils |
20730 | maybe-configure-shellutils: | |
e6bfb94a AO |
20731 | configure-shellutils: |
20732 | @test ! -f shellutils/Makefile || exit 0; \ | |
20733 | [ -d shellutils ] || mkdir shellutils; \ | |
e2b9e2dc NN |
20734 | r=`${PWD}`; export r; \ |
20735 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
20736 | CC="$(CC)"; export CC; \ | |
20737 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20738 | CXX="$(CXX)"; export CXX; \ | |
20739 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20740 | AR="$(AR)"; export AR; \ |
20741 | AS="$(AS)"; export AS; \ | |
20742 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20743 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20744 | LD="$(LD)"; export LD; \ | |
20745 | NM="$(NM)"; export NM; \ | |
20746 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20747 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20748 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20749 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20750 | echo Configuring in shellutils; \ |
20751 | cd shellutils || exit 1; \ | |
20752 | case $(srcdir) in \ | |
20753 | \.) \ | |
20754 | srcdiroption="--srcdir=."; \ | |
20755 | libsrcdir=".";; \ | |
20756 | /* | [A-Za-z]:[\\/]*) \ | |
20757 | srcdiroption="--srcdir=$(srcdir)/shellutils"; \ | |
20758 | libsrcdir="$$s/shellutils";; \ | |
20759 | *) \ | |
20760 | srcdiroption="--srcdir=../$(srcdir)/shellutils"; \ | |
20761 | libsrcdir="$$s/shellutils";; \ | |
20762 | esac; \ | |
20763 | $(SHELL) $${libsrcdir}/configure \ | |
20764 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20765 | || exit 1 | |
20766 | ||
930314a4 NN |
20767 | .PHONY: all-shellutils maybe-all-shellutils |
20768 | maybe-all-shellutils: | |
db1ac78d | 20769 | all-shellutils: configure-shellutils |
930314a4 | 20770 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20771 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20772 | $(SET_LIB_PATH) \ | |
20773 | (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20774 | |
16ae0395 NN |
20775 | .PHONY: check-shellutils maybe-check-shellutils |
20776 | maybe-check-shellutils: | |
3866be5d | 20777 | |
3866be5d | 20778 | check-shellutils: |
930314a4 | 20779 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20780 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20781 | $(SET_LIB_PATH) \ | |
20782 | (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20783 | |
20784 | ||
930314a4 NN |
20785 | .PHONY: install-shellutils maybe-install-shellutils |
20786 | maybe-install-shellutils: | |
16ae0395 | 20787 | |
3866be5d | 20788 | install-shellutils: installdirs |
930314a4 | 20789 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20790 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20791 | $(SET_LIB_PATH) \ | |
20792 | (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20793 | |
20794 | ||
e2b9e2dc NN |
20795 | .PHONY: configure-sid maybe-configure-sid |
20796 | maybe-configure-sid: | |
e6bfb94a AO |
20797 | configure-sid: |
20798 | @test ! -f sid/Makefile || exit 0; \ | |
20799 | [ -d sid ] || mkdir sid; \ | |
e2b9e2dc NN |
20800 | r=`${PWD}`; export r; \ |
20801 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
20802 | CC="$(CC)"; export CC; \ | |
20803 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20804 | CXX="$(CXX)"; export CXX; \ | |
20805 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20806 | AR="$(AR)"; export AR; \ |
20807 | AS="$(AS)"; export AS; \ | |
20808 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20809 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20810 | LD="$(LD)"; export LD; \ | |
20811 | NM="$(NM)"; export NM; \ | |
20812 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20813 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20814 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20815 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20816 | echo Configuring in sid; \ |
20817 | cd sid || exit 1; \ | |
20818 | case $(srcdir) in \ | |
20819 | \.) \ | |
20820 | srcdiroption="--srcdir=."; \ | |
20821 | libsrcdir=".";; \ | |
20822 | /* | [A-Za-z]:[\\/]*) \ | |
20823 | srcdiroption="--srcdir=$(srcdir)/sid"; \ | |
20824 | libsrcdir="$$s/sid";; \ | |
20825 | *) \ | |
20826 | srcdiroption="--srcdir=../$(srcdir)/sid"; \ | |
20827 | libsrcdir="$$s/sid";; \ | |
20828 | esac; \ | |
20829 | $(SHELL) $${libsrcdir}/configure \ | |
20830 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20831 | || exit 1 | |
20832 | ||
930314a4 NN |
20833 | .PHONY: all-sid maybe-all-sid |
20834 | maybe-all-sid: | |
db1ac78d | 20835 | all-sid: configure-sid |
930314a4 | 20836 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20837 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20838 | $(SET_LIB_PATH) \ | |
20839 | (cd sid && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20840 | |
16ae0395 NN |
20841 | .PHONY: check-sid maybe-check-sid |
20842 | maybe-check-sid: | |
3866be5d | 20843 | |
3866be5d | 20844 | check-sid: |
930314a4 | 20845 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20846 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20847 | $(SET_LIB_PATH) \ | |
20848 | (cd sid && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20849 | |
20850 | ||
930314a4 NN |
20851 | .PHONY: install-sid maybe-install-sid |
20852 | maybe-install-sid: | |
16ae0395 | 20853 | |
3866be5d | 20854 | install-sid: installdirs |
930314a4 | 20855 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20856 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20857 | $(SET_LIB_PATH) \ | |
20858 | (cd sid && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20859 | |
20860 | ||
e2b9e2dc NN |
20861 | .PHONY: configure-sim maybe-configure-sim |
20862 | maybe-configure-sim: | |
e6bfb94a AO |
20863 | configure-sim: |
20864 | @test ! -f sim/Makefile || exit 0; \ | |
20865 | [ -d sim ] || mkdir sim; \ | |
e2b9e2dc NN |
20866 | r=`${PWD}`; export r; \ |
20867 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
20868 | CC="$(CC)"; export CC; \ | |
20869 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20870 | CXX="$(CXX)"; export CXX; \ | |
20871 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20872 | AR="$(AR)"; export AR; \ |
20873 | AS="$(AS)"; export AS; \ | |
20874 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20875 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20876 | LD="$(LD)"; export LD; \ | |
20877 | NM="$(NM)"; export NM; \ | |
20878 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20879 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20880 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20881 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20882 | echo Configuring in sim; \ |
20883 | cd sim || exit 1; \ | |
20884 | case $(srcdir) in \ | |
20885 | \.) \ | |
20886 | srcdiroption="--srcdir=."; \ | |
20887 | libsrcdir=".";; \ | |
20888 | /* | [A-Za-z]:[\\/]*) \ | |
20889 | srcdiroption="--srcdir=$(srcdir)/sim"; \ | |
20890 | libsrcdir="$$s/sim";; \ | |
20891 | *) \ | |
20892 | srcdiroption="--srcdir=../$(srcdir)/sim"; \ | |
20893 | libsrcdir="$$s/sim";; \ | |
20894 | esac; \ | |
20895 | $(SHELL) $${libsrcdir}/configure \ | |
20896 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20897 | || exit 1 | |
20898 | ||
930314a4 NN |
20899 | .PHONY: all-sim maybe-all-sim |
20900 | maybe-all-sim: | |
db1ac78d | 20901 | all-sim: configure-sim |
930314a4 | 20902 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20903 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20904 | $(SET_LIB_PATH) \ | |
20905 | (cd sim && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20906 | |
16ae0395 NN |
20907 | .PHONY: check-sim maybe-check-sim |
20908 | maybe-check-sim: | |
3866be5d | 20909 | |
3866be5d | 20910 | check-sim: |
930314a4 | 20911 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20912 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20913 | $(SET_LIB_PATH) \ | |
20914 | (cd sim && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20915 | |
20916 | ||
930314a4 NN |
20917 | .PHONY: install-sim maybe-install-sim |
20918 | maybe-install-sim: | |
16ae0395 | 20919 | |
3866be5d | 20920 | install-sim: installdirs |
930314a4 | 20921 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20922 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20923 | $(SET_LIB_PATH) \ | |
20924 | (cd sim && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20925 | |
20926 | ||
e2b9e2dc NN |
20927 | .PHONY: configure-tar maybe-configure-tar |
20928 | maybe-configure-tar: | |
e6bfb94a AO |
20929 | configure-tar: |
20930 | @test ! -f tar/Makefile || exit 0; \ | |
20931 | [ -d tar ] || mkdir tar; \ | |
e2b9e2dc NN |
20932 | r=`${PWD}`; export r; \ |
20933 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
20934 | CC="$(CC)"; export CC; \ | |
20935 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
20936 | CXX="$(CXX)"; export CXX; \ | |
20937 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
20938 | AR="$(AR)"; export AR; \ |
20939 | AS="$(AS)"; export AS; \ | |
20940 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
20941 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
20942 | LD="$(LD)"; export LD; \ | |
20943 | NM="$(NM)"; export NM; \ | |
20944 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
20945 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
20946 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
20947 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
20948 | echo Configuring in tar; \ |
20949 | cd tar || exit 1; \ | |
20950 | case $(srcdir) in \ | |
20951 | \.) \ | |
20952 | srcdiroption="--srcdir=."; \ | |
20953 | libsrcdir=".";; \ | |
20954 | /* | [A-Za-z]:[\\/]*) \ | |
20955 | srcdiroption="--srcdir=$(srcdir)/tar"; \ | |
20956 | libsrcdir="$$s/tar";; \ | |
20957 | *) \ | |
20958 | srcdiroption="--srcdir=../$(srcdir)/tar"; \ | |
20959 | libsrcdir="$$s/tar";; \ | |
20960 | esac; \ | |
20961 | $(SHELL) $${libsrcdir}/configure \ | |
20962 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
20963 | || exit 1 | |
20964 | ||
930314a4 NN |
20965 | .PHONY: all-tar maybe-all-tar |
20966 | maybe-all-tar: | |
db1ac78d | 20967 | all-tar: configure-tar |
930314a4 | 20968 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20969 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20970 | $(SET_LIB_PATH) \ | |
20971 | (cd tar && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 20972 | |
16ae0395 NN |
20973 | .PHONY: check-tar maybe-check-tar |
20974 | maybe-check-tar: | |
3866be5d | 20975 | |
3866be5d | 20976 | check-tar: |
930314a4 | 20977 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20978 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20979 | $(SET_LIB_PATH) \ | |
20980 | (cd tar && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
20981 | |
20982 | ||
930314a4 NN |
20983 | .PHONY: install-tar maybe-install-tar |
20984 | maybe-install-tar: | |
16ae0395 | 20985 | |
3866be5d | 20986 | install-tar: installdirs |
930314a4 | 20987 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
20988 | s=`cd $(srcdir); ${PWD}`; export s; \ |
20989 | $(SET_LIB_PATH) \ | |
20990 | (cd tar && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
20991 | |
20992 | ||
e2b9e2dc NN |
20993 | .PHONY: configure-texinfo maybe-configure-texinfo |
20994 | maybe-configure-texinfo: | |
e6bfb94a AO |
20995 | configure-texinfo: |
20996 | @test ! -f texinfo/Makefile || exit 0; \ | |
20997 | [ -d texinfo ] || mkdir texinfo; \ | |
e2b9e2dc NN |
20998 | r=`${PWD}`; export r; \ |
20999 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
21000 | CC="$(CC)"; export CC; \ | |
21001 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21002 | CXX="$(CXX)"; export CXX; \ | |
21003 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21004 | AR="$(AR)"; export AR; \ |
21005 | AS="$(AS)"; export AS; \ | |
21006 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21007 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21008 | LD="$(LD)"; export LD; \ | |
21009 | NM="$(NM)"; export NM; \ | |
21010 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21011 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21012 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21013 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21014 | echo Configuring in texinfo; \ |
21015 | cd texinfo || exit 1; \ | |
21016 | case $(srcdir) in \ | |
21017 | \.) \ | |
21018 | srcdiroption="--srcdir=."; \ | |
21019 | libsrcdir=".";; \ | |
21020 | /* | [A-Za-z]:[\\/]*) \ | |
21021 | srcdiroption="--srcdir=$(srcdir)/texinfo"; \ | |
21022 | libsrcdir="$$s/texinfo";; \ | |
21023 | *) \ | |
21024 | srcdiroption="--srcdir=../$(srcdir)/texinfo"; \ | |
21025 | libsrcdir="$$s/texinfo";; \ | |
21026 | esac; \ | |
21027 | $(SHELL) $${libsrcdir}/configure \ | |
21028 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21029 | || exit 1 | |
21030 | ||
930314a4 NN |
21031 | .PHONY: all-texinfo maybe-all-texinfo |
21032 | maybe-all-texinfo: | |
db1ac78d | 21033 | all-texinfo: configure-texinfo |
930314a4 | 21034 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
21035 | s=`cd $(srcdir); ${PWD}`; export s; \ |
21036 | $(SET_LIB_PATH) \ | |
21037 | (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 21038 | |
16ae0395 NN |
21039 | .PHONY: check-texinfo maybe-check-texinfo |
21040 | maybe-check-texinfo: | |
3866be5d | 21041 | |
3866be5d | 21042 | check-texinfo: |
930314a4 | 21043 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
21044 | s=`cd $(srcdir); ${PWD}`; export s; \ |
21045 | $(SET_LIB_PATH) \ | |
21046 | (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
21047 | |
21048 | ||
930314a4 NN |
21049 | .PHONY: install-texinfo maybe-install-texinfo |
21050 | maybe-install-texinfo: | |
16ae0395 | 21051 | |
3866be5d NN |
21052 | install-texinfo: |
21053 | ||
21054 | ||
e2b9e2dc NN |
21055 | .PHONY: configure-textutils maybe-configure-textutils |
21056 | maybe-configure-textutils: | |
e6bfb94a AO |
21057 | configure-textutils: |
21058 | @test ! -f textutils/Makefile || exit 0; \ | |
21059 | [ -d textutils ] || mkdir textutils; \ | |
e2b9e2dc NN |
21060 | r=`${PWD}`; export r; \ |
21061 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
21062 | CC="$(CC)"; export CC; \ | |
21063 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21064 | CXX="$(CXX)"; export CXX; \ | |
21065 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21066 | AR="$(AR)"; export AR; \ |
21067 | AS="$(AS)"; export AS; \ | |
21068 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21069 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21070 | LD="$(LD)"; export LD; \ | |
21071 | NM="$(NM)"; export NM; \ | |
21072 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21073 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21074 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21075 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21076 | echo Configuring in textutils; \ |
21077 | cd textutils || exit 1; \ | |
21078 | case $(srcdir) in \ | |
21079 | \.) \ | |
21080 | srcdiroption="--srcdir=."; \ | |
21081 | libsrcdir=".";; \ | |
21082 | /* | [A-Za-z]:[\\/]*) \ | |
21083 | srcdiroption="--srcdir=$(srcdir)/textutils"; \ | |
21084 | libsrcdir="$$s/textutils";; \ | |
21085 | *) \ | |
21086 | srcdiroption="--srcdir=../$(srcdir)/textutils"; \ | |
21087 | libsrcdir="$$s/textutils";; \ | |
21088 | esac; \ | |
21089 | $(SHELL) $${libsrcdir}/configure \ | |
21090 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21091 | || exit 1 | |
21092 | ||
930314a4 NN |
21093 | .PHONY: all-textutils maybe-all-textutils |
21094 | maybe-all-textutils: | |
db1ac78d | 21095 | all-textutils: configure-textutils |
930314a4 | 21096 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
21097 | s=`cd $(srcdir); ${PWD}`; export s; \ |
21098 | $(SET_LIB_PATH) \ | |
21099 | (cd textutils && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 21100 | |
16ae0395 NN |
21101 | .PHONY: check-textutils maybe-check-textutils |
21102 | maybe-check-textutils: | |
3866be5d | 21103 | |
3866be5d | 21104 | check-textutils: |
930314a4 | 21105 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
21106 | s=`cd $(srcdir); ${PWD}`; export s; \ |
21107 | $(SET_LIB_PATH) \ | |
21108 | (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
21109 | |
21110 | ||
930314a4 NN |
21111 | .PHONY: install-textutils maybe-install-textutils |
21112 | maybe-install-textutils: | |
16ae0395 | 21113 | |
3866be5d | 21114 | install-textutils: installdirs |
930314a4 | 21115 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
21116 | s=`cd $(srcdir); ${PWD}`; export s; \ |
21117 | $(SET_LIB_PATH) \ | |
21118 | (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
21119 | |
21120 | ||
e2b9e2dc NN |
21121 | .PHONY: configure-time maybe-configure-time |
21122 | maybe-configure-time: | |
e6bfb94a AO |
21123 | configure-time: |
21124 | @test ! -f time/Makefile || exit 0; \ | |
21125 | [ -d time ] || mkdir time; \ | |
e2b9e2dc NN |
21126 | r=`${PWD}`; export r; \ |
21127 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
21128 | CC="$(CC)"; export CC; \ | |
21129 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21130 | CXX="$(CXX)"; export CXX; \ | |
21131 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21132 | AR="$(AR)"; export AR; \ |
21133 | AS="$(AS)"; export AS; \ | |
21134 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21135 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21136 | LD="$(LD)"; export LD; \ | |
21137 | NM="$(NM)"; export NM; \ | |
21138 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21139 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21140 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21141 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21142 | echo Configuring in time; \ |
21143 | cd time || exit 1; \ | |
21144 | case $(srcdir) in \ | |
21145 | \.) \ | |
21146 | srcdiroption="--srcdir=."; \ | |
21147 | libsrcdir=".";; \ | |
21148 | /* | [A-Za-z]:[\\/]*) \ | |
21149 | srcdiroption="--srcdir=$(srcdir)/time"; \ | |
21150 | libsrcdir="$$s/time";; \ | |
21151 | *) \ | |
21152 | srcdiroption="--srcdir=../$(srcdir)/time"; \ | |
21153 | libsrcdir="$$s/time";; \ | |
21154 | esac; \ | |
21155 | $(SHELL) $${libsrcdir}/configure \ | |
21156 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21157 | || exit 1 | |
21158 | ||
930314a4 NN |
21159 | .PHONY: all-time maybe-all-time |
21160 | maybe-all-time: | |
db1ac78d | 21161 | all-time: configure-time |
930314a4 | 21162 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
21163 | s=`cd $(srcdir); ${PWD}`; export s; \ |
21164 | $(SET_LIB_PATH) \ | |
21165 | (cd time && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 21166 | |
16ae0395 NN |
21167 | .PHONY: check-time maybe-check-time |
21168 | maybe-check-time: | |
3866be5d | 21169 | |
3866be5d | 21170 | check-time: |
930314a4 | 21171 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
21172 | s=`cd $(srcdir); ${PWD}`; export s; \ |
21173 | $(SET_LIB_PATH) \ | |
21174 | (cd time && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
21175 | |
21176 | ||
930314a4 NN |
21177 | .PHONY: install-time maybe-install-time |
21178 | maybe-install-time: | |
16ae0395 | 21179 | |
3866be5d | 21180 | install-time: installdirs |
930314a4 | 21181 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
21182 | s=`cd $(srcdir); ${PWD}`; export s; \ |
21183 | $(SET_LIB_PATH) \ | |
21184 | (cd time && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
21185 | |
21186 | ||
e2b9e2dc NN |
21187 | .PHONY: configure-uudecode maybe-configure-uudecode |
21188 | maybe-configure-uudecode: | |
e6bfb94a AO |
21189 | configure-uudecode: |
21190 | @test ! -f uudecode/Makefile || exit 0; \ | |
21191 | [ -d uudecode ] || mkdir uudecode; \ | |
e2b9e2dc NN |
21192 | r=`${PWD}`; export r; \ |
21193 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
21194 | CC="$(CC)"; export CC; \ | |
21195 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21196 | CXX="$(CXX)"; export CXX; \ | |
21197 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21198 | AR="$(AR)"; export AR; \ |
21199 | AS="$(AS)"; export AS; \ | |
21200 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21201 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21202 | LD="$(LD)"; export LD; \ | |
21203 | NM="$(NM)"; export NM; \ | |
21204 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21205 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21206 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21207 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21208 | echo Configuring in uudecode; \ |
21209 | cd uudecode || exit 1; \ | |
21210 | case $(srcdir) in \ | |
21211 | \.) \ | |
21212 | srcdiroption="--srcdir=."; \ | |
21213 | libsrcdir=".";; \ | |
21214 | /* | [A-Za-z]:[\\/]*) \ | |
21215 | srcdiroption="--srcdir=$(srcdir)/uudecode"; \ | |
21216 | libsrcdir="$$s/uudecode";; \ | |
21217 | *) \ | |
21218 | srcdiroption="--srcdir=../$(srcdir)/uudecode"; \ | |
21219 | libsrcdir="$$s/uudecode";; \ | |
21220 | esac; \ | |
21221 | $(SHELL) $${libsrcdir}/configure \ | |
21222 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21223 | || exit 1 | |
21224 | ||
930314a4 NN |
21225 | .PHONY: all-uudecode maybe-all-uudecode |
21226 | maybe-all-uudecode: | |
db1ac78d | 21227 | all-uudecode: configure-uudecode |
930314a4 | 21228 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
21229 | s=`cd $(srcdir); ${PWD}`; export s; \ |
21230 | $(SET_LIB_PATH) \ | |
21231 | (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 21232 | |
16ae0395 NN |
21233 | .PHONY: check-uudecode maybe-check-uudecode |
21234 | maybe-check-uudecode: | |
3866be5d | 21235 | |
3866be5d | 21236 | check-uudecode: |
930314a4 | 21237 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
21238 | s=`cd $(srcdir); ${PWD}`; export s; \ |
21239 | $(SET_LIB_PATH) \ | |
21240 | (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
21241 | |
21242 | ||
930314a4 NN |
21243 | .PHONY: install-uudecode maybe-install-uudecode |
21244 | maybe-install-uudecode: | |
16ae0395 | 21245 | |
3866be5d | 21246 | install-uudecode: installdirs |
930314a4 | 21247 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
21248 | s=`cd $(srcdir); ${PWD}`; export s; \ |
21249 | $(SET_LIB_PATH) \ | |
21250 | (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
21251 | |
21252 | ||
e2b9e2dc NN |
21253 | .PHONY: configure-wdiff maybe-configure-wdiff |
21254 | maybe-configure-wdiff: | |
e6bfb94a AO |
21255 | configure-wdiff: |
21256 | @test ! -f wdiff/Makefile || exit 0; \ | |
21257 | [ -d wdiff ] || mkdir wdiff; \ | |
e2b9e2dc NN |
21258 | r=`${PWD}`; export r; \ |
21259 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
21260 | CC="$(CC)"; export CC; \ | |
21261 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21262 | CXX="$(CXX)"; export CXX; \ | |
21263 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21264 | AR="$(AR)"; export AR; \ |
21265 | AS="$(AS)"; export AS; \ | |
21266 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21267 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21268 | LD="$(LD)"; export LD; \ | |
21269 | NM="$(NM)"; export NM; \ | |
21270 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21271 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21272 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21273 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21274 | echo Configuring in wdiff; \ |
21275 | cd wdiff || exit 1; \ | |
21276 | case $(srcdir) in \ | |
21277 | \.) \ | |
21278 | srcdiroption="--srcdir=."; \ | |
21279 | libsrcdir=".";; \ | |
21280 | /* | [A-Za-z]:[\\/]*) \ | |
21281 | srcdiroption="--srcdir=$(srcdir)/wdiff"; \ | |
21282 | libsrcdir="$$s/wdiff";; \ | |
21283 | *) \ | |
21284 | srcdiroption="--srcdir=../$(srcdir)/wdiff"; \ | |
21285 | libsrcdir="$$s/wdiff";; \ | |
21286 | esac; \ | |
21287 | $(SHELL) $${libsrcdir}/configure \ | |
21288 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21289 | || exit 1 | |
21290 | ||
930314a4 NN |
21291 | .PHONY: all-wdiff maybe-all-wdiff |
21292 | maybe-all-wdiff: | |
db1ac78d | 21293 | all-wdiff: configure-wdiff |
930314a4 | 21294 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
21295 | s=`cd $(srcdir); ${PWD}`; export s; \ |
21296 | $(SET_LIB_PATH) \ | |
21297 | (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 21298 | |
16ae0395 NN |
21299 | .PHONY: check-wdiff maybe-check-wdiff |
21300 | maybe-check-wdiff: | |
3866be5d | 21301 | |
3866be5d | 21302 | check-wdiff: |
930314a4 | 21303 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
21304 | s=`cd $(srcdir); ${PWD}`; export s; \ |
21305 | $(SET_LIB_PATH) \ | |
21306 | (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check) | |
3866be5d NN |
21307 | |
21308 | ||
930314a4 NN |
21309 | .PHONY: install-wdiff maybe-install-wdiff |
21310 | maybe-install-wdiff: | |
16ae0395 | 21311 | |
3866be5d | 21312 | install-wdiff: installdirs |
930314a4 | 21313 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
21314 | s=`cd $(srcdir); ${PWD}`; export s; \ |
21315 | $(SET_LIB_PATH) \ | |
21316 | (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
21317 | |
21318 | ||
e2b9e2dc NN |
21319 | .PHONY: configure-zip maybe-configure-zip |
21320 | maybe-configure-zip: | |
e6bfb94a AO |
21321 | configure-zip: |
21322 | @test ! -f zip/Makefile || exit 0; \ | |
21323 | [ -d zip ] || mkdir zip; \ | |
e2b9e2dc NN |
21324 | r=`${PWD}`; export r; \ |
21325 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
21326 | CC="$(CC)"; export CC; \ | |
21327 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21328 | CXX="$(CXX)"; export CXX; \ | |
21329 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21330 | AR="$(AR)"; export AR; \ |
21331 | AS="$(AS)"; export AS; \ | |
21332 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21333 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21334 | LD="$(LD)"; export LD; \ | |
21335 | NM="$(NM)"; export NM; \ | |
21336 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21337 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21338 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21339 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21340 | echo Configuring in zip; \ |
21341 | cd zip || exit 1; \ | |
21342 | case $(srcdir) in \ | |
21343 | \.) \ | |
21344 | srcdiroption="--srcdir=."; \ | |
21345 | libsrcdir=".";; \ | |
21346 | /* | [A-Za-z]:[\\/]*) \ | |
21347 | srcdiroption="--srcdir=$(srcdir)/zip"; \ | |
21348 | libsrcdir="$$s/zip";; \ | |
21349 | *) \ | |
21350 | srcdiroption="--srcdir=../$(srcdir)/zip"; \ | |
21351 | libsrcdir="$$s/zip";; \ | |
21352 | esac; \ | |
21353 | $(SHELL) $${libsrcdir}/configure \ | |
21354 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21355 | || exit 1 | |
21356 | ||
930314a4 NN |
21357 | .PHONY: all-zip maybe-all-zip |
21358 | maybe-all-zip: | |
db1ac78d | 21359 | all-zip: configure-zip |
930314a4 | 21360 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
21361 | s=`cd $(srcdir); ${PWD}`; export s; \ |
21362 | $(SET_LIB_PATH) \ | |
21363 | (cd zip && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 21364 | |
16ae0395 NN |
21365 | .PHONY: check-zip maybe-check-zip |
21366 | maybe-check-zip: | |
3866be5d | 21367 | |
3866be5d NN |
21368 | # This module is only tested in a native toolchain. |
21369 | check-zip: | |
21370 | @if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \ | |
bba45b8b NN |
21371 | r=`${PWD}`; export r; \ |
21372 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
21373 | $(SET_LIB_PATH) \ | |
21374 | (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \ | |
3866be5d NN |
21375 | fi |
21376 | ||
21377 | ||
930314a4 NN |
21378 | .PHONY: install-zip maybe-install-zip |
21379 | maybe-install-zip: | |
16ae0395 | 21380 | |
3866be5d | 21381 | install-zip: installdirs |
930314a4 | 21382 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
21383 | s=`cd $(srcdir); ${PWD}`; export s; \ |
21384 | $(SET_LIB_PATH) \ | |
21385 | (cd zip && $(MAKE) $(FLAGS_TO_PASS) install) | |
3866be5d NN |
21386 | |
21387 | ||
e2b9e2dc NN |
21388 | .PHONY: configure-zlib maybe-configure-zlib |
21389 | maybe-configure-zlib: | |
e6bfb94a AO |
21390 | configure-zlib: |
21391 | @test ! -f zlib/Makefile || exit 0; \ | |
21392 | [ -d zlib ] || mkdir zlib; \ | |
e2b9e2dc NN |
21393 | r=`${PWD}`; export r; \ |
21394 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
21395 | CC="$(CC)"; export CC; \ | |
21396 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21397 | CXX="$(CXX)"; export CXX; \ | |
21398 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21399 | AR="$(AR)"; export AR; \ |
21400 | AS="$(AS)"; export AS; \ | |
21401 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21402 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21403 | LD="$(LD)"; export LD; \ | |
21404 | NM="$(NM)"; export NM; \ | |
21405 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21406 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21407 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21408 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21409 | echo Configuring in zlib; \ |
21410 | cd zlib || exit 1; \ | |
21411 | case $(srcdir) in \ | |
21412 | \.) \ | |
21413 | srcdiroption="--srcdir=."; \ | |
21414 | libsrcdir=".";; \ | |
21415 | /* | [A-Za-z]:[\\/]*) \ | |
21416 | srcdiroption="--srcdir=$(srcdir)/zlib"; \ | |
21417 | libsrcdir="$$s/zlib";; \ | |
21418 | *) \ | |
21419 | srcdiroption="--srcdir=../$(srcdir)/zlib"; \ | |
21420 | libsrcdir="$$s/zlib";; \ | |
21421 | esac; \ | |
21422 | $(SHELL) $${libsrcdir}/configure \ | |
21423 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21424 | || exit 1 | |
21425 | ||
930314a4 NN |
21426 | .PHONY: all-zlib maybe-all-zlib |
21427 | maybe-all-zlib: | |
db1ac78d | 21428 | all-zlib: configure-zlib |
930314a4 | 21429 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
21430 | s=`cd $(srcdir); ${PWD}`; export s; \ |
21431 | $(SET_LIB_PATH) \ | |
21432 | (cd zlib && $(MAKE) $(FLAGS_TO_PASS) all) | |
3866be5d | 21433 | |
16ae0395 NN |
21434 | .PHONY: check-zlib maybe-check-zlib |
21435 | maybe-check-zlib: | |
3866be5d | 21436 | |
3866be5d NN |
21437 | check-zlib: |
21438 | ||
21439 | ||
930314a4 NN |
21440 | .PHONY: install-zlib maybe-install-zlib |
21441 | maybe-install-zlib: | |
16ae0395 | 21442 | |
3866be5d NN |
21443 | install-zlib: |
21444 | ||
21445 | ||
e2b9e2dc NN |
21446 | .PHONY: configure-gdb maybe-configure-gdb |
21447 | maybe-configure-gdb: | |
e6bfb94a AO |
21448 | configure-gdb: |
21449 | @test ! -f gdb/Makefile || exit 0; \ | |
21450 | [ -d gdb ] || mkdir gdb; \ | |
e2b9e2dc NN |
21451 | r=`${PWD}`; export r; \ |
21452 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
21453 | CC="$(CC)"; export CC; \ | |
21454 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21455 | CXX="$(CXX)"; export CXX; \ | |
21456 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21457 | AR="$(AR)"; export AR; \ |
21458 | AS="$(AS)"; export AS; \ | |
21459 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21460 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21461 | LD="$(LD)"; export LD; \ | |
21462 | NM="$(NM)"; export NM; \ | |
21463 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21464 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21465 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21466 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21467 | echo Configuring in gdb; \ |
21468 | cd gdb || exit 1; \ | |
21469 | case $(srcdir) in \ | |
21470 | \.) \ | |
21471 | srcdiroption="--srcdir=."; \ | |
21472 | libsrcdir=".";; \ | |
21473 | /* | [A-Za-z]:[\\/]*) \ | |
21474 | srcdiroption="--srcdir=$(srcdir)/gdb"; \ | |
21475 | libsrcdir="$$s/gdb";; \ | |
21476 | *) \ | |
21477 | srcdiroption="--srcdir=../$(srcdir)/gdb"; \ | |
21478 | libsrcdir="$$s/gdb";; \ | |
21479 | esac; \ | |
21480 | $(SHELL) $${libsrcdir}/configure \ | |
21481 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21482 | || exit 1 | |
21483 | ||
930314a4 NN |
21484 | .PHONY: all-gdb maybe-all-gdb |
21485 | maybe-all-gdb: | |
db1ac78d | 21486 | all-gdb: configure-gdb |
930314a4 | 21487 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
21488 | s=`cd $(srcdir); ${PWD}`; export s; \ |
21489 | $(SET_LIB_PATH) \ | |
21490 | (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all) | |
3866be5d | 21491 | |
16ae0395 NN |
21492 | .PHONY: check-gdb maybe-check-gdb |
21493 | maybe-check-gdb: | |
3866be5d | 21494 | |
3866be5d | 21495 | check-gdb: |
930314a4 | 21496 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
21497 | s=`cd $(srcdir); ${PWD}`; export s; \ |
21498 | $(SET_LIB_PATH) \ | |
21499 | (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check) | |
3866be5d NN |
21500 | |
21501 | ||
930314a4 NN |
21502 | .PHONY: install-gdb maybe-install-gdb |
21503 | maybe-install-gdb: | |
16ae0395 | 21504 | |
3866be5d | 21505 | install-gdb: installdirs |
930314a4 | 21506 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
21507 | s=`cd $(srcdir); ${PWD}`; export s; \ |
21508 | $(SET_LIB_PATH) \ | |
21509 | (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install) | |
3866be5d NN |
21510 | |
21511 | ||
e2b9e2dc NN |
21512 | .PHONY: configure-expect maybe-configure-expect |
21513 | maybe-configure-expect: | |
e6bfb94a AO |
21514 | configure-expect: |
21515 | @test ! -f expect/Makefile || exit 0; \ | |
21516 | [ -d expect ] || mkdir expect; \ | |
e2b9e2dc NN |
21517 | r=`${PWD}`; export r; \ |
21518 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
21519 | CC="$(CC)"; export CC; \ | |
21520 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21521 | CXX="$(CXX)"; export CXX; \ | |
21522 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21523 | AR="$(AR)"; export AR; \ |
21524 | AS="$(AS)"; export AS; \ | |
21525 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21526 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21527 | LD="$(LD)"; export LD; \ | |
21528 | NM="$(NM)"; export NM; \ | |
21529 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21530 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21531 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21532 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21533 | echo Configuring in expect; \ |
21534 | cd expect || exit 1; \ | |
21535 | case $(srcdir) in \ | |
21536 | \.) \ | |
21537 | srcdiroption="--srcdir=."; \ | |
21538 | libsrcdir=".";; \ | |
21539 | /* | [A-Za-z]:[\\/]*) \ | |
21540 | srcdiroption="--srcdir=$(srcdir)/expect"; \ | |
21541 | libsrcdir="$$s/expect";; \ | |
21542 | *) \ | |
21543 | srcdiroption="--srcdir=../$(srcdir)/expect"; \ | |
21544 | libsrcdir="$$s/expect";; \ | |
21545 | esac; \ | |
21546 | $(SHELL) $${libsrcdir}/configure \ | |
21547 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21548 | || exit 1 | |
21549 | ||
930314a4 NN |
21550 | .PHONY: all-expect maybe-all-expect |
21551 | maybe-all-expect: | |
db1ac78d | 21552 | all-expect: configure-expect |
930314a4 | 21553 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
21554 | s=`cd $(srcdir); ${PWD}`; export s; \ |
21555 | $(SET_LIB_PATH) \ | |
21556 | (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all) | |
3866be5d | 21557 | |
16ae0395 NN |
21558 | .PHONY: check-expect maybe-check-expect |
21559 | maybe-check-expect: | |
3866be5d | 21560 | |
3866be5d | 21561 | check-expect: |
930314a4 | 21562 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
21563 | s=`cd $(srcdir); ${PWD}`; export s; \ |
21564 | $(SET_LIB_PATH) \ | |
21565 | (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check) | |
3866be5d NN |
21566 | |
21567 | ||
930314a4 NN |
21568 | .PHONY: install-expect maybe-install-expect |
21569 | maybe-install-expect: | |
16ae0395 | 21570 | |
3866be5d | 21571 | install-expect: installdirs |
930314a4 | 21572 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
21573 | s=`cd $(srcdir); ${PWD}`; export s; \ |
21574 | $(SET_LIB_PATH) \ | |
21575 | (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install) | |
3866be5d NN |
21576 | |
21577 | ||
e2b9e2dc NN |
21578 | .PHONY: configure-guile maybe-configure-guile |
21579 | maybe-configure-guile: | |
e6bfb94a AO |
21580 | configure-guile: |
21581 | @test ! -f guile/Makefile || exit 0; \ | |
21582 | [ -d guile ] || mkdir guile; \ | |
e2b9e2dc NN |
21583 | r=`${PWD}`; export r; \ |
21584 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
21585 | CC="$(CC)"; export CC; \ | |
21586 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21587 | CXX="$(CXX)"; export CXX; \ | |
21588 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21589 | AR="$(AR)"; export AR; \ |
21590 | AS="$(AS)"; export AS; \ | |
21591 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21592 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21593 | LD="$(LD)"; export LD; \ | |
21594 | NM="$(NM)"; export NM; \ | |
21595 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21596 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21597 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21598 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21599 | echo Configuring in guile; \ |
21600 | cd guile || exit 1; \ | |
21601 | case $(srcdir) in \ | |
21602 | \.) \ | |
21603 | srcdiroption="--srcdir=."; \ | |
21604 | libsrcdir=".";; \ | |
21605 | /* | [A-Za-z]:[\\/]*) \ | |
21606 | srcdiroption="--srcdir=$(srcdir)/guile"; \ | |
21607 | libsrcdir="$$s/guile";; \ | |
21608 | *) \ | |
21609 | srcdiroption="--srcdir=../$(srcdir)/guile"; \ | |
21610 | libsrcdir="$$s/guile";; \ | |
21611 | esac; \ | |
21612 | $(SHELL) $${libsrcdir}/configure \ | |
21613 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21614 | || exit 1 | |
21615 | ||
930314a4 NN |
21616 | .PHONY: all-guile maybe-all-guile |
21617 | maybe-all-guile: | |
db1ac78d | 21618 | all-guile: configure-guile |
930314a4 | 21619 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
21620 | s=`cd $(srcdir); ${PWD}`; export s; \ |
21621 | $(SET_LIB_PATH) \ | |
21622 | (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all) | |
3866be5d | 21623 | |
16ae0395 NN |
21624 | .PHONY: check-guile maybe-check-guile |
21625 | maybe-check-guile: | |
3866be5d | 21626 | |
3866be5d | 21627 | check-guile: |
930314a4 | 21628 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
21629 | s=`cd $(srcdir); ${PWD}`; export s; \ |
21630 | $(SET_LIB_PATH) \ | |
21631 | (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check) | |
3866be5d NN |
21632 | |
21633 | ||
930314a4 NN |
21634 | .PHONY: install-guile maybe-install-guile |
21635 | maybe-install-guile: | |
16ae0395 | 21636 | |
3866be5d | 21637 | install-guile: installdirs |
930314a4 | 21638 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
21639 | s=`cd $(srcdir); ${PWD}`; export s; \ |
21640 | $(SET_LIB_PATH) \ | |
21641 | (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install) | |
3866be5d NN |
21642 | |
21643 | ||
e2b9e2dc NN |
21644 | .PHONY: configure-tk maybe-configure-tk |
21645 | maybe-configure-tk: | |
e6bfb94a AO |
21646 | configure-tk: |
21647 | @test ! -f tk/Makefile || exit 0; \ | |
21648 | [ -d tk ] || mkdir tk; \ | |
e2b9e2dc NN |
21649 | r=`${PWD}`; export r; \ |
21650 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
21651 | CC="$(CC)"; export CC; \ | |
21652 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21653 | CXX="$(CXX)"; export CXX; \ | |
21654 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21655 | AR="$(AR)"; export AR; \ |
21656 | AS="$(AS)"; export AS; \ | |
21657 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21658 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21659 | LD="$(LD)"; export LD; \ | |
21660 | NM="$(NM)"; export NM; \ | |
21661 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21662 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21663 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21664 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21665 | echo Configuring in tk; \ |
21666 | cd tk || exit 1; \ | |
21667 | case $(srcdir) in \ | |
21668 | \.) \ | |
21669 | srcdiroption="--srcdir=."; \ | |
21670 | libsrcdir=".";; \ | |
21671 | /* | [A-Za-z]:[\\/]*) \ | |
21672 | srcdiroption="--srcdir=$(srcdir)/tk"; \ | |
21673 | libsrcdir="$$s/tk";; \ | |
21674 | *) \ | |
21675 | srcdiroption="--srcdir=../$(srcdir)/tk"; \ | |
21676 | libsrcdir="$$s/tk";; \ | |
21677 | esac; \ | |
21678 | $(SHELL) $${libsrcdir}/configure \ | |
21679 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21680 | || exit 1 | |
21681 | ||
930314a4 NN |
21682 | .PHONY: all-tk maybe-all-tk |
21683 | maybe-all-tk: | |
db1ac78d | 21684 | all-tk: configure-tk |
930314a4 | 21685 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
21686 | s=`cd $(srcdir); ${PWD}`; export s; \ |
21687 | $(SET_LIB_PATH) \ | |
21688 | (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all) | |
e393202e | 21689 | |
16ae0395 NN |
21690 | .PHONY: check-tk maybe-check-tk |
21691 | maybe-check-tk: | |
e393202e | 21692 | |
3866be5d | 21693 | check-tk: |
930314a4 | 21694 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
21695 | s=`cd $(srcdir); ${PWD}`; export s; \ |
21696 | $(SET_LIB_PATH) \ | |
21697 | (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check) | |
e393202e | 21698 | |
e393202e | 21699 | |
930314a4 NN |
21700 | .PHONY: install-tk maybe-install-tk |
21701 | maybe-install-tk: | |
16ae0395 | 21702 | |
3866be5d | 21703 | install-tk: installdirs |
930314a4 | 21704 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
21705 | s=`cd $(srcdir); ${PWD}`; export s; \ |
21706 | $(SET_LIB_PATH) \ | |
21707 | (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install) | |
e393202e | 21708 | |
3866be5d | 21709 | |
ce5b542e MC |
21710 | .PHONY: configure-tix maybe-configure-tix |
21711 | maybe-configure-tix: | |
21712 | configure-tix: | |
21713 | @test ! -f tix/Makefile || exit 0; \ | |
21714 | [ -d tix ] || mkdir tix; \ | |
21715 | r=`${PWD}`; export r; \ | |
21716 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
21717 | CC="$(CC)"; export CC; \ | |
21718 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21719 | CXX="$(CXX)"; export CXX; \ | |
21720 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21721 | AR="$(AR)"; export AR; \ |
21722 | AS="$(AS)"; export AS; \ | |
21723 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21724 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21725 | LD="$(LD)"; export LD; \ | |
21726 | NM="$(NM)"; export NM; \ | |
21727 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21728 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21729 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21730 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
ce5b542e MC |
21731 | echo Configuring in tix; \ |
21732 | cd tix || exit 1; \ | |
21733 | case $(srcdir) in \ | |
21734 | \.) \ | |
21735 | srcdiroption="--srcdir=."; \ | |
21736 | libsrcdir=".";; \ | |
21737 | /* | [A-Za-z]:[\\/]*) \ | |
21738 | srcdiroption="--srcdir=$(srcdir)/tix"; \ | |
21739 | libsrcdir="$$s/tix";; \ | |
21740 | *) \ | |
21741 | srcdiroption="--srcdir=../$(srcdir)/tix"; \ | |
21742 | libsrcdir="$$s/tix";; \ | |
21743 | esac; \ | |
21744 | $(SHELL) $${libsrcdir}/configure \ | |
21745 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21746 | || exit 1 | |
21747 | ||
21748 | .PHONY: all-tix maybe-all-tix | |
21749 | maybe-all-tix: | |
21750 | all-tix: configure-tix | |
21751 | @r=`${PWD}`; export r; \ | |
21752 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
21753 | $(SET_LIB_PATH) \ | |
21754 | (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all) | |
21755 | ||
16ae0395 NN |
21756 | .PHONY: check-tix maybe-check-tix |
21757 | maybe-check-tix: | |
ce5b542e | 21758 | |
ce5b542e MC |
21759 | check-tix: |
21760 | @r=`${PWD}`; export r; \ | |
21761 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
21762 | $(SET_LIB_PATH) \ | |
21763 | (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check) | |
21764 | ||
21765 | ||
ce5b542e MC |
21766 | .PHONY: install-tix maybe-install-tix |
21767 | maybe-install-tix: | |
16ae0395 | 21768 | |
ce5b542e MC |
21769 | install-tix: installdirs |
21770 | @r=`${PWD}`; export r; \ | |
21771 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
21772 | $(SET_LIB_PATH) \ | |
21773 | (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install) | |
21774 | ||
21775 | ||
e2b9e2dc NN |
21776 | .PHONY: configure-libtermcap maybe-configure-libtermcap |
21777 | maybe-configure-libtermcap: | |
e6bfb94a AO |
21778 | configure-libtermcap: |
21779 | @test ! -f libtermcap/Makefile || exit 0; \ | |
21780 | [ -d libtermcap ] || mkdir libtermcap; \ | |
e2b9e2dc NN |
21781 | r=`${PWD}`; export r; \ |
21782 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
21783 | CC="$(CC)"; export CC; \ | |
21784 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21785 | CXX="$(CXX)"; export CXX; \ | |
21786 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21787 | AR="$(AR)"; export AR; \ |
21788 | AS="$(AS)"; export AS; \ | |
21789 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21790 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21791 | LD="$(LD)"; export LD; \ | |
21792 | NM="$(NM)"; export NM; \ | |
21793 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21794 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21795 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21796 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21797 | echo Configuring in libtermcap; \ |
21798 | cd libtermcap || exit 1; \ | |
21799 | case $(srcdir) in \ | |
21800 | \.) \ | |
21801 | srcdiroption="--srcdir=."; \ | |
21802 | libsrcdir=".";; \ | |
21803 | /* | [A-Za-z]:[\\/]*) \ | |
21804 | srcdiroption="--srcdir=$(srcdir)/libtermcap"; \ | |
21805 | libsrcdir="$$s/libtermcap";; \ | |
21806 | *) \ | |
21807 | srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \ | |
21808 | libsrcdir="$$s/libtermcap";; \ | |
21809 | esac; \ | |
21810 | $(SHELL) $${libsrcdir}/configure \ | |
21811 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21812 | || exit 1 | |
21813 | ||
930314a4 NN |
21814 | .PHONY: all-libtermcap maybe-all-libtermcap |
21815 | maybe-all-libtermcap: | |
db1ac78d | 21816 | all-libtermcap: configure-libtermcap |
930314a4 | 21817 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
21818 | s=`cd $(srcdir); ${PWD}`; export s; \ |
21819 | $(SET_LIB_PATH) \ | |
21820 | (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) all) | |
e393202e | 21821 | |
16ae0395 NN |
21822 | .PHONY: check-libtermcap maybe-check-libtermcap |
21823 | maybe-check-libtermcap: | |
e393202e | 21824 | |
3866be5d NN |
21825 | check-libtermcap: |
21826 | ||
21827 | ||
930314a4 NN |
21828 | .PHONY: install-libtermcap maybe-install-libtermcap |
21829 | maybe-install-libtermcap: | |
16ae0395 | 21830 | |
3866be5d | 21831 | install-libtermcap: installdirs |
930314a4 | 21832 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
21833 | s=`cd $(srcdir); ${PWD}`; export s; \ |
21834 | $(SET_LIB_PATH) \ | |
21835 | (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install) | |
e393202e | 21836 | |
3866be5d | 21837 | |
e2b9e2dc NN |
21838 | .PHONY: configure-utils maybe-configure-utils |
21839 | maybe-configure-utils: | |
e6bfb94a AO |
21840 | configure-utils: |
21841 | @test ! -f utils/Makefile || exit 0; \ | |
21842 | [ -d utils ] || mkdir utils; \ | |
e2b9e2dc NN |
21843 | r=`${PWD}`; export r; \ |
21844 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
21845 | CC="$(CC)"; export CC; \ | |
21846 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
21847 | CXX="$(CXX)"; export CXX; \ | |
21848 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
ec7e0995 NN |
21849 | AR="$(AR)"; export AR; \ |
21850 | AS="$(AS)"; export AS; \ | |
21851 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
21852 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
21853 | LD="$(LD)"; export LD; \ | |
21854 | NM="$(NM)"; export NM; \ | |
21855 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
21856 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
21857 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
21858 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
21859 | echo Configuring in utils; \ |
21860 | cd utils || exit 1; \ | |
21861 | case $(srcdir) in \ | |
21862 | \.) \ | |
21863 | srcdiroption="--srcdir=."; \ | |
21864 | libsrcdir=".";; \ | |
21865 | /* | [A-Za-z]:[\\/]*) \ | |
21866 | srcdiroption="--srcdir=$(srcdir)/utils"; \ | |
21867 | libsrcdir="$$s/utils";; \ | |
21868 | *) \ | |
21869 | srcdiroption="--srcdir=../$(srcdir)/utils"; \ | |
21870 | libsrcdir="$$s/utils";; \ | |
21871 | esac; \ | |
21872 | $(SHELL) $${libsrcdir}/configure \ | |
21873 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
21874 | || exit 1 | |
21875 | ||
930314a4 NN |
21876 | .PHONY: all-utils maybe-all-utils |
21877 | maybe-all-utils: | |
db1ac78d | 21878 | all-utils: configure-utils |
930314a4 | 21879 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
21880 | s=`cd $(srcdir); ${PWD}`; export s; \ |
21881 | $(SET_LIB_PATH) \ | |
21882 | (cd utils && $(MAKE) $(FLAGS_TO_PASS) all) | |
e393202e | 21883 | |
16ae0395 NN |
21884 | .PHONY: check-utils maybe-check-utils |
21885 | maybe-check-utils: | |
3866be5d | 21886 | |
3866be5d NN |
21887 | check-utils: |
21888 | ||
21889 | ||
930314a4 NN |
21890 | .PHONY: install-utils maybe-install-utils |
21891 | maybe-install-utils: | |
16ae0395 | 21892 | |
3866be5d | 21893 | install-utils: installdirs |
930314a4 | 21894 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
21895 | s=`cd $(srcdir); ${PWD}`; export s; \ |
21896 | $(SET_LIB_PATH) \ | |
21897 | (cd utils && $(MAKE) $(FLAGS_TO_PASS) install) | |
e393202e | 21898 | |
3866be5d NN |
21899 | |
21900 | ||
15723a45 NN |
21901 | # --------------------------------------- |
21902 | # Modules which run on the target machine | |
21903 | # --------------------------------------- | |
e393202e | 21904 | |
930314a4 NN |
21905 | .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3 |
21906 | maybe-configure-target-libstdc++-v3: | |
15723a45 | 21907 | |
1086bc09 NN |
21908 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
21909 | $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out | |
e6bfb94a | 21910 | @[ -d $(TARGET_SUBDIR)/libstdc++-v3 ] || \ |
bba45b8b | 21911 | mkdir $(TARGET_SUBDIR)/libstdc++-v3; \ |
e6bfb94a | 21912 | rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \ |
1086bc09 | 21913 | cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out |
15723a45 | 21914 | |
e6bfb94a AO |
21915 | configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out |
21916 | @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \ | |
bba45b8b NN |
21917 | [ -d $(TARGET_SUBDIR)/libstdc++-v3 ] || \ |
21918 | mkdir $(TARGET_SUBDIR)/libstdc++-v3;\ | |
21919 | r=`${PWD}`; export r; \ | |
21920 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
21921 | $(SET_LIB_PATH) \ | |
21922 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
21923 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
21924 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
21925 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
21926 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
21927 | CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \ | |
21928 | CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \ | |
21929 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
21930 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
21931 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
21932 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
21933 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
21934 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
21935 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
21936 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
21937 | echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \ | |
21938 | cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \ | |
21939 | case $(srcdir) in \ | |
21940 | /* | [A-Za-z]:[\\/]*) \ | |
21941 | topdir=$(srcdir) ;; \ | |
21942 | *) \ | |
21943 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
21944 | .) topdir="../$(srcdir)" ;; \ |
21945 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
21946 | esac ;; \ |
21947 | esac; \ | |
21948 | if [ "$(srcdir)" = "." ] ; then \ | |
21949 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
21950 | if $(SHELL) $$s/symlink-tree $${topdir}/libstdc++-v3 "no-such-file" ; then \ | |
21951 | if [ -f Makefile ]; then \ | |
21952 | if $(MAKE) distclean; then \ | |
21953 | true; \ | |
21954 | else \ | |
21955 | exit 1; \ | |
21956 | fi; \ | |
e393202e | 21957 | else \ |
bba45b8b | 21958 | true; \ |
e393202e | 21959 | fi; \ |
e393202e | 21960 | else \ |
bba45b8b | 21961 | exit 1; \ |
e393202e | 21962 | fi; \ |
bba45b8b NN |
21963 | else \ |
21964 | true; \ | |
21965 | fi; \ | |
21966 | srcdiroption="--srcdir=."; \ | |
21967 | libsrcdir="."; \ | |
21968 | else \ | |
21969 | srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \ | |
21970 | libsrcdir="$$s/libstdc++-v3"; \ | |
21971 | fi; \ | |
21972 | rm -f no-such-file || : ; \ | |
21973 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
21974 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
21975 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
21976 | || exit 1 | |
e393202e | 21977 | |
930314a4 NN |
21978 | .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3 |
21979 | maybe-all-target-libstdc++-v3: | |
15723a45 | 21980 | all-target-libstdc++-v3: configure-target-libstdc++-v3 |
930314a4 | 21981 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
21982 | s=`cd $(srcdir); ${PWD}`; export s; \ |
21983 | $(SET_LIB_PATH) \ | |
21984 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
21985 | $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all) | |
e393202e | 21986 | |
16ae0395 NN |
21987 | .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3 |
21988 | maybe-check-target-libstdc++-v3: | |
21989 | ||
e393202e | 21990 | check-target-libstdc++-v3: |
930314a4 | 21991 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
21992 | s=`cd $(srcdir); ${PWD}`; export s; \ |
21993 | $(SET_LIB_PATH) \ | |
21994 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
21995 | $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check) | |
930314a4 | 21996 | |
e393202e | 21997 | |
930314a4 NN |
21998 | .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3 |
21999 | maybe-install-target-libstdc++-v3: | |
16ae0395 | 22000 | |
e393202e | 22001 | install-target-libstdc++-v3: installdirs |
930314a4 | 22002 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
22003 | s=`cd $(srcdir); ${PWD}`; export s; \ |
22004 | $(SET_LIB_PATH) \ | |
22005 | (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ | |
22006 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e NN |
22007 | |
22008 | ||
930314a4 NN |
22009 | .PHONY: configure-target-newlib maybe-configure-target-newlib |
22010 | maybe-configure-target-newlib: | |
15723a45 | 22011 | |
1086bc09 NN |
22012 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
22013 | $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out | |
e6bfb94a | 22014 | @[ -d $(TARGET_SUBDIR)/newlib ] || \ |
bba45b8b | 22015 | mkdir $(TARGET_SUBDIR)/newlib; \ |
e6bfb94a | 22016 | rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \ |
1086bc09 | 22017 | cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out |
15723a45 | 22018 | |
e6bfb94a AO |
22019 | configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out |
22020 | @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \ | |
bba45b8b NN |
22021 | [ -d $(TARGET_SUBDIR)/newlib ] || \ |
22022 | mkdir $(TARGET_SUBDIR)/newlib;\ | |
22023 | r=`${PWD}`; export r; \ | |
22024 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
22025 | $(SET_LIB_PATH) \ | |
22026 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
22027 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
22028 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
22029 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
22030 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
22031 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
22032 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
22033 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
22034 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
22035 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
22036 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
22037 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
22038 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
22039 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
22040 | echo Configuring in $(TARGET_SUBDIR)/newlib; \ | |
22041 | cd "$(TARGET_SUBDIR)/newlib" || exit 1; \ | |
22042 | case $(srcdir) in \ | |
22043 | /* | [A-Za-z]:[\\/]*) \ | |
22044 | topdir=$(srcdir) ;; \ | |
22045 | *) \ | |
22046 | case "$(TARGET_SUBDIR)" in \ | |
22047 | .) topdir="../$(srcdir)" ;; \ | |
22048 | *) topdir="../../$(srcdir)" ;; \ | |
22049 | esac ;; \ | |
22050 | esac; \ | |
22051 | if [ "$(srcdir)" = "." ] ; then \ | |
22052 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
22053 | if $(SHELL) $$s/symlink-tree $${topdir}/newlib "no-such-file" ; then \ | |
22054 | if [ -f Makefile ]; then \ | |
22055 | if $(MAKE) distclean; then \ | |
22056 | true; \ | |
22057 | else \ | |
22058 | exit 1; \ | |
22059 | fi; \ | |
22060 | else \ | |
22061 | true; \ | |
22062 | fi; \ | |
22063 | else \ | |
22064 | exit 1; \ | |
e393202e | 22065 | fi; \ |
bba45b8b NN |
22066 | else \ |
22067 | true; \ | |
22068 | fi; \ | |
22069 | srcdiroption="--srcdir=."; \ | |
22070 | libsrcdir="."; \ | |
22071 | else \ | |
22072 | srcdiroption="--srcdir=$${topdir}/newlib"; \ | |
22073 | libsrcdir="$$s/newlib"; \ | |
22074 | fi; \ | |
22075 | rm -f no-such-file || : ; \ | |
22076 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
22077 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
22078 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
22079 | || exit 1 | |
e393202e | 22080 | |
930314a4 NN |
22081 | .PHONY: all-target-newlib maybe-all-target-newlib |
22082 | maybe-all-target-newlib: | |
15723a45 | 22083 | all-target-newlib: configure-target-newlib |
930314a4 | 22084 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
22085 | s=`cd $(srcdir); ${PWD}`; export s; \ |
22086 | $(SET_LIB_PATH) \ | |
22087 | (cd $(TARGET_SUBDIR)/newlib && \ | |
22088 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
e393202e | 22089 | |
16ae0395 NN |
22090 | .PHONY: check-target-newlib maybe-check-target-newlib |
22091 | maybe-check-target-newlib: | |
22092 | ||
e393202e | 22093 | check-target-newlib: |
930314a4 | 22094 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
22095 | s=`cd $(srcdir); ${PWD}`; export s; \ |
22096 | $(SET_LIB_PATH) \ | |
22097 | (cd $(TARGET_SUBDIR)/newlib && \ | |
22098 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check) | |
930314a4 | 22099 | |
e393202e | 22100 | |
930314a4 NN |
22101 | .PHONY: install-target-newlib maybe-install-target-newlib |
22102 | maybe-install-target-newlib: | |
16ae0395 | 22103 | |
e393202e | 22104 | install-target-newlib: installdirs |
930314a4 | 22105 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
22106 | s=`cd $(srcdir); ${PWD}`; export s; \ |
22107 | $(SET_LIB_PATH) \ | |
22108 | (cd $(TARGET_SUBDIR)/newlib && \ | |
22109 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e NN |
22110 | |
22111 | ||
930314a4 NN |
22112 | .PHONY: configure-target-libf2c maybe-configure-target-libf2c |
22113 | maybe-configure-target-libf2c: | |
15723a45 | 22114 | |
1086bc09 NN |
22115 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
22116 | $(TARGET_SUBDIR)/libf2c/multilib.out: multilib.out | |
e6bfb94a | 22117 | @[ -d $(TARGET_SUBDIR)/libf2c ] || \ |
bba45b8b | 22118 | mkdir $(TARGET_SUBDIR)/libf2c; \ |
e6bfb94a | 22119 | rm -f $(TARGET_SUBDIR)/libf2c/Makefile || : ; \ |
1086bc09 | 22120 | cp multilib.out $(TARGET_SUBDIR)/libf2c/multilib.out |
15723a45 | 22121 | |
e6bfb94a AO |
22122 | configure-target-libf2c: $(TARGET_SUBDIR)/libf2c/multilib.out |
22123 | @test ! -f $(TARGET_SUBDIR)/libf2c/Makefile || exit 0; \ | |
bba45b8b NN |
22124 | [ -d $(TARGET_SUBDIR)/libf2c ] || \ |
22125 | mkdir $(TARGET_SUBDIR)/libf2c;\ | |
22126 | r=`${PWD}`; export r; \ | |
22127 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
22128 | $(SET_LIB_PATH) \ | |
22129 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
22130 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
22131 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
22132 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
22133 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
22134 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
22135 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
22136 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
22137 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
22138 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
22139 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
22140 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
22141 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
22142 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
22143 | echo Configuring in $(TARGET_SUBDIR)/libf2c; \ | |
22144 | cd "$(TARGET_SUBDIR)/libf2c" || exit 1; \ | |
22145 | case $(srcdir) in \ | |
22146 | /* | [A-Za-z]:[\\/]*) \ | |
22147 | topdir=$(srcdir) ;; \ | |
22148 | *) \ | |
22149 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
22150 | .) topdir="../$(srcdir)" ;; \ |
22151 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
22152 | esac ;; \ |
22153 | esac; \ | |
22154 | if [ "$(srcdir)" = "." ] ; then \ | |
22155 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
22156 | if $(SHELL) $$s/symlink-tree $${topdir}/libf2c "no-such-file" ; then \ | |
22157 | if [ -f Makefile ]; then \ | |
22158 | if $(MAKE) distclean; then \ | |
22159 | true; \ | |
22160 | else \ | |
22161 | exit 1; \ | |
22162 | fi; \ | |
e393202e | 22163 | else \ |
bba45b8b | 22164 | true; \ |
e393202e | 22165 | fi; \ |
e393202e | 22166 | else \ |
bba45b8b | 22167 | exit 1; \ |
e393202e | 22168 | fi; \ |
bba45b8b NN |
22169 | else \ |
22170 | true; \ | |
22171 | fi; \ | |
22172 | srcdiroption="--srcdir=."; \ | |
22173 | libsrcdir="."; \ | |
22174 | else \ | |
22175 | srcdiroption="--srcdir=$${topdir}/libf2c"; \ | |
22176 | libsrcdir="$$s/libf2c"; \ | |
22177 | fi; \ | |
22178 | rm -f no-such-file || : ; \ | |
22179 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
22180 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
22181 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
22182 | || exit 1 | |
e393202e | 22183 | |
930314a4 NN |
22184 | .PHONY: all-target-libf2c maybe-all-target-libf2c |
22185 | maybe-all-target-libf2c: | |
15723a45 | 22186 | all-target-libf2c: configure-target-libf2c |
930314a4 | 22187 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
22188 | s=`cd $(srcdir); ${PWD}`; export s; \ |
22189 | $(SET_LIB_PATH) \ | |
22190 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
22191 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
e393202e | 22192 | |
16ae0395 NN |
22193 | .PHONY: check-target-libf2c maybe-check-target-libf2c |
22194 | maybe-check-target-libf2c: | |
22195 | ||
e393202e | 22196 | check-target-libf2c: |
930314a4 | 22197 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
22198 | s=`cd $(srcdir); ${PWD}`; export s; \ |
22199 | $(SET_LIB_PATH) \ | |
22200 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
22201 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check) | |
930314a4 | 22202 | |
e393202e | 22203 | |
930314a4 NN |
22204 | .PHONY: install-target-libf2c maybe-install-target-libf2c |
22205 | maybe-install-target-libf2c: | |
16ae0395 | 22206 | |
e393202e | 22207 | install-target-libf2c: installdirs |
930314a4 | 22208 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
22209 | s=`cd $(srcdir); ${PWD}`; export s; \ |
22210 | $(SET_LIB_PATH) \ | |
22211 | (cd $(TARGET_SUBDIR)/libf2c && \ | |
22212 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e NN |
22213 | |
22214 | ||
930314a4 NN |
22215 | .PHONY: configure-target-libobjc maybe-configure-target-libobjc |
22216 | maybe-configure-target-libobjc: | |
15723a45 | 22217 | |
1086bc09 NN |
22218 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
22219 | $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out | |
e6bfb94a | 22220 | @[ -d $(TARGET_SUBDIR)/libobjc ] || \ |
bba45b8b | 22221 | mkdir $(TARGET_SUBDIR)/libobjc; \ |
e6bfb94a | 22222 | rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \ |
1086bc09 | 22223 | cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out |
15723a45 | 22224 | |
e6bfb94a AO |
22225 | configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out |
22226 | @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \ | |
bba45b8b NN |
22227 | [ -d $(TARGET_SUBDIR)/libobjc ] || \ |
22228 | mkdir $(TARGET_SUBDIR)/libobjc;\ | |
22229 | r=`${PWD}`; export r; \ | |
22230 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
22231 | $(SET_LIB_PATH) \ | |
22232 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
22233 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
22234 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
22235 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
22236 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
22237 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
22238 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
22239 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
22240 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
22241 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
22242 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
22243 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
22244 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
22245 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
22246 | echo Configuring in $(TARGET_SUBDIR)/libobjc; \ | |
22247 | cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \ | |
22248 | case $(srcdir) in \ | |
22249 | /* | [A-Za-z]:[\\/]*) \ | |
22250 | topdir=$(srcdir) ;; \ | |
22251 | *) \ | |
22252 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
22253 | .) topdir="../$(srcdir)" ;; \ |
22254 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
22255 | esac ;; \ |
22256 | esac; \ | |
22257 | if [ "$(srcdir)" = "." ] ; then \ | |
22258 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
22259 | if $(SHELL) $$s/symlink-tree $${topdir}/libobjc "no-such-file" ; then \ | |
22260 | if [ -f Makefile ]; then \ | |
22261 | if $(MAKE) distclean; then \ | |
22262 | true; \ | |
22263 | else \ | |
22264 | exit 1; \ | |
22265 | fi; \ | |
e393202e | 22266 | else \ |
bba45b8b | 22267 | true; \ |
e393202e | 22268 | fi; \ |
e393202e | 22269 | else \ |
bba45b8b | 22270 | exit 1; \ |
e393202e | 22271 | fi; \ |
bba45b8b NN |
22272 | else \ |
22273 | true; \ | |
22274 | fi; \ | |
22275 | srcdiroption="--srcdir=."; \ | |
22276 | libsrcdir="."; \ | |
22277 | else \ | |
22278 | srcdiroption="--srcdir=$${topdir}/libobjc"; \ | |
22279 | libsrcdir="$$s/libobjc"; \ | |
22280 | fi; \ | |
22281 | rm -f no-such-file || : ; \ | |
22282 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
22283 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
22284 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
22285 | || exit 1 | |
e393202e | 22286 | |
930314a4 NN |
22287 | .PHONY: all-target-libobjc maybe-all-target-libobjc |
22288 | maybe-all-target-libobjc: | |
15723a45 | 22289 | all-target-libobjc: configure-target-libobjc |
930314a4 | 22290 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
22291 | s=`cd $(srcdir); ${PWD}`; export s; \ |
22292 | $(SET_LIB_PATH) \ | |
22293 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
22294 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
e393202e | 22295 | |
16ae0395 NN |
22296 | .PHONY: check-target-libobjc maybe-check-target-libobjc |
22297 | maybe-check-target-libobjc: | |
22298 | ||
e393202e | 22299 | check-target-libobjc: |
930314a4 | 22300 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
22301 | s=`cd $(srcdir); ${PWD}`; export s; \ |
22302 | $(SET_LIB_PATH) \ | |
22303 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
22304 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check) | |
930314a4 | 22305 | |
e393202e | 22306 | |
930314a4 NN |
22307 | .PHONY: install-target-libobjc maybe-install-target-libobjc |
22308 | maybe-install-target-libobjc: | |
16ae0395 | 22309 | |
e393202e | 22310 | install-target-libobjc: installdirs |
930314a4 | 22311 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
22312 | s=`cd $(srcdir); ${PWD}`; export s; \ |
22313 | $(SET_LIB_PATH) \ | |
22314 | (cd $(TARGET_SUBDIR)/libobjc && \ | |
22315 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e NN |
22316 | |
22317 | ||
930314a4 NN |
22318 | .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap |
22319 | maybe-configure-target-libtermcap: | |
15723a45 | 22320 | |
1086bc09 NN |
22321 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
22322 | $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out | |
e6bfb94a | 22323 | @[ -d $(TARGET_SUBDIR)/libtermcap ] || \ |
bba45b8b | 22324 | mkdir $(TARGET_SUBDIR)/libtermcap; \ |
e6bfb94a | 22325 | rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \ |
1086bc09 | 22326 | cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out |
15723a45 | 22327 | |
e6bfb94a AO |
22328 | configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out |
22329 | @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \ | |
bba45b8b NN |
22330 | [ -d $(TARGET_SUBDIR)/libtermcap ] || \ |
22331 | mkdir $(TARGET_SUBDIR)/libtermcap;\ | |
22332 | r=`${PWD}`; export r; \ | |
22333 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
22334 | $(SET_LIB_PATH) \ | |
22335 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
22336 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
22337 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
22338 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
22339 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
22340 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
22341 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
22342 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
22343 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
22344 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
22345 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
22346 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
22347 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
22348 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
22349 | echo Configuring in $(TARGET_SUBDIR)/libtermcap; \ | |
22350 | cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \ | |
22351 | case $(srcdir) in \ | |
22352 | /* | [A-Za-z]:[\\/]*) \ | |
22353 | topdir=$(srcdir) ;; \ | |
22354 | *) \ | |
22355 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
22356 | .) topdir="../$(srcdir)" ;; \ |
22357 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
22358 | esac ;; \ |
22359 | esac; \ | |
22360 | if [ "$(srcdir)" = "." ] ; then \ | |
22361 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
22362 | if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \ | |
22363 | if [ -f Makefile ]; then \ | |
22364 | if $(MAKE) distclean; then \ | |
22365 | true; \ | |
22366 | else \ | |
22367 | exit 1; \ | |
22368 | fi; \ | |
e393202e | 22369 | else \ |
bba45b8b | 22370 | true; \ |
e393202e | 22371 | fi; \ |
e393202e | 22372 | else \ |
bba45b8b | 22373 | exit 1; \ |
e393202e | 22374 | fi; \ |
bba45b8b NN |
22375 | else \ |
22376 | true; \ | |
22377 | fi; \ | |
22378 | srcdiroption="--srcdir=."; \ | |
22379 | libsrcdir="."; \ | |
22380 | else \ | |
22381 | srcdiroption="--srcdir=$${topdir}/libtermcap"; \ | |
22382 | libsrcdir="$$s/libtermcap"; \ | |
22383 | fi; \ | |
22384 | rm -f no-such-file || : ; \ | |
22385 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
22386 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
22387 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
22388 | || exit 1 | |
e393202e | 22389 | |
930314a4 NN |
22390 | .PHONY: all-target-libtermcap maybe-all-target-libtermcap |
22391 | maybe-all-target-libtermcap: | |
15723a45 | 22392 | all-target-libtermcap: configure-target-libtermcap |
930314a4 | 22393 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
22394 | s=`cd $(srcdir); ${PWD}`; export s; \ |
22395 | $(SET_LIB_PATH) \ | |
22396 | (cd $(TARGET_SUBDIR)/libtermcap && \ | |
22397 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
e393202e | 22398 | |
16ae0395 NN |
22399 | .PHONY: check-target-libtermcap maybe-check-target-libtermcap |
22400 | maybe-check-target-libtermcap: | |
22401 | ||
3866be5d | 22402 | # Dummy target for uncheckable module. |
3866be5d NN |
22403 | check-target-libtermcap: |
22404 | ||
930314a4 NN |
22405 | |
22406 | .PHONY: install-target-libtermcap maybe-install-target-libtermcap | |
22407 | maybe-install-target-libtermcap: | |
16ae0395 | 22408 | |
e393202e | 22409 | install-target-libtermcap: installdirs |
930314a4 | 22410 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
22411 | s=`cd $(srcdir); ${PWD}`; export s; \ |
22412 | $(SET_LIB_PATH) \ | |
22413 | (cd $(TARGET_SUBDIR)/libtermcap && \ | |
22414 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e NN |
22415 | |
22416 | ||
930314a4 NN |
22417 | .PHONY: configure-target-winsup maybe-configure-target-winsup |
22418 | maybe-configure-target-winsup: | |
15723a45 | 22419 | |
1086bc09 NN |
22420 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
22421 | $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out | |
e6bfb94a | 22422 | @[ -d $(TARGET_SUBDIR)/winsup ] || \ |
bba45b8b | 22423 | mkdir $(TARGET_SUBDIR)/winsup; \ |
e6bfb94a | 22424 | rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \ |
1086bc09 | 22425 | cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out |
15723a45 | 22426 | |
e6bfb94a AO |
22427 | configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out |
22428 | @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \ | |
bba45b8b NN |
22429 | [ -d $(TARGET_SUBDIR)/winsup ] || \ |
22430 | mkdir $(TARGET_SUBDIR)/winsup;\ | |
22431 | r=`${PWD}`; export r; \ | |
22432 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
22433 | $(SET_LIB_PATH) \ | |
22434 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
22435 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
22436 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
22437 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
22438 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
22439 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
22440 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
22441 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
22442 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
22443 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
22444 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
22445 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
22446 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
22447 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
22448 | echo Configuring in $(TARGET_SUBDIR)/winsup; \ | |
22449 | cd "$(TARGET_SUBDIR)/winsup" || exit 1; \ | |
22450 | case $(srcdir) in \ | |
22451 | /* | [A-Za-z]:[\\/]*) \ | |
22452 | topdir=$(srcdir) ;; \ | |
22453 | *) \ | |
22454 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
22455 | .) topdir="../$(srcdir)" ;; \ |
22456 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
22457 | esac ;; \ |
22458 | esac; \ | |
22459 | if [ "$(srcdir)" = "." ] ; then \ | |
22460 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
22461 | if $(SHELL) $$s/symlink-tree $${topdir}/winsup "no-such-file" ; then \ | |
22462 | if [ -f Makefile ]; then \ | |
22463 | if $(MAKE) distclean; then \ | |
22464 | true; \ | |
22465 | else \ | |
22466 | exit 1; \ | |
22467 | fi; \ | |
e393202e | 22468 | else \ |
bba45b8b | 22469 | true; \ |
e393202e | 22470 | fi; \ |
e393202e | 22471 | else \ |
bba45b8b | 22472 | exit 1; \ |
e393202e | 22473 | fi; \ |
bba45b8b NN |
22474 | else \ |
22475 | true; \ | |
22476 | fi; \ | |
22477 | srcdiroption="--srcdir=."; \ | |
22478 | libsrcdir="."; \ | |
22479 | else \ | |
22480 | srcdiroption="--srcdir=$${topdir}/winsup"; \ | |
22481 | libsrcdir="$$s/winsup"; \ | |
22482 | fi; \ | |
22483 | rm -f no-such-file || : ; \ | |
22484 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
22485 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
22486 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
22487 | || exit 1 | |
e393202e | 22488 | |
930314a4 NN |
22489 | .PHONY: all-target-winsup maybe-all-target-winsup |
22490 | maybe-all-target-winsup: | |
15723a45 | 22491 | all-target-winsup: configure-target-winsup |
930314a4 | 22492 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
22493 | s=`cd $(srcdir); ${PWD}`; export s; \ |
22494 | $(SET_LIB_PATH) \ | |
22495 | (cd $(TARGET_SUBDIR)/winsup && \ | |
22496 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
e393202e | 22497 | |
16ae0395 NN |
22498 | .PHONY: check-target-winsup maybe-check-target-winsup |
22499 | maybe-check-target-winsup: | |
22500 | ||
e393202e | 22501 | check-target-winsup: |
930314a4 | 22502 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
22503 | s=`cd $(srcdir); ${PWD}`; export s; \ |
22504 | $(SET_LIB_PATH) \ | |
22505 | (cd $(TARGET_SUBDIR)/winsup && \ | |
22506 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check) | |
e393202e | 22507 | |
930314a4 NN |
22508 | |
22509 | .PHONY: install-target-winsup maybe-install-target-winsup | |
22510 | maybe-install-target-winsup: | |
16ae0395 | 22511 | |
e393202e | 22512 | install-target-winsup: installdirs |
930314a4 | 22513 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
22514 | s=`cd $(srcdir); ${PWD}`; export s; \ |
22515 | $(SET_LIB_PATH) \ | |
22516 | (cd $(TARGET_SUBDIR)/winsup && \ | |
22517 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e NN |
22518 | |
22519 | ||
930314a4 NN |
22520 | .PHONY: configure-target-libgloss maybe-configure-target-libgloss |
22521 | maybe-configure-target-libgloss: | |
15723a45 | 22522 | |
1086bc09 NN |
22523 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
22524 | $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out | |
e6bfb94a | 22525 | @[ -d $(TARGET_SUBDIR)/libgloss ] || \ |
bba45b8b | 22526 | mkdir $(TARGET_SUBDIR)/libgloss; \ |
e6bfb94a | 22527 | rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \ |
1086bc09 | 22528 | cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out |
15723a45 | 22529 | |
e6bfb94a AO |
22530 | configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out |
22531 | @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \ | |
bba45b8b NN |
22532 | [ -d $(TARGET_SUBDIR)/libgloss ] || \ |
22533 | mkdir $(TARGET_SUBDIR)/libgloss;\ | |
22534 | r=`${PWD}`; export r; \ | |
22535 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
22536 | $(SET_LIB_PATH) \ | |
22537 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
22538 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
22539 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
22540 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
22541 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
22542 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
22543 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
22544 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
22545 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
22546 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
22547 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
22548 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
22549 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
22550 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
22551 | echo Configuring in $(TARGET_SUBDIR)/libgloss; \ | |
22552 | cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \ | |
22553 | case $(srcdir) in \ | |
22554 | /* | [A-Za-z]:[\\/]*) \ | |
22555 | topdir=$(srcdir) ;; \ | |
22556 | *) \ | |
22557 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
22558 | .) topdir="../$(srcdir)" ;; \ |
22559 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
22560 | esac ;; \ |
22561 | esac; \ | |
22562 | if [ "$(srcdir)" = "." ] ; then \ | |
22563 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
22564 | if $(SHELL) $$s/symlink-tree $${topdir}/libgloss "no-such-file" ; then \ | |
22565 | if [ -f Makefile ]; then \ | |
22566 | if $(MAKE) distclean; then \ | |
22567 | true; \ | |
22568 | else \ | |
22569 | exit 1; \ | |
22570 | fi; \ | |
e393202e | 22571 | else \ |
bba45b8b | 22572 | true; \ |
e393202e | 22573 | fi; \ |
e393202e | 22574 | else \ |
bba45b8b | 22575 | exit 1; \ |
e393202e | 22576 | fi; \ |
bba45b8b NN |
22577 | else \ |
22578 | true; \ | |
22579 | fi; \ | |
22580 | srcdiroption="--srcdir=."; \ | |
22581 | libsrcdir="."; \ | |
22582 | else \ | |
22583 | srcdiroption="--srcdir=$${topdir}/libgloss"; \ | |
22584 | libsrcdir="$$s/libgloss"; \ | |
22585 | fi; \ | |
22586 | rm -f no-such-file || : ; \ | |
22587 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
22588 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
22589 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
22590 | || exit 1 | |
e393202e | 22591 | |
930314a4 NN |
22592 | .PHONY: all-target-libgloss maybe-all-target-libgloss |
22593 | maybe-all-target-libgloss: | |
15723a45 | 22594 | all-target-libgloss: configure-target-libgloss |
930314a4 | 22595 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
22596 | s=`cd $(srcdir); ${PWD}`; export s; \ |
22597 | $(SET_LIB_PATH) \ | |
22598 | (cd $(TARGET_SUBDIR)/libgloss && \ | |
22599 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
e393202e | 22600 | |
16ae0395 NN |
22601 | .PHONY: check-target-libgloss maybe-check-target-libgloss |
22602 | maybe-check-target-libgloss: | |
22603 | ||
3866be5d | 22604 | # Dummy target for uncheckable module. |
3866be5d NN |
22605 | check-target-libgloss: |
22606 | ||
930314a4 NN |
22607 | |
22608 | .PHONY: install-target-libgloss maybe-install-target-libgloss | |
22609 | maybe-install-target-libgloss: | |
16ae0395 | 22610 | |
e393202e | 22611 | install-target-libgloss: installdirs |
930314a4 | 22612 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
22613 | s=`cd $(srcdir); ${PWD}`; export s; \ |
22614 | $(SET_LIB_PATH) \ | |
22615 | (cd $(TARGET_SUBDIR)/libgloss && \ | |
22616 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e NN |
22617 | |
22618 | ||
930314a4 NN |
22619 | .PHONY: configure-target-libiberty maybe-configure-target-libiberty |
22620 | maybe-configure-target-libiberty: | |
15723a45 | 22621 | |
1086bc09 NN |
22622 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
22623 | $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out | |
e6bfb94a | 22624 | @[ -d $(TARGET_SUBDIR)/libiberty ] || \ |
bba45b8b | 22625 | mkdir $(TARGET_SUBDIR)/libiberty; \ |
e6bfb94a | 22626 | rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \ |
1086bc09 | 22627 | cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out |
15723a45 | 22628 | |
e6bfb94a AO |
22629 | configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out |
22630 | @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \ | |
bba45b8b NN |
22631 | [ -d $(TARGET_SUBDIR)/libiberty ] || \ |
22632 | mkdir $(TARGET_SUBDIR)/libiberty;\ | |
22633 | r=`${PWD}`; export r; \ | |
22634 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
22635 | $(SET_LIB_PATH) \ | |
22636 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
22637 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
22638 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
22639 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
22640 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
22641 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
22642 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
22643 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
22644 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
22645 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
22646 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
22647 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
22648 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
22649 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
22650 | echo Configuring in $(TARGET_SUBDIR)/libiberty; \ | |
22651 | cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \ | |
22652 | case $(srcdir) in \ | |
22653 | /* | [A-Za-z]:[\\/]*) \ | |
22654 | topdir=$(srcdir) ;; \ | |
22655 | *) \ | |
22656 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
22657 | .) topdir="../$(srcdir)" ;; \ |
22658 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
22659 | esac ;; \ |
22660 | esac; \ | |
22661 | if [ "$(srcdir)" = "." ] ; then \ | |
22662 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
22663 | if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \ | |
22664 | if [ -f Makefile ]; then \ | |
22665 | if $(MAKE) distclean; then \ | |
22666 | true; \ | |
22667 | else \ | |
22668 | exit 1; \ | |
22669 | fi; \ | |
e393202e | 22670 | else \ |
bba45b8b | 22671 | true; \ |
e393202e | 22672 | fi; \ |
e393202e | 22673 | else \ |
bba45b8b | 22674 | exit 1; \ |
e393202e | 22675 | fi; \ |
bba45b8b NN |
22676 | else \ |
22677 | true; \ | |
22678 | fi; \ | |
22679 | srcdiroption="--srcdir=."; \ | |
22680 | libsrcdir="."; \ | |
22681 | else \ | |
22682 | srcdiroption="--srcdir=$${topdir}/libiberty"; \ | |
22683 | libsrcdir="$$s/libiberty"; \ | |
22684 | fi; \ | |
22685 | rm -f no-such-file || : ; \ | |
22686 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
22687 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
22688 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
22689 | || exit 1 | |
e393202e | 22690 | |
930314a4 NN |
22691 | .PHONY: all-target-libiberty maybe-all-target-libiberty |
22692 | maybe-all-target-libiberty: | |
15723a45 | 22693 | all-target-libiberty: configure-target-libiberty |
930314a4 | 22694 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
22695 | s=`cd $(srcdir); ${PWD}`; export s; \ |
22696 | $(SET_LIB_PATH) \ | |
22697 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
22698 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
e393202e | 22699 | |
16ae0395 NN |
22700 | .PHONY: check-target-libiberty maybe-check-target-libiberty |
22701 | maybe-check-target-libiberty: | |
22702 | ||
e393202e | 22703 | check-target-libiberty: |
930314a4 | 22704 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
22705 | s=`cd $(srcdir); ${PWD}`; export s; \ |
22706 | $(SET_LIB_PATH) \ | |
22707 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
22708 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check) | |
e393202e | 22709 | |
930314a4 NN |
22710 | |
22711 | .PHONY: install-target-libiberty maybe-install-target-libiberty | |
22712 | maybe-install-target-libiberty: | |
16ae0395 | 22713 | |
e393202e | 22714 | install-target-libiberty: installdirs |
930314a4 | 22715 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
22716 | s=`cd $(srcdir); ${PWD}`; export s; \ |
22717 | $(SET_LIB_PATH) \ | |
22718 | (cd $(TARGET_SUBDIR)/libiberty && \ | |
22719 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e NN |
22720 | |
22721 | ||
930314a4 NN |
22722 | .PHONY: configure-target-gperf maybe-configure-target-gperf |
22723 | maybe-configure-target-gperf: | |
15723a45 | 22724 | |
1086bc09 NN |
22725 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
22726 | $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out | |
e6bfb94a | 22727 | @[ -d $(TARGET_SUBDIR)/gperf ] || \ |
bba45b8b | 22728 | mkdir $(TARGET_SUBDIR)/gperf; \ |
e6bfb94a | 22729 | rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \ |
1086bc09 | 22730 | cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out |
15723a45 | 22731 | |
e6bfb94a AO |
22732 | configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out |
22733 | @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \ | |
bba45b8b NN |
22734 | [ -d $(TARGET_SUBDIR)/gperf ] || \ |
22735 | mkdir $(TARGET_SUBDIR)/gperf;\ | |
22736 | r=`${PWD}`; export r; \ | |
22737 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
22738 | $(SET_LIB_PATH) \ | |
22739 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
22740 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
22741 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
22742 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
22743 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
22744 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
22745 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
22746 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
22747 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
22748 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
22749 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
22750 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
22751 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
22752 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
22753 | echo Configuring in $(TARGET_SUBDIR)/gperf; \ | |
22754 | cd "$(TARGET_SUBDIR)/gperf" || exit 1; \ | |
22755 | case $(srcdir) in \ | |
22756 | /* | [A-Za-z]:[\\/]*) \ | |
22757 | topdir=$(srcdir) ;; \ | |
22758 | *) \ | |
22759 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
22760 | .) topdir="../$(srcdir)" ;; \ |
22761 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
22762 | esac ;; \ |
22763 | esac; \ | |
22764 | if [ "$(srcdir)" = "." ] ; then \ | |
22765 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
22766 | if $(SHELL) $$s/symlink-tree $${topdir}/gperf "no-such-file" ; then \ | |
22767 | if [ -f Makefile ]; then \ | |
22768 | if $(MAKE) distclean; then \ | |
22769 | true; \ | |
22770 | else \ | |
22771 | exit 1; \ | |
22772 | fi; \ | |
e393202e | 22773 | else \ |
bba45b8b | 22774 | true; \ |
e393202e | 22775 | fi; \ |
e393202e | 22776 | else \ |
bba45b8b | 22777 | exit 1; \ |
e393202e | 22778 | fi; \ |
bba45b8b NN |
22779 | else \ |
22780 | true; \ | |
22781 | fi; \ | |
22782 | srcdiroption="--srcdir=."; \ | |
22783 | libsrcdir="."; \ | |
22784 | else \ | |
22785 | srcdiroption="--srcdir=$${topdir}/gperf"; \ | |
22786 | libsrcdir="$$s/gperf"; \ | |
22787 | fi; \ | |
22788 | rm -f no-such-file || : ; \ | |
22789 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
22790 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
22791 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
22792 | || exit 1 | |
e393202e | 22793 | |
930314a4 NN |
22794 | .PHONY: all-target-gperf maybe-all-target-gperf |
22795 | maybe-all-target-gperf: | |
15723a45 | 22796 | all-target-gperf: configure-target-gperf |
930314a4 | 22797 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
22798 | s=`cd $(srcdir); ${PWD}`; export s; \ |
22799 | $(SET_LIB_PATH) \ | |
22800 | (cd $(TARGET_SUBDIR)/gperf && \ | |
22801 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
e393202e | 22802 | |
16ae0395 NN |
22803 | .PHONY: check-target-gperf maybe-check-target-gperf |
22804 | maybe-check-target-gperf: | |
22805 | ||
e393202e | 22806 | check-target-gperf: |
930314a4 | 22807 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
22808 | s=`cd $(srcdir); ${PWD}`; export s; \ |
22809 | $(SET_LIB_PATH) \ | |
22810 | (cd $(TARGET_SUBDIR)/gperf && \ | |
22811 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check) | |
e393202e | 22812 | |
930314a4 NN |
22813 | |
22814 | .PHONY: install-target-gperf maybe-install-target-gperf | |
22815 | maybe-install-target-gperf: | |
16ae0395 | 22816 | |
e393202e | 22817 | install-target-gperf: installdirs |
930314a4 | 22818 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
22819 | s=`cd $(srcdir); ${PWD}`; export s; \ |
22820 | $(SET_LIB_PATH) \ | |
22821 | (cd $(TARGET_SUBDIR)/gperf && \ | |
22822 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e NN |
22823 | |
22824 | ||
930314a4 NN |
22825 | .PHONY: configure-target-examples maybe-configure-target-examples |
22826 | maybe-configure-target-examples: | |
15723a45 | 22827 | |
1086bc09 NN |
22828 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
22829 | $(TARGET_SUBDIR)/examples/multilib.out: multilib.out | |
e6bfb94a | 22830 | @[ -d $(TARGET_SUBDIR)/examples ] || \ |
bba45b8b | 22831 | mkdir $(TARGET_SUBDIR)/examples; \ |
e6bfb94a | 22832 | rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \ |
1086bc09 | 22833 | cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out |
15723a45 | 22834 | |
e6bfb94a AO |
22835 | configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out |
22836 | @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \ | |
bba45b8b NN |
22837 | [ -d $(TARGET_SUBDIR)/examples ] || \ |
22838 | mkdir $(TARGET_SUBDIR)/examples;\ | |
22839 | r=`${PWD}`; export r; \ | |
22840 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
22841 | $(SET_LIB_PATH) \ | |
22842 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
22843 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
22844 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
22845 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
22846 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
22847 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
22848 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
22849 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
22850 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
22851 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
22852 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
22853 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
22854 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
22855 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
22856 | echo Configuring in $(TARGET_SUBDIR)/examples; \ | |
22857 | cd "$(TARGET_SUBDIR)/examples" || exit 1; \ | |
22858 | case $(srcdir) in \ | |
22859 | /* | [A-Za-z]:[\\/]*) \ | |
22860 | topdir=$(srcdir) ;; \ | |
22861 | *) \ | |
22862 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
22863 | .) topdir="../$(srcdir)" ;; \ |
22864 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
22865 | esac ;; \ |
22866 | esac; \ | |
22867 | if [ "$(srcdir)" = "." ] ; then \ | |
22868 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
22869 | if $(SHELL) $$s/symlink-tree $${topdir}/examples "no-such-file" ; then \ | |
22870 | if [ -f Makefile ]; then \ | |
22871 | if $(MAKE) distclean; then \ | |
22872 | true; \ | |
22873 | else \ | |
22874 | exit 1; \ | |
22875 | fi; \ | |
e393202e | 22876 | else \ |
bba45b8b | 22877 | true; \ |
e393202e | 22878 | fi; \ |
e393202e | 22879 | else \ |
bba45b8b | 22880 | exit 1; \ |
e393202e | 22881 | fi; \ |
bba45b8b NN |
22882 | else \ |
22883 | true; \ | |
22884 | fi; \ | |
22885 | srcdiroption="--srcdir=."; \ | |
22886 | libsrcdir="."; \ | |
22887 | else \ | |
22888 | srcdiroption="--srcdir=$${topdir}/examples"; \ | |
22889 | libsrcdir="$$s/examples"; \ | |
22890 | fi; \ | |
22891 | rm -f no-such-file || : ; \ | |
22892 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
22893 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
22894 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
22895 | || exit 1 | |
e393202e | 22896 | |
930314a4 NN |
22897 | .PHONY: all-target-examples maybe-all-target-examples |
22898 | maybe-all-target-examples: | |
15723a45 | 22899 | all-target-examples: configure-target-examples |
930314a4 | 22900 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
22901 | s=`cd $(srcdir); ${PWD}`; export s; \ |
22902 | $(SET_LIB_PATH) \ | |
22903 | (cd $(TARGET_SUBDIR)/examples && \ | |
22904 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
e393202e | 22905 | |
16ae0395 NN |
22906 | .PHONY: check-target-examples maybe-check-target-examples |
22907 | maybe-check-target-examples: | |
22908 | ||
3866be5d | 22909 | # Dummy target for uncheckable module. |
3866be5d NN |
22910 | check-target-examples: |
22911 | ||
e393202e | 22912 | |
930314a4 NN |
22913 | .PHONY: install-target-examples maybe-install-target-examples |
22914 | maybe-install-target-examples: | |
16ae0395 | 22915 | |
930314a4 NN |
22916 | # Dummy target for uninstallable. |
22917 | install-target-examples: | |
22918 | ||
e393202e | 22919 | |
930314a4 NN |
22920 | .PHONY: configure-target-libffi maybe-configure-target-libffi |
22921 | maybe-configure-target-libffi: | |
15723a45 | 22922 | |
1086bc09 NN |
22923 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
22924 | $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out | |
e6bfb94a | 22925 | @[ -d $(TARGET_SUBDIR)/libffi ] || \ |
bba45b8b | 22926 | mkdir $(TARGET_SUBDIR)/libffi; \ |
e6bfb94a | 22927 | rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \ |
1086bc09 | 22928 | cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out |
15723a45 | 22929 | |
e6bfb94a AO |
22930 | configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out |
22931 | @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \ | |
bba45b8b NN |
22932 | [ -d $(TARGET_SUBDIR)/libffi ] || \ |
22933 | mkdir $(TARGET_SUBDIR)/libffi;\ | |
22934 | r=`${PWD}`; export r; \ | |
22935 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
22936 | $(SET_LIB_PATH) \ | |
22937 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
22938 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
22939 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
22940 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
22941 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
22942 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
22943 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
22944 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
22945 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
22946 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
22947 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
22948 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
22949 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
22950 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
22951 | echo Configuring in $(TARGET_SUBDIR)/libffi; \ | |
22952 | cd "$(TARGET_SUBDIR)/libffi" || exit 1; \ | |
22953 | case $(srcdir) in \ | |
22954 | /* | [A-Za-z]:[\\/]*) \ | |
22955 | topdir=$(srcdir) ;; \ | |
22956 | *) \ | |
22957 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
22958 | .) topdir="../$(srcdir)" ;; \ |
22959 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
22960 | esac ;; \ |
22961 | esac; \ | |
22962 | if [ "$(srcdir)" = "." ] ; then \ | |
22963 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
22964 | if $(SHELL) $$s/symlink-tree $${topdir}/libffi "no-such-file" ; then \ | |
22965 | if [ -f Makefile ]; then \ | |
22966 | if $(MAKE) distclean; then \ | |
22967 | true; \ | |
22968 | else \ | |
22969 | exit 1; \ | |
22970 | fi; \ | |
e393202e | 22971 | else \ |
bba45b8b | 22972 | true; \ |
e393202e | 22973 | fi; \ |
e393202e | 22974 | else \ |
bba45b8b | 22975 | exit 1; \ |
e393202e | 22976 | fi; \ |
bba45b8b NN |
22977 | else \ |
22978 | true; \ | |
22979 | fi; \ | |
22980 | srcdiroption="--srcdir=."; \ | |
22981 | libsrcdir="."; \ | |
22982 | else \ | |
22983 | srcdiroption="--srcdir=$${topdir}/libffi"; \ | |
22984 | libsrcdir="$$s/libffi"; \ | |
22985 | fi; \ | |
22986 | rm -f no-such-file || : ; \ | |
22987 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
22988 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
22989 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
22990 | || exit 1 | |
e393202e | 22991 | |
930314a4 NN |
22992 | .PHONY: all-target-libffi maybe-all-target-libffi |
22993 | maybe-all-target-libffi: | |
15723a45 | 22994 | all-target-libffi: configure-target-libffi |
930314a4 | 22995 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
22996 | s=`cd $(srcdir); ${PWD}`; export s; \ |
22997 | $(SET_LIB_PATH) \ | |
22998 | (cd $(TARGET_SUBDIR)/libffi && \ | |
22999 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
e393202e | 23000 | |
16ae0395 NN |
23001 | .PHONY: check-target-libffi maybe-check-target-libffi |
23002 | maybe-check-target-libffi: | |
23003 | ||
e393202e | 23004 | check-target-libffi: |
930314a4 | 23005 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
23006 | s=`cd $(srcdir); ${PWD}`; export s; \ |
23007 | $(SET_LIB_PATH) \ | |
23008 | (cd $(TARGET_SUBDIR)/libffi && \ | |
23009 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check) | |
e393202e NN |
23010 | |
23011 | ||
930314a4 NN |
23012 | .PHONY: install-target-libffi maybe-install-target-libffi |
23013 | maybe-install-target-libffi: | |
16ae0395 | 23014 | |
50ceb20c TT |
23015 | install-target-libffi: installdirs |
23016 | @r=`${PWD}`; export r; \ | |
bba45b8b NN |
23017 | s=`cd $(srcdir); ${PWD}`; export s; \ |
23018 | $(SET_LIB_PATH) \ | |
23019 | (cd $(TARGET_SUBDIR)/libffi && \ | |
23020 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e | 23021 | |
930314a4 NN |
23022 | |
23023 | .PHONY: configure-target-libjava maybe-configure-target-libjava | |
23024 | maybe-configure-target-libjava: | |
15723a45 | 23025 | |
1086bc09 NN |
23026 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
23027 | $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out | |
e6bfb94a | 23028 | @[ -d $(TARGET_SUBDIR)/libjava ] || \ |
bba45b8b | 23029 | mkdir $(TARGET_SUBDIR)/libjava; \ |
e6bfb94a | 23030 | rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \ |
1086bc09 | 23031 | cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out |
15723a45 | 23032 | |
e6bfb94a AO |
23033 | configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out |
23034 | @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \ | |
bba45b8b NN |
23035 | [ -d $(TARGET_SUBDIR)/libjava ] || \ |
23036 | mkdir $(TARGET_SUBDIR)/libjava;\ | |
23037 | r=`${PWD}`; export r; \ | |
23038 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
23039 | $(SET_LIB_PATH) \ | |
23040 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
23041 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
23042 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
23043 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
23044 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
23045 | CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \ | |
23046 | CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \ | |
23047 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
23048 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
23049 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
23050 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
23051 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
23052 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
23053 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
23054 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
23055 | echo Configuring in $(TARGET_SUBDIR)/libjava; \ | |
23056 | cd "$(TARGET_SUBDIR)/libjava" || exit 1; \ | |
23057 | case $(srcdir) in \ | |
23058 | /* | [A-Za-z]:[\\/]*) \ | |
23059 | topdir=$(srcdir) ;; \ | |
23060 | *) \ | |
23061 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
23062 | .) topdir="../$(srcdir)" ;; \ |
23063 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
23064 | esac ;; \ |
23065 | esac; \ | |
23066 | if [ "$(srcdir)" = "." ] ; then \ | |
23067 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
23068 | if $(SHELL) $$s/symlink-tree $${topdir}/libjava "no-such-file" ; then \ | |
23069 | if [ -f Makefile ]; then \ | |
23070 | if $(MAKE) distclean; then \ | |
23071 | true; \ | |
23072 | else \ | |
23073 | exit 1; \ | |
23074 | fi; \ | |
e393202e | 23075 | else \ |
bba45b8b | 23076 | true; \ |
e393202e | 23077 | fi; \ |
e393202e | 23078 | else \ |
bba45b8b | 23079 | exit 1; \ |
e393202e | 23080 | fi; \ |
bba45b8b NN |
23081 | else \ |
23082 | true; \ | |
23083 | fi; \ | |
23084 | srcdiroption="--srcdir=."; \ | |
23085 | libsrcdir="."; \ | |
23086 | else \ | |
23087 | srcdiroption="--srcdir=$${topdir}/libjava"; \ | |
23088 | libsrcdir="$$s/libjava"; \ | |
23089 | fi; \ | |
23090 | rm -f no-such-file || : ; \ | |
23091 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
23092 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
23093 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
23094 | || exit 1 | |
e393202e | 23095 | |
930314a4 NN |
23096 | .PHONY: all-target-libjava maybe-all-target-libjava |
23097 | maybe-all-target-libjava: | |
15723a45 | 23098 | all-target-libjava: configure-target-libjava |
930314a4 | 23099 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
23100 | s=`cd $(srcdir); ${PWD}`; export s; \ |
23101 | $(SET_LIB_PATH) \ | |
23102 | (cd $(TARGET_SUBDIR)/libjava && \ | |
23103 | $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all) | |
e393202e | 23104 | |
16ae0395 NN |
23105 | .PHONY: check-target-libjava maybe-check-target-libjava |
23106 | maybe-check-target-libjava: | |
23107 | ||
e393202e | 23108 | check-target-libjava: |
930314a4 | 23109 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
23110 | s=`cd $(srcdir); ${PWD}`; export s; \ |
23111 | $(SET_LIB_PATH) \ | |
23112 | (cd $(TARGET_SUBDIR)/libjava && \ | |
23113 | $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check) | |
e393202e | 23114 | |
930314a4 NN |
23115 | |
23116 | .PHONY: install-target-libjava maybe-install-target-libjava | |
23117 | maybe-install-target-libjava: | |
16ae0395 | 23118 | |
e393202e | 23119 | install-target-libjava: installdirs |
930314a4 | 23120 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
23121 | s=`cd $(srcdir); ${PWD}`; export s; \ |
23122 | $(SET_LIB_PATH) \ | |
23123 | (cd $(TARGET_SUBDIR)/libjava && \ | |
23124 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e NN |
23125 | |
23126 | ||
930314a4 NN |
23127 | .PHONY: configure-target-zlib maybe-configure-target-zlib |
23128 | maybe-configure-target-zlib: | |
15723a45 | 23129 | |
1086bc09 NN |
23130 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
23131 | $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out | |
e6bfb94a | 23132 | @[ -d $(TARGET_SUBDIR)/zlib ] || \ |
bba45b8b | 23133 | mkdir $(TARGET_SUBDIR)/zlib; \ |
e6bfb94a | 23134 | rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \ |
1086bc09 | 23135 | cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out |
15723a45 | 23136 | |
e6bfb94a AO |
23137 | configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out |
23138 | @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \ | |
bba45b8b NN |
23139 | [ -d $(TARGET_SUBDIR)/zlib ] || \ |
23140 | mkdir $(TARGET_SUBDIR)/zlib;\ | |
23141 | r=`${PWD}`; export r; \ | |
23142 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
23143 | $(SET_LIB_PATH) \ | |
23144 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
23145 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
23146 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
23147 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
23148 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
23149 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
23150 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
23151 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
23152 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
23153 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
23154 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
23155 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
23156 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
23157 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
23158 | echo Configuring in $(TARGET_SUBDIR)/zlib; \ | |
23159 | cd "$(TARGET_SUBDIR)/zlib" || exit 1; \ | |
23160 | case $(srcdir) in \ | |
23161 | /* | [A-Za-z]:[\\/]*) \ | |
23162 | topdir=$(srcdir) ;; \ | |
23163 | *) \ | |
23164 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
23165 | .) topdir="../$(srcdir)" ;; \ |
23166 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
23167 | esac ;; \ |
23168 | esac; \ | |
23169 | if [ "$(srcdir)" = "." ] ; then \ | |
23170 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
23171 | if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \ | |
23172 | if [ -f Makefile ]; then \ | |
23173 | if $(MAKE) distclean; then \ | |
23174 | true; \ | |
23175 | else \ | |
23176 | exit 1; \ | |
23177 | fi; \ | |
e393202e | 23178 | else \ |
bba45b8b | 23179 | true; \ |
e393202e | 23180 | fi; \ |
e393202e | 23181 | else \ |
bba45b8b | 23182 | exit 1; \ |
e393202e | 23183 | fi; \ |
bba45b8b NN |
23184 | else \ |
23185 | true; \ | |
23186 | fi; \ | |
23187 | srcdiroption="--srcdir=."; \ | |
23188 | libsrcdir="."; \ | |
23189 | else \ | |
23190 | srcdiroption="--srcdir=$${topdir}/zlib"; \ | |
23191 | libsrcdir="$$s/zlib"; \ | |
23192 | fi; \ | |
23193 | rm -f no-such-file || : ; \ | |
23194 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
23195 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
23196 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
23197 | || exit 1 | |
252b5132 | 23198 | |
930314a4 NN |
23199 | .PHONY: all-target-zlib maybe-all-target-zlib |
23200 | maybe-all-target-zlib: | |
15723a45 | 23201 | all-target-zlib: configure-target-zlib |
930314a4 | 23202 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
23203 | s=`cd $(srcdir); ${PWD}`; export s; \ |
23204 | $(SET_LIB_PATH) \ | |
23205 | (cd $(TARGET_SUBDIR)/zlib && \ | |
23206 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
252b5132 | 23207 | |
16ae0395 NN |
23208 | .PHONY: check-target-zlib maybe-check-target-zlib |
23209 | maybe-check-target-zlib: | |
23210 | ||
e393202e | 23211 | check-target-zlib: |
930314a4 | 23212 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
23213 | s=`cd $(srcdir); ${PWD}`; export s; \ |
23214 | $(SET_LIB_PATH) \ | |
23215 | (cd $(TARGET_SUBDIR)/zlib && \ | |
23216 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check) | |
252b5132 | 23217 | |
930314a4 NN |
23218 | |
23219 | .PHONY: install-target-zlib maybe-install-target-zlib | |
23220 | maybe-install-target-zlib: | |
16ae0395 | 23221 | |
e393202e | 23222 | install-target-zlib: installdirs |
930314a4 | 23223 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
23224 | s=`cd $(srcdir); ${PWD}`; export s; \ |
23225 | $(SET_LIB_PATH) \ | |
23226 | (cd $(TARGET_SUBDIR)/zlib && \ | |
23227 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
49b7683b | 23228 | |
e393202e | 23229 | |
930314a4 NN |
23230 | .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc |
23231 | maybe-configure-target-boehm-gc: | |
15723a45 | 23232 | |
1086bc09 NN |
23233 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
23234 | $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out | |
e6bfb94a | 23235 | @[ -d $(TARGET_SUBDIR)/boehm-gc ] || \ |
bba45b8b | 23236 | mkdir $(TARGET_SUBDIR)/boehm-gc; \ |
e6bfb94a | 23237 | rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \ |
1086bc09 | 23238 | cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out |
15723a45 | 23239 | |
e6bfb94a AO |
23240 | configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out |
23241 | @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \ | |
bba45b8b NN |
23242 | [ -d $(TARGET_SUBDIR)/boehm-gc ] || \ |
23243 | mkdir $(TARGET_SUBDIR)/boehm-gc;\ | |
23244 | r=`${PWD}`; export r; \ | |
23245 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
23246 | $(SET_LIB_PATH) \ | |
23247 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
23248 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
23249 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
23250 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
23251 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
23252 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
23253 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
23254 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
23255 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
23256 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
23257 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
23258 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
23259 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
23260 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
23261 | echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \ | |
23262 | cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \ | |
23263 | case $(srcdir) in \ | |
23264 | /* | [A-Za-z]:[\\/]*) \ | |
23265 | topdir=$(srcdir) ;; \ | |
23266 | *) \ | |
23267 | case "$(TARGET_SUBDIR)" in \ | |
49b7683b DD |
23268 | .) topdir="../$(srcdir)" ;; \ |
23269 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
23270 | esac ;; \ |
23271 | esac; \ | |
23272 | if [ "$(srcdir)" = "." ] ; then \ | |
23273 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
23274 | if $(SHELL) $$s/symlink-tree $${topdir}/boehm-gc "no-such-file" ; then \ | |
23275 | if [ -f Makefile ]; then \ | |
23276 | if $(MAKE) distclean; then \ | |
23277 | true; \ | |
23278 | else \ | |
23279 | exit 1; \ | |
23280 | fi; \ | |
49b7683b | 23281 | else \ |
bba45b8b | 23282 | true; \ |
49b7683b | 23283 | fi; \ |
49b7683b | 23284 | else \ |
bba45b8b | 23285 | exit 1; \ |
49b7683b | 23286 | fi; \ |
bba45b8b NN |
23287 | else \ |
23288 | true; \ | |
23289 | fi; \ | |
23290 | srcdiroption="--srcdir=."; \ | |
23291 | libsrcdir="."; \ | |
23292 | else \ | |
23293 | srcdiroption="--srcdir=$${topdir}/boehm-gc"; \ | |
23294 | libsrcdir="$$s/boehm-gc"; \ | |
23295 | fi; \ | |
23296 | rm -f no-such-file || : ; \ | |
23297 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
23298 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
23299 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
23300 | || exit 1 | |
49b7683b | 23301 | |
930314a4 NN |
23302 | .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc |
23303 | maybe-all-target-boehm-gc: | |
15723a45 | 23304 | all-target-boehm-gc: configure-target-boehm-gc |
930314a4 | 23305 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
23306 | s=`cd $(srcdir); ${PWD}`; export s; \ |
23307 | $(SET_LIB_PATH) \ | |
23308 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
23309 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
252b5132 | 23310 | |
16ae0395 NN |
23311 | .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc |
23312 | maybe-check-target-boehm-gc: | |
23313 | ||
e393202e | 23314 | check-target-boehm-gc: |
930314a4 | 23315 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
23316 | s=`cd $(srcdir); ${PWD}`; export s; \ |
23317 | $(SET_LIB_PATH) \ | |
23318 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
23319 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check) | |
252b5132 | 23320 | |
930314a4 NN |
23321 | |
23322 | .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc | |
23323 | maybe-install-target-boehm-gc: | |
16ae0395 | 23324 | |
e393202e | 23325 | install-target-boehm-gc: installdirs |
930314a4 | 23326 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
23327 | s=`cd $(srcdir); ${PWD}`; export s; \ |
23328 | $(SET_LIB_PATH) \ | |
23329 | (cd $(TARGET_SUBDIR)/boehm-gc && \ | |
23330 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
e393202e NN |
23331 | |
23332 | ||
930314a4 NN |
23333 | .PHONY: configure-target-qthreads maybe-configure-target-qthreads |
23334 | maybe-configure-target-qthreads: | |
15723a45 | 23335 | |
1086bc09 NN |
23336 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
23337 | $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out | |
e6bfb94a | 23338 | @[ -d $(TARGET_SUBDIR)/qthreads ] || \ |
bba45b8b | 23339 | mkdir $(TARGET_SUBDIR)/qthreads; \ |
e6bfb94a | 23340 | rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \ |
1086bc09 | 23341 | cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out |
15723a45 | 23342 | |
e6bfb94a AO |
23343 | configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out |
23344 | @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \ | |
bba45b8b NN |
23345 | [ -d $(TARGET_SUBDIR)/qthreads ] || \ |
23346 | mkdir $(TARGET_SUBDIR)/qthreads;\ | |
23347 | r=`${PWD}`; export r; \ | |
23348 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
23349 | $(SET_LIB_PATH) \ | |
23350 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
23351 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
23352 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
23353 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
23354 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
23355 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
23356 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
23357 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
23358 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
23359 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
23360 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
23361 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
23362 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
23363 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
23364 | echo Configuring in $(TARGET_SUBDIR)/qthreads; \ | |
23365 | cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \ | |
23366 | case $(srcdir) in \ | |
23367 | /* | [A-Za-z]:[\\/]*) \ | |
23368 | topdir=$(srcdir) ;; \ | |
23369 | *) \ | |
23370 | case "$(TARGET_SUBDIR)" in \ | |
e393202e NN |
23371 | .) topdir="../$(srcdir)" ;; \ |
23372 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
23373 | esac ;; \ |
23374 | esac; \ | |
23375 | if [ "$(srcdir)" = "." ] ; then \ | |
23376 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
23377 | if $(SHELL) $$s/symlink-tree $${topdir}/qthreads "no-such-file" ; then \ | |
23378 | if [ -f Makefile ]; then \ | |
23379 | if $(MAKE) distclean; then \ | |
23380 | true; \ | |
23381 | else \ | |
23382 | exit 1; \ | |
23383 | fi; \ | |
e393202e | 23384 | else \ |
bba45b8b | 23385 | true; \ |
e393202e | 23386 | fi; \ |
e393202e | 23387 | else \ |
bba45b8b | 23388 | exit 1; \ |
e393202e | 23389 | fi; \ |
bba45b8b NN |
23390 | else \ |
23391 | true; \ | |
23392 | fi; \ | |
23393 | srcdiroption="--srcdir=."; \ | |
23394 | libsrcdir="."; \ | |
23395 | else \ | |
23396 | srcdiroption="--srcdir=$${topdir}/qthreads"; \ | |
23397 | libsrcdir="$$s/qthreads"; \ | |
23398 | fi; \ | |
23399 | rm -f no-such-file || : ; \ | |
23400 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
23401 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
23402 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
23403 | || exit 1 | |
252b5132 | 23404 | |
930314a4 NN |
23405 | .PHONY: all-target-qthreads maybe-all-target-qthreads |
23406 | maybe-all-target-qthreads: | |
15723a45 | 23407 | all-target-qthreads: configure-target-qthreads |
930314a4 | 23408 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
23409 | s=`cd $(srcdir); ${PWD}`; export s; \ |
23410 | $(SET_LIB_PATH) \ | |
23411 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
23412 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
252b5132 | 23413 | |
16ae0395 NN |
23414 | .PHONY: check-target-qthreads maybe-check-target-qthreads |
23415 | maybe-check-target-qthreads: | |
23416 | ||
e393202e | 23417 | check-target-qthreads: |
930314a4 | 23418 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
23419 | s=`cd $(srcdir); ${PWD}`; export s; \ |
23420 | $(SET_LIB_PATH) \ | |
23421 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
23422 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check) | |
e393202e | 23423 | |
930314a4 NN |
23424 | |
23425 | .PHONY: install-target-qthreads maybe-install-target-qthreads | |
23426 | maybe-install-target-qthreads: | |
16ae0395 | 23427 | |
e393202e | 23428 | install-target-qthreads: installdirs |
930314a4 | 23429 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
23430 | s=`cd $(srcdir); ${PWD}`; export s; \ |
23431 | $(SET_LIB_PATH) \ | |
23432 | (cd $(TARGET_SUBDIR)/qthreads && \ | |
23433 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
252b5132 | 23434 | |
e393202e | 23435 | |
930314a4 NN |
23436 | .PHONY: configure-target-rda maybe-configure-target-rda |
23437 | maybe-configure-target-rda: | |
15723a45 | 23438 | |
1086bc09 NN |
23439 | # There's only one multilib.out. Cleverer subdirs shouldn't need it copied. |
23440 | $(TARGET_SUBDIR)/rda/multilib.out: multilib.out | |
e6bfb94a | 23441 | @[ -d $(TARGET_SUBDIR)/rda ] || \ |
bba45b8b | 23442 | mkdir $(TARGET_SUBDIR)/rda; \ |
e6bfb94a | 23443 | rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \ |
1086bc09 | 23444 | cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out |
15723a45 | 23445 | |
e6bfb94a AO |
23446 | configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out |
23447 | @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \ | |
bba45b8b NN |
23448 | [ -d $(TARGET_SUBDIR)/rda ] || \ |
23449 | mkdir $(TARGET_SUBDIR)/rda;\ | |
23450 | r=`${PWD}`; export r; \ | |
23451 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
23452 | $(SET_LIB_PATH) \ | |
23453 | AR="$(AR_FOR_TARGET)"; export AR; \ | |
23454 | AS="$(AS_FOR_TARGET)"; export AS; \ | |
23455 | CC="$(CC_FOR_TARGET)"; export CC; \ | |
23456 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | |
23457 | CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | |
23458 | CXX="$(CXX_FOR_TARGET)"; export CXX; \ | |
23459 | CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ | |
23460 | GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \ | |
23461 | DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ | |
23462 | LD="$(LD_FOR_TARGET)"; export LD; \ | |
23463 | LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ | |
23464 | NM="$(NM_FOR_TARGET)"; export NM; \ | |
23465 | RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ | |
23466 | WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ | |
23467 | echo Configuring in $(TARGET_SUBDIR)/rda; \ | |
23468 | cd "$(TARGET_SUBDIR)/rda" || exit 1; \ | |
23469 | case $(srcdir) in \ | |
23470 | /* | [A-Za-z]:[\\/]*) \ | |
23471 | topdir=$(srcdir) ;; \ | |
23472 | *) \ | |
23473 | case "$(TARGET_SUBDIR)" in \ | |
252b5132 RH |
23474 | .) topdir="../$(srcdir)" ;; \ |
23475 | *) topdir="../../$(srcdir)" ;; \ | |
bba45b8b NN |
23476 | esac ;; \ |
23477 | esac; \ | |
23478 | if [ "$(srcdir)" = "." ] ; then \ | |
23479 | if [ "$(TARGET_SUBDIR)" != "." ] ; then \ | |
23480 | if $(SHELL) $$s/symlink-tree $${topdir}/rda "no-such-file" ; then \ | |
23481 | if [ -f Makefile ]; then \ | |
23482 | if $(MAKE) distclean; then \ | |
23483 | true; \ | |
23484 | else \ | |
23485 | exit 1; \ | |
23486 | fi; \ | |
252b5132 | 23487 | else \ |
bba45b8b | 23488 | true; \ |
252b5132 | 23489 | fi; \ |
252b5132 | 23490 | else \ |
bba45b8b | 23491 | exit 1; \ |
252b5132 | 23492 | fi; \ |
bba45b8b NN |
23493 | else \ |
23494 | true; \ | |
23495 | fi; \ | |
23496 | srcdiroption="--srcdir=."; \ | |
23497 | libsrcdir="."; \ | |
23498 | else \ | |
23499 | srcdiroption="--srcdir=$${topdir}/rda"; \ | |
23500 | libsrcdir="$$s/rda"; \ | |
23501 | fi; \ | |
23502 | rm -f no-such-file || : ; \ | |
23503 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | |
23504 | $(TARGET_CONFIGARGS) $${srcdiroption} \ | |
23505 | --with-target-subdir="$(TARGET_SUBDIR)" \ | |
23506 | || exit 1 | |
252b5132 | 23507 | |
930314a4 NN |
23508 | .PHONY: all-target-rda maybe-all-target-rda |
23509 | maybe-all-target-rda: | |
15723a45 | 23510 | all-target-rda: configure-target-rda |
930314a4 | 23511 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
23512 | s=`cd $(srcdir); ${PWD}`; export s; \ |
23513 | $(SET_LIB_PATH) \ | |
23514 | (cd $(TARGET_SUBDIR)/rda && \ | |
23515 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) | |
252b5132 | 23516 | |
16ae0395 NN |
23517 | .PHONY: check-target-rda maybe-check-target-rda |
23518 | maybe-check-target-rda: | |
23519 | ||
e393202e | 23520 | check-target-rda: |
930314a4 | 23521 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
23522 | s=`cd $(srcdir); ${PWD}`; export s; \ |
23523 | $(SET_LIB_PATH) \ | |
23524 | (cd $(TARGET_SUBDIR)/rda && \ | |
23525 | $(MAKE) $(TARGET_FLAGS_TO_PASS) check) | |
252b5132 | 23526 | |
930314a4 NN |
23527 | |
23528 | .PHONY: install-target-rda maybe-install-target-rda | |
23529 | maybe-install-target-rda: | |
16ae0395 | 23530 | |
e393202e | 23531 | install-target-rda: installdirs |
930314a4 | 23532 | @r=`${PWD}`; export r; \ |
bba45b8b NN |
23533 | s=`cd $(srcdir); ${PWD}`; export s; \ |
23534 | $(SET_LIB_PATH) \ | |
23535 | (cd $(TARGET_SUBDIR)/rda && \ | |
23536 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) | |
252b5132 | 23537 | |
e393202e NN |
23538 | |
23539 | ||
15723a45 NN |
23540 | # ---------- |
23541 | # GCC module | |
23542 | # ---------- | |
23543 | ||
23544 | # Unfortunately, while gcc _should_ be a host module, | |
23545 | # libgcc is a target module, and gen* programs are | |
23546 | # build modules. So GCC is a sort of hybrid. | |
23547 | ||
252b5132 | 23548 | # gcc is the only module which uses GCC_FLAGS_TO_PASS. |
e2b9e2dc NN |
23549 | .PHONY: configure-gcc maybe-configure-gcc |
23550 | maybe-configure-gcc: | |
e6bfb94a AO |
23551 | configure-gcc: |
23552 | @test ! -f gcc/Makefile || exit 0; \ | |
23553 | [ -d gcc ] || mkdir gcc; \ | |
e2b9e2dc NN |
23554 | r=`${PWD}`; export r; \ |
23555 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
23556 | CC="$(CC)"; export CC; \ | |
23557 | CFLAGS="$(CFLAGS)"; export CFLAGS; \ | |
23558 | CXX="$(CXX)"; export CXX; \ | |
23559 | CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ | |
586c0873 | 23560 | TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \ |
ec7e0995 NN |
23561 | AR="$(AR)"; export AR; \ |
23562 | AS="$(AS)"; export AS; \ | |
23563 | CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ | |
23564 | DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ | |
23565 | LD="$(LD)"; export LD; \ | |
23566 | NM="$(NM)"; export NM; \ | |
23567 | RANLIB="$(RANLIB)"; export RANLIB; \ | |
23568 | WINDRES="$(WINDRES)"; export WINDRES; \ | |
23569 | OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ | |
23570 | OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ | |
e2b9e2dc NN |
23571 | echo Configuring in gcc; \ |
23572 | cd gcc || exit 1; \ | |
23573 | case $(srcdir) in \ | |
23574 | \.) \ | |
23575 | srcdiroption="--srcdir=."; \ | |
23576 | libsrcdir=".";; \ | |
23577 | /* | [A-Za-z]:[\\/]*) \ | |
23578 | srcdiroption="--srcdir=$(srcdir)/gcc"; \ | |
23579 | libsrcdir="$$s/gcc";; \ | |
23580 | *) \ | |
23581 | srcdiroption="--srcdir=../$(srcdir)/gcc"; \ | |
23582 | libsrcdir="$$s/gcc";; \ | |
23583 | esac; \ | |
23584 | $(SHELL) $${libsrcdir}/configure \ | |
23585 | $(HOST_CONFIGARGS) $${srcdiroption} \ | |
23586 | || exit 1 | |
23587 | ||
b72e6a2d JM |
23588 | # Don't 'make all' in gcc if it's already been made by 'bootstrap'; that |
23589 | # causes trouble. This wart will be fixed eventually by moving | |
db1ac78d | 23590 | # the bootstrap behavior to this file. |
930314a4 NN |
23591 | .PHONY: all-gcc maybe-all-gcc |
23592 | maybe-all-gcc: | |
db1ac78d | 23593 | all-gcc: configure-gcc |
b72e6a2d JM |
23594 | @if [ -f gcc/stage_last ] ; then \ |
23595 | r=`${PWD}`; export r; \ | |
23596 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
23597 | $(SET_LIB_PATH) \ | |
1086bc09 | 23598 | (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) quickstrap); \ |
db1ac78d | 23599 | else \ |
d5de0a84 NC |
23600 | r=`${PWD}`; export r; \ |
23601 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
252b5132 | 23602 | $(SET_LIB_PATH) \ |
1086bc09 | 23603 | (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) all); \ |
252b5132 RH |
23604 | fi |
23605 | ||
23606 | # Building GCC uses some tools for rebuilding "source" files | |
23607 | # like texinfo, bison/byacc, etc. So we must depend on those. | |
23608 | # | |
23609 | # While building GCC, it may be necessary to run various target | |
23610 | # programs like the assembler, linker, etc. So we depend on | |
23611 | # those too. | |
23612 | # | |
23613 | # In theory, on an SMP all those dependencies can be resolved | |
23614 | # in parallel. | |
23615 | # | |
5b474aa8 DD |
23616 | GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap |
23617 | .PHONY: $(GCC_STRAP_TARGETS) | |
23618 | $(GCC_STRAP_TARGETS): all-bootstrap configure-gcc | |
d5de0a84 NC |
23619 | @r=`${PWD}`; export r; \ |
23620 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
252b5132 RH |
23621 | $(SET_LIB_PATH) \ |
23622 | echo "Bootstrapping the compiler"; \ | |
5cec67bf | 23623 | cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@ |
d5de0a84 NC |
23624 | @r=`${PWD}`; export r; \ |
23625 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
252b5132 RH |
23626 | case "$@" in \ |
23627 | *bootstrap4-lean ) \ | |
bba45b8b NN |
23628 | msg="Comparing stage3 and stage4 of the compiler"; \ |
23629 | compare=compare3-lean ;; \ | |
23630 | *bootstrap4 ) \ | |
23631 | msg="Comparing stage3 and stage4 of the compiler"; \ | |
23632 | compare=compare3 ;; \ | |
23633 | *-lean ) \ | |
23634 | msg="Comparing stage2 and stage3 of the compiler"; \ | |
23635 | compare=compare-lean ;; \ | |
23636 | * ) \ | |
23637 | msg="Comparing stage2 and stage3 of the compiler"; \ | |
23638 | compare=compare ;; \ | |
252b5132 RH |
23639 | esac; \ |
23640 | $(SET_LIB_PATH) \ | |
23641 | echo "$$msg"; \ | |
5cec67bf | 23642 | cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare |
d5de0a84 NC |
23643 | @r=`${PWD}`; export r; \ |
23644 | s=`cd $(srcdir); ${PWD}` ; export s; \ | |
252b5132 RH |
23645 | $(SET_LIB_PATH) \ |
23646 | echo "Building runtime libraries"; \ | |
dec0cb0c | 23647 | $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all |
252b5132 | 23648 | |
ec7e0995 NN |
23649 | profiledbootstrap: all-bootstrap configure-gcc |
23650 | @r=`${PWD}`; export r; \ | |
23651 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
23652 | $(SET_LIB_PATH) \ | |
23653 | echo "Bootstrapping the compiler"; \ | |
23654 | cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build | |
23655 | @r=`${PWD}`; export r; \ | |
23656 | s=`cd $(srcdir); ${PWD}` ; export s; \ | |
23657 | $(SET_LIB_PATH) \ | |
23658 | echo "Building runtime libraries and training compiler"; \ | |
23659 | $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all | |
23660 | @r=`${PWD}`; export r; \ | |
23661 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
23662 | $(SET_LIB_PATH) \ | |
23663 | echo "Building feedback based compiler"; \ | |
23664 | cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build | |
23665 | ||
252b5132 RH |
23666 | .PHONY: cross |
23667 | cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld | |
d5de0a84 NC |
23668 | @r=`${PWD}`; export r; \ |
23669 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
252b5132 RH |
23670 | $(SET_LIB_PATH) \ |
23671 | echo "Building the C and C++ compiler"; \ | |
5cec67bf | 23672 | cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++" |
d5de0a84 NC |
23673 | @r=`${PWD}`; export r; \ |
23674 | s=`cd $(srcdir); ${PWD}` ; export s; \ | |
252b5132 RH |
23675 | $(SET_LIB_PATH) \ |
23676 | echo "Building runtime libraries"; \ | |
dec0cb0c AO |
23677 | $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) \ |
23678 | LANGUAGES="c c++" all | |
252b5132 | 23679 | |
8945c6bb | 23680 | .PHONY: check-gcc maybe-check-gcc |
44482353 | 23681 | maybe-check-gcc: |
252b5132 RH |
23682 | check-gcc: |
23683 | @if [ -f ./gcc/Makefile ] ; then \ | |
d5de0a84 NC |
23684 | r=`${PWD}`; export r; \ |
23685 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
252b5132 | 23686 | $(SET_LIB_PATH) \ |
1086bc09 | 23687 | (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check); \ |
252b5132 RH |
23688 | else \ |
23689 | true; \ | |
23690 | fi | |
23691 | ||
7d695d07 JM |
23692 | .PHONY: check-gcc-c++ |
23693 | check-gcc-c++: | |
75205f78 | 23694 | @if [ -f ./gcc/Makefile ] ; then \ |
d5de0a84 NC |
23695 | r=`${PWD}`; export r; \ |
23696 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
75205f78 | 23697 | $(SET_LIB_PATH) \ |
1086bc09 | 23698 | (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \ |
75205f78 DD |
23699 | else \ |
23700 | true; \ | |
7d695d07 JM |
23701 | fi |
23702 | ||
23703 | .PHONY: check-c++ | |
e9e45685 JM |
23704 | check-c++: |
23705 | $(MAKE) check-target-libstdc++-v3 check-gcc-c++ NOTPARALLEL=parallel-ok | |
75205f78 | 23706 | |
930314a4 NN |
23707 | .PHONY: install-gcc maybe-install-gcc |
23708 | maybe-install-gcc: | |
252b5132 RH |
23709 | install-gcc: |
23710 | @if [ -f ./gcc/Makefile ] ; then \ | |
d5de0a84 NC |
23711 | r=`${PWD}`; export r; \ |
23712 | s=`cd $(srcdir); ${PWD}`; export s; \ | |
252b5132 | 23713 | $(SET_LIB_PATH) \ |
1086bc09 | 23714 | (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) install); \ |
252b5132 RH |
23715 | else \ |
23716 | true; \ | |
23717 | fi | |
23718 | ||
15723a45 NN |
23719 | # Install the gcc headers files, but not the fixed include files, |
23720 | # which Cygnus is not allowed to distribute. This rule is very | |
23721 | # dependent on the workings of the gcc Makefile.in. | |
23722 | .PHONY: gcc-no-fixedincludes | |
23723 | gcc-no-fixedincludes: | |
23724 | @if [ -f ./gcc/Makefile ]; then \ | |
23725 | rm -rf gcc/tmp-include; \ | |
23726 | mv gcc/include gcc/tmp-include 2>/dev/null; \ | |
23727 | mkdir gcc/include; \ | |
23728 | cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \ | |
23729 | touch gcc/stmp-fixinc gcc/include/fixed; \ | |
23730 | rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \ | |
23731 | r=`${PWD}`; export r; \ | |
23732 | s=`cd $(srcdir); ${PWD}` ; export s; \ | |
23733 | $(SET_LIB_PATH) \ | |
1086bc09 | 23734 | (cd ./gcc && \ |
15723a45 NN |
23735 | $(MAKE) $(GCC_FLAGS_TO_PASS) install); \ |
23736 | rm -rf gcc/include; \ | |
23737 | mv gcc/tmp-include gcc/include 2>/dev/null; \ | |
23738 | else true; fi | |
23739 | ||
ae831be5 NN |
23740 | # -------------------------------------- |
23741 | # Dependencies between different modules | |
23742 | # -------------------------------------- | |
252b5132 | 23743 | |
ae831be5 NN |
23744 | # There are two types of dependencies here: 'hard' dependencies, where one |
23745 | # module simply won't build without the other; and 'soft' dependencies, where | |
23746 | # if the depended-on module is missing, the depending module will do without | |
23747 | # or find a substitute somewhere (perhaps installed). Soft dependencies | |
23748 | # are specified by depending on a 'maybe-' target. If you're not sure, | |
23749 | # it's safer to use a soft dependency. | |
23750 | ||
23751 | # Host modules specific to gcc. | |
e2b9e2dc | 23752 | # GCC needs to identify certain tools. |
b4a77b47 | 23753 | configure-gcc: maybe-configure-binutils maybe-configure-gas maybe-configure-ld maybe-configure-bison maybe-configure-flex |
ae831be5 NN |
23754 | all-gcc: maybe-all-libiberty maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib |
23755 | # This is a slightly kludgy method of getting dependencies on | |
23756 | # all-build-libiberty correct; it would be better to build it every time. | |
23757 | all-gcc: maybe-all-build-libiberty | |
23758 | all-bootstrap: maybe-all-libiberty maybe-all-texinfo maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib | |
23759 | ||
23760 | # Host modules specific to gdb. | |
e2b9e2dc | 23761 | # GDB needs to know that the simulator is being built. |
b4a77b47 | 23762 | configure-gdb: maybe-configure-tcl maybe-configure-tk maybe-configure-sim |
ae831be5 NN |
23763 | GDB_TK = @GDB_TK@ |
23764 | 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) | |
23765 | install-gdb: maybe-install-tcl maybe-install-tk maybe-install-itcl maybe-install-tix maybe-install-libgui | |
59da4fe6 | 23766 | configure-libgui: maybe-configure-tcl maybe-configure-tk |
ae831be5 NN |
23767 | all-libgui: maybe-all-tcl maybe-all-tk maybe-all-itcl |
23768 | ||
23769 | # Host modules specific to binutils. | |
b4a77b47 | 23770 | configure-bfd: configure-libiberty |
930314a4 NN |
23771 | all-bfd: maybe-all-libiberty maybe-all-intl |
23772 | 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 |
23773 | # We put install-opcodes before install-binutils because the installed |
23774 | # binutils might be on PATH, and they might need the shared opcodes | |
23775 | # library. | |
23776 | install-binutils: maybe-install-opcodes | |
cf662e21 AJ |
23777 | # libopcodes depends on libbfd |
23778 | install-opcodes: maybe-install-bfd | |
ae831be5 NN |
23779 | all-gas: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-intl |
23780 | all-gprof: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-intl | |
23781 | all-ld: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-intl | |
23782 | all-opcodes: maybe-all-bfd maybe-all-libiberty | |
23783 | ||
23784 | # Other host modules in the 'src' repository. | |
930314a4 | 23785 | all-dejagnu: maybe-all-tcl maybe-all-expect maybe-all-tk |
b4a77b47 | 23786 | configure-expect: maybe-configure-tcl maybe-configure-tk |
930314a4 | 23787 | all-expect: maybe-all-tcl maybe-all-tk |
b4a77b47 | 23788 | configure-itcl: maybe-configure-tcl maybe-configure-tk |
ae831be5 NN |
23789 | all-itcl: maybe-all-tcl maybe-all-tk |
23790 | # We put install-tcl before install-itcl because itcl wants to run a | |
23791 | # program on installation which uses the Tcl libraries. | |
23792 | install-itcl: maybe-install-tcl | |
122bfa92 | 23793 | all-sid: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-tcl maybe-all-tk |
ae831be5 | 23794 | install-sid: maybe-install-tcl maybe-install-tk |
a36d530e | 23795 | all-sim: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline maybe-configure-gdb |
b4a77b47 | 23796 | configure-tk: maybe-configure-tcl |
ae831be5 | 23797 | all-tk: maybe-all-tcl |
b4a77b47 | 23798 | configure-tix: maybe-configure-tcl maybe-configure-tk |
ae831be5 NN |
23799 | all-tix: maybe-all-tcl maybe-all-tk |
23800 | all-texinfo: maybe-all-libiberty | |
23801 | ||
23802 | # Other host modules. Warning, these are not well tested. | |
23803 | all-autoconf: maybe-all-m4 maybe-all-texinfo | |
23804 | all-automake: maybe-all-m4 maybe-all-texinfo | |
23805 | all-bison: maybe-all-texinfo | |
23806 | all-diff: maybe-all-libiberty | |
23807 | all-fastjar: maybe-all-zlib maybe-all-libiberty | |
930314a4 NN |
23808 | all-fileutils: maybe-all-libiberty |
23809 | all-flex: maybe-all-libiberty maybe-all-bison maybe-all-byacc | |
930314a4 NN |
23810 | all-gzip: maybe-all-libiberty |
23811 | all-hello: maybe-all-libiberty | |
930314a4 NN |
23812 | all-m4: maybe-all-libiberty maybe-all-texinfo |
23813 | all-make: maybe-all-libiberty | |
930314a4 NN |
23814 | all-patch: maybe-all-libiberty |
23815 | all-prms: maybe-all-libiberty | |
930314a4 NN |
23816 | all-recode: maybe-all-libiberty |
23817 | all-sed: maybe-all-libiberty | |
23818 | all-send-pr: maybe-all-prms | |
930314a4 | 23819 | all-tar: maybe-all-libiberty |
930314a4 | 23820 | all-uudecode: maybe-all-libiberty |
ae831be5 NN |
23821 | |
23822 | ALL_GCC = maybe-all-gcc | |
23823 | ALL_GCC_C = $(ALL_GCC) maybe-all-target-newlib maybe-all-target-libgloss | |
23824 | ALL_GCC_CXX = $(ALL_GCC_C) maybe-all-target-libstdc++-v3 | |
23825 | ||
23826 | # Target modules specific to gcc. | |
b4a77b47 DD |
23827 | configure-target-boehm-gc: $(ALL_GCC_C) maybe-configure-target-qthreads |
23828 | configure-target-fastjar: maybe-configure-target-zlib | |
930314a4 | 23829 | all-target-fastjar: maybe-all-target-zlib maybe-all-target-libiberty |
b4a77b47 | 23830 | configure-target-libf2c: $(ALL_GCC_C) |
ae831be5 | 23831 | all-target-libf2c: maybe-all-target-libiberty |
b4a77b47 DD |
23832 | configure-target-libffi: $(ALL_GCC_C) |
23833 | configure-target-libjava: $(ALL_GCC_C) maybe-configure-target-zlib maybe-configure-target-boehm-gc maybe-configure-target-qthreads maybe-configure-target-libffi | |
ae831be5 | 23834 | all-target-libjava: maybe-all-fastjar maybe-all-target-zlib maybe-all-target-boehm-gc maybe-all-target-qthreads maybe-all-target-libffi |
b4a77b47 | 23835 | configure-target-libobjc: $(ALL_GCC_C) |
ae831be5 | 23836 | all-target-libobjc: maybe-all-target-libiberty |
b4a77b47 | 23837 | configure-target-libstdc++-v3: $(ALL_GCC_C) |
ae831be5 | 23838 | all-target-libstdc++-v3: maybe-all-target-libiberty |
b4a77b47 | 23839 | configure-target-zlib: $(ALL_GCC_C) |
a9590527 | 23840 | |
ae831be5 | 23841 | # Target modules in the 'src' repository. |
b4a77b47 DD |
23842 | configure-target-examples: $(ALL_GCC_C) |
23843 | configure-target-libgloss: $(ALL_GCC) | |
ae831be5 | 23844 | all-target-libgloss: maybe-configure-target-newlib |
3a12db16 | 23845 | configure-target-libiberty: $(ALL_GCC) |
b4a77b47 DD |
23846 | configure-target-libtermcap: $(ALL_GCC_C) |
23847 | configure-target-newlib: $(ALL_GCC) | |
7dda0df6 | 23848 | configure-target-rda: $(ALL_GCC_C) |
b4a77b47 | 23849 | configure-target-winsup: $(ALL_GCC_C) |
ae831be5 | 23850 | all-target-winsup: maybe-all-target-libiberty maybe-all-target-libtermcap |
a9590527 | 23851 | |
ae831be5 | 23852 | # Other target modules. Warning, these are not well tested. |
b4a77b47 | 23853 | configure-target-gperf: $(ALL_GCC_CXX) |
ae831be5 | 23854 | all-target-gperf: maybe-all-target-libiberty maybe-all-target-libstdc++-v3 |
b4a77b47 | 23855 | configure-target-qthreads: $(ALL_GCC_C) |
907a7241 | 23856 | |
930314a4 NN |
23857 | # Dependencies of maybe-foo on foo. These are used because, for example, |
23858 | # all-gcc only depends on all-gas if gas is present and being configured. | |
23859 | @maybe_dependencies@ | |
23860 | ||
a2cc058a NN |
23861 | # Serialization dependencies. Host configures don't work well in parallel to |
23862 | # each other, due to contention over config.cache. Target configures and | |
23863 | # build configures are similar. | |
23864 | @serialization_dependencies@ | |
23865 | ||
15723a45 NN |
23866 | # -------------------------------- |
23867 | # Regenerating top level configury | |
23868 | # -------------------------------- | |
252b5132 | 23869 | |
1086bc09 NN |
23870 | # Multilib.out tells target dirs what multilibs they should build. |
23871 | # There is really only one copy. We use the 'timestamp' method to | |
23872 | # work around various timestamp bugs on some systems. | |
23873 | # We use move-if-change so that it's only considered updated when it | |
23874 | # actually changes, because it has to depend on a phony target. | |
e6bfb94a | 23875 | multilib.out: maybe-all-gcc |
1086bc09 NN |
23876 | @r=`${PWD}`; export r; \ |
23877 | echo "Checking multilib configuration..."; \ | |
23878 | $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \ | |
23879 | $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \ | |
1086bc09 | 23880 | |
14a2a2f1 | 23881 | # Rebuilding Makefile.in, using autogen. |
43be203f | 23882 | AUTOGEN = autogen |
6b784d9f | 23883 | $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def |
43be203f | 23884 | cd $(srcdir) && $(AUTOGEN) Makefile.def |
14a2a2f1 | 23885 | |
a0da8069 | 23886 | # Rebuilding Makefile. |
43be203f AO |
23887 | Makefile: $(srcdir)/Makefile.in config.status |
23888 | CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status | |
23889 | ||
23890 | config.status: configure $(gcc_version_trigger) | |
a0da8069 | 23891 | $(SHELL) ./config.status --recheck |
252b5132 | 23892 | |
a0da8069 | 23893 | # Rebuilding configure. |
43be203f | 23894 | AUTOCONF = autoconf |
6b784d9f | 23895 | $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4 |
43be203f | 23896 | cd $(srcdir) && $(AUTOCONF) |
252b5132 | 23897 | |
3728fade NN |
23898 | # ------------------------------ |
23899 | # Special directives to GNU Make | |
23900 | # ------------------------------ | |
23901 | ||
43be203f AO |
23902 | # Tell GNU make 3.79 not to run the top level in parallel. This |
23903 | # prevents contention for $builddir/$target/config.cache, as well | |
23904 | # as minimizing scatter in file system caches. | |
23905 | NOTPARALLEL = .NOTPARALLEL | |
23906 | $(NOTPARALLEL): | |
23907 | ||
3728fade NN |
23908 | # Don't pass command-line variables to submakes. |
23909 | .NOEXPORT: | |
23910 | MAKEOVERRIDES= | |
23911 | ||
252b5132 | 23912 | # end of Makefile.in |