BUILD_MONITOR=@BUILD_MONITOR@
BUILD_CACHE=@BUILD_CACHE@
-test: tests
-tests: ldbm
-ldbm: hdb
-hdb: bdb
+test tests:
+ @$(MAKE) bdb
+ @$(MAKE) hdb
+ @$(MAKE) ldbm
links: data schema ucdata
data:
test-db test-repl:
@$(MKDIR) $@
-test-bdb: bdb
-bdb: bdb-$(BUILD_BDB)
+bdb test-bdb: bdb-$(BUILD_BDB)
bdb-no:
@echo "run configure with --enable-bdb"
@echo "Initiating LDAP tests for BDB..."
@MONITORDB=$(BUILD_MONITOR) PROXYCACHE=$(BUILD_CACHE) BACKENDTYPE=$(BUILD_BDB) $(srcdir)/scripts/all $(srcdir) bdb bdb
-test-hdb: hdb
-hdb: hdb-$(BUILD_HDB)
+hdb test-hdb: hdb-$(BUILD_HDB)
hdb-no:
@echo "run configure with --enable-hdb"
@echo "Initiating LDAP tests for HDB..."
@MONITORDB=$(BUILD_MONITOR) PROXYCACHE=$(BUILD_CACHE) BACKENDTYPE=$(BUILD_HDB) $(srcdir)/scripts/all $(srcdir) hdb hdb
-test-ldbm: ldbm
-ldbm: ldbm-$(BUILD_LDBM)
+ldbm test-ldbm: ldbm-$(BUILD_LDBM)
ldbm-no:
@echo "run configure with --enable-ldbm"
fi ; \
fi
-passwd: test-passwd
-test-passwd: links dirs FORCE
+passwd test-passwd: links dirs FORCE
@echo "Initiating LDAP tests..."
@$(srcdir)/scripts/passwd-search $(srcdir) passwd