Whamcloud - gitweb
Branch b1_8
[fs/lustre-release.git] / build / autoMakefile.am.toplevel
index aa19a1e..f07df3e 100644 (file)
@@ -11,19 +11,29 @@ ctags-recursive:
 
 tags-recursive:
 
-TAGS:
+TAGS: etags
 
-tags:
+tags: ctags etags
+
+etags:
        $(RM) $(top_srcdir)/TAGS
        ETAGSF=`etags --version | grep -iq exuberant && \
                echo "-I __initdata,__exitdata,EXPORT_SYMBOL"`; \
        find $(top_srcdir) -name .pc -prune -o -name '*.[hc]' |xargs etags $$ETAGSF -a
 
+ctags:
        $(RM) $(top_srcdir)/tags
        CTAGSF=`ctags --version | grep -iq exuberant && \
                echo "-I __initdata,__exitdata,EXPORT_SYMBOL"`; \
        find $(top_srcdir) -name .pc -prune -o -name '*.[hc]' |xargs ctags $$CTAGSF -a
 
+cscope-recursive:
+
+cscope:
+       $(RM) $(top_srcdir)/cscope*.out $(top_srcdir)/cscope.files
+       find $(top_srcdir) -name .pc -prune -o -name '*.[hc]' > cscope.files
+       cscope -bRq
+
 if MODULES
 sources: all-sources