openldap/tests/Makefile.in

65 lines
1.8 KiB
Makefile
Raw Normal View History

1999-09-01 20:52:43 -04:00
# $OpenLDAP$
2003-01-03 15:20:47 -05:00
## Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
1998-10-24 21:41:42 -04:00
## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
##
## tests Makefile.in for OpenLDAP
SUBDIRS= progs
2000-06-05 21:23:17 -04:00
BUILD_LDBM=@BUILD_LDBM@
BUILD_BDB=@BUILD_BDB@
BUILD_MONITOR=@BUILD_MONITOR@
test: tests
2002-01-15 12:26:44 -05:00
tests: bdb ldbm
2000-09-28 00:10:35 -04:00
bdb: test-bdb
test-bdb: FORCE
@-$(LN_S) $(srcdir)/data .
@-$(LN_S) $(top_srcdir)/servers/slapd/schema .
@-$(LN_S) ../libraries/liblunicode ucdata
@if test "$(BUILD_BDB)" = "yes" ; then \
2000-09-28 00:10:35 -04:00
echo "Initiating LDAP tests for BDB..." ; \
$(MKDIR) test-db test-repl || true; \
$(srcdir)/scripts/all $(srcdir) bdb $(BUILD_MONITOR) ; \
2000-09-28 00:10:35 -04:00
else \
echo "run configure with --enable-bdb" ; \
fi
2000-06-05 21:23:17 -04:00
ldbm: test-ldbm
test-ldbm: FORCE
2000-06-06 15:55:26 -04:00
@-$(LN_S) $(srcdir)/data .
@-$(LN_S) $(top_srcdir)/servers/slapd/schema .
@-$(LN_S) ../libraries/liblunicode ucdata
2000-06-05 21:23:17 -04:00
@if test "$(BUILD_LDBM)" = "yes" ; then \
echo "Initiating LDAP tests for LDBM..." ; \
$(MKDIR) test-db test-repl || true; \
$(srcdir)/scripts/all $(srcdir) ldbm $(BUILD_MONITOR); \
else \
2000-06-05 21:23:17 -04:00
echo "run configure with --enable-ldbm" ; \
fi
1998-10-24 21:41:42 -04:00
passwd: test-passwd
test-passwd: FORCE
2000-06-06 15:55:26 -04:00
@-$(LN_S) $(srcdir)/data .
@-$(LN_S) $(top_srcdir)/servers/slapd/schema .
@-$(LN_S) ../libraries/liblunicode ucdata
@echo "Initiating LDAP tests..."
@-$(MKDIR) test-db test-repl || true
@$(srcdir)/scripts/passwd-search $(srcdir) passwd
test-nis-schema: test-nis-schema-ldbm
test-nis-schema-ldbm:
2000-06-06 15:55:26 -04:00
@-$(LN_S) $(srcdir)/data .
@-$(LN_S) $(top_srcdir)/servers/slapd/schema .
@-$(LN_S) ../libraries/liblunicode ucdata
@echo "Initiating LDAP server with NIS schema & ldbm backend..."; \
$(MKDIR) test-db test-repl ; \
$(srcdir)/scripts/startup_nis_ldap_server.sh $(srcdir) ldbm
1998-10-24 21:41:42 -04:00
clean-local: FORCE
2000-06-26 01:36:39 -04:00
-$(RM) -r test-db/[!C]* test-repl/[!C]* *leak *gmon *core
1998-10-24 21:41:42 -04:00
veryclean-local: FORCE
2000-09-03 19:48:35 -04:00
@-$(RM) data schema ucdata
2000-06-10 14:47:27 -04:00
-$(RM) -r test-db test-repl
1998-10-24 21:41:42 -04:00