~ttx/openldap/lucid-gssapi-495418

« back to all changes in this revision

Viewing changes to servers/slapd/back-hdb/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Mathias Gug
  • Date: 2008-07-10 14:45:49 UTC
  • Revision ID: james.westby@ubuntu.com-20080710144549-wck73med0e72gfyo
Tags: upstream-2.4.10
ImportĀ upstreamĀ versionĀ 2.4.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Makefile for back-hdb
 
2
# $OpenLDAP: pkg/ldap/servers/slapd/back-hdb/Makefile.in,v 1.14.2.6 2008/02/11 23:26:46 kurt Exp $
 
3
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
 
4
##
 
5
## Copyright 1998-2008 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
## Copyright 2003 Howard Chu @ Symas Corp. See master COPYRIGHT file for terms.
 
17
 
 
18
XXDIR = $(srcdir)/../back-bdb
 
19
 
 
20
XXSRCS = init.c tools.c config.c \
 
21
        add.c bind.c compare.c delete.c modify.c modrdn.c search.c \
 
22
        extended.c referral.c operational.c \
 
23
        attr.c index.c key.c dbcache.c filterindex.c trans.c \
 
24
        dn2entry.c dn2id.c error.c id2entry.c idl.c nextid.c cache.c \
 
25
        monitor.c
 
26
SRCS = $(XXSRCS)
 
27
OBJS = init.lo tools.lo config.lo \
 
28
        add.lo bind.lo compare.lo delete.lo modify.lo modrdn.lo search.lo \
 
29
        extended.lo referral.lo operational.lo \
 
30
        attr.lo index.lo key.lo dbcache.lo filterindex.lo trans.lo \
 
31
        dn2entry.lo dn2id.lo error.lo id2entry.lo idl.lo nextid.lo cache.lo \
 
32
        monitor.lo
 
33
 
 
34
LDAP_INCDIR= ../../../include       
 
35
LDAP_LIBDIR= ../../../libraries
 
36
 
 
37
BUILD_OPT = "--enable-hdb"
 
38
BUILD_MOD = @BUILD_HDB@
 
39
 
 
40
mod_DEFS = -DSLAPD_IMPORT
 
41
MOD_DEFS = $(@BUILD_HDB@_DEFS)
 
42
MOD_LIBS = $(BDB_LIBS)
 
43
 
 
44
shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
 
45
NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
 
46
UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
 
47
 
 
48
.links : Makefile
 
49
        @for i in $(XXSRCS); do \
 
50
                $(RM) $$i; \
 
51
                $(LN_S) $(XXDIR)/$$i . ; \
 
52
        done
 
53
        touch .links
 
54
 
 
55
$(XXSRCS) : .links
 
56
 
 
57
LIBBASE = back_hdb
 
58
 
 
59
XINCPATH = -I.. -I$(srcdir)/.. -I$(srcdir) -I$(XXDIR)
 
60
XDEFS = $(MODULES_CPPFLAGS)
 
61
 
 
62
depend-local-lib: .links
 
63
 
 
64
all-local-lib:  ../.backend
 
65
 
 
66
../.backend: lib$(LIBBASE).a
 
67
        @touch $@
 
68
 
 
69
veryclean-local: FORCE
 
70
        $(RM) $(XXSRCS) .links