1 ###########################################################################
3 # Copyright 1999, Ben Collins <bcollins@debian.org>, All rights reserved.
5 # Redistribution and use in source and binary forms are permitted only
6 # as authorized by the OpenLDAP Public License. A copy of this
7 # license is available at http://www.OpenLDAP.org/license.html or
8 # in file LICENSE in the top-level directory of the distribution.
10 ##########################################################################
13 SRCS = tcl_init.c tcl_search.c tcl_close.c tcl_config.c tcl_bind.c \
14 tcl_unbind.c tcl_compare.c tcl_modify.c tcl_add.c tcl_modrdn.c \
15 tcl_delete.c tcl_abandon.c tcl_util.c
16 OBJS = tcl_init.o tcl_search.o tcl_close.o tcl_config.o tcl_bind.o \
17 tcl_unbind.o tcl_compare.o tcl_modify.o tcl_add.o tcl_modrdn.o \
18 tcl_delete.o tcl_abandon.o tcl_util.o
20 LDAP_INCDIR= ../../../include
21 LDAP_LIBDIR= ../../../libraries
23 BUILD_OPT = "--enable-tcl"
24 BUILD_SRV = @BUILD_TCL@
26 PROGRAMS = libback-tcl.a
28 XDEFS = $(MODULES_CPPFLAGS)
29 XLDFLAGS = $(MODULES_LDFLAGS)
30 XINCPATH = -I.. -I$(srcdir)/..
33 $(MAKE) $(MFLAGS) libback-tcl.a
35 libback-tcl.a: version.o
36 $(AR) ruv $@ $(OBJS) version.o
40 version.c: $(OBJS) $(LDAP_LIBDEPEND)
42 $(MKVERSION) back-tcl > $@