1 # Makefile.in for back-perl
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 ## Copyright 1998-2003 The OpenLDAP Foundation.
6 ## All rights reserved.
8 ## Redistribution and use in source and binary forms, with or without
9 ## modification, are permitted only as authorized by the OpenLDAP
12 ## A copy of this license is available in the file LICENSE in the
13 ## top-level directory of the distribution or, alternatively, at
14 ## <http://www.OpenLDAP.org/license.html>.
15 ## Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
16 ## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
17 ###########################################################################
19 # Copyright 1999, John C. Quillan, All rights reserved.
21 # Redistribution and use in source and binary forms are permitted only
22 # as authorized by the OpenLDAP Public License. A copy of this
23 # license is available at http://www.OpenLDAP.org/license.html or
24 # in file LICENSE in the top-level directory of the distribution.
26 ##########################################################################
28 SRCS = init.c search.c close.c config.c bind.c compare.c \
29 modify.c add.c modrdn.c delete.c
30 OBJS = init.lo search.lo close.lo config.lo bind.lo compare.lo \
31 modify.lo add.lo modrdn.lo delete.lo
33 LDAP_INCDIR= ../../../include
34 LDAP_LIBDIR= ../../../libraries
36 BUILD_OPT = "--enable-perl"
37 BUILD_MOD = @BUILD_PERL@
38 BUILD_MOD_DYNAMIC = @BUILD_PERL_DYNAMIC@
39 PERL_CPPFLAGS = @PERL_CPPFLAGS@
41 mod_DEFS = -DSLAPD_IMPORT
42 MOD_DEFS = $(@BUILD_PERL@_DEFS)
44 shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
45 NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
46 UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
50 XINCPATH = -I.. -I$(srcdir)/..
51 XDEFS = $(PERL_CPPFLAGS) $(MODULES_CPPFLAGS)
53 all-local-lib: ../.backend
55 ../.backend: lib$(LIBBASE).a