2 SRCS = init.c config.c search.c bind.c unbind.c add.c compare.c delete.c \
4 OBJS = init.o config.o search.o bind.o unbind.o add.o compare.o delete.o \
7 LDAP_INCDIR= ../../../include
8 LDAP_LIBDIR= ../../../libraries
10 BUILD_OPT = "--enable-ldap"
11 BUILD_SRV = @BUILD_LDAP@
13 PROGRAMS = libback-ldap.a
15 XINCPATH = -I.. -I$(srcdir)/..
18 $(MAKE) $(MFLAGS) libback-ldap.a
20 libback-ldap.a: version.o
21 $(AR) ruv $@ $(OBJS) version.o
25 version.c: $(OBJS) $(LDAP_LIBDEPEND)
27 $(MKVERSION) back-ldap > $@