1 # Makefile.in for back-tcl
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 ## Copyright 1998-2003 The OpenLDAP Foundation.
6 ## All rights reserved.
8 ## Redistribution and use in source and binary forms, with or without
9 ## modification, are permitted only as authorized by the OpenLDAP
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 ###########################################################################
17 # Copyright 1999, Ben Collins <bcollins@debian.org>, 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 = 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
33 LDAP_INCDIR= ../../../include
34 LDAP_LIBDIR= ../../../libraries
36 BUILD_OPT = "--enable-tcl"
37 BUILD_MOD = @BUILD_TCL@
38 BUILD_MOD_DYNAMIC = @BUILD_TCL_DYNAMIC@
40 mod_DEFS = -DSLAPD_IMPORT
41 MOD_DEFS = $(@BUILD_TCL@_DEFS)
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)
49 XDEFS = $(MODULES_CPPFLAGS)
50 XINCPATH = -I.. -I$(srcdir)/..
52 all-local-lib: ../.backend
54 ../.backend: lib$(LIBBASE).a