1 # Makefile.in for back-shell
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 ## Copyright 1998-2004 The OpenLDAP Foundation.
6 ## All rights reserved.
8 ## Redistribution and use in source and binary forms, with or without
9 ## modification, are permitted only as authorized by the OpenLDAP
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>.
16 SRCS = 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
18 OBJS = 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
21 LDAP_INCDIR= ../../../include
22 LDAP_LIBDIR= ../../../libraries
24 BUILD_OPT = "--enable-shell"
25 BUILD_MOD = @BUILD_SHELL@
26 BUILD_MOD_DYNAMIC = @BUILD_SHELL_DYNAMIC@
28 mod_DEFS = -DSLAPD_IMPORT
29 MOD_DEFS = $(@BUILD_SHELL@_DEFS)
31 shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
32 NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
33 UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
37 XINCPATH = -I.. -I$(srcdir)/..
38 XDEFS = $(MODULES_CPPFLAGS)
40 all-local-lib: ../.backend
42 ../.backend: lib$(LIBBASE).a