1999-02-06 00:23:03 +08:00
|
|
|
XSRCS = version.c
|
1999-04-13 14:21:30 +08:00
|
|
|
SRCS = idl.c add.c search.c cache.c dbcache.c dn2id.c entry.c id2entry.c \
|
1999-02-06 00:23:03 +08:00
|
|
|
index.c id2children.c nextid.c abandon.c compare.c group.c \
|
|
|
|
modify.c modrdn.c delete.c init.c config.c bind.c attr.c \
|
|
|
|
filterindex.c unbind.c kerberos.c close.c alias.c startup.c \
|
|
|
|
timing.c porter.c txn.c
|
1999-04-14 03:57:01 +08:00
|
|
|
OBJS = idl.o add.o search.o cache.o dbcache.o dn2id.o entry.o id2entry.o \
|
1999-02-06 00:23:03 +08:00
|
|
|
index.o id2children.o nextid.o abandon.o compare.o group.o \
|
|
|
|
modify.o modrdn.o delete.o init.o config.o bind.o attr.o \
|
|
|
|
filterindex.o unbind.o kerberos.o close.o alias.o startup.o \
|
|
|
|
timing.o porter.o txn.o
|
|
|
|
|
|
|
|
LDAP_INCDIR= ../../../include
|
|
|
|
LDAP_LIBDIR= ../../../libraries
|
|
|
|
|
|
|
|
BUILD_OPT = "--enable-bdb2"
|
|
|
|
BUILD_SRV = @BUILD_BDB2@
|
|
|
|
|
|
|
|
XINCPATH = -I.. -I$(srcdir)/..
|
1999-06-25 01:06:34 +08:00
|
|
|
XDEFS = $(MODULES_CPPFLAGS)
|
|
|
|
XLDFLAGS = $(MODULES_LDFLAGS)
|
1999-02-06 00:23:03 +08:00
|
|
|
|
|
|
|
PROGRAMS = libback-bdb2.a
|
|
|
|
|
|
|
|
all-local-srv: FORCE
|
|
|
|
$(MAKE) $(MFLAGS) libback-bdb2.a
|
|
|
|
|
|
|
|
libback-bdb2.a: version.o
|
|
|
|
$(AR) ruv $@ $(OBJS) version.o
|
|
|
|
@$(RANLIB) $@
|
|
|
|
@touch ../.backend
|
|
|
|
|
|
|
|
version.c: $(OBJS) $(LDAP_LIBDEPEND)
|
1999-04-28 13:40:17 +08:00
|
|
|
@-$(RM) $@
|
|
|
|
$(MKVERSION) back-bdb2 > $@
|