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