1999-09-09 06:52:19 +08:00
|
|
|
# $OpenLDAP$
|
2003-05-25 11:56:57 +08:00
|
|
|
## Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
|
|
|
## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
1999-09-09 06:52:19 +08:00
|
|
|
|
2001-12-07 12:03:25 +08:00
|
|
|
SRCS = idl.c add.c search.c cache.c dbcache.c dn2id.c entry.c \
|
2002-01-01 20:23:02 +08:00
|
|
|
id2entry.c index.c id2children.c nextid.c \
|
2003-03-26 19:52:59 +08:00
|
|
|
compare.c modify.c modrdn.c delete.c init.c \
|
2002-01-02 12:32:34 +08:00
|
|
|
config.c bind.c attr.c filterindex.c close.c \
|
2003-03-30 12:01:31 +08:00
|
|
|
alias.c tools.c key.c extended.c passwd.c \
|
2003-03-26 19:52:59 +08:00
|
|
|
referral.c operational.c
|
2001-12-07 12:03:25 +08:00
|
|
|
OBJS = idl.lo add.lo search.lo cache.lo dbcache.lo dn2id.lo entry.lo \
|
2002-01-01 20:23:02 +08:00
|
|
|
id2entry.lo index.lo id2children.lo nextid.lo \
|
2003-03-26 19:52:59 +08:00
|
|
|
compare.lo modify.lo modrdn.lo delete.lo init.lo \
|
2002-01-02 12:32:34 +08:00
|
|
|
config.lo bind.lo attr.lo filterindex.lo close.lo \
|
2003-03-30 12:01:31 +08:00
|
|
|
alias.lo tools.lo key.lo extended.lo passwd.lo \
|
2003-03-26 19:52:59 +08:00
|
|
|
referral.lo operational.lo $(@BUILD_LDBM@_OBJS)
|
1998-10-25 09:41:42 +08:00
|
|
|
|
|
|
|
LDAP_INCDIR= ../../../include
|
|
|
|
LDAP_LIBDIR= ../../../libraries
|
|
|
|
|
|
|
|
BUILD_OPT = "--enable-ldbm"
|
1999-08-07 19:37:43 +08:00
|
|
|
BUILD_MOD = @BUILD_LDBM@
|
2001-12-07 12:03:25 +08:00
|
|
|
BUILD_MOD_DYNAMIC = @BUILD_LDBM_DYNAMIC@
|
1999-08-07 19:37:43 +08:00
|
|
|
|
2002-08-28 10:50:30 +08:00
|
|
|
mod_SRCS = ldbm.c
|
|
|
|
mod_OBJS = ldbm.lo
|
|
|
|
|
2001-12-07 12:03:25 +08:00
|
|
|
mod_DEFS = -DSLAPD_IMPORT
|
|
|
|
MOD_DEFS = $(@BUILD_LDBM@_DEFS)
|
1999-10-28 15:20:07 +08:00
|
|
|
|
2002-06-21 09:34:53 +08:00
|
|
|
shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
|
2002-08-28 10:50:30 +08:00
|
|
|
NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS) $(LDBM_LIBS)
|
|
|
|
UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS) $(LDBM_LIBS)
|
1999-10-28 15:20:07 +08:00
|
|
|
|
1999-08-07 19:37:43 +08:00
|
|
|
LIBBASE = back_ldbm
|
1998-10-25 09:41:42 +08:00
|
|
|
|
|
|
|
XINCPATH = -I.. -I$(srcdir)/..
|
1999-06-25 01:06:34 +08:00
|
|
|
XDEFS = $(MODULES_CPPFLAGS)
|
2002-08-28 10:50:30 +08:00
|
|
|
XXSRCS = $(@BUILD_LDBM@_SRCS)
|
1998-10-25 09:41:42 +08:00
|
|
|
|
1999-08-09 09:29:27 +08:00
|
|
|
all-local-lib: ../.backend
|
|
|
|
|
|
|
|
../.backend: lib$(LIBBASE).a
|
|
|
|
@touch $@
|
|
|
|
|
2002-08-28 10:50:30 +08:00
|
|
|
ldbm.c : $(srcdir)/../../../libraries/libldbm/ldbm.c
|
|
|
|
$(RM) $@; $(LN_S) $(srcdir)/../../../libraries/libldbm/ldbm.c $@
|
|
|
|
|
|
|
|
depend-common: $(XXSRCS)
|