⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile.in

📁 早期freebsd实现
💻 IN
📖 第 1 页 / 共 3 页
字号:
## 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 = cpINSTALL_PROGRAM = $(INSTALL)INSTALL_DATA = $(INSTALL)AS = asAR = arAR_FLAGS = qcCFLAGS = -gCXXFLAGS = -g -ORANLIB = ranlibNM = nmBISON = `if [ -f $${rootme}/byacc/byacc ] ; \	    then echo $${rootme}/byacc/byacc ; \	    else echo byacc ; \	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)CXX_FOR_BUILD = gccSUBDIRS = libiberty mmalloc glob readline opcodes bfd z8ksim gdb binutils ld gas tgas gcc libg++ newlib deja-gnuOTHERS = 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_canonical)" = "$(target_canonical)" ] ; then \      echo $(CC); \    else \      t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \    fi; \  fi`CXX_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 gcc; \    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_canonical)" = "$(target_canonical)" ] ; 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_canonical)" = "$(target_canonical)" ] ; 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_canonical)" = "$(target_canonical)" ] ; 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-makes -- please keep these in alphabetical orderFLAGS_TO_PASS = \	"AR=$(AR)" \	"AR_FLAGS=$(AR_FLAGS)" \	"BISON=$(BISON)" \	"CXXFLAGS=$(CXXFLAGS)" \	"CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \	"CC=$(CC)" \	"CC_FOR_BUILD=$(CC_FOR_BUILD)" \	"CFLAGS=$(CFLAGS)" \	"INSTALL=$(INSTALL)" \	"INSTALL_DATA=$(INSTALL_DATA)" \	"INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \	"LDFLAGS=$(LDFLAGS)" \	"LEX=$(LEX)" \	"LOADLIBES=$(LOADLIBES)" \	"MAKEINFO=$(MAKEINFO)" \	"RANLIB=$(RANLIB)" \	"exec_prefix=$(exec_prefix)" \	"prefix=$(prefix)" \	"tooldir=$(tooldir)" # Flags that are concerned with the location of the X11 include files# and library filesX11_FLAGS_TO_PASS = \	"X11_INCLUDE_FLAGS=$(X11_INCLUDE_FLAGS)" \	"X11_LIB_FLAGS=$(X11_LIB_FLAGS)"# Flags to pass down to makes which are built with the target# environment (e.g. libg++, xiberty, newlib).  -- keep these in alpha order pleaseTARGET_FLAGS_TO_PASS = \	"AR=$(AR_FOR_TARGET)" \	"AR_FLAGS=$(AR_FLAGS)" \	"AS=$(AS_FOR_TARGET)" \	"BISON=$(BISON)" \	"CXX=$(CXX_FOR_TARGET)" \	"CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \	"CXXFLAGS=$(CXXFLAGS)" \	"CC=$(CC_FOR_TARGET)" \	"CC_FOR_BUILD=$(CC_FOR_BUILD)" \	"CFLAGS=$(CFLAGS)" \	"INSTALL=$(INSTALL)" \	"INSTALL_DATA=$(INSTALL_DATA)" \	"INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \	"LDFLAGS=$(LDFLAGS)" \	"LEX=$(LEX)" \	"LOADLIBES=$(LOADLIBES)" \	"MAKEINFO=$(MAKEINFO)" \	"NM=$(NM_FOR_TARGET)" \	"RANLIB=$(RANLIB_FOR_TARGET)" \	"XTRAFLAGS=$(XTRAFLAGS)" \	"exec_prefix=$(exec_prefix)" \	"prefix=$(prefix)" \	"tooldir=$(tooldir)" # 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-m4 all-autoconf all-libiberty all-mmalloc all-texinfo \	all-byacc all-flex all-opcodes all-bfd all-ld all-gas all-tgas \	all-gcc all-binutils  all-libg++ all-readline all-z8ksim all-gdb \	all-make all-rcs all-cvs all-diff all-grep \	all-patch all-emacs all-ispell all-etc \	all-tcl all-tk all-expect \	all-newlib all-gprof all-send_pr all-libm all-deja-gnu \	all-fileutils all-find all-gawk all-sed all-shellutils \	all-textutils all-time all-wdiffall.cross: all-libiberty all-mmalloc all-gas all-byacc all-flex all-ld \	 all-opcodes all-z8ksim all-bfd all-readline all-gdb all-binutils all-gcc \	all-newlib all-deja-gnuclean: clean-autoconf clean-libiberty clean-mmalloc clean-texinfo \	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-z8ksim \	clean-make clean-diff clean-grep clean-rcs \	clean-cvs clean-patch clean-emacs clean-ispell \	clean-tcl clean-tk clean-expect \	clean-libg++ clean-gprof clean-send_pr clean-libm clean-xiberty \	clean-deja-gnu \	clean-fileutils clean-find clean-gawk clean-m4 clean-sed clean-shellutils \	clean-textutils clean-time clean-wdiff	-rm -rf *.a TEMP errs core *.o *~ \#* TAGS *.Eclean-stamps:	-rm -f all-*install: $(INSTALL_TARGET) 	-parent=`echo $(man1dir)|sed -e 's@/[^/]*$$@@'`; \	if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi	-if [ -d $(man1dir) ] ; then true ; else mkdir $(man1dir) ; fiinstall.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-deja-gnu \	install-emacs \	install-etc \	install-expect \	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-tcl \	install-texinfo \	install-tk  \	install-z8ksim \	install-fileutils install-find install-gawk install-m4 install-sed install-shellutils \	install-textutils install-time install-wdiffgcc-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 install-deja-gnu### deja-gnuall-deja-gnu: force	@if [ -f ./deja-gnu/Makefile ] ; then \		rootme=`pwd` ; export rootme ; \		(cd ./deja-gnu; $(MAKE) $(FLAGS_TO_PASS) all) ; \	else \		true ; \	ficlean-deja-gnu: force	@if [ -f ./deja-gnu/Makefile ] ; then \		rootme=`pwd` ; export rootme ; \		(cd ./deja-gnu;	$(MAKE) $(FLAGS_TO_PASS) clean) ; \	else \		true ; \	fiinstall-deja-gnu: force	@if [ -f ./deja-gnu/Makefile ] ; then \		rootme=`pwd` ; export rootme ; \		(cd ./deja-gnu;	$(MAKE) $(FLAGS_TO_PASS) install) ; \	else \		true ; \	fi### 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 ; \

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -