]> git.sur5r.net Git - openldap/blob - servers/slapd/back-sql/Makefile.in
574ccf0d2fba2b9336c145591f9e8964846d7c9a
[openldap] / servers / slapd / back-sql / Makefile.in
1 # Makefile.in for back-sql
2 # $OpenLDAP$
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 ##
5 ## Copyright 1998-2004 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 search.c bind.c other.c \
17                 entry-id.c schema-map.c sql-wrap.c modify.c util.c
18 OBJS    = init.lo config.lo search.lo bind.lo other.lo \
19                 entry-id.lo schema-map.lo sql-wrap.lo modify.lo util.lo
20
21 LDAP_INCDIR= ../../../include       
22 LDAP_LIBDIR= ../../../libraries
23
24 BUILD_OPT = "--enable-sql"
25 BUILD_MOD = @BUILD_SQL@
26 BUILD_MOD_DYNAMIC = @BUILD_SQL_DYNAMIC@
27
28 mod_DEFS = -DSLAPD_IMPORT
29 MOD_DEFS = $(@BUILD_SQL@_DEFS)
30
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)
34
35 LIBBASE = back_sql
36
37 XINCPATH = -I.. -I$(srcdir)/.. $(SLAPD_SQL_INCLUDES)
38 XDEFS = $(MODULES_CPPFLAGS)
39
40 all-local-lib:  ../.backend
41
42 ../.backend: lib$(LIBBASE).a
43         @touch $@
44