Skip to content
Snippets Groups Projects
Commit 1780c8bf authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Only remove backends.c on make veryclean

Add dependencies
parent 3add8342
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
SLAPTOOLS=slapadd slapcat slapdn slapindex slappasswd slaptest slapauth slapacl SLAPTOOLS=slapadd slapcat slapdn slapindex slappasswd slaptest slapauth slapacl
PROGRAMS=slapd $(SLAPTOOLS) PROGRAMS=slapd $(SLAPTOOLS)
XPROGRAMS=sslapd libbackends.a .backend liboverlays.a XPROGRAMS=sslapd libbackends.a .backend liboverlays.a
XSRCS=version.c backends.c XSRCS=version.c
SUBDIRS=back-* shell-backends slapi overlays SUBDIRS=back-* shell-backends slapi overlays
...@@ -262,8 +262,8 @@ slapd: $(SLAPD_DEPENDS) @LIBSLAPI@ ...@@ -262,8 +262,8 @@ slapd: $(SLAPD_DEPENDS) @LIBSLAPI@
$(LN_S) slapd$(EXEEXT) $$i$(EXEEXT); done $(LN_S) slapd$(EXEEXT) $$i$(EXEEXT); done
sslapd: version.o sslapd: version.o backends.o
$(LTLINK) -static -o $@ $(OBJS) version.o $(LIBS) $(WRAP_LIBS) $(LTLINK) -static -o $@ $(OBJS) version.o backends.o $(LIBS) $(WRAP_LIBS)
dummy $(SLAPD_DYNAMIC_BACKENDS): slapd dummy $(SLAPD_DYNAMIC_BACKENDS): slapd
cd $@; $(MAKE) $(MFLAGS) all cd $@; $(MAKE) $(MFLAGS) all
...@@ -319,6 +319,8 @@ version.c: Makefile ...@@ -319,6 +319,8 @@ version.c: Makefile
version.o: version.c $(OBJS) $(SLAPD_LIBDEPEND) version.o: version.c $(OBJS) $(SLAPD_LIBDEPEND)
backends.o: backends.c $(srcdir)/slap.h
depend-local-srv: FORCE depend-local-srv: FORCE
@for i in $(SUBDIRS); do \ @for i in $(SUBDIRS); do \
if test -d $$i -a -f $$i/Makefile ; then \ if test -d $$i -a -f $$i/Makefile ; then \
...@@ -332,6 +334,9 @@ depend-local-srv: FORCE ...@@ -332,6 +334,9 @@ depend-local-srv: FORCE
clean-local: clean-local:
$(RM) *.exp *.def *.base *.a *.objs symdummy.c $(RM) *.exp *.def *.base *.a *.objs symdummy.c
veryclean-local:
$(RM) backends.c
clean-local-srv: FORCE clean-local-srv: FORCE
@for i in $(SUBDIRS); do \ @for i in $(SUBDIRS); do \
if test -d $$i -a -f $$i/Makefile ; then \ if test -d $$i -a -f $$i/Makefile ; then \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment