?? makefile
字號:
# This file was generated automatically by configure. Do not edit.VPATH = .links = host_alias = i686-pc-linux-gnuhost_cpu = i686host_vendor = pchost_os = linux-gnuhost_canonical = i686-pc-linux-gnutarget_alias = mipstarget_cpu = mipstarget_vendor = mipstarget_os = elftarget_canonical = mips-mips-elfbuild_alias = i686-pc-linux-gnubuild_cpu = i686build_vendor = pcbuild_os = linux-gnubuild_canonical = i686-pc-linux-gnuenable_shared = noenable_version_specific_runtime_libs = nogcc_version_trigger =gcc_version =## Makefile for directory with subdirs to build.# Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,# 1999, 2000, 2001 Free Software Foundation## This file is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 2 of the License, or# (at your option) any later version.# # This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the# GNU General Public License for more details.# # You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.#srcdir = .prefix = /usr/localexec_prefix = $(prefix)bindir = ${exec_prefix}/binsbindir = ${exec_prefix}/sbinlibexecdir = ${exec_prefix}/libexecdatadir = ${prefix}/sharesysconfdir = ${prefix}/etcsharedstatedir = ${prefix}/comlocalstatedir = ${prefix}/varlibdir = ${exec_prefix}/libincludedir = ${prefix}/includeoldincludedir = /usr/includeinfodir = ${prefix}/infomandir = ${prefix}/mangxx_include_dir=${prefix}/include/g++-tooldir = $(exec_prefix)/mipsbuild_tooldir = $(exec_prefix)/mipsprogram_transform_name = -e s,^,mips-, man1dir = $(mandir)/man1man2dir = $(mandir)/man2man3dir = $(mandir)/man3man4dir = $(mandir)/man4man5dir = $(mandir)/man5man6dir = $(mandir)/man6man7dir = $(mandir)/man7man8dir = $(mandir)/man8man9dir = $(mandir)/man9infodir = ${prefix}/infoincludedir = ${prefix}/include# Directory in which the compiler finds executables, libraries, etc.libsubdir = $(libdir)/gcc-lib/$(target_alias)/$(gcc_version)GDB_NLM_DEPS = SHELL = /bin/sh# INSTALL_PROGRAM_ARGS is changed by configure.in to use -x for a# cygwin host.INSTALL_PROGRAM_ARGS =INSTALL = $(SHELL) $$s/install-sh -cINSTALL_PROGRAM = $(INSTALL) $(INSTALL_PROGRAM_ARGS)INSTALL_SCRIPT = $(INSTALL)INSTALL_DATA = $(INSTALL) -m 644INSTALL_DOSREL = install-dosrel-fakeAS = asAR = arAR_FLAGS = rcCC = gcc# Special variables passed down in EXTRA_GCC_FLAGS. They are defined# here so that they can be overridden by Makefile fragments.HOST_CC = $(CC_FOR_BUILD)HOST_PREFIX = HOST_PREFIX_1 = loser-# These flag values are normally overridden by the configure script.CFLAGS = -g -O2CXXFLAGS = -g -O2LDFLAGS = LIBCFLAGS = $(CFLAGS)CFLAGS_FOR_TARGET = $(CFLAGS)LDFLAGS_FOR_TARGET = LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)PICFLAG = PICFLAG_FOR_TARGET = CHILLFLAGS = $(CFLAGS)CHILL_LIB = -lchillCXX = c++# Use -O2 to stress test the compiler.LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templatesCXXFLAGS_FOR_TARGET = $(CXXFLAGS)LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templatesRANLIB = ranlibDLLTOOL = dlltoolWINDRES = windresNM = nmLD = ldBZIPPROG = bzip2MD5PROG = md5sum# These values are substituted by configure.DEFAULT_YACC = bison -yDEFAULT_LEX = flexDEFAULT_M4 = m4BISON = `if [ -f $$r/bison/bison ] ; then \ echo $$r/bison/bison -L $$s/bison/ ; \ else \ echo bison ; \ fi`YACC = `if [ -f $$r/bison/bison ] ; then \ echo $$r/bison/bison -y -L $$s/bison/ ; \ elif [ -f $$r/byacc/byacc ] ; then \ echo $$r/byacc/byacc ; \ else \ echo ${DEFAULT_YACC} ; \ fi`LEX = `if [ -f $$r/flex/flex ] ; \ then echo $$r/flex/flex ; \ else echo ${DEFAULT_LEX} ; fi`M4 = `if [ -f $$r/m4/m4 ] ; \ then echo $$r/m4/m4 ; \ else echo ${DEFAULT_M4} ; fi`MAKEINFO = `if [ -f $$r/texinfo/makeinfo/Makefile ] ; \ then echo $$r/texinfo/makeinfo/makeinfo ; \ else echo makeinfo ; fi`# This just becomes part of the MAKEINFO definition passed down to# sub-makes. It lets flags be given on the command line while still# using the makeinfo from the object tree.MAKEINFOFLAGS =EXPECT = `if [ -f $$r/expect/expect ] ; \ then echo $$r/expect/expect ; \ else echo expect ; fi`RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \ then echo $$s/dejagnu/runtest ; \ else echo runtest ; fi`# compilers to use to create programs which must be run in the build# environment.CC_FOR_BUILD = $(CC)CXX_FOR_BUILD = $(CXX)SUBDIRS = intl mmalloc libiberty opcodes bfd readline db tcl tk tcl8.1 tk8.1 tclX itcl tix libgui byacc flex bison binutils ld gas gcc cgen sid sim gdb make patch send-pr gdbtest tgas etc expect dejagnu diff release utils findutils libtool zip OTHERS = # This is set by the configure script to the list of directories which# should be built using the target tools.TARGET_CONFIGDIRS = # Target libraries are put under this directory:# Changed by configure to $(target_alias) if cross.TARGET_SUBDIR = mips# This is set by the configure script to the arguments passed to configure.CONFIG_ARGUMENTS = --cache-file=../config.cache --host=mips --build=i686-pc-linux-gnu --enable-multilib --with-cross-host=i686-pc-linux-gnu # This is set by configure to REALLY_SET_LIB_PATH if --enable-shared# was used.SET_LIB_PATH =# This is the name of the environment variable used for the path to# the libraries. This may be changed by configure.in.RPATH_ENVVAR = LD_LIBRARY_PATH# This is the list of directories that may be needed in RPATH_ENVVAR# so that programs built for the host machine work.HOST_LIB_PATH = $$r/bfd:$$r/opcodes# This is the list of directories that may be needed in RPATH_ENVVAR# so that prorgams built for the target machine work.TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:$$r/$(TARGET_SUBDIR)/libstdc++# configure.in sets SET_LIB_PATH to this if --enable-shared was used.# Some platforms don't like blank entries, so we remove duplicate,# leading and trailing colons.REALLY_SET_LIB_PATH = \ $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);ALL = all.normalINSTALL_TARGET = installdirs \ install-gcc \ $(INSTALL_MODULES) \ $(INSTALL_TARGET_MODULES) \ $(INSTALL_X11_MODULES) \ $(INSTALL_DOSREL)INSTALL_TARGET_CROSS = installdirs \ install-gcc-cross \ $(INSTALL_MODULES) \ $(INSTALL_TARGET_MODULES) \ $(INSTALL_X11_MODULES) \ $(INSTALL_DOSREL)# Should be substed by configure.inFLAGS_FOR_TARGET = -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include -L$$r/ldCC_FOR_TARGET = mips-gcc $(FLAGS_FOR_TARGET)CHILL_FOR_TARGET = mips-gcc $(FLAGS_FOR_TARGET)CXX_FOR_TARGET = mips-c++ $(FLAGS_FOR_TARGET)# If GCC_FOR_TARGET is not overriden on the command line, then this# variable is passed down to the gcc Makefile, where it is used to# build libgcc2.a. We define it here so that it can itself be# overridden on the command line.GCC_FOR_TARGET = $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET)AS_FOR_TARGET = ` \ if [ -f $$r/gas/as-new ] ; then \ echo $$r/gas/as-new ; \ else \ if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ echo $(AS); \ else \ t='$(program_transform_name)'; echo as | sed -e 's/x/x/' $$t ; \ fi; \ fi`LD_FOR_TARGET = ` \ if [ -f $$r/ld/ld-new ] ; then \ echo $$r/ld/ld-new ; \ else \ if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ echo $(LD); \ else \ t='$(program_transform_name)'; echo ld | sed -e 's/x/x/' $$t ; \ fi; \ fi`DLLTOOL_FOR_TARGET = ` \ if [ -f $$r/binutils/dlltool ] ; then \ echo $$r/binutils/dlltool ; \ else \ if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ echo $(DLLTOOL); \ else \ t='$(program_transform_name)'; echo dlltool | sed -e 's/x/x/' $$t ; \ fi; \ fi`WINDRES_FOR_TARGET = ` \ if [ -f $$r/binutils/windres ] ; then \ echo $$r/binutils/windres ; \ else \ if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ echo $(WINDRES); \ else \ t='$(program_transform_name)'; echo windres | sed -e 's/x/x/' $$t ; \ fi; \ fi`AR_FOR_TARGET = ` \ if [ -f $$r/binutils/ar ] ; then \ echo $$r/binutils/ar ; \ else \ if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ echo $(AR); \ else \ t='$(program_transform_name)'; echo ar | sed -e 's/x/x/' $$t ; \ fi; \ fi`RANLIB_FOR_TARGET = ` \ if [ -f $$r/binutils/ranlib ] ; then \ echo $$r/binutils/ranlib ; \ else \ if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ echo $(RANLIB); \ else \ t='$(program_transform_name)'; echo ranlib | sed -e 's/x/x/' $$t ; \ fi; \ fi`NM_FOR_TARGET = ` \ if [ -f $$r/binutils/nm-new ] ; then \ echo $$r/binutils/nm-new ; \ else \ if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ echo $(NM); \ else \ t='$(program_transform_name)'; echo nm | sed -e 's/x/x/' $$t ; \ fi; \ fi`# The first rule in the file had better be this one. Don't put any above it.# This lives here to allow makefile fragments to contain dependencies.all: all.normal.PHONY: all# These can be overridden by config/mt-*.# The _TARGET_ is because they're specified in mt-foo.# The _HOST_ is because they're programs that run on the host.EXTRA_TARGET_HOST_ALL_MODULES =EXTRA_TARGET_HOST_INSTALL_MODULES =EXTRA_TARGET_HOST_CHECK_MODULES =#### host and target specific makefile fragments come in here.#### Flags to pass down to all sub-makes.# Please keep these in alphabetical order.BASE_FLAGS_TO_PASS = \ "AR_FLAGS=$(AR_FLAGS)" \ "AR_FOR_TARGET=$(AR_FOR_TARGET)" \ "AS_FOR_TARGET=$(AS_FOR_TARGET)" \ "BISON=$(BISON)" \ "CC_FOR_BUILD=$(CC_FOR_BUILD)" \ "CC_FOR_TARGET=$(CC_FOR_TARGET)" \ "CFLAGS=$(CFLAGS)" \ "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \ "CHILLFLAGS=$(CHILLFLAGS)" \ "CHILL_FOR_TARGET=$(CHILL_FOR_TARGET)" \ "CHILL_LIB=$(CHILL_LIB)" \ "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \ "CXXFLAGS=$(CXXFLAGS)" \ "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \ "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \ "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \ "INSTALL=$(INSTALL)" \ "INSTALL_DATA=$(INSTALL_DATA)" \ "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \ "LDFLAGS=$(LDFLAGS)" \ "LEX=$(LEX)" \ "LD_FOR_TARGET=$(LD_FOR_TARGET)" \ "LIBCFLAGS=$(LIBCFLAGS)" \ "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \ "LIBCXXFLAGS=$(LIBCXXFLAGS)" \ "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \ "M4=$(M4)" \ "MAKE=$(MAKE)" \ "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \ "NM_FOR_TARGET=$(NM_FOR_TARGET)" \ "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \ "RPATH_ENVVAR=$(RPATH_ENVVAR)" \ "SHELL=$(SHELL)" \ "EXPECT=$(EXPECT)" \ "RUNTEST=$(RUNTEST)" \ "RUNTESTFLAGS=$(RUNTESTFLAGS)" \ "TARGET_SUBDIR=$(TARGET_SUBDIR)" \ "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \ "YACC=$(YACC)" \ "bindir=$(bindir)" \ "datadir=$(datadir)" \ "exec_prefix=$(exec_prefix)" \ "includedir=$(includedir)" \ "infodir=$(infodir)" \ "libdir=$(libdir)" \ "libexecdir=$(libexecdir)" \ "lispdir=$(lispdir)" \ "localstatedir=$(localstatedir)" \ "mandir=$(mandir)" \ "oldincludedir=$(oldincludedir)" \ "prefix=$(prefix)" \ "sbindir=$(sbindir)" \ "sharedstatedir=$(sharedstatedir)" \ "sysconfdir=$(sysconfdir)" \ "tooldir=$(tooldir)" \ "build_tooldir=$(build_tooldir)" \ "gxx_include_dir=$(gxx_include_dir)" \ "gcc_version=$(gcc_version)" \ "gcc_version_trigger=$(gcc_version_trigger)" \ "target_alias=$(target_alias)" \ "libsubdir=$(libsubdir)"# Flags to pass down to most sub-makes, in which we're building with# the host environment.# If any variables are added here, they must be added to do-*, below.EXTRA_HOST_FLAGS = \ 'AR=$(AR)' \ 'AS=$(AS)' \ 'CC=$(CC)' \ 'CXX=$(CXX)' \ 'DLLTOOL=$(DLLTOOL)' \ 'LD=$(LD)' \ 'NM=$(NM)' \ 'RANLIB=$(RANLIB)' \ 'WINDRES=$(WINDRES)'FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)# Flags that are concerned with the location of the X11 include files# and library files## NOTE: until the top-level is getting the values via autoconf, it only# causes problems to have this top-level Makefile overriding the autoconf-set# values in child directories. Only variables that don't conflict with# autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.#X11_FLAGS_TO_PASS = \ 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \ 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'# Flags to pass down to makes which are built with the target environment.# The double $ decreases the length of the command line; the variables# are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.# If any variables are added here, they must be added to do-*, below.EXTRA_TARGET_FLAGS = \ 'AR=$$(AR_FOR_TARGET)' \ 'AS=$$(AS_FOR_TARGET)' \ 'CC=$$(CC_FOR_TARGET)' \ 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \ 'CXX=$$(CXX_FOR_TARGET)' \ 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \ 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \ 'LD=$$(LD_FOR_TARGET)' \ 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \ 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \ 'NM=$$(NM_FOR_TARGET)' \ 'RANLIB=$$(RANLIB_FOR_TARGET)' \ 'WINDRES=$$(WINDRES_FOR_TARGET)'TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)# Flags to pass down to gcc. gcc builds a library, libgcc.a, so it# unfortunately needs the native compiler and the target ar and# ranlib.# If any variables are added here, they must be added to do-*, below.# The HOST_* variables are a special case, which are used for the gcc# cross-building scheme.EXTRA_GCC_FLAGS = \ 'AR=$(AR)' \ 'AS=$(AS)' \ 'CC=$(CC)' \ 'CXX=$(CXX)' \ 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \ 'HOST_CC=$(CC_FOR_BUILD)' \ 'HOST_PREFIX=$(HOST_PREFIX)' \ 'HOST_PREFIX_1=$(HOST_PREFIX_1)' \ 'NM=$(NM)' \ 'RANLIB=$(RANLIB)' \ 'WINDRES=$$(WINDRES_FOR_TARGET)' \ "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \ "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s/.*=$$/XFOO=/`" \ "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s/.*=$$/XFOO=/`" \ "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s/.*=$$/XFOO=/`" \ "`echo 'LIBGCC1_TEST=$(LIBGCC1_TEST)' | sed -e s/.*=$$/XFOO=/`" \ "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \ "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \ "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s/.*=$$/XFOO=/`" \ "`echo 'ENQUIRE=$(ENQUIRE)' | sed -e s/.*=$$/XFOO=/`" \ "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s/.*=$$/XFOO=/`"GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)# This is a list of the targets for all of the modules which are compiled# using $(FLAGS_TO_PASS).ALL_MODULES = \ all-apache \ all-ash \ all-autoconf \ all-automake \ all-bash \
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -