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

20 lines
333 B
Awk
Raw Normal View History

2002-04-15 13:49:15 +00:00
# $Id$
#
2001-08-17 05:46:24 +00:00
BEGIN {
2002-06-30 12:48:44 +00:00
print "#include \"../config.h\""
2001-08-17 05:46:24 +00:00
print "#include \"libs.h\""
print "#include \"structs.h\""
print "#include \"common.h\""
print ""
print "struct _ftscprod ftscprod[] = {"
}
/^[^;]/ {
if ($2 != "DROPPED")
2002-04-15 10:12:08 +00:00
print " {0x" $1 ",(char *)\"" $2 "\"},"
2001-08-17 05:46:24 +00:00
}
END {
print " {0xff,(char*)0L}"
print "};"
}