1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

build: add a cleanlibtalloc target.

Michael
(This used to be commit 5d3c6c3c1c)
This commit is contained in:
Michael Adam 2008-07-06 02:48:39 +02:00
parent 368cea20e9
commit dcf6bc8402

View File

@ -1622,6 +1622,14 @@ $(LIBTALLOC_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTALLOC_OBJ0)
@echo Linking non-shared library $@
@-$(AR) -rc $@ $(LIBTALLOC_OBJ0)
cleanlibtalloc::
-rm -f \
$(LIBTALLOC_SYMS) \
$(LIBTALLOC_STATIC_TARGET) \
$(LIBTALLOC_SHARED_TARGET) \
$(LIBTALLOC_SHARED_TARGET_SONAME)
$(LIBTDB_SYMS): $(LIBTDB_HEADERS)
@$(MKSYMS_SH) $(AWK) $@ $(LIBTDB_HEADERS)
@ -2325,7 +2333,7 @@ uninstallpammodules::
# Toplevel clean files
TOPFILES=dynconfig.o
clean::
clean:: cleanlibtalloc
-rm -f include/build_env.h
-rm -f smbd/build_options.c
-rm -f $(PRECOMPILED_HEADER)
@ -2335,11 +2343,11 @@ clean::
*/*.@SHLIBEXT@ */*/*.@SHLIBEXT@ */*/*/*.@SHLIBEXT@ \
$(TOPFILES) $(BIN_PROGS) $(SBIN_PROGS) $(ROOT_SBIN_PROGS) \
$(MODULES) $(TORTURE_PROGS) \
$(LIBTALLOC) $(LIBSMBCLIENT) $(LIBADDNS) \
$(LIBSMBCLIENT) $(LIBADDNS) \
$(LIBSMBSHAREMODES) $(EVERYTHING_PROGS) $(LIBNETAPI) \
bin/libwbclient.so.0 bin/timelimit \
.headers.stamp */src/*.o \
$(LIBTALLOC_SYMS) $(LIBWBCLIENT_SYMS) $(LIBTDB_SYMS) $(LIBNETAPI_SYMS)
$(LIBWBCLIENT_SYMS) $(LIBTDB_SYMS) $(LIBNETAPI_SYMS)
-rm -rf t_dir
include/build_env.h: script/build_env.sh