mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-05 13:40:08 +08:00
correctness of locking schemas in backends. In back-bdb2 open NEXTID during startup and close at shutdown.
59 lines
1.5 KiB
Makefile
59 lines
1.5 KiB
Makefile
## Copyright 1998 The OpenLDAP Foundation, All Rights Reserved.
|
|
## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
|
##
|
|
## tests Makefile.in for OpenLDAP
|
|
BUILD_BDB2 = @BUILD_BDB2@
|
|
|
|
SRC = slapd-tester.c slapd-search.c
|
|
PROGRAMS = slapd-tester slapd-search slapd-read slapd-addel
|
|
|
|
LDAP_INCDIR= ../include
|
|
LDAP_LIBDIR= ../libraries
|
|
|
|
XLIBS = -lldap_r -llber -llutil
|
|
|
|
build-tools: FORCE
|
|
$(MAKE) $(MFLAGS) load-tools
|
|
|
|
load-tools: $(PROGRAMS)
|
|
|
|
slapd-tester: slapd-tester.o
|
|
$(LTLINK) -o $@ slapd-tester.o
|
|
|
|
slapd-search: slapd-search.o $(LDAP_LIBLBER_DEPEND) $(LDAP_LIBLDAP_DEPEND)
|
|
$(LTLINK) -o $@ slapd-search.o $(LDAP_LIBPATH) $(XLIBS)
|
|
|
|
slapd-read: slapd-read.o $(LDAP_LIBLBER_DEPEND) $(LDAP_LIBLDAP_DEPEND)
|
|
$(LTLINK) -o $@ slapd-read.o $(LDAP_LIBPATH) $(XLIBS)
|
|
|
|
slapd-addel: slapd-addel.o $(LDAP_LIBLBER_DEPEND) $(LDAP_LIBLDAP_DEPEND)
|
|
$(LTLINK) -o $@ slapd-addel.o $(LDAP_LIBPATH) $(XLIBS)
|
|
|
|
bdb2-local: build-tools FORCE
|
|
@if test "$(BUILD_BDB2)" = "yes" ; then \
|
|
$(LN_S) $(srcdir)/data . ; \
|
|
echo "Initiating LDAP tests..." ; \
|
|
$(MKDIR) test-db test-repl ; \
|
|
$(srcdir)/scripts/all $(srcdir) bdb2 ; \
|
|
else \
|
|
echo "run configure with --enable-bdb2" ; \
|
|
fi
|
|
|
|
all-local: build-tools FORCE
|
|
@-$(LN_S) $(srcdir)/data .
|
|
@echo "Initiating LDAP tests..."; \
|
|
$(MKDIR) test-db test-repl ; \
|
|
$(srcdir)/scripts/all $(srcdir) ldbm
|
|
|
|
clean-local: FORCE
|
|
$(RM) test-db/[!C]* test-repl/[!C]* *core
|
|
$(RM) $(PROGRAMS)
|
|
$(RM) *.o
|
|
|
|
veryclean-local: FORCE
|
|
@-$(RM) data
|
|
$(RM) -r test-db test-repl
|
|
$(RM) $(PROGRAMS)
|
|
$(RM) *.o
|
|
|