mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
build: create cleanlibsmbsharemodes target and use it in "make clean".
Michael
(This used to be commit 20a5053f0e
)
This commit is contained in:
parent
fc54fc52f4
commit
672eb71cf7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user