File:  [Apple XNU] / XNU / bsd / conf / machine.awk
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:44:41 2018 UTC (8 years, 2 months ago) by root
Branches: MAIN, Apple
CVS tags: v68_4-1_1, HEAD
xnu-68.4-1.1

BEGIN {
	hdr =	"#if\tm68k\n"				\
		"#import <m68k/%s/%s>\n"	\
		"#endif\tm68k\n"			\
		"#if\tm88k\n"				\
		"#import <m88k/%s/%s>\n"	\
		"#endif\tm88k\n"
	hdr =	"#import <m68k/%s/%s>\n"
}
/\.h$/ {
	ofile = sprintf("%s/%s", loc, $1);
	printf(hdr, dir, $1, dir, $1) > ofile;
	continue;
}

{
	dir = $1; loc = $2;
}

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.