Index: Makefile
===================================================================
RCS file: /cvsroot/abi/src/Makefile,v
retrieving revision 1.45
diff -r1.45 Makefile
25a26,27
> REQUIREREALCLEAN=		clean_ABI_ clean_ZLIB_ clean_LIBPNG_ clean_LIBWV_ clean_LIBICONV_
> 
38,39c40
< realclean::
< 	rm -rf $(OUTDIR) $(DIST)
---
> realclean:: $(REQUIREREALCLEAN)
176a178,206
> 
> #################################################################
> 
> clean_ZLIB_:
> 	@if [ -d $(ABI_ROOT)/../zlib ]; then		\
> 		$(MAKE) -C $(ABI_ROOT)/../zlib clean;	\
> 	fi
> 
> clean_LIBPNG_:
> 	@if [ -d $(ABI_ROOT)/../libpng ]; then		\
> 		$(MAKE) -C $(ABI_ROOT)/../libpng clean;	\
> 	fi
> 
> # we have to make a realclean here so the configure script reruns
> # if no makefile exists, it is already clean
> clean_LIBWV_:
> 	@if [ -d $(ABI_ROOT)/../wv -a -f $(ABI_ROOT)/../wv/Makefile ]; then		\
> 		$(MAKE) -C $(ABI_ROOT)/../wv realclean;	\
> 	fi	
> 
> # we have to make a distclean here to ensure that the configure script reruns
> # if no makefile exists, it is already clean
> clean_LIBICONV_:
> 	@if [ -d $(ABI_ROOT)/../libiconv -a -f $(ABI_ROOT)/../libiconv/Makefile ]; then	\
> 		$(MAKE) -C $(ABI_ROOT)/../libiconv distclean;	\
> 	fi	
> 
> clean_ABI_:
> 	rm -rf $(OUTDIR) $(DIST)