1# Makefile.in for back-wt 2# $OpenLDAP$ 3## This work is part of OpenLDAP Software <http://www.openldap.org/>. 4## 5## Copyright 1998-2021 The OpenLDAP Foundation. 6## All rights reserved. 7## 8## Redistribution and use in source and binary forms, with or without 9## modification, are permitted only as authorized by the OpenLDAP 10## Public License. 11## 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 16SRCS = init.c tools.c config.c \ 17 add.c bind.c compare.c delete.c modify.c search.c \ 18 operational.c \ 19 attr.c index.c key.c filterindex.c \ 20 dn2entry.c dn2id.c id2entry.c idl.c \ 21 nextid.c ctx.c 22 23OBJS = init.lo tools.lo config.lo \ 24 add.lo bind.lo compare.lo delete.lo modify.lo search.lo \ 25 operational.lo \ 26 attr.lo index.lo key.lo filterindex.lo \ 27 dn2entry.lo dn2id.lo id2entry.lo idl.lo \ 28 nextid.lo ctx.lo 29 30LDAP_INCDIR= ../../../include 31LDAP_LIBDIR= ../../../libraries 32 33BUILD_OPT = "--enable-wt" 34BUILD_MOD = @BUILD_WT@ 35 36mod_DEFS = -DSLAPD_IMPORT 37MOD_DEFS = @WT_CFLAGS@ 38MOD_LIBS = @WT_LIBS@ 39 40 41shared_LDAP_LIBS = $(LDAP_LIBLDAP_LA) $(LDAP_LIBLBER_LA) 42NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS) 43UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS) 44 45LIBBASE = back_wt 46 47XINCPATH = -I.. -I$(srcdir)/.. 48XDEFS = $(MODULES_CPPFLAGS) 49 50all-local-lib: ../.backend 51 52../.backend: lib$(LIBBASE).a 53 @touch $@ 54 55