From 1780c8bf548de0b69e510ce1e20078888f3dcb11 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 14 Jan 2005 00:12:14 +0000 Subject: [PATCH] Only remove backends.c on make veryclean Add dependencies --- servers/slapd/Makefile.in | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/servers/slapd/Makefile.in b/servers/slapd/Makefile.in index 42845d4722..8af3d08199 100644 --- a/servers/slapd/Makefile.in +++ b/servers/slapd/Makefile.in @@ -16,7 +16,7 @@ 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 @@ -262,8 +262,8 @@ slapd: $(SLAPD_DEPENDS) @LIBSLAPI@ $(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 @@ -319,6 +319,8 @@ version.c: Makefile 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 \ @@ -332,6 +334,9 @@ depend-local-srv: FORCE 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 \ -- 2.39.5