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@
11 BUILD_CACHE=@BUILD_CACHE@
24 @-$(LN_S) $(srcdir)/data .
25 @-$(LN_S) $(top_srcdir)/servers/slapd/schema .
26 @-$(LN_S) ../libraries/liblunicode ucdata
27 @if test "$(BUILD_BDB)" != "no"; then \
28 echo "Initiating LDAP tests for BDB..." ; \
29 $(MKDIR) test-db test-repl || true; \
30 $(srcdir)/scripts/all $(srcdir) bdb $(BUILD_BDB) $(BUILD_MONITOR) $(BUILD_CACHE) ; \
32 echo "run configure with --enable-bdb" ; \
37 @-$(LN_S) $(srcdir)/data .
38 @-$(LN_S) $(top_srcdir)/servers/slapd/schema .
39 @-$(LN_S) ../libraries/liblunicode ucdata
40 @if test "$(BUILD_HDB)" != "no" ; then \
41 echo "Initiating LDAP tests for HDB..." ; \
42 $(MKDIR) test-db test-repl || true; \
43 $(srcdir)/scripts/all $(srcdir) hdb $(BUILD_HDB) $(BUILD_MONITOR) $(BUILD_CACHE) ; \
45 echo "run configure with --enable-hdb" ; \
50 @-$(LN_S) $(srcdir)/data .
51 @-$(LN_S) $(top_srcdir)/servers/slapd/schema .
52 @-$(LN_S) ../libraries/liblunicode ucdata
53 @if test "$(BUILD_LDBM)" != "no"; then \
54 echo "Initiating LDAP tests for LDBM..." ; \
55 $(MKDIR) test-db test-repl || true; \
56 $(srcdir)/scripts/all $(srcdir) ldbm $(BUILD_LDBM) $(BUILD_MONITOR) $(BUILD_CACHE); \
58 echo "run configure with --enable-ldbm" ; \
63 @-$(LN_S) $(srcdir)/data .
64 @-$(LN_S) $(top_srcdir)/servers/slapd/schema .
65 @-$(LN_S) ../libraries/liblunicode ucdata
66 @echo "Initiating LDAP tests..."
67 @-$(MKDIR) test-db test-repl || true
68 @$(srcdir)/scripts/passwd-search $(srcdir) passwd
70 test-nis-schema: test-nis-schema-ldbm
72 @-$(LN_S) $(srcdir)/data .
73 @-$(LN_S) $(top_srcdir)/servers/slapd/schema .
74 @-$(LN_S) ../libraries/liblunicode ucdata
75 @echo "Initiating LDAP server with NIS schema & ldbm backend..."; \
76 $(MKDIR) test-db test-repl ; \
77 $(srcdir)/scripts/startup_nis_ldap_server.sh $(srcdir) ldbm
80 -$(RM) -r test-db/[!C]* test-repl/[!C]* test-cache/[!C]* *leak *gmon *core
82 veryclean-local: FORCE
83 @-$(RM) data schema ucdata
84 -$(RM) -r test-db test-repl test-cache