]> git.sur5r.net Git - openldap/blob - Makefile.in
cd5c0b9001dde77c4a9ccf8075b0f966641256b9
[openldap] / Makefile.in
1 ## Copyright 1998 The OpenLDAP Foundation, All Rights Reserved.
2 ## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
3 ##
4 ## tests Makefile.in for OpenLDAP
5 SUBDIRS= progs
6
7 BUILD_BDB2 = @BUILD_BDB2@
8
9 test-bdb2:      FORCE
10         @if test "$(BUILD_BDB2)" = "yes" ; then \
11                 $(LN_S) $(srcdir)/data . ; \
12                 echo "Initiating LDAP tests..." ; \
13                 $(MKDIR) test-db test-repl ; \
14                 $(srcdir)/scripts/all $(srcdir) bdb2 ; \
15         else \
16                 echo "run configure with --enable-bdb2" ; \
17         fi
18
19 test:           test-ldbm
20 test-ldbm:      FORCE
21         @-$(LN_S) $(srcdir)/data .
22         @echo "Initiating LDAP tests..."; \
23         $(MKDIR) test-db test-repl ; \
24         $(srcdir)/scripts/all $(srcdir) ldbm
25
26 clean-local:    FORCE
27         $(RM) test-db/[!C]* test-repl/[!C]* *core
28
29 veryclean-local: FORCE
30         @-$(RM) data
31         $(RM) -r test-db test-repl
32