| 1 | #
|
|---|
| 2 | # Makefile for directory with subdirs to build.
|
|---|
| 3 | # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
|
|---|
| 4 | # 1999, 2000, 2001 Free Software Foundation
|
|---|
| 5 | #
|
|---|
| 6 | # This file is free software; you can redistribute it and/or modify
|
|---|
| 7 | # it under the terms of the GNU General Public License as published by
|
|---|
| 8 | # the Free Software Foundation; either version 2 of the License, or
|
|---|
| 9 | # (at your option) any later version.
|
|---|
| 10 | #
|
|---|
| 11 | # This program is distributed in the hope that it will be useful,
|
|---|
| 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|---|
| 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|---|
| 14 | # GNU General Public License for more details.
|
|---|
| 15 | #
|
|---|
| 16 | # You should have received a copy of the GNU General Public License
|
|---|
| 17 | # along with this program; if not, write to the Free Software
|
|---|
| 18 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|---|
| 19 | #
|
|---|
| 20 |
|
|---|
| 21 | # Tell GNU make 3.79 not to run the top level in parallel. This
|
|---|
| 22 | # prevents contention for $builddir/$target/config.cache, as well
|
|---|
| 23 | # as minimizing scatter in file system caches.
|
|---|
| 24 | NOTPARALLEL = .NOTPARALLEL
|
|---|
| 25 | $(NOTPARALLEL):
|
|---|
| 26 |
|
|---|
| 27 | srcdir = .
|
|---|
| 28 |
|
|---|
| 29 | prefix = /usr/local
|
|---|
| 30 | exec_prefix = $(prefix)
|
|---|
| 31 |
|
|---|
| 32 | bindir=${exec_prefix}/bin
|
|---|
| 33 | sbindir=${exec_prefix}/sbin
|
|---|
| 34 | libexecdir=${exec_prefix}/libexec
|
|---|
| 35 | datadir=${prefix}/share
|
|---|
| 36 | sysconfdir=${prefix}/etc
|
|---|
| 37 | sharedstatedir=${prefix}/com
|
|---|
| 38 | localstatedir=${prefix}/var
|
|---|
| 39 | libdir=${exec_prefix}/lib
|
|---|
| 40 | includedir=${prefix}/include
|
|---|
| 41 | oldincludedir=/usr/include
|
|---|
| 42 | infodir=${prefix}/info
|
|---|
| 43 | mandir=${prefix}/man
|
|---|
| 44 | gxx_include_dir=${includedir}/g++
|
|---|
| 45 |
|
|---|
| 46 | tooldir = $(exec_prefix)/$(target_alias)
|
|---|
| 47 | build_tooldir = $(exec_prefix)/$(target_alias)
|
|---|
| 48 |
|
|---|
| 49 | program_transform_name =
|
|---|
| 50 |
|
|---|
| 51 | man1dir = $(mandir)/man1
|
|---|
| 52 | man2dir = $(mandir)/man2
|
|---|
| 53 | man3dir = $(mandir)/man3
|
|---|
| 54 | man4dir = $(mandir)/man4
|
|---|
| 55 | man5dir = $(mandir)/man5
|
|---|
| 56 | man6dir = $(mandir)/man6
|
|---|
| 57 | man7dir = $(mandir)/man7
|
|---|
| 58 | man8dir = $(mandir)/man8
|
|---|
| 59 | man9dir = $(mandir)/man9
|
|---|
| 60 | infodir = $(prefix)/info
|
|---|
| 61 | includedir = $(prefix)/include
|
|---|
| 62 | # Directory in which the compiler finds executables, libraries, etc.
|
|---|
| 63 | libsubdir = $(libdir)/gcc-lib/$(target_alias)/$(gcc_version)
|
|---|
| 64 | GDB_NLM_DEPS =
|
|---|
| 65 |
|
|---|
| 66 | SHELL = /bin/sh
|
|---|
| 67 |
|
|---|
| 68 | # INSTALL_PROGRAM_ARGS is changed by configure.in to use -x for a
|
|---|
| 69 | # cygwin host.
|
|---|
| 70 | INSTALL_PROGRAM_ARGS =
|
|---|
| 71 |
|
|---|
| 72 | INSTALL = $(SHELL) $$s/install-sh -c
|
|---|
| 73 | INSTALL_PROGRAM = $(INSTALL) $(INSTALL_PROGRAM_ARGS)
|
|---|
| 74 | INSTALL_SCRIPT = $(INSTALL)
|
|---|
| 75 | INSTALL_DATA = $(INSTALL) -m 644
|
|---|
| 76 |
|
|---|
| 77 | INSTALL_DOSREL = install-dosrel-fake
|
|---|
| 78 |
|
|---|
| 79 | AS = as
|
|---|
| 80 | AR = ar
|
|---|
| 81 | AR_FLAGS = rc
|
|---|
| 82 | CC = cc
|
|---|
| 83 |
|
|---|
| 84 | # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
|
|---|
| 85 | # here so that they can be overridden by Makefile fragments.
|
|---|
| 86 | HOST_CC = $(CC_FOR_BUILD)
|
|---|
| 87 | HOST_PREFIX =
|
|---|
| 88 | HOST_PREFIX_1 = loser-
|
|---|
| 89 |
|
|---|
| 90 | # These flag values are normally overridden by the configure script.
|
|---|
| 91 | CFLAGS = -g
|
|---|
| 92 | CXXFLAGS = -g -O2
|
|---|
| 93 |
|
|---|
| 94 | LDFLAGS =
|
|---|
| 95 | LIBCFLAGS = $(CFLAGS)
|
|---|
| 96 | CFLAGS_FOR_BUILD = $(CFLAGS)
|
|---|
| 97 | # During gcc bootstrap, if we use some random cc for stage1 then
|
|---|
| 98 | # CFLAGS will be just -g. We want to ensure that TARGET libraries
|
|---|
| 99 | # (which we know are built with gcc) are built with optimizations so
|
|---|
| 100 | # prepend -O2 when setting CFLAGS_FOR_TARGET.
|
|---|
| 101 | CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
|
|---|
| 102 | LDFLAGS_FOR_TARGET =
|
|---|
| 103 | LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
|
|---|
| 104 | PICFLAG =
|
|---|
| 105 | PICFLAG_FOR_TARGET =
|
|---|
| 106 |
|
|---|
| 107 | CXX = c++
|
|---|
| 108 |
|
|---|
| 109 | # Use -O2 to stress test the compiler.
|
|---|
| 110 | LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
|
|---|
| 111 | CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
|
|---|
| 112 | LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
|
|---|
| 113 |
|
|---|
| 114 | DLLTOOL = dlltool
|
|---|
| 115 | WINDRES = windres
|
|---|
| 116 |
|
|---|
| 117 | NM = nm
|
|---|
| 118 |
|
|---|
| 119 | LD = ld
|
|---|
| 120 |
|
|---|
| 121 | BZIPPROG = bzip2
|
|---|
| 122 | MD5PROG = md5sum
|
|---|
| 123 |
|
|---|
| 124 | # These values are substituted by configure.
|
|---|
| 125 | DEFAULT_YACC = yacc
|
|---|
| 126 | DEFAULT_LEX = lex
|
|---|
| 127 | DEFAULT_M4 = m4
|
|---|
| 128 |
|
|---|
| 129 | BISON = `if [ -f $$r/bison/bison ] ; then \
|
|---|
| 130 | echo $$r/bison/bison -L $$s/bison/ ; \
|
|---|
| 131 | else \
|
|---|
| 132 | echo bison ; \
|
|---|
| 133 | fi`
|
|---|
| 134 |
|
|---|
| 135 | YACC = `if [ -f $$r/bison/bison ] ; then \
|
|---|
| 136 | echo $$r/bison/bison -y -L $$s/bison/ ; \
|
|---|
| 137 | elif [ -f $$r/byacc/byacc ] ; then \
|
|---|
| 138 | echo $$r/byacc/byacc ; \
|
|---|
| 139 | else \
|
|---|
| 140 | echo ${DEFAULT_YACC} ; \
|
|---|
| 141 | fi`
|
|---|
| 142 |
|
|---|
| 143 | LEX = `if [ -f $$r/flex/flex ] ; \
|
|---|
| 144 | then echo $$r/flex/flex ; \
|
|---|
| 145 | else echo ${DEFAULT_LEX} ; fi`
|
|---|
| 146 |
|
|---|
| 147 | M4 = `if [ -f $$r/m4/m4 ] ; \
|
|---|
| 148 | then echo $$r/m4/m4 ; \
|
|---|
| 149 | else echo ${DEFAULT_M4} ; fi`
|
|---|
| 150 |
|
|---|
| 151 | # For an installed makeinfo, we require it to be from texinfo 4 or
|
|---|
| 152 | # higher, else we use the "missing" dummy.
|
|---|
| 153 | MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
|
|---|
| 154 | then echo $$r/texinfo/makeinfo/makeinfo ; \
|
|---|
| 155 | else if (makeinfo --version \
|
|---|
| 156 | | egrep 'texinfo[^0-9]*([1-3][0-9]|[4-9])') >/dev/null 2>&1; \
|
|---|
| 157 | then echo makeinfo; else echo $$s/missing makeinfo; fi; fi`
|
|---|
| 158 |
|
|---|
| 159 | # This just becomes part of the MAKEINFO definition passed down to
|
|---|
| 160 | # sub-makes. It lets flags be given on the command line while still
|
|---|
| 161 | # using the makeinfo from the object tree.
|
|---|
| 162 | MAKEINFOFLAGS =
|
|---|
| 163 |
|
|---|
| 164 | EXPECT = `if [ -f $$r/expect/expect ] ; \
|
|---|
| 165 | then echo $$r/expect/expect ; \
|
|---|
| 166 | else echo expect ; fi`
|
|---|
| 167 |
|
|---|
| 168 | RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
|
|---|
| 169 | then echo $$s/dejagnu/runtest ; \
|
|---|
| 170 | else echo runtest ; fi`
|
|---|
| 171 |
|
|---|
| 172 |
|
|---|
| 173 | # compilers to use to create programs which must be run in the build
|
|---|
| 174 | # environment.
|
|---|
| 175 | CC_FOR_BUILD = $(CC)
|
|---|
| 176 | CXX_FOR_BUILD = $(CXX)
|
|---|
| 177 |
|
|---|
| 178 | SUBDIRS = "this is set via configure, don't edit this"
|
|---|
| 179 | OTHERS =
|
|---|
| 180 |
|
|---|
| 181 | # This is set by the configure script to the list of directories which
|
|---|
| 182 | # should be built using the target tools.
|
|---|
| 183 | TARGET_CONFIGDIRS = libiberty libgloss $(SPECIAL_LIBS) newlib librx winsup opcodes bsp libstub cygmon libf2c libobjc
|
|---|
| 184 |
|
|---|
| 185 | # Target libraries are put under this directory:
|
|---|
| 186 | # Changed by configure to $(target_alias) if cross.
|
|---|
| 187 | TARGET_SUBDIR = .
|
|---|
| 188 |
|
|---|
| 189 | BUILD_CONFIGDIRS = libiberty
|
|---|
| 190 | BUILD_SUBDIR = .
|
|---|
| 191 |
|
|---|
| 192 | # This is set by the configure script to the arguments to use when configuring
|
|---|
| 193 | # directories built for the target.
|
|---|
| 194 | TARGET_CONFIGARGS =
|
|---|
| 195 |
|
|---|
| 196 | # This is set by the configure script to the arguments to use when configuring
|
|---|
| 197 | # directories built for the build system.
|
|---|
| 198 | BUILD_CONFIGARGS =
|
|---|
| 199 |
|
|---|
| 200 | # This is set by configure to REALLY_SET_LIB_PATH if --enable-shared
|
|---|
| 201 | # was used.
|
|---|
| 202 | SET_LIB_PATH =
|
|---|
| 203 |
|
|---|
| 204 | # This is the name of the environment variable used for the path to
|
|---|
| 205 | # the libraries. This may be changed by configure.in.
|
|---|
| 206 | RPATH_ENVVAR = LD_LIBRARY_PATH
|
|---|
| 207 |
|
|---|
| 208 | # This is the list of directories that may be needed in RPATH_ENVVAR
|
|---|
| 209 | # so that programs built for the host machine work.
|
|---|
| 210 | HOST_LIB_PATH = $$r/bfd:$$r/opcodes
|
|---|
| 211 |
|
|---|
| 212 | # This is the list of directories that may be needed in RPATH_ENVVAR
|
|---|
| 213 | # so that prorgams built for the target machine work.
|
|---|
| 214 | TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
|
|---|
| 215 |
|
|---|
| 216 | # configure.in sets SET_LIB_PATH to this if --enable-shared was used.
|
|---|
| 217 | # Some platforms don't like blank entries, so we remove duplicate,
|
|---|
| 218 | # leading and trailing colons.
|
|---|
| 219 | REALLY_SET_LIB_PATH = \
|
|---|
| 220 | $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
|
|---|
| 221 |
|
|---|
| 222 | ALL = all.normal
|
|---|
| 223 | INSTALL_TARGET = installdirs \
|
|---|
| 224 | install-gcc \
|
|---|
| 225 | $(INSTALL_MODULES) \
|
|---|
| 226 | $(INSTALL_TARGET_MODULES) \
|
|---|
| 227 | $(INSTALL_X11_MODULES) \
|
|---|
| 228 | $(INSTALL_DOSREL)
|
|---|
| 229 |
|
|---|
| 230 | INSTALL_TARGET_CROSS = installdirs \
|
|---|
| 231 | install-gcc-cross \
|
|---|
| 232 | $(INSTALL_MODULES) \
|
|---|
| 233 | $(INSTALL_TARGET_MODULES) \
|
|---|
| 234 | $(INSTALL_X11_MODULES) \
|
|---|
| 235 | $(INSTALL_DOSREL)
|
|---|
| 236 |
|
|---|
| 237 | # Should be substed by configure.in
|
|---|
| 238 | FLAGS_FOR_TARGET =
|
|---|
| 239 | CC_FOR_TARGET =
|
|---|
| 240 | CXX_FOR_TARGET =
|
|---|
| 241 | CXX_FOR_TARGET_FOR_RECURSIVE_MAKE =
|
|---|
| 242 | GCJ_FOR_TARGET =
|
|---|
| 243 |
|
|---|
| 244 | # If GCC_FOR_TARGET is not overriden on the command line, then this
|
|---|
| 245 | # variable is passed down to the gcc Makefile, where it is used to
|
|---|
| 246 | # build libgcc2.a. We define it here so that it can itself be
|
|---|
| 247 | # overridden on the command line.
|
|---|
| 248 | GCC_FOR_TARGET = $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET)
|
|---|
| 249 |
|
|---|
| 250 | AS_FOR_TARGET = ` \
|
|---|
| 251 | if [ -f $$r/gas/as-new ] ; then \
|
|---|
| 252 | echo $$r/gas/as-new ; \
|
|---|
| 253 | elif [ -f $$r/gcc/xgcc ]; then \
|
|---|
| 254 | $(CC_FOR_TARGET) -print-prog-name=as ; \
|
|---|
| 255 | else \
|
|---|
| 256 | if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
|
|---|
| 257 | echo $(AS); \
|
|---|
| 258 | else \
|
|---|
| 259 | t='$(program_transform_name)'; echo as | sed -e 's/x/x/' $$t ; \
|
|---|
| 260 | fi; \
|
|---|
| 261 | fi`
|
|---|
| 262 |
|
|---|
| 263 | LD_FOR_TARGET = ` \
|
|---|
| 264 | if [ -f $$r/ld/ld-new ] ; then \
|
|---|
| 265 | echo $$r/ld/ld-new ; \
|
|---|
| 266 | elif [ -f $$r/gcc/xgcc ]; then \
|
|---|
| 267 | $(CC_FOR_TARGET) -print-prog-name=ld ; \
|
|---|
| 268 | else \
|
|---|
| 269 | if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
|
|---|
| 270 | echo $(LD); \
|
|---|
| 271 | else \
|
|---|
| 272 | t='$(program_transform_name)'; echo ld | sed -e 's/x/x/' $$t ; \
|
|---|
| 273 | fi; \
|
|---|
| 274 | fi`
|
|---|
| 275 |
|
|---|
| 276 | DLLTOOL_FOR_TARGET = ` \
|
|---|
| 277 | if [ -f $$r/binutils/dlltool ] ; then \
|
|---|
| 278 | echo $$r/binutils/dlltool ; \
|
|---|
| 279 | else \
|
|---|
| 280 | if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
|
|---|
| 281 | echo $(DLLTOOL); \
|
|---|
| 282 | else \
|
|---|
| 283 | t='$(program_transform_name)'; echo dlltool | sed -e 's/x/x/' $$t ; \
|
|---|
| 284 | fi; \
|
|---|
| 285 | fi`
|
|---|
| 286 |
|
|---|
| 287 | WINDRES_FOR_TARGET = ` \
|
|---|
| 288 | if [ -f $$r/binutils/windres ] ; then \
|
|---|
| 289 | echo $$r/binutils/windres ; \
|
|---|
| 290 | else \
|
|---|
| 291 | if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
|
|---|
| 292 | echo $(WINDRES); \
|
|---|
| 293 | else \
|
|---|
| 294 | t='$(program_transform_name)'; echo windres | sed -e 's/x/x/' $$t ; \
|
|---|
| 295 | fi; \
|
|---|
| 296 | fi`
|
|---|
| 297 |
|
|---|
| 298 | AR_FOR_TARGET = ` \
|
|---|
| 299 | if [ -f $$r/binutils/ar ] ; then \
|
|---|
| 300 | echo $$r/binutils/ar ; \
|
|---|
| 301 | else \
|
|---|
| 302 | if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
|
|---|
| 303 | echo $(AR); \
|
|---|
| 304 | else \
|
|---|
| 305 | t='$(program_transform_name)'; echo ar | sed -e 's/x/x/' $$t ; \
|
|---|
| 306 | fi; \
|
|---|
| 307 | fi`
|
|---|
| 308 |
|
|---|
| 309 | RANLIB_FOR_TARGET = ` \
|
|---|
| 310 | if [ -f $$r/binutils/ranlib ] ; then \
|
|---|
| 311 | echo $$r/binutils/ranlib ; \
|
|---|
| 312 | else \
|
|---|
| 313 | if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
|
|---|
| 314 | if [ x'$(RANLIB)' != x ]; then \
|
|---|
| 315 | echo $(RANLIB); \
|
|---|
| 316 | else \
|
|---|
| 317 | echo ranlib; \
|
|---|
| 318 | fi; \
|
|---|
| 319 | else \
|
|---|
| 320 | t='$(program_transform_name)'; echo ranlib | sed -e 's/x/x/' $$t ; \
|
|---|
| 321 | fi; \
|
|---|
| 322 | fi`
|
|---|
| 323 |
|
|---|
| 324 | NM_FOR_TARGET = ` \
|
|---|
| 325 | if [ -f $$r/binutils/nm-new ] ; then \
|
|---|
| 326 | echo $$r/binutils/nm-new ; \
|
|---|
| 327 | elif [ -f $$r/gcc/xgcc ]; then \
|
|---|
| 328 | $(CC_FOR_TARGET) -print-prog-name=nm ; \
|
|---|
| 329 | else \
|
|---|
| 330 | if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
|
|---|
| 331 | echo $(NM); \
|
|---|
| 332 | else \
|
|---|
| 333 | t='$(program_transform_name)'; echo nm | sed -e 's/x/x/' $$t ; \
|
|---|
| 334 | fi; \
|
|---|
| 335 | fi`
|
|---|
| 336 |
|
|---|
| 337 | # The first rule in the file had better be this one. Don't put any above it.
|
|---|
| 338 | # This lives here to allow makefile fragments to contain dependencies.
|
|---|
| 339 | all: all.normal
|
|---|
| 340 | .PHONY: all
|
|---|
| 341 |
|
|---|
| 342 | # These can be overridden by config/mt-*.
|
|---|
| 343 | # The _TARGET_ is because they're specified in mt-foo.
|
|---|
| 344 | # The _HOST_ is because they're programs that run on the host.
|
|---|
| 345 | EXTRA_TARGET_HOST_ALL_MODULES =
|
|---|
| 346 | EXTRA_TARGET_HOST_INSTALL_MODULES =
|
|---|
| 347 | EXTRA_TARGET_HOST_CHECK_MODULES =
|
|---|
| 348 |
|
|---|
| 349 | #### host and target specific makefile fragments come in here.
|
|---|
| 350 | ###
|
|---|
| 351 |
|
|---|
| 352 | # Flags to pass down to all sub-makes.
|
|---|
| 353 | # Please keep these in alphabetical order.
|
|---|
| 354 | BASE_FLAGS_TO_PASS = \
|
|---|
| 355 | "AR_FLAGS=$(AR_FLAGS)" \
|
|---|
| 356 | "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
|
|---|
| 357 | "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
|
|---|
| 358 | "BISON=$(BISON)" \
|
|---|
| 359 | "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
|
|---|
| 360 | "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
|
|---|
| 361 | "CFLAGS=$(CFLAGS)" \
|
|---|
| 362 | "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
|
|---|
| 363 | "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
|
|---|
| 364 | "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
|
|---|
| 365 | "CXXFLAGS=$(CXXFLAGS)" \
|
|---|
| 366 | "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
|
|---|
| 367 | "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
|
|---|
| 368 | "DESTDIR=$(DESTDIR)" \
|
|---|
| 369 | "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
|
|---|
| 370 | "INSTALL=$(INSTALL)" \
|
|---|
| 371 | "INSTALL_DATA=$(INSTALL_DATA)" \
|
|---|
| 372 | "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
|
|---|
| 373 | "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
|
|---|
| 374 | "LDFLAGS=$(LDFLAGS)" \
|
|---|
| 375 | "LEX=$(LEX)" \
|
|---|
| 376 | "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
|
|---|
| 377 | "LIBCFLAGS=$(LIBCFLAGS)" \
|
|---|
| 378 | "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
|
|---|
| 379 | "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
|
|---|
| 380 | "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
|
|---|
| 381 | "M4=$(M4)" \
|
|---|
| 382 | "MAKE=$(MAKE)" \
|
|---|
| 383 | "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
|
|---|
| 384 | "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
|
|---|
| 385 | "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
|
|---|
| 386 | "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
|
|---|
| 387 | "SHELL=$(SHELL)" \
|
|---|
| 388 | "EXPECT=$(EXPECT)" \
|
|---|
| 389 | "RUNTEST=$(RUNTEST)" \
|
|---|
| 390 | "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
|
|---|
| 391 | "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
|
|---|
| 392 | "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
|
|---|
| 393 | "YACC=$(YACC)" \
|
|---|
| 394 | "bindir=$(bindir)" \
|
|---|
| 395 | "datadir=$(datadir)" \
|
|---|
| 396 | "exec_prefix=$(exec_prefix)" \
|
|---|
| 397 | "includedir=$(includedir)" \
|
|---|
| 398 | "infodir=$(infodir)" \
|
|---|
| 399 | "libdir=$(libdir)" \
|
|---|
| 400 | "libexecdir=$(libexecdir)" \
|
|---|
| 401 | "lispdir=$(lispdir)" \
|
|---|
| 402 | "libstdcxx_incdir=$(libstdcxx_incdir)" \
|
|---|
| 403 | "libsubdir=$(libsubdir)" \
|
|---|
| 404 | "localstatedir=$(localstatedir)" \
|
|---|
| 405 | "mandir=$(mandir)" \
|
|---|
| 406 | "oldincludedir=$(oldincludedir)" \
|
|---|
| 407 | "prefix=$(prefix)" \
|
|---|
| 408 | "sbindir=$(sbindir)" \
|
|---|
| 409 | "sharedstatedir=$(sharedstatedir)" \
|
|---|
| 410 | "sysconfdir=$(sysconfdir)" \
|
|---|
| 411 | "tooldir=$(tooldir)" \
|
|---|
| 412 | "build_tooldir=$(build_tooldir)" \
|
|---|
| 413 | "gxx_include_dir=$(gxx_include_dir)" \
|
|---|
| 414 | "gcc_version=$(gcc_version)" \
|
|---|
| 415 | "gcc_version_trigger=$(gcc_version_trigger)" \
|
|---|
| 416 | "target_alias=$(target_alias)"
|
|---|
| 417 |
|
|---|
| 418 | # For any flags above that may contain shell code that varies from one
|
|---|
| 419 | # target library to another. When doing recursive invocations of the
|
|---|
| 420 | # top-level Makefile, we don't want the outer make to evaluate them,
|
|---|
| 421 | # so we pass these variables down unchanged. They must not contain
|
|---|
| 422 | # single nor double quotes.
|
|---|
| 423 | RECURSE_FLAGS = \
|
|---|
| 424 | CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)'
|
|---|
| 425 |
|
|---|
| 426 | # Flags to pass down to most sub-makes, in which we're building with
|
|---|
| 427 | # the host environment.
|
|---|
| 428 | # If any variables are added here, they must be added to do-*, below.
|
|---|
| 429 | EXTRA_HOST_FLAGS = \
|
|---|
| 430 | 'AR=$(AR)' \
|
|---|
| 431 | 'AS=$(AS)' \
|
|---|
| 432 | 'CC=$(CC)' \
|
|---|
| 433 | 'CXX=$(CXX)' \
|
|---|
| 434 | 'DLLTOOL=$(DLLTOOL)' \
|
|---|
| 435 | 'LD=$(LD)' \
|
|---|
| 436 | 'NM=$(NM)' \
|
|---|
| 437 | "`echo 'RANLIB=$(RANLIB)' | sed -e s/.*=$$/XFOO=/`" \
|
|---|
| 438 | 'WINDRES=$(WINDRES)'
|
|---|
| 439 |
|
|---|
| 440 | FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
|
|---|
| 441 |
|
|---|
| 442 | # Flags that are concerned with the location of the X11 include files
|
|---|
| 443 | # and library files
|
|---|
| 444 | #
|
|---|
| 445 | # NOTE: until the top-level is getting the values via autoconf, it only
|
|---|
| 446 | # causes problems to have this top-level Makefile overriding the autoconf-set
|
|---|
| 447 | # values in child directories. Only variables that don't conflict with
|
|---|
| 448 | # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
|
|---|
| 449 | #
|
|---|
| 450 | X11_FLAGS_TO_PASS = \
|
|---|
| 451 | 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
|
|---|
| 452 | 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
|
|---|
| 453 |
|
|---|
| 454 | # Flags to pass down to makes which are built with the target environment.
|
|---|
| 455 | # The double $ decreases the length of the command line; the variables
|
|---|
| 456 | # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
|
|---|
| 457 | # If any variables are added here, they must be added to do-*, below.
|
|---|
| 458 | EXTRA_TARGET_FLAGS = \
|
|---|
| 459 | 'AR=$$(AR_FOR_TARGET)' \
|
|---|
| 460 | 'AS=$$(AS_FOR_TARGET)' \
|
|---|
| 461 | 'CC=$$(CC_FOR_TARGET)' \
|
|---|
| 462 | 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
|
|---|
| 463 | 'CXX=$$(CXX_FOR_TARGET)' \
|
|---|
| 464 | 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
|
|---|
| 465 | 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
|
|---|
| 466 | 'LD=$$(LD_FOR_TARGET)' \
|
|---|
| 467 | 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
|
|---|
| 468 | 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
|
|---|
| 469 | 'NM=$$(NM_FOR_TARGET)' \
|
|---|
| 470 | 'RANLIB=$$(RANLIB_FOR_TARGET)' \
|
|---|
| 471 | 'WINDRES=$$(WINDRES_FOR_TARGET)'
|
|---|
| 472 |
|
|---|
| 473 | TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
|
|---|
| 474 |
|
|---|
| 475 | # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
|
|---|
| 476 | # unfortunately needs the native compiler and the target ar and
|
|---|
| 477 | # ranlib.
|
|---|
| 478 | # If any variables are added here, they must be added to do-*, below.
|
|---|
| 479 | # The HOST_* variables are a special case, which are used for the gcc
|
|---|
| 480 | # cross-building scheme.
|
|---|
| 481 | EXTRA_GCC_FLAGS = \
|
|---|
| 482 | 'AR=$(AR)' \
|
|---|
| 483 | 'AS=$(AS)' \
|
|---|
| 484 | 'CC=$(CC)' \
|
|---|
| 485 | 'CXX=$(CXX)' \
|
|---|
| 486 | 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
|
|---|
| 487 | 'HOST_CC=$(CC_FOR_BUILD)' \
|
|---|
| 488 | 'HOST_PREFIX=$(HOST_PREFIX)' \
|
|---|
| 489 | 'HOST_PREFIX_1=$(HOST_PREFIX_1)' \
|
|---|
| 490 | 'NM=$(NM)' \
|
|---|
| 491 | "`echo 'RANLIB=$(RANLIB)' | sed -e s/.*=$$/XFOO=/`" \
|
|---|
| 492 | 'WINDRES=$$(WINDRES_FOR_TARGET)' \
|
|---|
| 493 | "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
|
|---|
| 494 | "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
|
|---|
| 495 | "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s/.*=$$/XFOO=/`" \
|
|---|
| 496 | "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s/.*=$$/XFOO=/`" \
|
|---|
| 497 | "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s/.*=$$/XFOO=/`" \
|
|---|
| 498 | "`echo 'LIBGCC1_TEST=$(LIBGCC1_TEST)' | sed -e s/.*=$$/XFOO=/`" \
|
|---|
| 499 | "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
|
|---|
| 500 | "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
|
|---|
| 501 | "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s/.*=$$/XFOO=/`" \
|
|---|
| 502 | "`echo 'ENQUIRE=$(ENQUIRE)' | sed -e s/.*=$$/XFOO=/`" \
|
|---|
| 503 | "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
|
|---|
| 504 | "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s/.*=$$/XFOO=/`"
|
|---|
| 505 |
|
|---|
| 506 | GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
|
|---|
| 507 |
|
|---|
| 508 | # This is a list of the targets for all of the modules which are compiled
|
|---|
| 509 | # using the build machine's native compiler. Configure edits the second
|
|---|
| 510 | # macro for build!=host builds.
|
|---|
| 511 | ALL_BUILD_MODULES_LIST = \
|
|---|
| 512 | all-build-libiberty
|
|---|
| 513 | ALL_BUILD_MODULES =
|
|---|
| 514 |
|
|---|
| 515 | # This is a list of the configure targets for all of the modules which
|
|---|
| 516 | # are compiled using the native tools.
|
|---|
| 517 | CONFIGURE_BUILD_MODULES = \
|
|---|
| 518 | configure-build-libiberty
|
|---|
| 519 |
|
|---|
| 520 | # This is a list of the targets for all of the modules which are compiled
|
|---|
| 521 | # using $(FLAGS_TO_PASS).
|
|---|
| 522 | ALL_MODULES = \
|
|---|
| 523 | all-apache \
|
|---|
| 524 | all-ash \
|
|---|
| 525 | all-autoconf \
|
|---|
| 526 | all-automake \
|
|---|
| 527 | all-bash \
|
|---|
| 528 | all-bfd \
|
|---|
| 529 | all-binutils \
|
|---|
| 530 | all-bison \
|
|---|
| 531 | all-byacc \
|
|---|
| 532 | all-bzip2 \
|
|---|
| 533 | all-cgen \
|
|---|
| 534 | all-cvssrc \
|
|---|
| 535 | all-db \
|
|---|
| 536 | all-dejagnu \
|
|---|
| 537 | all-diff \
|
|---|
| 538 | all-dosutils \
|
|---|
| 539 | all-etc \
|
|---|
| 540 | all-fastjar \
|
|---|
| 541 | all-fileutils \
|
|---|
| 542 | all-findutils \
|
|---|
| 543 | all-find \
|
|---|
| 544 | all-flex \
|
|---|
| 545 | all-gas \
|
|---|
| 546 | all-gawk \
|
|---|
| 547 | all-gettext \
|
|---|
| 548 | all-gnuserv \
|
|---|
| 549 | all-gprof \
|
|---|
| 550 | all-grep \
|
|---|
| 551 | all-grez \
|
|---|
| 552 | all-gzip \
|
|---|
| 553 | all-hello \
|
|---|
| 554 | all-indent \
|
|---|
| 555 | all-inet \
|
|---|
| 556 | all-intl \
|
|---|
| 557 | all-ispell \
|
|---|
| 558 | all-itcl \
|
|---|
| 559 | all-ld \
|
|---|
| 560 | all-libgui \
|
|---|
| 561 | all-libiberty \
|
|---|
| 562 | all-libtool \
|
|---|
| 563 | all-m4 \
|
|---|
| 564 | all-make \
|
|---|
| 565 | all-mmalloc \
|
|---|
| 566 | all-opcodes \
|
|---|
| 567 | all-patch \
|
|---|
| 568 | all-perl \
|
|---|
| 569 | all-prms \
|
|---|
| 570 | all-rcs \
|
|---|
| 571 | all-readline \
|
|---|
| 572 | all-release \
|
|---|
| 573 | all-recode \
|
|---|
| 574 | all-sed \
|
|---|
| 575 | all-send-pr \
|
|---|
| 576 | all-shellutils \
|
|---|
| 577 | all-sid \
|
|---|
| 578 | all-sim \
|
|---|
| 579 | all-snavigator \
|
|---|
| 580 | all-tar \
|
|---|
| 581 | all-tcl \
|
|---|
| 582 | all-tcl8.1 \
|
|---|
| 583 | all-texinfo \
|
|---|
| 584 | all-textutils \
|
|---|
| 585 | all-tgas \
|
|---|
| 586 | all-time \
|
|---|
| 587 | all-uudecode \
|
|---|
| 588 | all-wdiff \
|
|---|
| 589 | all-zip \
|
|---|
| 590 | all-zlib \
|
|---|
| 591 | $(EXTRA_TARGET_HOST_ALL_MODULES)
|
|---|
| 592 |
|
|---|
| 593 | # This is a list of the check targets for all of the modules which are
|
|---|
| 594 | # compiled using $(FLAGS_TO_PASS).
|
|---|
| 595 | #
|
|---|
| 596 | # The list is in two parts. The first lists those tools which
|
|---|
| 597 | # are tested as part of the host's native tool-chain, and not
|
|---|
| 598 | # tested in a cross configuration.
|
|---|
| 599 | NATIVE_CHECK_MODULES = \
|
|---|
| 600 | check-bison \
|
|---|
| 601 | check-byacc \
|
|---|
| 602 | check-fastjar \
|
|---|
| 603 | check-flex \
|
|---|
| 604 | check-zip
|
|---|
| 605 |
|
|---|
| 606 | CROSS_CHECK_MODULES = \
|
|---|
| 607 | check-apache \
|
|---|
| 608 | check-ash \
|
|---|
| 609 | check-autoconf \
|
|---|
| 610 | check-automake \
|
|---|
| 611 | check-bash \
|
|---|
| 612 | check-bfd \
|
|---|
| 613 | check-binutils \
|
|---|
| 614 | check-bzip2 \
|
|---|
| 615 | check-cgen \
|
|---|
| 616 | check-cvssrc \
|
|---|
| 617 | check-db \
|
|---|
| 618 | check-dejagnu \
|
|---|
| 619 | check-diff \
|
|---|
| 620 | check-etc \
|
|---|
| 621 | check-fileutils \
|
|---|
| 622 | check-findutils \
|
|---|
| 623 | check-find \
|
|---|
| 624 | check-gas \
|
|---|
| 625 | check-gawk \
|
|---|
| 626 | check-gettext \
|
|---|
| 627 | check-gnuserv \
|
|---|
| 628 | check-gprof \
|
|---|
| 629 | check-grep \
|
|---|
| 630 | check-gzip \
|
|---|
| 631 | check-hello \
|
|---|
| 632 | check-indent \
|
|---|
| 633 | check-inet \
|
|---|
| 634 | check-intl \
|
|---|
| 635 | check-ispell \
|
|---|
| 636 | check-itcl \
|
|---|
| 637 | check-ld \
|
|---|
| 638 | check-libgui \
|
|---|
| 639 | check-libiberty \
|
|---|
| 640 | check-libtool \
|
|---|
| 641 | check-m4 \
|
|---|
| 642 | check-make \
|
|---|
| 643 | check-mmcheckoc \
|
|---|
| 644 | check-opcodes \
|
|---|
| 645 | check-patch \
|
|---|
| 646 | check-perl \
|
|---|
| 647 | check-prms \
|
|---|
| 648 | check-rcs \
|
|---|
| 649 | check-readline \
|
|---|
| 650 | check-recode \
|
|---|
| 651 | check-sed \
|
|---|
| 652 | check-send-pr \
|
|---|
| 653 | check-shellutils \
|
|---|
| 654 | check-snavigator \
|
|---|
| 655 | check-sid \
|
|---|
| 656 | check-sim \
|
|---|
| 657 | check-tar \
|
|---|
| 658 | check-tcl \
|
|---|
| 659 | check-texinfo \
|
|---|
| 660 | check-textutils \
|
|---|
| 661 | check-tgas \
|
|---|
| 662 | check-time \
|
|---|
| 663 | check-uudecode \
|
|---|
| 664 | check-wdiff \
|
|---|
| 665 | $(EXTRA_TARGET_HOST_CHECK_MODULES)
|
|---|
| 666 |
|
|---|
| 667 | CHECK_MODULES=$(NATIVE_CHECK_MODULES) $(CROSS_CHECK_MODULES)
|
|---|
| 668 |
|
|---|
| 669 | # This is a list of the install targets for all of the modules which are
|
|---|
| 670 | # compiled using $(FLAGS_TO_PASS).
|
|---|
| 671 | # We put install-opcodes before install-binutils because the installed
|
|---|
| 672 | # binutils might be on PATH, and they might need the shared opcodes
|
|---|
| 673 | # library.
|
|---|
| 674 | # We put install-tcl before install-itcl because itcl wants to run a
|
|---|
| 675 | # program on installation which uses the Tcl libraries.
|
|---|
| 676 | INSTALL_MODULES = \
|
|---|
| 677 | install-apache \
|
|---|
| 678 | install-ash \
|
|---|
| 679 | install-autoconf \
|
|---|
| 680 | install-automake \
|
|---|
| 681 | install-bash \
|
|---|
| 682 | install-bfd \
|
|---|
| 683 | install-bzip2 \
|
|---|
| 684 | install-opcodes \
|
|---|
| 685 | install-binutils \
|
|---|
| 686 | install-bison \
|
|---|
| 687 | install-byacc \
|
|---|
| 688 | install-cgen \
|
|---|
| 689 | install-cvssrc \
|
|---|
| 690 | install-db \
|
|---|
| 691 | install-dejagnu \
|
|---|
| 692 | install-diff \
|
|---|
| 693 | install-dosutils \
|
|---|
| 694 | install-etc \
|
|---|
| 695 | install-fastjar \
|
|---|
| 696 | install-fileutils \
|
|---|
| 697 | install-findutils \
|
|---|
| 698 | install-find \
|
|---|
| 699 | install-flex \
|
|---|
| 700 | install-gas \
|
|---|
| 701 | install-gawk \
|
|---|
| 702 | install-gettext \
|
|---|
| 703 | install-gnuserv \
|
|---|
| 704 | install-gprof \
|
|---|
| 705 | install-grep \
|
|---|
| 706 | install-grez \
|
|---|
| 707 | install-gzip \
|
|---|
| 708 | install-hello \
|
|---|
| 709 | install-indent \
|
|---|
| 710 | install-inet \
|
|---|
| 711 | install-intl \
|
|---|
| 712 | install-ispell \
|
|---|
| 713 | install-tcl \
|
|---|
| 714 | install-tcl8.1 \
|
|---|
| 715 | install-itcl \
|
|---|
| 716 | install-ld \
|
|---|
| 717 | install-libgui \
|
|---|
| 718 | install-libiberty \
|
|---|
| 719 | install-libtool \
|
|---|
| 720 | install-m4 \
|
|---|
| 721 | install-make \
|
|---|
| 722 | install-mmalloc \
|
|---|
| 723 | install-patch \
|
|---|
| 724 | install-perl \
|
|---|
| 725 | install-prms \
|
|---|
| 726 | install-rcs \
|
|---|
| 727 | install-readline \
|
|---|
| 728 | install-recode \
|
|---|
| 729 | install-sed \
|
|---|
| 730 | install-send-pr \
|
|---|
| 731 | install-shellutils \
|
|---|
| 732 | install-sid \
|
|---|
| 733 | install-sim \
|
|---|
| 734 | install-snavigator \
|
|---|
| 735 | install-tar \
|
|---|
| 736 | install-textutils \
|
|---|
| 737 | install-tgas \
|
|---|
| 738 | install-time \
|
|---|
| 739 | install-uudecode \
|
|---|
| 740 | install-wdiff \
|
|---|
| 741 | install-zip \
|
|---|
| 742 | $(EXTRA_TARGET_HOST_INSTALL_MODULES)
|
|---|
| 743 |
|
|---|
| 744 | # This is a list of the targets for all of the modules which are compiled
|
|---|
| 745 | # using $(X11_FLAGS_TO_PASS).
|
|---|
| 746 | ALL_X11_MODULES = \
|
|---|
| 747 | all-emacs \
|
|---|
| 748 | all-emacs19 \
|
|---|
| 749 | all-gdb \
|
|---|
| 750 | all-expect \
|
|---|
| 751 | all-gash \
|
|---|
| 752 | all-guile \
|
|---|
| 753 | all-tclX \
|
|---|
| 754 | all-tk \
|
|---|
| 755 | all-tk8.1 \
|
|---|
| 756 | all-tix
|
|---|
| 757 |
|
|---|
| 758 | # This is a list of the check targets for all of the modules which are
|
|---|
| 759 | # compiled using $(X11_FLAGS_TO_PASS).
|
|---|
| 760 | CHECK_X11_MODULES = \
|
|---|
| 761 | check-emacs \
|
|---|
| 762 | check-gdb \
|
|---|
| 763 | check-guile \
|
|---|
| 764 | check-expect \
|
|---|
| 765 | check-gash \
|
|---|
| 766 | check-tclX \
|
|---|
| 767 | check-tk \
|
|---|
| 768 | check-tix
|
|---|
| 769 |
|
|---|
| 770 | # This is a list of the install targets for all the modules which are
|
|---|
| 771 | # compiled using $(X11_FLAGS_TO_PASS).
|
|---|
| 772 | INSTALL_X11_MODULES = \
|
|---|
| 773 | install-emacs \
|
|---|
| 774 | install-emacs19 \
|
|---|
| 775 | install-gdb \
|
|---|
| 776 | install-guile \
|
|---|
| 777 | install-expect \
|
|---|
| 778 | install-gash \
|
|---|
| 779 | install-tclX \
|
|---|
| 780 | install-tk \
|
|---|
| 781 | install-tk8.1 \
|
|---|
| 782 | install-tix
|
|---|
| 783 |
|
|---|
| 784 | # This is a list of the targets for all of the modules which are compiled
|
|---|
| 785 | # using $(TARGET_FLAGS_TO_PASS).
|
|---|
| 786 | ALL_TARGET_MODULES = \
|
|---|
| 787 | all-target-libstdc++-v3 \
|
|---|
| 788 | all-target-librx \
|
|---|
| 789 | all-target-newlib \
|
|---|
| 790 | all-target-libf2c \
|
|---|
| 791 | all-target-libobjc \
|
|---|
| 792 | all-target-libtermcap \
|
|---|
| 793 | all-target-winsup \
|
|---|
| 794 | all-target-libgloss \
|
|---|
| 795 | all-target-libiberty \
|
|---|
| 796 | all-target-gperf \
|
|---|
| 797 | all-target-examples \
|
|---|
| 798 | all-target-libstub \
|
|---|
| 799 | all-target-libffi \
|
|---|
| 800 | all-target-libjava \
|
|---|
| 801 | all-target-zlib \
|
|---|
| 802 | all-target-boehm-gc \
|
|---|
| 803 | all-target-qthreads \
|
|---|
| 804 | all-target-bsp \
|
|---|
| 805 | all-target-cygmon
|
|---|
| 806 |
|
|---|
| 807 | # This is a list of the configure targets for all of the modules which
|
|---|
| 808 | # are compiled using the target tools.
|
|---|
| 809 | CONFIGURE_TARGET_MODULES = \
|
|---|
| 810 | configure-target-libstdc++-v3 \
|
|---|
| 811 | configure-target-librx \
|
|---|
| 812 | configure-target-newlib \
|
|---|
| 813 | configure-target-libf2c \
|
|---|
| 814 | configure-target-libobjc \
|
|---|
| 815 | configure-target-libtermcap \
|
|---|
| 816 | configure-target-winsup \
|
|---|
| 817 | configure-target-libgloss \
|
|---|
| 818 | configure-target-libiberty \
|
|---|
| 819 | configure-target-gperf \
|
|---|
| 820 | configure-target-examples \
|
|---|
| 821 | configure-target-libstub \
|
|---|
| 822 | configure-target-libffi \
|
|---|
| 823 | configure-target-libjava \
|
|---|
| 824 | configure-target-zlib \
|
|---|
| 825 | configure-target-boehm-gc \
|
|---|
| 826 | configure-target-qthreads \
|
|---|
| 827 | configure-target-bsp \
|
|---|
| 828 | configure-target-cygmon
|
|---|
| 829 |
|
|---|
| 830 | # This is a list of the check targets for all of the modules which are
|
|---|
| 831 | # compiled using $(TARGET_FLAGS_TO_PASS).
|
|---|
| 832 | CHECK_TARGET_MODULES = \
|
|---|
| 833 | check-target-libstdc++-v3 \
|
|---|
| 834 | check-target-newlib \
|
|---|
| 835 | check-target-libf2c \
|
|---|
| 836 | check-target-libobjc \
|
|---|
| 837 | check-target-winsup \
|
|---|
| 838 | check-target-libiberty \
|
|---|
| 839 | check-target-libffi \
|
|---|
| 840 | check-target-libjava \
|
|---|
| 841 | check-target-zlib \
|
|---|
| 842 | check-target-boehm-gc \
|
|---|
| 843 | check-target-qthreads \
|
|---|
| 844 | check-target-gperf
|
|---|
| 845 |
|
|---|
| 846 | # This is a list of the install targets for all of the modules which are
|
|---|
| 847 | # compiled using $(TARGET_FLAGS_TO_PASS).
|
|---|
| 848 | INSTALL_TARGET_MODULES = \
|
|---|
| 849 | install-target-libstdc++-v3 \
|
|---|
| 850 | install-target-newlib \
|
|---|
| 851 | install-target-libf2c \
|
|---|
| 852 | install-target-libobjc \
|
|---|
| 853 | install-target-libtermcap \
|
|---|
| 854 | install-target-winsup \
|
|---|
| 855 | install-target-libgloss \
|
|---|
| 856 | install-target-libiberty \
|
|---|
| 857 | install-target-bsp \
|
|---|
| 858 | install-target-libjava \
|
|---|
| 859 | install-target-zlib \
|
|---|
| 860 | install-target-boehm-gc \
|
|---|
| 861 | install-target-qthreads \
|
|---|
| 862 | install-target-gperf
|
|---|
| 863 |
|
|---|
| 864 | # This is a list of the targets for which we can do a clean-{target}.
|
|---|
| 865 | CLEAN_MODULES = \
|
|---|
| 866 | clean-apache \
|
|---|
| 867 | clean-ash \
|
|---|
| 868 | clean-autoconf \
|
|---|
| 869 | clean-automake \
|
|---|
| 870 | clean-bash \
|
|---|
| 871 | clean-bfd \
|
|---|
| 872 | clean-binutils \
|
|---|
| 873 | clean-bison \
|
|---|
| 874 | clean-byacc \
|
|---|
| 875 | clean-bzip2 \
|
|---|
| 876 | clean-cgen \
|
|---|
|
|---|