2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002 Free Software Foundation
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.
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.
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.
23 # Tell GNU make 3.79 not to run the top level in parallel. This
24 # prevents contention for $builddir/$target/config.cache, as well
25 # as minimizing scatter in file system caches.
26 NOTPARALLEL
= .NOTPARALLEL
32 build_alias
=@build_alias@
34 build_vendor
=@build_vendor@
36 build_canonical
=@build_cpu@
-@build_vendor@
-@build_os@
37 host_alias
=@host_alias@
39 host_vendor
=@host_vendor@
41 host_canonical
=@host_cpu@
-@host_vendor@
-@host_os@
42 target_alias
=@target_alias@
43 target_cpu
=@target_cpu@
44 target_vendor
=@target_vendor@
46 target_canonical
=@target_cpu@
-@target_vendor@
-@target_os@
48 enable_shared
= @enable_shared@
49 enable_threads
= @enable_threads@
50 enable_version_specific_runtime_libs
= @enable_version_specific_runtime_libs@
51 # The file containing GCC's version number.
52 gcc_version_trigger
= @gcc_version_trigger@
53 gcc_version
= @gcc_version@
58 exec_prefix = @
exec_prefix@
62 libexecdir
= @libexecdir@
64 sysconfdir
= @sysconfdir@
65 sharedstatedir
= @sharedstatedir@
66 localstatedir
= @localstatedir@
68 includedir = @
includedir@
69 oldincludedir = @
oldincludedir@
72 gxx_include_dir
=@gxx_include_dir@
75 build_tooldir
= @build_tooldir@
77 program_transform_name
= @program_transform_name@
79 man1dir = $(mandir)/man1
80 man2dir = $(mandir)/man2
81 man3dir = $(mandir)/man3
82 man4dir = $(mandir)/man4
83 man5dir = $(mandir)/man5
84 man6dir = $(mandir)/man6
85 man7dir = $(mandir)/man7
86 man8dir = $(mandir)/man8
87 man9dir = $(mandir)/man9
88 # Directory in which the compiler finds executables, libraries, etc.
89 libsubdir
= $(libdir)/gcc-lib
/$(target_alias
)/$(gcc_version
)
92 SHELL
= @config_shell@
94 # pwd command to use. Allow user to override default by setting PWDCMD in
95 # the environment to account for automounters. The make variable must not
96 # be called PWDCMD, otherwise the value set here is passed to make
97 # subprocesses and overrides the setting from the user's environment.
100 # INSTALL_PROGRAM_ARGS is changed by configure.in to use -x for a
102 INSTALL_PROGRAM_ARGS
=
104 INSTALL
= $(SHELL
) $$s/install-sh
-c
105 INSTALL_PROGRAM
= $(INSTALL
) $(INSTALL_PROGRAM_ARGS
)
106 INSTALL_SCRIPT
= $(INSTALL
)
107 INSTALL_DATA
= $(INSTALL
) -m
644
114 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
115 # here so that they can be overridden by Makefile fragments.
116 BUILD_CC
= $(CC_FOR_BUILD
)
117 BUILD_PREFIX
= @BUILD_PREFIX@
118 BUILD_PREFIX_1
= @BUILD_PREFIX_1@
120 # These flag values are normally overridden by the configure script.
125 LIBCFLAGS
= $(CFLAGS
)
126 CFLAGS_FOR_BUILD
= $(CFLAGS
)
127 # During gcc bootstrap, if we use some random cc for stage1 then
128 # CFLAGS will be just -g. We want to ensure that TARGET libraries
129 # (which we know are built with gcc) are built with optimizations so
130 # prepend -O2 when setting CFLAGS_FOR_TARGET.
131 CFLAGS_FOR_TARGET
= -O2
$(CFLAGS
)
133 LIBCFLAGS_FOR_TARGET
= $(CFLAGS_FOR_TARGET
)
139 # Use -O2 to stress test the compiler.
140 LIBCXXFLAGS
= $(CXXFLAGS
) -fno-implicit-templates
141 CXXFLAGS_FOR_TARGET
= $(CXXFLAGS
)
142 LIBCXXFLAGS_FOR_TARGET
= $(CXXFLAGS_FOR_TARGET
) -fno-implicit-templates
151 # These values are substituted by configure.
152 DEFAULT_YACC
= @DEFAULT_YACC@
153 DEFAULT_LEX
= @DEFAULT_LEX@
154 DEFAULT_M4
= @DEFAULT_M4@
157 USUAL_BISON
= `if [ -f $$r/bison/bison ] ; then \
158 echo $$r/bison/bison -L $$s/bison/ ; \
164 USUAL_YACC
= `if [ -f $$r/bison/bison ] ; then \
165 echo $$r/bison/bison -y -L $$s/bison/ ; \
166 elif [ -f $$r/byacc/byacc ] ; then \
167 echo $$r/byacc/byacc ; \
169 echo ${DEFAULT_YACC} ; \
173 USUAL_LEX
= `if [ -f $$r/flex/flex ] ; \
174 then echo $$r/flex/flex ; \
175 else echo ${DEFAULT_LEX} ; fi`
177 M4
= `if [ -f $$r/m4/m4 ] ; \
178 then echo $$r/m4/m4 ; \
179 else echo ${DEFAULT_M4} ; fi`
181 # For an installed makeinfo, we require it to be from texinfo 4 or
182 # higher, else we use the "missing" dummy.
184 USUAL_MAKEINFO
= `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
185 then echo $$r/texinfo/makeinfo/makeinfo ; \
186 else if (makeinfo --version \
187 | egrep 'texinfo[^0-9]*([1-3][0-9]|[4-9])') >/dev/null 2>&1; \
188 then echo makeinfo; else echo $$s/missing makeinfo; fi; fi`
190 # This just becomes part of the MAKEINFO definition passed down to
191 # sub-makes. It lets flags be given on the command line while still
192 # using the makeinfo from the object tree.
195 EXPECT
= `if [ -f $$r/expect/expect ] ; \
196 then echo $$r/expect/expect ; \
197 else echo expect ; fi`
199 RUNTEST
= `if [ -f $$s/dejagnu/runtest ] ; \
200 then echo $$s/dejagnu/runtest ; \
201 else echo runtest ; fi`
204 # compilers to use to create programs which must be run in the build
206 CC_FOR_BUILD
= @CC_FOR_BUILD@
207 CXX_FOR_BUILD
= $(CXX
)
209 SUBDIRS
= @configdirs@
211 # This is set by the configure script to the list of directories which
212 # should be built using the target tools.
213 TARGET_CONFIGDIRS
= @target_configdirs@
215 # Target libraries are put under this directory:
216 # Changed by configure to $(target_alias) if cross.
217 TARGET_SUBDIR
= @target_subdir@
219 BUILD_CONFIGDIRS
= libiberty
220 BUILD_SUBDIR
= @build_subdir@
222 # This is set by the configure script to the arguments to use when configuring
223 # directories built for the target.
224 TARGET_CONFIGARGS
= @target_configargs@
226 # This is set by the configure script to the arguments to use when configuring
227 # directories built for the build system.
228 BUILD_CONFIGARGS
= @build_configargs@
230 # This is set by configure to REALLY_SET_LIB_PATH if --enable-shared
232 SET_LIB_PATH
= @SET_LIB_PATH@
234 # This is the name of the environment variable used for the path to
235 # the libraries. This may be changed by configure.in.
236 RPATH_ENVVAR
= @RPATH_ENVVAR@
238 # This is the list of directories that may be needed in RPATH_ENVVAR
239 # so that programs built for the host machine work.
240 HOST_LIB_PATH
= $$r/bfd
:$$r/opcodes
242 # This is the list of directories that may be needed in RPATH_ENVVAR
243 # so that prorgams built for the target machine work.
244 TARGET_LIB_PATH
= $$r/$(TARGET_SUBDIR
)/libstdc
++-v3
/src
/.libs
:
246 # configure.in sets SET_LIB_PATH to this if --enable-shared was used.
247 # Some platforms don't like blank entries, so we remove duplicate,
248 # leading and trailing colons.
249 REALLY_SET_LIB_PATH
= \
250 $(RPATH_ENVVAR
)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR
);
252 # Should be substed by configure.in
253 FLAGS_FOR_TARGET
= @FLAGS_FOR_TARGET@
254 CC_FOR_TARGET
= @CC_FOR_TARGET@
255 CXX_FOR_TARGET
= @CXX_FOR_TARGET@
256 RAW_CXX_FOR_TARGET
= @RAW_CXX_FOR_TARGET@
257 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE
= @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
258 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE
= @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
259 GCJ_FOR_TARGET
= @GCJ_FOR_TARGET@
261 # If GCC_FOR_TARGET is not overriden on the command line, then this
262 # variable is passed down to the gcc Makefile, where it is used to
263 # build libgcc2.a. We define it here so that it can itself be
264 # overridden on the command line.
265 GCC_FOR_TARGET
=@GCC_FOR_TARGET@
266 USUAL_GCC_FOR_TARGET
= $(STAGE_CC_WRAPPER
) $$r/gcc
/xgcc
-B
$$r/gcc
/ $(FLAGS_FOR_TARGET
)
268 AS_FOR_TARGET
=@AS_FOR_TARGET@
269 USUAL_AS_FOR_TARGET
= ` \
270 if [ -f $$r/gas/as-new ] ; then \
271 echo $$r/gas/as-new ; \
272 elif [ -f $$r/gcc/xgcc ]; then \
273 $(CC_FOR_TARGET) -print-prog-name=as ; \
275 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
278 t='$(program_transform_name)'; echo as | sed -e 's/x/x/' $$t ; \
282 LD_FOR_TARGET
=@LD_FOR_TARGET@
283 USUAL_LD_FOR_TARGET
= ` \
284 if [ -f $$r/ld/ld-new ] ; then \
285 echo $$r/ld/ld-new ; \
286 elif [ -f $$r/gcc/xgcc ]; then \
287 $(CC_FOR_TARGET) -print-prog-name=ld ; \
289 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
292 t='$(program_transform_name)'; echo ld | sed -e 's/x/x/' $$t ; \
296 DLLTOOL_FOR_TARGET
=@DLLTOOL_FOR_TARGET@
297 USUAL_DLLTOOL_FOR_TARGET
= ` \
298 if [ -f $$r/binutils/dlltool ] ; then \
299 echo $$r/binutils/dlltool ; \
301 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
304 t='$(program_transform_name)'; echo dlltool | sed -e 's/x/x/' $$t ; \
308 WINDRES_FOR_TARGET
=@WINDRES_FOR_TARGET@
309 USUAL_WINDRES_FOR_TARGET
= ` \
310 if [ -f $$r/binutils/windres ] ; then \
311 echo $$r/binutils/windres ; \
313 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
316 t='$(program_transform_name)'; echo windres | sed -e 's/x/x/' $$t ; \
320 AR_FOR_TARGET
=@AR_FOR_TARGET@
321 USUAL_AR_FOR_TARGET
= ` \
322 if [ -f $$r/binutils/ar ] ; then \
323 echo $$r/binutils/ar ; \
325 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
328 t='$(program_transform_name)'; echo ar | sed -e 's/x/x/' $$t ; \
332 RANLIB_FOR_TARGET
=@RANLIB_FOR_TARGET@
333 USUAL_RANLIB_FOR_TARGET
= ` \
334 if [ -f $$r/binutils/ranlib ] ; then \
335 echo $$r/binutils/ranlib ; \
337 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
338 if [ x'$(RANLIB)' != x ]; then \
344 t='$(program_transform_name)'; echo ranlib | sed -e 's/x/x/' $$t ; \
348 NM_FOR_TARGET
=@NM_FOR_TARGET@
349 USUAL_NM_FOR_TARGET
= ` \
350 if [ -f $$r/binutils/nm-new ] ; then \
351 echo $$r/binutils/nm-new ; \
352 elif [ -f $$r/gcc/xgcc ]; then \
353 $(CC_FOR_TARGET) -print-prog-name=nm ; \
355 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
358 t='$(program_transform_name)'; echo nm | sed -e 's/x/x/' $$t ; \
362 # The first rule in the file had better be this one. Don't put any above it.
363 # This lives here to allow makefile fragments to contain dependencies.
367 #### host and target specific makefile fragments come in here.
370 # Flags to pass down to all sub-makes.
371 # Please keep these in alphabetical order.
372 BASE_FLAGS_TO_PASS
= \
373 "AR_FLAGS=$(AR_FLAGS)" \
374 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
375 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
377 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
378 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
380 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
381 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
382 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
383 "CXXFLAGS=$(CXXFLAGS)" \
384 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
385 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
386 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
387 "INSTALL=$(INSTALL)" \
388 "INSTALL_DATA=$(INSTALL_DATA)" \
389 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
390 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
391 "LDFLAGS=$(LDFLAGS)" \
393 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
394 "LIBCFLAGS=$(LIBCFLAGS)" \
395 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
396 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
397 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
400 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
401 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
402 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
403 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
406 "RUNTEST=$(RUNTEST)" \
407 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
408 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
409 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
412 "datadir=$(datadir)" \
413 "exec_prefix=$(exec_prefix)" \
414 "includedir=$(includedir)" \
415 "infodir=$(infodir)" \
417 "libexecdir=$(libexecdir)" \
418 "lispdir=$(lispdir)" \
419 "libstdcxx_incdir=$(libstdcxx_incdir)" \
420 "libsubdir=$(libsubdir)" \
421 "localstatedir=$(localstatedir)" \
423 "oldincludedir=$(oldincludedir)" \
425 "sbindir=$(sbindir)" \
426 "sharedstatedir=$(sharedstatedir)" \
427 "sysconfdir=$(sysconfdir)" \
428 "tooldir=$(tooldir)" \
429 "build_tooldir=$(build_tooldir)" \
430 "gxx_include_dir=$(gxx_include_dir)" \
431 "gcc_version=$(gcc_version)" \
432 "gcc_version_trigger=$(gcc_version_trigger)" \
433 "target_alias=$(target_alias)"
435 # For any flags above that may contain shell code that varies from one
436 # target library to another. When doing recursive invocations of the
437 # top-level Makefile, we don't want the outer make to evaluate them,
438 # so we pass these variables down unchanged. They must not contain
439 # single nor double quotes.
441 CXX_FOR_TARGET
='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
442 RAW_CXX_FOR_TARGET
='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
444 # Flags to pass down to most sub-makes, in which we're building with
445 # the host environment.
446 # If any variables are added here, they must be added to do-*, below.
452 'DLLTOOL=$(DLLTOOL)' \
455 "`echo 'RANLIB=$(RANLIB)' | sed -e s/.*=$$/XFOO=/`" \
458 FLAGS_TO_PASS
= $(BASE_FLAGS_TO_PASS
) $(EXTRA_HOST_FLAGS
)
460 # Flags that are concerned with the location of the X11 include files
463 # NOTE: until the top-level is getting the values via autoconf, it only
464 # causes problems to have this top-level Makefile overriding the autoconf-set
465 # values in child directories. Only variables that don't conflict with
466 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
468 X11_FLAGS_TO_PASS
= \
469 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
470 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
472 # Flags to pass down to makes which are built with the target environment.
473 # The double $ decreases the length of the command line; the variables
474 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
475 # If any variables are added here, they must be added to do-*, below.
476 EXTRA_TARGET_FLAGS
= \
477 'AR=$$(AR_FOR_TARGET)' \
478 'AS=$$(AS_FOR_TARGET)' \
479 'CC=$$(CC_FOR_TARGET)' \
480 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
481 'CXX=$$(CXX_FOR_TARGET)' \
482 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
483 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
484 'LD=$$(LD_FOR_TARGET)' \
485 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
486 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
487 'NM=$$(NM_FOR_TARGET)' \
488 'RANLIB=$$(RANLIB_FOR_TARGET)' \
489 'WINDRES=$$(WINDRES_FOR_TARGET)'
491 TARGET_FLAGS_TO_PASS
= $(BASE_FLAGS_TO_PASS
) $(EXTRA_TARGET_FLAGS
)
493 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
494 # unfortunately needs the native compiler and the target ar and
496 # If any variables are added here, they must be added to do-*, below.
497 # The HOST_* variables are a special case, which are used for the gcc
498 # cross-building scheme.
504 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
505 'BUILD_CC=$(CC_FOR_BUILD)' \
506 'BUILD_PREFIX=$(BUILD_PREFIX)' \
507 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
509 "`echo 'RANLIB=$(RANLIB)' | sed -e s/.*=$$/XFOO=/`" \
510 'WINDRES=$$(WINDRES_FOR_TARGET)' \
511 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
512 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
513 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s/.*=$$/XFOO=/`" \
514 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s/.*=$$/XFOO=/`" \
515 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s/.*=$$/XFOO=/`" \
516 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
517 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
518 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s/.*=$$/XFOO=/`" \
519 "`echo 'ENQUIRE=$(ENQUIRE)' | sed -e s/.*=$$/XFOO=/`" \
520 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
521 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s/.*=$$/XFOO=/`"
523 GCC_FLAGS_TO_PASS
= $(BASE_FLAGS_TO_PASS
) $(EXTRA_GCC_FLAGS
)
525 # This is a list of the configure targets for all of the modules which
526 # are compiled using the target tools.
527 CONFIGURE_TARGET_MODULES
= \
528 configure-target-libstdc
++-v3 \
529 configure-target-newlib \
530 configure-target-libf2c \
531 configure-target-libobjc \
532 configure-target-libtermcap \
533 configure-target-winsup \
534 configure-target-libgloss \
535 configure-target-libiberty \
536 configure-target-gperf \
537 configure-target-examples \
538 configure-target-libffi \
539 configure-target-libjava \
540 configure-target-zlib \
541 configure-target-boehm-gc \
542 configure-target-qthreads \
545 configure-target
: $(CONFIGURE_TARGET_MODULES
)
547 # This is a list of the targets for which we can do a clean-{target}.
611 # All of the target modules that can be cleaned
612 CLEAN_TARGET_MODULES
= \
613 clean-target-libstdc
++-v3 \
614 clean-target-newlib \
615 clean-target-libf2c \
616 clean-target-libobjc \
617 clean-target-winsup \
618 clean-target-libgloss \
619 clean-target-libiberty \
621 clean-target-examples \
622 clean-target-libffi \
623 clean-target-libjava \
625 clean-target-boehm-gc \
626 clean-target-qthreads \
629 # All of the x11 modules that can be cleaned
630 CLEAN_X11_MODULES
= \
638 # The target built for a native build.
639 # This list only includes modules actually being configured and built.
641 all.normal
: @all_build_modules@ \
645 all-target
: @all_target_modules@
647 # Do a target for all the subdirectories. A ``make do-X'' will do a
648 # ``make X'' in all subdirectories (because, in general, there is a
649 # dependency (below) of X upon do-X, a ``make X'' will also do this,
650 # but it may do additional work as well).
651 # This target ensures that $(BASE_FLAGS_TO_PASS) appears only once,
652 # because it is so large that it can easily overflow the command line
653 # length limit on some systems.
657 @r
=`${PWD}`; export r
; \
658 s
=`cd $(srcdir); ${PWD}`; export s
; \
660 for i in
$(SUBDIRS
) -dummy-
; do \
661 if
[ -f .
/$$i/Makefile
]; then \
664 for flag in
$(EXTRA_GCC_FLAGS
); do \
665 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
669 for flag in
$(EXTRA_HOST_FLAGS
); do \
670 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
675 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
677 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
680 then true
; else exit
1; fi
; \
683 # Break into two pieces
684 r
=`${PWD}`; export r
; \
685 s
=`cd $(srcdir); ${PWD}`; export s
; \
687 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
688 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
689 for flag in
$(EXTRA_TARGET_FLAGS
); do \
690 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
692 if
(cd
$(TARGET_SUBDIR
)/$$i; \
693 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
695 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
698 then true
; else exit
1; fi
; \
704 @r
=`${PWD}`; export r
; \
705 s
=`cd $(srcdir); ${PWD}`; export s
; \
707 for i in
$(SUBDIRS
) -dummy-
; do \
708 if
[ -f .
/$$i/Makefile
]; then \
711 for flag in
$(EXTRA_GCC_FLAGS
); do \
712 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
716 for flag in
$(EXTRA_HOST_FLAGS
); do \
717 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
722 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
724 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
727 then true
; else exit
1; fi
; \
730 # Break into two pieces
731 r
=`${PWD}`; export r
; \
732 s
=`cd $(srcdir); ${PWD}`; export s
; \
734 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
735 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
736 for flag in
$(EXTRA_TARGET_FLAGS
); do \
737 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
739 if
(cd
$(TARGET_SUBDIR
)/$$i; \
740 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
742 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
745 then true
; else exit
1; fi
; \
751 @r
=`${PWD}`; export r
; \
752 s
=`cd $(srcdir); ${PWD}`; export s
; \
754 for i in
$(SUBDIRS
) -dummy-
; do \
755 if
[ -f .
/$$i/Makefile
]; then \
758 for flag in
$(EXTRA_GCC_FLAGS
); do \
759 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
763 for flag in
$(EXTRA_HOST_FLAGS
); do \
764 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
769 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
771 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
774 then true
; else exit
1; fi
; \
777 # Break into two pieces
778 r
=`${PWD}`; export r
; \
779 s
=`cd $(srcdir); ${PWD}`; export s
; \
781 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
782 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
783 for flag in
$(EXTRA_TARGET_FLAGS
); do \
784 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
786 if
(cd
$(TARGET_SUBDIR
)/$$i; \
787 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
789 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
792 then true
; else exit
1; fi
; \
798 @r
=`${PWD}`; export r
; \
799 s
=`cd $(srcdir); ${PWD}`; export s
; \
801 for i in
$(SUBDIRS
) -dummy-
; do \
802 if
[ -f .
/$$i/Makefile
]; then \
805 for flag in
$(EXTRA_GCC_FLAGS
); do \
806 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
810 for flag in
$(EXTRA_HOST_FLAGS
); do \
811 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
816 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
818 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
821 then true
; else exit
1; fi
; \
824 # Break into two pieces
825 r
=`${PWD}`; export r
; \
826 s
=`cd $(srcdir); ${PWD}`; export s
; \
828 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
829 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
830 for flag in
$(EXTRA_TARGET_FLAGS
); do \
831 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
833 if
(cd
$(TARGET_SUBDIR
)/$$i; \
834 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
836 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
839 then true
; else exit
1; fi
; \
843 .PHONY
: do-install-info
845 @r
=`${PWD}`; export r
; \
846 s
=`cd $(srcdir); ${PWD}`; export s
; \
848 for i in
$(SUBDIRS
) -dummy-
; do \
849 if
[ -f .
/$$i/Makefile
]; then \
852 for flag in
$(EXTRA_GCC_FLAGS
); do \
853 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
857 for flag in
$(EXTRA_HOST_FLAGS
); do \
858 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
863 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
865 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
868 then true
; else exit
1; fi
; \
871 # Break into two pieces
872 r
=`${PWD}`; export r
; \
873 s
=`cd $(srcdir); ${PWD}`; export s
; \
875 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
876 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
877 for flag in
$(EXTRA_TARGET_FLAGS
); do \
878 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
880 if
(cd
$(TARGET_SUBDIR
)/$$i; \
881 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
883 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
886 then true
; else exit
1; fi
; \
890 .PHONY
: do-installcheck
892 @r
=`${PWD}`; export r
; \
893 s
=`cd $(srcdir); ${PWD}`; export s
; \
895 for i in
$(SUBDIRS
) -dummy-
; do \
896 if
[ -f .
/$$i/Makefile
]; then \
899 for flag in
$(EXTRA_GCC_FLAGS
); do \
900 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
904 for flag in
$(EXTRA_HOST_FLAGS
); do \
905 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
910 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
912 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
915 then true
; else exit
1; fi
; \
918 # Break into two pieces
919 r
=`${PWD}`; export r
; \
920 s
=`cd $(srcdir); ${PWD}`; export s
; \
922 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
923 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
924 for flag in
$(EXTRA_TARGET_FLAGS
); do \
925 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
927 if
(cd
$(TARGET_SUBDIR
)/$$i; \
928 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
930 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
933 then true
; else exit
1; fi
; \
937 .PHONY
: do-mostlyclean
939 @r
=`${PWD}`; export r
; \
940 s
=`cd $(srcdir); ${PWD}`; export s
; \
942 for i in
$(SUBDIRS
) -dummy-
; do \
943 if
[ -f .
/$$i/Makefile
]; then \
946 for flag in
$(EXTRA_GCC_FLAGS
); do \
947 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
951 for flag in
$(EXTRA_HOST_FLAGS
); do \
952 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
957 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
959 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
962 then true
; else exit
1; fi
; \
965 # Break into two pieces
966 r
=`${PWD}`; export r
; \
967 s
=`cd $(srcdir); ${PWD}`; export s
; \
969 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
970 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
971 for flag in
$(EXTRA_TARGET_FLAGS
); do \
972 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
974 if
(cd
$(TARGET_SUBDIR
)/$$i; \
975 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
977 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
980 then true
; else exit
1; fi
; \
984 .PHONY
: do-maintainer-clean
986 @r
=`${PWD}`; export r
; \
987 s
=`cd $(srcdir); ${PWD}`; export s
; \
989 for i in
$(SUBDIRS
) -dummy-
; do \
990 if
[ -f .
/$$i/Makefile
]; then \
993 for flag in
$(EXTRA_GCC_FLAGS
); do \
994 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
998 for flag in
$(EXTRA_HOST_FLAGS
); do \
999 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1004 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
1005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1006 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
1007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1008 maintainer-clean
); \
1009 then true
; else exit
1; fi
; \
1012 # Break into two pieces
1013 r
=`${PWD}`; export r
; \
1014 s
=`cd $(srcdir); ${PWD}`; export s
; \
1016 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
1017 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
1018 for flag in
$(EXTRA_TARGET_FLAGS
); do \
1019 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1021 if
(cd
$(TARGET_SUBDIR
)/$$i; \
1022 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
1023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1024 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
1025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1026 maintainer-clean
); \
1027 then true
; else exit
1; fi
; \
1033 @r
=`${PWD}`; export r
; \
1034 s
=`cd $(srcdir); ${PWD}`; export s
; \
1036 for i in
$(SUBDIRS
) -dummy-
; do \
1037 if
[ -f .
/$$i/Makefile
]; then \
1040 for flag in
$(EXTRA_GCC_FLAGS
); do \
1041 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1045 for flag in
$(EXTRA_HOST_FLAGS
); do \
1046 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1051 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
1052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1053 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
1054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1056 then true
; else exit
1; fi
; \
1059 # Break into two pieces
1060 r
=`${PWD}`; export r
; \
1061 s
=`cd $(srcdir); ${PWD}`; export s
; \
1063 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
1064 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
1065 for flag in
$(EXTRA_TARGET_FLAGS
); do \
1066 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1068 if
(cd
$(TARGET_SUBDIR
)/$$i; \
1069 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
1070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1071 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
1072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1074 then true
; else exit
1; fi
; \
1080 # Here are the targets which correspond to the do-X targets.
1082 .PHONY
: info installcheck dvi install-info
1083 .PHONY
: clean distclean mostlyclean maintainer-clean
realclean
1084 .PHONY
: local-clean local-distclean local-maintainer-clean
1086 installcheck: do-installcheck
1089 # Make sure makeinfo is built before we do a `make info'.
1090 do-info
: all-texinfo
1092 install-info
: do-install-info
dir.
info
1093 s
=`cd $(srcdir); ${PWD}`; export s
; \
1094 if
[ -f
dir.
info ] ; then \
1095 $(INSTALL_DATA
) dir.
info $(infodir)/dir.
info ; \
1099 -rm -f
*.a TEMP errs core
*.o
*~ \
#* TAGS *.E *.log
1102 -rm -f Makefile config.status config.cache mh-frag mt-frag
1103 -if
[ "$(TARGET_SUBDIR)" != "." ]; then \
1104 rm -rf
$(TARGET_SUBDIR
); \
1106 -rm -f texinfo
/po
/Makefile texinfo
/po
/Makefile.in texinfo
/info/Makefile
1107 -rm -f texinfo
/doc
/Makefile texinfo
/po
/POTFILES
1108 -rmdir texinfo
/doc texinfo
/info texinfo
/intl texinfo
/lib
2>/dev
/null
1109 -rmdir texinfo
/makeinfo texinfo
/po texinfo
/util
2>/dev
/null
1110 -rmdir fastjar gcc libiberty texinfo zlib
2>/dev
/null
1112 local-maintainer-clean
:
1113 @echo
"This command is intended for maintainers to use;"
1114 @echo
"it deletes files that may require special tools to rebuild."
1116 clean: do-clean local-clean
1117 mostlyclean: do-mostlyclean local-clean
1118 distclean: do-distclean local-clean local-distclean
1119 maintainer-clean
: local-maintainer-clean do-maintainer-clean local-clean
1120 maintainer-clean
: local-distclean
1121 realclean: maintainer-clean
1123 # This rule is used to clean specific modules.
1124 .PHONY
: $(CLEAN_MODULES
) $(CLEAN_X11_MODULES
) clean-gcc
1125 $(CLEAN_MODULES
) $(CLEAN_X11_MODULES
) clean-gcc
:
1126 @
dir=`echo $@ | sed -e 's/clean-//'`; \
1127 if
[ -f .
/$${dir}/Makefile
] ; then \
1128 r
=`${PWD}`; export r
; \
1129 s
=`cd $(srcdir); ${PWD}`; export s
; \
1131 (cd
$${dir}; $(MAKE
) $(FLAGS_TO_PASS
) clean); \
1136 .PHONY
: $(CLEAN_TARGET_MODULES
)
1137 $(CLEAN_TARGET_MODULES
):
1138 @
dir=`echo $@ | sed -e 's/clean-target-//'`; \
1139 rm -f
$(TARGET_SUBDIR
)/$${dir}/multilib.out
$(TARGET_SUBDIR
)/$${dir}/tmpmulti.out
; \
1140 if
[ -f
$(TARGET_SUBDIR
)/$${dir}/Makefile
] ; then \
1141 r
=`${PWD}`; export r
; \
1142 s
=`cd $(srcdir); ${PWD}`; export s
; \
1144 (cd
$(TARGET_SUBDIR
)/$${dir}; $(MAKE
) $(TARGET_FLAGS_TO_PASS
) clean); \
1149 clean-target
: $(CLEAN_TARGET_MODULES
) clean-target-libgcc
1150 clean-target-libgcc
:
1151 test ! -d gcc
/libgcc || \
1152 (cd gcc
/libgcc
&& find .
-type d
-print) | \
1153 while read d
; do
rm -f gcc
/$$d/libgcc.a ||
: ; done
1158 .PHONY
: check do-check
1160 $(MAKE
) do-check NOTPARALLEL
=parallel-ok
1162 # Only include modules actually being configured and built.
1163 do-check
: @check_host_modules@ \
1164 @check_target_modules@
1166 # Automated reporting of test results.
1168 warning.log
: build.log
1169 $(srcdir)/contrib
/warn_summary build.log
> $@
1172 if
test x
'$(BOOT_CFLAGS)' != x
''; then \
1173 BOOT_CFLAGS
='$(BOOT_CFLAGS)'; export BOOT_CFLAGS
; \
1175 $(srcdir)/contrib
/test_summary
-t
>$@
1177 echo If you really want to send e-mail
, run .
/$@ now
1179 mail-report-with-warnings.log
: warning.log
1180 if
test x
'$(BOOT_CFLAGS)' != x
''; then \
1181 BOOT_CFLAGS
='$(BOOT_CFLAGS)'; export BOOT_CFLAGS
; \
1183 $(srcdir)/contrib
/test_summary
-t
-i warning.log
>$@
1185 echo If you really want to send e-mail
, run .
/$@ now
1187 # Installation targets.
1189 .PHONY
: install uninstall source-vault binary-vault vault-install
1190 install: installdirs @install_host_modules@ @install_target_modules@
1192 install-target
: @install_target_modules@
1195 @echo
"the uninstall target is not supported in this tree"
1198 $(MAKE
) -f .
/release
/Build-A-Release \
1199 host
=$(host_alias
) source-vault
1202 $(MAKE
) -f .
/release
/Build-A-Release \
1203 host
=$(host_alias
) target
=$(target_alias
)
1206 @if
[ -f .
/release
/vault-install
] ; then \
1207 .
/release
/vault-install
$(host_alias
) $(target_alias
) ; \
1213 install.
all: install-no-fixedincludes
1214 @if
[ -f .
/gcc
/Makefile
] ; then \
1215 r
=`${PWD}` ; export r
; \
1218 $(MAKE
) $(FLAGS_TO_PASS
) install-headers
) ; \
1223 # install-no-fixedincludes is used because Cygnus can not distribute
1224 # the fixed header files.
1225 .PHONY
: install-no-fixedincludes
1226 install-no-fixedincludes
: installdirs @install_host_modules_nogcc@ \
1227 @install_target_modules@ gcc-no-fixedincludes
1229 # Install the gcc headers files, but not the fixed include files,
1230 # which Cygnus is not allowed to distribute. This rule is very
1231 # dependent on the workings of the gcc Makefile.in.
1232 .PHONY
: gcc-no-fixedincludes
1233 gcc-no-fixedincludes
:
1234 @if
[ -f .
/gcc
/Makefile
]; then \
1235 rm -rf gcc
/tmp-include
; \
1236 mv gcc
/include gcc
/tmp-include
2>/dev
/null
; \
1237 mkdir gcc
/include; \
1238 cp
$(srcdir)/gcc
/gsyslimits.h gcc
/include/syslimits.h
; \
1239 touch gcc
/stmp-fixinc gcc
/include/fixed
; \
1240 rm -f gcc
/stmp-headers gcc
/stmp-int-hdrs
; \
1241 r
=`${PWD}`; export r
; \
1242 s
=`cd $(srcdir); ${PWD}` ; export s
; \
1245 $(MAKE
) $(GCC_FLAGS_TO_PASS
) install); \
1246 rm -rf gcc
/include; \
1247 mv gcc
/tmp-include gcc
/include 2>/dev
/null
; \
1250 # These rules are used to build the modules which are built with the
1251 # build machine's native compiler.
1253 .PHONY
: all-build-libiberty maybe-all-build-libiberty
1254 maybe-all-build-libiberty
:
1255 all-build-libiberty
:
1256 @if
[ -f .
/libiberty
/Makefile
] ; then \
1257 r
=`${PWD}`; export r
; \
1258 s
=`cd $(srcdir); ${PWD}`; export s
; \
1259 (cd
$(BUILD_SUBDIR
)/libiberty
&& $(MAKE
) all); \
1264 .PHONY
: configure-build-libiberty maybe-configure-build-libiberty
1265 maybe-configure-build-libiberty
:
1266 configure-build-libiberty
:
1267 @if
[ ! -d
$(BUILD_SUBDIR
) ]; then \
1269 elif
[ -f
$(BUILD_SUBDIR
)/libiberty
/Makefile
] ; then \
1271 elif echo
" $(BUILD_CONFIGDIRS) " | grep
" libiberty " >/dev
/null
2>&1; then \
1272 if
[ -d
$(srcdir)/libiberty
]; then \
1273 [ -d
$(BUILD_SUBDIR
)/libiberty
] || mkdir
$(BUILD_SUBDIR
)/libiberty
;\
1274 r
=`${PWD}`; export r
; \
1275 s
=`cd $(srcdir); ${PWD}`; export s
; \
1276 AR
="$(AR_FOR_BUILD)"; export AR
; \
1277 AS
="$(AS_FOR_BUILD)"; export AS
; \
1278 CC
="$(CC_FOR_BUILD)"; export CC
; \
1279 CFLAGS
="$(CFLAGS_FOR_BUILD)"; export CFLAGS
; \
1280 CXX
="$(CXX_FOR_BUILD)"; export CXX
; \
1281 CXXFLAGS
="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS
; \
1282 GCJ
="$(GCJ_FOR_BUILD)"; export GCJ
; \
1283 DLLTOOL
="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL
; \
1284 LD
="$(LD_FOR_BUILD)"; export LD
; \
1285 LDFLAGS
="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS
; \
1286 NM
="$(NM_FOR_BUILD)"; export NM
; \
1287 RANLIB
="$(RANLIB_FOR_BUILD)"; export RANLIB
; \
1288 WINDRES
="$(WINDRES_FOR_BUILD)"; export WINDRES
; \
1289 echo Configuring in
$(BUILD_SUBDIR
)/libiberty
; \
1290 cd
"$(BUILD_SUBDIR)/libiberty" || exit
1; \
1292 /* |
[A-Za-z
]:[\\/]*) \
1293 topdir
=$(srcdir) ;; \
1295 case
"$(BUILD_SUBDIR)" in \
1296 .
) topdir
="../$(srcdir)" ;; \
1297 *) topdir
="../../$(srcdir)" ;; \
1300 if
[ "$(srcdir)" = "." ] ; then \
1301 if
[ "$(BUILD_SUBDIR)" != "." ] ; then \
1302 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libiberty
"no-such-file" ; then \
1303 if
[ -f Makefile
]; then \
1304 if
$(MAKE
) distclean; then \
1318 srcdiroption
="--srcdir=."; \
1321 srcdiroption
="--srcdir=$${topdir}/libiberty"; \
1322 libsrcdir
="$$s/libiberty"; \
1324 rm -f no-such-file ||
: ; \
1325 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
1326 $(BUILD_CONFIGARGS
) $${srcdiroption} \
1327 --with-build-subdir
="$(BUILD_SUBDIR)" \
1337 # These rules are used to build the modules which use FLAGS_TO_PASS. To
1338 # build a target all-X means to cd to X and make all.
1340 .PHONY
: all-ash maybe-all-ash
1343 @r
=`${PWD}`; export r
; \
1344 s
=`cd $(srcdir); ${PWD}`; export s
; \
1346 (cd ash
; $(MAKE
) $(FLAGS_TO_PASS
) all)
1351 @r
=`${PWD}`; export r
; \
1352 s
=`cd $(srcdir); ${PWD}`; export s
; \
1354 (cd ash
; $(MAKE
) $(FLAGS_TO_PASS
) check)
1358 .PHONY
: install-ash maybe-install-ash
1360 install-ash
: installdirs
1361 @r
=`${PWD}`; export r
; \
1362 s
=`cd $(srcdir); ${PWD}`; export s
; \
1364 (cd ash
; $(MAKE
) $(FLAGS_TO_PASS
) install)
1367 .PHONY
: all-autoconf maybe-all-autoconf
1370 @r
=`${PWD}`; export r
; \
1371 s
=`cd $(srcdir); ${PWD}`; export s
; \
1373 (cd autoconf
; $(MAKE
) $(FLAGS_TO_PASS
) all)
1376 .PHONY
: check-autoconf
1378 @r
=`${PWD}`; export r
; \
1379 s
=`cd $(srcdir); ${PWD}`; export s
; \
1381 (cd autoconf
; $(MAKE
) $(FLAGS_TO_PASS
) check)
1385 .PHONY
: install-autoconf maybe-install-autoconf
1386 maybe-install-autoconf
:
1387 install-autoconf
: installdirs
1388 @r
=`${PWD}`; export r
; \
1389 s
=`cd $(srcdir); ${PWD}`; export s
; \
1391 (cd autoconf
; $(MAKE
) $(FLAGS_TO_PASS
) install)
1394 .PHONY
: all-automake maybe-all-automake
1397 @r
=`${PWD}`; export r
; \
1398 s
=`cd $(srcdir); ${PWD}`; export s
; \
1400 (cd automake
; $(MAKE
) $(FLAGS_TO_PASS
) all)
1403 .PHONY
: check-automake
1405 @r
=`${PWD}`; export r
; \
1406 s
=`cd $(srcdir); ${PWD}`; export s
; \
1408 (cd automake
; $(MAKE
) $(FLAGS_TO_PASS
) check)
1412 .PHONY
: install-automake maybe-install-automake
1413 maybe-install-automake
:
1414 install-automake
: installdirs
1415 @r
=`${PWD}`; export r
; \
1416 s
=`cd $(srcdir); ${PWD}`; export s
; \
1418 (cd automake
; $(MAKE
) $(FLAGS_TO_PASS
) install)
1421 .PHONY
: all-bash maybe-all-bash
1424 @r
=`${PWD}`; export r
; \
1425 s
=`cd $(srcdir); ${PWD}`; export s
; \
1427 (cd bash
; $(MAKE
) $(FLAGS_TO_PASS
) all)
1432 @r
=`${PWD}`; export r
; \
1433 s
=`cd $(srcdir); ${PWD}`; export s
; \
1435 (cd bash
; $(MAKE
) $(FLAGS_TO_PASS
) check)
1439 .PHONY
: install-bash maybe-install-bash
1441 install-bash
: installdirs
1442 @r
=`${PWD}`; export r
; \
1443 s
=`cd $(srcdir); ${PWD}`; export s
; \
1445 (cd bash
; $(MAKE
) $(FLAGS_TO_PASS
) install)
1448 .PHONY
: all-bfd maybe-all-bfd
1451 @r
=`${PWD}`; export r
; \
1452 s
=`cd $(srcdir); ${PWD}`; export s
; \
1454 (cd bfd
; $(MAKE
) $(FLAGS_TO_PASS
) all)
1459 @r
=`${PWD}`; export r
; \
1460 s
=`cd $(srcdir); ${PWD}`; export s
; \
1462 (cd bfd
; $(MAKE
) $(FLAGS_TO_PASS
) check)
1466 .PHONY
: install-bfd maybe-install-bfd
1468 install-bfd
: installdirs
1469 @r
=`${PWD}`; export r
; \
1470 s
=`cd $(srcdir); ${PWD}`; export s
; \
1472 (cd bfd
; $(MAKE
) $(FLAGS_TO_PASS
) install)
1475 .PHONY
: all-opcodes maybe-all-opcodes
1478 @r
=`${PWD}`; export r
; \
1479 s
=`cd $(srcdir); ${PWD}`; export s
; \
1481 (cd opcodes
; $(MAKE
) $(FLAGS_TO_PASS
) all)
1484 .PHONY
: check-opcodes
1486 @r
=`${PWD}`; export r
; \
1487 s
=`cd $(srcdir); ${PWD}`; export s
; \
1489 (cd opcodes
; $(MAKE
) $(FLAGS_TO_PASS
) check)
1493 .PHONY
: install-opcodes maybe-install-opcodes
1494 maybe-install-opcodes
:
1495 install-opcodes
: installdirs
1496 @r
=`${PWD}`; export r
; \
1497 s
=`cd $(srcdir); ${PWD}`; export s
; \
1499 (cd opcodes
; $(MAKE
) $(FLAGS_TO_PASS
) install)
1502 .PHONY
: all-binutils maybe-all-binutils
1505 @r
=`${PWD}`; export r
; \
1506 s
=`cd $(srcdir); ${PWD}`; export s
; \
1508 (cd binutils
; $(MAKE
) $(FLAGS_TO_PASS
) all)
1511 .PHONY
: check-binutils
1513 @r
=`${PWD}`; export r
; \
1514 s
=`cd $(srcdir); ${PWD}`; export s
; \
1516 (cd binutils
; $(MAKE
) $(FLAGS_TO_PASS
) check)
1520 .PHONY
: install-binutils maybe-install-binutils
1521 maybe-install-binutils
:
1522 install-binutils
: installdirs
1523 @r
=`${PWD}`; export r
; \
1524 s
=`cd $(srcdir); ${PWD}`; export s
; \
1526 (cd binutils
; $(MAKE
) $(FLAGS_TO_PASS
) install)
1529 .PHONY
: all-bison maybe-all-bison
1532 @r
=`${PWD}`; export r
; \
1533 s
=`cd $(srcdir); ${PWD}`; export s
; \
1535 (cd bison
; $(MAKE
) $(FLAGS_TO_PASS
) all)
1539 # This module is only tested in a native toolchain.
1541 @if
[ '$(host_canonical)' = '$(target_canonical)' ] ; then \
1542 r
=`${PWD}`; export r
; \
1543 s
=`cd $(srcdir); ${PWD}`; export s
; \
1545 (cd bison
; $(MAKE
) $(FLAGS_TO_PASS
) check); \
1550 .PHONY
: install-bison maybe-install-bison
1551 maybe-install-bison
:
1552 install-bison
: installdirs
1553 @r
=`${PWD}`; export r
; \
1554 s
=`cd $(srcdir); ${PWD}`; export s
; \
1556 (cd bison
; $(MAKE
) $(FLAGS_TO_PASS
) install)
1559 .PHONY
: all-byacc maybe-all-byacc
1562 @r
=`${PWD}`; export r
; \
1563 s
=`cd $(srcdir); ${PWD}`; export s
; \
1565 (cd byacc
; $(MAKE
) $(FLAGS_TO_PASS
) all)
1569 # This module is only tested in a native toolchain.
1571 @if
[ '$(host_canonical)' = '$(target_canonical)' ] ; then \
1572 r
=`${PWD}`; export r
; \
1573 s
=`cd $(srcdir); ${PWD}`; export s
; \
1575 (cd byacc
; $(MAKE
) $(FLAGS_TO_PASS
) check); \
1580 .PHONY
: install-byacc maybe-install-byacc
1581 maybe-install-byacc
:
1582 install-byacc
: installdirs
1583 @r
=`${PWD}`; export r
; \
1584 s
=`cd $(srcdir); ${PWD}`; export s
; \
1586 (cd byacc
; $(MAKE
) $(FLAGS_TO_PASS
) install)
1589 .PHONY
: all-bzip2 maybe-all-bzip2
1592 @r
=`${PWD}`; export r
; \
1593 s
=`cd $(srcdir); ${PWD}`; export s
; \
1595 (cd bzip2
; $(MAKE
) $(FLAGS_TO_PASS
) all)
1600 @r
=`${PWD}`; export r
; \
1601 s
=`cd $(srcdir); ${PWD}`; export s
; \
1603 (cd bzip2
; $(MAKE
) $(FLAGS_TO_PASS
) check)
1607 .PHONY
: install-bzip2 maybe-install-bzip2
1608 maybe-install-bzip2
:
1609 install-bzip2
: installdirs
1610 @r
=`${PWD}`; export r
; \
1611 s
=`cd $(srcdir); ${PWD}`; export s
; \
1613 (cd bzip2
; $(MAKE
) $(FLAGS_TO_PASS
) install)
1616 .PHONY
: all-db maybe-all-db
1619 @r
=`${PWD}`; export r
; \
1620 s
=`cd $(srcdir); ${PWD}`; export s
; \
1622 (cd db
; $(MAKE
) $(FLAGS_TO_PASS
) all)
1627 @r
=`${PWD}`; export r
; \
1628 s
=`cd $(srcdir); ${PWD}`; export s
; \
1630 (cd db
; $(MAKE
) $(FLAGS_TO_PASS
) check)
1634 .PHONY
: install-db maybe-install-db
1636 install-db
: installdirs
1637 @r
=`${PWD}`; export r
; \
1638 s
=`cd $(srcdir); ${PWD}`; export s
; \
1640 (cd db
; $(MAKE
) $(FLAGS_TO_PASS
) install)
1643 .PHONY
: all-dejagnu maybe-all-dejagnu
1646 @r
=`${PWD}`; export r
; \
1647 s
=`cd $(srcdir); ${PWD}`; export s
; \
1649 (cd dejagnu
; $(MAKE
) $(FLAGS_TO_PASS
) all)
1652 .PHONY
: check-dejagnu
1654 @r
=`${PWD}`; export r
; \
1655 s
=`cd $(srcdir); ${PWD}`; export s
; \
1657 (cd dejagnu
; $(MAKE
) $(FLAGS_TO_PASS
) check)
1661 .PHONY
: install-dejagnu maybe-install-dejagnu
1662 maybe-install-dejagnu
:
1663 install-dejagnu
: installdirs
1664 @r
=`${PWD}`; export r
; \
1665 s
=`cd $(srcdir); ${PWD}`; export s
; \
1667 (cd dejagnu
; $(MAKE
) $(FLAGS_TO_PASS
) install)
1670 .PHONY
: all-diff maybe-all-diff
1673 @r
=`${PWD}`; export r
; \
1674 s
=`cd $(srcdir); ${PWD}`; export s
; \
1676 (cd diff
; $(MAKE
) $(FLAGS_TO_PASS
) all)
1681 @r
=`${PWD}`; export r
; \
1682 s
=`cd $(srcdir); ${PWD}`; export s
; \
1684 (cd diff
; $(MAKE
) $(FLAGS_TO_PASS
) check)
1688 .PHONY
: install-diff maybe-install-diff
1690 install-diff
: installdirs
1691 @r
=`${PWD}`; export r
; \
1692 s
=`cd $(srcdir); ${PWD}`; export s
; \
1694 (cd diff
; $(MAKE
) $(FLAGS_TO_PASS
) install)
1697 .PHONY
: all-dosutils maybe-all-dosutils
1700 @r
=`${PWD}`; export r
; \
1701 s
=`cd $(srcdir); ${PWD}`; export s
; \
1703 (cd dosutils
; $(MAKE
) $(FLAGS_TO_PASS
) all)
1706 .PHONY
: check-dosutils
1711 .PHONY
: install-dosutils maybe-install-dosutils
1712 maybe-install-dosutils
:
1713 install-dosutils
: installdirs
1714 @r
=`${PWD}`; export r
; \
1715 s
=`cd $(srcdir); ${PWD}`; export s
; \
1717 (cd dosutils
; $(MAKE
) $(FLAGS_TO_PASS
) install)
1720 .PHONY
: all-etc maybe-all-etc
1723 @r
=`${PWD}`; export r
; \
1724 s
=`cd $(srcdir); ${PWD}`; export s
; \
1726 (cd etc
; $(MAKE
) $(FLAGS_TO_PASS
) all)
1731 @r
=`${PWD}`; export r
; \
1732 s
=`cd $(srcdir); ${PWD}`; export s
; \
1734 (cd etc
; $(MAKE
) $(FLAGS_TO_PASS
) check)
1738 .PHONY
: install-etc maybe-install-etc
1740 install-etc
: installdirs
1741 @r
=`${PWD}`; export r
; \
1742 s
=`cd $(srcdir); ${PWD}`; export s
; \
1744 (cd etc
; $(MAKE
) $(FLAGS_TO_PASS
) install)
1747 .PHONY
: all-fastjar maybe-all-fastjar
1750 @r
=`${PWD}`; export r
; \
1751 s
=`cd $(srcdir); ${PWD}`; export s
; \
1753 (cd fastjar
; $(MAKE
) $(FLAGS_TO_PASS
) all)
1756 .PHONY
: check-fastjar
1757 # This module is only tested in a native toolchain.
1759 @if
[ '$(host_canonical)' = '$(target_canonical)' ] ; then \
1760 r
=`${PWD}`; export r
; \
1761 s
=`cd $(srcdir); ${PWD}`; export s
; \
1763 (cd fastjar
; $(MAKE
) $(FLAGS_TO_PASS
) check); \
1768 .PHONY
: install-fastjar maybe-install-fastjar
1769 maybe-install-fastjar
:
1770 install-fastjar
: installdirs
1771 @r
=`${PWD}`; export r
; \
1772 s
=`cd $(srcdir); ${PWD}`; export s
; \
1774 (cd fastjar
; $(MAKE
) $(FLAGS_TO_PASS
) install)
1777 .PHONY
: all-fileutils maybe-all-fileutils
1778 maybe-all-fileutils
:
1780 @r
=`${PWD}`; export r
; \
1781 s
=`cd $(srcdir); ${PWD}`; export s
; \
1783 (cd fileutils
; $(MAKE
) $(FLAGS_TO_PASS
) all)
1786 .PHONY
: check-fileutils
1788 @r
=`${PWD}`; export r
; \
1789 s
=`cd $(srcdir); ${PWD}`; export s
; \
1791 (cd fileutils
; $(MAKE
) $(FLAGS_TO_PASS
) check)
1795 .PHONY
: install-fileutils maybe-install-fileutils
1796 maybe-install-fileutils
:
1797 install-fileutils
: installdirs
1798 @r
=`${PWD}`; export r
; \
1799 s
=`cd $(srcdir); ${PWD}`; export s
; \
1801 (cd fileutils
; $(MAKE
) $(FLAGS_TO_PASS
) install)
1804 .PHONY
: all-findutils maybe-all-findutils
1805 maybe-all-findutils
:
1807 @r
=`${PWD}`; export r
; \
1808 s
=`cd $(srcdir); ${PWD}`; export s
; \
1810 (cd findutils
; $(MAKE
) $(FLAGS_TO_PASS
) all)
1813 .PHONY
: check-findutils
1815 @r
=`${PWD}`; export r
; \
1816 s
=`cd $(srcdir); ${PWD}`; export s
; \
1818 (cd findutils
; $(MAKE
) $(FLAGS_TO_PASS
) check)
1822 .PHONY
: install-findutils maybe-install-findutils
1823 maybe-install-findutils
:
1824 install-findutils
: installdirs
1825 @r
=`${PWD}`; export r
; \
1826 s
=`cd $(srcdir); ${PWD}`; export s
; \
1828 (cd findutils
; $(MAKE
) $(FLAGS_TO_PASS
) install)
1831 .PHONY
: all-find maybe-all-find
1834 @r
=`${PWD}`; export r
; \
1835 s
=`cd $(srcdir); ${PWD}`; export s
; \
1837 (cd find
; $(MAKE
) $(FLAGS_TO_PASS
) all)
1842 @r
=`${PWD}`; export r
; \
1843 s
=`cd $(srcdir); ${PWD}`; export s
; \
1845 (cd find
; $(MAKE
) $(FLAGS_TO_PASS
) check)
1849 .PHONY
: install-find maybe-install-find
1851 install-find
: installdirs
1852 @r
=`${PWD}`; export r
; \
1853 s
=`cd $(srcdir); ${PWD}`; export s
; \
1855 (cd find
; $(MAKE
) $(FLAGS_TO_PASS
) install)
1858 .PHONY
: all-flex maybe-all-flex
1861 @r
=`${PWD}`; export r
; \
1862 s
=`cd $(srcdir); ${PWD}`; export s
; \
1864 (cd flex
; $(MAKE
) $(FLAGS_TO_PASS
) all)
1868 # This module is only tested in a native toolchain.
1870 @if
[ '$(host_canonical)' = '$(target_canonical)' ] ; then \
1871 r
=`${PWD}`; export r
; \
1872 s
=`cd $(srcdir); ${PWD}`; export s
; \
1874 (cd flex
; $(MAKE
) $(FLAGS_TO_PASS
) check); \
1879 .PHONY
: install-flex maybe-install-flex
1881 install-flex
: installdirs
1882 @r
=`${PWD}`; export r
; \
1883 s
=`cd $(srcdir); ${PWD}`; export s
; \
1885 (cd flex
; $(MAKE
) $(FLAGS_TO_PASS
) install)
1888 .PHONY
: all-gas maybe-all-gas
1891 @r
=`${PWD}`; export r
; \
1892 s
=`cd $(srcdir); ${PWD}`; export s
; \
1894 (cd gas
; $(MAKE
) $(FLAGS_TO_PASS
) all)
1899 @r
=`${PWD}`; export r
; \
1900 s
=`cd $(srcdir); ${PWD}`; export s
; \
1902 (cd gas
; $(MAKE
) $(FLAGS_TO_PASS
) check)
1906 .PHONY
: install-gas maybe-install-gas
1908 install-gas
: installdirs
1909 @r
=`${PWD}`; export r
; \
1910 s
=`cd $(srcdir); ${PWD}`; export s
; \
1912 (cd gas
; $(MAKE
) $(FLAGS_TO_PASS
) install)
1915 .PHONY
: all-gawk maybe-all-gawk
1918 @r
=`${PWD}`; export r
; \
1919 s
=`cd $(srcdir); ${PWD}`; export s
; \
1921 (cd gawk
; $(MAKE
) $(FLAGS_TO_PASS
) all)
1926 @r
=`${PWD}`; export r
; \
1927 s
=`cd $(srcdir); ${PWD}`; export s
; \
1929 (cd gawk
; $(MAKE
) $(FLAGS_TO_PASS
) check)
1933 .PHONY
: install-gawk maybe-install-gawk
1935 install-gawk
: installdirs
1936 @r
=`${PWD}`; export r
; \
1937 s
=`cd $(srcdir); ${PWD}`; export s
; \
1939 (cd gawk
; $(MAKE
) $(FLAGS_TO_PASS
) install)
1942 .PHONY
: all-gettext maybe-all-gettext
1945 @r
=`${PWD}`; export r
; \
1946 s
=`cd $(srcdir); ${PWD}`; export s
; \
1948 (cd gettext
; $(MAKE
) $(FLAGS_TO_PASS
) all)
1951 .PHONY
: check-gettext
1953 @r
=`${PWD}`; export r
; \
1954 s
=`cd $(srcdir); ${PWD}`; export s
; \
1956 (cd gettext
; $(MAKE
) $(FLAGS_TO_PASS
) check)
1960 .PHONY
: install-gettext maybe-install-gettext
1961 maybe-install-gettext
:
1962 install-gettext
: installdirs
1963 @r
=`${PWD}`; export r
; \
1964 s
=`cd $(srcdir); ${PWD}`; export s
; \
1966 (cd gettext
; $(MAKE
) $(FLAGS_TO_PASS
) install)
1969 .PHONY
: all-gnuserv maybe-all-gnuserv
1972 @r
=`${PWD}`; export r
; \
1973 s
=`cd $(srcdir); ${PWD}`; export s
; \
1975 (cd gnuserv
; $(MAKE
) $(FLAGS_TO_PASS
) all)
1978 .PHONY
: check-gnuserv
1980 @r
=`${PWD}`; export r
; \
1981 s
=`cd $(srcdir); ${PWD}`; export s
; \
1983 (cd gnuserv
; $(MAKE
) $(FLAGS_TO_PASS
) check)
1987 .PHONY
: install-gnuserv maybe-install-gnuserv
1988 maybe-install-gnuserv
:
1989 install-gnuserv
: installdirs
1990 @r
=`${PWD}`; export r
; \
1991 s
=`cd $(srcdir); ${PWD}`; export s
; \
1993 (cd gnuserv
; $(MAKE
) $(FLAGS_TO_PASS
) install)
1996 .PHONY
: all-gprof maybe-all-gprof
1999 @r
=`${PWD}`; export r
; \
2000 s
=`cd $(srcdir); ${PWD}`; export s
; \
2002 (cd gprof
; $(MAKE
) $(FLAGS_TO_PASS
) all)
2007 @r
=`${PWD}`; export r
; \
2008 s
=`cd $(srcdir); ${PWD}`; export s
; \
2010 (cd gprof
; $(MAKE
) $(FLAGS_TO_PASS
) check)
2014 .PHONY
: install-gprof maybe-install-gprof
2015 maybe-install-gprof
:
2016 install-gprof
: installdirs
2017 @r
=`${PWD}`; export r
; \
2018 s
=`cd $(srcdir); ${PWD}`; export s
; \
2020 (cd gprof
; $(MAKE
) $(FLAGS_TO_PASS
) install)
2023 .PHONY
: all-grep maybe-all-grep
2026 @r
=`${PWD}`; export r
; \
2027 s
=`cd $(srcdir); ${PWD}`; export s
; \
2029 (cd grep
; $(MAKE
) $(FLAGS_TO_PASS
) all)
2034 @r
=`${PWD}`; export r
; \
2035 s
=`cd $(srcdir); ${PWD}`; export s
; \
2037 (cd grep
; $(MAKE
) $(FLAGS_TO_PASS
) check)
2041 .PHONY
: install-grep maybe-install-grep
2043 install-grep
: installdirs
2044 @r
=`${PWD}`; export r
; \
2045 s
=`cd $(srcdir); ${PWD}`; export s
; \
2047 (cd grep
; $(MAKE
) $(FLAGS_TO_PASS
) install)
2050 .PHONY
: all-gzip maybe-all-gzip
2053 @r
=`${PWD}`; export r
; \
2054 s
=`cd $(srcdir); ${PWD}`; export s
; \
2056 (cd gzip
; $(MAKE
) $(FLAGS_TO_PASS
) all)
2061 @r
=`${PWD}`; export r
; \
2062 s
=`cd $(srcdir); ${PWD}`; export s
; \
2064 (cd gzip
; $(MAKE
) $(FLAGS_TO_PASS
) check)
2068 .PHONY
: install-gzip maybe-install-gzip
2070 install-gzip
: installdirs
2071 @r
=`${PWD}`; export r
; \
2072 s
=`cd $(srcdir); ${PWD}`; export s
; \
2074 (cd gzip
; $(MAKE
) $(FLAGS_TO_PASS
) install)
2077 .PHONY
: all-hello maybe-all-hello
2080 @r
=`${PWD}`; export r
; \
2081 s
=`cd $(srcdir); ${PWD}`; export s
; \
2083 (cd hello
; $(MAKE
) $(FLAGS_TO_PASS
) all)
2088 @r
=`${PWD}`; export r
; \
2089 s
=`cd $(srcdir); ${PWD}`; export s
; \
2091 (cd hello
; $(MAKE
) $(FLAGS_TO_PASS
) check)
2095 .PHONY
: install-hello maybe-install-hello
2096 maybe-install-hello
:
2097 install-hello
: installdirs
2098 @r
=`${PWD}`; export r
; \
2099 s
=`cd $(srcdir); ${PWD}`; export s
; \
2101 (cd hello
; $(MAKE
) $(FLAGS_TO_PASS
) install)
2104 .PHONY
: all-indent maybe-all-indent
2107 @r
=`${PWD}`; export r
; \
2108 s
=`cd $(srcdir); ${PWD}`; export s
; \
2110 (cd indent
; $(MAKE
) $(FLAGS_TO_PASS
) all)
2113 .PHONY
: check-indent
2115 @r
=`${PWD}`; export r
; \
2116 s
=`cd $(srcdir); ${PWD}`; export s
; \
2118 (cd indent
; $(MAKE
) $(FLAGS_TO_PASS
) check)
2122 .PHONY
: install-indent maybe-install-indent
2123 maybe-install-indent
:
2124 install-indent
: installdirs
2125 @r
=`${PWD}`; export r
; \
2126 s
=`cd $(srcdir); ${PWD}`; export s
; \
2128 (cd indent
; $(MAKE
) $(FLAGS_TO_PASS
) install)
2131 .PHONY
: all-intl maybe-all-intl
2134 @r
=`${PWD}`; export r
; \
2135 s
=`cd $(srcdir); ${PWD}`; export s
; \
2137 (cd intl
; $(MAKE
) $(FLAGS_TO_PASS
) all)
2142 @r
=`${PWD}`; export r
; \
2143 s
=`cd $(srcdir); ${PWD}`; export s
; \
2145 (cd intl
; $(MAKE
) $(FLAGS_TO_PASS
) check)
2149 .PHONY
: install-intl maybe-install-intl
2151 install-intl
: installdirs
2152 @r
=`${PWD}`; export r
; \
2153 s
=`cd $(srcdir); ${PWD}`; export s
; \
2155 (cd intl
; $(MAKE
) $(FLAGS_TO_PASS
) install)
2158 .PHONY
: all-tcl maybe-all-tcl
2161 @r
=`${PWD}`; export r
; \
2162 s
=`cd $(srcdir); ${PWD}`; export s
; \
2164 (cd tcl
; $(MAKE
) $(FLAGS_TO_PASS
) all)
2169 @r
=`${PWD}`; export r
; \
2170 s
=`cd $(srcdir); ${PWD}`; export s
; \
2172 (cd tcl
; $(MAKE
) $(FLAGS_TO_PASS
) check)
2176 .PHONY
: install-tcl maybe-install-tcl
2178 install-tcl
: installdirs
2179 @r
=`${PWD}`; export r
; \
2180 s
=`cd $(srcdir); ${PWD}`; export s
; \
2182 (cd tcl
; $(MAKE
) $(FLAGS_TO_PASS
) install)
2185 .PHONY
: all-itcl maybe-all-itcl
2188 @r
=`${PWD}`; export r
; \
2189 s
=`cd $(srcdir); ${PWD}`; export s
; \
2191 (cd itcl
; $(MAKE
) $(FLAGS_TO_PASS
) all)
2196 @r
=`${PWD}`; export r
; \
2197 s
=`cd $(srcdir); ${PWD}`; export s
; \
2199 (cd itcl
; $(MAKE
) $(FLAGS_TO_PASS
) check)
2203 .PHONY
: install-itcl maybe-install-itcl
2205 install-itcl
: installdirs
2206 @r
=`${PWD}`; export r
; \
2207 s
=`cd $(srcdir); ${PWD}`; export s
; \
2209 (cd itcl
; $(MAKE
) $(FLAGS_TO_PASS
) install)
2212 .PHONY
: all-ld maybe-all-ld
2215 @r
=`${PWD}`; export r
; \
2216 s
=`cd $(srcdir); ${PWD}`; export s
; \
2218 (cd
ld; $(MAKE
) $(FLAGS_TO_PASS
) all)
2223 @r
=`${PWD}`; export r
; \
2224 s
=`cd $(srcdir); ${PWD}`; export s
; \
2226 (cd
ld; $(MAKE
) $(FLAGS_TO_PASS
) check)
2230 .PHONY
: install-ld maybe-install-ld
2232 install-ld
: installdirs
2233 @r
=`${PWD}`; export r
; \
2234 s
=`cd $(srcdir); ${PWD}`; export s
; \
2236 (cd
ld; $(MAKE
) $(FLAGS_TO_PASS
) install)
2239 .PHONY
: all-libgui maybe-all-libgui
2242 @r
=`${PWD}`; export r
; \
2243 s
=`cd $(srcdir); ${PWD}`; export s
; \
2245 (cd libgui
; $(MAKE
) $(FLAGS_TO_PASS
) all)
2248 .PHONY
: check-libgui
2250 @r
=`${PWD}`; export r
; \
2251 s
=`cd $(srcdir); ${PWD}`; export s
; \
2253 (cd libgui
; $(MAKE
) $(FLAGS_TO_PASS
) check)
2257 .PHONY
: install-libgui maybe-install-libgui
2258 maybe-install-libgui
:
2259 install-libgui
: installdirs
2260 @r
=`${PWD}`; export r
; \
2261 s
=`cd $(srcdir); ${PWD}`; export s
; \
2263 (cd libgui
; $(MAKE
) $(FLAGS_TO_PASS
) install)
2266 .PHONY
: all-libiberty maybe-all-libiberty
2267 maybe-all-libiberty
:
2269 @r
=`${PWD}`; export r
; \
2270 s
=`cd $(srcdir); ${PWD}`; export s
; \
2272 (cd libiberty
; $(MAKE
) $(FLAGS_TO_PASS
) all)
2275 .PHONY
: check-libiberty
2277 @r
=`${PWD}`; export r
; \
2278 s
=`cd $(srcdir); ${PWD}`; export s
; \
2280 (cd libiberty
; $(MAKE
) $(FLAGS_TO_PASS
) check)
2284 .PHONY
: install-libiberty maybe-install-libiberty
2285 maybe-install-libiberty
:
2286 install-libiberty
: installdirs
2287 @r
=`${PWD}`; export r
; \
2288 s
=`cd $(srcdir); ${PWD}`; export s
; \
2290 (cd libiberty
; $(MAKE
) $(FLAGS_TO_PASS
) install)
2293 .PHONY
: all-libtool maybe-all-libtool
2296 @r
=`${PWD}`; export r
; \
2297 s
=`cd $(srcdir); ${PWD}`; export s
; \
2299 (cd libtool
; $(MAKE
) $(FLAGS_TO_PASS
) all)
2302 .PHONY
: check-libtool
2304 @r
=`${PWD}`; export r
; \
2305 s
=`cd $(srcdir); ${PWD}`; export s
; \
2307 (cd libtool
; $(MAKE
) $(FLAGS_TO_PASS
) check)
2311 .PHONY
: install-libtool maybe-install-libtool
2312 maybe-install-libtool
:
2313 install-libtool
: installdirs
2314 @r
=`${PWD}`; export r
; \
2315 s
=`cd $(srcdir); ${PWD}`; export s
; \
2317 (cd libtool
; $(MAKE
) $(FLAGS_TO_PASS
) install)
2320 .PHONY
: all-m4 maybe-all-m4
2323 @r
=`${PWD}`; export r
; \
2324 s
=`cd $(srcdir); ${PWD}`; export s
; \
2326 (cd m4
; $(MAKE
) $(FLAGS_TO_PASS
) all)
2331 @r
=`${PWD}`; export r
; \
2332 s
=`cd $(srcdir); ${PWD}`; export s
; \
2334 (cd m4
; $(MAKE
) $(FLAGS_TO_PASS
) check)
2338 .PHONY
: install-m4 maybe-install-m4
2340 install-m4
: installdirs
2341 @r
=`${PWD}`; export r
; \
2342 s
=`cd $(srcdir); ${PWD}`; export s
; \
2344 (cd m4
; $(MAKE
) $(FLAGS_TO_PASS
) install)
2347 .PHONY
: all-make maybe-all-make
2350 @r
=`${PWD}`; export r
; \
2351 s
=`cd $(srcdir); ${PWD}`; export s
; \
2353 (cd make
; $(MAKE
) $(FLAGS_TO_PASS
) all)
2358 @r
=`${PWD}`; export r
; \
2359 s
=`cd $(srcdir); ${PWD}`; export s
; \
2361 (cd make
; $(MAKE
) $(FLAGS_TO_PASS
) check)
2365 .PHONY
: install-make maybe-install-make
2367 install-make
: installdirs
2368 @r
=`${PWD}`; export r
; \
2369 s
=`cd $(srcdir); ${PWD}`; export s
; \
2371 (cd make
; $(MAKE
) $(FLAGS_TO_PASS
) install)
2374 .PHONY
: all-mmalloc maybe-all-mmalloc
2377 @r
=`${PWD}`; export r
; \
2378 s
=`cd $(srcdir); ${PWD}`; export s
; \
2380 (cd mmalloc
; $(MAKE
) $(FLAGS_TO_PASS
) all)
2383 .PHONY
: check-mmalloc
2388 .PHONY
: install-mmalloc maybe-install-mmalloc
2389 maybe-install-mmalloc
:
2390 install-mmalloc
: installdirs
2391 @r
=`${PWD}`; export r
; \
2392 s
=`cd $(srcdir); ${PWD}`; export s
; \
2394 (cd mmalloc
; $(MAKE
) $(FLAGS_TO_PASS
) install)
2397 .PHONY
: all-patch maybe-all-patch
2400 @r
=`${PWD}`; export r
; \
2401 s
=`cd $(srcdir); ${PWD}`; export s
; \
2403 (cd patch
; $(MAKE
) $(FLAGS_TO_PASS
) all)
2408 @r
=`${PWD}`; export r
; \
2409 s
=`cd $(srcdir); ${PWD}`; export s
; \
2411 (cd patch
; $(MAKE
) $(FLAGS_TO_PASS
) check)
2415 .PHONY
: install-patch maybe-install-patch
2416 maybe-install-patch
:
2417 install-patch
: installdirs
2418 @r
=`${PWD}`; export r
; \
2419 s
=`cd $(srcdir); ${PWD}`; export s
; \
2421 (cd patch
; $(MAKE
) $(FLAGS_TO_PASS
) install)
2424 .PHONY
: all-perl maybe-all-perl
2427 @r
=`${PWD}`; export r
; \
2428 s
=`cd $(srcdir); ${PWD}`; export s
; \
2430 (cd perl
; $(MAKE
) $(FLAGS_TO_PASS
) all)
2435 @r
=`${PWD}`; export r
; \
2436 s
=`cd $(srcdir); ${PWD}`; export s
; \
2438 (cd perl
; $(MAKE
) $(FLAGS_TO_PASS
) check)
2442 .PHONY
: install-perl maybe-install-perl
2444 install-perl
: installdirs
2445 @r
=`${PWD}`; export r
; \
2446 s
=`cd $(srcdir); ${PWD}`; export s
; \
2448 (cd perl
; $(MAKE
) $(FLAGS_TO_PASS
) install)
2451 .PHONY
: all-prms maybe-all-prms
2454 @r
=`${PWD}`; export r
; \
2455 s
=`cd $(srcdir); ${PWD}`; export s
; \
2457 (cd prms
; $(MAKE
) $(FLAGS_TO_PASS
) all)
2462 @r
=`${PWD}`; export r
; \
2463 s
=`cd $(srcdir); ${PWD}`; export s
; \
2465 (cd prms
; $(MAKE
) $(FLAGS_TO_PASS
) check)
2469 .PHONY
: install-prms maybe-install-prms
2471 install-prms
: installdirs
2472 @r
=`${PWD}`; export r
; \
2473 s
=`cd $(srcdir); ${PWD}`; export s
; \
2475 (cd prms
; $(MAKE
) $(FLAGS_TO_PASS
) install)
2478 .PHONY
: all-rcs maybe-all-rcs
2481 @r
=`${PWD}`; export r
; \
2482 s
=`cd $(srcdir); ${PWD}`; export s
; \
2484 (cd rcs
; $(MAKE
) $(FLAGS_TO_PASS
) all)
2489 @r
=`${PWD}`; export r
; \
2490 s
=`cd $(srcdir); ${PWD}`; export s
; \
2492 (cd rcs
; $(MAKE
) $(FLAGS_TO_PASS
) check)
2496 .PHONY
: install-rcs maybe-install-rcs
2498 install-rcs
: installdirs
2499 @r
=`${PWD}`; export r
; \
2500 s
=`cd $(srcdir); ${PWD}`; export s
; \
2502 (cd rcs
; $(MAKE
) $(FLAGS_TO_PASS
) install)
2505 .PHONY
: all-readline maybe-all-readline
2508 @r
=`${PWD}`; export r
; \
2509 s
=`cd $(srcdir); ${PWD}`; export s
; \
2511 (cd readline
; $(MAKE
) $(FLAGS_TO_PASS
) all)
2514 .PHONY
: check-readline
2516 @r
=`${PWD}`; export r
; \
2517 s
=`cd $(srcdir); ${PWD}`; export s
; \
2519 (cd readline
; $(MAKE
) $(FLAGS_TO_PASS
) check)
2523 .PHONY
: install-readline maybe-install-readline
2524 maybe-install-readline
:
2525 install-readline
: installdirs
2526 @r
=`${PWD}`; export r
; \
2527 s
=`cd $(srcdir); ${PWD}`; export s
; \
2529 (cd readline
; $(MAKE
) $(FLAGS_TO_PASS
) install)
2532 .PHONY
: all-release maybe-all-release
2535 @r
=`${PWD}`; export r
; \
2536 s
=`cd $(srcdir); ${PWD}`; export s
; \
2538 (cd release
; $(MAKE
) $(FLAGS_TO_PASS
) all)
2541 .PHONY
: check-release
2546 .PHONY
: install-release maybe-install-release
2547 maybe-install-release
:
2551 .PHONY
: all-recode maybe-all-recode
2554 @r
=`${PWD}`; export r
; \
2555 s
=`cd $(srcdir); ${PWD}`; export s
; \
2557 (cd recode
; $(MAKE
) $(FLAGS_TO_PASS
) all)
2560 .PHONY
: check-recode
2562 @r
=`${PWD}`; export r
; \
2563 s
=`cd $(srcdir); ${PWD}`; export s
; \
2565 (cd recode
; $(MAKE
) $(FLAGS_TO_PASS
) check)
2569 .PHONY
: install-recode maybe-install-recode
2570 maybe-install-recode
:
2571 install-recode
: installdirs
2572 @r
=`${PWD}`; export r
; \
2573 s
=`cd $(srcdir); ${PWD}`; export s
; \
2575 (cd recode
; $(MAKE
) $(FLAGS_TO_PASS
) install)
2578 .PHONY
: all-sed maybe-all-sed
2581 @r
=`${PWD}`; export r
; \
2582 s
=`cd $(srcdir); ${PWD}`; export s
; \
2584 (cd sed
; $(MAKE
) $(FLAGS_TO_PASS
) all)
2589 @r
=`${PWD}`; export r
; \
2590 s
=`cd $(srcdir); ${PWD}`; export s
; \
2592 (cd sed
; $(MAKE
) $(FLAGS_TO_PASS
) check)
2596 .PHONY
: install-sed maybe-install-sed
2598 install-sed
: installdirs
2599 @r
=`${PWD}`; export r
; \
2600 s
=`cd $(srcdir); ${PWD}`; export s
; \
2602 (cd sed
; $(MAKE
) $(FLAGS_TO_PASS
) install)
2605 .PHONY
: all-send-pr maybe-all-send-pr
2608 @r
=`${PWD}`; export r
; \
2609 s
=`cd $(srcdir); ${PWD}`; export s
; \
2611 (cd send-pr
; $(MAKE
) $(FLAGS_TO_PASS
) all)
2614 .PHONY
: check-send-pr
2616 @r
=`${PWD}`; export r
; \
2617 s
=`cd $(srcdir); ${PWD}`; export s
; \
2619 (cd send-pr
; $(MAKE
) $(FLAGS_TO_PASS
) check)
2623 .PHONY
: install-send-pr maybe-install-send-pr
2624 maybe-install-send-pr
:
2625 install-send-pr
: installdirs
2626 @r
=`${PWD}`; export r
; \
2627 s
=`cd $(srcdir); ${PWD}`; export s
; \
2629 (cd send-pr
; $(MAKE
) $(FLAGS_TO_PASS
) install)
2632 .PHONY
: all-shellutils maybe-all-shellutils
2633 maybe-all-shellutils
:
2635 @r
=`${PWD}`; export r
; \
2636 s
=`cd $(srcdir); ${PWD}`; export s
; \
2638 (cd shellutils
; $(MAKE
) $(FLAGS_TO_PASS
) all)
2641 .PHONY
: check-shellutils
2643 @r
=`${PWD}`; export r
; \
2644 s
=`cd $(srcdir); ${PWD}`; export s
; \
2646 (cd shellutils
; $(MAKE
) $(FLAGS_TO_PASS
) check)
2650 .PHONY
: install-shellutils maybe-install-shellutils
2651 maybe-install-shellutils
:
2652 install-shellutils
: installdirs
2653 @r
=`${PWD}`; export r
; \
2654 s
=`cd $(srcdir); ${PWD}`; export s
; \
2656 (cd shellutils
; $(MAKE
) $(FLAGS_TO_PASS
) install)
2659 .PHONY
: all-sid maybe-all-sid
2662 @r
=`${PWD}`; export r
; \
2663 s
=`cd $(srcdir); ${PWD}`; export s
; \
2665 (cd sid
; $(MAKE
) $(FLAGS_TO_PASS
) all)
2670 @r
=`${PWD}`; export r
; \
2671 s
=`cd $(srcdir); ${PWD}`; export s
; \
2673 (cd sid
; $(MAKE
) $(FLAGS_TO_PASS
) check)
2677 .PHONY
: install-sid maybe-install-sid
2679 install-sid
: installdirs
2680 @r
=`${PWD}`; export r
; \
2681 s
=`cd $(srcdir); ${PWD}`; export s
; \
2683 (cd sid
; $(MAKE
) $(FLAGS_TO_PASS
) install)
2686 .PHONY
: all-sim maybe-all-sim
2689 @r
=`${PWD}`; export r
; \
2690 s
=`cd $(srcdir); ${PWD}`; export s
; \
2692 (cd sim
; $(MAKE
) $(FLAGS_TO_PASS
) all)
2697 @r
=`${PWD}`; export r
; \
2698 s
=`cd $(srcdir); ${PWD}`; export s
; \
2700 (cd sim
; $(MAKE
) $(FLAGS_TO_PASS
) check)
2704 .PHONY
: install-sim maybe-install-sim
2706 install-sim
: installdirs
2707 @r
=`${PWD}`; export r
; \
2708 s
=`cd $(srcdir); ${PWD}`; export s
; \
2710 (cd sim
; $(MAKE
) $(FLAGS_TO_PASS
) install)
2713 .PHONY
: all-snavigator maybe-all-snavigator
2714 maybe-all-snavigator
:
2716 @r
=`${PWD}`; export r
; \
2717 s
=`cd $(srcdir); ${PWD}`; export s
; \
2719 (cd snavigator
; $(MAKE
) $(FLAGS_TO_PASS
) all)
2722 .PHONY
: check-snavigator
2724 @r
=`${PWD}`; export r
; \
2725 s
=`cd $(srcdir); ${PWD}`; export s
; \
2727 (cd snavigator
; $(MAKE
) $(FLAGS_TO_PASS
) check)
2731 .PHONY
: install-snavigator maybe-install-snavigator
2732 maybe-install-snavigator
:
2733 install-snavigator
: installdirs
2734 @r
=`${PWD}`; export r
; \
2735 s
=`cd $(srcdir); ${PWD}`; export s
; \
2737 (cd snavigator
; $(MAKE
) $(FLAGS_TO_PASS
) install)
2740 .PHONY
: all-tar maybe-all-tar
2743 @r
=`${PWD}`; export r
; \
2744 s
=`cd $(srcdir); ${PWD}`; export s
; \
2746 (cd
tar; $(MAKE
) $(FLAGS_TO_PASS
) all)
2751 @r
=`${PWD}`; export r
; \
2752 s
=`cd $(srcdir); ${PWD}`; export s
; \
2754 (cd
tar; $(MAKE
) $(FLAGS_TO_PASS
) check)
2758 .PHONY
: install-tar maybe-install-tar
2760 install-tar
: installdirs
2761 @r
=`${PWD}`; export r
; \
2762 s
=`cd $(srcdir); ${PWD}`; export s
; \
2764 (cd
tar; $(MAKE
) $(FLAGS_TO_PASS
) install)
2767 .PHONY
: all-texinfo maybe-all-texinfo
2770 @r
=`${PWD}`; export r
; \
2771 s
=`cd $(srcdir); ${PWD}`; export s
; \
2773 (cd texinfo
; $(MAKE
) $(FLAGS_TO_PASS
) all)
2776 .PHONY
: check-texinfo
2778 @r
=`${PWD}`; export r
; \
2779 s
=`cd $(srcdir); ${PWD}`; export s
; \
2781 (cd texinfo
; $(MAKE
) $(FLAGS_TO_PASS
) check)
2785 .PHONY
: install-texinfo maybe-install-texinfo
2786 maybe-install-texinfo
:
2790 .PHONY
: all-textutils maybe-all-textutils
2791 maybe-all-textutils
:
2793 @r
=`${PWD}`; export r
; \
2794 s
=`cd $(srcdir); ${PWD}`; export s
; \
2796 (cd textutils
; $(MAKE
) $(FLAGS_TO_PASS
) all)
2799 .PHONY
: check-textutils
2801 @r
=`${PWD}`; export r
; \
2802 s
=`cd $(srcdir); ${PWD}`; export s
; \
2804 (cd textutils
; $(MAKE
) $(FLAGS_TO_PASS
) check)
2808 .PHONY
: install-textutils maybe-install-textutils
2809 maybe-install-textutils
:
2810 install-textutils
: installdirs
2811 @r
=`${PWD}`; export r
; \
2812 s
=`cd $(srcdir); ${PWD}`; export s
; \
2814 (cd textutils
; $(MAKE
) $(FLAGS_TO_PASS
) install)
2817 .PHONY
: all-time maybe-all-time
2820 @r
=`${PWD}`; export r
; \
2821 s
=`cd $(srcdir); ${PWD}`; export s
; \
2823 (cd time
; $(MAKE
) $(FLAGS_TO_PASS
) all)
2828 @r
=`${PWD}`; export r
; \
2829 s
=`cd $(srcdir); ${PWD}`; export s
; \
2831 (cd time
; $(MAKE
) $(FLAGS_TO_PASS
) check)
2835 .PHONY
: install-time maybe-install-time
2837 install-time
: installdirs
2838 @r
=`${PWD}`; export r
; \
2839 s
=`cd $(srcdir); ${PWD}`; export s
; \
2841 (cd time
; $(MAKE
) $(FLAGS_TO_PASS
) install)
2844 .PHONY
: all-uudecode maybe-all-uudecode
2847 @r
=`${PWD}`; export r
; \
2848 s
=`cd $(srcdir); ${PWD}`; export s
; \
2850 (cd uudecode
; $(MAKE
) $(FLAGS_TO_PASS
) all)
2853 .PHONY
: check-uudecode
2855 @r
=`${PWD}`; export r
; \
2856 s
=`cd $(srcdir); ${PWD}`; export s
; \
2858 (cd uudecode
; $(MAKE
) $(FLAGS_TO_PASS
) check)
2862 .PHONY
: install-uudecode maybe-install-uudecode
2863 maybe-install-uudecode
:
2864 install-uudecode
: installdirs
2865 @r
=`${PWD}`; export r
; \
2866 s
=`cd $(srcdir); ${PWD}`; export s
; \
2868 (cd uudecode
; $(MAKE
) $(FLAGS_TO_PASS
) install)
2871 .PHONY
: all-wdiff maybe-all-wdiff
2874 @r
=`${PWD}`; export r
; \
2875 s
=`cd $(srcdir); ${PWD}`; export s
; \
2877 (cd wdiff
; $(MAKE
) $(FLAGS_TO_PASS
) all)
2882 @r
=`${PWD}`; export r
; \
2883 s
=`cd $(srcdir); ${PWD}`; export s
; \
2885 (cd wdiff
; $(MAKE
) $(FLAGS_TO_PASS
) check)
2889 .PHONY
: install-wdiff maybe-install-wdiff
2890 maybe-install-wdiff
:
2891 install-wdiff
: installdirs
2892 @r
=`${PWD}`; export r
; \
2893 s
=`cd $(srcdir); ${PWD}`; export s
; \
2895 (cd wdiff
; $(MAKE
) $(FLAGS_TO_PASS
) install)
2898 .PHONY
: all-zip maybe-all-zip
2901 @r
=`${PWD}`; export r
; \
2902 s
=`cd $(srcdir); ${PWD}`; export s
; \
2904 (cd zip
; $(MAKE
) $(FLAGS_TO_PASS
) all)
2908 # This module is only tested in a native toolchain.
2910 @if
[ '$(host_canonical)' = '$(target_canonical)' ] ; then \
2911 r
=`${PWD}`; export r
; \
2912 s
=`cd $(srcdir); ${PWD}`; export s
; \
2914 (cd zip
; $(MAKE
) $(FLAGS_TO_PASS
) check); \
2919 .PHONY
: install-zip maybe-install-zip
2921 install-zip
: installdirs
2922 @r
=`${PWD}`; export r
; \
2923 s
=`cd $(srcdir); ${PWD}`; export s
; \
2925 (cd zip
; $(MAKE
) $(FLAGS_TO_PASS
) install)
2928 .PHONY
: all-zlib maybe-all-zlib
2931 @r
=`${PWD}`; export r
; \
2932 s
=`cd $(srcdir); ${PWD}`; export s
; \
2934 (cd zlib
; $(MAKE
) $(FLAGS_TO_PASS
) all)
2942 .PHONY
: install-zlib maybe-install-zlib
2947 .PHONY
: all-gdb maybe-all-gdb
2950 @r
=`${PWD}`; export r
; \
2951 s
=`cd $(srcdir); ${PWD}`; export s
; \
2953 (cd gdb
; $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) all)
2958 @r
=`${PWD}`; export r
; \
2959 s
=`cd $(srcdir); ${PWD}`; export s
; \
2961 (cd gdb
; $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) check)
2965 .PHONY
: install-gdb maybe-install-gdb
2967 install-gdb
: installdirs
2968 @r
=`${PWD}`; export r
; \
2969 s
=`cd $(srcdir); ${PWD}`; export s
; \
2971 (cd gdb
; $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) install)
2974 .PHONY
: all-expect maybe-all-expect
2977 @r
=`${PWD}`; export r
; \
2978 s
=`cd $(srcdir); ${PWD}`; export s
; \
2980 (cd expect
; $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) all)
2983 .PHONY
: check-expect
2985 @r
=`${PWD}`; export r
; \
2986 s
=`cd $(srcdir); ${PWD}`; export s
; \
2988 (cd expect
; $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) check)
2992 .PHONY
: install-expect maybe-install-expect
2993 maybe-install-expect
:
2994 install-expect
: installdirs
2995 @r
=`${PWD}`; export r
; \
2996 s
=`cd $(srcdir); ${PWD}`; export s
; \
2998 (cd expect
; $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) install)
3001 .PHONY
: all-guile maybe-all-guile
3004 @r
=`${PWD}`; export r
; \
3005 s
=`cd $(srcdir); ${PWD}`; export s
; \
3007 (cd guile
; $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) all)
3012 @r
=`${PWD}`; export r
; \
3013 s
=`cd $(srcdir); ${PWD}`; export s
; \
3015 (cd guile
; $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) check)
3019 .PHONY
: install-guile maybe-install-guile
3020 maybe-install-guile
:
3021 install-guile
: installdirs
3022 @r
=`${PWD}`; export r
; \
3023 s
=`cd $(srcdir); ${PWD}`; export s
; \
3025 (cd guile
; $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) install)
3028 .PHONY
: all-tclX maybe-all-tclX
3031 @r
=`${PWD}`; export r
; \
3032 s
=`cd $(srcdir); ${PWD}`; export s
; \
3034 (cd tclX
; $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) all)
3039 @r
=`${PWD}`; export r
; \
3040 s
=`cd $(srcdir); ${PWD}`; export s
; \
3042 (cd tclX
; $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) check)
3046 .PHONY
: install-tclX maybe-install-tclX
3048 install-tclX
: installdirs
3049 @r
=`${PWD}`; export r
; \
3050 s
=`cd $(srcdir); ${PWD}`; export s
; \
3052 (cd tclX
; $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) install)
3055 .PHONY
: all-tk maybe-all-tk
3058 @r
=`${PWD}`; export r
; \
3059 s
=`cd $(srcdir); ${PWD}`; export s
; \
3061 (cd tk
; $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) all)
3066 @r
=`${PWD}`; export r
; \
3067 s
=`cd $(srcdir); ${PWD}`; export s
; \
3069 (cd tk
; $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) check)
3073 .PHONY
: install-tk maybe-install-tk
3075 install-tk
: installdirs
3076 @r
=`${PWD}`; export r
; \
3077 s
=`cd $(srcdir); ${PWD}`; export s
; \
3079 (cd tk
; $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) install)
3082 .PHONY
: all-tix maybe-all-tix
3085 @r
=`${PWD}`; export r
; \
3086 s
=`cd $(srcdir); ${PWD}`; export s
; \
3088 (cd tix
; $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) all)
3093 @r
=`${PWD}`; export r
; \
3094 s
=`cd $(srcdir); ${PWD}`; export s
; \
3096 (cd tix
; $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) check)
3100 .PHONY
: install-tix maybe-install-tix
3102 install-tix
: installdirs
3103 @r
=`${PWD}`; export r
; \
3104 s
=`cd $(srcdir); ${PWD}`; export s
; \
3106 (cd tix
; $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) install)
3109 .PHONY
: all-libtermcap maybe-all-libtermcap
3110 maybe-all-libtermcap
:
3112 @r
=`${PWD}`; export r
; \
3113 s
=`cd $(srcdir); ${PWD}`; export s
; \
3115 (cd libtermcap
; $(MAKE
) $(FLAGS_TO_PASS
) all)
3118 .PHONY
: check-libtermcap
3123 .PHONY
: install-libtermcap maybe-install-libtermcap
3124 maybe-install-libtermcap
:
3125 install-libtermcap
: installdirs
3126 @r
=`${PWD}`; export r
; \
3127 s
=`cd $(srcdir); ${PWD}`; export s
; \
3129 (cd libtermcap
; $(MAKE
) $(FLAGS_TO_PASS
) install)
3132 .PHONY
: all-utils maybe-all-utils
3135 @r
=`${PWD}`; export r
; \
3136 s
=`cd $(srcdir); ${PWD}`; export s
; \
3138 (cd utils
; $(MAKE
) $(FLAGS_TO_PASS
) all)
3146 .PHONY
: install-utils maybe-install-utils
3147 maybe-install-utils
:
3148 install-utils
: installdirs
3149 @r
=`${PWD}`; export r
; \
3150 s
=`cd $(srcdir); ${PWD}`; export s
; \
3152 (cd utils
; $(MAKE
) $(FLAGS_TO_PASS
) install)
3156 # These rules are used to build the modules which are built with the target
3157 # tools. To make foo-X means to cd to X and make foo.
3159 .PHONY
: configure-target-libstdc
++-v3 maybe-configure-target-libstdc
++-v3
3160 maybe-configure-target-libstdc
++-v3
:
3161 configure-target-libstdc
++-v3
:
3162 @r
=`${PWD}`; export r
; \
3163 $(CC_FOR_TARGET
) --print-multi-lib
> $(TARGET_SUBDIR
)/libstdc
++-v3
/tmpmulti.out
2> /dev
/null
; \
3164 if
[ -s
$(TARGET_SUBDIR
)/libstdc
++-v3
/tmpmulti.out
]; then \
3165 if
[ -f
$(TARGET_SUBDIR
)/libstdc
++-v3
/multilib.out
]; then \
3166 if cmp
$(TARGET_SUBDIR
)/libstdc
++-v3
/multilib.out
$(TARGET_SUBDIR
)/libstdc
++-v3
/tmpmulti.out
> /dev
/null
; then \
3167 rm -f
$(TARGET_SUBDIR
)/libstdc
++-v3
/tmpmulti.out
; \
3169 echo
"Multilibs changed for libstdc++-v3, reconfiguring"; \
3170 rm -f
$(TARGET_SUBDIR
)/libstdc
++-v3
/multilib.out
$(TARGET_SUBDIR
)/libstdc
++-v3
/Makefile
; \
3171 mv
$(TARGET_SUBDIR
)/libstdc
++-v3
/tmpmulti.out
$(TARGET_SUBDIR
)/libstdc
++-v3
/multilib.out
; \
3174 mv
$(TARGET_SUBDIR
)/libstdc
++-v3
/tmpmulti.out
$(TARGET_SUBDIR
)/libstdc
++-v3
/multilib.out
; \
3176 fi
; exit
0 # break command into two pieces
3177 @if
[ -d
$(srcdir)/libstdc
++-v3
]; then \
3178 [ -d
$(TARGET_SUBDIR
)/libstdc
++-v3
] || mkdir
$(TARGET_SUBDIR
)/libstdc
++-v3
;\
3179 r
=`${PWD}`; export r
; \
3180 s
=`cd $(srcdir); ${PWD}`; export s
; \
3182 AR
="$(AR_FOR_TARGET)"; export AR
; \
3183 AS
="$(AS_FOR_TARGET)"; export AS
; \
3184 CC
="$(CC_FOR_TARGET)"; export CC
; \
3185 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
3186 CXX_FOR_TARGET
="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET
; \
3187 CXX
="$(RAW_CXX_FOR_TARGET)"; export CXX
; \
3188 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
3189 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
3190 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
3191 LD
="$(LD_FOR_TARGET)"; export LD
; \
3192 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
3193 NM
="$(NM_FOR_TARGET)"; export NM
; \
3194 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
3195 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
3196 echo Configuring in
$(TARGET_SUBDIR
)/libstdc
++-v3
; \
3197 cd
"$(TARGET_SUBDIR)/libstdc++-v3" || exit
1; \
3199 /* |
[A-Za-z
]:[\\/]*) \
3200 topdir
=$(srcdir) ;; \
3202 case
"$(TARGET_SUBDIR)" in \
3203 .
) topdir
="../$(srcdir)" ;; \
3204 *) topdir
="../../$(srcdir)" ;; \
3207 if
[ "$(srcdir)" = "." ] ; then \
3208 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
3209 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libstdc
++-v3
"no-such-file" ; then \
3210 if
[ -f Makefile
]; then \
3211 if
$(MAKE
) distclean; then \
3225 srcdiroption
="--srcdir=."; \
3228 srcdiroption
="--srcdir=$${topdir}/libstdc++-v3"; \
3229 libsrcdir
="$$s/libstdc++-v3"; \
3231 rm -f no-such-file ||
: ; \
3232 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
3233 $(TARGET_CONFIGARGS
) $${srcdiroption} \
3234 --with-target-subdir
="$(TARGET_SUBDIR)" \
3240 .PHONY
: all-target-libstdc
++-v3 maybe-all-target-libstdc
++-v3
3241 maybe-all-target-libstdc
++-v3
:
3242 all-target-libstdc
++-v3
:
3243 @r
=`${PWD}`; export r
; \
3244 s
=`cd $(srcdir); ${PWD}`; export s
; \
3246 (cd
$(TARGET_SUBDIR
)/libstdc
++-v3
; \
3247 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
3249 .PHONY
: check-target-libstdc
++-v3
3250 check-target-libstdc
++-v3
:
3251 @r
=`${PWD}`; export r
; \
3252 s
=`cd $(srcdir); ${PWD}`; export s
; \
3254 (cd
$(TARGET_SUBDIR
)/libstdc
++-v3
; \
3255 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
3258 .PHONY
: install-target-libstdc
++-v3 maybe-install-target-libstdc
++-v3
3259 maybe-install-target-libstdc
++-v3
:
3260 install-target-libstdc
++-v3
: installdirs
3261 @r
=`${PWD}`; export r
; \
3262 s
=`cd $(srcdir); ${PWD}`; export s
; \
3264 (cd
$(TARGET_SUBDIR
)/libstdc
++-v3
; \
3265 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
3268 .PHONY
: configure-target-newlib maybe-configure-target-newlib
3269 maybe-configure-target-newlib
:
3270 configure-target-newlib
:
3271 @r
=`${PWD}`; export r
; \
3272 $(CC_FOR_TARGET
) --print-multi-lib
> $(TARGET_SUBDIR
)/newlib
/tmpmulti.out
2> /dev
/null
; \
3273 if
[ -s
$(TARGET_SUBDIR
)/newlib
/tmpmulti.out
]; then \
3274 if
[ -f
$(TARGET_SUBDIR
)/newlib
/multilib.out
]; then \
3275 if cmp
$(TARGET_SUBDIR
)/newlib
/multilib.out
$(TARGET_SUBDIR
)/newlib
/tmpmulti.out
> /dev
/null
; then \
3276 rm -f
$(TARGET_SUBDIR
)/newlib
/tmpmulti.out
; \
3278 echo
"Multilibs changed for newlib, reconfiguring"; \
3279 rm -f
$(TARGET_SUBDIR
)/newlib
/multilib.out
$(TARGET_SUBDIR
)/newlib
/Makefile
; \
3280 mv
$(TARGET_SUBDIR
)/newlib
/tmpmulti.out
$(TARGET_SUBDIR
)/newlib
/multilib.out
; \
3283 mv
$(TARGET_SUBDIR
)/newlib
/tmpmulti.out
$(TARGET_SUBDIR
)/newlib
/multilib.out
; \
3285 fi
; exit
0 # break command into two pieces
3286 @if
[ -d
$(srcdir)/newlib
]; then \
3287 [ -d
$(TARGET_SUBDIR
)/newlib
] || mkdir
$(TARGET_SUBDIR
)/newlib
;\
3288 r
=`${PWD}`; export r
; \
3289 s
=`cd $(srcdir); ${PWD}`; export s
; \
3291 AR
="$(AR_FOR_TARGET)"; export AR
; \
3292 AS
="$(AS_FOR_TARGET)"; export AS
; \
3293 CC
="$(CC_FOR_TARGET)"; export CC
; \
3294 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
3295 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
3296 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
3297 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
3298 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
3299 LD
="$(LD_FOR_TARGET)"; export LD
; \
3300 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
3301 NM
="$(NM_FOR_TARGET)"; export NM
; \
3302 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
3303 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
3304 echo Configuring in
$(TARGET_SUBDIR
)/newlib
; \
3305 cd
"$(TARGET_SUBDIR)/newlib" || exit
1; \
3307 /* |
[A-Za-z
]:[\\/]*) \
3308 topdir
=$(srcdir) ;; \
3310 case
"$(TARGET_SUBDIR)" in \
3311 .
) topdir
="../$(srcdir)" ;; \
3312 *) topdir
="../../$(srcdir)" ;; \
3315 if
[ "$(srcdir)" = "." ] ; then \
3316 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
3317 if
$(SHELL
) $$s/symlink-tree
$${topdir}/newlib
"no-such-file" ; then \
3318 if
[ -f Makefile
]; then \
3319 if
$(MAKE
) distclean; then \
3333 srcdiroption
="--srcdir=."; \
3336 srcdiroption
="--srcdir=$${topdir}/newlib"; \
3337 libsrcdir
="$$s/newlib"; \
3339 rm -f no-such-file ||
: ; \
3340 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
3341 $(TARGET_CONFIGARGS
) $${srcdiroption} \
3342 --with-target-subdir
="$(TARGET_SUBDIR)" \
3348 .PHONY
: all-target-newlib maybe-all-target-newlib
3349 maybe-all-target-newlib
:
3351 @r
=`${PWD}`; export r
; \
3352 s
=`cd $(srcdir); ${PWD}`; export s
; \
3354 (cd
$(TARGET_SUBDIR
)/newlib
; \
3355 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
3357 .PHONY
: check-target-newlib
3358 check-target-newlib
:
3359 @r
=`${PWD}`; export r
; \
3360 s
=`cd $(srcdir); ${PWD}`; export s
; \
3362 (cd
$(TARGET_SUBDIR
)/newlib
; \
3363 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
3366 .PHONY
: install-target-newlib maybe-install-target-newlib
3367 maybe-install-target-newlib
:
3368 install-target-newlib
: installdirs
3369 @r
=`${PWD}`; export r
; \
3370 s
=`cd $(srcdir); ${PWD}`; export s
; \
3372 (cd
$(TARGET_SUBDIR
)/newlib
; \
3373 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
3376 .PHONY
: configure-target-libf2c maybe-configure-target-libf2c
3377 maybe-configure-target-libf2c
:
3378 configure-target-libf2c
:
3379 @r
=`${PWD}`; export r
; \
3380 $(CC_FOR_TARGET
) --print-multi-lib
> $(TARGET_SUBDIR
)/libf2c
/tmpmulti.out
2> /dev
/null
; \
3381 if
[ -s
$(TARGET_SUBDIR
)/libf2c
/tmpmulti.out
]; then \
3382 if
[ -f
$(TARGET_SUBDIR
)/libf2c
/multilib.out
]; then \
3383 if cmp
$(TARGET_SUBDIR
)/libf2c
/multilib.out
$(TARGET_SUBDIR
)/libf2c
/tmpmulti.out
> /dev
/null
; then \
3384 rm -f
$(TARGET_SUBDIR
)/libf2c
/tmpmulti.out
; \
3386 echo
"Multilibs changed for libf2c, reconfiguring"; \
3387 rm -f
$(TARGET_SUBDIR
)/libf2c
/multilib.out
$(TARGET_SUBDIR
)/libf2c
/Makefile
; \
3388 mv
$(TARGET_SUBDIR
)/libf2c
/tmpmulti.out
$(TARGET_SUBDIR
)/libf2c
/multilib.out
; \
3391 mv
$(TARGET_SUBDIR
)/libf2c
/tmpmulti.out
$(TARGET_SUBDIR
)/libf2c
/multilib.out
; \
3393 fi
; exit
0 # break command into two pieces
3394 @if
[ -d
$(srcdir)/libf2c
]; then \
3395 [ -d
$(TARGET_SUBDIR
)/libf2c
] || mkdir
$(TARGET_SUBDIR
)/libf2c
;\
3396 r
=`${PWD}`; export r
; \
3397 s
=`cd $(srcdir); ${PWD}`; export s
; \
3399 AR
="$(AR_FOR_TARGET)"; export AR
; \
3400 AS
="$(AS_FOR_TARGET)"; export AS
; \
3401 CC
="$(CC_FOR_TARGET)"; export CC
; \
3402 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
3403 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
3404 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
3405 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
3406 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
3407 LD
="$(LD_FOR_TARGET)"; export LD
; \
3408 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
3409 NM
="$(NM_FOR_TARGET)"; export NM
; \
3410 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
3411 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
3412 echo Configuring in
$(TARGET_SUBDIR
)/libf2c
; \
3413 cd
"$(TARGET_SUBDIR)/libf2c" || exit
1; \
3415 /* |
[A-Za-z
]:[\\/]*) \
3416 topdir
=$(srcdir) ;; \
3418 case
"$(TARGET_SUBDIR)" in \
3419 .
) topdir
="../$(srcdir)" ;; \
3420 *) topdir
="../../$(srcdir)" ;; \
3423 if
[ "$(srcdir)" = "." ] ; then \
3424 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
3425 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libf2c
"no-such-file" ; then \
3426 if
[ -f Makefile
]; then \
3427 if
$(MAKE
) distclean; then \
3441 srcdiroption
="--srcdir=."; \
3444 srcdiroption
="--srcdir=$${topdir}/libf2c"; \
3445 libsrcdir
="$$s/libf2c"; \
3447 rm -f no-such-file ||
: ; \
3448 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
3449 $(TARGET_CONFIGARGS
) $${srcdiroption} \
3450 --with-target-subdir
="$(TARGET_SUBDIR)" \
3456 .PHONY
: all-target-libf2c maybe-all-target-libf2c
3457 maybe-all-target-libf2c
:
3459 @r
=`${PWD}`; export r
; \
3460 s
=`cd $(srcdir); ${PWD}`; export s
; \
3462 (cd
$(TARGET_SUBDIR
)/libf2c
; \
3463 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
3465 .PHONY
: check-target-libf2c
3466 check-target-libf2c
:
3467 @r
=`${PWD}`; export r
; \
3468 s
=`cd $(srcdir); ${PWD}`; export s
; \
3470 (cd
$(TARGET_SUBDIR
)/libf2c
; \
3471 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
3474 .PHONY
: install-target-libf2c maybe-install-target-libf2c
3475 maybe-install-target-libf2c
:
3476 install-target-libf2c
: installdirs
3477 @r
=`${PWD}`; export r
; \
3478 s
=`cd $(srcdir); ${PWD}`; export s
; \
3480 (cd
$(TARGET_SUBDIR
)/libf2c
; \
3481 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
3484 .PHONY
: configure-target-libobjc maybe-configure-target-libobjc
3485 maybe-configure-target-libobjc
:
3486 configure-target-libobjc
:
3487 @r
=`${PWD}`; export r
; \
3488 $(CC_FOR_TARGET
) --print-multi-lib
> $(TARGET_SUBDIR
)/libobjc
/tmpmulti.out
2> /dev
/null
; \
3489 if
[ -s
$(TARGET_SUBDIR
)/libobjc
/tmpmulti.out
]; then \
3490 if
[ -f
$(TARGET_SUBDIR
)/libobjc
/multilib.out
]; then \
3491 if cmp
$(TARGET_SUBDIR
)/libobjc
/multilib.out
$(TARGET_SUBDIR
)/libobjc
/tmpmulti.out
> /dev
/null
; then \
3492 rm -f
$(TARGET_SUBDIR
)/libobjc
/tmpmulti.out
; \
3494 echo
"Multilibs changed for libobjc, reconfiguring"; \
3495 rm -f
$(TARGET_SUBDIR
)/libobjc
/multilib.out
$(TARGET_SUBDIR
)/libobjc
/Makefile
; \
3496 mv
$(TARGET_SUBDIR
)/libobjc
/tmpmulti.out
$(TARGET_SUBDIR
)/libobjc
/multilib.out
; \
3499 mv
$(TARGET_SUBDIR
)/libobjc
/tmpmulti.out
$(TARGET_SUBDIR
)/libobjc
/multilib.out
; \
3501 fi
; exit
0 # break command into two pieces
3502 @if
[ -d
$(srcdir)/libobjc
]; then \
3503 [ -d
$(TARGET_SUBDIR
)/libobjc
] || mkdir
$(TARGET_SUBDIR
)/libobjc
;\
3504 r
=`${PWD}`; export r
; \
3505 s
=`cd $(srcdir); ${PWD}`; export s
; \
3507 AR
="$(AR_FOR_TARGET)"; export AR
; \
3508 AS
="$(AS_FOR_TARGET)"; export AS
; \
3509 CC
="$(CC_FOR_TARGET)"; export CC
; \
3510 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
3511 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
3512 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
3513 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
3514 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
3515 LD
="$(LD_FOR_TARGET)"; export LD
; \
3516 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
3517 NM
="$(NM_FOR_TARGET)"; export NM
; \
3518 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
3519 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
3520 echo Configuring in
$(TARGET_SUBDIR
)/libobjc
; \
3521 cd
"$(TARGET_SUBDIR)/libobjc" || exit
1; \
3523 /* |
[A-Za-z
]:[\\/]*) \
3524 topdir
=$(srcdir) ;; \
3526 case
"$(TARGET_SUBDIR)" in \
3527 .
) topdir
="../$(srcdir)" ;; \
3528 *) topdir
="../../$(srcdir)" ;; \
3531 if
[ "$(srcdir)" = "." ] ; then \
3532 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
3533 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libobjc
"no-such-file" ; then \
3534 if
[ -f Makefile
]; then \
3535 if
$(MAKE
) distclean; then \
3549 srcdiroption
="--srcdir=."; \
3552 srcdiroption
="--srcdir=$${topdir}/libobjc"; \
3553 libsrcdir
="$$s/libobjc"; \
3555 rm -f no-such-file ||
: ; \
3556 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
3557 $(TARGET_CONFIGARGS
) $${srcdiroption} \
3558 --with-target-subdir
="$(TARGET_SUBDIR)" \
3564 .PHONY
: all-target-libobjc maybe-all-target-libobjc
3565 maybe-all-target-libobjc
:
3567 @r
=`${PWD}`; export r
; \
3568 s
=`cd $(srcdir); ${PWD}`; export s
; \
3570 (cd
$(TARGET_SUBDIR
)/libobjc
; \
3571 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
3573 .PHONY
: check-target-libobjc
3574 check-target-libobjc
:
3575 @r
=`${PWD}`; export r
; \
3576 s
=`cd $(srcdir); ${PWD}`; export s
; \
3578 (cd
$(TARGET_SUBDIR
)/libobjc
; \
3579 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
3582 .PHONY
: install-target-libobjc maybe-install-target-libobjc
3583 maybe-install-target-libobjc
:
3584 install-target-libobjc
: installdirs
3585 @r
=`${PWD}`; export r
; \
3586 s
=`cd $(srcdir); ${PWD}`; export s
; \
3588 (cd
$(TARGET_SUBDIR
)/libobjc
; \
3589 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
3592 .PHONY
: configure-target-libtermcap maybe-configure-target-libtermcap
3593 maybe-configure-target-libtermcap
:
3594 configure-target-libtermcap
:
3595 @r
=`${PWD}`; export r
; \
3596 $(CC_FOR_TARGET
) --print-multi-lib
> $(TARGET_SUBDIR
)/libtermcap
/tmpmulti.out
2> /dev
/null
; \
3597 if
[ -s
$(TARGET_SUBDIR
)/libtermcap
/tmpmulti.out
]; then \
3598 if
[ -f
$(TARGET_SUBDIR
)/libtermcap
/multilib.out
]; then \
3599 if cmp
$(TARGET_SUBDIR
)/libtermcap
/multilib.out
$(TARGET_SUBDIR
)/libtermcap
/tmpmulti.out
> /dev
/null
; then \
3600 rm -f
$(TARGET_SUBDIR
)/libtermcap
/tmpmulti.out
; \
3602 echo
"Multilibs changed for libtermcap, reconfiguring"; \
3603 rm -f
$(TARGET_SUBDIR
)/libtermcap
/multilib.out
$(TARGET_SUBDIR
)/libtermcap
/Makefile
; \
3604 mv
$(TARGET_SUBDIR
)/libtermcap
/tmpmulti.out
$(TARGET_SUBDIR
)/libtermcap
/multilib.out
; \
3607 mv
$(TARGET_SUBDIR
)/libtermcap
/tmpmulti.out
$(TARGET_SUBDIR
)/libtermcap
/multilib.out
; \
3609 fi
; exit
0 # break command into two pieces
3610 @if
[ -d
$(srcdir)/libtermcap
]; then \
3611 [ -d
$(TARGET_SUBDIR
)/libtermcap
] || mkdir
$(TARGET_SUBDIR
)/libtermcap
;\
3612 r
=`${PWD}`; export r
; \
3613 s
=`cd $(srcdir); ${PWD}`; export s
; \
3615 AR
="$(AR_FOR_TARGET)"; export AR
; \
3616 AS
="$(AS_FOR_TARGET)"; export AS
; \
3617 CC
="$(CC_FOR_TARGET)"; export CC
; \
3618 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
3619 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
3620 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
3621 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
3622 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
3623 LD
="$(LD_FOR_TARGET)"; export LD
; \
3624 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
3625 NM
="$(NM_FOR_TARGET)"; export NM
; \
3626 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
3627 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
3628 echo Configuring in
$(TARGET_SUBDIR
)/libtermcap
; \
3629 cd
"$(TARGET_SUBDIR)/libtermcap" || exit
1; \
3631 /* |
[A-Za-z
]:[\\/]*) \
3632 topdir
=$(srcdir) ;; \
3634 case
"$(TARGET_SUBDIR)" in \
3635 .
) topdir
="../$(srcdir)" ;; \
3636 *) topdir
="../../$(srcdir)" ;; \
3639 if
[ "$(srcdir)" = "." ] ; then \
3640 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
3641 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libtermcap
"no-such-file" ; then \
3642 if
[ -f Makefile
]; then \
3643 if
$(MAKE
) distclean; then \
3657 srcdiroption
="--srcdir=."; \
3660 srcdiroption
="--srcdir=$${topdir}/libtermcap"; \
3661 libsrcdir
="$$s/libtermcap"; \
3663 rm -f no-such-file ||
: ; \
3664 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
3665 $(TARGET_CONFIGARGS
) $${srcdiroption} \
3666 --with-target-subdir
="$(TARGET_SUBDIR)" \
3672 .PHONY
: all-target-libtermcap maybe-all-target-libtermcap
3673 maybe-all-target-libtermcap
:
3674 all-target-libtermcap
:
3675 @r
=`${PWD}`; export r
; \
3676 s
=`cd $(srcdir); ${PWD}`; export s
; \
3678 (cd
$(TARGET_SUBDIR
)/libtermcap
; \
3679 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
3681 # Dummy target for uncheckable module.
3682 .PHONY
: check-target-libtermcap
3683 check-target-libtermcap
:
3686 .PHONY
: install-target-libtermcap maybe-install-target-libtermcap
3687 maybe-install-target-libtermcap
:
3688 install-target-libtermcap
: installdirs
3689 @r
=`${PWD}`; export r
; \
3690 s
=`cd $(srcdir); ${PWD}`; export s
; \
3692 (cd
$(TARGET_SUBDIR
)/libtermcap
; \
3693 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
3696 .PHONY
: configure-target-winsup maybe-configure-target-winsup
3697 maybe-configure-target-winsup
:
3698 configure-target-winsup
:
3699 @r
=`${PWD}`; export r
; \
3700 $(CC_FOR_TARGET
) --print-multi-lib
> $(TARGET_SUBDIR
)/winsup
/tmpmulti.out
2> /dev
/null
; \
3701 if
[ -s
$(TARGET_SUBDIR
)/winsup
/tmpmulti.out
]; then \
3702 if
[ -f
$(TARGET_SUBDIR
)/winsup
/multilib.out
]; then \
3703 if cmp
$(TARGET_SUBDIR
)/winsup
/multilib.out
$(TARGET_SUBDIR
)/winsup
/tmpmulti.out
> /dev
/null
; then \
3704 rm -f
$(TARGET_SUBDIR
)/winsup
/tmpmulti.out
; \
3706 echo
"Multilibs changed for winsup, reconfiguring"; \
3707 rm -f
$(TARGET_SUBDIR
)/winsup
/multilib.out
$(TARGET_SUBDIR
)/winsup
/Makefile
; \
3708 mv
$(TARGET_SUBDIR
)/winsup
/tmpmulti.out
$(TARGET_SUBDIR
)/winsup
/multilib.out
; \
3711 mv
$(TARGET_SUBDIR
)/winsup
/tmpmulti.out
$(TARGET_SUBDIR
)/winsup
/multilib.out
; \
3713 fi
; exit
0 # break command into two pieces
3714 @if
[ -d
$(srcdir)/winsup
]; then \
3715 [ -d
$(TARGET_SUBDIR
)/winsup
] || mkdir
$(TARGET_SUBDIR
)/winsup
;\
3716 r
=`${PWD}`; export r
; \
3717 s
=`cd $(srcdir); ${PWD}`; export s
; \
3719 AR
="$(AR_FOR_TARGET)"; export AR
; \
3720 AS
="$(AS_FOR_TARGET)"; export AS
; \
3721 CC
="$(CC_FOR_TARGET)"; export CC
; \
3722 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
3723 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
3724 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
3725 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
3726 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
3727 LD
="$(LD_FOR_TARGET)"; export LD
; \
3728 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
3729 NM
="$(NM_FOR_TARGET)"; export NM
; \
3730 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
3731 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
3732 echo Configuring in
$(TARGET_SUBDIR
)/winsup
; \
3733 cd
"$(TARGET_SUBDIR)/winsup" || exit
1; \
3735 /* |
[A-Za-z
]:[\\/]*) \
3736 topdir
=$(srcdir) ;; \
3738 case
"$(TARGET_SUBDIR)" in \
3739 .
) topdir
="../$(srcdir)" ;; \
3740 *) topdir
="../../$(srcdir)" ;; \
3743 if
[ "$(srcdir)" = "." ] ; then \
3744 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
3745 if
$(SHELL
) $$s/symlink-tree
$${topdir}/winsup
"no-such-file" ; then \
3746 if
[ -f Makefile
]; then \
3747 if
$(MAKE
) distclean; then \
3761 srcdiroption
="--srcdir=."; \
3764 srcdiroption
="--srcdir=$${topdir}/winsup"; \
3765 libsrcdir
="$$s/winsup"; \
3767 rm -f no-such-file ||
: ; \
3768 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
3769 $(TARGET_CONFIGARGS
) $${srcdiroption} \
3770 --with-target-subdir
="$(TARGET_SUBDIR)" \
3776 .PHONY
: all-target-winsup maybe-all-target-winsup
3777 maybe-all-target-winsup
:
3779 @r
=`${PWD}`; export r
; \
3780 s
=`cd $(srcdir); ${PWD}`; export s
; \
3782 (cd
$(TARGET_SUBDIR
)/winsup
; \
3783 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
3785 .PHONY
: check-target-winsup
3786 check-target-winsup
:
3787 @r
=`${PWD}`; export r
; \
3788 s
=`cd $(srcdir); ${PWD}`; export s
; \
3790 (cd
$(TARGET_SUBDIR
)/winsup
; \
3791 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
3794 .PHONY
: install-target-winsup maybe-install-target-winsup
3795 maybe-install-target-winsup
:
3796 install-target-winsup
: installdirs
3797 @r
=`${PWD}`; export r
; \
3798 s
=`cd $(srcdir); ${PWD}`; export s
; \
3800 (cd
$(TARGET_SUBDIR
)/winsup
; \
3801 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
3804 .PHONY
: configure-target-libgloss maybe-configure-target-libgloss
3805 maybe-configure-target-libgloss
:
3806 configure-target-libgloss
:
3807 @r
=`${PWD}`; export r
; \
3808 $(CC_FOR_TARGET
) --print-multi-lib
> $(TARGET_SUBDIR
)/libgloss
/tmpmulti.out
2> /dev
/null
; \
3809 if
[ -s
$(TARGET_SUBDIR
)/libgloss
/tmpmulti.out
]; then \
3810 if
[ -f
$(TARGET_SUBDIR
)/libgloss
/multilib.out
]; then \
3811 if cmp
$(TARGET_SUBDIR
)/libgloss
/multilib.out
$(TARGET_SUBDIR
)/libgloss
/tmpmulti.out
> /dev
/null
; then \
3812 rm -f
$(TARGET_SUBDIR
)/libgloss
/tmpmulti.out
; \
3814 echo
"Multilibs changed for libgloss, reconfiguring"; \
3815 rm -f
$(TARGET_SUBDIR
)/libgloss
/multilib.out
$(TARGET_SUBDIR
)/libgloss
/Makefile
; \
3816 mv
$(TARGET_SUBDIR
)/libgloss
/tmpmulti.out
$(TARGET_SUBDIR
)/libgloss
/multilib.out
; \
3819 mv
$(TARGET_SUBDIR
)/libgloss
/tmpmulti.out
$(TARGET_SUBDIR
)/libgloss
/multilib.out
; \
3821 fi
; exit
0 # break command into two pieces
3822 @if
[ -d
$(srcdir)/libgloss
]; then \
3823 [ -d
$(TARGET_SUBDIR
)/libgloss
] || mkdir
$(TARGET_SUBDIR
)/libgloss
;\
3824 r
=`${PWD}`; export r
; \
3825 s
=`cd $(srcdir); ${PWD}`; export s
; \
3827 AR
="$(AR_FOR_TARGET)"; export AR
; \
3828 AS
="$(AS_FOR_TARGET)"; export AS
; \
3829 CC
="$(CC_FOR_TARGET)"; export CC
; \
3830 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
3831 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
3832 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
3833 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
3834 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
3835 LD
="$(LD_FOR_TARGET)"; export LD
; \
3836 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
3837 NM
="$(NM_FOR_TARGET)"; export NM
; \
3838 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
3839 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
3840 echo Configuring in
$(TARGET_SUBDIR
)/libgloss
; \
3841 cd
"$(TARGET_SUBDIR)/libgloss" || exit
1; \
3843 /* |
[A-Za-z
]:[\\/]*) \
3844 topdir
=$(srcdir) ;; \
3846 case
"$(TARGET_SUBDIR)" in \
3847 .
) topdir
="../$(srcdir)" ;; \
3848 *) topdir
="../../$(srcdir)" ;; \
3851 if
[ "$(srcdir)" = "." ] ; then \
3852 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
3853 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libgloss
"no-such-file" ; then \
3854 if
[ -f Makefile
]; then \
3855 if
$(MAKE
) distclean; then \
3869 srcdiroption
="--srcdir=."; \
3872 srcdiroption
="--srcdir=$${topdir}/libgloss"; \
3873 libsrcdir
="$$s/libgloss"; \
3875 rm -f no-such-file ||
: ; \
3876 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
3877 $(TARGET_CONFIGARGS
) $${srcdiroption} \
3878 --with-target-subdir
="$(TARGET_SUBDIR)" \
3884 .PHONY
: all-target-libgloss maybe-all-target-libgloss
3885 maybe-all-target-libgloss
:
3886 all-target-libgloss
:
3887 @r
=`${PWD}`; export r
; \
3888 s
=`cd $(srcdir); ${PWD}`; export s
; \
3890 (cd
$(TARGET_SUBDIR
)/libgloss
; \
3891 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
3893 # Dummy target for uncheckable module.
3894 .PHONY
: check-target-libgloss
3895 check-target-libgloss
:
3898 .PHONY
: install-target-libgloss maybe-install-target-libgloss
3899 maybe-install-target-libgloss
:
3900 install-target-libgloss
: installdirs
3901 @r
=`${PWD}`; export r
; \
3902 s
=`cd $(srcdir); ${PWD}`; export s
; \
3904 (cd
$(TARGET_SUBDIR
)/libgloss
; \
3905 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
3908 .PHONY
: configure-target-libiberty maybe-configure-target-libiberty
3909 maybe-configure-target-libiberty
:
3910 configure-target-libiberty
:
3911 @r
=`${PWD}`; export r
; \
3912 $(CC_FOR_TARGET
) --print-multi-lib
> $(TARGET_SUBDIR
)/libiberty
/tmpmulti.out
2> /dev
/null
; \
3913 if
[ -s
$(TARGET_SUBDIR
)/libiberty
/tmpmulti.out
]; then \
3914 if
[ -f
$(TARGET_SUBDIR
)/libiberty
/multilib.out
]; then \
3915 if cmp
$(TARGET_SUBDIR
)/libiberty
/multilib.out
$(TARGET_SUBDIR
)/libiberty
/tmpmulti.out
> /dev
/null
; then \
3916 rm -f
$(TARGET_SUBDIR
)/libiberty
/tmpmulti.out
; \
3918 echo
"Multilibs changed for libiberty, reconfiguring"; \
3919 rm -f
$(TARGET_SUBDIR
)/libiberty
/multilib.out
$(TARGET_SUBDIR
)/libiberty
/Makefile
; \
3920 mv
$(TARGET_SUBDIR
)/libiberty
/tmpmulti.out
$(TARGET_SUBDIR
)/libiberty
/multilib.out
; \
3923 mv
$(TARGET_SUBDIR
)/libiberty
/tmpmulti.out
$(TARGET_SUBDIR
)/libiberty
/multilib.out
; \
3925 fi
; exit
0 # break command into two pieces
3926 @if
[ -d
$(srcdir)/libiberty
]; then \
3927 [ -d
$(TARGET_SUBDIR
)/libiberty
] || mkdir
$(TARGET_SUBDIR
)/libiberty
;\
3928 r
=`${PWD}`; export r
; \
3929 s
=`cd $(srcdir); ${PWD}`; export s
; \
3931 AR
="$(AR_FOR_TARGET)"; export AR
; \
3932 AS
="$(AS_FOR_TARGET)"; export AS
; \
3933 CC
="$(CC_FOR_TARGET)"; export CC
; \
3934 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
3935 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
3936 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
3937 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
3938 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
3939 LD
="$(LD_FOR_TARGET)"; export LD
; \
3940 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
3941 NM
="$(NM_FOR_TARGET)"; export NM
; \
3942 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
3943 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
3944 echo Configuring in
$(TARGET_SUBDIR
)/libiberty
; \
3945 cd
"$(TARGET_SUBDIR)/libiberty" || exit
1; \
3947 /* |
[A-Za-z
]:[\\/]*) \
3948 topdir
=$(srcdir) ;; \
3950 case
"$(TARGET_SUBDIR)" in \
3951 .
) topdir
="../$(srcdir)" ;; \
3952 *) topdir
="../../$(srcdir)" ;; \
3955 if
[ "$(srcdir)" = "." ] ; then \
3956 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
3957 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libiberty
"no-such-file" ; then \
3958 if
[ -f Makefile
]; then \
3959 if
$(MAKE
) distclean; then \
3973 srcdiroption
="--srcdir=."; \
3976 srcdiroption
="--srcdir=$${topdir}/libiberty"; \
3977 libsrcdir
="$$s/libiberty"; \
3979 rm -f no-such-file ||
: ; \
3980 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
3981 $(TARGET_CONFIGARGS
) $${srcdiroption} \
3982 --with-target-subdir
="$(TARGET_SUBDIR)" \
3988 .PHONY
: all-target-libiberty maybe-all-target-libiberty
3989 maybe-all-target-libiberty
:
3990 all-target-libiberty
:
3991 @r
=`${PWD}`; export r
; \
3992 s
=`cd $(srcdir); ${PWD}`; export s
; \
3994 (cd
$(TARGET_SUBDIR
)/libiberty
; \
3995 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
3997 .PHONY
: check-target-libiberty
3998 check-target-libiberty
:
3999 @r
=`${PWD}`; export r
; \
4000 s
=`cd $(srcdir); ${PWD}`; export s
; \
4002 (cd
$(TARGET_SUBDIR
)/libiberty
; \
4003 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
4006 .PHONY
: install-target-libiberty maybe-install-target-libiberty
4007 maybe-install-target-libiberty
:
4008 install-target-libiberty
: installdirs
4009 @r
=`${PWD}`; export r
; \
4010 s
=`cd $(srcdir); ${PWD}`; export s
; \
4012 (cd
$(TARGET_SUBDIR
)/libiberty
; \
4013 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
4016 .PHONY
: configure-target-gperf maybe-configure-target-gperf
4017 maybe-configure-target-gperf
:
4018 configure-target-gperf
:
4019 @r
=`${PWD}`; export r
; \
4020 $(CC_FOR_TARGET
) --print-multi-lib
> $(TARGET_SUBDIR
)/gperf
/tmpmulti.out
2> /dev
/null
; \
4021 if
[ -s
$(TARGET_SUBDIR
)/gperf
/tmpmulti.out
]; then \
4022 if
[ -f
$(TARGET_SUBDIR
)/gperf
/multilib.out
]; then \
4023 if cmp
$(TARGET_SUBDIR
)/gperf
/multilib.out
$(TARGET_SUBDIR
)/gperf
/tmpmulti.out
> /dev
/null
; then \
4024 rm -f
$(TARGET_SUBDIR
)/gperf
/tmpmulti.out
; \
4026 echo
"Multilibs changed for gperf, reconfiguring"; \
4027 rm -f
$(TARGET_SUBDIR
)/gperf
/multilib.out
$(TARGET_SUBDIR
)/gperf
/Makefile
; \
4028 mv
$(TARGET_SUBDIR
)/gperf
/tmpmulti.out
$(TARGET_SUBDIR
)/gperf
/multilib.out
; \
4031 mv
$(TARGET_SUBDIR
)/gperf
/tmpmulti.out
$(TARGET_SUBDIR
)/gperf
/multilib.out
; \
4033 fi
; exit
0 # break command into two pieces
4034 @if
[ -d
$(srcdir)/gperf
]; then \
4035 [ -d
$(TARGET_SUBDIR
)/gperf
] || mkdir
$(TARGET_SUBDIR
)/gperf
;\
4036 r
=`${PWD}`; export r
; \
4037 s
=`cd $(srcdir); ${PWD}`; export s
; \
4039 AR
="$(AR_FOR_TARGET)"; export AR
; \
4040 AS
="$(AS_FOR_TARGET)"; export AS
; \
4041 CC
="$(CC_FOR_TARGET)"; export CC
; \
4042 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
4043 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
4044 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
4045 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
4046 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
4047 LD
="$(LD_FOR_TARGET)"; export LD
; \
4048 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
4049 NM
="$(NM_FOR_TARGET)"; export NM
; \
4050 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
4051 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
4052 echo Configuring in
$(TARGET_SUBDIR
)/gperf
; \
4053 cd
"$(TARGET_SUBDIR)/gperf" || exit
1; \
4055 /* |
[A-Za-z
]:[\\/]*) \
4056 topdir
=$(srcdir) ;; \
4058 case
"$(TARGET_SUBDIR)" in \
4059 .
) topdir
="../$(srcdir)" ;; \
4060 *) topdir
="../../$(srcdir)" ;; \
4063 if
[ "$(srcdir)" = "." ] ; then \
4064 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
4065 if
$(SHELL
) $$s/symlink-tree
$${topdir}/gperf
"no-such-file" ; then \
4066 if
[ -f Makefile
]; then \
4067 if
$(MAKE
) distclean; then \
4081 srcdiroption
="--srcdir=."; \
4084 srcdiroption
="--srcdir=$${topdir}/gperf"; \
4085 libsrcdir
="$$s/gperf"; \
4087 rm -f no-such-file ||
: ; \
4088 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
4089 $(TARGET_CONFIGARGS
) $${srcdiroption} \
4090 --with-target-subdir
="$(TARGET_SUBDIR)" \
4096 .PHONY
: all-target-gperf maybe-all-target-gperf
4097 maybe-all-target-gperf
:
4099 @r
=`${PWD}`; export r
; \
4100 s
=`cd $(srcdir); ${PWD}`; export s
; \
4102 (cd
$(TARGET_SUBDIR
)/gperf
; \
4103 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
4105 .PHONY
: check-target-gperf
4107 @r
=`${PWD}`; export r
; \
4108 s
=`cd $(srcdir); ${PWD}`; export s
; \
4110 (cd
$(TARGET_SUBDIR
)/gperf
; \
4111 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
4114 .PHONY
: install-target-gperf maybe-install-target-gperf
4115 maybe-install-target-gperf
:
4116 install-target-gperf
: installdirs
4117 @r
=`${PWD}`; export r
; \
4118 s
=`cd $(srcdir); ${PWD}`; export s
; \
4120 (cd
$(TARGET_SUBDIR
)/gperf
; \
4121 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
4124 .PHONY
: configure-target-examples maybe-configure-target-examples
4125 maybe-configure-target-examples
:
4126 configure-target-examples
:
4127 @r
=`${PWD}`; export r
; \
4128 $(CC_FOR_TARGET
) --print-multi-lib
> $(TARGET_SUBDIR
)/examples
/tmpmulti.out
2> /dev
/null
; \
4129 if
[ -s
$(TARGET_SUBDIR
)/examples
/tmpmulti.out
]; then \
4130 if
[ -f
$(TARGET_SUBDIR
)/examples
/multilib.out
]; then \
4131 if cmp
$(TARGET_SUBDIR
)/examples
/multilib.out
$(TARGET_SUBDIR
)/examples
/tmpmulti.out
> /dev
/null
; then \
4132 rm -f
$(TARGET_SUBDIR
)/examples
/tmpmulti.out
; \
4134 echo
"Multilibs changed for examples, reconfiguring"; \
4135 rm -f
$(TARGET_SUBDIR
)/examples
/multilib.out
$(TARGET_SUBDIR
)/examples
/Makefile
; \
4136 mv
$(TARGET_SUBDIR
)/examples
/tmpmulti.out
$(TARGET_SUBDIR
)/examples
/multilib.out
; \
4139 mv
$(TARGET_SUBDIR
)/examples
/tmpmulti.out
$(TARGET_SUBDIR
)/examples
/multilib.out
; \
4141 fi
; exit
0 # break command into two pieces
4142 @if
[ -d
$(srcdir)/examples
]; then \
4143 [ -d
$(TARGET_SUBDIR
)/examples
] || mkdir
$(TARGET_SUBDIR
)/examples
;\
4144 r
=`${PWD}`; export r
; \
4145 s
=`cd $(srcdir); ${PWD}`; export s
; \
4147 AR
="$(AR_FOR_TARGET)"; export AR
; \
4148 AS
="$(AS_FOR_TARGET)"; export AS
; \
4149 CC
="$(CC_FOR_TARGET)"; export CC
; \
4150 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
4151 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
4152 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
4153 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
4154 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
4155 LD
="$(LD_FOR_TARGET)"; export LD
; \
4156 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
4157 NM
="$(NM_FOR_TARGET)"; export NM
; \
4158 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
4159 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
4160 echo Configuring in
$(TARGET_SUBDIR
)/examples
; \
4161 cd
"$(TARGET_SUBDIR)/examples" || exit
1; \
4163 /* |
[A-Za-z
]:[\\/]*) \
4164 topdir
=$(srcdir) ;; \
4166 case
"$(TARGET_SUBDIR)" in \
4167 .
) topdir
="../$(srcdir)" ;; \
4168 *) topdir
="../../$(srcdir)" ;; \
4171 if
[ "$(srcdir)" = "." ] ; then \
4172 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
4173 if
$(SHELL
) $$s/symlink-tree
$${topdir}/examples
"no-such-file" ; then \
4174 if
[ -f Makefile
]; then \
4175 if
$(MAKE
) distclean; then \
4189 srcdiroption
="--srcdir=."; \
4192 srcdiroption
="--srcdir=$${topdir}/examples"; \
4193 libsrcdir
="$$s/examples"; \
4195 rm -f no-such-file ||
: ; \
4196 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
4197 $(TARGET_CONFIGARGS
) $${srcdiroption} \
4198 --with-target-subdir
="$(TARGET_SUBDIR)" \
4204 .PHONY
: all-target-examples maybe-all-target-examples
4205 maybe-all-target-examples
:
4206 all-target-examples
:
4207 @r
=`${PWD}`; export r
; \
4208 s
=`cd $(srcdir); ${PWD}`; export s
; \
4210 (cd
$(TARGET_SUBDIR
)/examples
; \
4211 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
4213 # Dummy target for uncheckable module.
4214 .PHONY
: check-target-examples
4215 check-target-examples
:
4218 .PHONY
: install-target-examples maybe-install-target-examples
4219 maybe-install-target-examples
:
4220 # Dummy target for uninstallable.
4221 install-target-examples
:
4224 .PHONY
: configure-target-libffi maybe-configure-target-libffi
4225 maybe-configure-target-libffi
:
4226 configure-target-libffi
:
4227 @r
=`${PWD}`; export r
; \
4228 $(CC_FOR_TARGET
) --print-multi-lib
> $(TARGET_SUBDIR
)/libffi
/tmpmulti.out
2> /dev
/null
; \
4229 if
[ -s
$(TARGET_SUBDIR
)/libffi
/tmpmulti.out
]; then \
4230 if
[ -f
$(TARGET_SUBDIR
)/libffi
/multilib.out
]; then \
4231 if cmp
$(TARGET_SUBDIR
)/libffi
/multilib.out
$(TARGET_SUBDIR
)/libffi
/tmpmulti.out
> /dev
/null
; then \
4232 rm -f
$(TARGET_SUBDIR
)/libffi
/tmpmulti.out
; \
4234 echo
"Multilibs changed for libffi, reconfiguring"; \
4235 rm -f
$(TARGET_SUBDIR
)/libffi
/multilib.out
$(TARGET_SUBDIR
)/libffi
/Makefile
; \
4236 mv
$(TARGET_SUBDIR
)/libffi
/tmpmulti.out
$(TARGET_SUBDIR
)/libffi
/multilib.out
; \
4239 mv
$(TARGET_SUBDIR
)/libffi
/tmpmulti.out
$(TARGET_SUBDIR
)/libffi
/multilib.out
; \
4241 fi
; exit
0 # break command into two pieces
4242 @if
[ -d
$(srcdir)/libffi
]; then \
4243 [ -d
$(TARGET_SUBDIR
)/libffi
] || mkdir
$(TARGET_SUBDIR
)/libffi
;\
4244 r
=`${PWD}`; export r
; \
4245 s
=`cd $(srcdir); ${PWD}`; export s
; \
4247 AR
="$(AR_FOR_TARGET)"; export AR
; \
4248 AS
="$(AS_FOR_TARGET)"; export AS
; \
4249 CC
="$(CC_FOR_TARGET)"; export CC
; \
4250 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
4251 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
4252 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
4253 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
4254 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
4255 LD
="$(LD_FOR_TARGET)"; export LD
; \
4256 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
4257 NM
="$(NM_FOR_TARGET)"; export NM
; \
4258 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
4259 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
4260 echo Configuring in
$(TARGET_SUBDIR
)/libffi
; \
4261 cd
"$(TARGET_SUBDIR)/libffi" || exit
1; \
4263 /* |
[A-Za-z
]:[\\/]*) \
4264 topdir
=$(srcdir) ;; \
4266 case
"$(TARGET_SUBDIR)" in \
4267 .
) topdir
="../$(srcdir)" ;; \
4268 *) topdir
="../../$(srcdir)" ;; \
4271 if
[ "$(srcdir)" = "." ] ; then \
4272 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
4273 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libffi
"no-such-file" ; then \
4274 if
[ -f Makefile
]; then \
4275 if
$(MAKE
) distclean; then \
4289 srcdiroption
="--srcdir=."; \
4292 srcdiroption
="--srcdir=$${topdir}/libffi"; \
4293 libsrcdir
="$$s/libffi"; \
4295 rm -f no-such-file ||
: ; \
4296 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
4297 $(TARGET_CONFIGARGS
) $${srcdiroption} \
4298 --with-target-subdir
="$(TARGET_SUBDIR)" \
4304 .PHONY
: all-target-libffi maybe-all-target-libffi
4305 maybe-all-target-libffi
:
4307 @r
=`${PWD}`; export r
; \
4308 s
=`cd $(srcdir); ${PWD}`; export s
; \
4310 (cd
$(TARGET_SUBDIR
)/libffi
; \
4311 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
4313 .PHONY
: check-target-libffi
4314 check-target-libffi
:
4315 @r
=`${PWD}`; export r
; \
4316 s
=`cd $(srcdir); ${PWD}`; export s
; \
4318 (cd
$(TARGET_SUBDIR
)/libffi
; \
4319 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
4322 .PHONY
: install-target-libffi maybe-install-target-libffi
4323 maybe-install-target-libffi
:
4324 # Dummy target for uninstallable.
4325 install-target-libffi
:
4328 .PHONY
: configure-target-libjava maybe-configure-target-libjava
4329 maybe-configure-target-libjava
:
4330 configure-target-libjava
:
4331 @r
=`${PWD}`; export r
; \
4332 $(CC_FOR_TARGET
) --print-multi-lib
> $(TARGET_SUBDIR
)/libjava
/tmpmulti.out
2> /dev
/null
; \
4333 if
[ -s
$(TARGET_SUBDIR
)/libjava
/tmpmulti.out
]; then \
4334 if
[ -f
$(TARGET_SUBDIR
)/libjava
/multilib.out
]; then \
4335 if cmp
$(TARGET_SUBDIR
)/libjava
/multilib.out
$(TARGET_SUBDIR
)/libjava
/tmpmulti.out
> /dev
/null
; then \
4336 rm -f
$(TARGET_SUBDIR
)/libjava
/tmpmulti.out
; \
4338 echo
"Multilibs changed for libjava, reconfiguring"; \
4339 rm -f
$(TARGET_SUBDIR
)/libjava
/multilib.out
$(TARGET_SUBDIR
)/libjava
/Makefile
; \
4340 mv
$(TARGET_SUBDIR
)/libjava
/tmpmulti.out
$(TARGET_SUBDIR
)/libjava
/multilib.out
; \
4343 mv
$(TARGET_SUBDIR
)/libjava
/tmpmulti.out
$(TARGET_SUBDIR
)/libjava
/multilib.out
; \
4345 fi
; exit
0 # break command into two pieces
4346 @if
[ -d
$(srcdir)/libjava
]; then \
4347 [ -d
$(TARGET_SUBDIR
)/libjava
] || mkdir
$(TARGET_SUBDIR
)/libjava
;\
4348 r
=`${PWD}`; export r
; \
4349 s
=`cd $(srcdir); ${PWD}`; export s
; \
4351 AR
="$(AR_FOR_TARGET)"; export AR
; \
4352 AS
="$(AS_FOR_TARGET)"; export AS
; \
4353 CC
="$(CC_FOR_TARGET)"; export CC
; \
4354 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
4355 CXX_FOR_TARGET
="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET
; \
4356 CXX
="$(RAW_CXX_FOR_TARGET)"; export CXX
; \
4357 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
4358 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
4359 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
4360 LD
="$(LD_FOR_TARGET)"; export LD
; \
4361 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
4362 NM
="$(NM_FOR_TARGET)"; export NM
; \
4363 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
4364 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
4365 echo Configuring in
$(TARGET_SUBDIR
)/libjava
; \
4366 cd
"$(TARGET_SUBDIR)/libjava" || exit
1; \
4368 /* |
[A-Za-z
]:[\\/]*) \
4369 topdir
=$(srcdir) ;; \
4371 case
"$(TARGET_SUBDIR)" in \
4372 .
) topdir
="../$(srcdir)" ;; \
4373 *) topdir
="../../$(srcdir)" ;; \
4376 if
[ "$(srcdir)" = "." ] ; then \
4377 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
4378 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libjava
"no-such-file" ; then \
4379 if
[ -f Makefile
]; then \
4380 if
$(MAKE
) distclean; then \
4394 srcdiroption
="--srcdir=."; \
4397 srcdiroption
="--srcdir=$${topdir}/libjava"; \
4398 libsrcdir
="$$s/libjava"; \
4400 rm -f no-such-file ||
: ; \
4401 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
4402 $(TARGET_CONFIGARGS
) $${srcdiroption} \
4403 --with-target-subdir
="$(TARGET_SUBDIR)" \
4409 .PHONY
: all-target-libjava maybe-all-target-libjava
4410 maybe-all-target-libjava
:
4412 @r
=`${PWD}`; export r
; \
4413 s
=`cd $(srcdir); ${PWD}`; export s
; \
4415 (cd
$(TARGET_SUBDIR
)/libjava
; \
4416 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
4418 .PHONY
: check-target-libjava
4419 check-target-libjava
:
4420 @r
=`${PWD}`; export r
; \
4421 s
=`cd $(srcdir); ${PWD}`; export s
; \
4423 (cd
$(TARGET_SUBDIR
)/libjava
; \
4424 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
4427 .PHONY
: install-target-libjava maybe-install-target-libjava
4428 maybe-install-target-libjava
:
4429 install-target-libjava
: installdirs
4430 @r
=`${PWD}`; export r
; \
4431 s
=`cd $(srcdir); ${PWD}`; export s
; \
4433 (cd
$(TARGET_SUBDIR
)/libjava
; \
4434 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
4437 .PHONY
: configure-target-zlib maybe-configure-target-zlib
4438 maybe-configure-target-zlib
:
4439 configure-target-zlib
:
4440 @r
=`${PWD}`; export r
; \
4441 $(CC_FOR_TARGET
) --print-multi-lib
> $(TARGET_SUBDIR
)/zlib
/tmpmulti.out
2> /dev
/null
; \
4442 if
[ -s
$(TARGET_SUBDIR
)/zlib
/tmpmulti.out
]; then \
4443 if
[ -f
$(TARGET_SUBDIR
)/zlib
/multilib.out
]; then \
4444 if cmp
$(TARGET_SUBDIR
)/zlib
/multilib.out
$(TARGET_SUBDIR
)/zlib
/tmpmulti.out
> /dev
/null
; then \
4445 rm -f
$(TARGET_SUBDIR
)/zlib
/tmpmulti.out
; \
4447 echo
"Multilibs changed for zlib, reconfiguring"; \
4448 rm -f
$(TARGET_SUBDIR
)/zlib
/multilib.out
$(TARGET_SUBDIR
)/zlib
/Makefile
; \
4449 mv
$(TARGET_SUBDIR
)/zlib
/tmpmulti.out
$(TARGET_SUBDIR
)/zlib
/multilib.out
; \
4452 mv
$(TARGET_SUBDIR
)/zlib
/tmpmulti.out
$(TARGET_SUBDIR
)/zlib
/multilib.out
; \
4454 fi
; exit
0 # break command into two pieces
4455 @if
[ -d
$(srcdir)/zlib
]; then \
4456 [ -d
$(TARGET_SUBDIR
)/zlib
] || mkdir
$(TARGET_SUBDIR
)/zlib
;\
4457 r
=`${PWD}`; export r
; \
4458 s
=`cd $(srcdir); ${PWD}`; export s
; \
4460 AR
="$(AR_FOR_TARGET)"; export AR
; \
4461 AS
="$(AS_FOR_TARGET)"; export AS
; \
4462 CC
="$(CC_FOR_TARGET)"; export CC
; \
4463 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
4464 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
4465 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
4466 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
4467 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
4468 LD
="$(LD_FOR_TARGET)"; export LD
; \
4469 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
4470 NM
="$(NM_FOR_TARGET)"; export NM
; \
4471 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
4472 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
4473 echo Configuring in
$(TARGET_SUBDIR
)/zlib
; \
4474 cd
"$(TARGET_SUBDIR)/zlib" || exit
1; \
4476 /* |
[A-Za-z
]:[\\/]*) \
4477 topdir
=$(srcdir) ;; \
4479 case
"$(TARGET_SUBDIR)" in \
4480 .
) topdir
="../$(srcdir)" ;; \
4481 *) topdir
="../../$(srcdir)" ;; \
4484 if
[ "$(srcdir)" = "." ] ; then \
4485 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
4486 if
$(SHELL
) $$s/symlink-tree
$${topdir}/zlib
"no-such-file" ; then \
4487 if
[ -f Makefile
]; then \
4488 if
$(MAKE
) distclean; then \
4502 srcdiroption
="--srcdir=."; \
4505 srcdiroption
="--srcdir=$${topdir}/zlib"; \
4506 libsrcdir
="$$s/zlib"; \
4508 rm -f no-such-file ||
: ; \
4509 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
4510 $(TARGET_CONFIGARGS
) $${srcdiroption} \
4511 --with-target-subdir
="$(TARGET_SUBDIR)" \
4517 .PHONY
: all-target-zlib maybe-all-target-zlib
4518 maybe-all-target-zlib
:
4520 @r
=`${PWD}`; export r
; \
4521 s
=`cd $(srcdir); ${PWD}`; export s
; \
4523 (cd
$(TARGET_SUBDIR
)/zlib
; \
4524 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
4526 .PHONY
: check-target-zlib
4528 @r
=`${PWD}`; export r
; \
4529 s
=`cd $(srcdir); ${PWD}`; export s
; \
4531 (cd
$(TARGET_SUBDIR
)/zlib
; \
4532 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
4535 .PHONY
: install-target-zlib maybe-install-target-zlib
4536 maybe-install-target-zlib
:
4537 install-target-zlib
: installdirs
4538 @r
=`${PWD}`; export r
; \
4539 s
=`cd $(srcdir); ${PWD}`; export s
; \
4541 (cd
$(TARGET_SUBDIR
)/zlib
; \
4542 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
4545 .PHONY
: configure-target-boehm-gc maybe-configure-target-boehm-gc
4546 maybe-configure-target-boehm-gc
:
4547 configure-target-boehm-gc
:
4548 @r
=`${PWD}`; export r
; \
4549 $(CC_FOR_TARGET
) --print-multi-lib
> $(TARGET_SUBDIR
)/boehm-gc
/tmpmulti.out
2> /dev
/null
; \
4550 if
[ -s
$(TARGET_SUBDIR
)/boehm-gc
/tmpmulti.out
]; then \
4551 if
[ -f
$(TARGET_SUBDIR
)/boehm-gc
/multilib.out
]; then \
4552 if cmp
$(TARGET_SUBDIR
)/boehm-gc
/multilib.out
$(TARGET_SUBDIR
)/boehm-gc
/tmpmulti.out
> /dev
/null
; then \
4553 rm -f
$(TARGET_SUBDIR
)/boehm-gc
/tmpmulti.out
; \
4555 echo
"Multilibs changed for boehm-gc, reconfiguring"; \
4556 rm -f
$(TARGET_SUBDIR
)/boehm-gc
/multilib.out
$(TARGET_SUBDIR
)/boehm-gc
/Makefile
; \
4557 mv
$(TARGET_SUBDIR
)/boehm-gc
/tmpmulti.out
$(TARGET_SUBDIR
)/boehm-gc
/multilib.out
; \
4560 mv
$(TARGET_SUBDIR
)/boehm-gc
/tmpmulti.out
$(TARGET_SUBDIR
)/boehm-gc
/multilib.out
; \
4562 fi
; exit
0 # break command into two pieces
4563 @if
[ -d
$(srcdir)/boehm-gc
]; then \
4564 [ -d
$(TARGET_SUBDIR
)/boehm-gc
] || mkdir
$(TARGET_SUBDIR
)/boehm-gc
;\
4565 r
=`${PWD}`; export r
; \
4566 s
=`cd $(srcdir); ${PWD}`; export s
; \
4568 AR
="$(AR_FOR_TARGET)"; export AR
; \
4569 AS
="$(AS_FOR_TARGET)"; export AS
; \
4570 CC
="$(CC_FOR_TARGET)"; export CC
; \
4571 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
4572 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
4573 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
4574 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
4575 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
4576 LD
="$(LD_FOR_TARGET)"; export LD
; \
4577 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
4578 NM
="$(NM_FOR_TARGET)"; export NM
; \
4579 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
4580 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
4581 echo Configuring in
$(TARGET_SUBDIR
)/boehm-gc
; \
4582 cd
"$(TARGET_SUBDIR)/boehm-gc" || exit
1; \
4584 /* |
[A-Za-z
]:[\\/]*) \
4585 topdir
=$(srcdir) ;; \
4587 case
"$(TARGET_SUBDIR)" in \
4588 .
) topdir
="../$(srcdir)" ;; \
4589 *) topdir
="../../$(srcdir)" ;; \
4592 if
[ "$(srcdir)" = "." ] ; then \
4593 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
4594 if
$(SHELL
) $$s/symlink-tree
$${topdir}/boehm-gc
"no-such-file" ; then \
4595 if
[ -f Makefile
]; then \
4596 if
$(MAKE
) distclean; then \
4610 srcdiroption
="--srcdir=."; \
4613 srcdiroption
="--srcdir=$${topdir}/boehm-gc"; \
4614 libsrcdir
="$$s/boehm-gc"; \
4616 rm -f no-such-file ||
: ; \
4617 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
4618 $(TARGET_CONFIGARGS
) $${srcdiroption} \
4619 --with-target-subdir
="$(TARGET_SUBDIR)" \
4625 .PHONY
: all-target-boehm-gc maybe-all-target-boehm-gc
4626 maybe-all-target-boehm-gc
:
4627 all-target-boehm-gc
:
4628 @r
=`${PWD}`; export r
; \
4629 s
=`cd $(srcdir); ${PWD}`; export s
; \
4631 (cd
$(TARGET_SUBDIR
)/boehm-gc
; \
4632 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
4634 .PHONY
: check-target-boehm-gc
4635 check-target-boehm-gc
:
4636 @r
=`${PWD}`; export r
; \
4637 s
=`cd $(srcdir); ${PWD}`; export s
; \
4639 (cd
$(TARGET_SUBDIR
)/boehm-gc
; \
4640 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
4643 .PHONY
: install-target-boehm-gc maybe-install-target-boehm-gc
4644 maybe-install-target-boehm-gc
:
4645 install-target-boehm-gc
: installdirs
4646 @r
=`${PWD}`; export r
; \
4647 s
=`cd $(srcdir); ${PWD}`; export s
; \
4649 (cd
$(TARGET_SUBDIR
)/boehm-gc
; \
4650 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
4653 .PHONY
: configure-target-qthreads maybe-configure-target-qthreads
4654 maybe-configure-target-qthreads
:
4655 configure-target-qthreads
:
4656 @r
=`${PWD}`; export r
; \
4657 $(CC_FOR_TARGET
) --print-multi-lib
> $(TARGET_SUBDIR
)/qthreads
/tmpmulti.out
2> /dev
/null
; \
4658 if
[ -s
$(TARGET_SUBDIR
)/qthreads
/tmpmulti.out
]; then \
4659 if
[ -f
$(TARGET_SUBDIR
)/qthreads
/multilib.out
]; then \
4660 if cmp
$(TARGET_SUBDIR
)/qthreads
/multilib.out
$(TARGET_SUBDIR
)/qthreads
/tmpmulti.out
> /dev
/null
; then \
4661 rm -f
$(TARGET_SUBDIR
)/qthreads
/tmpmulti.out
; \
4663 echo
"Multilibs changed for qthreads, reconfiguring"; \
4664 rm -f
$(TARGET_SUBDIR
)/qthreads
/multilib.out
$(TARGET_SUBDIR
)/qthreads
/Makefile
; \
4665 mv
$(TARGET_SUBDIR
)/qthreads
/tmpmulti.out
$(TARGET_SUBDIR
)/qthreads
/multilib.out
; \
4668 mv
$(TARGET_SUBDIR
)/qthreads
/tmpmulti.out
$(TARGET_SUBDIR
)/qthreads
/multilib.out
; \
4670 fi
; exit
0 # break command into two pieces
4671 @if
[ -d
$(srcdir)/qthreads
]; then \
4672 [ -d
$(TARGET_SUBDIR
)/qthreads
] || mkdir
$(TARGET_SUBDIR
)/qthreads
;\
4673 r
=`${PWD}`; export r
; \
4674 s
=`cd $(srcdir); ${PWD}`; export s
; \
4676 AR
="$(AR_FOR_TARGET)"; export AR
; \
4677 AS
="$(AS_FOR_TARGET)"; export AS
; \
4678 CC
="$(CC_FOR_TARGET)"; export CC
; \
4679 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
4680 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
4681 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
4682 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
4683 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
4684 LD
="$(LD_FOR_TARGET)"; export LD
; \
4685 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
4686 NM
="$(NM_FOR_TARGET)"; export NM
; \
4687 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
4688 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
4689 echo Configuring in
$(TARGET_SUBDIR
)/qthreads
; \
4690 cd
"$(TARGET_SUBDIR)/qthreads" || exit
1; \
4692 /* |
[A-Za-z
]:[\\/]*) \
4693 topdir
=$(srcdir) ;; \
4695 case
"$(TARGET_SUBDIR)" in \
4696 .
) topdir
="../$(srcdir)" ;; \
4697 *) topdir
="../../$(srcdir)" ;; \
4700 if
[ "$(srcdir)" = "." ] ; then \
4701 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
4702 if
$(SHELL
) $$s/symlink-tree
$${topdir}/qthreads
"no-such-file" ; then \
4703 if
[ -f Makefile
]; then \
4704 if
$(MAKE
) distclean; then \
4718 srcdiroption
="--srcdir=."; \
4721 srcdiroption
="--srcdir=$${topdir}/qthreads"; \
4722 libsrcdir
="$$s/qthreads"; \
4724 rm -f no-such-file ||
: ; \
4725 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
4726 $(TARGET_CONFIGARGS
) $${srcdiroption} \
4727 --with-target-subdir
="$(TARGET_SUBDIR)" \
4733 .PHONY
: all-target-qthreads maybe-all-target-qthreads
4734 maybe-all-target-qthreads
:
4735 all-target-qthreads
:
4736 @r
=`${PWD}`; export r
; \
4737 s
=`cd $(srcdir); ${PWD}`; export s
; \
4739 (cd
$(TARGET_SUBDIR
)/qthreads
; \
4740 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
4742 .PHONY
: check-target-qthreads
4743 check-target-qthreads
:
4744 @r
=`${PWD}`; export r
; \
4745 s
=`cd $(srcdir); ${PWD}`; export s
; \
4747 (cd
$(TARGET_SUBDIR
)/qthreads
; \
4748 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
4751 .PHONY
: install-target-qthreads maybe-install-target-qthreads
4752 maybe-install-target-qthreads
:
4753 install-target-qthreads
: installdirs
4754 @r
=`${PWD}`; export r
; \
4755 s
=`cd $(srcdir); ${PWD}`; export s
; \
4757 (cd
$(TARGET_SUBDIR
)/qthreads
; \
4758 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
4761 .PHONY
: configure-target-rda maybe-configure-target-rda
4762 maybe-configure-target-rda
:
4763 configure-target-rda
:
4764 @r
=`${PWD}`; export r
; \
4765 $(CC_FOR_TARGET
) --print-multi-lib
> $(TARGET_SUBDIR
)/rda
/tmpmulti.out
2> /dev
/null
; \
4766 if
[ -s
$(TARGET_SUBDIR
)/rda
/tmpmulti.out
]; then \
4767 if
[ -f
$(TARGET_SUBDIR
)/rda
/multilib.out
]; then \
4768 if cmp
$(TARGET_SUBDIR
)/rda
/multilib.out
$(TARGET_SUBDIR
)/rda
/tmpmulti.out
> /dev
/null
; then \
4769 rm -f
$(TARGET_SUBDIR
)/rda
/tmpmulti.out
; \
4771 echo
"Multilibs changed for rda, reconfiguring"; \
4772 rm -f
$(TARGET_SUBDIR
)/rda
/multilib.out
$(TARGET_SUBDIR
)/rda
/Makefile
; \
4773 mv
$(TARGET_SUBDIR
)/rda
/tmpmulti.out
$(TARGET_SUBDIR
)/rda
/multilib.out
; \
4776 mv
$(TARGET_SUBDIR
)/rda
/tmpmulti.out
$(TARGET_SUBDIR
)/rda
/multilib.out
; \
4778 fi
; exit
0 # break command into two pieces
4779 @if
[ -d
$(srcdir)/rda
]; then \
4780 [ -d
$(TARGET_SUBDIR
)/rda
] || mkdir
$(TARGET_SUBDIR
)/rda
;\
4781 r
=`${PWD}`; export r
; \
4782 s
=`cd $(srcdir); ${PWD}`; export s
; \
4784 AR
="$(AR_FOR_TARGET)"; export AR
; \
4785 AS
="$(AS_FOR_TARGET)"; export AS
; \
4786 CC
="$(CC_FOR_TARGET)"; export CC
; \
4787 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
4788 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
4789 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
4790 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
4791 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
4792 LD
="$(LD_FOR_TARGET)"; export LD
; \
4793 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
4794 NM
="$(NM_FOR_TARGET)"; export NM
; \
4795 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
4796 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
4797 echo Configuring in
$(TARGET_SUBDIR
)/rda
; \
4798 cd
"$(TARGET_SUBDIR)/rda" || exit
1; \
4800 /* |
[A-Za-z
]:[\\/]*) \
4801 topdir
=$(srcdir) ;; \
4803 case
"$(TARGET_SUBDIR)" in \
4804 .
) topdir
="../$(srcdir)" ;; \
4805 *) topdir
="../../$(srcdir)" ;; \
4808 if
[ "$(srcdir)" = "." ] ; then \
4809 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
4810 if
$(SHELL
) $$s/symlink-tree
$${topdir}/rda
"no-such-file" ; then \
4811 if
[ -f Makefile
]; then \
4812 if
$(MAKE
) distclean; then \
4826 srcdiroption
="--srcdir=."; \
4829 srcdiroption
="--srcdir=$${topdir}/rda"; \
4830 libsrcdir
="$$s/rda"; \
4832 rm -f no-such-file ||
: ; \
4833 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
4834 $(TARGET_CONFIGARGS
) $${srcdiroption} \
4835 --with-target-subdir
="$(TARGET_SUBDIR)" \
4841 .PHONY
: all-target-rda maybe-all-target-rda
4842 maybe-all-target-rda
:
4844 @r
=`${PWD}`; export r
; \
4845 s
=`cd $(srcdir); ${PWD}`; export s
; \
4847 (cd
$(TARGET_SUBDIR
)/rda
; \
4848 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
4850 .PHONY
: check-target-rda
4852 @r
=`${PWD}`; export r
; \
4853 s
=`cd $(srcdir); ${PWD}`; export s
; \
4855 (cd
$(TARGET_SUBDIR
)/rda
; \
4856 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
4859 .PHONY
: install-target-rda maybe-install-target-rda
4860 maybe-install-target-rda
:
4861 install-target-rda
: installdirs
4862 @r
=`${PWD}`; export r
; \
4863 s
=`cd $(srcdir); ${PWD}`; export s
; \
4865 (cd
$(TARGET_SUBDIR
)/rda
; \
4866 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
4870 # gcc is the only module which uses GCC_FLAGS_TO_PASS.
4871 .PHONY
: all-gcc maybe-all-gcc
4874 @if
[ -f .
/gcc
/Makefile
] ; then \
4875 r
=`${PWD}`; export r
; \
4876 s
=`cd $(srcdir); ${PWD}`; export s
; \
4878 (cd gcc
; $(MAKE
) $(GCC_FLAGS_TO_PASS
) all); \
4883 # Building GCC uses some tools for rebuilding "source" files
4884 # like texinfo, bison/byacc, etc. So we must depend on those.
4886 # While building GCC, it may be necessary to run various target
4887 # programs like the assembler, linker, etc. So we depend on
4890 # In theory, on an SMP all those dependencies can be resolved
4893 .PHONY
: bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
4894 bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
: all-bootstrap
4895 @r
=`${PWD}`; export r
; \
4896 s
=`cd $(srcdir); ${PWD}`; export s
; \
4898 echo
"Bootstrapping the compiler"; \
4899 cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) $@
4900 @r
=`${PWD}`; export r
; \
4901 s
=`cd $(srcdir); ${PWD}`; export s
; \
4903 *bootstrap4-lean
) \
4904 msg
="Comparing stage3 and stage4 of the compiler"; \
4905 compare
=compare3-lean
;; \
4906 *bootstrap4
) msg
="Comparing stage3 and stage4 of the compiler"; \
4907 compare
=compare3
;; \
4908 *-lean
) msg
="Comparing stage2 and stage3 of the compiler"; \
4909 compare
=compare-lean
;; \
4910 * ) msg
="Comparing stage2 and stage3 of the compiler"; \
4911 compare
=compare
;; \
4915 cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) $$compare
4916 @r
=`${PWD}`; export r
; \
4917 s
=`cd $(srcdir); ${PWD}` ; export s
; \
4919 echo
"Building runtime libraries"; \
4920 $(MAKE
) $(BASE_FLAGS_TO_PASS
) $(RECURSE_FLAGS
) all
4923 cross
: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
4924 @r
=`${PWD}`; export r
; \
4925 s
=`cd $(srcdir); ${PWD}`; export s
; \
4927 echo
"Building the C and C++ compiler"; \
4928 cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) LANGUAGES
="c c++"
4929 @r
=`${PWD}`; export r
; \
4930 s
=`cd $(srcdir); ${PWD}` ; export s
; \
4932 echo
"Building runtime libraries"; \
4933 $(MAKE
) $(BASE_FLAGS_TO_PASS
) $(RECURSE_FLAGS
) \
4934 LANGUAGES
="c c++" all
4938 @if
[ -f .
/gcc
/Makefile
] ; then \
4939 r
=`${PWD}`; export r
; \
4940 s
=`cd $(srcdir); ${PWD}`; export s
; \
4942 (cd gcc
; $(MAKE
) $(GCC_FLAGS_TO_PASS
) check); \
4949 @if
[ -f .
/gcc
/Makefile
] ; then \
4950 r
=`${PWD}`; export r
; \
4951 s
=`cd $(srcdir); ${PWD}`; export s
; \
4953 (cd gcc
; $(MAKE
) $(GCC_FLAGS_TO_PASS
) check-c
++); \
4954 $(MAKE
) check-target-libstdc
++-v3
; \
4959 .PHONY
: install-gcc maybe-install-gcc
4962 @if
[ -f .
/gcc
/Makefile
] ; then \
4963 r
=`${PWD}`; export r
; \
4964 s
=`cd $(srcdir); ${PWD}`; export s
; \
4966 (cd gcc
; $(MAKE
) $(GCC_FLAGS_TO_PASS
) install); \
4971 ALL_GCC
= maybe-all-gcc
4972 ALL_GCC_C
= $(ALL_GCC
) maybe-all-target-newlib maybe-all-target-libgloss
4973 ALL_GCC_CXX
= $(ALL_GCC_C
) maybe-all-target-libstdc
++-v3
4975 # This is a list of inter-dependencies among modules.
4976 all-autoconf
: maybe-all-m4 maybe-all-texinfo
4977 all-automake
: maybe-all-m4 maybe-all-texinfo
4978 all-bfd
: maybe-all-libiberty maybe-all-intl
4979 all-binutils
: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-flex maybe-all-bison maybe-all-byacc maybe-all-intl
4980 all-bison
: maybe-all-texinfo
4981 configure-target-boehm-gc
: $(ALL_GCC_C
) maybe-configure-target-qthreads
4982 all-dejagnu
: maybe-all-tcl maybe-all-expect maybe-all-tk
4983 all-diff
: maybe-all-libiberty
4984 configure-target-examples
: $(ALL_GCC_C
)
4985 all-expect
: maybe-all-tcl maybe-all-tk
4986 all-fileutils
: maybe-all-libiberty
4987 all-flex
: maybe-all-libiberty maybe-all-bison maybe-all-byacc
4988 all-gas
: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-intl
4989 all-gcc
: maybe-all-libiberty maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib
4990 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
4992 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
)
4993 configure-target-gperf
: $(ALL_GCC_CXX
)
4994 all-target-gperf
: maybe-all-target-libiberty maybe-all-target-libstdc
++-v3
4995 all-gprof
: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-intl
4996 all-grep
: maybe-all-libiberty
4997 all-gzip
: maybe-all-libiberty
4998 all-hello
: maybe-all-libiberty
4999 all-itcl
: maybe-all-tcl maybe-all-tk
5000 all-ld
: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-intl
5001 configure-target-libgloss
: $(ALL_GCC
)
5002 all-target-libgloss
: maybe-configure-target-newlib
5003 all-libgui
: maybe-all-tcl maybe-all-tk maybe-all-itcl
5004 configure-target-libffi
: $(ALL_GCC_C
)
5005 configure-target-libjava
: $(ALL_GCC_C
) maybe-configure-target-zlib maybe-configure-target-boehm-gc maybe-configure-target-qthreads maybe-configure-target-libffi
5006 all-target-libjava
: maybe-all-fastjar maybe-all-target-zlib maybe-all-target-boehm-gc maybe-all-target-qthreads maybe-all-target-libffi
5007 configure-target-libstdc
++-v3
: $(ALL_GCC_C
)
5008 all-target-libstdc
++-v3
: maybe-all-target-libiberty
5009 configure-target-libf2c
: $(ALL_GCC_C
)
5010 all-target-libf2c
: maybe-all-target-libiberty
5011 configure-target-libobjc
: $(ALL_GCC_C
)
5012 all-target-libobjc
: maybe-all-target-libiberty
5013 all-m4
: maybe-all-libiberty maybe-all-texinfo
5014 all-make
: maybe-all-libiberty
5015 configure-target-newlib
: $(ALL_GCC
)
5016 configure-target-libtermcap
: $(ALL_GCC_C
)
5017 all-opcodes
: maybe-all-bfd maybe-all-libiberty
5018 all-patch
: maybe-all-libiberty
5019 all-prms
: maybe-all-libiberty
5020 configure-target-qthreads
: $(ALL_GCC_C
)
5021 all-recode
: maybe-all-libiberty
5022 all-sed
: maybe-all-libiberty
5023 all-send-pr
: maybe-all-prms
5024 all-sid
: maybe-all-tcl maybe-all-tk
5025 all-sim
: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline
5026 all-snavigator
: maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-tix maybe-all-db maybe-all-grep maybe-all-libgui
5027 all-tar
: maybe-all-libiberty
5028 all-tclX
: maybe-all-tcl maybe-all-tk
5029 all-tk
: maybe-all-tcl
5030 all-texinfo
: maybe-all-libiberty
5031 all-tix
: maybe-all-tcl maybe-all-tk
5032 configure-target-winsup
: $(ALL_GCC_C
)
5033 all-target-winsup
: maybe-all-target-libiberty maybe-all-target-libtermcap
5034 all-uudecode
: maybe-all-libiberty
5035 configure-target-zlib
: $(ALL_GCC_C
)
5036 all-fastjar
: maybe-all-zlib maybe-all-libiberty
5037 configure-target-fastjar
: maybe-configure-target-zlib
5038 all-target-fastjar
: maybe-all-target-zlib maybe-all-target-libiberty
5039 configure-target-libiberty
: $(ALL_GCC_C
)
5040 install-gdb
: maybe-install-tcl maybe-install-tk maybe-install-itcl maybe-install-tix maybe-install-libgui
5041 install-sid
: maybe-install-tcl maybe-install-tk
5043 # We put install-opcodes before install-binutils because the installed
5044 # binutils might be on PATH, and they might need the shared opcodes
5046 install-binutils
: maybe-install-opcodes
5048 # We put install-tcl before install-itcl because itcl wants to run a
5049 # program on installation which uses the Tcl libraries.
5050 install-itcl
: maybe-install-tcl
5052 # This is a slightly kludgy method of getting dependencies on
5053 # all-build-libiberty correct; it would be better to build it every time.
5054 all-gcc
: maybe-all-build-libiberty
5056 # Dependencies of all-build-foo on configure-build-foo.
5057 all-build-libiberty
: configure-build-libiberty
5060 # Dependencies of all-target-foo on configure-target-foo.
5061 all-target-libstdc
++-v3
: configure-target-libstdc
++-v3
5062 all-target-newlib
: configure-target-newlib
5063 all-target-libf2c
: configure-target-libf2c
5064 all-target-libobjc
: configure-target-libobjc
5065 all-target-libtermcap
: configure-target-libtermcap
5066 all-target-winsup
: configure-target-winsup
5067 all-target-libgloss
: configure-target-libgloss
5068 all-target-libiberty
: configure-target-libiberty
5069 all-target-gperf
: configure-target-gperf
5070 all-target-examples
: configure-target-examples
5071 all-target-libffi
: configure-target-libffi
5072 all-target-libjava
: configure-target-libjava
5073 all-target-zlib
: configure-target-zlib
5074 all-target-boehm-gc
: configure-target-boehm-gc
5075 all-target-qthreads
: configure-target-qthreads
5076 all-target-rda
: configure-target-rda
5079 # Dependencies of maybe-foo on foo. These are used because, for example,
5080 # all-gcc only depends on all-gas if gas is present and being configured.
5081 @maybe_dependencies@
5083 ### other supporting targets
5086 $(DESTDIR
)$(prefix) \
5087 $(DESTDIR
)$(exec_prefix)
5089 installdirs: mkinstalldirs
5090 $(SHELL
) $(srcdir)/mkinstalldirs
$(MAKEDIRS
)
5092 dir.
info: do-install-info
5093 if
[ -f
$(srcdir)/texinfo
/gen-info-dir
] ; then \
5094 $(srcdir)/texinfo
/gen-info-dir
$(infodir) $(srcdir)/texinfo
/dir.info-template
> dir.
info.new
; \
5095 mv
-f
dir.
info.new
dir.
info ; \
5100 @echo
"Building a full distribution of this tree isn't done"
5101 @echo
"via 'make dist'. Check out the etc/ subdirectory"
5105 # Right now this just builds TAGS in each subdirectory. emacs19 has the
5106 # ability to use several tags files at once, so there is probably no need
5107 # to combine them into one big TAGS file (like CVS 1.3 does). We could
5108 # (if we felt like it) have this Makefile write a piece of elisp which
5109 # the user could load to tell emacs19 where all the TAGS files we just
5113 # Rebuilding Makefile.in, using autogen.
5114 $(srcdir)/Makefile.in
: # $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
5115 cd
$(srcdir) && autogen Makefile.def
5117 # with the gnu make, this is done automatically.
5119 host_makefile_frag
=@host_makefile_frag@
5120 target_makefile_frag
=@target_makefile_frag@
5122 Makefile
: Makefile.in configure.in
$(host_makefile_frag
) $(target_makefile_frag
) $(gcc_version_trigger
)
5123 $(SHELL
) .
/config.status
5130 # end of Makefile.in