]> git.saurik.com Git - apple/xnu.git/blame_incremental - bsd/conf/machine.awk
xnu-344.34.tar.gz
[apple/xnu.git] / bsd / conf / machine.awk
... / ...
CommitLineData
1BEGIN {
2 hdr = "#if\tm68k\n" \
3 "#import <m68k/%s/%s>\n" \
4 "#endif\tm68k\n" \
5 "#if\tm88k\n" \
6 "#import <m88k/%s/%s>\n" \
7 "#endif\tm88k\n"
8 hdr = "#import <m68k/%s/%s>\n"
9}
10/\.h$/ {
11 ofile = sprintf("%s/%s", loc, $1);
12 printf(hdr, dir, $1, dir, $1) > ofile;
13 continue;
14}
15
16{
17 dir = $1; loc = $2;
18}