From aa27f60ff70230990bd7351bbfda3d38f95afe3b Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Tue, 7 Nov 2006 18:39:58 -0800 Subject: Add hooks for checking code with lint/sparse/etc. --- Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index f33a11a..45a089d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -63,3 +63,11 @@ sessreg.$(APP_MAN_SUFFIX): filenames.sed filenames.sed: filenames.sed.c $(CPP) $(DEFS) $(srcdir)/filenames.sed.c | grep 's\|__' > $@ + +if LINT +ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) + +lint: + $(LINT) $(ALL_LINT_FLAGS) $(sessreg_SOURCES) +endif LINT -- cgit v1.2.3