diff options
author | Michael Adam <obnox@samba.org> | 2008-07-06 14:37:29 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-07-07 20:33:59 +0200 |
commit | 302e9ca2eb24fe33c46e421ed5cf845de0578e96 (patch) | |
tree | 37c294068edaa1b5952da798e3644a4985d374dd | |
parent | b6222766551545cd231cb998b073aac2d8c7583c (diff) | |
download | samba-302e9ca2eb24fe33c46e421ed5cf845de0578e96.tar.gz samba-302e9ca2eb24fe33c46e421ed5cf845de0578e96.tar.bz2 samba-302e9ca2eb24fe33c46e421ed5cf845de0578e96.zip |
build: create a cleanlibtdb target and use it in target clean.
Michael
(This used to be commit ebfe13b79b24791bd9c854ac2f239f02796da6bb)
-rw-r--r-- | source3/Makefile.in | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in index 93432cde08..78a4d196db 100644 --- a/source3/Makefile.in +++ b/source3/Makefile.in @@ -1691,6 +1691,14 @@ $(LIBTDB_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTDB_OBJ0) @echo Linking non-shared library $@ @-$(AR) -rc $@ $(LIBTDB_OBJ0) +cleanlibtdb:: + -rm -f \ + $(LIBTDB_SYMS) \ + $(LIBTDB_STATIC_TARGET) \ + $(LIBTDB_SHARED_TARGET) \ + $(LIBTDB_SHARED_TARGET_SONAME) + + installlibtdb:: installdirs libtdb @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR) -$(INSTALLLIBCMD_SH) $(LIBTDB_SHARED_TARGET) $(DESTDIR)$(LIBDIR) @@ -2407,7 +2415,7 @@ uninstallpammodules:: # Toplevel clean files TOPFILES=dynconfig.o -clean:: cleanlibtalloc +clean:: cleanlibtalloc cleanlibtdb -rm -f include/build_env.h -rm -f smbd/build_options.c -rm -f $(PRECOMPILED_HEADER) @@ -2421,7 +2429,7 @@ clean:: cleanlibtalloc $(LIBSMBSHAREMODES) $(EVERYTHING_PROGS) $(LIBNETAPI) \ bin/libwbclient.so.0 bin/timelimit \ .headers.stamp */src/*.o \ - $(LIBWBCLIENT_SYMS) $(LIBTDB_SYMS) $(LIBNETAPI_SYMS) + $(LIBWBCLIENT_SYMS) $(LIBNETAPI_SYMS) -rm -rf t_dir include/build_env.h: script/build_env.sh |