summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-07-06 20:28:43 +0200
committerMichael Adam <obnox@samba.org>2008-07-07 20:34:00 +0200
commit521d4c8c6f597d1c7d44b022b236b7f36f350f50 (patch)
tree45f12518feecd1e8924428bb59ddcd07c0f25f69 /source3
parentfea56fe4c8057f3f17f3389dfae8417a2f6e7454 (diff)
downloadsamba-521d4c8c6f597d1c7d44b022b236b7f36f350f50.tar.gz
samba-521d4c8c6f597d1c7d44b022b236b7f36f350f50.tar.bz2
samba-521d4c8c6f597d1c7d44b022b236b7f36f350f50.zip
build: add a cleanlibnetapi target and use it in make clean
Michael (This used to be commit ff62887a94a7dd6f09995c820db7d825828bacad)
Diffstat (limited to 'source3')
-rw-r--r--source3/Makefile.in13
1 files changed, 10 insertions, 3 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index edd79656e0..ac233c6d30 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -1786,6 +1786,13 @@ $(LIBNETAPI_STATIC_TARGET): $(BINARY_PREREQS) $(LIBNETAPI_OBJ1)
libnetapi: $(LIBNETAPI)
+cleanlibnetapi::
+ -rm -f \
+ $(LIBNETAPI_SYMS) \
+ $(LIBNETAPI_STATIC_TARGET) \
+ $(LIBNETAPI_SHARED_TARGET) \
+ $(LIBNETAPI_SHARED_TARGET_SONAME)
+
installlibnetapi:: installdirs libnetapi
@$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
-$(INSTALLLIBCMD_SH) $(LIBNETAPI_SHARED_TARGET) $(DESTDIR)$(LIBDIR)
@@ -2432,7 +2439,7 @@ uninstallpammodules::
# Toplevel clean files
TOPFILES=dynconfig.o
-clean:: cleanlibtalloc cleanlibtdb
+clean:: cleanlibtalloc cleanlibtdb cleanlibnetapi
-rm -f include/build_env.h
-rm -f smbd/build_options.c
-rm -f $(PRECOMPILED_HEADER)
@@ -2443,10 +2450,10 @@ clean:: cleanlibtalloc cleanlibtdb
$(TOPFILES) $(BIN_PROGS) $(SBIN_PROGS) $(ROOT_SBIN_PROGS) \
$(MODULES) $(TORTURE_PROGS) \
$(LIBSMBCLIENT) $(LIBADDNS) \
- $(LIBSMBSHAREMODES) $(EVERYTHING_PROGS) $(LIBNETAPI) \
+ $(LIBSMBSHAREMODES) $(EVERYTHING_PROGS) \
bin/libwbclient.so.0 bin/timelimit \
.headers.stamp */src/*.o \
- $(LIBWBCLIENT_SYMS) $(LIBNETAPI_SYMS)
+ $(LIBWBCLIENT_SYMS)
-rm -rf t_dir
include/build_env.h: script/build_env.sh