diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2006-10-04 18:50:44 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2006-10-04 18:50:44 -0700 |
commit | b00dcc90e490454fdd983b4bf6d0fa92ab91d0be (patch) | |
tree | 6fe259fe90df68522101334a1f4df0bee15b0446 /src | |
parent | 5d18f978c9085c3c9d9a44c90e73055125e11a68 (diff) |
Add XORG_WITH_LINT support for checking source code with lint/sparse/etc.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 34355d9..3c6c3f6 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -20,3 +20,10 @@ libfontencincludedir = $(includedir)/X11/fonts libfontencinclude_HEADERS = \ $(top_srcdir)/include/X11/fonts/fontenc.h +if LINT +ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) + +lint: + $(LINT) $(ALL_LINT_FLAGS) $(libfontenc_la_SOURCES) $(libfontenc_la_LIBADD) $(LIBS) +endif LINT |