Permalink
Browse files

Integration of -ng changes. Changes:

- added support for externally built modules,
- improved support for in-tree shared modules,
- fixed diversion bugs,
- configure displays some informative messages,
- faster static build
  (libtool isn't used anymore for compiling non-PIC objects),
- dependencies comparable to automake's without requiring GNU make or GCC,
- working make clean for non-GNU makes.
  • Loading branch information...
Sascha Schumann
Sascha Schumann committed Dec 30, 1999
1 parent 6bf3529 commit f2f8d38efa3ccbaa05affaf8fcab24786ef452de
Showing with 2,627 additions and 719 deletions.
  1. +0 −41 Makefile.am
  2. +54 −0 Makefile.in
  3. +152 −24 acinclude.m4
  4. +0 −49 build.mk
  5. +78 −0 build/build.mk
  6. +88 −0 build/build2.mk
  7. 0 { → build}/buildcheck.sh
  8. +51 −0 build/fastgen.sh
  9. +42 −0 build/library.mk
  10. +31 −0 build/ltlib.mk
  11. +91 −0 build/mkdep.perl
  12. +30 −0 build/program.mk
  13. +106 −0 build/rules.mk
  14. +114 −0 build/rules_pear.mk
  15. +707 −0 build/shtool
  16. +0 −56 build2.mk
  17. +1 −1 buildconf
  18. +112 −99 configure.in
  19. +0 −3 ext/Makefile.am
  20. +21 −0 ext/Makefile.in
  21. +0 −5 ext/apache/Makefile.am
  22. +10 −0 ext/apache/Makefile.in
  23. +0 −5 ext/aspell/Makefile.am
  24. +10 −0 ext/aspell/Makefile.in
  25. +0 −5 ext/bcmath/Makefile.am
  26. +11 −0 ext/bcmath/Makefile.in
  27. +0 −5 ext/cpdf/Makefile.am
  28. +10 −0 ext/cpdf/Makefile.in
  29. +0 −2 ext/cybercash/Makefile.am
  30. +10 −0 ext/cybercash/Makefile.in
  31. +0 −5 ext/dav/Makefile.am
  32. +10 −0 ext/dav/Makefile.in
  33. +0 −5 ext/db/Makefile.am
  34. +10 −0 ext/db/Makefile.in
  35. +4 −4 ext/db/config.m4
  36. +0 −6 ext/dba/Makefile.am
  37. +11 −0 ext/dba/Makefile.in
  38. +0 −3 ext/dbase/Makefile.am
  39. +10 −0 ext/dbase/Makefile.in
  40. +0 −3 ext/dbase/config.m4
  41. +0 −5 ext/domxml/Makefile.am
  42. +10 −0 ext/domxml/Makefile.in
  43. +0 −3 ext/ereg/regex/Makefile.am
  44. +10 −0 ext/ereg/regex/Makefile.in
  45. +10 −4 ext/ext_skel
  46. +0 −5 ext/fdf/Makefile.am
  47. +10 −0 ext/fdf/Makefile.in
  48. +0 −5 ext/filepro/Makefile.am
  49. +10 −0 ext/filepro/Makefile.in
  50. +0 −4 ext/ftp/Makefile.am
  51. +10 −0 ext/ftp/Makefile.in
  52. +0 −12 ext/gd/Makefile.am
  53. +13 −0 ext/gd/Makefile.in
  54. +2 −4 ext/gd/config.m4
  55. +0 −5 ext/gettext/Makefile.am
  56. +11 −0 ext/gettext/Makefile.in
  57. +0 −5 ext/hyperwave/Makefile.am
  58. +10 −0 ext/hyperwave/Makefile.in
  59. +0 −5 ext/icap/Makefile.am
  60. +10 −0 ext/icap/Makefile.in
  61. +0 −5 ext/imap/Makefile.am
  62. +10 −0 ext/imap/Makefile.in
  63. +0 −15 ext/informix/Makefile.am
  64. +21 −0 ext/informix/Makefile.in
  65. +4 −6 ext/informix/config.m4
  66. +0 −5 ext/interbase/Makefile.am
  67. +10 −0 ext/interbase/Makefile.in
  68. +12 −10 ext/{rpc/java/Makefile.am → java/Makefile.in}
  69. +6 −6 ext/java/config.m4
  70. +0 −5 ext/ldap/Makefile.am
  71. +11 −0 ext/ldap/Makefile.in
  72. +0 −5 ext/mcal/Makefile.am
  73. +10 −0 ext/mcal/Makefile.in
  74. +0 −5 ext/mcrypt/Makefile.am
  75. +10 −0 ext/mcrypt/Makefile.in
  76. +0 −5 ext/mhash/Makefile.am
  77. +10 −0 ext/mhash/Makefile.in
  78. +0 −5 ext/msql/Makefile.am
  79. +10 −0 ext/msql/Makefile.in
  80. +0 −13 ext/mysql/Makefile.am
  81. +12 −0 ext/mysql/Makefile.in
  82. +0 −3 ext/mysql/config.h.stub
  83. +4 −7 ext/mysql/config.m4
  84. +0 −5 ext/oci8/Makefile.am
  85. +10 −0 ext/oci8/Makefile.in
  86. +2 −2 ext/oci8/config.m4
  87. +0 −2 ext/odbc/Makefile.am
  88. +10 −0 ext/odbc/Makefile.in
  89. +7 −7 ext/odbc/config.m4
  90. +0 −4 ext/oracle/Makefile.am
  91. +10 −0 ext/oracle/Makefile.in
  92. +2 −2 ext/oracle/config.m4
  93. +0 −7 ext/pcre/Makefile.am
  94. +13 −0 ext/pcre/Makefile.in
  95. +4 −4 ext/pcre/config.m4
  96. +4 −4 ext/pcre/config0.m4
  97. +0 −2 ext/pcre/pcrelib/Makefile.am
  98. +11 −0 ext/pcre/pcrelib/Makefile.in
  99. +0 −5 ext/pdf/Makefile.am
  100. +11 −0 ext/pdf/Makefile.in
  101. +0 −13 ext/pgsql/Makefile.am
  102. +14 −0 ext/pgsql/Makefile.in
  103. +3 −5 ext/pgsql/config.m4
  104. +0 −5 ext/posix/Makefile.am
  105. +10 −0 ext/posix/Makefile.in
  106. +0 −5 ext/readline/Makefile.am
  107. +10 −0 ext/readline/Makefile.in
  108. +1 −1 ext/readline/config.m4
  109. +12 −10 ext/{java/Makefile.am → rpc/Makefile.in}
  110. +12 −10 ext/rpc/{Makefile.am → java/Makefile.in}
  111. +6 −6 ext/rpc/java/config.m4
  112. +0 −5 ext/session/Makefile.am
  113. +10 −0 ext/session/Makefile.in
  114. +0 −4 ext/session/config.h.stub
  115. +2 −2 ext/session/config.m4
  116. +0 −12 ext/snmp/Makefile.am
  117. +13 −0 ext/snmp/Makefile.in
  118. +3 −5 ext/snmp/config.m4
  119. +13 −6 ext/standard/{Makefile.am → Makefile.in}
  120. +2 −2 ext/standard/config.m4
  121. +0 −5 ext/sybase/Makefile.am
  122. +10 −0 ext/sybase/Makefile.in
  123. +0 −5 ext/sybase_ct/Makefile.am
  124. +10 −0 ext/sybase_ct/Makefile.in
  125. +0 −5 ext/sysvsem/Makefile.am
  126. +10 −0 ext/sysvsem/Makefile.in
  127. +0 −5 ext/sysvshm/Makefile.am
  128. +10 −0 ext/sysvshm/Makefile.in
  129. +0 −5 ext/wddx/Makefile.am
  130. +10 −0 ext/wddx/Makefile.in
  131. +0 −12 ext/xml/Makefile.am
  132. +14 −0 ext/xml/Makefile.in
  133. +2 −4 ext/xml/config.m4
  134. +0 −5 ext/yp/Makefile.am
  135. +10 −0 ext/yp/Makefile.in
  136. +0 −5 ext/zlib/Makefile.am
  137. +10 −0 ext/zlib/Makefile.in
  138. +1 −1 main/internal_functions_win32.c
  139. +0 −10 pear/Makefile.am
  140. +89 −0 pear/Makefile.in
  141. +76 −0 pear/pear.m4
  142. +16 −0 pear/php-config.in
  143. +26 −0 pear/phpize.in
  144. +0 −3 regex/Makefile.am
  145. +10 −0 regex/Makefile.in
  146. +0 −3 sapi/Makefile.am
  147. +9 −0 sapi/Makefile.in
  148. +0 −3 sapi/aolserver/Makefile.am
  149. +10 −0 sapi/aolserver/Makefile.in
  150. +1 −1 sapi/aolserver/config.m4
  151. +0 −5 sapi/apache/Makefile.am
  152. +12 −0 sapi/apache/Makefile.in
  153. +9 −9 sapi/apache/config.m4
  154. +0 −3 sapi/cgi/Makefile.am
  155. +10 −0 sapi/cgi/Makefile.in
  156. +1 −1 sapi/cgi/config.m4
  157. +0 −4 sapi/isapi/Makefile.am
  158. +10 −0 sapi/isapi/Makefile.in
  159. +0 −2 sapi/phttpd/Makefile.am
  160. +10 −0 sapi/phttpd/Makefile.in
  161. +1 −1 sapi/phttpd/config.m4
  162. +0 −3 sapi/roxen/Makefile.am
  163. +10 −0 sapi/roxen/Makefile.in
  164. +11 −6 sapi/servlet/{Makefile.am → Makefile.in}
  165. +1 −1 sapi/servlet/config.m4
  166. +0 −2 sapi/thttpd/Makefile.am
  167. +10 −0 sapi/thttpd/Makefile.in
  168. +6 −2 sapi/thttpd/config.m4
  169. +7 −0 snapshot
View
@@ -1,41 +0,0 @@
-AUTOMAKE_OPTIONS = foreign
-
-ZEND_DIR = $(srcdir)/Zend
-SUBDIRS = Zend ext sapi $(TSRM_DIR) $(REGEX_DIR) . $(PEAR_DIR)
-
-BUILDLDFLAGS = $(EXTRA_LDFLAGS) $(LDFLAGS)
-
-phptemp_LTLIBRARIES = libphp4.la
-libphp4_la_SOURCES = \
- main.c internal_functions.c snprintf.c php_sprintf.c \
- configuration-parser.y configuration-scanner.l request_info.c \
- safe_mode.c fopen-wrappers.c php_realpath.c alloca.c \
- php_ini.c SAPI.c rfc1867.c dlist.c php_content_types.c strlcpy.c \
- strlcat.c mergesort.c reentrancy.c
-
-libphp4_la_DEPENDENCIES = \
- Zend/libZend.la \
- sapi/$(PHP_SAPI)/libphpsapi_$(PHP_SAPI).la \
- $(REGEX_LIB) \
- $(EXT_LTLIBS) \
- $(TSRM_LIB)
-
-libphp4_la_LIBADD = $(libphp4_la_DEPENDENCIES) $(EXTRA_LIBS)
-
-libphp4_la_LDFLAGS = $(BUILDLDFLAGS) $(PHP_RPATHS)
-
-configuration-parser.h configuration-parser.c: configuration-parser.y
- $(YACC) -p cfg -v -d $< -o configuration-parser.c
-
-configuration-scanner.c: configuration-scanner.l
- $(LEX) -Pcfg -o$@ -i $<
-
-EXTRA_PROGRAMS = php
-
-noinst_PROGRAMS = $(PHP_PROGRAM)
-php_SOURCES = stub.c
-php_LDADD = libphp4.la
-php_LDFLAGS = -export-dynamic
-
-install-data-local:
- $(INSTALL_IT)
View
@@ -0,0 +1,54 @@
+
+DEPTH = .
+topsrcdir = @topsrcdir@
+srcdir = @srcdir@
+VPATH = @srcdir@
+
+ZEND_DIR = $(srcdir)/Zend
+SUBDIRS = Zend ext sapi $(TSRM_DIR) $(REGEX_DIR) . $(PEAR_DIR)
+
+LTLIBRARY_NAME = libphp4.la
+
+LTLIBRARY_SOURCES = \
+ main.c internal_functions.c snprintf.c php_sprintf.c \
+ configuration-parser.c configuration-scanner.c request_info.c \
+ safe_mode.c fopen-wrappers.c php_realpath.c alloca.c \
+ php_ini.c SAPI.c rfc1867.c dlist.c php_content_types.c strlcpy.c \
+ strlcat.c mergesort.c reentrancy.c
+
+LTLIBRARY_DEPENDENCIES = \
+ Zend/libZend.la \
+ sapi/$(PHP_SAPI)/libsapi.la \
+ $(REGEX_LIB) \
+ $(EXT_LTLIBS) \
+ $(TSRM_LIB)
+
+LTLIBRARY_LDFLAGS = -rpath $(phptempdir) $(EXTRA_LDFLAGS) $(LDFLAGS) $(PHP_RPATHS)
+LTLIBRARY_LIBADD = $(LTLIBRARY_DEPENDENCIES) $(EXTRA_LIBS)
+
+PROGRAM_NAME = $(PHP_PROGRAM)
+PROGRAM_SOURCES = stub.c
+PROGRAM_LDADD = libphp4.la
+PROGRAM_LDFLAGS = -export-dynamic
+PROGRAM_DEPENDENCIES = $(PROGRAM_LDADD)
+
+targets = $(LTLIBRARY_NAME) $(PROGRAM_NAME)
+
+install_targets = install-local install-modules
+
+include $(topsrcdir)/build/rules.mk
+include $(topsrcdir)/build/library.mk
+include $(topsrcdir)/build/program.mk
+
+install-local:
+ @$(LIBTOOL) --silent --mode=install install libphp4.la $(phptempdir)/libphp4.la >/dev/null 2>&1
+ -@$(mkinstalldirs) $(bindir)
+ $(INSTALL_IT)
+
+configuration-parser.h configuration-parser.c: configuration-parser.y
+ $(YACC) -p cfg -v -d $< -o configuration-parser.c
+
+configuration-scanner.c: configuration-scanner.l
+ $(LEX) -Pcfg -o$@ -i $<
+
+.NOEXPORT:
View
@@ -2,6 +2,126 @@ dnl $Id$
dnl
dnl This file contains local autoconf functions.
+AC_DEFUN(PHP_SUBST,[
+ PHP_VAR_SUBST="$PHP_VAR_SUBST $1"
+ AC_SUBST($1)
+])
+
+AC_DEFUN(PHP_FAST_OUTPUT,[
+ PHP_FAST_OUTPUT_FILES="$PHP_FAST_OUTPUT_FILES $1"
+])
+
+AC_DEFUN(PHP_MKDIR_P_CHECK,[
+ AC_CACHE_CHECK(for working mkdir -p, ac_cv_mkdir_p,[
+ test -d conftestdir && rm -rf conftestdir
+ mkdir -p conftestdir/somedir >/dev/null 2>&1
+ if test -d conftestdir/somedir; then
+ ac_cv_mkdir_p=yes
+ else
+ ac_cv_mkdir_p=no
+ fi
+ rm -rf conftestdir
+ ])
+])
+
+AC_DEFUN(PHP_FAST_GENERATE,[
+ PHP_MKDIR_P_CHECK
+ echo creating config_vars.mk
+ > config_vars.mk
+ for i in $PHP_VAR_SUBST; do
+ eval echo "$i = \$$i" >> config_vars.mk
+ done
+ $SHELL $srcdir/build/fastgen.sh $srcdir $ac_cv_mkdir_p $PHP_FAST_OUTPUT_FILES
+])
+
+AC_DEFUN(PHP_TM_GMTOFF,[
+AC_CACHE_CHECK([for tm_gmtoff in struct tm], ac_cv_struct_tm_gmtoff,
+[AC_TRY_COMPILE([#include <sys/types.h>
+#include <$ac_cv_struct_tm>], [struct tm tm; tm.tm_gmtoff;],
+ ac_cv_struct_tm_gmtoff=yes, ac_cv_struct_tm_gmtoff=no)])
+
+if test "$ac_cv_struct_tm_gmtoff" = yes; then
+ AC_DEFINE(HAVE_TM_GMTOFF)
+fi
+])
+
+dnl PHP_CONFIGURE_PART(MESSAGE)
+dnl Idea borrowed from mm
+AC_DEFUN(PHP_CONFIGURE_PART,[
+ AC_MSG_RESULT()
+ AC_MSG_RESULT(${T_MD}$1${T_ME})
+])
+
+AC_DEFUN(PHP_PROG_SENDMAIL,[
+AC_PATH_PROG(PROG_SENDMAIL, sendmail, /usr/lib/sendmail, $PATH /usr/bin /usr/sbin /usr/etc /etc /usr/ucblib)
+if test -n "$PROG_SENDMAIL"; then
+ AC_DEFINE(HAVE_SENDMAIL)
+fi
+])
+
+AC_DEFUN(PHP_RUNPATH_SWITCH,[
+dnl check for -R, etc. switch
+AC_MSG_CHECKING(if compiler supports -R)
+AC_CACHE_VAL(php_cv_cc_dashr,[
+ SAVE_LIBS="${LIBS}"
+ LIBS="-R /usr/lib ${LIBS}"
+ AC_TRY_LINK([], [], php_cv_cc_dashr=yes, php_cv_cc_dashr=no)
+ LIBS="${SAVE_LIBS}"])
+AC_MSG_RESULT($php_cv_cc_dashr)
+if test $php_cv_cc_dashr = "yes"; then
+ ld_runpath_switch="-R"
+else
+ AC_MSG_CHECKING([if compiler supports -Wl,-rpath,])
+ AC_CACHE_VAL(php_cv_cc_rpath,[
+ SAVE_LIBS="${LIBS}"
+ LIBS="-Wl,-rpath,/usr/lib ${LIBS}"
+ AC_TRY_LINK([], [], php_cv_cc_rpath=yes, php_cv_cc_rpath=no)
+ LIBS="${SAVE_LIBS}"])
+ AC_MSG_RESULT($php_cv_cc_rpath)
+ if test $php_cv_cc_rpath = "yes"; then
+ ld_runpath_switch="-Wl,-rpath,"
+ else
+ dnl something innocuous
+ ld_runpath_switch="-L"
+ fi
+fi
+])
+
+AC_DEFUN(PHP_STRUCT_FLOCK,[
+AC_CACHE_CHECK(for struct flock,ac_cv_struct_flock,
+ AC_TRY_COMPILE([
+#include <unistd.h>
+#include <fcntl.h>
+ ],
+ [struct flock x;],
+ [
+ ac_cv_struct_flock=yes
+ ],[
+ ac_cv_struct_flock=no
+ ])
+)
+if test "$ac_cv_struct_flock" = "yes" ; then
+ AC_DEFINE(HAVE_STRUCT_FLOCK, 1)
+fi
+])
+
+AC_DEFUN(PHP_SOCKLEN_T,[
+AC_CACHE_CHECK(for socklen_t,ac_cv_socklen_t,
+ AC_TRY_COMPILE([
+#include <sys/types.h>
+#include <sys/socket.h>
+],[
+socklen_t x;
+],[
+ ac_cv_socklen_t=yes
+],[
+ ac_cv_socklen_t=no
+]))
+if test "$ac_cv_socklen_t" = "no"; then
+ AC_DEFINE(socklen_t, unsigned int)
+fi
+])
+
dnl
dnl PHP_SET_SYM_FILE(path)
dnl
@@ -176,7 +296,7 @@ if test "$REGEX_TYPE" = "php"; then
REGEX_DIR=regex
AC_DEFINE(HSREGEX)
AC_DEFINE(REGEX,1)
- PHP_OUTPUT(regex/Makefile)
+ PHP_FAST_OUTPUT(regex/Makefile)
elif test "$REGEX_TYPE" = "system"; then
AC_DEFINE(REGEX,0)
elif test "$REGEX_TYPE" = "apache"; then
@@ -186,9 +306,9 @@ fi
AC_MSG_CHECKING(which regex library to use)
AC_MSG_RESULT($REGEX_TYPE)
-AC_SUBST(REGEX_DIR)
-AC_SUBST(REGEX_LIB)
-AC_SUBST(HSREGEX)
+PHP_SUBST(REGEX_DIR)
+PHP_SUBST(REGEX_LIB)
+PHP_SUBST(HSREGEX)
])
dnl
@@ -209,17 +329,20 @@ dnl
dnl Check for broken sprintf()
dnl
AC_DEFUN(AC_BROKEN_SPRINTF,[
- AC_MSG_CHECKING([for broken sprintf])
- AC_TRY_RUN([main() { char buf[20]; exit (sprintf(buf,"testing 123")!=11); }],[
- AC_DEFINE(BROKEN_SPRINTF,0)
- AC_MSG_RESULT(ok)
- ],[
- AC_DEFINE(BROKEN_SPRINTF,1)
- AC_MSG_RESULT(broken)
- ],[
- AC_DEFINE(BROKEN_SPRINTF,0)
- AC_MSG_RESULT(cannot check, guessing ok)
+ AC_CACHE_CHECK(whether sprintf is broken, ac_cv_broken_sprintf,[
+ AC_TRY_RUN([main() {char buf[20];exit(sprintf(buf,"testing 123")!=11); }],[
+ ac_cv_broken_sprintf=no
+ ],[
+ ac_cv_broken_sprintf=yes
+ ],[
+ ac_cv_broken_sprintf=no
+ ])
])
+ if test "$ac_cv_broken_sprintf" = "yes"; then
+ AC_DEFINE(BROKEN_SPRINTF, 1)
+ else
+ AC_DEFINE(BROKEN_SPRINTF, 0)
+ fi
])
dnl
@@ -234,24 +357,24 @@ dnl
AC_DEFUN(PHP_EXTENSION,[
if test -d "$cwd/$srcdir/ext/$1" ; then
EXT_SUBDIRS="$EXT_SUBDIRS $1"
- if test "$2" != "shared" -a "$2" != "yes"; then
- _extlib="libphpext_$1.a"
- EXT_LTLIBS="$EXT_LTLIBS ext/$1/libphpext_$1.la"
+ if test "$2" != "shared" && test "$2" != "yes" && test -z "$php_always_shared"; then
+ _extlib="lib$1.a"
+ EXT_LTLIBS="$EXT_LTLIBS ext/$1/lib$1.la"
EXT_LIBS="$EXT_LIBS $1/$_extlib"
EXT_STATIC="$EXT_STATIC $1"
else
- AC_DEFINE_UNQUOTED(COMPILE_DL_`echo $1|tr a-z A-Z`, 1, Whether to build $1 as dynamic module)
+ AC_DEFINE_UNQUOTED([COMPILE_DL_]translit($1,a-z,A-Z), 1, Whether to build $1 as dynamic module)
EXT_SHARED="$EXT_SHARED $1"
fi
- PHP_OUTPUT(ext/$1/Makefile)
+ PHP_FAST_OUTPUT(ext/$1/Makefile)
fi
])
-AC_SUBST(EXT_SUBDIRS)
-AC_SUBST(EXT_STATIC)
-AC_SUBST(EXT_SHARED)
-AC_SUBST(EXT_LIBS)
-AC_SUBST(EXT_LTLIBS)
+PHP_SUBST(EXT_SUBDIRS)
+PHP_SUBST(EXT_STATIC)
+PHP_SUBST(EXT_SHARED)
+PHP_SUBST(EXT_LIBS)
+PHP_SUBST(EXT_LTLIBS)
dnl
dnl Solaris requires main code to be position independent in order
@@ -298,6 +421,9 @@ AC_DEFUN(PHP_WITH_SHARED,[
shared=no
;;
esac
+ if test -n "$php_always_shared"; then
+ shared=yes
+ fi
])
dnl The problem is that the default compilation flags in Solaris 2.6 won't
@@ -354,9 +480,11 @@ AC_DEFUN(AC_SOCKADDR_SA_LEN,[
])
])
+
dnl ## PHP_AC_OUTPUT(file)
dnl ## adds "file" to the list of files generated by AC_OUTPUT
dnl ## This macro can be used several times.
AC_DEFUN(PHP_OUTPUT,[
PHP_OUTPUT_FILES="$PHP_OUTPUT_FILES $1"
])
+
View
@@ -1,49 +0,0 @@
-# Makefile to generate build tools
-#
-# Standard usage:
-# make -f build.mk
-#
-# To prepare a self-contained distribution:
-# make -f build.mk dist
-#
-#
-# Written by Sascha Schumann
-#
-# $Id$
-
-
-SUBDIRS = Zend TSRM
-
-STAMP = buildmk.stamp
-
-ALWAYS = generated_lists
-
-all: $(STAMP) $(ALWAYS)
- @$(MAKE) -s -f build2.mk
-
-generated_lists:
- @echo makefile_am_files = Makefile.am Zend/Makefile.am \
- TSRM/Makefile.am `find ext sapi regex pear -name Makefile.am` > $@
- @echo config_h_files = Zend/acconfig.h TSRM/acconfig.h \
- ext/*/config.h.stub >> $@
- @echo config_m4_files = Zend/Zend.m4 TSRM/tsrm.m4 \
- Zend/acinclude.m4 ext/*/config.m4 sapi/*/config.m4 >> $@
-
-$(STAMP): buildcheck.sh
- @./buildcheck.sh && touch $(STAMP)
-
-dist:
- @rm -f $(SUBDIRS) 2>/dev/null || true
- @for i in $(SUBDIRS); do \
- test -d $$i || (test -d ../$$i && cp -rp ../$$i $$i); \
- done
- @find . -type l -exec rm {} \;
- $(MAKE) AMFLAGS=--copy -f build.mk
-
-cvsclean:
- @for i in `find . -follow -name .cvsignore`; do \
- (cd `dirname $$i` 2>/dev/null && (rm -f `cat .cvsignore` *.o *.a; rm -rf .libs .deps) || true); \
- done
- @rm -f $(SUBDIRS) 2>/dev/null || true
-
-.PHONY: $(ALWAYS)
Oops, something went wrong.

0 comments on commit f2f8d38

Please sign in to comment.