]> git.sur5r.net Git - openldap/blob - servers/slapd/back-shell/Makefile.in
912df5c947522410f597b95a77777d04d3354dae
[openldap] / servers / slapd / back-shell / Makefile.in
1 # Makefile.in for back-shell
2 # $OpenLDAP$
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 ##
5 ## Copyright 1998-2017 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
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
20
21 LDAP_INCDIR= ../../../include       
22 LDAP_LIBDIR= ../../../libraries
23
24 BUILD_OPT = "--enable-shell"
25 BUILD_MOD = @BUILD_SHELL@
26
27 mod_DEFS = -DSLAPD_IMPORT
28 MOD_DEFS = $(@BUILD_SHELL@_DEFS)
29
30 shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
31 NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
32 UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
33
34 LIBBASE = back_shell
35
36 XINCPATH = -I.. -I$(srcdir)/..
37 XDEFS = $(MODULES_CPPFLAGS)
38
39 all-local-lib:  ../.backend
40
41 ../.backend: lib$(LIBBASE).a
42         @touch $@
43