PATH=/bin:/usr/bin
-EMLINT=/home/top/dick/lint
+EMDIR=/usr/em
+EMLINT=$EMDIR/lib.bin/lint
+INCLUDES=-I$EMDIR/include/_tail_cc
#LDEFMACH=-Dmc68000
do
case "$1" in
-ansi) LPASS1=${LPASS1}.ansi
+ INCLUDES=-I$EMDIR/include/tail_ac
CLIB=ansi_c.llb
shift
;;
;;
*.c) # a real C-file
STATNR=` expr $STATNR + 1 `
- $LPASS1 -S$STATNR -Dlint $PARAMS1 $F
+ $LPASS1 -S$STATNR -Dlint $PARAMS1 $INCLUDES $F
;;
*) # a lint library?
case `basename $F` in
do
case $F in
*.c) # a C file
- $LPASS1 $PARAMS1 -Dlint -L $F
+ $LPASS1 $PARAMS1 $INCLUDES -Dlint -L $F
;;
*) # a library?
case `basename $F` in
$(SRC) lint
lint.exec: $(SRC_DIR)/lint
- sed -e 's|^EMLINT=.*|EMLINT=$(TARGET_HOME)/lib.bin/lint|' -e 's/#.*//' < $(SRC_DIR)/lint > lint.exec
+ sed -e 's|^EMDIR=.*|EMDIR=$(TARGET_HOME)|' -e 's/#.*//' < $(SRC_DIR)/lint > lint.exec
chmod +x lint.exec
lpass2: $(OBJ) next.$(SUF)