]> git.sur5r.net Git - openldap/blob - tests/Makefile.in
get posixgroup.c compiling again
[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-2011 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_SQL=@BUILD_SQL@
22
23 # test primary backends (default)
24 test tests:
25         @$(MAKE) bdb
26         @$(MAKE) hdb
27
28 # test all backends
29 alltests: tests
30         @$(MAKE) sql
31
32 bdb test-bdb:   bdb-$(BUILD_BDB)
33 bdb-no:
34         @echo "run configure with --enable-bdb to run BDB tests"
35
36 bdb-yes bdb-mod: FORCE
37         @echo "Initiating LDAP tests for BDB..."
38         @$(RUN) -b bdb all
39
40 hdb test-hdb:   hdb-$(BUILD_HDB)
41 hdb-no:
42         @echo "run configure with --enable-hdb to run HDB tests"
43
44 hdb-yes hdb-mod: FORCE
45         @echo "Initiating LDAP tests for HDB..."
46         @$(RUN) -b hdb all
47
48 sql test-sql:   sql-$(BUILD_SQL)
49 sql-no:
50         @echo "run configure with --enable-sql to run SQL tests"
51
52 sql-yes sql-mod:        FORCE
53         @echo "Initiating LDAP tests for SQL..."
54         @$(RUN) -b sql sql-all
55
56 ldif test-ldif: FORCE
57         @echo "Initiating LDAP tests for LDIF..."
58         @$(RUN) -b ldif all
59
60 regressions:    FORCE
61         @echo "Testing (available) ITS regressions"
62         @$(RUN) its-all
63
64 its: regressions
65
66 clean-local:    FORCE
67         -$(RM) -r testrun configpw configpw.conf *leak *gmon *core
68
69 veryclean-local: FORCE
70         @-$(RM) run testdata schema ucdata
71