summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2006-09-26 18:30:41 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2006-09-26 18:30:41 -0700
commit945f89d551438298d9a09a4fd3e9e40ac6b1ad51 (patch)
treea29355f672279c4cfde64ef33d590be142769478 /src
parent3cc151c221139869980bc33d5336ab75c04606bc (diff)
Add hooks for checking code with sparse/lint/etc.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index e342bb1..3314c5c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -21,3 +21,12 @@ libXvMCW_la_CFLAGS = \
libXvMC_la_LDFLAGS = -version-number 1:0:0 -no-undefined
libXvMCW_la_LDFLAGS = -version-number 1:0:0 -no-undefined
+
+
+if LINT
+ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS)
+
+lint:
+ $(LINT) $(ALL_LINT_FLAGS) $(libXvMC_la_SOURCES) $(XV_LIBS)
+endif LINT