From 672eb71cf7b43e53379ed8e1c67ce082d2eae9d6 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 7 Jul 2008 09:26:21 +0200 Subject: build: create cleanlibsmbsharemodes target and use it in "make clean". Michael (This used to be commit 20a5053f0e75176e9ec1d4fd5a18626bbe3a0267) --- 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 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 -- cgit