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 = ../slapd/nt_svc.c 20NT_OBJS = ../slapd/nt_svc.o ../../libraries/liblutil/slapdmsg.res 21 22SRCS += module_init.c monitor.c 23 24OBJS = $(patsubst %.c,%.lo,$(SRCS)) $(@PLAT@_OBJS) 25 26BUILD_OPT = "--enable-balancer=mod" 27BUILD_MOD = @BUILD_BALANCER@ 28 29LIBBASE=lloadd 30 31# $(LTHREAD_LIBS) must be last! 32XLIBS = $(LLOADD_L) 33XXLIBS = $(LLOADD_LIBS) $(SECURITY_LIBS) $(LUTIL_LIBS) 34XXXLIBS = $(LTHREAD_LIBS) 35 36NT_DEPENDS = slapd.exp 37NT_OBJECTS = slapd.exp symdummy.o $(LLOADD_OBJS) version.o 38 39UNIX_DEPENDS = version.o $(LLOADD_L) 40UNIX_OBJECTS = $(OBJS) version.o 41 42LLOADD_DEPENDS = $(@PLAT@_DEPENDS) 43LLOADD_OBJECTS = $(@PLAT@_OBJECTS) 44LINK_LIBS=$(LLOADD_LIBS) 45MOD_DEFS = -DSLAPD_IMPORT -DBALANCER_MODULE 46