summaryrefslogtreecommitdiff
path: root/lib/libFS/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libFS/src/Makefile.am')
-rw-r--r--lib/libFS/src/Makefile.am19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/libFS/src/Makefile.am b/lib/libFS/src/Makefile.am
index 50b70b0d6..a9a347b0c 100644
--- a/lib/libFS/src/Makefile.am
+++ b/lib/libFS/src/Makefile.am
@@ -40,3 +40,22 @@ libFS_la_LDFLAGS = -version-number 6:0:0 -no-undefined
libFSincludedir = $(includedir)/X11/fonts
libFSinclude_HEADERS = \
$(top_srcdir)/include/X11/fonts/FSlib.h
+
+if LINT
+ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS)
+
+lint:
+ $(LINT) $(ALL_LINT_FLAGS) $(libFS_la_SOURCES) \
+ $(libFS_la_LIBADD) $(LIBS)
+endif LINT
+
+if MAKE_LINT_LIB
+lintlibdir = $(libdir)
+
+lintlib_DATA = $(LINTLIB)
+
+$(LINTLIB): $(libFS_la_SOURCES)
+ $(LINT) -y -oFS -x $(ALL_LINT_FLAGS) $(libFS_la_SOURCES) \
+ $(libFS_la_LIBADD) $(LIBS)
+endif MAKE_LINT_LIB