include_deps

来自「ZD1211 source code, based on linux 2.44 」· 代码 · 共 16 行

TXT
16
字号
# Read the .depend files, extract the dependencies for .h targets, convert# relative names to absolute and write the result to stdout.  It is part of# building the global .h dependency graph for kbuild 2.4.  KAO/^[^ 	]/		{ copy = 0; fn = "/error/"; }/^[^ 	][^ ]*\.h:/	{ copy = 1; fn = FILENAME; sub(/\.depend/, "", fn); }!copy			{ next; }			{			  indent = $0; sub(/[^ 	].*/, "", indent);			  if ($1 != "" && $1 !~ /^[@$\/\\]/) { $1 = fn $1 };			  if ($2 != "" && $2 !~ /^[@$\/\\]/) { $2 = fn $2 };			  $1 = $1;	# ensure $0 is rebuilt			  $0 = indent $0;			  print;			}

⌨️ 快捷键说明

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