]> git.sur5r.net Git - openldap/blob - servers/slapd/back-perl/Makefile.in
779c52a2d52e60826b59d9da4b08ae0e2ff1ab85
[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-2003 The OpenLDAP Foundation.
6 ## All rights reserved.
7 ##
8 ## Redistribution and use in source and binary forms, with or without
9 ## modification, are permitted only as authorized by the OpenLDAP
10 ## Public License.
11 ##
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 ########################################################################### 
18
19 #    Copyright 1999, John C. Quillan, All rights reserved.
20
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.
25
26 ##########################################################################
27
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
32
33 LDAP_INCDIR= ../../../include       
34 LDAP_LIBDIR= ../../../libraries
35
36 BUILD_OPT = "--enable-perl"
37 BUILD_MOD = @BUILD_PERL@
38 BUILD_MOD_DYNAMIC = @BUILD_PERL_DYNAMIC@
39 PERL_CPPFLAGS = @PERL_CPPFLAGS@
40
41 mod_DEFS = -DSLAPD_IMPORT
42 MOD_DEFS = $(@BUILD_PERL@_DEFS)
43
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)
47
48 LIBBASE = back_perl
49
50 XINCPATH = -I.. -I$(srcdir)/..
51 XDEFS = $(PERL_CPPFLAGS) $(MODULES_CPPFLAGS)
52
53 all-local-lib:  ../.backend
54
55 ../.backend: lib$(LIBBASE).a
56         @touch $@
57