2 ###########################################################################
4 # Copyright 1999, John C. Quillan, All rights reserved.
6 # Redistribution and use in source and binary forms are permitted only
7 # as authorized by the OpenLDAP Public License. A copy of this
8 # license is available at http://www.OpenLDAP.org/license.html or
9 # in file LICENSE in the top-level directory of the distribution.
11 ##########################################################################
13 SRCS = init.c search.c close.c config.c bind.c compare.c \
14 modify.c add.c modrdn.c delete.c
15 OBJS = init.lo search.lo close.lo config.lo bind.lo compare.lo \
16 modify.lo add.lo modrdn.lo delete.lo
18 LDAP_INCDIR= ../../../include
19 LDAP_LIBDIR= ../../../libraries
21 BUILD_OPT = "--enable-perl"
22 BUILD_MOD = @BUILD_PERL@
23 BUILD_MOD_DYNAMIC = @BUILD_PERL_DYNAMIC@
24 PERL_CPPFLAGS = @PERL_CPPFLAGS@
26 mod_DEFS = -DSLAPD_IMPORT
27 MOD_DEFS = $(@BUILD_PERL@_DEFS)
29 shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
30 NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
31 UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
35 XINCPATH = -I.. -I$(srcdir)/..
36 XDEFS = $(PERL_CPPFLAGS) $(MODULES_CPPFLAGS)
38 all-local-lib: ../.backend
40 ../.backend: lib$(LIBBASE).a