📄 makefile.in
字号:
## Makefile for directory with subdirs to build.# Copyright (C) 1990, 1991, 1992 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., 675 Mass Ave, Cambridge, MA 02139, USA. */#srcdir = .prefix = /usr/localexec_prefix = $(prefix)bindir = $(exec_prefix)/binlibdir = $(exec_prefix)/libtooldir = $(libdir)program_transform_name =datadir = $(prefix)/libmandir = $(prefix)/manman1dir = $(mandir)/man1man2dir = $(mandir)/man2man3dir = $(mandir)/man3man4dir = $(mandir)/man4man5dir = $(mandir)/man5man6dir = $(mandir)/man6man7dir = $(mandir)/man7man8dir = $(mandir)/man8man9dir = $(mandir)/man9infodir = $(prefix)/infoincludedir = $(prefix)/includedocdir = $(datadir)/docSHELL = /bin/shINSTALL = install -cINSTALL_PROGRAM = $(INSTALL)INSTALL_DATA = $(INSTALL)AS = asAR = arAR_FLAGS = qcCFLAGS = -gRANLIB = ranlibNM = nmBISON = `if [ -f $${rootme}/byacc/byacc ] ; \ then echo $${rootme}/byacc/byacc ; \ else echo bison -y ; \ fi`LEX = `if [ -f $${rootme}/flex/flex ] ; \ then echo $${rootme}/flex/flex ; \ else echo flex ; fi`MAKEINFO = `if [ -f $${rootme}/texinfo/C/makeinfo ] ; \ then echo $${rootme}/texinfo/C/makeinfo ; \ else echo makeinfo ; fi`# C compiler to use to create programs which must be run in the build# environment.CC_FOR_BUILD = $(CC)SUBDIRS = libiberty mmalloc readline opcodes bfd gdb binutils ld gas tgas gcc libg++ newlibOTHERS = ALL = all.normalINSTALL_TARGET = install.all### for debugging#GCCVERBOSE=-vCC_FOR_TARGET = ` \ if [ -f $${rootme}/gcc/Makefile ] ; then \ echo $${rootme}/gcc/gcc -B$${rootme}/gcc/; \ else \ if [ "$(host_cpu)-$(host_vendor)-$(host_os)" = "$(target_cpu)-$(target_vendor)-$(target_os)" ] ; then \ echo $(CC); \ else \ t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \ fi; \ fi`AS_FOR_TARGET = ` \ if [ -f $${rootme}/gas/Makefile ] ; then \ echo $${rootme}/gas/as.new ; \ else \ if [ "$(host_cpu)-$(host_vendor)-$(host_os)" = "$(target_cpu)-$(target_vendor)-$(target_os)" ] ; then \ echo $(AS); \ else \ t='$(program_transform_name)'; echo as | sed -e '' $$t ; \ fi \ fi`AR_FOR_TARGET = ` \ if [ -f $${rootme}/binutils/Makefile ] ; then \ echo $${rootme}/binutils/ar ; \ else \ if [ "$(host_cpu)-$(host_vendor)-$(host_os)" = "$(target_cpu)-$(target_vendor)-$(target_os)" ] ; then \ echo $(AR); \ else \ t='$(program_transform_name)'; echo ar | sed -e '' $$t ; \ fi \ fi`RANLIB_FOR_TARGET = ` \ if [ -f $${rootme}/binutils/Makefile ] ; then \ echo $${rootme}/binutils/ranlib ; \ else \ if [ "$(host_cpu)-$(host_vendor)-$(host_os)" = "$(target_cpu)-$(target_vendor)-$(target_os)" ] ; then \ echo $(RANLIB); \ else \ t='$(program_transform_name)'; echo ranlib | sed -e '' $$t ; \ fi \ fi`NM_FOR_TARGET = ` \ if [ -f $${rootme}/binutils/Makefile ] ; then \ echo $${rootme}/binutils/nm ; \ else \ if [ "$(host_cpu)-$(host_vendor)-$(host_os)" = "$(target_cpu)-$(target_vendor)-$(target_os)" ] ; then \ echo $(NM); \ else \ t='$(program_transform_name)'; echo nm | sed -e '' $$t ; \ fi \ fi`XTRAFLAGS = ` \ if [ -f $${rootme}/gcc/Makefile ] ; then \ if [ -f $${rootme}/newlib/Makefile ] ; then \ echo -I$${rootme}/newlib/targ-include -I$${srcroot}/newlib/libc/include -I$${rootme}/gcc/include -nostdinc ; \ else \ echo -I$${rootme}/gcc/include ; \ fi ; \ else \ echo ; \ fi`#### host and target specific makefile fragments come in here.#### Flags to pass down to sub-makesFLAGS_TO_PASS = \ "prefix=$(prefix)" \ "exec_prefix=$(exec_prefix)" \ "tooldir=$(tooldir)" \ "AR=$(AR)" \ "AR_FLAGS=$(AR_FLAGS)" \ "CC=$(CC)" \ "CFLAGS=$(CFLAGS)" \ "RANLIB=$(RANLIB)" \ "LOADLIBES=$(LOADLIBES)" \ "LDFLAGS=$(LDFLAGS)" \ "BISON=$(BISON)" \ "LEX=$(LEX)" \ "MAKEINFO=$(MAKEINFO)" \ "INSTALL=$(INSTALL)" \ "INSTALL_DATA=$(INSTALL_DATA)" \ "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ "CC_FOR_BUILD=$(CC_FOR_BUILD)"# Flags to pass down to makes which are built with the target# environment (e.g. libg++, xiberty, newlib).TARGET_FLAGS_TO_PASS = \ "prefix=$(prefix)" \ "exec_prefix=$(exec_prefix)" \ "tooldir=$(tooldir)" \ "AR_FLAGS=$(AR_FLAGS)" \ "CFLAGS=$(CFLAGS)" \ "LOADLIBES=$(LOADLIBES)" \ "LDFLAGS=$(LDFLAGS)" \ "BISON=$(BISON)" \ "LEX=$(LEX)" \ "MAKEINFO=$(MAKEINFO)" \ "INSTALL=$(INSTALL)" \ "INSTALL_DATA=$(INSTALL_DATA)" \ "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ "CC_FOR_BUILD=$(CC_FOR_BUILD)" \ "CC=$(CC_FOR_TARGET)" \ "AS=$(AS_FOR_TARGET)" \ "AR=$(AR_FOR_TARGET)" \ "RANLIB=$(RANLIB_FOR_TARGET)" \ "NM=$(NM_FOR_TARGET)" \ "XTRAFLAGS=$(XTRAFLAGS)"# The first rule in the file had better be this one. Don't put any above it.all: $(ALL).PHONY: all info install-info clean-info.NOEXPORT:info: @rootme=`pwd` ; export rootme ; $(MAKE) $(FLAGS_TO_PASS) subdir_do DO=info "DODIRS=$(SUBDIRS)" check: @rootme=`pwd` ; export rootme ; $(MAKE) $(FLAGS_TO_PASS) DO=check "DODIRS=$(SUBDIRS)" subdir_doclean-info: @rootme='pwd' ; export rootme ; $(MAKE) $(FLAGS_TO_PASS) DO=clean-info "DODIRS=$(SUBDIRS)" subdir_doinstall-info: install-info-dirs force -parent=`echo $(infodir)|sed -e 's@/[^/]*$$@@'`; \ if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi -if [ -d $(infodir) ] ; then true ; else mkdir $(infodir) ; fi @rootme='pwd' ; export rootme ; $(MAKE) $(FLAGS_TO_PASS) DO=install-info "DODIRS=$(SUBDIRS)" subdir_do @rootme='pwd' ; export rootme ; $(MAKE) $(FLAGS_TO_PASS) dir.info install-dir.infoinstall-dir.info: -parent=`echo $(infodir)|sed -e 's@/[^/]*$$@@'`; \ if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi -if [ -d $(infodir) ] ; then true ; else mkdir $(infodir) ; fi $(INSTALL_DATA) dir.info $(infodir)/dir.infoall.normal: all-autoconf all-libiberty all-mmalloc \ all-byacc all-flex all-opcodes all-bfd all-ld all-gas all-tgas \ all-gcc all-binutils all-libg++ all-readline all-gdb \ all-make all-rcs all-cvs all-diff all-grep \ all-patch all-emacs all-ispell all-etc \ all-newlib all-gprof all-send_pr all-libmall.cross: all-libiberty all-mmalloc all-gas all-byacc all-flex all-ld \ all-opcodes all-bfd all-readline all-gdb all-binutils all-gcc \ all-newlibclean: clean-autoconf clean-libiberty clean-mmalloc \ clean-bfd clean-newlib clean-binutils clean-flex \ clean-byacc clean-ld clean-gas clean-etc clean-opcodes \ clean-gcc clean-readline clean-glob clean-gdb \ clean-make clean-diff clean-grep clean-rcs \ clean-cvs clean-patch clean-emacs clean-ispell \ clean-libg++ clean-gprof clean-send_pr clean-libm clean-xiberty -rm -rf *.a TEMP errs core *.o *~ \#* TAGS *.Eclean-stamps: -rm -f all-*install: /tmp cd gdb ; $(MAKE) installinstall.all: install-no-fixedincludes @if [ -f ./gcc/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./gcc; \ $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \ else \ true ; \ fiinstall-no-fixedincludes: install-dirs gcc-no-fixedincludes \ install-autoconf \ install-bfd \ install-binutils \ install-opcodes \ install-byacc \ install-cvs \ install-diff \ install-emacs \ install-etc \ install-flex \ install-gas \ install-gdb \ install-glob \ install-gprof \ install-grep \ install-ispell \ install-ld \ install-libg++ \ install-libiberty \ install-libm \ install-make \ install-mmalloc \ install-newlib \ install-patch \ install-rcs \ install-readline \ install-send_pr \ install-texinfo gcc-no-fixedincludes: @if [ -f ./gcc/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./gcc; \ $(MAKE) $(FLAGS_TO_PASS) install install-man \ "INSTALL_HEADERS=install-common-headers install-float-h install-limits-h") ; \ else \ true ; \ fiinstall.cross: install-dirs install-libiberty install-mmalloc \ install-binutils install-opcodes install-byacc install-flex \ install-ld install-gas install-readline \ install-glob install-gdb install-mmalloc \ install-newlib install-gcc install-etc### autoconfall-autoconf: force @if [ -f ./autoconf/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./autoconf; $(MAKE) $(FLAGS_TO_PASS) all) ; \ else \ true ; \ ficlean-autoconf: force @if [ -f ./autoconf/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./autoconf; $(MAKE) $(FLAGS_TO_PASS) clean) ; \ else \ true ; \ fiinstall-autoconf: force @if [ -f ./autoconf/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./autoconf; $(MAKE) $(FLAGS_TO_PASS) install) ; \ else \ true ; \ fi### etcall-etc: force @if [ -f ./etc/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./etc; $(MAKE) $(FLAGS_TO_PASS) all) ; \ else \ true ; \ ficlean-etc: force @if [ -f ./etc/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./etc; $(MAKE) $(FLAGS_TO_PASS) clean) ; \ else \ true ; \ fiinstall-etc: force @if [ -f ./etc/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./etc; $(MAKE) $(FLAGS_TO_PASS) install) ; \ else \ true ; \ fi### libibertyall-libiberty: force @if [ -f ./libiberty/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./libiberty; \ $(MAKE) $(FLAGS_TO_PASS) all) ; \ else \ true ; \ ficlean-libiberty: force @if [ -f ./libiberty/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./libiberty; \ $(MAKE) $(FLAGS_TO_PASS) clean) ; \ else \ true ; \ fiinstall-libiberty: force @if [ -f ./libiberty/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./libiberty; \ $(MAKE) $(FLAGS_TO_PASS) install) ; \ else \ true ; \ fi### xibertyall-xiberty: all-gcc all-newlib @if [ -f ./xiberty/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ srcroot=`cd $(srcdir); pwd`; export srcroot ; \ (cd ./xiberty; \ $(MAKE) $(FLAGS_TO_PASS) all) ; \ else \ true ; \ ficlean-xiberty: force @if [ -f ./xiberty/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ srcroot=`cd $(srcdir); pwd`; export srcroot ; \ (cd ./xiberty; \ $(MAKE) $(FLAGS_TO_PASS) clean) ; \ else \ true ; \ fiinstall-xiberty: force @if [ -f ./xiberty/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ srcroot=`cd $(srcdir); pwd`; export srcroot ; \ (cd ./xiberty; \ $(MAKE) $(FLAGS_TO_PASS) install) ; \ else \ true ; \ fi### mmallocall-mmalloc: force @if [ -f ./mmalloc/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./mmalloc; \ $(MAKE) $(FLAGS_TO_PASS) all) ; \ else \ true ; \ ficlean-mmalloc: force @if [ -f ./mmalloc/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./mmalloc; \ $(MAKE) $(FLAGS_TO_PASS) clean) ; \ else \ true ; \ fiinstall-mmalloc: force @if [ -f ./mmalloc/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./mmalloc; \ $(MAKE) $(FLAGS_TO_PASS) install) ; \ else \ true ; \ fi### texinfoall-texinfo: all-libiberty @if [ -f ./texinfo/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./texinfo; \ $(MAKE) $(FLAGS_TO_PASS) all) ; \ else \ true ; \ ficlean-texinfo: force @if [ -f ./texinfo/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./texinfo; \ $(MAKE) $(FLAGS_TO_PASS) clean) ; \ else \ true ; \ fiinstall-texinfo: force @if [ -f ./texinfo/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./texinfo; \ $(MAKE) $(FLAGS_TO_PASS) install) ; \ else \ true ; \ fi### bfdall-bfd: force @if [ -f ./bfd/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./bfd; \ $(MAKE) $(FLAGS_TO_PASS) all) ; \ else \ true ; \ ficlean-bfd: force @if [ -f ./bfd/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./bfd; \ $(MAKE) $(FLAGS_TO_PASS) clean) ; \ else \ true ; \ fiinstall-bfd: force @if [ -f ./bfd/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./bfd; \ $(MAKE) $(FLAGS_TO_PASS) install) ; \ else \ true ; \ fi### opcodesall-opcodes: force @if [ -f ./opcodes/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./opcodes; \ $(MAKE) $(FLAGS_TO_PASS) all) ; \ else \ true ; \ ficlean-opcodes: force @if [ -f ./opcodes/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./opcodes; \ $(MAKE) $(FLAGS_TO_PASS) clean) ; \ else \ true ; \ fiinstall-opcodes: force @if [ -f ./opcodes/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./opcodes; \ $(MAKE) $(FLAGS_TO_PASS) install) ; \ else \ true ; \ fi### binutilsall-binutils: all-opcodes all-libiberty all-bfd all-flex @if [ -f ./binutils/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./binutils; \ $(MAKE) $(FLAGS_TO_PASS) all) ; \ else \ true ; \ ficlean-binutils: force @if [ -f ./binutils/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./binutils; \ $(MAKE) $(FLAGS_TO_PASS) clean) ; \ else \ true ; \ fiinstall-binutils: force @if [ -f ./binutils/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./binutils; \ $(MAKE) $(FLAGS_TO_PASS) install) ; \ else \ true ; \ fi### newliball-newlib: all-binutils all-ld all-gas all-gcc @if [ -f ./newlib/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ srcroot=`cd $(srcdir); pwd` ; export srcroot ; \ (cd ./newlib; \ $(MAKE) $(TARGET_FLAGS_TO_PASS) all) ; \ else \ true ; \ ficlean-newlib: force @if [ -f ./newlib/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ srcroot=`cd $(srcdir); pwd` ; export srcroot ; \ (cd ./newlib; \ $(MAKE) $(TARGET_FLAGS_TO_PASS) clean) ; \ else \ true ; \ fiinstall-newlib: force @if [ -f ./newlib/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ srcroot=`cd $(srcdir); pwd` ; export srcroot ; \ (cd ./newlib; \ $(MAKE) $(TARGET_FLAGS_TO_PASS) install) ; \ else \ true ; \ fi### gprofall-gprof: all-libiberty all-bfd @if [ -f ./gprof/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./gprof; \ $(MAKE) $(FLAGS_TO_PASS) all) ; \ else \ true ; \ ficlean-gprof: force @if [ -f ./gprof/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./gprof; \ $(MAKE) $(FLAGS_TO_PASS) clean) ; \ else \ true ; \ fiinstall-gprof: force @if [ -f ./gprof/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./gprof; \ $(MAKE) $(FLAGS_TO_PASS) install) ; \ else \ true ; \ fi### byaccall-byacc: force @if [ -f ./byacc/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./byacc; \ $(MAKE) $(FLAGS_TO_PASS) all) ; \ else \ true ; \ ficlean-byacc: force @if [ -f ./byacc/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./byacc; \ $(MAKE) $(FLAGS_TO_PASS) clean) ; \ else \ true ; \ fiinstall-byacc: force @if [ -f ./byacc/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./byacc; \ $(MAKE) $(FLAGS_TO_PASS) install) ; \ else \ true ; \ fi### flexall-flex: all-libiberty @if [ -f ./flex/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./flex; \ $(MAKE) $(FLAGS_TO_PASS) all) ; \ else \ true ; \ ficlean-flex: force @if [ -f ./flex/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./flex; \ $(MAKE) $(FLAGS_TO_PASS) clean) ; \ else \ true ; \ fiinstall-flex: force @if [ -f ./flex/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./flex; \
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -