summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-07-07 14:04:32 +0200
committerMichael Adam <obnox@samba.org>2008-07-07 20:34:03 +0200
commit23804595f7e8ae2464c804580fbecbe7e8d5adbd (patch)
tree6428d4e63f6ee6a9bd59369e5f4778e5ef000991
parentd51180e4b80ff18980c58fd44fc870d5024dab04 (diff)
downloadsamba-23804595f7e8ae2464c804580fbecbe7e8d5adbd.tar.gz
samba-23804595f7e8ae2464c804580fbecbe7e8d5adbd.tar.bz2
samba-23804595f7e8ae2464c804580fbecbe7e8d5adbd.zip
build: add a cleanlibaddns target and use it in "make clean"
Michael (This used to be commit 39a447a232d0afbef55437a995f557553cbc8a0e)
-rw-r--r--source3/Makefile.in9
1 files changed, 7 insertions, 2 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 933644a6a1..815ccca142 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -1746,6 +1746,12 @@ $(LIBADDNS_STATIC_TARGET): $(BINARY_PREREQS) $(LIBADDNS_OBJ)
libaddns: $(LIBADDNS)
+cleanlibaddns::
+ -rm -f \
+ $(LIBADDNS_SHARED_TARGET) \
+ $(LIBADDNS_SHARED_TARGET_SONAME) \
+ $(LIBADDNS_STATIC_TARGET)
+
installlibaddns:: installdirs libaddns
@$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
-$(INSTALLLIBCMD_SH) $(LIBADDNS_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
@@ -2547,7 +2553,7 @@ uninstallpammodules::
# Toplevel clean files
TOPFILES=dynconfig.o
-clean:: cleanlibtalloc cleanlibtdb cleanlibnetapi cleanlibwbclient cleansmbclient cleanlibsmbsharemodes
+clean:: cleanlibtalloc cleanlibtdb cleanlibnetapi cleanlibwbclient cleansmbclient cleanlibsmbsharemodes cleanlibaddns
-rm -f include/build_env.h
-rm -f smbd/build_options.c
-rm -f $(PRECOMPILED_HEADER)
@@ -2557,7 +2563,6 @@ clean:: cleanlibtalloc cleanlibtdb cleanlibnetapi cleanlibwbclient cleansmbclien
*/*.@SHLIBEXT@ */*/*.@SHLIBEXT@ */*/*/*.@SHLIBEXT@ \
$(TOPFILES) $(BIN_PROGS) $(SBIN_PROGS) $(ROOT_SBIN_PROGS) \
$(MODULES) $(TORTURE_PROGS) \
- $(LIBADDNS) \
$(EVERYTHING_PROGS) \
bin/timelimit \
.headers.stamp */src/*.o