1 # Makefile.in for back-tcl
3 ## Copyright 1998-2003 The OpenLDAP Foundation.
4 ## All rights reserved.
6 ## Redistribution and use in source and binary forms, with or without
7 ## modification, are permitted only as authorized by the OpenLDAP
10 ## A copy of this license is available in the file LICENSE in the
11 ## top-level directory of the distribution or, alternatively, at
12 ## <http://www.OpenLDAP.org/license.html>.
13 ###########################################################################
15 # Copyright 1999, Ben Collins <bcollins@debian.org>, All rights reserved.
17 # Redistribution and use in source and binary forms are permitted only
18 # as authorized by the OpenLDAP Public License. A copy of this
19 # license is available at http://www.OpenLDAP.org/license.html or
20 # in file LICENSE in the top-level directory of the distribution.
22 ##########################################################################
24 SRCS = tcl_init.c tcl_search.c tcl_close.c tcl_config.c tcl_bind.c \
25 tcl_unbind.c tcl_compare.c tcl_modify.c tcl_add.c tcl_modrdn.c \
26 tcl_delete.c tcl_abandon.c tcl_util.c
27 OBJS = tcl_init.lo tcl_search.lo tcl_close.lo tcl_config.lo tcl_bind.lo \
28 tcl_unbind.lo tcl_compare.lo tcl_modify.lo tcl_add.lo tcl_modrdn.lo \
29 tcl_delete.lo tcl_abandon.lo tcl_util.lo
31 LDAP_INCDIR= ../../../include
32 LDAP_LIBDIR= ../../../libraries
34 BUILD_OPT = "--enable-tcl"
35 BUILD_MOD = @BUILD_TCL@
36 BUILD_MOD_DYNAMIC = @BUILD_TCL_DYNAMIC@
38 mod_DEFS = -DSLAPD_IMPORT
39 MOD_DEFS = $(@BUILD_TCL@_DEFS)
41 shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
42 NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
43 UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
47 XDEFS = $(MODULES_CPPFLAGS)
48 XINCPATH = -I.. -I$(srcdir)/..
50 all-local-lib: ../.backend
52 ../.backend: lib$(LIBBASE).a