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