]> git.sur5r.net Git - openldap/blob - tests/Makefile.in
Updated sasl response to support returning of referrals.
[openldap] / tests / Makefile.in
1 # $OpenLDAP$
2 ## Copyright 1998 The OpenLDAP Foundation, All Rights Reserved.
3 ## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
4 ##
5 ## tests Makefile.in for OpenLDAP
6 SUBDIRS= progs
7
8 BUILD_BDB2 = @BUILD_BDB2@
9
10 test: tests
11 tests: bdb2 ldbm
12
13 bdb2: test-bdb2
14 test-bdb2:      FORCE
15         @-$(LN_S) $(srcdir)/data . 
16         @if test "$(BUILD_BDB2)" = "yes" ; then \
17                 echo "Initiating LDAP tests..." ; \
18                 $(MKDIR) test-db test-repl || true; \
19                 $(srcdir)/scripts/all $(srcdir) bdb2 ; \
20         else \
21                 echo "run configure with --enable-bdb2" ; \
22         fi
23
24 ldbm: test-ldbm
25 test-ldbm:      FORCE
26         @-$(LN_S) $(srcdir)/data .
27         @echo "Initiating LDAP tests..."
28         @-$(MKDIR) test-db test-repl || true
29         @$(srcdir)/scripts/all $(srcdir) ldbm
30
31 passwd: test-passwd
32 test-passwd: FORCE
33         @-$(LN_S) $(srcdir)/data .
34         @echo "Initiating LDAP tests..."
35         @-$(MKDIR) test-db test-repl || true
36         @$(srcdir)/scripts/passwd-search $(srcdir) passwd
37
38 test-nis-schema:        test-nis-schema-ldbm
39 test-nis-schema-ldbm:
40         @-$(LN_S) $(srcdir)/data .
41         @echo "Initiating LDAP server with NIS schema & ldbm backend..."; \
42         $(MKDIR) test-db test-repl ; \
43         $(srcdir)/scripts/startup_nis_ldap_server.sh $(srcdir) ldbm
44
45 test-nis-schema-bdb2:
46         @-$(LN_S) $(srcdir)/data .
47         @echo "Initiating LDAP server with NIS schema & DB2 backend..."; \
48         @if test "$(BUILD_BDB2)" = "yes" ; then \
49                 echo "Initiating LDAP tests..." ; \
50                 $(MKDIR) test-db test-repl ; \
51                 $(srcdir)/scripts/startup_nis_ldap_server.sh $(srcdir) bdb2 ; \
52         else \
53                 echo "run configure with --enable-bdb2" ; \
54         fi
55
56 clean-local:    FORCE
57         -$(RM) test-db/[!C]* test-repl/[!C]* *leak *gmon *core
58
59 veryclean-local: FORCE
60         @-$(RM) data
61         $(RM) -r test-db test-repl
62