cvs: /php4/build rules.mk
| From: | Sascha Schumann | Date: | Thu, 30 Dec 1999 05:54:01 +0000 |
| Subject: | cvs: /php4/build rules.mk | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-8686@lists.php.net to get a copy of this message | ||
sas Thu Dec 30 00:54:01 1999 EDT
Modified files:
/php4/build rules.mk
Log:
Add distclean target
Index: php4/build/rules.mk
diff -u php4/build/rules.mk:1.1 php4/build/rules.mk:1.2
--- php4/build/rules.mk:1.1 Wed Dec 29 21:58:32 1999
+++ php4/build/rules.mk Thu Dec 30 00:53:27 1999
@@ -21,7 +21,7 @@
# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
##############################################################################
-# $Id: rules.mk,v 1.1 1999/12/30 02:58:32 sas Exp $
+# $Id: rules.mk,v 1.2 1999/12/30 05:53:27 sas Exp $
#
include $(DEPTH)/config_vars.mk
@@ -75,7 +75,7 @@
all: all-recursive $(targets)
-depend-recursive clean-recursive all-recursive install-recursive:
+distclean-recursive depend-recursive clean-recursive all-recursive install-recursive:
@target=
echo $@|sed s/-recursive//; \
if test '$(NO_RECURSION)' != "$$target"; then \
list='$(SUBDIRS)'; for i in $$list; do \
@@ -87,10 +87,16 @@
depend: depend-recursive
test "echo *.c" = '*.c' || perl $(top_srcdir)/build/mkdep.perl
$(CPP) $(INCLUDES) *.c > .deps
-clean: clean-recursive
+clean: clean-recursive clean-x
+
+clean-x:
rm -f $(targets) *.lo *.la *.o $(CLEANFILES)
rm -rf .libs
+distclean: distclean-recursive clean-x
+ rm -f config.cache config.log config.status config_vars.mk libtool \
+ php_config.h stamp-h Makefile build-defs.h php4.spec libphp4.module
+
install: install-recursive $(targets) $(install_targets)
install-modules:
@@ -103,4 +109,5 @@
include $(srcdir)/.deps
.PHONY: all-recursive clean-recursive install-recursive \
-$(install_targets) install all clean depend depend-recursive shared
+$(install_targets) install all clean depend depend-recursive shared \
+distclean-recursive distclean clean-x