1 # Makefile.in for back-sock
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 ## Copyright 2007-2011 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>.
17 ## This work was initially developed by Brian Candler for inclusion
18 ## in OpenLDAP Software.
20 SRCS = init.c config.c opensock.c search.c bind.c unbind.c add.c \
21 delete.c modify.c modrdn.c compare.c result.c
22 OBJS = init.lo config.lo opensock.lo search.lo bind.lo unbind.lo add.lo \
23 delete.lo modify.lo modrdn.lo compare.lo result.lo
25 LDAP_INCDIR= ../../../include
26 LDAP_LIBDIR= ../../../libraries
28 BUILD_OPT = "--enable-sock"
29 BUILD_MOD = @BUILD_SOCK@
31 mod_DEFS = -DSLAPD_IMPORT
32 MOD_DEFS = $(@BUILD_SOCK@_DEFS)
34 shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
35 NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
36 UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
40 XINCPATH = -I.. -I$(srcdir)/..
41 XDEFS = $(MODULES_CPPFLAGS)
43 all-local-lib: ../.backend
45 ../.backend: lib$(LIBBASE).a