summaryrefslogtreecommitdiff
path: root/source4/main.mk
diff options
context:
space:
mode:
Diffstat (limited to 'source4/main.mk')
-rw-r--r--source4/main.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/source4/main.mk b/source4/main.mk
index df0951d2a9..28acf96bec 100644
--- a/source4/main.mk
+++ b/source4/main.mk
@@ -268,12 +268,17 @@ clean: heimdal_clean clean_pch
@echo Removing hostcc objects
@-find . -name '*.ho' -exec rm -f '{}' \;
@echo Removing binaries
- @-rm -f $(BIN_PROGS) $(SBIN_PROGS)
+ @-rm -f $(BIN_PROGS) $(SBIN_PROGS) $(BINARIES)
@echo Removing libraries
- @-rm -f bin/*.$(SHLIBEXT).*
+ @-rm -f $(STATIC_LIBRARIES) $(SHARED_LIBRARIES)
+ @-rm -f bin/*.$(SHLIBEXT)*
+ @echo Removing modules
+ @-rm -f $(SHARED_MODULES) $(PLUGINS)
+ @-rm -f bin/*_init_module.c
@echo Removing dummy targets
@-rm -f bin/.*_*
@echo Removing generated files
+ @-rm -f bin/*_init_module.c
@-rm -rf librpc/gen_*
@-rm -f lib/registry/regf.h lib/registry/tdr_regf*
@echo Removing proto headers
@@ -286,6 +291,7 @@ distclean: clean
-rm -f config.log config.cache
-rm -f samba4-deps.dot
-rm -f config.pm config.mk
+ -rm -f $(PC_FILES)
removebackup:
-rm -f *.bak *~ */*.bak */*~ */*/*.bak */*/*~ */*/*/*.bak */*/*/*~