]> git.sur5r.net Git - openldap/blob - tests/Makefile.in
Fix typo "failed $(RC)" -> "failed ($RC)"
[openldap] / tests / Makefile.in
1 # Makefile.in for tests
2 # $OpenLDAP$
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 ##
5 ## Copyright 1998-2005 The OpenLDAP Foundation.
6 ## All rights reserved.
7 ##
8 ## Redistribution and use in source and binary forms, with or without
9 ## modification, are permitted only as authorized by the OpenLDAP
10 ## Public License.
11 ##
12 ## A copy of this license is available in the file LICENSE in the
13 ## top-level directory of the distribution or, alternatively, at
14 ## <http://www.OpenLDAP.org/license.html>.
15
16 RUN=./run
17 SUBDIRS= progs
18
19 BUILD_BDB=@BUILD_BDB@
20 BUILD_HDB=@BUILD_HDB@
21 BUILD_LDBM=@BUILD_LDBM@
22 BUILD_SQL=@BUILD_SQL@
23
24 test tests:
25         @$(MAKE) bdb
26         @$(MAKE) hdb
27         @$(MAKE) ldbm
28         @$(MAKE) sql
29
30 bdb test-bdb:   bdb-$(BUILD_BDB)
31 bdb-no:
32         @echo "run configure with --enable-bdb to run BDB tests"
33
34 bdb-yes bdb-mod: FORCE
35         @echo "Initiating LDAP tests for BDB..."
36         @$(RUN) -b bdb all
37
38 hdb test-hdb:   hdb-$(BUILD_HDB)
39 hdb-no:
40         @echo "run configure with --enable-hdb to run HDB tests"
41
42 hdb-yes hdb-mod: FORCE
43         @echo "Initiating LDAP tests for HDB..."
44         @$(RUN) -b hdb all
45
46 ldbm test-ldbm: ldbm-$(BUILD_LDBM)
47 ldbm-no:
48         @echo "run configure with --enable-ldbm to run LDBM tests"
49
50 ldbm-yes ldbm-mod:      FORCE
51         @echo "Initiating LDAP tests for LDBM..."
52         @$(RUN) -b ldbm all
53
54 sql test-sql:   sql-$(BUILD_SQL)
55 sql-no:
56         @echo "run configure with --enable-sql to run SQL tests"
57
58 sql-yes sql-mod:        FORCE
59         @echo "Initiating LDAP tests for SQL..."
60         @$(RUN) -b sql sql-all
61
62 clean-local:    FORCE
63         -$(RM) -r testrun *leak *gmon *core
64
65 veryclean-local: FORCE
66         @-$(RM) run testdata schema ucdata
67