mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
d92b9d3c9e
BEWARE: the backend will be compiled. the backend will NOT be invoked, yet. the backend CANNOT be invoked, yet, because it is NOT yet integrated into the new initialization/startup environment of the slapd server.
39 lines
1.2 KiB
Makefile
39 lines
1.2 KiB
Makefile
XSRCS = version.c
|
|
SRCS = idl.c add.c search.c cache.c dbcache.c dn2id.c id2entry.c \
|
|
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
|
|
OBJS = idl.o add.o search.o cache.o dbcache.o dn2id.o id2entry.o \
|
|
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)/..
|
|
|
|
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)
|
|
$(RM) $@
|
|
(u=$${USER-root} v=`$(CAT) $(VERSIONFILE)` d=`$(PWD)` \
|
|
h=`$(HOSTNAME)` t=`$(DATE)`; \
|
|
$(SED) -e "s|%WHEN%|$${t}|" \
|
|
-e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
|
|
-e "s|%VERSION%|$${v}|" \
|
|
< $(srcdir)/Version.c > $@)
|