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@
17 @-$(LN_S) $(srcdir)/data .
18 @-$(LN_S) $(top_srcdir)/servers/slapd/schema .
19 @-$(LN_S) ../libraries/liblunicode ucdata
20 @if test "$(BUILD_BDB)" = "yes" ; then \
21 echo "Initiating LDAP tests for BDB..." ; \
22 $(MKDIR) test-db test-repl || true; \
23 $(srcdir)/scripts/all $(srcdir) bdb $(BUILD_MONITOR) ; \
25 echo "run configure with --enable-bdb" ; \
30 @-$(LN_S) $(srcdir)/data .
31 @-$(LN_S) $(top_srcdir)/servers/slapd/schema .
32 @-$(LN_S) ../libraries/liblunicode ucdata
33 @if test "$(BUILD_BDB)" = "yes" ; then \
34 echo "Initiating LDAP tests for HDB..." ; \
35 $(MKDIR) test-db test-repl || true; \
36 $(srcdir)/scripts/all $(srcdir) hdb $(BUILD_MONITOR) ; \
38 echo "run configure with --enable-hdb" ; \
43 @-$(LN_S) $(srcdir)/data .
44 @-$(LN_S) $(top_srcdir)/servers/slapd/schema .
45 @-$(LN_S) ../libraries/liblunicode ucdata
46 @if test "$(BUILD_LDBM)" = "yes" ; then \
47 echo "Initiating LDAP tests for LDBM..." ; \
48 $(MKDIR) test-db test-repl || true; \
49 $(srcdir)/scripts/all $(srcdir) ldbm $(BUILD_MONITOR); \
51 echo "run configure with --enable-ldbm" ; \
56 @-$(LN_S) $(srcdir)/data .
57 @-$(LN_S) $(top_srcdir)/servers/slapd/schema .
58 @-$(LN_S) ../libraries/liblunicode ucdata
59 @echo "Initiating LDAP tests..."
60 @-$(MKDIR) test-db test-repl || true
61 @$(srcdir)/scripts/passwd-search $(srcdir) passwd
63 test-nis-schema: test-nis-schema-ldbm
65 @-$(LN_S) $(srcdir)/data .
66 @-$(LN_S) $(top_srcdir)/servers/slapd/schema .
67 @-$(LN_S) ../libraries/liblunicode ucdata
68 @echo "Initiating LDAP server with NIS schema & ldbm backend..."; \
69 $(MKDIR) test-db test-repl ; \
70 $(srcdir)/scripts/startup_nis_ldap_server.sh $(srcdir) ldbm
73 -$(RM) -r test-db/[!C]* test-repl/[!C]* *leak *gmon *core
75 veryclean-local: FORCE
76 @-$(RM) data schema ucdata
77 -$(RM) -r test-db test-repl