2 ## Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
3 ## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
4 ###########################################################################
6 # Copyright 1999, John C. Quillan, All rights reserved.
8 # Redistribution and use in source and binary forms are permitted only
9 # as authorized by the OpenLDAP Public License. A copy of this
10 # license is available at http://www.OpenLDAP.org/license.html or
11 # in file LICENSE in the top-level directory of the distribution.
13 ##########################################################################
15 SRCS = init.c search.c close.c config.c bind.c compare.c \
16 modify.c add.c modrdn.c delete.c
17 OBJS = init.lo search.lo close.lo config.lo bind.lo compare.lo \
18 modify.lo add.lo modrdn.lo delete.lo
20 LDAP_INCDIR= ../../../include
21 LDAP_LIBDIR= ../../../libraries
23 BUILD_OPT = "--enable-perl"
24 BUILD_MOD = @BUILD_PERL@
25 BUILD_MOD_DYNAMIC = @BUILD_PERL_DYNAMIC@
26 PERL_CPPFLAGS = @PERL_CPPFLAGS@
28 mod_DEFS = -DSLAPD_IMPORT
29 MOD_DEFS = $(@BUILD_PERL@_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 = $(PERL_CPPFLAGS) $(MODULES_CPPFLAGS)
40 all-local-lib: ../.backend
42 ../.backend: lib$(LIBBASE).a