From 5b31da9427d3d0383cb25f85e636244654dbf1b7 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 14 Jul 2005 01:11:40 +0000 Subject: r8440: - several build farm hosts were failing 'make clean' as the list of objects was overflowing their command line limits. Fix this by using a find -exec command. It's slower, but should be more portable. - remove generated ASN1 files in 'make clean' (This used to be commit da783f915865c8c5d2e02f927ebbf84719389655) --- source4/build/smb_build/makefile.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm index 337b3ae907f..013140298ca 100644 --- a/source4/build/smb_build/makefile.pm +++ b/source4/build/smb_build/makefile.pm @@ -548,13 +548,17 @@ proto_test: clean: delheaders @echo Removing objects - @-rm -f $(_ALL_OBJS_OBJS) + @-find . -name '*.o' -exec rm -f '{}' \; @echo Removing binaries @-rm -f bin/* @echo Removing dummy targets @-rm -f bin/.*_* @echo Removing generated files @-rm -rf librpc/gen_* + @echo Removing generated ASN1 files + @-find heimdal/lib/asn1 -name 'asn1_*.[xc]' -exec rm -f '{}' \; + @-find heimdal/lib/gssapi -name 'asn1_*.[xc]' -exec rm -f '{}' \; + @-find heimdal/lib/hdb -name 'asn1_*.[xc]' -exec rm -f '{}' \; distclean: clean -rm -f bin/.dummy -- cgit