repl.c lock.c controls.c extended.c kerberos.c passwd.c \
schema.c schema_check.c schema_init.c schema_prep.c \
schemaparse.c ad.c at.c mr.c syntax.c oc.c saslauthz.c \
- configinfo.c starttls.c index.c sets.c referral.c \
+ oidm.c starttls.c index.c sets.c referral.c \
root_dse.c sasl.c module.c suffixalias.c mra.c mods.c \
- limits.c \
+ limits.c backglue.c operational.c \
$(@PLAT@_SRCS)
OBJS = main.o daemon.o connection.o search.o filter.o add.o charray.o \
repl.o lock.o controls.o extended.o kerberos.o passwd.o \
schema.o schema_check.o schema_init.o schema_prep.o \
schemaparse.o ad.o at.o mr.o syntax.o oc.o saslauthz.o \
- configinfo.o starttls.o index.o sets.o referral.o \
+ oidm.o starttls.o index.o sets.o referral.o \
root_dse.o sasl.o module.o suffixalias.o mra.o mods.o \
- limits.o \
+ limits.o backglue.o operational.o \
$(@PLAT@_OBJS)
LDAP_INCDIR= ../../include
SLAP_DIR=
SLAPD_MODULES=@SLAPD_MODULES_LIST@
+SLAPD_STATIC_BACKENDS=@SLAPD_STATIC_BACKENDS@
+SLAPD_DYNAMIC_BACKENDS=@SLAPD_DYNAMIC_BACKENDS@
XDEFS = $(MODULES_CPPFLAGS)
XLDFLAGS = $(MODULES_LDFLAGS) $(SLAPD_MODULES)
done; \
objs=""; \
for i in $(OBJS) version.o $(LIBS) ; do \
+ obj="" ; \
case $$i in \
-l*) \
- obj="" ; \
done="" ;\
base=`expr "$$i" : "-l\(.*\)"`; \
for p in $$paths ; do \
slapd: $(SLAPD_DEPENDS)
$(LTLINK) -o $@ $(SLAPD_OBJECTS) $(LIBS) $(WRAP_LIBS)
- @msg="building dynamic backends..."; \
- for i in back-*; do \
- if test -d $$i -a -f $$i/Makefile ; then \
- grep '^BUILD_MOD[ ]*=[ ]*mod[ ]*$$' $$i/Makefile \
- > /dev/null 2>&1; \
- if test $$? = 0; then \
- if test -n "$$msg"; then \
- echo ""; echo "$$msg"; \
- msg=""; \
- fi; \
- echo ""; echo " cd $$i; $(MAKE) $(MFLAGS) all"; \
+ @if test -n "$(SLAPD_DYNAMIC_BACKENDS)"; then \
+ echo "building dynamic backends..."; \
+ for i in XX $(SLAPD_DYNAMIC_BACKENDS); do \
+ if test $$i != XX; then \
+ echo " "; echo " cd $$i; $(MAKE) $(MFLAGS) all"; \
( cd $$i; $(MAKE) $(MFLAGS) all ); \
- if test $$? != 0 ; then exit 1; fi ; \
+ if test $$? != 0; then exit 1; fi; \
fi; \
- fi; \
- done; \
- echo ""
+ done; \
+ echo " "; \
+ fi
cd tools; $(MAKE) $(MFLAGS) all
sslapd: version.o
# reason, we only build static backends now and dynamic backends later.
#
.backend: FORCE
- @echo ""; echo "building static backends..."; \
- for i in back-*; do \
- if test -d $$i -a -f $$i/Makefile ; then \
- grep '^BUILD_MOD[ ]*=[ ]*mod[ ]*$$' $$i/Makefile \
- > /dev/null 2>&1; \
- if test $$? != 0; then \
- echo ""; echo " cd $$i; $(MAKE) $(MFLAGS) all"; \
+ @if test -n "$(SLAPD_STATIC_BACKENDS)"; then \
+ echo "building static backends..."; \
+ for i in XX $(SLAPD_STATIC_BACKENDS); do \
+ if test $$i != XX; then \
+ echo " "; echo " cd $$i; $(MAKE) $(MFLAGS) all"; \
( cd $$i; $(MAKE) $(MFLAGS) all ); \
- if test $$? != 0 ; then exit 1; fi ; \
+ if test $$? != 0; then exit 1; fi; \
fi; \
- fi; \
- done; \
- echo ""
+ done; \
+ echo " "; \
+ fi
libbackends.a: .backend
@$(RM) -r tmp
all-cffiles: slapd
@if test $(PLAT) = NT; then \
sysconfdir=`cygpath -w $(sysconfdir) | \
- $(SED) -e 's/\\\\/\\\\\\\\/g'`; \
+ $(SED) -e 's/\\\\/\\\\\\\\\\\\\\\\/g'`; \
localstatedir=`cygpath -w $(localstatedir) | \
- $(SED) -e 's/\\\\/\\\\\\\\/g'`; \
+ $(SED) -e 's/\\\\/\\\\\\\\\\\\\\\\/g'`; \
moduledir=`cygpath -w $(moduledir) | \
- $(SED) -e 's/\\\\/\\\\\\\\/g'`; \
+ $(SED) -e 's/\\\\/\\\\\\\\\\\\\\\\/g'`; \
else \
sysconfdir=$(sysconfdir); \
localstatedir=$(localstatedir); \