2
# Warning - first line left blank for sh/csh/ksh compatibility. Do not
3
# remove it. fnf@Unisoft
5
# mklintlib --- make a lint library, under either System V or 4.2 BSD
7
# usage: mklintlib <infile> <outfile>
12
echo "usage: mklintlib <infile> <outfile>"
16
if grep SIGTSTP /usr/include/signal.h >/dev/null
18
if test -r /usr/include/whoami.h # 4.1
20
/lib/cpp -C -Dlint $1 >hlint
21
(/usr/lib/lint/lint1 <hlint >$2) 2>&1 | grep -v warning
27
cc -E -C -Dlint $1 | /usr/lib/lint1 -vx -Hhlint >$2
30
exit 0 # don't kill make