]> git.sur5r.net Git - openldap/blob - servers/slapd/back-perl/Makefile.in
33e9844f1b075fd1c1d408c2047a4f71cfc44b3f
[openldap] / servers / slapd / back-perl / Makefile.in
1 # Makefile.in for back-perl
2 # $OpenLDAP$
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 ##
5 ## Copyright 1998-2017 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
17 SRCS    = init.c search.c close.c config.c bind.c compare.c \
18                 modify.c add.c modrdn.c delete.c
19 OBJS    = init.lo search.lo close.lo config.lo bind.lo compare.lo \
20                 modify.lo add.lo modrdn.lo delete.lo
21
22 LDAP_INCDIR= ../../../include       
23 LDAP_LIBDIR= ../../../libraries
24
25 BUILD_OPT = "--enable-perl"
26 BUILD_MOD = @BUILD_PERL@
27 PERL_CPPFLAGS = @PERL_CPPFLAGS@
28
29 mod_DEFS = -DSLAPD_IMPORT
30 MOD_DEFS = $(@BUILD_PERL@_DEFS)
31 MOD_LIBS = @MOD_PERL_LDFLAGS@
32
33 shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
34 NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
35 UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
36
37 LIBBASE = back_perl
38
39 XINCPATH = -I.. -I$(srcdir)/..
40 XDEFS = $(PERL_CPPFLAGS) $(MODULES_CPPFLAGS)
41
42 all-local-lib:  ../.backend
43
44 ../.backend: lib$(LIBBASE).a
45         @touch $@
46