]> git.sur5r.net Git - openldap/blob - servers/slapd/back-ldbm/Makefile.in
Happy new year
[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 BUILD_MOD_DYNAMIC = @BUILD_LDBM_DYNAMIC@
35
36 mod_DEFS = -DSLAPD_IMPORT
37 MOD_DEFS = $(@BUILD_LDBM@_DEFS)
38
39 shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
40 NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
41 UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
42
43 LIBBASE = back_ldbm
44
45 XINCPATH = -I.. -I$(srcdir)/..
46 XDEFS = $(MODULES_CPPFLAGS)
47 XXSRCS = $(@BUILD_LDBM@_SRCS)
48
49 all-local-lib:  ../.backend
50
51 ../.backend: lib$(LIBBASE).a
52         @touch $@
53
54 depend-common: $(XXSRCS)