]>
git.saurik.com Git - apple/xnu.git/blob - bsd/conf/compat_hdrs.awk
2 hdr =
"#warning Compatibility header file imported, use <%s/%s>\n" \
5 /^
#/ { # skip comments in data file
9 ofile =
sprintf("compat/%s/%s", $2, $3);
10 printf("#import\t<machine/compat_%s>\n", $3) > ofile
11 printf(hdr
, $1, $3, $1, $3) > ofile
;
15 ofile =
sprintf("compat/%s/%s", $2, $3);
16 printf("#error This file has been removed\n") > ofile
;
20 ofile =
sprintf("compat/%s/%s", $2, $3);
21 printf(hdr
, $1, $NF, $1, $NF) > ofile
;