📄 configure.frag
字号:
# configure.frag for GNU CC# Process the host/target/language Makefile fragments.# Copyright (C) 1997 Free Software Foundation, Inc.#This file is part of GNU CC.#GNU CC 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, or (at your option)#any later version.#GNU CC 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 GNU CC; see the file COPYING. If not, write to#the Free Software Foundation, 59 Temple Place - Suite 330,#Boston, MA 02111-1307, USA.# First parameter is the source directory, second is list of subdirectories,# third is list of host makefile fragments, fourth is list of target makefile# fragments.srcdir=$1subdirs=$2xmake_files=$3tmake_files=$4# Copy all the host makefile fragments into Make-host.rm -f Make-hosttouch Make-hostfor f in .. $xmake_filesdo if [ -f $f ] then cat $f >> Make-host fidone# Copy all the target makefile fragments into Make-target.rm -f Make-targettouch Make-targetfor f in .. $tmake_filesdo if [ -f $f ] then cat $f >> Make-target fidone# Ensure the language build subdirectories exist.for subdir in . $subdirsdo if [ $subdir != . ] then test -d $subdir || mkdir $subdir fidone# Now copy each language's Make-lang.in file to Make-lang.rm -f Make-langtouch Make-langfor subdir in . $subdirsdo if [ $subdir != . ] then cat $srcdir/$subdir/Make-lang.in >> Make-lang fidone
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -