1 # Makefile.in for back-passwd
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 ## Copyright 1998-2006 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 = search.c config.c init.c
17 OBJS = search.lo config.lo init.lo
19 LDAP_INCDIR= ../../../include
20 LDAP_LIBDIR= ../../../libraries
22 BUILD_OPT = "--enable-passwd"
23 BUILD_MOD = @BUILD_PASSWD@
25 mod_DEFS = -DSLAPD_IMPORT
26 MOD_DEFS = $(@BUILD_PASSWD@_DEFS)
28 shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
29 NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
30 UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
34 XINCPATH = -I.. -I$(srcdir)/..
35 XDEFS = $(MODULES_CPPFLAGS)
37 all-local-lib: ../.backend
39 ../.backend: lib$(LIBBASE).a