1# Makefile.in for Load Balancer
2# $OpenLDAP$
3## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4##
5## Copyright 1998-2021 The OpenLDAP Foundation.
6## All rights reserved.
7##
8## Redistribution and use in source and binary forms, with or without
9## modification, are permitted only as authorized by the OpenLDAP
10## Public License.
11##
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>.
15
16
17XSRCS	= version.c
18
19NT_SRCS = nt_svc.c
20NT_OBJS = nt_svc.o ../../libraries/liblutil/slapdmsg.res
21
22SRCS	= backend.c bind.c config.c connection.c client.c \
23		  daemon.c epoch.c extended.c init.c operation.c \
24		  upstream.c libevent_support.c \
25		  $(@PLAT@_SRCS)
26
27
28LDAP_INCDIR= ../../include -I$(srcdir) -I$(srcdir)/../slapd
29LDAP_LIBDIR= ../../libraries
30
31
32# $(LTHREAD_LIBS) must be last!
33XLIBS = $(LLOADD_L)
34XXLIBS = $(LLOADD_LIBS) $(SECURITY_LIBS) $(LUTIL_LIBS)
35XXXLIBS = $(LTHREAD_LIBS)
36
37NT_DEPENDS = slapd.exp
38NT_OBJECTS = slapd.exp symdummy.o $(LLOADD_OBJS) version.o
39
40UNIX_DEPENDS = version.o $(LLOADD_L)
41UNIX_OBJECTS = $(OBJS) version.o
42
43LLOADD_DEPENDS = $(@PLAT@_DEPENDS)
44LLOADD_OBJECTS = $(@PLAT@_OBJECTS)
45
46include @BALANCER_INCLUDE@
47
48
49