mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
46 lines
1.5 KiB
Makefile
46 lines
1.5 KiB
Makefile
# $OpenLDAP$
|
|
## Copyright 1999-2003 The OpenLDAP Foundation, All Rights Reserved.
|
|
## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
|
###########################################################################
|
|
#
|
|
# Copyright 1999, Ben Collins <bcollins@debian.org>, All rights reserved.
|
|
#
|
|
# Redistribution and use in source and binary forms are permitted only
|
|
# as authorized by the OpenLDAP Public License. A copy of this
|
|
# license is available at http://www.OpenLDAP.org/license.html or
|
|
# in file LICENSE in the top-level directory of the distribution.
|
|
#
|
|
##########################################################################
|
|
|
|
SRCS = tcl_init.c tcl_search.c tcl_close.c tcl_config.c tcl_bind.c \
|
|
tcl_unbind.c tcl_compare.c tcl_modify.c tcl_add.c tcl_modrdn.c \
|
|
tcl_delete.c tcl_abandon.c tcl_util.c
|
|
OBJS = tcl_init.lo tcl_search.lo tcl_close.lo tcl_config.lo tcl_bind.lo \
|
|
tcl_unbind.lo tcl_compare.lo tcl_modify.lo tcl_add.lo tcl_modrdn.lo \
|
|
tcl_delete.lo tcl_abandon.lo tcl_util.lo
|
|
|
|
LDAP_INCDIR= ../../../include
|
|
LDAP_LIBDIR= ../../../libraries
|
|
|
|
BUILD_OPT = "--enable-tcl"
|
|
BUILD_MOD = @BUILD_TCL@
|
|
BUILD_MOD_DYNAMIC = @BUILD_TCL_DYNAMIC@
|
|
|
|
mod_DEFS = -DSLAPD_IMPORT
|
|
MOD_DEFS = $(@BUILD_TCL@_DEFS)
|
|
|
|
shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
|
|
NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
|
|
UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
|
|
|
|
LIBBASE = back_tcl
|
|
|
|
XDEFS = $(MODULES_CPPFLAGS)
|
|
XINCPATH = -I.. -I$(srcdir)/..
|
|
|
|
all-local-lib: ../.backend
|
|
|
|
../.backend: lib$(LIBBASE).a
|
|
@touch $@
|
|
|