summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-07-07 00:06:28 +0200
committerMichael Adam <obnox@samba.org>2008-07-07 20:34:02 +0200
commit7e7e9250be2c47958468d876c9b4e5888f5c3f88 (patch)
treea7d697aedc6e10296d6c5db8ab5e96eae6ed00cc
parent1b20cf1324e154cd7b3dcee3450a5c8af4361d16 (diff)
downloadsamba-7e7e9250be2c47958468d876c9b4e5888f5c3f88.tar.gz
samba-7e7e9250be2c47958468d876c9b4e5888f5c3f88.tar.bz2
samba-7e7e9250be2c47958468d876c9b4e5888f5c3f88.zip
build: add cleanlibsmbclient target and use it in make clean.
Michael (This used to be commit 95a7d21d3150ca9c24d48cf6a2976dcc1dfaaa05)
-rw-r--r--source3/Makefile.in10
1 files changed, 8 insertions, 2 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 0d92b8d5e9..f0e1d8a3cc 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -1871,6 +1871,12 @@ $(LIBSMBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ0)
libsmbclient: $(LIBSMBCLIENT)
+cleanlibsmbclient::
+ -rm -f \
+ $(LIBSMBCLIENT_SHARED_TARGET) \
+ $(LIBSMBCLIENT_SHARED_TARGET_SONAME) \
+ $(LIBSMBCLIENT_STATIC_TARGET)
+
installlibsmbclient:: installdirs libsmbclient
@$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
-$(INSTALLLIBCMD_SH) $(LIBSMBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
@@ -2490,7 +2496,7 @@ uninstallpammodules::
# Toplevel clean files
TOPFILES=dynconfig.o
-clean:: cleanlibtalloc cleanlibtdb cleanlibnetapi cleanlibwbclient
+clean:: cleanlibtalloc cleanlibtdb cleanlibnetapi cleanlibwbclient cleansmbclient
-rm -f include/build_env.h
-rm -f smbd/build_options.c
-rm -f $(PRECOMPILED_HEADER)
@@ -2500,7 +2506,7 @@ clean:: cleanlibtalloc cleanlibtdb cleanlibnetapi cleanlibwbclient
*/*.@SHLIBEXT@ */*/*.@SHLIBEXT@ */*/*/*.@SHLIBEXT@ \
$(TOPFILES) $(BIN_PROGS) $(SBIN_PROGS) $(ROOT_SBIN_PROGS) \
$(MODULES) $(TORTURE_PROGS) \
- $(LIBSMBCLIENT) $(LIBADDNS) \
+ $(LIBADDNS) \
$(LIBSMBSHAREMODES) $(EVERYTHING_PROGS) \
bin/timelimit \
.headers.stamp */src/*.o