certextract tidying
[exim.git] / src / Makefile
index ec573b5d64a48255ac274e0e85b9e7436543199b..99f4ab308eeffee7de11b610881f42dc6e1ccde5 100644 (file)
@@ -2,7 +2,7 @@
 # appropriate links, and then creating and running the main makefile in that
 # directory.
 
-# Copyright (c) University of Cambridge, 1995 - 2007
+# Copyright (c) University of Cambridge, 1995 - 2014
 # See the file NOTICE for conditions of use and distribution.
 
 # IRIX make uses the shell that is in the SHELL variable, which often defaults
@@ -85,6 +85,17 @@ clean_exim:; cd build-$(buildname); \
         $(RM_COMMAND) -f *.o lookups/*.o lookups/*.a auths/*.o auths/*.a \
        routers/*.o routers/*.a transports/*.o transports/*.a lookups/*.so
 
-distclean:; $(RM_COMMAND) -rf build-*
+distclean:; $(RM_COMMAND) -rf build-* cscope*
+
+cscope.files: FRC
+       echo "-q" > $@
+       echo "-p3" >> $@
+       find src Local OS -name "*.[cshyl]" -print \
+                   -o -name "os.h*" -print \
+                   -o -name "*akefile*" -print \
+                   -o -name EDITME -print >> $@
+       ls OS/* >> $@
+
+FRC:
 
 # End of top-level makefile