3 SRCS = init.c tools.c config.c \
4 add.c bind.c compare.c delete.c modify.c modrdn.c search.c \
5 extended.c passwd.c referral.c operational.c \
6 attr.c index.c key.c dbcache.c filterindex.c \
7 dn2entry.c dn2id.c error.c id2entry.c idl.c nextid.c cache.c
8 OBJS = init.lo tools.lo config.lo \
9 add.lo bind.lo compare.lo delete.lo modify.lo modrdn.lo search.lo \
10 extended.lo passwd.lo referral.lo operational.lo \
11 attr.lo index.lo key.lo dbcache.lo filterindex.lo \
12 dn2entry.lo dn2id.lo error.lo id2entry.lo idl.lo nextid.lo cache.lo
14 LDAP_INCDIR= ../../../include
15 LDAP_LIBDIR= ../../../libraries
17 BUILD_OPT = "--enable-bdb"
18 BUILD_MOD = @BUILD_BDB@
19 BUILD_MOD_DYNAMIC = @BUILD_BDB_DYNAMIC@
21 mod_DEFS = -DSLAPD_IMPORT
22 MOD_DEFS = $(@BUILD_BDB@_DEFS)
24 shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
25 NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
26 UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
30 XINCPATH = -I.. -I$(srcdir)/..
31 XDEFS = $(MODULES_CPPFLAGS)
33 all-local-lib: ../.backend
35 ../.backend: lib$(LIBBASE).a