1 ## Copyright 1998 The OpenLDAP Foundation, All Rights Reserved.
2 ## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
4 ## tests Makefile.in for OpenLDAP
7 BUILD_BDB2 = @BUILD_BDB2@
14 @-$(LN_S) $(srcdir)/data .
15 @if test "$(BUILD_BDB2)" = "yes" ; then \
16 echo "Initiating LDAP tests..." ; \
17 $(MKDIR) test-db test-repl || true; \
18 $(srcdir)/scripts/all $(srcdir) bdb2 ; \
20 echo "run configure with --enable-bdb2" ; \
25 @-$(LN_S) $(srcdir)/data .
26 @echo "Initiating LDAP tests..."
27 @-$(MKDIR) test-db test-repl || true
28 @$(srcdir)/scripts/all $(srcdir) ldbm
32 @-$(LN_S) $(srcdir)/data .
33 @echo "Initiating LDAP tests..."
34 @-$(MKDIR) test-db test-repl || true
35 @$(srcdir)/scripts/passwd-search $(srcdir) passwd
37 test-nis-schema: test-nis-schema-ldbm
39 @-$(LN_S) $(srcdir)/data .
40 @echo "Initiating LDAP server with NIS schema & ldbm backend..."; \
41 $(MKDIR) test-db test-repl ; \
42 $(srcdir)/scripts/startup_nis_ldap_server.sh $(srcdir) ldbm
45 @-$(LN_S) $(srcdir)/data .
46 @echo "Initiating LDAP server with NIS schema & DB2 backend..."; \
47 @if test "$(BUILD_BDB2)" = "yes" ; then \
48 echo "Initiating LDAP tests..." ; \
49 $(MKDIR) test-db test-repl ; \
50 $(srcdir)/scripts/startup_nis_ldap_server.sh $(srcdir) bdb2 ; \
52 echo "run configure with --enable-bdb2" ; \
56 -$(RM) test-db/[!C]* test-repl/[!C]* *core
58 veryclean-local: FORCE
60 $(RM) -r test-db test-repl