-all-local: FORCE
- @echo "Initiating LDAP tests..."; \
- $(MKDIR) -p test-db test-repl ; \
- $(SCRIPTSDIR)/all $(SCRIPTSDIR)
+ldbm: test-ldbm
+test-ldbm: FORCE
+ @-$(LN_S) $(srcdir)/data .
+ @-$(LN_S) $(top_srcdir)/servers/slapd/schema .
+ @-$(LN_S) ../libraries/liblunicode ucdata
+ @if test "$(BUILD_LDBM)" = "yes" ; then \
+ echo "Initiating LDAP tests for LDBM..." ; \
+ $(MKDIR) test-db test-repl || true; \
+ $(srcdir)/scripts/all $(srcdir) ldbm $(BUILD_MONITOR); \
+ else \
+ echo "run configure with --enable-ldbm" ; \
+ fi