1 # Makefile.in for back-sql
2 # $OpenLDAP: pkg/ldap/servers/slapd/back-sql/Makefile.in,v 1.16.2.3 2008/02/11 23:26:48 kurt Exp $
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 ## Copyright 1998-2008 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 search.c bind.c compare.c operational.c \
17 entry-id.c schema-map.c sql-wrap.c modify.c util.c \
18 add.c delete.c modrdn.c api.c
19 OBJS
= init.lo config.lo search.lo bind.lo compare.lo operational.lo \
20 entry-id.lo schema-map.lo sql-wrap.lo modify.lo util.lo \
21 add.lo delete.lo modrdn.lo api.lo
23 LDAP_INCDIR
= ..
/..
/..
/include
24 LDAP_LIBDIR
= ..
/..
/..
/libraries
26 BUILD_OPT
= "--enable-sql"
27 BUILD_MOD
= @BUILD_SQL@
29 mod_DEFS
= -DSLAPD_IMPORT
30 MOD_DEFS
= $(@BUILD_SQL@_DEFS
)
32 shared_LDAP_LIBS
= $(LDAP_LIBLDAP_R_LA
) $(LDAP_LIBLBER_LA
)
33 NT_LINK_LIBS
= -L..
-lslapd
$(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS
)
34 UNIX_LINK_LIBS
= $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS
) $(SLAPD_SQL_LIBS
)
38 XINCPATH
= -I..
-I
$(srcdir)/..
$(SLAPD_SQL_INCLUDES
)
39 XDEFS
= $(MODULES_CPPFLAGS
)
41 all-local-lib
: ..
/.backend
43 ..
/.backend
: lib
$(LIBBASE
).a