1 # must set SRCDIR externally
6 print "# Automatically generated. Do not edit!";
12 keep_going = (NF > 0);
13 if (keep_going && ($1 == "#")) {
16 if (keep_going && ($1 == ")")) {
20 if (keep_going && ($1 == "LINK_LIBS")) {
28 print "SRCS=\t" $1 " \\";
31 } else if (substr($1,1,13) == "add_tablegen(") {
35 prog=substr(rest,space + 1)
36 print "PROG_CXX=\t" prog "\n"
41 print "\nSRCDIR= " SRCDIR