diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-06-06 14:11:04 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-06-06 14:11:04 -0700 |
commit | 57a201a15637cfea6c15a4d0ed8b629c9cd49495 (patch) | |
tree | 63f4dbcc97d2aee0823ddcf0f1abc6187668ccfc /src | |
parent | 5e791a1465aba3b8be89b4cf2d9f90dee18e8e96 (diff) |
Add hooks to check code with sparse/lint
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index a3759b2..7e3a901 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -8,3 +8,11 @@ libXtst_la_LIBADD = @XTST_LIBS@ AM_CFLAGS = @XTST_CFLAGS@ libXtst_la_LDFLAGS = -version-number 6:1:0 -no-undefined + +if LINT +ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) + +lint: + $(LINT) $(ALL_LINT_FLAGS) $(libXtst_la_SOURCES) $(XTST_LIBS) +endif LINT |