added lint targets for Makefiles and a configure test to find whether lclint or lint...
[mmh] / zotnet / Makefile.in
index 412a152..0a75e14 100644 (file)
@@ -24,8 +24,7 @@ mailspool='$(mailspool)' sendmailpath='$(sendmailpath)' \
 default_editor='$(default_editor)' default_pager='$(default_pager)'
 
 # object files in libzot.a
-OBJS = mts/mts.o mts/client.o \
-       tws/dtime.o tws/dtimep.o tws/lexstring.o
+OBJS = mts/mts.o mts/client.o
 
 # auxiliary files
 AUX = Makefile.in
@@ -34,7 +33,7 @@ AUX = Makefile.in
 DIST = $(AUX)
 
 # subdirectories
-SUBDIRS = mts tws
+SUBDIRS = mts
 
 # ========= DEPENDENCIES FOR BUILDING AND INSTALLING ==========
 
@@ -86,6 +85,13 @@ mostlyclean-recursive clean-recursive distclean-recursive realclean-recursive su
          (cd $$subdir && $(MAKE) $(MAKEDEFS) $$target) || exit 1; \
        done
 
+# ========== DEPENDENCIES FOR LINT =================
+
+lint:
+       for subdir in $(SUBDIRS) ; do \
+         (cd $$subdir && $(MAKE) $(MAKEDEFS) lint) || exit 1; \
+       done
+
 # ========== DEPENDENCIES FOR MAINTENANCE ==========
 
 subdir = zotnet