Home | History | Annotate | Line # | Download | only in lloadd
      1 # Makefile.in for Load Balancer
      2 # $OpenLDAP$
      3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
      4 ##
      5 ## Copyright 1998-2024 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 
     17 XSRCS	= version.c
     18 
     19 
     20 SRCS	= backend.c bind.c config.c connection.c client.c \
     21 		  daemon.c epoch.c extended.c init.c operation.c \
     22 		  tier.c tier_roundrobin.c tier_weighted.c tier_bestof.c \
     23 		  upstream.c libevent_support.c \
     24 		  $(@PLAT@_SRCS)
     25 
     26 O = o
     27 
     28 OBJS	= backend.$O bind.$O config.$O connection.$O client.$O \
     29 		  daemon.$O epoch.$O extended.$O init.$O operation.$O \
     30 		  tier.$O tier_roundrobin.$O tier_weighted.$O tier_bestof.$O \
     31 		  upstream.$O libevent_support.$O
     32 
     33 LDAP_INCDIR= ../../include -I$(srcdir) -I$(srcdir)/../slapd
     34 LDAP_LIBDIR= ../../libraries
     35 
     36 
     37 # $(LTHREAD_LIBS) must be last!
     38 XLIBS = $(LLOADD_L)
     39 XXLIBS = $(LLOADD_LIBS) $(SECURITY_LIBS) $(LUTIL_LIBS)
     40 XXXLIBS = $(LTHREAD_LIBS)
     41 
     42 NT_DEPENDS = slapd.exp
     43 NT_OBJECTS = slapd.exp symdummy.o $(LLOADD_OBJS) version.o
     44 
     45 UNIX_DEPENDS = version.o $(LLOADD_L)
     46 UNIX_OBJECTS = $(OBJS) version.o
     47 
     48 LLOADD_DEPENDS = $(@PLAT@_DEPENDS)
     49 LLOADD_OBJECTS = $(@PLAT@_OBJECTS)
     50 
     51