openldap/servers/slapd/back-tcl/Makefile.in

42 lines
1.2 KiB
Makefile
Raw Normal View History

###########################################################################
#
# 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.
#
##########################################################################
XSRCS = version.c
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.o tcl_search.o tcl_close.o tcl_config.o tcl_bind.o \
tcl_unbind.o tcl_compare.o tcl_modify.o tcl_add.o tcl_modrdn.o \
tcl_delete.o tcl_abandon.o tcl_util.o
LDAP_INCDIR= ../../../include
LDAP_LIBDIR= ../../../libraries
BUILD_OPT = "--enable-tcl"
BUILD_SRV = @BUILD_TCL@
PROGRAMS = libback-tcl.a
XINCPATH = -I.. -I$(srcdir)/..
all-local-srv: FORCE
$(MAKE) $(MFLAGS) libback-tcl.a
libback-tcl.a: version.o
$(AR) ruv $@ $(OBJS) version.o
@$(RANLIB) $@
@touch ../.backend
version.c: $(OBJS) $(LDAP_LIBDEPEND)
@-$(RM) $@
$(MKVERSION) back-tcl > $@