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-04-15 13:49:15 +00:00

19 lines
298 B
Awk

# $Id$
#
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 "};"
}