.backend: $(@PLAT@_IMPLIB) FORCE
@for i in back-*; do \
- if [ -d $$i ]; then \
+ if [ -d $$i -a -f $$i/Makefile ]; then \
echo " "; echo " cd $$i; $(MAKE) $(MFLAGS) all"; \
( cd $$i; $(MAKE) $(MFLAGS) all ); \
if test $$? != 0 ; then exit 1; fi ; \
depend-local-srv: FORCE
@for i in back-* shell-backends tools; do \
- if [ -d $$i ]; then \
+ if [ -d $$i -a -f $$i/Makefile ]; then \
echo; echo " cd $$i; $(MAKE) $(MFLAGS) depend"; \
( cd $$i; $(MAKE) $(MFLAGS) depend ); \
if test $$? != 0 ; then exit 1; fi ; \
clean-local-srv: FORCE
@for i in back-* shell-backends tools; do \
- if [ -d $$i ]; then \
+ if [ -d $$i -a -f $$i/Makefile ]; then \
echo; echo " cd $$i; $(MAKE) $(MFLAGS) clean"; \
( cd $$i; $(MAKE) $(MFLAGS) clean ); \
if test $$? != 0 ; then exit 1; fi ; \
veryclean-local-srv: FORCE
@for i in back-* shell-backends tools; do \
- if [ -d $$i ]; then \
+ if [ -d $$i -a -f $$i/Makefile ]; then \
echo; echo " cd $$i; $(MAKE) $(MFLAGS) clean"; \
( cd $$i; $(MAKE) $(MFLAGS) veryclean ); \
fi; \
slapd$(EXEEXT) $(DESTDIR)$(libexecdir)
@if [ ! -z "$(SLAPD_MODULES)" ]; then \
for i in back-* shell-backends tools; do \
- if [ -d $$i ]; then \
+ if [ -d $$i -a -f $$i/Makefile ]; then \
echo; echo " cd $$i; $(MAKE) $(MFLAGS) install"; \
( cd $$i; $(MAKE) $(MFLAGS) install ); \
if test $$? != 0 ; then exit 1; fi ; \