summaryrefslogtreecommitdiffstats
path: root/source4/main.mk
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-03-09 14:39:36 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:54:02 -0500
commit6500444a2d74c7d921e7300939f459a83b95ea14 (patch)
tree28867a5bdc55e7bc4877b604c2103c77e9397184 /source4/main.mk
parent5ead79baffdf33465d0b650ebb17af009d2af757 (diff)
downloadsamba-6500444a2d74c7d921e7300939f459a83b95ea14.tar.gz
samba-6500444a2d74c7d921e7300939f459a83b95ea14.tar.xz
samba-6500444a2d74c7d921e7300939f459a83b95ea14.zip
r14072: - only add the 'lib' prefix to libraries not modules
- fix installation of plugins (and make it a bit more verbose - get rid of the '#define libfoo_module_init init_module' and genereated a wrapper function in bin/libfoo_module_init_module.c - change the standard visibility for modules to hidden - a few make clean fixes metze (This used to be commit 89b5667ab0f761e679fdee0f5c3d94942e67e28e)
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 */*/*/*~