summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-07-07 09:26:21 +0200
committerMichael Adam <obnox@samba.org>2008-07-07 20:34:02 +0200
commit672eb71cf7b43e53379ed8e1c67ce082d2eae9d6 (patch)
tree67b260b606689b771a715166f44a0689ce90470d /source3
parentfc54fc52f49c523ec355c882ea72fc2ebed3b67d (diff)
downloadsamba-672eb71cf7b43e53379ed8e1c67ce082d2eae9d6.tar.gz
samba-672eb71cf7b43e53379ed8e1c67ce082d2eae9d6.tar.bz2
samba-672eb71cf7b43e53379ed8e1c67ce082d2eae9d6.zip
build: create cleanlibsmbsharemodes target and use it in "make clean".
Michael (This used to be commit 20a5053f0e75176e9ec1d4fd5a18626bbe3a0267)
Diffstat (limited to 'source3')
-rw-r--r--source3/Makefile.in10
1 files changed, 8 insertions, 2 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 24dba90c5b..97717869d9 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -1932,6 +1932,12 @@ $(LIBSMBSHAREMODES_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ)
libsmbsharemodes: $(LIBSMBSHAREMODES)
+cleanlibsmbsharemodes::
+ -rm -f \
+ $(LIBSMBSHAREMODES_SHARED_TARGET) \
+ $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) \
+ $(LIBSMBSHAREMODES_STATIC_TARGET)
+
installlibsmbsharemodes:: installdirs libsmbsharemodes
@$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
-$(INSTALLLIBCMD_SH) $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
@@ -2524,7 +2530,7 @@ uninstallpammodules::
# Toplevel clean files
TOPFILES=dynconfig.o
-clean:: cleanlibtalloc cleanlibtdb cleanlibnetapi cleanlibwbclient cleansmbclient
+clean:: cleanlibtalloc cleanlibtdb cleanlibnetapi cleanlibwbclient cleansmbclient cleanlibsmbsharemodes
-rm -f include/build_env.h
-rm -f smbd/build_options.c
-rm -f $(PRECOMPILED_HEADER)
@@ -2535,7 +2541,7 @@ clean:: cleanlibtalloc cleanlibtdb cleanlibnetapi cleanlibwbclient cleansmbclien
$(TOPFILES) $(BIN_PROGS) $(SBIN_PROGS) $(ROOT_SBIN_PROGS) \
$(MODULES) $(TORTURE_PROGS) \
$(LIBADDNS) \
- $(LIBSMBSHAREMODES) $(EVERYTHING_PROGS) \
+ $(EVERYTHING_PROGS) \
bin/timelimit \
.headers.stamp */src/*.o
-rm -rf t_dir