obj = $(obj1) $(obj2) $(obj3) $(ARCHOBJS)
-lintflags = -hbvxac
+lintflags = \
+ -bh \
+ -p \
+ -s \
+ -Ncheck=%all \
+ -Nlevel=4 \
+ -errfmt=simple \
+ -errtags \
+ -erroff=E_BAD_PTR_CAST \
+ -erroff=E_BLOCK_DECL_UNUSED \
+ -erroff=E_CONSTANT_CONDITION \
+ -erroff=E_BAD_PTR_CAST_ALIGN \
+ -erroff=E_PTRDIFF_OVERFLOW \
+ -erroff=E_EXPR_NULL_EFFECT \
+ -erroff=E_BAD_PTR_INT_COMBINATION \
+ -erroff=E_LOOP_EMPTY \
+ *.c
.c$(OBJ_EXT):
$(CCCMD) $(PLDLFLAGS) $*.c
rm -f preload
rm -f testcompile compilelog
rm -rf lib/Encode
+ rm -f lib/ExtUtils/ParseXS/t/XSTest.c
+ rm -f lib/ExtUtils/ParseXS/t/XSTest$(OBJ_EXT)
+ rm -f lib/ExtUtils/ParseXS/t/XSTest$(DLSUFFIX)
-rmdir lib/B lib/Data
-rmdir lib/Filter/Util lib/IO/Socket lib/IO
-rmdir lib/List lib/MIME lib/Scalar lib/Sys
@$(LDLIBPTH) $(MAKE) _cleaner2
-rm -f *~ *.orig */*~ */*.orig */*/*~ */*/*.orig
-# The following lint has practically everything turned on. Unfortunately,
-# you have to wade through a lot of mumbo jumbo that can't be suppressed.
-# If the source file has a /*NOSTRICT*/ somewhere, ignore the lint message
-# for that spot.
-
.PHONY: lint
lint: $(c)
- lint $(lintflags) $(defs) perly.c $(c) > perl.fuzz
+ rm -f *.ln
+ lint $(lintflags) -DPERL_CORE -D_REENTRANT -DDEBUGGING -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(c) perly.c
# Need to unset during recursion to go out of loop.
# The README below ensures that the dependency list is never empty and
perl emacs/e2ctags.pl TAGS > tags
ctags:
- ctags -f Tags --totals --languages=c *.c *.h
+ ctags -f Tags --totals --languages=c --langmap=c:+.h *.c *.h
# AUTOMATICALLY GENERATED MAKE DEPENDENCIES--PUT NOTHING BELOW THIS LINE
# If this runs make out of memory, delete /usr/include lines.
;;
esac
+# ex: set ts=8 sts=4 sw=4 noet: