| 1 | [+ AutoGen5 template -*- Mode: Makefile -*-
|
|---|
| 2 | in
|
|---|
| 3 | +]
|
|---|
| 4 |
|
|---|
| 5 | # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
|
|---|
| 6 | #
|
|---|
| 7 | # Makefile for directory with subdirs to build.
|
|---|
| 8 | # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
|
|---|
| 9 | # 1999, 2000, 2001, 2002, 2003 Free Software Foundation
|
|---|
| 10 | #
|
|---|
| 11 | # This file is free software; you can redistribute it and/or modify
|
|---|
| 12 | # it under the terms of the GNU General Public License as published by
|
|---|
| 13 | # the Free Software Foundation; either version 2 of the License, or
|
|---|
| 14 | # (at your option) any later version.
|
|---|
| 15 | #
|
|---|
| 16 | # This program is distributed in the hope that it will be useful,
|
|---|
| 17 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|---|
| 18 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|---|
| 19 | # GNU General Public License for more details.
|
|---|
| 20 | #
|
|---|
| 21 | # You should have received a copy of the GNU General Public License
|
|---|
| 22 | # along with this program; if not, write to the Free Software
|
|---|
| 23 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|---|
| 24 | #
|
|---|
| 25 |
|
|---|
| 26 | # -------------------------------
|
|---|
| 27 | # Standard Autoconf-set variables
|
|---|
| 28 | # -------------------------------
|
|---|
| 29 | VPATH=@srcdir@
|
|---|
| 30 |
|
|---|
| 31 | build_alias=@build_alias@
|
|---|
| 32 | build_cpu=@build_cpu@
|
|---|
| 33 | build_vendor=@build_vendor@
|
|---|
| 34 | build_os=@build_os@
|
|---|
| 35 | build_canonical=@build_cpu@-@build_vendor@-@build_os@
|
|---|
| 36 | host_alias=@host_alias@
|
|---|
| 37 | host_cpu=@host_cpu@
|
|---|
| 38 | host_vendor=@host_vendor@
|
|---|
| 39 | host_os=@host_os@
|
|---|
| 40 | host_canonical=@host_cpu@-@host_vendor@-@host_os@
|
|---|
| 41 | target_alias=@target_alias@
|
|---|
| 42 | target_cpu=@target_cpu@
|
|---|
| 43 | target_vendor=@target_vendor@
|
|---|
| 44 | target_os=@target_os@
|
|---|
| 45 | target_canonical=@target_cpu@-@target_vendor@-@target_os@
|
|---|
| 46 |
|
|---|
| 47 | program_transform_name = @program_transform_name@
|
|---|
| 48 |
|
|---|
| 49 | prefix = @prefix@
|
|---|
| 50 | exec_prefix = @exec_prefix@
|
|---|
| 51 |
|
|---|
| 52 | srcdir = @srcdir@
|
|---|
| 53 |
|
|---|
| 54 | bindir = @bindir@
|
|---|
| 55 | sbindir = @sbindir@
|
|---|
| 56 | libexecdir = @libexecdir@
|
|---|
| 57 | datadir = @datadir@
|
|---|
| 58 | sysconfdir = @sysconfdir@
|
|---|
| 59 | sharedstatedir = @sharedstatedir@
|
|---|
| 60 | localstatedir = @localstatedir@
|
|---|
| 61 | libdir = @libdir@
|
|---|
| 62 | includedir = @includedir@
|
|---|
| 63 | oldincludedir = @oldincludedir@
|
|---|
| 64 | infodir = @infodir@
|
|---|
| 65 | mandir = @mandir@
|
|---|
| 66 | man1dir = $(mandir)/man1
|
|---|
| 67 | man2dir = $(mandir)/man2
|
|---|
| 68 | man3dir = $(mandir)/man3
|
|---|
| 69 | man4dir = $(mandir)/man4
|
|---|
| 70 | man5dir = $(mandir)/man5
|
|---|
| 71 | man6dir = $(mandir)/man6
|
|---|
| 72 | man7dir = $(mandir)/man7
|
|---|
| 73 | man8dir = $(mandir)/man8
|
|---|
| 74 | man9dir = $(mandir)/man9
|
|---|
| 75 |
|
|---|
| 76 | # INSTALL_PROGRAM_ARGS is changed by configure.in to use -x for a
|
|---|
| 77 | # cygwin host.
|
|---|
| 78 | INSTALL_PROGRAM_ARGS =
|
|---|
| 79 |
|
|---|
| 80 | INSTALL = $(SHELL) $$s/install-sh -c
|
|---|
| 81 | INSTALL_PROGRAM = $(INSTALL) $(INSTALL_PROGRAM_ARGS)
|
|---|
| 82 | INSTALL_SCRIPT = $(INSTALL)
|
|---|
| 83 | INSTALL_DATA = $(INSTALL) -m 644
|
|---|
| 84 |
|
|---|
| 85 | # -------------------------------------------------
|
|---|
| 86 | # Miscellaneous non-standard autoconf-set variables
|
|---|
| 87 | # -------------------------------------------------
|
|---|
| 88 |
|
|---|
| 89 | links=@configlinks@
|
|---|
| 90 | # The file containing GCC's version number.
|
|---|
| 91 | gcc_version_trigger = @gcc_version_trigger@
|
|---|
| 92 | gcc_version = @gcc_version@
|
|---|
| 93 |
|
|---|
| 94 | # The gcc driver likes to know the arguments it was configured with.
|
|---|
| 95 | TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
|
|---|
| 96 |
|
|---|
| 97 | gxx_include_dir = @gxx_include_dir@
|
|---|
| 98 | libstdcxx_incdir = @libstdcxx_incdir@
|
|---|
| 99 |
|
|---|
| 100 | tooldir = @tooldir@
|
|---|
| 101 | build_tooldir = @build_tooldir@
|
|---|
| 102 |
|
|---|
| 103 | # Directory in which the compiler finds executables, libraries, etc.
|
|---|
| 104 | libsubdir = $(libdir)/gcc-lib/$(target_alias)/$(gcc_version)
|
|---|
| 105 | GDB_NLM_DEPS =
|
|---|
| 106 |
|
|---|
| 107 | # This is the name of the environment variable used for the path to
|
|---|
| 108 | # the libraries.
|
|---|
| 109 | RPATH_ENVVAR = @RPATH_ENVVAR@
|
|---|
| 110 |
|
|---|
| 111 | # This is set by configure to REALLY_SET_LIB_PATH if --enable-shared
|
|---|
| 112 | # was used.
|
|---|
| 113 | SET_LIB_PATH = @SET_LIB_PATH@
|
|---|
| 114 |
|
|---|
| 115 | # configure.in sets SET_LIB_PATH to this if --enable-shared was used.
|
|---|
| 116 | # Some platforms don't like blank entries, so we remove duplicate,
|
|---|
| 117 | # leading and trailing colons.
|
|---|
| 118 | REALLY_SET_LIB_PATH = \
|
|---|
| 119 | $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
|
|---|
| 120 |
|
|---|
| 121 | # This is the list of directories to be built for the build system.
|
|---|
| 122 | BUILD_CONFIGDIRS = libiberty
|
|---|
| 123 | # Build programs are put under this directory.
|
|---|
| 124 | BUILD_SUBDIR = @build_subdir@
|
|---|
| 125 | # This is set by the configure script to the arguments to use when configuring
|
|---|
| 126 | # directories built for the build system.
|
|---|
| 127 | BUILD_CONFIGARGS = @build_configargs@
|
|---|
| 128 |
|
|---|
| 129 | # This is the list of directories to built for the host system.
|
|---|
| 130 | SUBDIRS = @configdirs@
|
|---|
| 131 | # This is set by the configure script to the arguments to use when configuring
|
|---|
| 132 | # directories built for the host system.
|
|---|
| 133 | HOST_CONFIGARGS = @host_configargs@
|
|---|
| 134 |
|
|---|
| 135 | # This is set by the configure script to the list of directories which
|
|---|
| 136 | # should be built using the target tools.
|
|---|
| 137 | TARGET_CONFIGDIRS = @target_configdirs@
|
|---|
| 138 | # Target libraries are put under this directory:
|
|---|
| 139 | TARGET_SUBDIR = @target_subdir@
|
|---|
| 140 | # This is set by the configure script to the arguments to use when configuring
|
|---|
| 141 | # directories built for the target.
|
|---|
| 142 | TARGET_CONFIGARGS = @target_configargs@
|
|---|
| 143 |
|
|---|
| 144 | # ----------------------------------------------
|
|---|
| 145 | # Programs producing files for the BUILD machine
|
|---|
| 146 | # ----------------------------------------------
|
|---|
| 147 |
|
|---|
| 148 | SHELL = @config_shell@
|
|---|
| 149 |
|
|---|
| 150 | # pwd command to use. Allow user to override default by setting PWDCMD in
|
|---|
| 151 | # the environment to account for automounters. The make variable must not
|
|---|
| 152 | # be called PWDCMD, otherwise the value set here is passed to make
|
|---|
| 153 | # subprocesses and overrides the setting from the user's environment.
|
|---|
| 154 | PWD = $${PWDCMD-pwd}
|
|---|
| 155 |
|
|---|
| 156 | # compilers to use to create programs which must be run in the build
|
|---|
| 157 | # environment.
|
|---|
| 158 | CC_FOR_BUILD = @CC_FOR_BUILD@
|
|---|
| 159 | CFLAGS_FOR_BUILD = $(CFLAGS)
|
|---|
| 160 |
|
|---|
| 161 | CXX_FOR_BUILD = $(CXX)
|
|---|
| 162 |
|
|---|
| 163 | # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
|
|---|
| 164 | # here so that they can be overridden by Makefile fragments.
|
|---|
| 165 | BUILD_CC = $(CC_FOR_BUILD)
|
|---|
| 166 | BUILD_PREFIX = @BUILD_PREFIX@
|
|---|
| 167 | BUILD_PREFIX_1 = @BUILD_PREFIX_1@
|
|---|
| 168 |
|
|---|
| 169 | BISON=@BISON@
|
|---|
| 170 | USUAL_BISON = `if [ -f $$r/bison/bison ] ; then \
|
|---|
| 171 | echo $$r/bison/bison -L $$s/bison/ ; \
|
|---|
| 172 | else \
|
|---|
| 173 | echo bison ; \
|
|---|
| 174 | fi`
|
|---|
| 175 |
|
|---|
| 176 | DEFAULT_YACC = @DEFAULT_YACC@
|
|---|
| 177 | YACC=@YACC@
|
|---|
| 178 | USUAL_YACC = `if [ -f $$r/bison/bison ] ; then \
|
|---|
| 179 | echo $$r/bison/bison -y -L $$s/bison/ ; \
|
|---|
| 180 | elif [ -f $$r/byacc/byacc ] ; then \
|
|---|
| 181 | echo $$r/byacc/byacc ; \
|
|---|
| 182 | else \
|
|---|
| 183 | echo ${DEFAULT_YACC} ; \
|
|---|
| 184 | fi`
|
|---|
| 185 |
|
|---|
| 186 | DEFAULT_LEX = @DEFAULT_LEX@
|
|---|
| 187 | LEX=@LEX@
|
|---|
| 188 | USUAL_LEX = `if [ -f $$r/flex/flex ] ; \
|
|---|
| 189 | then echo $$r/flex/flex ; \
|
|---|
| 190 | else echo ${DEFAULT_LEX} ; fi`
|
|---|
| 191 |
|
|---|
| 192 | DEFAULT_M4 = @DEFAULT_M4@
|
|---|
| 193 | M4 = `if [ -f $$r/m4/m4 ] ; \
|
|---|
| 194 | then echo $$r/m4/m4 ; \
|
|---|
| 195 | else echo ${DEFAULT_M4} ; fi`
|
|---|
| 196 |
|
|---|
| 197 | # For an installed makeinfo, we require it to be from texinfo 4 or
|
|---|
| 198 | # higher, else we use the "missing" dummy.
|
|---|
| 199 | MAKEINFO=@MAKEINFO@
|
|---|
| 200 | USUAL_MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
|
|---|
| 201 | then echo $$r/texinfo/makeinfo/makeinfo ; \
|
|---|
| 202 | else if (makeinfo --version \
|
|---|
| 203 | | egrep 'texinfo[^0-9]*([1-3][0-9]|[4-9])') >/dev/null 2>&1; \
|
|---|
| 204 | then echo makeinfo; else echo $$s/missing makeinfo; fi; fi`
|
|---|
| 205 |
|
|---|
| 206 | # This just becomes part of the MAKEINFO definition passed down to
|
|---|
| 207 | # sub-makes. It lets flags be given on the command line while still
|
|---|
| 208 | # using the makeinfo from the object tree.
|
|---|
| 209 | # (Default to avoid splitting info files.)
|
|---|
| 210 | MAKEINFOFLAGS = --no-split
|
|---|
| 211 |
|
|---|
| 212 | EXPECT = `if [ -f $$r/expect/expect ] ; \
|
|---|
| 213 | then echo $$r/expect/expect ; \
|
|---|
| 214 | else echo expect ; fi`
|
|---|
| 215 |
|
|---|
| 216 | RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
|
|---|
| 217 | then echo $$s/dejagnu/runtest ; \
|
|---|
| 218 | else echo runtest ; fi`
|
|---|
| 219 |
|
|---|
| 220 | # ---------------------------------------------
|
|---|
| 221 | # Programs producing files for the HOST machine
|
|---|
| 222 | # ---------------------------------------------
|
|---|
| 223 |
|
|---|
| 224 | # This is the list of directories that may be needed in RPATH_ENVVAR
|
|---|
| 225 | # so that programs built for the host machine work.
|
|---|
| 226 | HOST_LIB_PATH = $$r/bfd:$$r/opcodes
|
|---|
| 227 |
|
|---|
| 228 | AS = @AS@
|
|---|
| 229 |
|
|---|
| 230 | AR = @AR@
|
|---|
|
|---|