[PATCH] rm common lib object files on make cleanlib

Tim Prouty tprouty at samba.org
Wed Oct 8 23:02:27 GMT 2008


source4 already cleans up the object files on make clean.  This patch
modifies source3 to also do this.

-Tim

---
 source3/Makefile.in |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/source3/Makefile.in b/source3/Makefile.in
index eb6a05c..42baa86 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -2659,6 +2659,10 @@ uninstallpammodules::
 # Toplevel clean files
 TOPFILES=dynconfig.o
 
+cleanlibs::
+	-rm -f ../lib/*/*.o ../lib/*/*/*.o \
+		../libcli/*.o ../libcli/*/*.o
+
 clean:: cleanlibs
 	-rm -f include/build_env.h
 	-rm -f smbd/build_options.c
-- 
1.6.0



More information about the samba-technical mailing list