2003-11-26 10:58:56 +08:00
|
|
|
# Makefile.in for back-ldap
|
1999-09-09 06:52:19 +08:00
|
|
|
# $OpenLDAP$
|
2003-11-27 14:35:14 +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
|
|
|
|
1999-08-07 00:15:05 +08:00
|
|
|
SRCS = init.c config.c search.c bind.c unbind.c add.c compare.c \
|
2003-03-26 19:52:59 +08:00
|
|
|
delete.c modify.c modrdn.c \
|
2004-03-19 02:59:46 +08:00
|
|
|
suffixmassage.c map.c extended.c
|
1999-08-07 00:15:05 +08:00
|
|
|
OBJS = init.lo config.lo search.lo bind.lo unbind.lo add.lo compare.lo \
|
2003-03-26 19:52:59 +08:00
|
|
|
delete.lo modify.lo modrdn.lo \
|
2004-03-19 02:59:46 +08:00
|
|
|
suffixmassage.lo map.lo extended.lo
|
1999-05-26 10:35:20 +08:00
|
|
|
|
|
|
|
LDAP_INCDIR= ../../../include
|
|
|
|
LDAP_LIBDIR= ../../../libraries
|
|
|
|
|
|
|
|
BUILD_OPT = "--enable-ldap"
|
1999-08-07 19:37:43 +08:00
|
|
|
BUILD_MOD = @BUILD_LDAP@
|
2001-12-07 12:03:25 +08:00
|
|
|
|
|
|
|
mod_DEFS = -DSLAPD_IMPORT
|
|
|
|
MOD_DEFS = $(@BUILD_LDAP@_DEFS)
|
|
|
|
|
2003-12-04 18:50:36 +08:00
|
|
|
mod_REWRITE = $(LDAP_LIBREWRITE_A)
|
|
|
|
|
|
|
|
REWRITE = $(@BUILD_META@_REWRITE) $(@BUILD_LDAP@_REWRITE)
|
2002-06-21 09:34:53 +08:00
|
|
|
shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
|
2003-12-04 18:50:36 +08:00
|
|
|
NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS) $(REWRITE)
|
|
|
|
UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS) $(REWRITE)
|
1999-05-26 10:35:20 +08:00
|
|
|
|
1999-08-07 15:54:45 +08:00
|
|
|
LIBBASE = back_ldap
|
1999-05-26 10:35:20 +08:00
|
|
|
|
|
|
|
XINCPATH = -I.. -I$(srcdir)/..
|
1999-06-25 01:06:34 +08:00
|
|
|
XDEFS = $(MODULES_CPPFLAGS)
|
1999-07-13 12:01:25 +08:00
|
|
|
|
1999-08-09 09:29:27 +08:00
|
|
|
all-local-lib: ../.backend
|
|
|
|
|
|
|
|
../.backend: lib$(LIBBASE).a
|
|
|
|
@touch $@
|
|
|
|
|