summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-07-06 21:23:11 +0200
committerMichael Adam <obnox@samba.org>2008-07-07 20:34:01 +0200
commite4c67f9cc26b1eb9ab6294b4508eca5419bfa63f (patch)
tree323a0375b7a2f3991ad1a1c6b29ca1262b316713
parent56579822dafad4945ab67e20d20c3718c84621a9 (diff)
downloadsamba-e4c67f9cc26b1eb9ab6294b4508eca5419bfa63f.tar.gz
samba-e4c67f9cc26b1eb9ab6294b4508eca5419bfa63f.tar.bz2
samba-e4c67f9cc26b1eb9ab6294b4508eca5419bfa63f.zip
build: add a cleanlibwbclient target to Makefile.in and use it for make clean.
Michael (This used to be commit e01a1d8d651f680ca58b809dc569ff74592d53a9)
-rw-r--r--source3/Makefile.in14
1 files changed, 10 insertions, 4 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 481082eb74..6de2a39732 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -1717,6 +1717,13 @@ $(LIBWBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ0) $(WBCOMMON_O
libwbclient: $(LIBWBCLIENT)
+cleanlibwbclient::
+ -rm -f \
+ $(LIBWBCLIENT_SYMS) \
+ $(LIBWBCLIENT_STATIC_TARGET) \
+ $(LIBWBCLIENT_SHARED_TARGET) \
+ $(LIBWBCLIENT_SHARED_TARGET_SONAME)
+
installlibwbclient:: installdirs libwbclient
@$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
-$(INSTALLLIBCMD_SH) $(LIBWBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
@@ -2462,7 +2469,7 @@ uninstallpammodules::
# Toplevel clean files
TOPFILES=dynconfig.o
-clean:: cleanlibtalloc cleanlibtdb cleanlibnetapi
+clean:: cleanlibtalloc cleanlibtdb cleanlibnetapi cleanlibwbclient
-rm -f include/build_env.h
-rm -f smbd/build_options.c
-rm -f $(PRECOMPILED_HEADER)
@@ -2474,9 +2481,8 @@ clean:: cleanlibtalloc cleanlibtdb cleanlibnetapi
$(MODULES) $(TORTURE_PROGS) \
$(LIBSMBCLIENT) $(LIBADDNS) \
$(LIBSMBSHAREMODES) $(EVERYTHING_PROGS) \
- bin/libwbclient.so.0 bin/timelimit \
- .headers.stamp */src/*.o \
- $(LIBWBCLIENT_SYMS)
+ bin/timelimit \
+ .headers.stamp */src/*.o
-rm -rf t_dir
include/build_env.h: script/build_env.sh