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
2002-06-30 12:48:44 +00:00

21 lines
367 B
Awk

# $Id$
#
BEGIN {
print "#include \"../config.h\""
print "#include \"libs.h\""
print "#include \"memwatch.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 "};"
}