Clean up properly.
authorJelmer Vernooij <jelmer@samba.org>
Wed, 24 Sep 2008 12:49:12 +0000 (14:49 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Sat, 11 Oct 2008 19:33:15 +0000 (21:33 +0200)
lib/util/util.h
source3/Makefile.in
source4/Makefile

index 4616de9f9444dded524d6d47db5a6c0bd078adcf..861b6affe54d7355340da60e2f611123fcbe54f9 100644 (file)
@@ -41,7 +41,6 @@ extern const char *panic_action;
 #include "../lib/util/time.h"
 #include "../lib/util/data_blob.h"
 #include "../lib/util/xfile.h"
-#include "../lib/util/debug.h"
 #include "../lib/util/mutex.h"
 #include "../lib/util/byteorder.h"
 
index 09c054a1e3ba1ef5d1eeb730d6b7e2cb7b59edde..5f043824feecb7fc4d50f35ffb04042293a8da17 100644 (file)
@@ -2676,7 +2676,9 @@ clean:: cleanlibs
                $(MODULES) $(TORTURE_PROGS) \
                $(EVERYTHING_PROGS) \
                bin/timelimit \
-               .headers.stamp */src/*.o
+               .headers.stamp */src/*.o \
+               ../lib/*/*.o \
+               ../libcli/*.o ../libcli/*/*.o
        -rm -rf t_dir
 
 include/build_env.h: script/build_env.sh
index 345c16ed6e8f41cca01dd63a5908fa2a268c1123..273be11e7cc6b23c9830318b568dc564180a100f 100644 (file)
@@ -136,6 +136,7 @@ ifneq ($(SKIP_DEP_FILES),yes)
 clean::
        @echo Removing dependency files
        @find . -name '*.d' -o -name '*.hd' | xargs rm -f
+       @find ../lib -name '*.d' -o -name '*.hd' | xargs rm -f
 endif
 else
 include $(srcdir)/static_deps.mk