diff --git a/build/rules_pear.mk b/build/rules_pear.mk index cd1a6764901..eefb9eb4b42 100644 --- a/build/rules_pear.mk +++ b/build/rules_pear.mk @@ -43,7 +43,7 @@ install-p: $(targets) $(install_targets) distclean-p depend-p clean-p: depend: depend-recursive - test "`echo *.c`" = '*.c' || perl $(top_srcdir)/build/mkdep.perl $(CPP) $(INCLUDES) $(EXTRA_INCLUDES) *.c > $(builddir)/.deps + @echo $(top_srcdir) $(top_builddir) $(srcdir) $(CPP) $(INCLUDES) $(EXTRA_INCLUDES) $(DEFS) $(CPPFLAGS) $(srcdir)/*.c *.c | awk -f $(top_srcdir)/build/mkdep.awk > $(builddir)/.deps || true clean: clean-recursive clean-x diff --git a/pear/Makefile.in b/pear/Makefile.in index c13aaba424b..111b9172493 100644 --- a/pear/Makefile.in +++ b/pear/Makefile.in @@ -52,6 +52,7 @@ BUILD_FILES = \ build/fastgen.sh \ build/library.mk \ build/ltlib.mk \ + build/mkdep.awk \ build/program.mk \ build/rules.mk \ build/rules_common.mk \ diff --git a/pear/phpize.in b/pear/phpize.in index 29531d13b10..33b5ad2cfb2 100644 --- a/pear/phpize.in +++ b/pear/phpize.in @@ -3,7 +3,7 @@ prefix='@prefix@' phpdir="$prefix/lib/php/build" builddir="`pwd`" -FILES_BUILD="dynlib.mk fastgen.sh library.mk ltlib.mk program.mk rules.mk rules_common.mk rules_pear.mk shtool" +FILES_BUILD="dynlib.mk fastgen.sh library.mk ltlib.mk mkdep.awk program.mk rules.mk rules_common.mk rules_pear.mk shtool" FILES="acinclude.m4 dynlib.m4" if test ! -r config.m4; then