1 # Makefile.in for back-perl
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>.
13 ## Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
14 ## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
15 ###########################################################################
17 # Copyright 1999, John C. Quillan, All rights reserved.
19 # Redistribution and use in source and binary forms are permitted only
20 # as authorized by the OpenLDAP Public License. A copy of this
21 # license is available at http://www.OpenLDAP.org/license.html or
22 # in file LICENSE in the top-level directory of the distribution.
24 ##########################################################################
26 SRCS = init.c search.c close.c config.c bind.c compare.c \
27 modify.c add.c modrdn.c delete.c
28 OBJS = init.lo search.lo close.lo config.lo bind.lo compare.lo \
29 modify.lo add.lo modrdn.lo delete.lo
31 LDAP_INCDIR= ../../../include
32 LDAP_LIBDIR= ../../../libraries
34 BUILD_OPT = "--enable-perl"
35 BUILD_MOD = @BUILD_PERL@
36 BUILD_MOD_DYNAMIC = @BUILD_PERL_DYNAMIC@
37 PERL_CPPFLAGS = @PERL_CPPFLAGS@
39 mod_DEFS = -DSLAPD_IMPORT
40 MOD_DEFS = $(@BUILD_PERL@_DEFS)
42 shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
43 NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
44 UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
48 XINCPATH = -I.. -I$(srcdir)/..
49 XDEFS = $(PERL_CPPFLAGS) $(MODULES_CPPFLAGS)
51 all-local-lib: ../.backend
53 ../.backend: lib$(LIBBASE).a