]> git.sur5r.net Git - openldap/blob - tests/Makefile.in
notices
[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-2003 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
23 test tests:
24         @$(MAKE) bdb
25         @$(MAKE) hdb
26         @$(MAKE) ldbm
27
28 bdb test-bdb:   bdb-$(BUILD_BDB)
29 bdb-no:
30         @echo "run configure with --enable-bdb"
31
32 bdb-yes bdb-mod: FORCE
33         @echo "Initiating LDAP tests for BDB..."
34         @$(RUN) -b bdb all
35
36 hdb test-hdb:   hdb-$(BUILD_HDB)
37 hdb-no:
38         @echo "run configure with --enable-hdb"
39
40 hdb-yes hdb-mod: FORCE
41         @echo "Initiating LDAP tests for HDB..."
42         @$(RUN) -b hdb all
43
44 ldbm test-ldbm: ldbm-$(BUILD_LDBM)
45 ldbm-no:
46         @echo "run configure with --enable-ldbm"
47
48 ldbm-yes ldbm-mod:      FORCE
49         @echo "Initiating LDAP tests for LDBM..."
50         @$(RUN) -b ldbm all
51
52 clean-local:    FORCE
53         -$(RM) -r testrun *leak *gmon *core
54
55 veryclean-local: FORCE
56         @-$(RM) data schema ucdata
57