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

📄 jambase.c

📁 Boost provides free peer-reviewed portable C++ source libraries. We emphasize libraries that work
💻 C
📖 第 1 页 / 共 3 页
字号:
"}\n","rule Undefines\n","{\n","UNDEFS on [ FAppendSuffix $(<) : $(SUFEXE) ] += $(UNDEFFLAG)$(>) ;\n","}\n","rule UserObject\n","{\n","EXIT \"Unknown suffix on\" $(>) \"- see UserObject rule in Jamfile(5).\" ;\n","}\n","rule Yacc\n","{\n","local _h ;\n","_h = $(<:BS=.h) ;\n","MakeLocate $(<) $(_h) : $(LOCATE_SOURCE) ;\n","if $(YACC)\n","{\n","DEPENDS $(<) $(_h) : $(>) ;\n","Yacc1 $(<) $(_h) : $(>) ;\n","YaccMv $(<) $(_h) : $(>) ;\n","Clean clean : $(<) $(_h) ;\n","}\n","INCLUDES $(<) : $(_h) ;\n","}\n","rule FGrist\n","{\n","local _g _i ;\n","_g = $(<[1]) ;\n","for _i in $(<[2-])\n","{\n","_g = $(_g)!$(_i) ;\n","}\n","return $(_g) ;\n","}\n","rule FGristFiles \n","{\n","if ! $(SOURCE_GRIST)\n","{\n","return $(<) ;\n","}\n","else \n","{\n","return $(<:G=$(SOURCE_GRIST)) ;\n","}\n","}\n","rule FGristSourceFiles\n","{\n","if ! $(SOURCE_GRIST)\n","{\n","return $(<) ;\n","}\n","else \n","{\n","local _i _o ;\n","for _i in $(<)\n","{\n","switch $(_i)\n","{\n","case *.h :  _o += $(_i) ;\n","case * :    _o += $(_i:G=$(SOURCE_GRIST)) ;\n","}\n","}\n","return $(_o) ;\n","}\n","}\n","rule FConcat\n","{\n","local _t _r ;\n","$(_r) = $(<[1]) ;\n","for _t in $(<[2-])\n","{\n","$(_r) = $(_r)$(_t) ;\n","}\n","return $(_r) ;\n","}\n","rule FSubDir\n","{\n","local _i _d ;\n","if ! $(<[1]) \n","{\n","_d = $(DOT) ;\n","} \n","else\n","{\n","_d = $(DOTDOT) ;\n","for _i in $(<[2-])\n","{\n","_d = $(_d:R=$(DOTDOT)) ;\n","}\n","}\n","return $(_d) ;\n","}\n","rule FDirName\n","{\n","local _s _i ;\n","if ! $(<)\n","{\n","_s = $(DOT) ;\n","}\n","else if $(VMS)\n","{\n","switch $(<[1])\n","{\n","case *:* : _s = $(<[1]) ;\n","case \\\\[*\\\\] : _s = $(<[1]) ;\n","case * : _s = [.$(<[1])] ;\n","}\n","for _i in [.$(<[2-])]\n","{\n","_s = $(_i:R=$(_s)) ;\n","}\n","}\n","else if $(MAC)\n","{\n","_s = $(DOT) ;\n","for _i in $(<)\n","{\n","_s = $(_i:R=$(_s)) ;\n","}\n","}\n","else\n","{\n","_s = $(<[1]) ; \n","for _i in $(<[2-])\n","{\n","_s = $(_i:R=$(_s)) ;\n","}\n","}\n","return $(_s) ;\n","}\n","rule _makeCommon\n","{\n","if $($(<)[1]) && $($(<)[1]) = $($(>)[1])\n","{\n","$(<) = $($(<)[2-]) ;\n","$(>) = $($(>)[2-]) ;\n","_makeCommon $(<) : $(>) ;\n","}\n","}\n","rule FRelPath\n","{\n","local _l _r ;\n","_l = $(<) ;\n","_r = $(>) ;\n","_makeCommon _l : _r ;\n","_l = [ FSubDir $(_l) ] ;\n","_r = [ FDirName $(_r) ] ;\n","if $(_r) = $(DOT) {\n","return $(_l) ;\n","} else {\n","return $(_r:R=$(_l)) ;\n","}\n","}\n","rule FAppendSuffix\n","{\n","if $(>)\n","{\n","local _i _o ;\n","for _i in $(<)\n","{\n","if $(_i:S)\n","{\n","_o += $(_i) ;\n","}\n","else\n","{\n","_o += $(_i:S=$(>)) ;\n","}\n","}\n","return $(_o) ;\n","}\n","else\n","{\n","return $(<) ;\n","}\n","}\n","rule unmakeDir\n","{\n","if $(>[1]:D) && $(>[1]:D) != $(>[1]) && $(>[1]:D) != \\\\\\\\ \n","{\n","unmakeDir $(<) : $(>[1]:D) $(>[1]:BS) $(>[2-]) ;\n","}\n","else\n","{\n","$(<) = $(>) ;\n","}\n","}\n","rule FConvertToSlashes\n","{\n","local _d, _s, _i ;\n","unmakeDir _d : $(<) ;\n","_s = $(_d[1]) ; \n","for _i in $(_d[2-])\n","{\n","_s = $(_s)/$(_i) ;\n","}\n","return $(_s) ;\n","}\n","actions updated together piecemeal Archive\n","{\n","$(AR) $(<) $(>)\n","}\n","actions As\n","{\n","$(AS) $(ASFLAGS) -I$(HDRS) -o $(<) $(>)\n","}\n","actions C++\n","{\n","$(C++) -c $(C++FLAGS) $(OPTIM) -I$(HDRS) -o $(<) $(>)\n","}\n","actions Cc\n","{\n","$(CC) -c $(CCFLAGS) $(OPTIM) -I$(HDRS) -o $(<) $(>)\n","}\n","actions Chgrp\n","{\n","$(CHGRP) $(GROUP) $(<)\n","}\n","actions Chmod1\n","{\n","$(CHMOD) $(MODE) $(<)\n","}\n","actions Chown\n","{\n","$(CHOWN) $(OWNER) $(<)\n","}\n","actions piecemeal together existing Clean\n","{\n","$(RM) $(>)\n","}\n","actions File\n","{\n","$(CP) $(>) $(<)\n","}\n","actions GenFile1\n","{\n","$(>[1]) $(<) $(>[2-])\n","}\n","actions Fortran\n","{\n","$(FORTRAN) $(FORTRANFLAGS) -o $(<) $(>)\n","}\n","actions HardLink\n","{\n","$(RM) $(<) && $(LN) $(>) $(<)\n","}\n","actions Install\n","{\n","$(CP) $(>) $(<) \n","}\n","actions Lex\n","{\n","$(LEX) $(>)\n","}\n","actions LexMv\n","{\n","$(MV) lex.yy.c $(<)\n","}\n","actions Link bind NEEDLIBS\n","{\n","$(LINK) $(LINKFLAGS) -o $(<) $(UNDEFS) $(>) $(NEEDLIBS) $(LINKLIBS) \n","}\n","actions MkDir1\n","{\n","$(MKDIR) $(<)\n","}\n","actions together Ranlib\n","{\n","$(RANLIB) $(<)\n","}\n","actions quietly updated piecemeal together RmTemps\n","{\n","$(RM) $(>)\n","}\n","actions Shell\n","{\n","$(AWK) '\n","NR == 1 { print \"$(SHELLHEADER)\" }\n","NR == 1 && /^[#:]/ { next }\n","/^##/ { next }\n","{ print }\n","' < $(>) > $(<)\n","}\n","actions Yacc1\n","{\n","$(YACC) $(YACCFLAGS) $(>)\n","}\n","actions YaccMv\n","{\n","$(MV) $(YACCFILES).c $(<[1])\n","$(MV) $(YACCFILES).h $(<[2])\n","}\n","if $(RELOCATE)\n","{\n","actions C++\n","{\n","$(C++) -c $(C++FLAGS) $(OPTIM) -I$(HDRS) $(>)\n","}\n","actions Cc\n","{\n","$(CC) -c $(CCFLAGS) $(OPTIM) -I$(HDRS) $(>)\n","}\n","actions ignore CcMv\n","{\n","[ $(<) != $(>:BS=$(SUFOBJ)) ] && $(MV) $(>:BS=$(SUFOBJ)) $(<)\n","}\n","}\n","if $(NOARUPDATE)\n","{\n","actions Archive\n","{\n","$(AR) $(<) $(>)\n","}\n","}\n","if $(NT)\n","{\n","if $(TOOLSET) = VISUALC || $(TOOLSET) = VC7 || $(TOOLSET) = INTELC\n","{\n","actions updated together piecemeal Archive\n","{\n","if exist $(<) set _$(<:B)_=$(<)\n","$(AR) /out:$(<) %_$(<:B)_% $(>)\n","}\n","actions As\n","{\n","$(AS) /Ml /p /v /w2 $(>) $(<) ,nul,nul;\n","}\n","actions Cc\n","{\n","$(CC) /c $(CCFLAGS) $(OPTIM) /Fo$(<) /I$(HDRS) /I$(STDHDRS) $(>)\n","}\n","actions C++\n","{\n","$(C++) /c $(C++FLAGS) $(OPTIM) /Fo$(<) /I$(HDRS) /I$(STDHDRS) /Tp$(>)\n","}\n","actions Link bind NEEDLIBS\n","{\n","$(LINK) $(LINKFLAGS) /out:$(<) $(UNDEFS) $(>) $(NEEDLIBS) $(LINKLIBS)\n","}\n","}\n","else if $(TOOLSET) = VISUALC16\n","{\n","actions updated together piecemeal Archive\n","{\n","$(AR) $(<) -+$(>)\n","}\n","actions Cc\n","{\n","$(CC) /c $(CCFLAGS) $(OPTIM) /Fo$(<) /I$(HDRS) $(>)\n","}\n","actions C++\n","{\n","$(C++) /c $(C++FLAGS) $(OPTIM) /Fo$(<) /I$(HDRS) /Tp$(>)\n","}\n","actions Link bind NEEDLIBS\n","{\n","$(LINK) $(LINKFLAGS) /out:$(<) $(UNDEFS) $(>) $(NEEDLIBS) $(LINKLIBS)\n","}\n","}\n","else if $(TOOLSET) = BORLANDC\n","{\n","actions updated together piecemeal Archive\n","{\n","$(AR) $(<) -+$(>)\n","}\n","actions Link bind NEEDLIBS\n","{\n","$(LINK) -e$(<) $(LINKFLAGS) $(UNDEFS) -L$(LINKLIBS) $(NEEDLIBS) $(>)\n","}\n","actions C++\n","{\n","$(C++) -c $(C++FLAGS) $(OPTIM) -I$(HDRS) -o$(<) $(>)\n","}\n","actions Cc\n","{\n","$(CC) -c $(CCFLAGS) $(OPTIM) -I$(HDRS) -o$(<) $(>)\n","}\n","}\n","else if $(TOOLSET) = MINGW\n","{\n","actions together piecemeal Archive\n","{\n","$(AR) $(<) $(>:T)\n","}\n","actions Cc\n","{\n","$(CC) -c $(CCFLAGS) $(OPTIM) -I$(HDRS) -o$(<) $(>)\n","}\n","actions C++\n","{\n","$(C++) -c $(C++FLAGS) $(OPTIM) -I$(HDRS) -o$(<) $(>)\n","}\n","}\n","else if $(TOOLSET) = WATCOM\n","{\n","actions together piecemeal Archive\n","{\n","$(AR) $(<) +-$(>) \n","}\n","actions Cc\n","{\n","$(CC) $(CCFLAGS) $(OPTIM) /Fo=$(<) /I$(HDRS) $(>)\n","}\n","actions C++\n","{\n","$(C++) $(C++FLAGS) $(OPTIM) /Fo=$(<) /I$(HDRS) $(>)\n","}\n","actions Link bind NEEDLIBS\n","{\n","$(LINK) $(LINKFLAGS) /Fe=$(<) $(UNDEFS) $(>) $(NEEDLIBS) $(LINKLIBS)\n","}\n","actions Shell\n","{\n","$(CP) $(>) $(<)\n","}\n","}\n","else if $(TOOLSET) = LCC\n","{\n","actions together piecemeal Archive\n","{\n","$(AR) /out:$(<) $(>) \n","}\n","actions Cc\n","{\n","$(CC) $(CCFLAGS) $(OPTIM) -Fo$(<) -I$(HDRS) $(>)\n","}\n","actions Link bind NEEDLIBS\n","{\n","$(LINK) $(LINKFLAGS) -o $(<) $(UNDEFS) $(>) $(NEEDLIBS) $(LINKLIBS)\n","}\n","actions Shell\n","{\n","$(CP) $(>) $(<)\n","}\n","}\n","}\n","else if $(OS2)             \n","{\n","if $(TOOLSET) = WATCOM\n","{\n","actions together piecemeal Archive\n","{\n","$(AR) $(<) +-$(>) \n","}\n","actions Cc\n","{\n","$(CC) $(CCFLAGS) $(OPTIM) /Fo=$(<) /I$(HDRS) $(>)\n","}\n","actions C++\n","{\n","$(C++) $(C++FLAGS) $(OPTIM) /Fo=$(<) /I$(HDRS) $(>)\n","}\n","actions Link bind NEEDLIBS\n","{\n","$(LINK) $(LINKFLAGS) /Fe=$(<) $(UNDEFS) $(>) $(NEEDLIBS) $(LINKLIBS)\n","}\n","actions Shell\n","{\n","$(CP) $(>) $(<)\n","}\n","}\n","else if $(TOOLSET) = EMX\n","{\n","actions together piecemeal Archive\n","{\n","$(AR) $(<) $(>:T)\n","}\n","actions Cc\n","{\n","$(CC) -c $(CCFLAGS) $(OPTIM) -I$(HDRS) -o$(<) $(>)\n","}\n","actions C++\n","{\n","$(C++) -c $(C++FLAGS) $(OPTIM) -I$(HDRS) -o$(<) $(>)\n","}\n","}\n","}\n","else if $(VMS)\n","{\n","actions updated together piecemeal Archive \n","{\n","lib/replace $(<) $(>[1]) ,$(>[2-])\n","}\n","actions Cc\n","{ \n","$(CC)/obj=$(<) $(CCFLAGS) $(OPTIM) $(SLASHINC) $(>) \n","}\n","actions C++\n","{ \n","$(C++)/obj=$(<) $(C++FLAGS) $(OPTIM) $(SLASHINC) $(>) \n","}\n","actions piecemeal together existing Clean\n","{\n","$(RM) $(>[1]);* ,$(>[2-]);*\n","}\n","actions together quietly CreLib\n","{\n","if f$search(\"$(<)\") .eqs. \"\" then lib/create $(<)\n","}\n","actions GenFile1\n","{\n","mcr $(>[1]) $(<) $(>[2-])\n","}\n","actions Link bind NEEDLIBS\n","{\n","$(LINK)/exe=$(<) $(LINKFLAGS) $(>[1]) ,$(>[2-]) ,$(NEEDLIBS)/lib ,$(LINKLIBS)\n","}\n","actions quietly updated piecemeal together RmTemps\n","{\n","$(RM) $(>[1]);* ,$(>[2-]);*\n","}\n","actions Shell\n","{\n","$(CP) $(>) $(<)\n","}\n","}\n","else if $(MAC)\n","{\n","actions together Archive \n","{\n","$(LINK) -library -o $(<) $(>)\n","}\n","actions Cc\n","{\n","set -e MWCincludes $(MACINC)\n","$(CC) -o $(<) $(CCFLAGS) $(OPTIM) $(>) \n","}\n","actions C++\n","{ \n","set -e MWCincludes $(MACINC)\n","$(CC) -o $(<) $(C++FLAGS) $(OPTIM) $(>) \n","}\n","actions Link bind NEEDLIBS\n","{\n","$(LINK) -o $(<) $(LINKFLAGS) $(>) $(NEEDLIBS) \"$(LINKLIBS)\"\n","}\n","}\n","rule BULK { Bulk $(<) : $(>) ; }\n","rule FILE { File $(<) : $(>) ; }\n","rule HDRRULE { HdrRule $(<) : $(>) ; }\n","rule INSTALL { Install $(<) : $(>) ; }\n","rule LIBRARY { Library $(<) : $(>) ; }\n","rule LIBS { LinkLibraries $(<) : $(>) ; }\n","rule LINK { Link $(<) : $(>) ; }\n","rule MAIN { Main $(<) : $(>) ; }\n","rule SETUID { Setuid $(<) ; }\n","rule SHELL { Shell $(<) : $(>) ; }\n","rule UNDEFINES { Undefines $(<) : $(>) ; }\n","rule INSTALLBIN { InstallBin $(BINDIR) : $(<) ; }\n","rule INSTALLLIB { InstallLib $(LIBDIR) : $(<) ; }\n","rule INSTALLMAN { InstallMan $(MANDIR) : $(<) ; }\n","rule addDirName { $(<) += [ FDirName $(>) ] ; }\n","rule makeDirName { $(<) = [ FDirName $(>) ] ; }\n","rule makeGristedName { $(<) = [ FGristSourceFiles $(>) ] ; }\n","rule makeRelPath { $(<[1]) = [ FRelPath $(<[2-]) : $(>) ] ; }\n","rule makeSuffixed { $(<[1]) = [ FAppendSuffix $(>) : $(<[2]) ] ; }\n","{\n","if $(JAMFILE) { include $(JAMFILE) ; }\n","}\n","}\n",0 };

⌨️ 快捷键说明

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