]> git.sur5r.net Git - openldap/blob - servers/slapd/back-sql/Makefile.in
88a650a96fb7df6f291824fa2ace7539f83c9402
[openldap] / servers / slapd / back-sql / Makefile.in
1 # Makefile.in for back-sql
2 # $OpenLDAP$
3 ## Copyright 1998-2003 The OpenLDAP Foundation.
4 ## All rights reserved.
5 ##
6 ## Redistribution and use in source and binary forms, with or without
7 ## modification, are permitted only as authorized by the OpenLDAP
8 ## Public License.
9 ##
10 ## A copy of this license is available in the file LICENSE in the
11 ## top-level directory of the distribution or, alternatively, at
12 ## <http://www.OpenLDAP.org/license.html>.
13
14 SRCS    = init.c config.c search.c bind.c other.c \
15                 entry-id.c schema-map.c sql-wrap.c modify.c util.c
16 OBJS    = init.lo config.lo search.lo bind.lo other.lo \
17                 entry-id.lo schema-map.lo sql-wrap.lo modify.lo util.lo
18
19 LDAP_INCDIR= ../../../include       
20 LDAP_LIBDIR= ../../../libraries
21
22 BUILD_OPT = "--enable-sql"
23 BUILD_MOD = @BUILD_SQL@
24 BUILD_MOD_DYNAMIC = @BUILD_SQL_DYNAMIC@
25
26 mod_DEFS = -DSLAPD_IMPORT
27 MOD_DEFS = $(@BUILD_SQL@_DEFS)
28
29 shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
30 NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
31 UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
32
33 LIBBASE = back_sql
34
35 XINCPATH = -I.. -I$(srcdir)/.. $(SLAPD_SQL_INCLUDES)
36 XDEFS = $(MODULES_CPPFLAGS)
37
38 all-local-lib:  ../.backend
39
40 ../.backend: lib$(LIBBASE).a
41         @touch $@
42