1 # Makefile.in for back-relay
2 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 ## Copyright 1998-2005 The OpenLDAP Foundation.
5 ## All rights reserved.
7 ## Redistribution and use in source and binary forms, with or without
8 ## modification, are permitted only as authorized by the OpenLDAP
11 ## A copy of this license is available in the file LICENSE in the
12 ## top-level directory of the distribution or, alternatively, at
13 ## <http://www.OpenLDAP.org/license.html>.
15 SRCS = init.c config.c op.c
16 OBJS = init.lo config.lo op.lo
18 LDAP_INCDIR= ../../../include
19 LDAP_LIBDIR= ../../../libraries
21 BUILD_OPT = "--enable-relay"
22 BUILD_MOD = @BUILD_RELAY@
24 mod_DEFS = -DSLAPD_IMPORT
25 MOD_DEFS = $(@BUILD_RELAY@_DEFS)
27 shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
28 NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS) $(REWRITE)
29 UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS) $(REWRITE)
33 XINCPATH = -I.. -I$(srcdir)/..
34 XDEFS = $(MODULES_CPPFLAGS)
36 all-local-lib: ../.backend
38 ../.backend: lib$(LIBBASE).a