summaryrefslogtreecommitdiffstats
path: root/source/Makefile.in
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-07-06 20:28:43 +0200
committerKarolin Seeger <kseeger@samba.org>2008-08-18 14:52:20 +0200
commit7071c5e1615e91a80b843be8d72289f5f379c7a3 (patch)
tree455c59b6a2004e45059dde3df4cf51c057fc57ab /source/Makefile.in
parent9b73f56a5417275d24aabef5c22db3d508f39d56 (diff)
downloadsamba-7071c5e1615e91a80b843be8d72289f5f379c7a3.tar.gz
samba-7071c5e1615e91a80b843be8d72289f5f379c7a3.tar.xz
samba-7071c5e1615e91a80b843be8d72289f5f379c7a3.zip
build: add a cleanlibnetapi target and use it in make clean
Michael (cherry picked from commit ff62887a94a7dd6f09995c820db7d825828bacad) resolved conflicts (cherry picked from commit cf7c21409bce6fc39cf62ced54191e7a78ea470b)
Diffstat (limited to 'source/Makefile.in')
-rw-r--r--source/Makefile.in13
1 files changed, 10 insertions, 3 deletions
diff --git a/source/Makefile.in b/source/Makefile.in
index d0463660af9..e08345d5261 100644
--- a/source/Makefile.in
+++ b/source/Makefile.in
@@ -1772,6 +1772,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)
@@ -2402,7 +2409,7 @@ uninstallpammodules::
# Toplevel clean files
TOPFILES=dynconfig.o
-clean:: delheaders cleanlibtalloc cleanlibtdb
+clean:: delheaders cleanlibtalloc cleanlibtdb cleanlibnetapi
-rm -f $(PRECOMPILED_HEADER)
-rm -f core */*~ *~ \
*/*.o */*/*.o */*/*/*.o \
@@ -2411,10 +2418,10 @@ clean:: delheaders 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 proto_exists \
- $(LIBWBCLIENT_SYMS) $(LIBNETAPI_SYMS)
+ $(LIBWBCLIENT_SYMS)
-rm -rf t_dir
# Making this target will just make sure that the prototype files