1# Makefile.in for back-shell
2# OpenLDAP: pkg/ldap/servers/slapd/back-shell/Makefile.in,v 1.22.2.5 2010/04/13 20:23:38 kurt Exp
3## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4##
5## Copyright 1998-2010 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 config.c fork.c search.c bind.c unbind.c add.c \
17		delete.c modify.c modrdn.c compare.c result.c
18OBJS	= init.lo config.lo fork.lo search.lo bind.lo unbind.lo add.lo \
19		delete.lo modify.lo modrdn.lo compare.lo result.lo
20
21LDAP_INCDIR= ../../../include       
22LDAP_LIBDIR= ../../../libraries
23
24BUILD_OPT = "--enable-shell"
25BUILD_MOD = @BUILD_SHELL@
26
27mod_DEFS = -DSLAPD_IMPORT
28MOD_DEFS = $(@BUILD_SHELL@_DEFS)
29
30shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
31NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
32UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
33
34LIBBASE = back_shell
35
36XINCPATH = -I.. -I$(srcdir)/..
37XDEFS = $(MODULES_CPPFLAGS)
38
39all-local-lib:	../.backend
40
41../.backend: lib$(LIBBASE).a
42	@touch $@
43
44