2 ## Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
3 ## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
5 ## tests Makefile.in for OpenLDAP
7 BUILD_LDBM=@BUILD_LDBM@
9 BUILD_MONITOR=@BUILD_MONITOR@
16 @-$(LN_S) $(srcdir)/data .
17 @-$(LN_S) $(top_srcdir)/servers/slapd/schema .
18 @-$(LN_S) ../libraries/liblunicode ucdata
19 @if test "$(BUILD_BDB)" = "yes" ; then \
20 echo "Initiating LDAP tests for BDB..." ; \
21 $(MKDIR) test-db test-repl || true; \
22 $(srcdir)/scripts/all $(srcdir) bdb $(BUILD_MONITOR) ; \
24 echo "run configure with --enable-bdb" ; \
29 @-$(LN_S) $(srcdir)/data .
30 @-$(LN_S) $(top_srcdir)/servers/slapd/schema .
31 @-$(LN_S) ../libraries/liblunicode ucdata
32 @if test "$(BUILD_LDBM)" = "yes" ; then \
33 echo "Initiating LDAP tests for LDBM..." ; \
34 $(MKDIR) test-db test-repl || true; \
35 $(srcdir)/scripts/all $(srcdir) ldbm $(BUILD_MONITOR); \
37 echo "run configure with --enable-ldbm" ; \
42 @-$(LN_S) $(srcdir)/data .
43 @-$(LN_S) $(top_srcdir)/servers/slapd/schema .
44 @-$(LN_S) ../libraries/liblunicode ucdata
45 @echo "Initiating LDAP tests..."
46 @-$(MKDIR) test-db test-repl || true
47 @$(srcdir)/scripts/passwd-search $(srcdir) passwd
49 test-nis-schema: test-nis-schema-ldbm
51 @-$(LN_S) $(srcdir)/data .
52 @-$(LN_S) $(top_srcdir)/servers/slapd/schema .
53 @-$(LN_S) ../libraries/liblunicode ucdata
54 @echo "Initiating LDAP server with NIS schema & ldbm backend..."; \
55 $(MKDIR) test-db test-repl ; \
56 $(srcdir)/scripts/startup_nis_ldap_server.sh $(srcdir) ldbm
59 -$(RM) -r test-db/[!C]* test-repl/[!C]* *leak *gmon *core
61 veryclean-local: FORCE
62 @-$(RM) data schema ucdata
63 -$(RM) -r test-db test-repl