mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-29 18:09:26 -05:00
back-mdb/Makefile.in += variable MDB_SUBDIR.
For compiling against a checkout of the stand-alone libmdb,
which has a branch 'mdb.master' with its own root:
git clone --branch=mdb.master <openldap_repo_dir> mdb
set_mdb="MDB_SUBDIR=`pwd`/mdb/libraries/libmdb"
... maybe modify mdb repository for testing ...
cd <openldap_repo_dir>; make $set_mdb
This commit is contained in:
parent
a4d0cde2d3
commit
a316851494
1 changed files with 4 additions and 3 deletions
|
|
@ -29,6 +29,7 @@ OBJS = init.lo tools.lo config.lo \
|
|||
|
||||
LDAP_INCDIR= ../../../include
|
||||
LDAP_LIBDIR= ../../../libraries
|
||||
MDB_SUBDIR = $(srcdir)/$(LDAP_LIBDIR)/libmdb
|
||||
|
||||
BUILD_OPT = "--enable-mdb"
|
||||
BUILD_MOD = @BUILD_MDB@
|
||||
|
|
@ -43,7 +44,7 @@ UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
|
|||
|
||||
LIBBASE = back_mdb
|
||||
|
||||
XINCPATH = -I.. -I$(srcdir)/.. -I$(srcdir)/$(LDAP_LIBDIR)/libmdb
|
||||
XINCPATH = -I.. -I$(srcdir)/.. -I$(MDB_SUBDIR)
|
||||
XDEFS = $(MODULES_CPPFLAGS)
|
||||
|
||||
all-local-lib: ../.backend
|
||||
|
|
@ -51,10 +52,10 @@ all-local-lib: ../.backend
|
|||
../.backend: lib$(LIBBASE).a
|
||||
@touch $@
|
||||
|
||||
mdb.lo: $(srcdir)/$(LDAP_LIBDIR)/libmdb/mdb.c
|
||||
mdb.lo: $(MDB_SUBDIR)/mdb.c
|
||||
$(LTCOMPILE_MOD) $<
|
||||
|
||||
midl.lo: $(srcdir)/$(LDAP_LIBDIR)/libmdb/midl.c
|
||||
midl.lo: $(MDB_SUBDIR)/midl.c
|
||||
$(LTCOMPILE_MOD) $<
|
||||
|
||||
veryclean-local-lib: FORCE
|
||||
|
|
|
|||
Loading…
Reference in a new issue