2 ## Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
3 ## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
5 SRCS = init.c tools.c config.c \
6 add.c bind.c compare.c delete.c modify.c modrdn.c search.c \
7 extended.c passwd.c referral.c operational.c \
8 attr.c index.c key.c dbcache.c filterindex.c \
9 dn2entry.c dn2id.c error.c id2entry.c idl.c nextid.c cache.c
10 OBJS = init.lo tools.lo config.lo \
11 add.lo bind.lo compare.lo delete.lo modify.lo modrdn.lo search.lo \
12 extended.lo passwd.lo referral.lo operational.lo \
13 attr.lo index.lo key.lo dbcache.lo filterindex.lo \
14 dn2entry.lo dn2id.lo error.lo id2entry.lo idl.lo nextid.lo cache.lo
16 LDAP_INCDIR= ../../../include
17 LDAP_LIBDIR= ../../../libraries
19 BUILD_OPT = "--enable-bdb"
20 BUILD_MOD = @BUILD_BDB@
21 BUILD_MOD_DYNAMIC = @BUILD_BDB_DYNAMIC@
23 mod_DEFS = -DSLAPD_IMPORT
24 MOD_DEFS = $(@BUILD_BDB@_DEFS)
26 shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
27 NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
28 UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
32 XINCPATH = -I.. -I$(srcdir)/..
33 XDEFS = $(MODULES_CPPFLAGS)
35 all-local-lib: ../.backend
37 ../.backend: lib$(LIBBASE).a