Makefile.in 1.56 KB
Newer Older
Kurt Zeilenga's avatar
Kurt Zeilenga committed
1
# Makefile.in for back-bdb
2
# $OpenLDAP$
Kurt Zeilenga's avatar
Notices    
Kurt Zeilenga committed
3
4
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
##
Kurt Zeilenga's avatar
Kurt Zeilenga committed
5
## Copyright 1998-2005 The OpenLDAP Foundation.
Kurt Zeilenga's avatar
Kurt Zeilenga committed
6
7
8
9
10
11
12
13
14
## All rights reserved.
##
## Redistribution and use in source and binary forms, with or without
## modification, are permitted only as authorized by the OpenLDAP
## Public License.
##
## A copy of this license is available in the file LICENSE in the
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
15

Kurt Zeilenga's avatar
Kurt Zeilenga committed
16
SRCS = init.c tools.c config.c \
17
	add.c bind.c compare.c delete.c modify.c modrdn.c search.c \
Howard Chu's avatar
Howard Chu committed
18
	extended.c referral.c operational.c \
19
	attr.c index.c key.c dbcache.c filterindex.c \
Kurt Zeilenga's avatar
Kurt Zeilenga committed
20
	dn2entry.c dn2id.c error.c id2entry.c idl.c \
Howard Chu's avatar
Howard Chu committed
21
	nextid.c cache.c trans.c alock.c
Kurt Zeilenga's avatar
Kurt Zeilenga committed
22

Kurt Zeilenga's avatar
Kurt Zeilenga committed
23
OBJS = init.lo tools.lo config.lo \
24
	add.lo bind.lo compare.lo delete.lo modify.lo modrdn.lo search.lo \
Howard Chu's avatar
Howard Chu committed
25
	extended.lo referral.lo operational.lo \
26
	attr.lo index.lo key.lo dbcache.lo filterindex.lo \
Kurt Zeilenga's avatar
Kurt Zeilenga committed
27
	dn2entry.lo dn2id.lo error.lo id2entry.lo idl.lo \
Howard Chu's avatar
Howard Chu committed
28
	nextid.lo cache.lo trans.lo alock.lo
29
30
31
32
33
34
35

LDAP_INCDIR= ../../../include       
LDAP_LIBDIR= ../../../libraries

BUILD_OPT = "--enable-bdb"
BUILD_MOD = @BUILD_BDB@

Howard Chu's avatar
Howard Chu committed
36
37
mod_DEFS = -DSLAPD_IMPORT
MOD_DEFS = $(@BUILD_BDB@_DEFS)
Howard Chu's avatar
Howard Chu committed
38
MOD_LIBS = $(LDBM_LIBS)
39

Howard Chu's avatar
Howard Chu committed
40
shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
Howard Chu's avatar
Howard Chu committed
41
NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
Howard Chu's avatar
Howard Chu committed
42
UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
43
44
45
46
47
48
49
50
51
52
53

LIBBASE = back_bdb

XINCPATH = -I.. -I$(srcdir)/..
XDEFS = $(MODULES_CPPFLAGS)

all-local-lib:	../.backend

../.backend: lib$(LIBBASE).a
	@touch $@