| 1 |
|
|---|
| 2 | # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
|
|---|
| 3 | #
|
|---|
| 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
|
|---|
| 7 | #
|
|---|
| 8 | # This file is free software; you can redistribute it and/or modify
|
|---|
| 9 | # it under the terms of the GNU General Public License as published by
|
|---|
| 10 | # the Free Software Foundation; either version 2 of the License, or
|
|---|
| 11 | # (at your option) any later version.
|
|---|
| 12 | #
|
|---|
| 13 | # This program is distributed in the hope that it will be useful,
|
|---|
| 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|---|
| 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|---|
| 16 | # GNU General Public License for more details.
|
|---|
| 17 | #
|
|---|
| 18 | # You should have received a copy of the GNU General Public License
|
|---|
| 19 | # along with this program; if not, write to the Free Software
|
|---|
| 20 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|---|
| 21 | #
|
|---|
| 22 |
|
|---|
| 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
|
|---|
| 27 | $(NOTPARALLEL):
|
|---|
| 28 |
|
|---|
| 29 | srcdir = @srcdir@
|
|---|
| 30 |
|
|---|
| 31 | prefix = @prefix@
|
|---|
| 32 | exec_prefix = @exec_prefix@
|
|---|
| 33 |
|
|---|
| 34 | bindir = @bindir@
|
|---|
| 35 | sbindir = @sbindir@
|
|---|
| 36 | libexecdir = @libexecdir@
|
|---|
| 37 | datadir = @datadir@
|
|---|
| 38 | sysconfdir = @sysconfdir@
|
|---|
| 39 | sharedstatedir = @sharedstatedir@
|
|---|
| 40 | localstatedir = @localstatedir@
|
|---|
| 41 | libdir = @libdir@
|
|---|
| 42 | includedir = @includedir@
|
|---|
| 43 | oldincludedir = @oldincludedir@
|
|---|
| 44 | infodir = @infodir@
|
|---|
| 45 | mandir = @mandir@
|
|---|
| 46 | gxx_include_dir=@gxx_include_dir@
|
|---|
| 47 |
|
|---|
| 48 | tooldir = @tooldir@
|
|---|
| 49 | build_tooldir = @build_tooldir@
|
|---|
| 50 |
|
|---|
| 51 | program_transform_name = @program_transform_name@
|
|---|
| 52 |
|
|---|
| 53 | man1dir = $(mandir)/man1
|
|---|
| 54 | man2dir = $(mandir)/man2
|
|---|
| 55 | man3dir = $(mandir)/man3
|
|---|
| 56 | man4dir = $(mandir)/man4
|
|---|
| 57 | man5dir = $(mandir)/man5
|
|---|
| 58 | man6dir = $(mandir)/man6
|
|---|
| 59 | man7dir = $(mandir)/man7
|
|---|
| 60 | man8dir = $(mandir)/man8
|
|---|
| 61 | man9dir = $(mandir)/man9
|
|---|
| 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 = @config_shell@
|
|---|
| 67 |
|
|---|
| 68 | # pwd command to use. Allow user to override default by setting PWDCMD in
|
|---|
| 69 | # the environment to account for automounters. The make variable must not
|
|---|
| 70 | # be called PWDCMD, otherwise the value set here is passed to make
|
|---|
| 71 | # subprocesses and overrides the setting from the user's environment.
|
|---|
| 72 | # Don't use PWD since it is a common shell environment variable and we
|
|---|
| 73 | # don't want to corrupt it.
|
|---|
| 74 | PWD_COMMAND = $${PWDCMD-pwd}
|
|---|
| 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 | INSTALL_DOSREL = install-dosrel-fake
|
|---|
| 86 |
|
|---|
| 87 | AS = as
|
|---|
| 88 | AR = ar
|
|---|
| 89 | AR_FLAGS = rc
|
|---|
| 90 | CC = cc
|
|---|
| 91 |
|
|---|
| 92 | # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
|
|---|
| 93 | # here so that they can be overridden by Makefile fragments.
|
|---|
| 94 | HOST_CC = $(CC_FOR_BUILD)
|
|---|
| 95 | BUILD_PREFIX =
|
|---|
| 96 | BUILD_PREFIX_1 = loser-
|
|---|
| 97 |
|
|---|
| 98 | # These flag values are normally overridden by the configure script.
|
|---|
| 99 | CFLAGS = -g
|
|---|
| 100 | CXXFLAGS = -g -O2
|
|---|
| 101 |
|
|---|
| 102 | LDFLAGS =
|
|---|
| 103 | LIBCFLAGS = $(CFLAGS)
|
|---|
| 104 | CFLAGS_FOR_BUILD = $(CFLAGS)
|
|---|
| 105 | # During gcc bootstrap, if we use some random cc for stage1 then
|
|---|
| 106 | # CFLAGS will be just -g. We want to ensure that TARGET libraries
|
|---|
| 107 | # (which we know are built with gcc) are built with optimizations so
|
|---|
| 108 | # prepend -O2 when setting CFLAGS_FOR_TARGET.
|
|---|
| 109 | CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
|
|---|
| 110 | LDFLAGS_FOR_TARGET =
|
|---|
| 111 | LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
|
|---|
| 112 | PICFLAG =
|
|---|
| 113 | PICFLAG_FOR_TARGET =
|
|---|
| 114 |
|
|---|
| 115 | CXX = c++
|
|---|
| 116 |
|
|---|
| 117 | # Use -O2 to stress test the compiler.
|
|---|
| 118 | LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
|
|---|
| 119 | CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
|
|---|
| 120 | LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
|
|---|
| 121 |
|
|---|
| 122 | DLLTOOL = dlltool
|
|---|
| 123 | WINDRES = windres
|
|---|
| 124 |
|
|---|
| 125 | NM = nm
|
|---|
| 126 |
|
|---|
| 127 | LD = ld
|
|---|
| 128 |
|
|---|
| 129 | # These values are substituted by configure.
|
|---|
| 130 | DEFAULT_YACC = @DEFAULT_YACC@
|
|---|
| 131 | DEFAULT_LEX = @DEFAULT_LEX@
|
|---|
| 132 | DEFAULT_M4 = @DEFAULT_M4@
|
|---|
| 133 |
|
|---|
| 134 | BISON = `if [ -f $$r/bison/bison ] ; then \
|
|---|
| 135 | echo $$r/bison/bison -L $$s/bison/ ; \
|
|---|
| 136 | else \
|
|---|
| 137 | echo bison ; \
|
|---|
| 138 | fi`
|
|---|
|
|---|