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

📄 rules1.top

📁 刻录光盘的程序
💻 TOP
字号:
#ident "@(#)rules1.top	1.21 99/12/20 "############################################################################ Written 1996 by J. Schilling############################################################################# Rules that should be included at top of every Makefile# Do not include this file directly; this is the language independent# version that may be included in special purpose versions.############################################################################# This program 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.## 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; see the file COPYING.  If not, write to# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.############################################################################# Global definitions:## Define magic unique cookie############################################################################_UNIQ= .XxZzy-############################################################################# Global handler for failed inludes############################################################################.INCLUDE_FAILED:	@echo " ==> AUTOMAKING \"$^\""; sh $(SRCROOT)/conf/makeinc $^############################################################################# Legacy support for old smake programs ...############################################################################.INCLUDEFAILED:	@echo " ==> AUTOMAKING \"$^\""; sh $(SRCROOT)/conf/makeinc $^############################################################################# Some global constants or pre-definitions############################################################################LCONFIG=ldummy.cnf######################################################################################################################################################## Standard (automatic) makeprog identification## Each make program should define a macro: MAKE_NAME for identification.# MAKE_NAME in this case is a built in macro like MAKE or MAKEFLAGS.# Currently only 'smake' implements this feature.############################################################################_MAKEPROG=	$(_UNIQ)$(MAKE_NAME)__MAKEPROG=	$(_MAKEPROG:$(_UNIQ)=$(MAKEPROG))_XMAKEPROG=	$(__MAKEPROG:$(_UNIQ)%=%)# gmake defines a macro MAKE_COMMAND. If neither MAKE_NAME is defined by # the make program, not MAKEPROG is set, try this to recognize gmake.#_MAKE_COMMAND=	$(MAKE_COMMAND:%make=gmake)__XMAKEPROG=	$(_UNIQ)$(_XMAKEPROG)___XMAKEPROG=	$(__XMAKEPROG:$(_UNIQ)=$(_MAKE_COMMAND))XMAKEPROG=	$(___XMAKEPROG:$(_UNIQ)%=%)include		$(SRCROOT)/$(RULESDIR)/mk-$(XMAKEPROG).id############################################################################# Standard (automatic) os identification############################################################################include		$(SRCROOT)/$(RULESDIR)/os-$(OSNAME).id############################################################################# Global os definitions############################################################################include		$(SRCROOT)/$(RULESDIR)/os-$(O_ARCH).def############################################################################# Some global project definitions that may be overwritten in 'Defaults'############################################################################CWARNOPTS=	$(CWOPTS)############################################################################# Global project definitions############################################################################DEF_ROOT=	$(SRCROOT)DEF_DIR=	DEFAULTS_DEFAULTSROOT=	$(_UNIQ)$(DEFAULTSROOT)__DEFAULTSROOT=	$(_DEFAULTSROOT:$(_UNIQ)=$(DEF_ROOT))DEFLTSROOT=	$(__DEFAULTSROOT:$(_UNIQ)%=%)_DEFAULTSDIR=	$(_UNIQ)$(DEFAULTSDIR)__DEFAULTSDIR=	$(_DEFAULTSDIR:$(_UNIQ)=$(DEF_DIR))DEFLTSDIR=	$(__DEFAULTSDIR:$(_UNIQ)%=%)include		$(DEFLTSROOT)/$(DEFLTSDIR)/Defaults############################################################################# Get curent directory name############################################################################_DIRNAME=	$(_UNIQ)$(DIRNAME)__DIRNAME=	$(_DIRNAME:$(_UNIQ)=...)CURDIR=		$(__DIRNAME:$(_UNIQ)%=%)############################################################################# Standard UNIX compiler name for use as architecture name.## (this is not necessarily the name the compiler is called by)# This is now defined in $(DEFAULTSROOT)/Defaults# If not ... use 'cc'############################################################################DEFCCOM_DEF=	cc_DEFCCOM=	$(_UNIQ)$(DEFCCOM)__DEFCCOM=	$(_DEFCCOM:$(_UNIQ)=$(DEFCCOM_DEF))CCOM_DEF=	$(__DEFCCOM:$(_UNIQ)%=%)_CCOM=		$(_UNIQ)$(CCOM)__CCOM=		$(_CCOM:$(_UNIQ)=$(CCOM_DEF))C_ARCH=		$(__CCOM:$(_UNIQ)%=%)############################################################################# Standard default include directories############################################################################DEFINCDIRS_DEF=	$(SRCROOT)/include_INCDIRS=	$(_UNIQ)$(DEFINCDIRS)__INCDIRS=	$(_INCDIRS:$(_UNIQ)=$(DEFINCDIRS_DEF))INCDIRS=	$(__INCDIRS:$(_UNIQ)%=%)############################################################################# Build $(ARCHDIR) which occupies a central role in the whole# make file system. ARCHDIR is used as a sub directory name to keep# platform dependent files on different places.## It is built from:#	- processor type#	- operating system#	- compiler identification## A possible name could be:#	mc68020-sunos4-cc############################################################################KARCH_DEF=	$(K_ARCH)MARCH_DEF=	$(M_ARCH)PARCH_DEF=	$(P_ARCH)KARCH=		K_ARCH_MARCH=		$(_UNIQ)$(ARCH)__MARCH=	$(_MARCH:$(_UNIQ)=$(MARCH_DEF))MARCH=		$(__MARCH:$(_UNIQ)%=%)_PARCH=		$(_UNIQ)$(ARCH)__PARCH=	$(_PARCH:$(_UNIQ)=$(PARCH_DEF))PARCH=		$(__PARCH:$(_UNIQ)%=%)#OARCH=		$(MARCH)$(-O_ARCH)-$(C_ARCH)OARCH=		$(PARCH)$(-O_ARCH)-$(C_ARCH)XARCH=		$(K_ARCH)$(-O_ARCH)-$(C_ARCH).print:	echo $(XP_ARCH) $(P_ARCH)############################################################################# All generated files are placed directly into this subdirectory.# This includes e.g. yacc output (.c & .h files).# SUBARCH is used if a object is conditional compiled in multiple ways.############################################################################OARCHDIR=	OBJ/$(OARCH)ARCHDIR=	OBJ/$(OARCH)$(SUBARCHDIR)$(SUBARCH)###########################################################################OLIBSDIR=	$(SRCROOT)/libs/$(OARCH)OINCSDIR=	$(SRCROOT)/incs/$(OARCH)############################################################################ Location for targets:## - all						: see appropriate rules# - clean, clobber, distclean, relink, rmtarget	: rules.clr# - install, ibins				: rules.ins# - depend, rmdep				: rules.dep# - config					: rules.cnf# - tags, TAGS					: rules.tag# - .help					: rules.hlp# - tinfo					: rules.dir/rules.rdi############################################################################ALLTARGETS=	all clean clobber distclean install ibins depend rmdep \		config TAGS tags rmtarget relink

⌨️ 快捷键说明

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