1 # Makefile.in for back-monitor
3 ## Copyright 1998-2003 The OpenLDAP Foundation.
4 ## All rights reserved.
6 ## Redistribution and use in source and binary forms, with or without
7 ## modification, are permitted only as authorized by the OpenLDAP
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>.
14 SRCS = init.c search.c compare.c modify.c bind.c \
17 backend.c database.c thread.c conn.c rww.c log.c \
18 operation.c sent.c listener.c time.c
19 OBJS = init.lo search.lo compare.lo modify.lo bind.lo \
22 backend.lo database.lo thread.lo conn.lo rww.lo log.lo \
23 operation.lo sent.lo listener.lo time.lo
25 LDAP_INCDIR= ../../../include
26 LDAP_LIBDIR= ../../../libraries
28 BUILD_OPT = "--enable-monitor"
29 BUILD_MOD = @BUILD_MONITOR@
30 BUILD_MOD_DYNAMIC = @BUILD_MONITOR_DYNAMIC@
32 mod_DEFS = -DSLAPD_IMPORT
33 MOD_DEFS = $(@BUILD_MONITOR@_DEFS)
35 shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
36 NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
37 UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
39 LIBBASE = back_monitor
41 XINCPATH = -I.. -I$(srcdir)/.. -I../slapi
42 XDEFS = $(MODULES_CPPFLAGS)
44 all-local-lib: ../.backend
46 ../.backend: lib$(LIBBASE).a