-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
+distclean:; $(RM_COMMAND) -rf build-* cscope*
+
+cscope.files: FRC
+ echo "-q" > $@
+ echo "-p3" >> $@
+ -bd=build-$(buildname); [ -d $$bd ] && echo -e "$$bd/config.h\n$$bd/Makefile" >> $@
+ find src Local OS exim_monitor -name "*.[cshyl]" -print \
+ -o -name "os.[ch]*" -print \
+ -o -name "*akefile*" -print \
+ -o -name config.h.defaults -print \
+ -o -name EDITME -print >> $@