3 SRCS = idl.c add.c search.c cache.c dbcache.c dn2id.c entry.c \
4 id2entry.c index.c id2children.c nextid.c \
5 compare.c group.c modify.c modrdn.c delete.c init.c \
6 config.c bind.c attr.c filterindex.c close.c \
7 alias.c tools.c key.c extended.c passwd.c sasl.c \
8 referral.c attribute.c operational.c
9 OBJS = idl.lo add.lo search.lo cache.lo dbcache.lo dn2id.lo entry.lo \
10 id2entry.lo index.lo id2children.lo nextid.lo \
11 compare.lo group.lo modify.lo modrdn.lo delete.lo init.lo \
12 config.lo bind.lo attr.lo filterindex.lo close.lo \
13 alias.lo tools.lo key.lo extended.lo passwd.lo sasl.lo \
14 referral.lo attribute.lo operational.lo $(@BUILD_LDBM@_OBJS)
16 LDAP_INCDIR= ../../../include
17 LDAP_LIBDIR= ../../../libraries
19 BUILD_OPT = "--enable-ldbm"
20 BUILD_MOD = @BUILD_LDBM@
21 BUILD_MOD_DYNAMIC = @BUILD_LDBM_DYNAMIC@
26 mod_DEFS = -DSLAPD_IMPORT
27 MOD_DEFS = $(@BUILD_LDBM@_DEFS)
29 shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
30 NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS) $(LDBM_LIBS)
31 UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS) $(LDBM_LIBS)
35 XINCPATH = -I.. -I$(srcdir)/..
36 XDEFS = $(MODULES_CPPFLAGS)
37 XXSRCS = $(@BUILD_LDBM@_SRCS)
39 all-local-lib: ../.backend
41 ../.backend: lib$(LIBBASE).a
44 ldbm.c : $(srcdir)/../../../libraries/libldbm/ldbm.c
45 $(RM) $@; $(LN_S) $(srcdir)/../../../libraries/libldbm/ldbm.c $@
47 depend-common: $(XXSRCS)