From 7e7e9250be2c47958468d876c9b4e5888f5c3f88 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 7 Jul 2008 00:06:28 +0200 Subject: build: add cleanlibsmbclient target and use it in make clean. Michael (This used to be commit 95a7d21d3150ca9c24d48cf6a2976dcc1dfaaa05) --- source3/Makefile.in | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'source3') 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 -- cgit