]> git.sur5r.net Git - openldap/blob - servers/slapd/back-tcl/Makefile.in
97bb5c0c7878c05818215f88a3c0ff9efd3fd4c8
[openldap] / servers / slapd / back-tcl / Makefile.in
1 # Makefile.in for back-tcl
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 ########################################################################### 
16
17 # Copyright 1999, Ben Collins <bcollins@debian.org>, All rights reserved.
18
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.
23
24 ##########################################################################
25
26 SRCS    = tcl_init.c tcl_search.c tcl_close.c tcl_config.c tcl_bind.c \
27         tcl_unbind.c tcl_compare.c tcl_modify.c tcl_add.c tcl_modrdn.c \
28         tcl_delete.c tcl_abandon.c tcl_util.c
29 OBJS    = tcl_init.lo tcl_search.lo tcl_close.lo tcl_config.lo tcl_bind.lo \
30         tcl_unbind.lo tcl_compare.lo tcl_modify.lo tcl_add.lo tcl_modrdn.lo \
31         tcl_delete.lo tcl_abandon.lo tcl_util.lo
32
33 LDAP_INCDIR= ../../../include       
34 LDAP_LIBDIR= ../../../libraries
35
36 BUILD_OPT = "--enable-tcl"
37 BUILD_MOD = @BUILD_TCL@
38 BUILD_MOD_DYNAMIC = @BUILD_TCL_DYNAMIC@
39
40 mod_DEFS = -DSLAPD_IMPORT
41 MOD_DEFS = $(@BUILD_TCL@_DEFS)
42
43 shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
44 NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
45 UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
46
47 LIBBASE = back_tcl
48
49 XDEFS = $(MODULES_CPPFLAGS)
50 XINCPATH = -I.. -I$(srcdir)/..
51
52 all-local-lib:  ../.backend
53
54 ../.backend: lib$(LIBBASE).a
55         @touch $@
56