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