This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
deb-mbse/lib/mkprod.awk
2001-08-17 05:46:24 +00:00

16 lines
291 B
Awk

BEGIN {
print "#include \"libs.h\""
print "#include \"structs.h\""
print "#include \"common.h\""
print ""
print "struct _ftscprod ftscprod[] = {"
}
/^[^;]/ {
if ($2 != "DROPPED")
print " {0x" $1 ",\(char \*\)\"" $2 "\"},"
}
END {
print " {0xff,(char*)0L}"
print "};"
}