2 ## Copyright 1998 The OpenLDAP Foundation, All Rights Reserved.
3 ## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
5 ## tests Makefile.in for OpenLDAP
8 BUILD_BDB2 = @BUILD_BDB2@
15 @-$(LN_S) $(srcdir)/data .
16 @if test "$(BUILD_BDB2)" = "yes" ; then \
17 echo "Initiating LDAP tests..." ; \
18 $(MKDIR) test-db test-repl || true; \
19 $(srcdir)/scripts/all $(srcdir) bdb2 ; \
21 echo "run configure with --enable-bdb2" ; \
26 @-$(LN_S) $(srcdir)/data .
27 @echo "Initiating LDAP tests..."
28 @-$(MKDIR) test-db test-repl || true
29 @$(srcdir)/scripts/all $(srcdir) ldbm
33 @-$(LN_S) $(srcdir)/data .
34 @echo "Initiating LDAP tests..."
35 @-$(MKDIR) test-db test-repl || true
36 @$(srcdir)/scripts/passwd-search $(srcdir) passwd
38 test-nis-schema: test-nis-schema-ldbm
40 @-$(LN_S) $(srcdir)/data .
41 @echo "Initiating LDAP server with NIS schema & ldbm backend..."; \
42 $(MKDIR) test-db test-repl ; \
43 $(srcdir)/scripts/startup_nis_ldap_server.sh $(srcdir) ldbm
46 @-$(LN_S) $(srcdir)/data .
47 @echo "Initiating LDAP server with NIS schema & DB2 backend..."; \
48 @if test "$(BUILD_BDB2)" = "yes" ; then \
49 echo "Initiating LDAP tests..." ; \
50 $(MKDIR) test-db test-repl ; \
51 $(srcdir)/scripts/startup_nis_ldap_server.sh $(srcdir) bdb2 ; \
53 echo "run configure with --enable-bdb2" ; \
57 -$(RM) test-db/[!C]* test-repl/[!C]* *leak *gmon *core
59 veryclean-local: FORCE
61 $(RM) -r test-db test-repl