]> git.sur5r.net Git - openldap/blob - servers/slapd/back-ldbm/Makefile.in
Notice/Acknowledge updates
[openldap] / servers / slapd / back-ldbm / Makefile.in
1 # Makefile.in for back-ldbm
2 # $OpenLDAP$
3 ## Copyright 1998-2003 The OpenLDAP Foundation.
4 ## All rights reserved.
5 ##
6 ## Redistribution and use in source and binary forms, with or without
7 ## modification, are permitted only as authorized by the OpenLDAP
8 ## Public License.
9 ##
10 ## A copy of this license is available in the file LICENSE in the
11 ## top-level directory of the distribution or, alternatively, at
12 ## <http://www.OpenLDAP.org/license.html>.
13
14 SRCS = idl.c add.c search.c cache.c dbcache.c dn2id.c entry.c \
15                 id2entry.c index.c id2children.c nextid.c \
16                 compare.c modify.c modrdn.c delete.c init.c \
17                 config.c bind.c attr.c filterindex.c close.c \
18                 alias.c tools.c key.c extended.c passwd.c \
19                 referral.c operational.c
20 OBJS = idl.lo add.lo search.lo cache.lo dbcache.lo dn2id.lo entry.lo \
21                 id2entry.lo index.lo id2children.lo nextid.lo \
22                 compare.lo modify.lo modrdn.lo delete.lo init.lo \
23                 config.lo bind.lo attr.lo filterindex.lo close.lo \
24                 alias.lo tools.lo key.lo extended.lo passwd.lo \
25                 referral.lo operational.lo $(@BUILD_LDBM@_OBJS)
26
27 LDAP_INCDIR= ../../../include       
28 LDAP_LIBDIR= ../../../libraries
29
30 BUILD_OPT = "--enable-ldbm"
31 BUILD_MOD = @BUILD_LDBM@
32 BUILD_MOD_DYNAMIC = @BUILD_LDBM_DYNAMIC@
33
34 mod_SRCS = ldbm.c
35 mod_OBJS = ldbm.lo
36
37 mod_DEFS = -DSLAPD_IMPORT
38 MOD_DEFS = $(@BUILD_LDBM@_DEFS)
39
40 shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
41 NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS) $(LDBM_LIBS)
42 UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS) $(LDBM_LIBS)
43
44 LIBBASE = back_ldbm
45
46 XINCPATH = -I.. -I$(srcdir)/..
47 XDEFS = $(MODULES_CPPFLAGS)
48 XXSRCS = $(@BUILD_LDBM@_SRCS)
49
50 all-local-lib:  ../.backend
51
52 ../.backend: lib$(LIBBASE).a
53         @touch $@
54
55 ldbm.c : $(srcdir)/../../../libraries/libldbm/ldbm.c
56         $(RM) $@; $(LN_S) $(srcdir)/../../../libraries/libldbm/ldbm.c $@
57
58 depend-common: $(XXSRCS)