Apparently, Solaris 2.6's find is overwhelmed with more than 2 -names per

invocation (add some parantheses and it segfaults).  And thus, we split
the clean target up.
This commit is contained in:
Sascha Schumann 2002-09-30 04:42:11 +00:00
parent dbd1a45d70
commit 2405fcf38c

View File

@ -51,7 +51,9 @@ test: $(SAPI_CLI_PATH)
$(top_builddir)/$(SAPI_CLI_PATH) -c php.ini-dist $(top_srcdir)/run-tests.php $(TESTS) $(top_builddir)/$(SAPI_CLI_PATH) -c php.ini-dist $(top_srcdir)/run-tests.php $(TESTS)
clean: clean:
find . -name \*.lo -o -name \*.o -o -name \*.la -o -name \*.a -o -name \*.so| xargs rm -f find . -name \*.lo -o -name \*.o | xargs rm -f
find . -name \*.la -o -name \*.a | xargs rm -f
find . -name \*.so | xargs rm -f
find . -name .libs -a -type d|xargs rm -rf find . -name .libs -a -type d|xargs rm -rf
rm -f libphp4.la $(SAPI_CLI_PATH) $(OVERALL_TARGET) modules/* libs/* rm -f libphp4.la $(SAPI_CLI_PATH) $(OVERALL_TARGET) modules/* libs/*