SLAPTOOLS=slapadd slapcat slapdn slapindex slappasswd slaptest slapauth slapacl
PROGRAMS=slapd $(SLAPTOOLS)
XPROGRAMS=sslapd libbackends.a .backend liboverlays.a
-XSRCS=version.c backends.c
+XSRCS=version.c
SUBDIRS=back-* shell-backends slapi overlays
$(LN_S) slapd$(EXEEXT) $$i$(EXEEXT); done
-sslapd: version.o
- $(LTLINK) -static -o $@ $(OBJS) version.o $(LIBS) $(WRAP_LIBS)
+sslapd: version.o backends.o
+ $(LTLINK) -static -o $@ $(OBJS) version.o backends.o $(LIBS) $(WRAP_LIBS)
dummy $(SLAPD_DYNAMIC_BACKENDS): slapd
cd $@; $(MAKE) $(MFLAGS) all
version.o: version.c $(OBJS) $(SLAPD_LIBDEPEND)
+backends.o: backends.c $(srcdir)/slap.h
+
depend-local-srv: FORCE
@for i in $(SUBDIRS); do \
if test -d $$i -a -f $$i/Makefile ; then \
clean-local:
$(RM) *.exp *.def *.base *.a *.objs symdummy.c
+veryclean-local:
+ $(RM) backends.c
+
clean-local-srv: FORCE
@for i in $(SUBDIRS); do \
if test -d $$i -a -f $$i/Makefile ; then \