]> git.sur5r.net Git - openldap/commitdiff
fix slapi build
authorPierangelo Masarati <ando@openldap.org>
Fri, 27 Dec 2002 12:10:05 +0000 (12:10 +0000)
committerPierangelo Masarati <ando@openldap.org>
Fri, 27 Dec 2002 12:10:05 +0000 (12:10 +0000)
servers/slapd/Makefile.in

index fd6d5e5d754ca99e1ee46d7057583de95a5aa86d..fe921391430f1fd988b311de0ce51b3b500012ad 100644 (file)
@@ -42,7 +42,6 @@ SLAP_DIR=
 SLAPD_STATIC_DEPENDS=@SLAPD_NO_STATIC@ libbackends.a
 SLAPD_STATIC_BACKENDS=@SLAPD_STATIC_BACKENDS@
 SLAPD_DYNAMIC_BACKENDS=@SLAPD_DYNAMIC_BACKENDS@
-SLAPD_SLAPI_DEPEND=@SLAPD_SLAPI_DEPEND@
 
 XDEFS = $(MODULES_CPPFLAGS)
 XLDFLAGS = $(MODULES_LDFLAGS)
@@ -226,20 +225,21 @@ slapd.exp: libslapd.a
                --base-file slapd.base --output-exp $@
 
 libslapi.a: .slapi
+       (cd slapi; $(MAKE) $(MFLAGS) all)
        cp slapi/.libs/libslapi.a .
 
-.slapi: slapd
+.slapi: $(SLAPD_OBJECTS)
        $(AR) ruv slapi/libtmpslapd.a $(OBJS)
        (cd slapi; $(MAKE) $(MFLAGS) all)
 
-slapd: $(SLAPD_DEPENDS)
+slapd: $(SLAPD_DEPENDS) @LIBSLAPI@
        $(LTLINK) -o $@ $(SLAPD_OBJECTS) $(LIBS) \
                $(WRAP_LIBS)
 
 sslapd: version.o
        $(LTLINK) -static -o $@ $(OBJS) version.o $(LIBS) $(WRAP_LIBS)
 
-tools $(SLAPD_DYNAMIC_BACKENDS) $(SLAPD_SLAPI_DEPEND): slapd
+tools $(SLAPD_DYNAMIC_BACKENDS): slapd
        cd $@; $(MAKE) $(MFLAGS) all
        @touch $@