1 # Makefile.in for back-ldap
3 ## Copyright 1998-2003 The OpenLDAP Foundation.
4 ## All rights reserved.
6 ## Redistribution and use in source and binary forms, with or without
7 ## modification, are permitted only as authorized by the OpenLDAP
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>.
14 SRCS = init.c config.c search.c bind.c unbind.c add.c compare.c \
15 delete.c modify.c modrdn.c \
16 suffixmassage.c map.c extended.c chain.c
17 OBJS = init.lo config.lo search.lo bind.lo unbind.lo add.lo compare.lo \
18 delete.lo modify.lo modrdn.lo \
19 suffixmassage.lo map.lo extended.lo chain.lo
21 LDAP_INCDIR= ../../../include
22 LDAP_LIBDIR= ../../../libraries
24 BUILD_OPT = "--enable-ldap"
25 BUILD_MOD = @BUILD_LDAP@
26 BUILD_MOD_DYNAMIC = @BUILD_LDAP_DYNAMIC@
28 mod_DEFS = -DSLAPD_IMPORT
29 MOD_DEFS = $(@BUILD_LDAP@_DEFS)
31 shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
32 NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
33 UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
37 XINCPATH = -I.. -I$(srcdir)/..
38 XDEFS = $(MODULES_CPPFLAGS)
40 all-local-lib: ../.backend
42 ../.backend: lib$(LIBBASE).a