]> git.sur5r.net Git - openldap/blob - servers/slapd/back-ldbm/Makefile.in
14057f42b6e49cb7f545169143e36b349c414eaf
[openldap] / servers / slapd / back-ldbm / Makefile.in
1 # Makefile.in for back-ldbm
2 # $OpenLDAP$
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 ##
5 ## Copyright 1998-2004 The OpenLDAP Foundation.
6 ## All rights reserved.
7 ##
8 ## Redistribution and use in source and binary forms, with or without
9 ## modification, are permitted only as authorized by the OpenLDAP
10 ## Public License.
11 ##
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>.
15
16 SRCS = idl.c add.c search.c cache.c dbcache.c dn2id.c entry.c \
17                 id2entry.c index.c id2children.c nextid.c \
18                 compare.c modify.c modrdn.c delete.c init.c \
19                 config.c bind.c attr.c filterindex.c close.c \
20                 alias.c tools.c key.c extended.c \
21                 referral.c operational.c ldbm.c
22 OBJS = idl.lo add.lo search.lo cache.lo dbcache.lo dn2id.lo entry.lo \
23                 id2entry.lo index.lo id2children.lo nextid.lo \
24                 compare.lo modify.lo modrdn.lo delete.lo init.lo \
25                 config.lo bind.lo attr.lo filterindex.lo close.lo \
26                 alias.lo tools.lo key.lo extended.lo \
27                 referral.lo operational.lo ldbm.lo
28
29 LDAP_INCDIR= ../../../include       
30 LDAP_LIBDIR= ../../../libraries
31
32 BUILD_OPT = "--enable-ldbm"
33 BUILD_MOD = @BUILD_LDBM@
34
35 mod_DEFS = -DSLAPD_IMPORT
36 MOD_DEFS = $(@BUILD_LDBM@_DEFS)
37
38 shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
39 NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
40 UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
41
42 LIBBASE = back_ldbm
43
44 XINCPATH = -I.. -I$(srcdir)/..
45 XDEFS = $(MODULES_CPPFLAGS)
46 XXSRCS = $(@BUILD_LDBM@_SRCS)
47
48 all-local-lib:  ../.backend
49
50 ../.backend: lib$(LIBBASE).a
51         @touch $@
52
53 depend-common: $(XXSRCS)