1 # Makefile.in for back-monitor
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 ## Copyright 1998-2007 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 search.c compare.c modify.c bind.c \
19 backend.c database.c thread.c conn.c rww.c log.c \
20 operation.c sent.c listener.c time.c overlay.c
21 OBJS = init.lo search.lo compare.lo modify.lo bind.lo \
24 backend.lo database.lo thread.lo conn.lo rww.lo log.lo \
25 operation.lo sent.lo listener.lo time.lo overlay.lo
27 LDAP_INCDIR= ../../../include
28 LDAP_LIBDIR= ../../../libraries
30 BUILD_OPT = "--enable-monitor"
31 BUILD_MOD = @BUILD_MONITOR@
33 mod_DEFS = -DSLAPD_IMPORT
34 MOD_DEFS = $(@BUILD_MONITOR@_DEFS)
36 shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
37 NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
38 UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
40 LIBBASE = back_monitor
42 XINCPATH = -I.. -I$(srcdir)/.. -I$(srcdir)/../slapi
43 XDEFS = $(MODULES_CPPFLAGS)
45 all-local-lib: ../.backend
47 ../.backend: lib$(LIBBASE).a