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