File:  [Apple Darwin 0.x] / kernel / conf / machine.awk
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 18:26:07 2018 UTC (8 years, 2 months ago) by root
Branches: MAIN, Apple
CVS tags: HEAD, Darwin03, Darwin01
Darwin 0.1 Mach+BSD kernel

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.