2003-11-26 10:58:56 +08:00
|
|
|
# Makefile.in for back-ldbm
|
1999-09-09 06:52:19 +08:00
|
|
|
# $OpenLDAP$
|
2003-11-29 05:08:20 +08:00
|
|
|
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
|
|
|
##
|
2004-01-02 03:15:16 +08:00
|
|
|
## Copyright 1998-2004 The OpenLDAP Foundation.
|
2003-11-26 10:58:56 +08:00
|
|
|
## 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>.
|
1999-09-09 06:52:19 +08:00
|
|
|
|
2001-12-07 12:03:25 +08:00
|
|
|
SRCS = idl.c add.c search.c cache.c dbcache.c dn2id.c entry.c \
|
2002-01-01 20:23:02 +08:00
|
|
|
id2entry.c index.c id2children.c nextid.c \
|
2003-03-26 19:52:59 +08:00
|
|
|
compare.c modify.c modrdn.c delete.c init.c \
|
2002-01-02 12:32:34 +08:00
|
|
|
config.c bind.c attr.c filterindex.c close.c \
|
2003-12-01 20:55:05 +08:00
|
|
|
alias.c tools.c key.c extended.c \
|
2003-12-05 06:38:54 +08:00
|
|
|
referral.c operational.c ldbm.c
|
2001-12-07 12:03:25 +08:00
|
|
|
OBJS = idl.lo add.lo search.lo cache.lo dbcache.lo dn2id.lo entry.lo \
|
2002-01-01 20:23:02 +08:00
|
|
|
id2entry.lo index.lo id2children.lo nextid.lo \
|
2003-03-26 19:52:59 +08:00
|
|
|
compare.lo modify.lo modrdn.lo delete.lo init.lo \
|
2002-01-02 12:32:34 +08:00
|
|
|
config.lo bind.lo attr.lo filterindex.lo close.lo \
|
2003-12-01 20:55:05 +08:00
|
|
|
alias.lo tools.lo key.lo extended.lo \
|
2003-12-05 06:38:54 +08:00
|
|
|
referral.lo operational.lo ldbm.lo
|
1998-10-25 09:41:42 +08:00
|
|
|
|
|
|
|
LDAP_INCDIR= ../../../include
|
|
|
|
LDAP_LIBDIR= ../../../libraries
|
|
|
|
|
|
|
|
BUILD_OPT = "--enable-ldbm"
|
1999-08-07 19:37:43 +08:00
|
|
|
BUILD_MOD = @BUILD_LDBM@
|
|
|
|
|
2001-12-07 12:03:25 +08:00
|
|
|
mod_DEFS = -DSLAPD_IMPORT
|
|
|
|
MOD_DEFS = $(@BUILD_LDBM@_DEFS)
|
1999-10-28 15:20:07 +08:00
|
|
|
|
2002-06-21 09:34:53 +08:00
|
|
|
shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
|
2003-12-05 06:38:54 +08:00
|
|
|
NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
|
|
|
|
UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
|
1999-10-28 15:20:07 +08:00
|
|
|
|
1999-08-07 19:37:43 +08:00
|
|
|
LIBBASE = back_ldbm
|
1998-10-25 09:41:42 +08:00
|
|
|
|
|
|
|
XINCPATH = -I.. -I$(srcdir)/..
|
1999-06-25 01:06:34 +08:00
|
|
|
XDEFS = $(MODULES_CPPFLAGS)
|
2002-08-28 10:50:30 +08:00
|
|
|
XXSRCS = $(@BUILD_LDBM@_SRCS)
|
1998-10-25 09:41:42 +08:00
|
|
|
|
1999-08-09 09:29:27 +08:00
|
|
|
all-local-lib: ../.backend
|
|
|
|
|
|
|
|
../.backend: lib$(LIBBASE).a
|
|
|
|
@touch $@
|
|
|
|
|
2002-08-28 10:50:30 +08:00
|
|
|
depend-common: $(XXSRCS)
|