1 # Makefile.in for back-bdb
2 # $OpenLDAP: pkg/ldap/servers/slapd/back-bdb/Makefile.in,v 1.34.2.5 2008/02/11 23:26:45 kurt Exp $
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 ## Copyright 1998-2008 The OpenLDAP Foundation.
6 ## All rights reserved.
8 ## Redistribution and use in source and binary forms, with or without
9 ## modification, are permitted only as authorized by the OpenLDAP
12 ## A copy of this license is available in the file LICENSE in the
13 ## top-level directory of the distribution or, alternatively, at
14 ## <http://www.OpenLDAP.org/license.html>.
16 SRCS
= init.c tools.c config.c \
17 add.c bind.c compare.c delete.c modify.c modrdn.c search.c \
18 extended.c referral.c operational.c \
19 attr.c index.c key.c dbcache.c filterindex.c \
20 dn2entry.c dn2id.c error.c id2entry.c idl.c \
21 nextid.c cache.c trans.c monitor.c
23 OBJS
= init.lo tools.lo config.lo \
24 add.lo bind.lo compare.lo delete.lo modify.lo modrdn.lo search.lo \
25 extended.lo referral.lo operational.lo \
26 attr.lo index.lo key.lo dbcache.lo filterindex.lo \
27 dn2entry.lo dn2id.lo error.lo id2entry.lo idl.lo \
28 nextid.lo cache.lo trans.lo monitor.lo
30 LDAP_INCDIR
= ..
/..
/..
/include
31 LDAP_LIBDIR
= ..
/..
/..
/libraries
33 BUILD_OPT
= "--enable-bdb"
34 BUILD_MOD
= @BUILD_BDB@
36 mod_DEFS
= -DSLAPD_IMPORT
37 MOD_DEFS
= $(@BUILD_BDB@_DEFS
)
38 MOD_LIBS
= $(BDB_LIBS
)
40 shared_LDAP_LIBS
= $(LDAP_LIBLDAP_R_LA
) $(LDAP_LIBLBER_LA
)
41 NT_LINK_LIBS
= -L..
-lslapd
$(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS
)
42 UNIX_LINK_LIBS
= $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS
)
46 XINCPATH
= -I..
-I
$(srcdir)/..
47 XDEFS
= $(MODULES_CPPFLAGS
)
49 all-local-lib
: ..
/.backend
51 ..
/.backend
: lib
$(LIBBASE
).a