2 ## Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
3 ## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
5 ## tests Makefile.in for OpenLDAP
9 BUILD_LDBM=@BUILD_LDBM@
10 BUILD_MONITOR=@BUILD_MONITOR@
23 @-$(LN_S) $(srcdir)/data .
24 @-$(LN_S) $(top_srcdir)/servers/slapd/schema .
25 @-$(LN_S) ../libraries/liblunicode ucdata
26 @if test "$(BUILD_BDB)" != "no"; then \
27 echo "Initiating LDAP tests for BDB..." ; \
28 $(MKDIR) test-db test-repl || true; \
29 $(srcdir)/scripts/all $(srcdir) bdb $(BUILD_BDB) $(BUILD_MONITOR) ; \
31 echo "run configure with --enable-bdb" ; \
36 @-$(LN_S) $(srcdir)/data .
37 @-$(LN_S) $(top_srcdir)/servers/slapd/schema .
38 @-$(LN_S) ../libraries/liblunicode ucdata
39 @if test "$(BUILD_HDB)" != "no" ; then \
40 echo "Initiating LDAP tests for HDB..." ; \
41 $(MKDIR) test-db test-repl || true; \
42 $(srcdir)/scripts/all $(srcdir) hdb $(BUILD_HDB) $(BUILD_MONITOR) ; \
44 echo "run configure with --enable-hdb" ; \
49 @-$(LN_S) $(srcdir)/data .
50 @-$(LN_S) $(top_srcdir)/servers/slapd/schema .
51 @-$(LN_S) ../libraries/liblunicode ucdata
52 @if test "$(BUILD_LDBM)" != "no"; then \
53 echo "Initiating LDAP tests for LDBM..." ; \
54 $(MKDIR) test-db test-repl || true; \
55 $(srcdir)/scripts/all $(srcdir) ldbm $(BUILD_LDBM) $(BUILD_MONITOR); \
57 echo "run configure with --enable-ldbm" ; \
62 @-$(LN_S) $(srcdir)/data .
63 @-$(LN_S) $(top_srcdir)/servers/slapd/schema .
64 @-$(LN_S) ../libraries/liblunicode ucdata
65 @echo "Initiating LDAP tests..."
66 @-$(MKDIR) test-db test-repl || true
67 @$(srcdir)/scripts/passwd-search $(srcdir) passwd
69 test-nis-schema: test-nis-schema-ldbm
71 @-$(LN_S) $(srcdir)/data .
72 @-$(LN_S) $(top_srcdir)/servers/slapd/schema .
73 @-$(LN_S) ../libraries/liblunicode ucdata
74 @echo "Initiating LDAP server with NIS schema & ldbm backend..."; \
75 $(MKDIR) test-db test-repl ; \
76 $(srcdir)/scripts/startup_nis_ldap_server.sh $(srcdir) ldbm
79 -$(RM) -r test-db/[!C]* test-repl/[!C]* test-cache/[!C]* *leak *gmon *core
81 veryclean-local: FORCE
82 @-$(RM) data schema ucdata
83 -$(RM) -r test-db test-repl test-cache