From 5cba3a99c207c338b70e8bca7d434c975e5c5a4a Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Tue, 12 Mar 2002 16:44:00 +0000 Subject: [PATCH] extension converted automatically to PHP_NEW_EXTENSION. Manually confirmed --- ext/calendar/Makefile.in | 6 ------ ext/calendar/config.m4 | 2 +- ext/ccvs/Makefile.in | 8 -------- ext/ccvs/config.m4 | 2 +- ext/crack/Makefile.in | 8 -------- ext/crack/config.m4 | 2 +- ext/ctype/Makefile.in | 8 -------- ext/ctype/config.m4 | 2 +- ext/curl/Makefile.in | 7 ------- ext/curl/config.m4 | 2 +- ext/cybermut/Makefile.in | 8 -------- ext/cybermut/config.m4 | 2 +- ext/cyrus/Makefile.in | 8 -------- ext/cyrus/config.m4 | 2 +- ext/dba/Makefile.in | 8 -------- ext/dba/config.m4 | 2 +- ext/dbase/Makefile.in | 6 ------ ext/dbase/config.m4 | 2 +- ext/dbplus/Makefile.in | 8 -------- ext/dbplus/config.m4 | 2 +- ext/dbx/Makefile.in | 6 ------ ext/dbx/config.m4 | 2 +- ext/dio/Makefile.in | 8 -------- ext/dio/config.m4 | 2 +- ext/domxml/Makefile.in | 8 -------- ext/domxml/config.m4 | 2 +- ext/exif/Makefile.in | 7 ------- ext/exif/config.m4 | 2 +- ext/fbsql/Makefile.in | 10 ---------- ext/fbsql/config.m4 | 2 +- ext/fdf/Makefile.in | 7 ------- ext/fdf/config.m4 | 2 +- ext/filepro/Makefile.in | 6 ------ ext/filepro/config.m4 | 2 +- ext/fribidi/Makefile.in | 9 --------- ext/fribidi/config.m4 | 2 +- ext/ftp/Makefile.in | 6 ------ ext/ftp/config.m4 | 2 +- ext/gd/Makefile.in | 7 ------- ext/gd/config.m4 | 2 +- ext/gettext/Makefile.in | 7 ------- ext/gettext/config.m4 | 2 +- ext/gmp/Makefile.in | 9 --------- ext/gmp/config.m4 | 2 +- ext/icap/Makefile.in | 7 ------- ext/icap/config.m4 | 2 +- ext/imap/Makefile.in | 7 ------- ext/imap/config.m4 | 2 +- ext/informix/Makefile.in | 20 -------------------- ext/informix/config.m4 | 2 +- ext/ingres_ii/Makefile.in | 8 -------- ext/ingres_ii/config.m4 | 2 +- ext/interbase/Makefile.in | 6 ------ ext/interbase/config.m4 | 2 +- ext/ldap/Makefile.in | 7 ------- ext/ldap/config.m4 | 2 +- ext/mailparse/Makefile.in | 15 --------------- ext/mailparse/config.m4 | 2 +- ext/mbstring/Makefile.in | 7 ------- ext/mbstring/config.m4 | 2 +- ext/mcal/Makefile.in | 7 ------- ext/mcal/config.m4 | 2 +- ext/mcrypt/Makefile.in | 7 ------- ext/mcrypt/config.m4 | 2 +- ext/mcve/Makefile.in | 8 -------- ext/mcve/config.m4 | 2 +- ext/mhash/Makefile.in | 7 ------- ext/mhash/config.m4 | 2 +- ext/ming/Makefile.in | 8 -------- ext/ming/config.m4 | 2 +- ext/mnogosearch/Makefile.in | 9 --------- ext/mnogosearch/config.m4 | 2 +- ext/msession/Makefile.in | 11 ----------- ext/msession/config.m4 | 2 +- ext/msql/Makefile.in | 7 ------- ext/msql/config.m4 | 2 +- ext/muscat/Makefile.in | 7 ------- ext/muscat/config.m4 | 2 +- ext/oci8/Makefile.in | 6 ------ ext/oci8/config.m4 | 2 +- ext/openssl/Makefile.in | 7 ------- ext/openssl/config.m4 | 2 +- ext/oracle/Makefile.in | 6 ------ ext/oracle/config.m4 | 2 +- ext/overload/Makefile.in | 8 -------- ext/overload/config.m4 | 2 +- ext/ovrimos/Makefile.in | 7 ------- ext/ovrimos/config.m4 | 2 +- ext/pdf/Makefile.in | 7 ------- ext/pdf/config.m4 | 2 +- ext/pfpro/Makefile.in | 8 -------- ext/pfpro/config.m4 | 2 +- ext/pgsql/Makefile.in | 9 --------- ext/pgsql/config.m4 | 2 +- ext/posix/Makefile.in | 6 ------ ext/posix/config.m4 | 2 +- ext/pspell/Makefile.in | 7 ------- ext/pspell/config.m4 | 2 +- ext/qtdom/Makefile.in | 10 ---------- ext/qtdom/config.m4 | 4 ++-- ext/recode/Makefile.in | 7 ------- ext/recode/config.m4 | 2 +- ext/shmop/Makefile.in | 8 -------- ext/shmop/config.m4 | 2 +- ext/snmp/Makefile.in | 7 ------- ext/snmp/config.m4 | 2 +- ext/sockets/Makefile.in | 7 ------- ext/sockets/config.m4 | 2 +- ext/swf/Makefile.in | 7 ------- ext/swf/config.m4 | 2 +- ext/sybase/Makefile.in | 7 ------- ext/sybase/config.m4 | 2 +- ext/sybase_ct/Makefile.in | 8 -------- ext/sybase_ct/config.m4 | 2 +- ext/sysvsem/Makefile.in | 6 ------ ext/sysvsem/config.m4 | 2 +- ext/sysvshm/Makefile.in | 6 ------ ext/sysvshm/config.m4 | 2 +- ext/tokenizer/Makefile.in | 6 ------ ext/tokenizer/config.m4 | 2 +- ext/vpopmail/Makefile.in | 8 -------- ext/vpopmail/config.m4 | 2 +- ext/wddx/Makefile.in | 5 ----- ext/wddx/config.m4 | 2 +- ext/xslt/Makefile.in | 8 -------- ext/xslt/config.m4 | 2 +- ext/yaz/Makefile.in | 7 ------- ext/yaz/config.m4 | 2 +- ext/yp/Makefile.in | 6 ------ ext/yp/config.m4 | 2 +- ext/zip/Makefile.in | 8 -------- ext/zip/config.m4 | 2 +- 132 files changed, 67 insertions(+), 572 deletions(-) delete mode 100644 ext/calendar/Makefile.in delete mode 100644 ext/ccvs/Makefile.in delete mode 100644 ext/crack/Makefile.in delete mode 100644 ext/ctype/Makefile.in delete mode 100644 ext/curl/Makefile.in delete mode 100644 ext/cybermut/Makefile.in delete mode 100644 ext/cyrus/Makefile.in delete mode 100644 ext/dba/Makefile.in delete mode 100644 ext/dbase/Makefile.in delete mode 100644 ext/dbplus/Makefile.in delete mode 100644 ext/dbx/Makefile.in delete mode 100644 ext/dio/Makefile.in delete mode 100644 ext/domxml/Makefile.in delete mode 100644 ext/exif/Makefile.in delete mode 100644 ext/fbsql/Makefile.in delete mode 100644 ext/fdf/Makefile.in delete mode 100644 ext/filepro/Makefile.in delete mode 100644 ext/fribidi/Makefile.in delete mode 100644 ext/ftp/Makefile.in delete mode 100644 ext/gd/Makefile.in delete mode 100644 ext/gettext/Makefile.in delete mode 100644 ext/gmp/Makefile.in delete mode 100644 ext/icap/Makefile.in delete mode 100644 ext/imap/Makefile.in delete mode 100644 ext/informix/Makefile.in delete mode 100644 ext/ingres_ii/Makefile.in delete mode 100644 ext/interbase/Makefile.in delete mode 100644 ext/ldap/Makefile.in delete mode 100644 ext/mailparse/Makefile.in delete mode 100644 ext/mbstring/Makefile.in delete mode 100644 ext/mcal/Makefile.in delete mode 100644 ext/mcrypt/Makefile.in delete mode 100644 ext/mcve/Makefile.in delete mode 100644 ext/mhash/Makefile.in delete mode 100644 ext/ming/Makefile.in delete mode 100644 ext/mnogosearch/Makefile.in delete mode 100644 ext/msession/Makefile.in delete mode 100644 ext/msql/Makefile.in delete mode 100644 ext/muscat/Makefile.in delete mode 100644 ext/oci8/Makefile.in delete mode 100644 ext/openssl/Makefile.in delete mode 100644 ext/oracle/Makefile.in delete mode 100644 ext/overload/Makefile.in delete mode 100644 ext/ovrimos/Makefile.in delete mode 100644 ext/pdf/Makefile.in delete mode 100644 ext/pfpro/Makefile.in delete mode 100644 ext/pgsql/Makefile.in delete mode 100644 ext/posix/Makefile.in delete mode 100644 ext/pspell/Makefile.in delete mode 100644 ext/qtdom/Makefile.in delete mode 100644 ext/recode/Makefile.in delete mode 100644 ext/shmop/Makefile.in delete mode 100644 ext/snmp/Makefile.in delete mode 100644 ext/sockets/Makefile.in delete mode 100644 ext/swf/Makefile.in delete mode 100644 ext/sybase/Makefile.in delete mode 100644 ext/sybase_ct/Makefile.in delete mode 100644 ext/sysvsem/Makefile.in delete mode 100644 ext/sysvshm/Makefile.in delete mode 100644 ext/tokenizer/Makefile.in delete mode 100644 ext/vpopmail/Makefile.in delete mode 100644 ext/wddx/Makefile.in delete mode 100644 ext/xslt/Makefile.in delete mode 100644 ext/yaz/Makefile.in delete mode 100644 ext/yp/Makefile.in delete mode 100644 ext/zip/Makefile.in diff --git a/ext/calendar/Makefile.in b/ext/calendar/Makefile.in deleted file mode 100644 index d3452efb26..0000000000 --- a/ext/calendar/Makefile.in +++ /dev/null @@ -1,6 +0,0 @@ - -LTLIBRARY_NAME = libcalendar.la -LTLIBRARY_SOURCES = calendar.c dow.c french.c gregor.c jewish.c julian.c easter.c cal_unix.c -LTLIBRARY_SHARED_NAME = calendar.la - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/calendar/config.m4 b/ext/calendar/config.m4 index 96c3f96f68..a80101adbb 100644 --- a/ext/calendar/config.m4 +++ b/ext/calendar/config.m4 @@ -7,5 +7,5 @@ PHP_ARG_ENABLE(calendar,whether to enable calendar conversion support, if test "$PHP_CALENDAR" = "yes"; then AC_DEFINE(HAVE_CALENDAR,1,[ ]) - PHP_EXTENSION(calendar, $ext_shared) + PHP_NEW_EXTENSION(calendar, calendar.c dow.c french.c gregor.c jewish.c julian.c easter.c cal_unix.c, $ext_shared) fi diff --git a/ext/ccvs/Makefile.in b/ext/ccvs/Makefile.in deleted file mode 100644 index 133e50c9c6..0000000000 --- a/ext/ccvs/Makefile.in +++ /dev/null @@ -1,8 +0,0 @@ -# $Id$ - -LTLIBRARY_NAME = libccvs.la -LTLIBRARY_SOURCES = ccvs.c -LTLIBRARY_SHARED_NAME = ccvs.la -LTLIBRARY_SHARED_LIBADD = $(CCVS_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/ccvs/config.m4 b/ext/ccvs/config.m4 index fd39e3e136..5447a0d963 100644 --- a/ext/ccvs/config.m4 +++ b/ext/ccvs/config.m4 @@ -22,6 +22,6 @@ if test "$PHP_CCVS" != "no"; then PHP_ADD_INCLUDE($CCVS_DIR/include) PHP_ADD_LIBRARY_WITH_PATH(ccvs, $CCVS_DIR/lib, CCVS_SHARED_LIBADD) - PHP_EXTENSION(ccvs, $ext_shared) + PHP_NEW_EXTENSION(ccvs, ccvs.c, $ext_shared) PHP_SUBST(CCVS_SHARED_LIBADD) fi diff --git a/ext/crack/Makefile.in b/ext/crack/Makefile.in deleted file mode 100644 index db85e885ec..0000000000 --- a/ext/crack/Makefile.in +++ /dev/null @@ -1,8 +0,0 @@ -# $Id$ - -LTLIBRARY_NAME = libcrack.la -LTLIBRARY_SOURCES = crack.c -LTLIBRARY_SHARED_NAME = crack.la -LTLIBRARY_SHARED_LIBADD = $(CRACK_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/crack/config.m4 b/ext/crack/config.m4 index c3503f108d..d88ccb14bf 100644 --- a/ext/crack/config.m4 +++ b/ext/crack/config.m4 @@ -26,7 +26,7 @@ if test "$PHP_CRACK" != "no"; then PHP_ADD_INCLUDE($CRACK_INCLUDEDIR) PHP_ADD_LIBRARY_WITH_PATH(crack, $CRACK_LIBDIR, CRACK_SHARED_LIBADD) - PHP_EXTENSION(crack, $ext_shared) + PHP_NEW_EXTENSION(crack, crack.c, $ext_shared) PHP_SUBST(CRACK_SHARED_LIBADD) AC_DEFINE(HAVE_CRACK, 1, [ ]) fi diff --git a/ext/ctype/Makefile.in b/ext/ctype/Makefile.in deleted file mode 100644 index 940398455b..0000000000 --- a/ext/ctype/Makefile.in +++ /dev/null @@ -1,8 +0,0 @@ -# $Id$ - -LTLIBRARY_NAME = libctype.la -LTLIBRARY_SOURCES = ctype.c -LTLIBRARY_SHARED_NAME = ctype.la -LTLIBRARY_SHARED_LIBADD = $(CTYPE_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/ctype/config.m4 b/ext/ctype/config.m4 index d4ae56b92e..7d575a3adc 100644 --- a/ext/ctype/config.m4 +++ b/ext/ctype/config.m4 @@ -7,5 +7,5 @@ PHP_ARG_ENABLE(ctype, whether to enable ctype functions, if test "$PHP_CTYPE" != "no"; then AC_DEFINE(HAVE_CTYPE, 1, [ ]) - PHP_EXTENSION(ctype, $ext_shared) + PHP_NEW_EXTENSION(ctype, ctype.c, $ext_shared) fi diff --git a/ext/curl/Makefile.in b/ext/curl/Makefile.in deleted file mode 100644 index 1e32fad8a2..0000000000 --- a/ext/curl/Makefile.in +++ /dev/null @@ -1,7 +0,0 @@ - -LTLIBRARY_NAME = libcurl.la -LTLIBRARY_SOURCES = curl.c -LTLIBRARY_SHARED_NAME = curl.la -LTLIBRARY_SHARED_LIBADD = $(CURL_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/curl/config.m4 b/ext/curl/config.m4 index 29543baef3..151a40a21f 100644 --- a/ext/curl/config.m4 +++ b/ext/curl/config.m4 @@ -57,6 +57,6 @@ if test "$PHP_CURL" != "no"; then $CURL_LIBS -L$CURL_DIR/lib ]) - PHP_EXTENSION(curl, $ext_shared) + PHP_NEW_EXTENSION(curl, curl.c, $ext_shared) PHP_SUBST(CURL_SHARED_LIBADD) fi diff --git a/ext/cybermut/Makefile.in b/ext/cybermut/Makefile.in deleted file mode 100644 index 6344d0f4d1..0000000000 --- a/ext/cybermut/Makefile.in +++ /dev/null @@ -1,8 +0,0 @@ -# $Id$ - -LTLIBRARY_NAME = libcybermut.la -LTLIBRARY_SOURCES = cybermut.c -LTLIBRARY_SHARED_NAME = cybermut.la -LTLIBRARY_SHARED_LIBADD = $(CYBERMUT_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/cybermut/config.m4 b/ext/cybermut/config.m4 index cfd56c5a38..e4f06b200c 100644 --- a/ext/cybermut/config.m4 +++ b/ext/cybermut/config.m4 @@ -44,5 +44,5 @@ if test "$PHP_CYBERMUT" != "no"; then AC_DEFINE(HAVE_CYBERMUT, 1, [ ]) - PHP_EXTENSION(cybermut, $ext_shared) + PHP_NEW_EXTENSION(cybermut, cybermut.c, $ext_shared) fi diff --git a/ext/cyrus/Makefile.in b/ext/cyrus/Makefile.in deleted file mode 100644 index 8d09befebb..0000000000 --- a/ext/cyrus/Makefile.in +++ /dev/null @@ -1,8 +0,0 @@ -# $Id$ - -LTLIBRARY_NAME = libcyrus.la -LTLIBRARY_SOURCES = cyrus.c -LTLIBRARY_SHARED_NAME = cyrus.la -LTLIBRARY_SHARED_LIBADD = $(CYRUS_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/cyrus/config.m4 b/ext/cyrus/config.m4 index bab48776bf..5bc12fdaf4 100644 --- a/ext/cyrus/config.m4 +++ b/ext/cyrus/config.m4 @@ -43,5 +43,5 @@ if test "$PHP_CYRUS" != "no"; then AC_DEFINE(HAVE_CYRUS,1,[ ]) - PHP_EXTENSION(cyrus, $ext_shared) + PHP_NEW_EXTENSION(cyrus, cyrus.c, $ext_shared) fi diff --git a/ext/dba/Makefile.in b/ext/dba/Makefile.in deleted file mode 100644 index b26ec1b92b..0000000000 --- a/ext/dba/Makefile.in +++ /dev/null @@ -1,8 +0,0 @@ - -LTLIBRARY_NAME = libdba.la -LTLIBRARY_SOURCES = dba.c dba_cdb.c dba_db2.c dba_dbm.c dba_gdbm.c \ - dba_ndbm.c dba_db3.c -LTLIBRARY_SHARED_NAME = dba.la -LTLIBRARY_SHARED_LIBADD = $(DBA_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/dba/config.m4 b/ext/dba/config.m4 index 86c7be00fd..b3eece0e30 100644 --- a/ext/dba/config.m4 +++ b/ext/dba/config.m4 @@ -226,7 +226,7 @@ AC_MSG_CHECKING(whether to enable DBA interface) if test "$HAVE_DBA" = "1"; then AC_MSG_RESULT(yes) AC_DEFINE(HAVE_DBA, 1, [ ]) - PHP_EXTENSION(dba,$ext_shared) + PHP_NEW_EXTENSION(dba, dba.c dba_cdb.c dba_db2.c dba_dbm.c dba_gdbm.c dba_ndbm.c dba_db3.c, $ext_shared) PHP_SUBST(DBA_SHARED_LIBADD) else AC_MSG_RESULT(no) diff --git a/ext/dbase/Makefile.in b/ext/dbase/Makefile.in deleted file mode 100644 index 780cf37fda..0000000000 --- a/ext/dbase/Makefile.in +++ /dev/null @@ -1,6 +0,0 @@ - -LTLIBRARY_NAME = libdbase.la -LTLIBRARY_SOURCES = dbf_head.c dbf_rec.c dbf_misc.c dbf_ndx.c dbase.c -LTLIBRARY_SHARED_NAME = dbase.la - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/dbase/config.m4 b/ext/dbase/config.m4 index 2c65e18559..d19c24c779 100644 --- a/ext/dbase/config.m4 +++ b/ext/dbase/config.m4 @@ -9,5 +9,5 @@ PHP_ARG_ENABLE(dbase,whether to enable dbase support, if test "$PHP_DBASE" = "yes"; then AC_DEFINE(DBASE,1,[ ]) - PHP_EXTENSION(dbase, $ext_shared) + PHP_NEW_EXTENSION(dbase, dbf_head.c dbf_rec.c dbf_misc.c dbf_ndx.c dbase.c, $ext_shared) fi diff --git a/ext/dbplus/Makefile.in b/ext/dbplus/Makefile.in deleted file mode 100644 index 6c6b0c9711..0000000000 --- a/ext/dbplus/Makefile.in +++ /dev/null @@ -1,8 +0,0 @@ -# $Id$ - -LTLIBRARY_NAME = libdbplus.la -LTLIBRARY_SOURCES = dbplus.c php_dbplus.c -LTLIBRARY_SHARED_NAME = dbplus.la -LTLIBRARY_SHARED_LIBADD = $(DBPLUS_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/dbplus/config.m4 b/ext/dbplus/config.m4 index dcf5bc0b54..c2322a1174 100644 --- a/ext/dbplus/config.m4 +++ b/ext/dbplus/config.m4 @@ -43,5 +43,5 @@ if test "$PHP_DBPLUS" != "no"; then PHP_ADD_LIBRARY_WITH_PATH(Dmacc, $DBPLUS_DIR/lib, DBPLUS_SHARED_LIBADD) PHP_ADD_LIBRARY_WITH_PATH(Dracc, $DBPLUS_DIR/lib, DBPLUS_SHARED_LIBADD) - PHP_EXTENSION(dbplus, $ext_shared) + PHP_NEW_EXTENSION(dbplus, dbplus.c php_dbplus.c , $ext_shared) fi diff --git a/ext/dbx/Makefile.in b/ext/dbx/Makefile.in deleted file mode 100644 index db60a1fa8a..0000000000 --- a/ext/dbx/Makefile.in +++ /dev/null @@ -1,6 +0,0 @@ - -LTLIBRARY_NAME = libdbx.la -LTLIBRARY_SOURCES = dbx.c dbx_mysql.c dbx_odbc.c dbx_pgsql.c dbx_mssql.c dbx_fbsql.c dbx_oci8.c dbx_sybasect.c -LTLIBRARY_SHARED_NAME = dbx.la - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/dbx/config.m4 b/ext/dbx/config.m4 index 19fbbda70f..8c5dc11ba8 100644 --- a/ext/dbx/config.m4 +++ b/ext/dbx/config.m4 @@ -6,5 +6,5 @@ PHP_ARG_ENABLE(dbx,whether to enable dbx support, [ --enable-dbx Enable dbx]) if test "$PHP_DBX" != "no"; then - PHP_EXTENSION(dbx, $ext_shared) + PHP_NEW_EXTENSION(dbx, dbx.c dbx_mysql.c dbx_odbc.c dbx_pgsql.c dbx_mssql.c dbx_fbsql.c dbx_oci8.c dbx_sybasect.c, $ext_shared) fi diff --git a/ext/dio/Makefile.in b/ext/dio/Makefile.in deleted file mode 100644 index c9ac3faf74..0000000000 --- a/ext/dio/Makefile.in +++ /dev/null @@ -1,8 +0,0 @@ -# $Id$ - -LTLIBRARY_NAME = libdio.la -LTLIBRARY_SOURCES = dio.c -LTLIBRARY_SHARED_NAME = dio.la -LTLIBRARY_SHARED_LIBADD = $(DIO_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/dio/config.m4 b/ext/dio/config.m4 index 0250462e78..59d24229e1 100644 --- a/ext/dio/config.m4 +++ b/ext/dio/config.m4 @@ -6,5 +6,5 @@ PHP_ARG_ENABLE(dio, whether to enable direct I/O support, [ --enable-dio Enable direct I/O support]) if test "$PHP_DIO" != "no"; then - PHP_EXTENSION(dio, $ext_shared) + PHP_NEW_EXTENSION(dio, dio.c, $ext_shared) fi diff --git a/ext/domxml/Makefile.in b/ext/domxml/Makefile.in deleted file mode 100644 index 3b4b4c44a2..0000000000 --- a/ext/domxml/Makefile.in +++ /dev/null @@ -1,8 +0,0 @@ -# $Id$ - -LTLIBRARY_NAME = libdomxml.la -LTLIBRARY_SOURCES = php_domxml.c -LTLIBRARY_SHARED_NAME = domxml.la -LTLIBRARY_SHARED_LIBADD = $(DOMXML_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/domxml/config.m4 b/ext/domxml/config.m4 index 5487347b03..64556002f9 100644 --- a/ext/domxml/config.m4 +++ b/ext/domxml/config.m4 @@ -69,7 +69,7 @@ if test "$PHP_DOM" != "no"; then fi AC_DEFINE(HAVE_DOMXML,1,[ ]) - PHP_EXTENSION(domxml, $ext_shared) + PHP_NEW_EXTENSION(domxml, php_domxml.c, $ext_shared) PHP_SUBST(DOMXML_SHARED_LIBADD) fi diff --git a/ext/exif/Makefile.in b/ext/exif/Makefile.in deleted file mode 100644 index cfac66a574..0000000000 --- a/ext/exif/Makefile.in +++ /dev/null @@ -1,7 +0,0 @@ -# $Id$ - -LTLIBRARY_NAME = libexif.la -LTLIBRARY_SOURCES = exif.c -LTLIBRARY_SHARED_NAME = exif.la - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/exif/config.m4 b/ext/exif/config.m4 index 128d74be73..f1fcced897 100644 --- a/ext/exif/config.m4 +++ b/ext/exif/config.m4 @@ -7,5 +7,5 @@ PHP_ARG_ENABLE(exif, whether to enable EXIF support, if test "$PHP_EXIF" != "no"; then AC_DEFINE(HAVE_EXIF, 1, [Whether you want exif support]) - PHP_EXTENSION(exif, $ext_shared) + PHP_NEW_EXTENSION(exif, exif.c, $ext_shared) fi diff --git a/ext/fbsql/Makefile.in b/ext/fbsql/Makefile.in deleted file mode 100644 index 66bec05fac..0000000000 --- a/ext/fbsql/Makefile.in +++ /dev/null @@ -1,10 +0,0 @@ - -LTLIBRARY_NAME = libfbsql.la -LTLIBRARY_SOURCES = php_fbsql.c -LTLIBRARY_LIBADD = $(FBSQL_LIBADD) -LTLIBRARY_SHARED_NAME = fbsql.la -LTLIBRARY_SHARED_LIBADD = $(FBSQL_SHARED_LIBADD) - -SUBDIRS = $(FBSQL_SUBDIRS) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/fbsql/config.m4 b/ext/fbsql/config.m4 index c2559e7d6c..34dc9fcf6c 100644 --- a/ext/fbsql/config.m4 +++ b/ext/fbsql/config.m4 @@ -8,7 +8,7 @@ PHP_ARG_WITH(fbsql, for FrontBase SQL92 (fbsql) support, if test "$PHP_FBSQL" != "no"; then AC_DEFINE(HAVE_FBSQL, 1, [Whether you have FrontBase]) - PHP_EXTENSION(fbsql,$ext_shared) + PHP_NEW_EXTENSION(fbsql, php_fbsql.c, $ext_shared) FBSQL_INSTALLATION_DIR="" if test "$PHP_FBSQL" = "yes"; then diff --git a/ext/fdf/Makefile.in b/ext/fdf/Makefile.in deleted file mode 100644 index 49f3ad54b2..0000000000 --- a/ext/fdf/Makefile.in +++ /dev/null @@ -1,7 +0,0 @@ - -LTLIBRARY_NAME = libfdf.la -LTLIBRARY_SOURCES = fdf.c -LTLIBRARY_SHARED_NAME = fdf.la -LTLIBRARY_SHARED_LIBADD = $(FDFTK_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/fdf/config.m4 b/ext/fdf/config.m4 index b05770eeb6..c1ef0a81a3 100644 --- a/ext/fdf/config.m4 +++ b/ext/fdf/config.m4 @@ -32,5 +32,5 @@ if test "$PHP_FDFTK" != "no"; then PHP_ADD_LIBRARY_WITH_PATH($FDFLIBRARY, $FDFTK_DIR/lib, FDFTK_SHARED_LIBADD) PHP_SUBST(FDFTK_SHARED_LIBADD) - PHP_EXTENSION(fdf, $ext_shared) + PHP_NEW_EXTENSION(fdf, fdf.c, $ext_shared) fi diff --git a/ext/filepro/Makefile.in b/ext/filepro/Makefile.in deleted file mode 100644 index 8fe3a41a93..0000000000 --- a/ext/filepro/Makefile.in +++ /dev/null @@ -1,6 +0,0 @@ - -LTLIBRARY_NAME = libfilepro.la -LTLIBRARY_SOURCES = filepro.c -LTLIBRARY_SHARED_NAME = filepro.la - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/filepro/config.m4 b/ext/filepro/config.m4 index 8d7fb49e20..13f02c2125 100644 --- a/ext/filepro/config.m4 +++ b/ext/filepro/config.m4 @@ -9,5 +9,5 @@ PHP_ARG_ENABLE(filepro,whether to enable the bundled filePro support, if test "$PHP_FILEPRO" = "yes"; then AC_DEFINE(HAVE_FILEPRO, 1, [ ]) - PHP_EXTENSION(filepro, $ext_shared) + PHP_NEW_EXTENSION(filepro, filepro.c, $ext_shared) fi diff --git a/ext/fribidi/Makefile.in b/ext/fribidi/Makefile.in deleted file mode 100644 index d7dd435353..0000000000 --- a/ext/fribidi/Makefile.in +++ /dev/null @@ -1,9 +0,0 @@ -# $Id$ - -LTLIBRARY_NAME = libfribidi.la -LTLIBRARY_SOURCES = fribidi.c -LTLIBRARY_SHARED_NAME = fribidi.la -LTLIBRARY_SHARED_LIBADD = $(FRIBIDI_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk -EXTRA_INCLUDES = $(FRIBIDI_INCLUDE) diff --git a/ext/fribidi/config.m4 b/ext/fribidi/config.m4 index 381e800a25..f0cee962ff 100644 --- a/ext/fribidi/config.m4 +++ b/ext/fribidi/config.m4 @@ -71,7 +71,7 @@ dnl $PHP_FRIBIDI will be "yes" PHP_ADD_LIBRARY_WITH_PATH(fribidi,"$FRIBIDI_LIBDIR", FRIBIDI_SHARED_LIBADD) AC_DEFINE(HAVE_FRIBIDI, 1, [ ]) - PHP_EXTENSION(fribidi, $ext_shared) + PHP_NEW_EXTENSION(fribidi, fribidi.c, $ext_shared) PHP_SUBST(FRIBIDI_SHARED_LIBADD) else AC_MSG_RESULT([no]) diff --git a/ext/ftp/Makefile.in b/ext/ftp/Makefile.in deleted file mode 100644 index 169973b7e1..0000000000 --- a/ext/ftp/Makefile.in +++ /dev/null @@ -1,6 +0,0 @@ - -LTLIBRARY_NAME = libftp.la -LTLIBRARY_SOURCES = php_ftp.c ftp.c -LTLIBRARY_SHARED_NAME = ftp.la - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/ftp/config.m4 b/ext/ftp/config.m4 index d93860e6e6..3b5f3fd641 100644 --- a/ext/ftp/config.m4 +++ b/ext/ftp/config.m4 @@ -7,5 +7,5 @@ PHP_ARG_ENABLE(ftp,whether to enable FTP support, if test "$PHP_FTP" = "yes"; then AC_DEFINE(HAVE_FTP,1,[Whether you want FTP support]) - PHP_EXTENSION(ftp, $ext_shared) + PHP_NEW_EXTENSION(ftp, php_ftp.c ftp.c, $ext_shared) fi diff --git a/ext/gd/Makefile.in b/ext/gd/Makefile.in deleted file mode 100644 index c1b73be7fb..0000000000 --- a/ext/gd/Makefile.in +++ /dev/null @@ -1,7 +0,0 @@ - -LTLIBRARY_NAME = libgd.la -LTLIBRARY_SOURCES = gd.c gdcache.c gdttf.c gdt1.c -LTLIBRARY_SHARED_NAME = gd.la -LTLIBRARY_SHARED_LIBADD = $(GD_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/gd/config.m4 b/ext/gd/config.m4 index f2723db7b8..2cd37be17e 100644 --- a/ext/gd/config.m4 +++ b/ext/gd/config.m4 @@ -210,7 +210,7 @@ PHP_ARG_WITH(gd, for GD support, if test "$PHP_GD" != "no"; then - PHP_EXTENSION(gd, $ext_shared) + PHP_NEW_EXTENSION(gd, gd.c gdcache.c gdttf.c gdt1.c, $ext_shared) PHP_SUBST(GD_SHARED_LIBADD) dnl Various checks for GD features diff --git a/ext/gettext/Makefile.in b/ext/gettext/Makefile.in deleted file mode 100644 index 522c367c4d..0000000000 --- a/ext/gettext/Makefile.in +++ /dev/null @@ -1,7 +0,0 @@ - -LTLIBRARY_NAME = libgettext.la -LTLIBRARY_SOURCES = gettext.c -LTLIBRARY_SHARED_NAME = gettext.la -LTLIBRARY_SHARED_LIBADD = $(GETTEXT_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/gettext/config.m4 b/ext/gettext/config.m4 index d5d4578938..f4a6fc34e9 100644 --- a/ext/gettext/config.m4 +++ b/ext/gettext/config.m4 @@ -35,7 +35,7 @@ if test "$PHP_GETTEXT" != "no"; then LDFLAGS=$O_LDFLAGS AC_DEFINE(HAVE_LIBINTL,1,[ ]) - PHP_EXTENSION(gettext, $ext_shared) + PHP_NEW_EXTENSION(gettext, gettext.c, $ext_shared) PHP_SUBST(GETTEXT_SHARED_LIBADD) if test -n "$GETTEXT_LIBS"; then diff --git a/ext/gmp/Makefile.in b/ext/gmp/Makefile.in deleted file mode 100644 index 5a63346585..0000000000 --- a/ext/gmp/Makefile.in +++ /dev/null @@ -1,9 +0,0 @@ -# $Id$ - -LTLIBRARY_NAME = libgmp.la -LTLIBRARY_SOURCES = gmp.c -LTLIBRARY_SHARED_NAME = gmp.la -LTLIBRARY_LIBADD = $(GMP_LIBADD) -LTLIBRARY_SHARED_LIBADD = $(GMP_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/gmp/config.m4 b/ext/gmp/config.m4 index 2d32dd741e..bbc524c540 100644 --- a/ext/gmp/config.m4 +++ b/ext/gmp/config.m4 @@ -19,7 +19,7 @@ if test "$PHP_GMP" != "no"; then PHP_ADD_INCLUDE($GMP_DIR/include) - PHP_EXTENSION(gmp, $ext_shared) + PHP_NEW_EXTENSION(gmp, gmp.c, $ext_shared) AC_DEFINE(HAVE_GMP, 1, [ ]) PHP_ADD_LIBRARY_WITH_PATH(gmp, $GMP_DIR/lib) fi diff --git a/ext/icap/Makefile.in b/ext/icap/Makefile.in deleted file mode 100644 index 9e43d29867..0000000000 --- a/ext/icap/Makefile.in +++ /dev/null @@ -1,7 +0,0 @@ - -LTLIBRARY_NAME = libicap.la -LTLIBRARY_SOURCES = php_icap.c -LTLIBRARY_SHARED_NAME = icap.la -LTLIBRARY_SHARED_LIBADD = $(ICAP_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/icap/config.m4 b/ext/icap/config.m4 index 66db534c0f..8101656585 100644 --- a/ext/icap/config.m4 +++ b/ext/icap/config.m4 @@ -13,5 +13,5 @@ if test "$PHP_ICAP" != "no"; then PHP_SUBST(ICAP_SHARED_LIBADD) PHP_ADD_LIBRARY_WITH_PATH(icap, $ICAP_DIR, ICAP_SHARED_LIBADD) AC_DEFINE(HAVE_ICAP,1,[ ]) - PHP_EXTENSION(icap, $ext_shared) + PHP_NEW_EXTENSION(icap, php_icap.c, $ext_shared) fi diff --git a/ext/imap/Makefile.in b/ext/imap/Makefile.in deleted file mode 100644 index a1992ce9f3..0000000000 --- a/ext/imap/Makefile.in +++ /dev/null @@ -1,7 +0,0 @@ - -LTLIBRARY_NAME = libimap.la -LTLIBRARY_SOURCES = php_imap.c -LTLIBRARY_SHARED_NAME = imap.la -LTLIBRARY_SHARED_LIBADD = $(IMAP_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/imap/config.m4 b/ext/imap/config.m4 index d5b7c88ea6..75366732cb 100644 --- a/ext/imap/config.m4 +++ b/ext/imap/config.m4 @@ -111,7 +111,7 @@ PHP_ARG_WITH(imap,for IMAP support, if test "$PHP_IMAP" != "no"; then PHP_SUBST(IMAP_SHARED_LIBADD) - PHP_EXTENSION(imap, $ext_shared) + PHP_NEW_EXTENSION(imap, php_imap.c, $ext_shared) AC_DEFINE(HAVE_IMAP,1,[ ]) for i in /usr/local /usr $PHP_IMAP; do diff --git a/ext/informix/Makefile.in b/ext/informix/Makefile.in deleted file mode 100644 index b7eab2a2d2..0000000000 --- a/ext/informix/Makefile.in +++ /dev/null @@ -1,20 +0,0 @@ - -LTLIBRARY_NAME = libinformix.la -LTLIBRARY_SOURCES = ifx.c -LTLIBRARY_SHARED_NAME = informix.la -LTLIBRARY_SHARED_LIBADD = $(INFORMIX_SHARED_LIBADD) -CLEANFILES = ifx.c libphpifx.a - -include $(top_srcdir)/build/dynlib.mk - -ifx.c: $(srcdir)/ifx.ec - (if test -d $(INFORMIXDIR); then \ - THREADLIB=POSIX $(INFORMIXDIR)/bin/esql -e $(IFX_ESQL_FLAGS) $(srcdir)/ifx.ec; \ - else \ - touch ifx.c; \ - fi) - -libphpifx.a: - $(LINK) $(IFX_LIBOBJS) - -all: libphpifx.a diff --git a/ext/informix/config.m4 b/ext/informix/config.m4 index 5e5ea3b004..c00a9b29ce 100644 --- a/ext/informix/config.m4 +++ b/ext/informix/config.m4 @@ -8,7 +8,7 @@ PHP_ARG_WITH(informix,for Informix support, if test "$PHP_INFORMIX" != "no"; then - PHP_EXTENSION(informix, $ext_shared) + PHP_NEW_EXTENSION(informix, ifx.c, $ext_shared) PHP_SUBST(INFORMIX_SHARED_LIBADD) if test "$INFORMIXDIR" = ""; then diff --git a/ext/ingres_ii/Makefile.in b/ext/ingres_ii/Makefile.in deleted file mode 100644 index 827b44e649..0000000000 --- a/ext/ingres_ii/Makefile.in +++ /dev/null @@ -1,8 +0,0 @@ -# $Id$ - -LTLIBRARY_NAME = libingres_ii.la -LTLIBRARY_SOURCES = ii.c -LTLIBRARY_SHARED_NAME = ingres_ii.la -LTLIBRARY_SHARED_LIBADD = $(II_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/ingres_ii/config.m4 b/ext/ingres_ii/config.m4 index 40228d6359..3761714e00 100644 --- a/ext/ingres_ii/config.m4 +++ b/ext/ingres_ii/config.m4 @@ -8,7 +8,7 @@ PHP_ARG_WITH(ingres, for Ingres II support, if test "$PHP_INGRES" != "no"; then AC_DEFINE(HAVE_II, 1, [Whether you have Ingres II]) - PHP_EXTENSION(ingres_ii, $ext_shared) + PHP_NEW_EXTENSION(ingres_ii, ii.c, $ext_shared) PHP_SUBST(II_SHARED_LIBADD) if test "$PHP_INGRES" = "yes"; then diff --git a/ext/interbase/Makefile.in b/ext/interbase/Makefile.in deleted file mode 100644 index 5a847d7c32..0000000000 --- a/ext/interbase/Makefile.in +++ /dev/null @@ -1,6 +0,0 @@ -LTLIBRARY_NAME = libinterbase.la -LTLIBRARY_SOURCES = interbase.c -LTLIBRARY_SHARED_NAME = interbase.la -LTLIBRARY_SHARED_LIBADD = $(INTERBASE_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/interbase/config.m4 b/ext/interbase/config.m4 index 8a5997c901..a9898d2978 100644 --- a/ext/interbase/config.m4 +++ b/ext/interbase/config.m4 @@ -18,6 +18,6 @@ if test "$PHP_INTERBASE" != "no"; then PHP_ADD_INCLUDE($IBASE_INCDIR) AC_DEFINE(HAVE_IBASE,1,[ ]) dnl AC_CHECK_LIB(c, strptime, [AC_DEFINE(HAVE_STRPTIME,1,[])]) - PHP_EXTENSION(interbase, $ext_shared) + PHP_NEW_EXTENSION(interbase, interbase.c, $ext_shared) PHP_SUBST(INTERBASE_SHARED_LIBADD) fi diff --git a/ext/ldap/Makefile.in b/ext/ldap/Makefile.in deleted file mode 100644 index 6ca95599ff..0000000000 --- a/ext/ldap/Makefile.in +++ /dev/null @@ -1,7 +0,0 @@ - -LTLIBRARY_NAME = libldap.la -LTLIBRARY_SOURCES = ldap.c -LTLIBRARY_SHARED_NAME = ldap.la -LTLIBRARY_SHARED_LIBADD = $(LDAP_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/ldap/config.m4 b/ext/ldap/config.m4 index 470df1e08f..ab9de937e5 100644 --- a/ext/ldap/config.m4 +++ b/ext/ldap/config.m4 @@ -23,7 +23,7 @@ PHP_ARG_WITH(ldap,for LDAP support, if test "$PHP_LDAP" != "no"; then - PHP_EXTENSION(ldap,$ext_shared) + PHP_NEW_EXTENSION(ldap, ldap.c, $ext_shared) if test "$PHP_LDAP" = "yes"; then for i in /usr/local /usr; do diff --git a/ext/mailparse/Makefile.in b/ext/mailparse/Makefile.in deleted file mode 100644 index 72e38c7492..0000000000 --- a/ext/mailparse/Makefile.in +++ /dev/null @@ -1,15 +0,0 @@ -# $Id$ - -LTLIBRARY_NAME = libmailparse.la -LTLIBRARY_SOURCES = \ - mailparse.c rfc2045.c \ - rfc2045acchk.c rfc2045acprep.c \ - rfc2045appendurl.c rfc2045cdecode.c rfc2045decode.c \ - rfc2045find.c \ - rfc822.c rfc822_getaddr.c \ - rfc822_getaddrs.c - -LTLIBRARY_SHARED_NAME = mailparse.la -LTLIBRARY_SHARED_LIBADD = $(MAILPARSE_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/mailparse/config.m4 b/ext/mailparse/config.m4 index 29809d9ffd..b600c8dd01 100644 --- a/ext/mailparse/config.m4 +++ b/ext/mailparse/config.m4 @@ -10,5 +10,5 @@ if test "$PHP_MAILPARSE" != "no"; then AC_MSG_WARN(Activating mbstring) enable_mbstring=yes fi - PHP_EXTENSION(mailparse, $ext_shared) + PHP_NEW_EXTENSION(mailparse, mailparse.c rfc2045.c rfc2045acchk.c rfc2045acprep.c rfc2045appendurl.c rfc2045cdecode.c rfc2045decode.c rfc2045find.c rfc822.c rfc822_getaddr.c rfc822_getaddrs.c, $ext_shared) fi diff --git a/ext/mbstring/Makefile.in b/ext/mbstring/Makefile.in deleted file mode 100644 index 0b365b1bc2..0000000000 --- a/ext/mbstring/Makefile.in +++ /dev/null @@ -1,7 +0,0 @@ -# $Id$ - -LTLIBRARY_NAME = libmbstring.la -LTLIBRARY_SOURCES = mbfilter_ja.c mbfilter.c mbstring.c mbregex.c php_mbregex.c -LTLIBRARY_SHARED_NAME = mbstring.la - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/mbstring/config.m4 b/ext/mbstring/config.m4 index 875b8f928a..b96415736e 100644 --- a/ext/mbstring/config.m4 +++ b/ext/mbstring/config.m4 @@ -7,7 +7,7 @@ PHP_ARG_ENABLE(mbstring, whether to enable multibyte string support, if test "$PHP_MBSTRING" != "no"; then AC_DEFINE(HAVE_MBSTRING,1,[ ]) - PHP_EXTENSION(mbstring, $ext_shared) + PHP_NEW_EXTENSION(mbstring, mbfilter_ja.c mbfilter.c mbstring.c mbregex.c php_mbregex.c, $ext_shared) fi AC_MSG_CHECKING(whether to enable japanese encoding translation) diff --git a/ext/mcal/Makefile.in b/ext/mcal/Makefile.in deleted file mode 100644 index cda0b29b9e..0000000000 --- a/ext/mcal/Makefile.in +++ /dev/null @@ -1,7 +0,0 @@ - -LTLIBRARY_NAME = libmcal.la -LTLIBRARY_SOURCES = php_mcal.c -LTLIBRARY_SHARED_NAME = mcal.la -LTLIBRARY_SHARED_LIBADD = $(MCAL_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/mcal/config.m4 b/ext/mcal/config.m4 index 58e1b06035..ef796ef35e 100644 --- a/ext/mcal/config.m4 +++ b/ext/mcal/config.m4 @@ -45,6 +45,6 @@ if test "$PHP_MCAL" != "no"; then PHP_ADD_LIBRARY_WITH_PATH(mcal, $MCAL_LIBRARY, MCAL_SHARED_LIBADD) PHP_SUBST(MCAL_SHARED_LIBADD) AC_DEFINE(HAVE_MCAL,1,[ ]) - PHP_EXTENSION(mcal,$ext_shared) + PHP_NEW_EXTENSION(mcal, php_mcal.c, $ext_shared) fi diff --git a/ext/mcrypt/Makefile.in b/ext/mcrypt/Makefile.in deleted file mode 100644 index 5212cc69b7..0000000000 --- a/ext/mcrypt/Makefile.in +++ /dev/null @@ -1,7 +0,0 @@ - -LTLIBRARY_NAME = libmcrypt.la -LTLIBRARY_SOURCES = mcrypt.c -LTLIBRARY_SHARED_NAME = mcrypt.la -LTLIBRARY_SHARED_LIBADD = $(MCRYPT_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/mcrypt/config.m4 b/ext/mcrypt/config.m4 index 6d5f231267..bae44a3d4b 100644 --- a/ext/mcrypt/config.m4 +++ b/ext/mcrypt/config.m4 @@ -47,5 +47,5 @@ if test "$PHP_MCRYPT" != "no"; then AC_DEFINE(HAVE_LIBMCRYPT,1,[ ]) PHP_SUBST(MCRYPT_SHARED_LIBADD) - PHP_EXTENSION(mcrypt, $ext_shared) + PHP_NEW_EXTENSION(mcrypt, mcrypt.c, $ext_shared) fi diff --git a/ext/mcve/Makefile.in b/ext/mcve/Makefile.in deleted file mode 100644 index 30aaba8bda..0000000000 --- a/ext/mcve/Makefile.in +++ /dev/null @@ -1,8 +0,0 @@ -# $Id$ - -LTLIBRARY_NAME = libmcve.la -LTLIBRARY_SOURCES = mcve.c -LTLIBRARY_SHARED_NAME = mcve.la -LTLIBRARY_SHARED_LIBADD = $(MCVE_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/mcve/config.m4 b/ext/mcve/config.m4 index 62d4f7e391..6a5ad4eb73 100644 --- a/ext/mcve/config.m4 +++ b/ext/mcve/config.m4 @@ -20,6 +20,6 @@ if test "$PHP_MCVE" != "no"; then PHP_ADD_INCLUDE($MCVE_DIR/include) PHP_ADD_LIBRARY_WITH_PATH(mcve, $MCVE_DIR/lib, MCVE_SHARED_LIBADD) - PHP_EXTENSION(mcve, $ext_shared) + PHP_NEW_EXTENSION(mcve, mcve.c, $ext_shared) PHP_SUBST(MCVE_SHARED_LIBADD) fi diff --git a/ext/mhash/Makefile.in b/ext/mhash/Makefile.in deleted file mode 100644 index 2adac58bb7..0000000000 --- a/ext/mhash/Makefile.in +++ /dev/null @@ -1,7 +0,0 @@ - -LTLIBRARY_NAME = libmhash.la -LTLIBRARY_SOURCES = mhash.c -LTLIBRARY_SHARED_NAME = mhash.la -LTLIBRARY_SHARED_LIBADD = $(MHASH_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/mhash/config.m4 b/ext/mhash/config.m4 index f8cda29d57..e53bd28f61 100644 --- a/ext/mhash/config.m4 +++ b/ext/mhash/config.m4 @@ -21,5 +21,5 @@ if test "$PHP_MHASH" != "no"; then AC_DEFINE(HAVE_LIBMHASH,1,[ ]) - PHP_EXTENSION(mhash, $ext_shared) + PHP_NEW_EXTENSION(mhash, mhash.c, $ext_shared) fi diff --git a/ext/ming/Makefile.in b/ext/ming/Makefile.in deleted file mode 100644 index 41f432e52c..0000000000 --- a/ext/ming/Makefile.in +++ /dev/null @@ -1,8 +0,0 @@ -# $Id$ - -LTLIBRARY_NAME = libming.la -LTLIBRARY_SOURCES = ming.c -LTLIBRARY_SHARED_NAME = ming.la -LTLIBRARY_SHARED_LIBADD = $(MING_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/ming/config.m4 b/ext/ming/config.m4 index 1023204ffd..e5e45a11e8 100644 --- a/ext/ming/config.m4 +++ b/ext/ming/config.m4 @@ -27,6 +27,6 @@ if test "$PHP_MING" != "no"; then PHP_ADD_INCLUDE($MING_DIR/include) PHP_ADD_LIBRARY_WITH_PATH(ming, $MING_DIR/lib, MING_SHARED_LIBADD) - PHP_EXTENSION(ming, $ext_shared) + PHP_NEW_EXTENSION(ming, ming.c, $ext_shared) PHP_SUBST(MING_SHARED_LIBADD) fi diff --git a/ext/mnogosearch/Makefile.in b/ext/mnogosearch/Makefile.in deleted file mode 100644 index bccc75f79a..0000000000 --- a/ext/mnogosearch/Makefile.in +++ /dev/null @@ -1,9 +0,0 @@ -# $Source$ -# $Id$ - -LTLIBRARY_NAME = libmnogosearch.la -LTLIBRARY_SOURCES = php_mnogo.c -LTLIBRARY_SHARED_NAME = mnogosearch.la -LTLIBRARY_SHARED_LIBADD = $(MNOGOSEARCH_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/mnogosearch/config.m4 b/ext/mnogosearch/config.m4 index 6b9619fdf3..d029412440 100644 --- a/ext/mnogosearch/config.m4 +++ b/ext/mnogosearch/config.m4 @@ -49,6 +49,6 @@ PHP_ARG_WITH(mnogosearch,for mnoGoSearch support, AC_DEFINE(HAVE_MNOGOSEARCH,1,[ ]) PHP_SUBST(MNOGOSEARCH_SHARED_LIBADD) - PHP_EXTENSION(mnogosearch,$ext_shared) + PHP_NEW_EXTENSION(mnogosearch, php_mnogo.c, $ext_shared) fi diff --git a/ext/msession/Makefile.in b/ext/msession/Makefile.in deleted file mode 100644 index 3eaadc0991..0000000000 --- a/ext/msession/Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ -# $Id$ - -LTLIBRARY_NAME = libmsession.la -LTLIBRARY_SOURCES = msession.c -LTLIBRARY_SHARED_NAME = msession.la - -LTLIBRARY_SHARED_LIBADD = $(PHOENIX_LIB) - -EXTRA_INCLUDES = $(PHOENIX_INCLUDE) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/msession/config.m4 b/ext/msession/config.m4 index 55a00a7b6c..3cef3f94ec 100644 --- a/ext/msession/config.m4 +++ b/ext/msession/config.m4 @@ -29,6 +29,6 @@ if test "$PHP_MSESSION" != "no"; then PHOENIX_INCLUDE="-I$PHOENIX_DIR" PHP_SUBST(PHOENIX_LIB) - PHP_EXTENSION(msession, $ext_shared) + PHP_NEW_EXTENSION(msession, msession.c, $ext_shared) fi diff --git a/ext/msql/Makefile.in b/ext/msql/Makefile.in deleted file mode 100644 index ae6502dbc5..0000000000 --- a/ext/msql/Makefile.in +++ /dev/null @@ -1,7 +0,0 @@ - -LTLIBRARY_NAME = libmsql.la -LTLIBRARY_SOURCES = php_msql.c -LTLIBRARY_SHARED_NAME = msql.la -LTLIBRARY_SHARED_LIBADD = $(MSQL_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/msql/config.m4 b/ext/msql/config.m4 index e51d91602b..093dfa54e9 100644 --- a/ext/msql/config.m4 +++ b/ext/msql/config.m4 @@ -37,6 +37,6 @@ PHP_ARG_WITH(msql,for mSQL support, PHP_ADD_INCLUDE($MSQL_INCDIR) AC_DEFINE(HAVE_MSQL,1,[ ]) PHP_SUBST(MSQL_SHARED_LIBADD) - PHP_EXTENSION(msql,$ext_shared) + PHP_NEW_EXTENSION(msql, php_msql.c, $ext_shared) PHP_MSQL_VERSION fi diff --git a/ext/muscat/Makefile.in b/ext/muscat/Makefile.in deleted file mode 100644 index 94e193c550..0000000000 --- a/ext/muscat/Makefile.in +++ /dev/null @@ -1,7 +0,0 @@ - -LTLIBRARY_NAME = libmuscat.la -LTLIBRARY_SOURCES = muscat.c muscat_net.c -LTLIBRARY_SHARED_NAME = muscat.la -LTLIBRARY_SHARED_LIBADD = $(MUSCAT_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/muscat/config.m4 b/ext/muscat/config.m4 index 5dd3971132..bd2acab3e6 100644 --- a/ext/muscat/config.m4 +++ b/ext/muscat/config.m4 @@ -6,7 +6,7 @@ PHP_ARG_WITH(muscat, for Muscat support, [ --with-muscat[=DIR] Include Muscat support.]) if test "$PHP_MUSCAT" != "no"; then - PHP_EXTENSION(muscat, $ext_shared) + PHP_NEW_EXTENSION(muscat, muscat.c muscat_net.c, $ext_shared) for i in $PHP_MUSCAT /usr/local /usr /usr/local/empower /usr/local/empower/developer; do if test -f $i/include/Muscat.h; then MUSCAT_INCDIR=$i/include diff --git a/ext/oci8/Makefile.in b/ext/oci8/Makefile.in deleted file mode 100644 index 4e34b2fc13..0000000000 --- a/ext/oci8/Makefile.in +++ /dev/null @@ -1,6 +0,0 @@ -LTLIBRARY_NAME = liboci8.la -LTLIBRARY_SOURCES = oci8.c -LTLIBRARY_SHARED_NAME = oci8.la -LTLIBRARY_SHARED_LIBADD = $(OCI8_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/oci8/config.m4 b/ext/oci8/config.m4 index d831b58881..1b3e6d9ddf 100644 --- a/ext/oci8/config.m4 +++ b/ext/oci8/config.m4 @@ -77,7 +77,7 @@ if test "$PHP_OCI8" != "no"; then ;; esac - PHP_EXTENSION(oci8, $ext_shared) + PHP_NEW_EXTENSION(oci8, oci8.c, $ext_shared) AC_DEFINE(HAVE_OCI8,1,[ ]) PHP_SUBST_OLD(OCI8_SHARED_LIBADD) diff --git a/ext/openssl/Makefile.in b/ext/openssl/Makefile.in deleted file mode 100644 index 306e6c6890..0000000000 --- a/ext/openssl/Makefile.in +++ /dev/null @@ -1,7 +0,0 @@ -# $Id$ - -LTLIBRARY_NAME = libopenssl.la -LTLIBRARY_SOURCES = openssl.c -LTLIBRARY_SHARED_NAME = openssl.la - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/openssl/config.m4 b/ext/openssl/config.m4 index 73357a9a5f..3d61e86402 100644 --- a/ext/openssl/config.m4 +++ b/ext/openssl/config.m4 @@ -3,6 +3,6 @@ dnl $Id$ dnl if test "$OPENSSL_DIR"; then - PHP_EXTENSION(openssl, $ext_shared) + PHP_NEW_EXTENSION(openssl, openssl.c, $ext_shared) AC_DEFINE(HAVE_OPENSSL_EXT,1,[ ]) fi diff --git a/ext/oracle/Makefile.in b/ext/oracle/Makefile.in deleted file mode 100644 index dc9cb9a0bc..0000000000 --- a/ext/oracle/Makefile.in +++ /dev/null @@ -1,6 +0,0 @@ -LTLIBRARY_NAME = liboracle.la -LTLIBRARY_SOURCES = oracle.c -LTLIBRARY_SHARED_NAME = oracle.la -LTLIBRARY_SHARED_LIBADD = $(ORACLE_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/oracle/config.m4 b/ext/oracle/config.m4 index a167c0c4ce..d3283e18d3 100644 --- a/ext/oracle/config.m4 +++ b/ext/oracle/config.m4 @@ -151,7 +151,7 @@ if test "$PHP_ORACLE" != "no"; then ;; esac - PHP_EXTENSION(oracle, $ext_shared) + PHP_NEW_EXTENSION(oracle, oracle.c, $ext_shared) AC_DEFINE(HAVE_ORACLE,1,[ ]) PHP_SUBST_OLD(ORACLE_SHARED_LIBADD) diff --git a/ext/overload/Makefile.in b/ext/overload/Makefile.in deleted file mode 100644 index 0991be07fc..0000000000 --- a/ext/overload/Makefile.in +++ /dev/null @@ -1,8 +0,0 @@ -# $Id$ - -LTLIBRARY_NAME = liboverload.la -LTLIBRARY_SOURCES = overload.c -LTLIBRARY_SHARED_NAME = overload.la -LTLIBRARY_SHARED_LIBADD = $(OVERLOAD_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/overload/config.m4 b/ext/overload/config.m4 index a523c0e5ca..be0576ca28 100644 --- a/ext/overload/config.m4 +++ b/ext/overload/config.m4 @@ -7,5 +7,5 @@ PHP_ARG_ENABLE(overload,whether to enable user-space object overloading support, if test "$PHP_OVERLOAD" != "no"; then AC_DEFINE(HAVE_OVERLOAD, 1, [ ]) - PHP_EXTENSION(overload, $ext_shared) + PHP_NEW_EXTENSION(overload, overload.c, $ext_shared) fi diff --git a/ext/ovrimos/Makefile.in b/ext/ovrimos/Makefile.in deleted file mode 100644 index 31f5829165..0000000000 --- a/ext/ovrimos/Makefile.in +++ /dev/null @@ -1,7 +0,0 @@ - -LTLIBRARY_NAME = libovrimos.la -LTLIBRARY_SOURCES = ovrimos.c -LTLIBRARY_SHARED_NAME = ovrimos.la -LTLIBRARY_SHARED_LIBADD = $(OVRIMOS_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/ovrimos/config.m4 b/ext/ovrimos/config.m4 index d57a66e5af..b424664fb2 100644 --- a/ext/ovrimos/config.m4 +++ b/ext/ovrimos/config.m4 @@ -24,5 +24,5 @@ if test "$PHP_OVRIMOS" != "no"; then PHP_ADD_LIBRARY_WITH_PATH(sqlcli, $OVRIMOS_DIR/lib, OVRIMOS_SHARED_LIBADD) AC_DEFINE(HAVE_LIBSQLCLI,1,[ ]) - PHP_EXTENSION(ovrimos, $ext_shared) + PHP_NEW_EXTENSION(ovrimos, ovrimos.c, $ext_shared) fi diff --git a/ext/pdf/Makefile.in b/ext/pdf/Makefile.in deleted file mode 100644 index bec4579615..0000000000 --- a/ext/pdf/Makefile.in +++ /dev/null @@ -1,7 +0,0 @@ - -LTLIBRARY_NAME = libpdf.la -LTLIBRARY_SOURCES = pdf.c -LTLIBRARY_SHARED_NAME = pdf.la -LTLIBRARY_SHARED_LIBADD = $(PDFLIB_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/pdf/config.m4 b/ext/pdf/config.m4 index 1b13b86847..a41bffb235 100644 --- a/ext/pdf/config.m4 +++ b/ext/pdf/config.m4 @@ -7,7 +7,7 @@ PHP_ARG_WITH(pdflib,for PDFlib support, if test "$PHP_PDFLIB" != "no"; then - PHP_EXTENSION(pdf, $ext_shared) + PHP_NEW_EXTENSION(pdf, pdf.c, $ext_shared) PHP_SUBST(PDFLIB_SHARED_LIBADD) dnl # diff --git a/ext/pfpro/Makefile.in b/ext/pfpro/Makefile.in deleted file mode 100644 index cbe71b99dc..0000000000 --- a/ext/pfpro/Makefile.in +++ /dev/null @@ -1,8 +0,0 @@ -# $Id$ - -LTLIBRARY_NAME = libpfpro.la -LTLIBRARY_SOURCES = pfpro.c -LTLIBRARY_SHARED_NAME = pfpro.la -LTLIBRARY_SHARED_LIBADD = $(PFPRO_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/pfpro/config.m4 b/ext/pfpro/config.m4 index 9d25a0a34e..310bb1ff04 100644 --- a/ext/pfpro/config.m4 +++ b/ext/pfpro/config.m4 @@ -60,5 +60,5 @@ if test "$PHP_PFPRO" != "no"; then AC_DEFINE(HAVE_PFPRO, 1, [ ]) - PHP_EXTENSION(pfpro, $ext_shared) + PHP_NEW_EXTENSION(pfpro, pfpro.c, $ext_shared) fi diff --git a/ext/pgsql/Makefile.in b/ext/pgsql/Makefile.in deleted file mode 100644 index 58324d5d3c..0000000000 --- a/ext/pgsql/Makefile.in +++ /dev/null @@ -1,9 +0,0 @@ - -LTLIBRARY_NAME = libpgsql.la -LTLIBRARY_SOURCES = pgsql.c -LTLIBRARY_SHARED_NAME = pgsql.la -LTLIBRARY_SHARED_LIBADD = $(PGSQL_SHARED_LIBADD) - -EXTRA_INCLUDES = $(PGSQL_INCLUDE) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/pgsql/config.m4 b/ext/pgsql/config.m4 index 14096b0091..2c8f8d71a9 100644 --- a/ext/pgsql/config.m4 +++ b/ext/pgsql/config.m4 @@ -62,7 +62,7 @@ if test "$PHP_PGSQL" != "no"; then PHP_ADD_INCLUDE($PGSQL_INCLUDE) - PHP_EXTENSION(pgsql,$ext_shared) + PHP_NEW_EXTENSION(pgsql, pgsql.c, $ext_shared) fi diff --git a/ext/posix/Makefile.in b/ext/posix/Makefile.in deleted file mode 100644 index df96646962..0000000000 --- a/ext/posix/Makefile.in +++ /dev/null @@ -1,6 +0,0 @@ - -LTLIBRARY_NAME = libposix.la -LTLIBRARY_SOURCES = posix.c -LTLIBRARY_SHARED_NAME = posix.la - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/posix/config.m4 b/ext/posix/config.m4 index 41d98b5170..fc3767e98b 100644 --- a/ext/posix/config.m4 +++ b/ext/posix/config.m4 @@ -7,7 +7,7 @@ PHP_ARG_ENABLE(posix,whether to enable POSIX-like functions, if test "$PHP_POSIX" = "yes"; then AC_DEFINE(HAVE_POSIX, 1, [whether to include POSIX-like functions]) - PHP_EXTENSION(posix, $ext_shared) + PHP_NEW_EXTENSION(posix, posix.c, $ext_shared) AC_CHECK_FUNCS(seteuid setegid setsid getsid setpgid getpgid ctermid mkfifo getrlimit) fi diff --git a/ext/pspell/Makefile.in b/ext/pspell/Makefile.in deleted file mode 100644 index 769b2f5e84..0000000000 --- a/ext/pspell/Makefile.in +++ /dev/null @@ -1,7 +0,0 @@ - -LTLIBRARY_NAME = libpspell.la -LTLIBRARY_SOURCES = pspell.c -LTLIBRARY_SHARED_NAME = pspell.la -LTLIBRARY_SHARED_LIBADD = $(PSPELL_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/pspell/config.m4 b/ext/pspell/config.m4 index 046f539307..9a2e95e9f6 100644 --- a/ext/pspell/config.m4 +++ b/ext/pspell/config.m4 @@ -6,7 +6,7 @@ PHP_ARG_WITH(pspell,for PSPELL support, [ --with-pspell[=DIR] Include PSPELL support.]) if test "$PHP_PSPELL" != "no"; then - PHP_EXTENSION(pspell, $ext_shared) + PHP_NEW_EXTENSION(pspell, pspell.c, $ext_shared) if test "$PHP_PSPELL" != "yes"; then PSPELL_SEARCH_DIRS=$PHP_PSPELL else diff --git a/ext/qtdom/Makefile.in b/ext/qtdom/Makefile.in deleted file mode 100644 index 1bbab4ad29..0000000000 --- a/ext/qtdom/Makefile.in +++ /dev/null @@ -1,10 +0,0 @@ -# $Id$ - -LTLIBRARY_NAME = libqtdom.la -LTLIBRARY_SOURCES = qtdom.c -LTLIBRARY_SOURCES_CPP = qtdom_qt.cpp -LTLIBRARY_SHARED_NAME = qtdom.la -LTLIBRARY_SHARED_LIBADD = $(QTDOM_SHARED_LIBADD) -LTLIBRARY_OBJECTS_X = $(LTLIBRARY_SOURCES_CPP:.cpp=.lo) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/qtdom/config.m4 b/ext/qtdom/config.m4 index 982a298a6f..059d7ca14c 100644 --- a/ext/qtdom/config.m4 +++ b/ext/qtdom/config.m4 @@ -15,14 +15,14 @@ case $withval in PHP_ADD_LIBRARY_WITH_PATH(qt, $QTDIR/lib) PHP_ADD_INCLUDE($QTDIR/include) AC_DEFINE(HAVE_QTDOM, 1, [Wheter you have qtdom]) - PHP_EXTENSION(qtdom, $ext_shared) + PHP_NEW_EXTENSION(qtdom, qtdom_qt.cpp, $ext_shared) PHP_REQUIRE_CXX elif test -f /usr/lib/qt2/include/qdom.h; then AC_MSG_RESULT(yes) PHP_ADD_LIBRARY(qt) PHP_ADD_INCLUDE(/usr/lib/qt2/include) AC_DEFINE(HAVE_QTDOM, 1, [Wheter you have qtdom]) - PHP_EXTENSION(qtdom, $ext_shared) + PHP_NEW_EXTENSION(qtdom, qtdom_qt.cpp, $ext_shared) PHP_REQUIRE_CXX else AC_MSG_RESULT(no) diff --git a/ext/recode/Makefile.in b/ext/recode/Makefile.in deleted file mode 100644 index fcf63e9e2a..0000000000 --- a/ext/recode/Makefile.in +++ /dev/null @@ -1,7 +0,0 @@ - -LTLIBRARY_NAME = librecode.la -LTLIBRARY_SOURCES = recode.c -LTLIBRARY_SHARED_NAME = recode.la -LTLIBRARY_SHARED_LIBADD = $(RECODE_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/recode/config.m4 b/ext/recode/config.m4 index 6723d807e7..82741018cf 100644 --- a/ext/recode/config.m4 +++ b/ext/recode/config.m4 @@ -59,5 +59,5 @@ recode_format_table(); AC_CHECK_HEADERS(stdbool.h) - PHP_EXTENSION(recode,$ext_shared) + PHP_NEW_EXTENSION(recode, recode.c, $ext_shared) fi diff --git a/ext/shmop/Makefile.in b/ext/shmop/Makefile.in deleted file mode 100644 index 0748ec799f..0000000000 --- a/ext/shmop/Makefile.in +++ /dev/null @@ -1,8 +0,0 @@ -# $Id$ - -LTLIBRARY_NAME = libshmop.la -LTLIBRARY_SOURCES = shmop.c -LTLIBRARY_SHARED_NAME = shmop.la -LTLIBRARY_SHARED_LIBADD = $(SHMOP_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/shmop/config.m4 b/ext/shmop/config.m4 index 1a9ca6adad..6c1709d715 100644 --- a/ext/shmop/config.m4 +++ b/ext/shmop/config.m4 @@ -4,5 +4,5 @@ PHP_ARG_ENABLE(shmop, whether to enable shmop support, if test "$PHP_SHMOP" != "no"; then AC_DEFINE(HAVE_SHMOP, 1, [ ]) - PHP_EXTENSION(shmop, $ext_shared) + PHP_NEW_EXTENSION(shmop, shmop.c, $ext_shared) fi diff --git a/ext/snmp/Makefile.in b/ext/snmp/Makefile.in deleted file mode 100644 index efd1ce6f33..0000000000 --- a/ext/snmp/Makefile.in +++ /dev/null @@ -1,7 +0,0 @@ - -LTLIBRARY_NAME = libsnmp.la -LTLIBRARY_SOURCES = snmp.c -LTLIBRARY_SHARED_NAME = snmp.la -LTLIBRARY_SHARED_LIBADD = $(SNMP_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/snmp/config.m4 b/ext/snmp/config.m4 index 8fdc0454f0..53ab48b86d 100644 --- a/ext/snmp/config.m4 +++ b/ext/snmp/config.m4 @@ -65,7 +65,7 @@ PHP_ARG_WITH(snmp,for SNMP support, PHP_ADD_INCLUDE($SNMP_INCDIR) PHP_ADD_LIBRARY_WITH_PATH(snmp, $SNMP_LIBDIR, SNMP_SHARED_LIBADD) - PHP_EXTENSION(snmp, $ext_shared) + PHP_NEW_EXTENSION(snmp, snmp.c, $ext_shared) PHP_SUBST(SNMP_SHARED_LIBADD) fi diff --git a/ext/sockets/Makefile.in b/ext/sockets/Makefile.in deleted file mode 100644 index acfca2cd39..0000000000 --- a/ext/sockets/Makefile.in +++ /dev/null @@ -1,7 +0,0 @@ -# $Id$ - -LTLIBRARY_NAME = libsockets.la -LTLIBRARY_SOURCES = sockets.c -LTLIBRARY_SHARED_NAME = sockets.la - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/sockets/config.m4 b/ext/sockets/config.m4 index 10cdae1229..debd7dbf75 100644 --- a/ext/sockets/config.m4 +++ b/ext/sockets/config.m4 @@ -11,5 +11,5 @@ if test "$PHP_SOCKETS" != "no"; then AC_CHECK_HEADERS(netdb.h netinet/tcp.h sys/un.h errno.h) AC_DEFINE(HAVE_SOCKETS, 1, [ ]) - PHP_EXTENSION(sockets, $ext_shared) + PHP_NEW_EXTENSION(sockets, sockets.c, $ext_shared) fi diff --git a/ext/swf/Makefile.in b/ext/swf/Makefile.in deleted file mode 100644 index fbeaf882f4..0000000000 --- a/ext/swf/Makefile.in +++ /dev/null @@ -1,7 +0,0 @@ - -LTLIBRARY_NAME = libswf.la -LTLIBRARY_SOURCES = swf.c -LTLIBRARY_SHARED_NAME = swf.la -LTLIBRARY_SHARED_LIBADD = $(SWF_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/swf/config.m4 b/ext/swf/config.m4 index 2815b18e7b..69f90e12a7 100644 --- a/ext/swf/config.m4 +++ b/ext/swf/config.m4 @@ -31,5 +31,5 @@ if test "$PHP_SWF" != "no"; then PHP_ADD_LIBRARY_WITH_PATH(swf, $SWF_DIR/lib, SWF_SHARED_LIBADD) AC_DEFINE(HAVE_SWF,1,[ ]) - PHP_EXTENSION(swf, $ext_shared) + PHP_NEW_EXTENSION(swf, swf.c, $ext_shared) fi diff --git a/ext/sybase/Makefile.in b/ext/sybase/Makefile.in deleted file mode 100644 index a51051d7d0..0000000000 --- a/ext/sybase/Makefile.in +++ /dev/null @@ -1,7 +0,0 @@ - -LTLIBRARY_NAME = libsybase.la -LTLIBRARY_SOURCES = php_sybase_db.c -LTLIBRARY_SHARED_NAME = php_sybase_db.la -LTLIBRARY_SHARED_LIBADD = $(SYBASE_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/sybase/config.m4 b/ext/sybase/config.m4 index a029bdb743..5d0c25f73f 100644 --- a/ext/sybase/config.m4 +++ b/ext/sybase/config.m4 @@ -17,7 +17,7 @@ if test "$PHP_SYBASE" != "no"; then fi PHP_ADD_INCLUDE($SYBASE_INCDIR) PHP_ADD_LIBRARY_WITH_PATH(sybdb, $SYBASE_LIBDIR, SYBASE_SHARED_LIBADD) - PHP_EXTENSION(sybase, $ext_shared) + PHP_NEW_EXTENSION(sybase, php_sybase_db.c, $ext_shared) AC_CHECK_LIB(dnet_stub, dnet_addr, [ PHP_ADD_LIBRARY_WITH_PATH(dnet_stub,,SYBASE_SHARED_LIBADD) AC_DEFINE(HAVE_LIBDNET_STUB,1,[ ]) diff --git a/ext/sybase_ct/Makefile.in b/ext/sybase_ct/Makefile.in deleted file mode 100644 index 54194fe6fd..0000000000 --- a/ext/sybase_ct/Makefile.in +++ /dev/null @@ -1,8 +0,0 @@ - -LTLIBRARY_NAME = libsybase_ct.la -LTLIBRARY_SOURCES = php_sybase_ct.c -LTLIBRARY_SHARED_NAME = sybase_ct.la -LTLIBRARY_SHARED_LIBADD = $(SYBASE_CT_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk - diff --git a/ext/sybase_ct/config.m4 b/ext/sybase_ct/config.m4 index 4a025d649d..eb8f529ca5 100644 --- a/ext/sybase_ct/config.m4 +++ b/ext/sybase_ct/config.m4 @@ -8,7 +8,7 @@ PHP_ARG_WITH(sybase-ct, for Sybase-CT support, if test "$PHP_SYBASE_CT" != "no"; then AC_DEFINE(HAVE_SYBASE_CT,1,[ ]) - PHP_EXTENSION(sybase_ct,$ext_shared) + PHP_NEW_EXTENSION(sybase_ct, php_sybase_ct.c, $ext_shared) PHP_SUBST(SYBASE_CT_SHARED_LIBADD) if test "$PHP_SYBASE_CT" = "yes"; then diff --git a/ext/sysvsem/Makefile.in b/ext/sysvsem/Makefile.in deleted file mode 100644 index e5578288d7..0000000000 --- a/ext/sysvsem/Makefile.in +++ /dev/null @@ -1,6 +0,0 @@ - -LTLIBRARY_NAME = libsysvsem.la -LTLIBRARY_SOURCES = sysvsem.c -LTLIBRARY_SHARED_NAME = sysvsem.la - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/sysvsem/config.m4 b/ext/sysvsem/config.m4 index 7900565361..0b635d6dde 100644 --- a/ext/sysvsem/config.m4 +++ b/ext/sysvsem/config.m4 @@ -6,7 +6,7 @@ PHP_ARG_ENABLE(sysvsem,whether to enable System V semaphore support, [ --enable-sysvsem Enable System V semaphore support.]) if test "$PHP_SYSVSEM" != "no"; then - PHP_EXTENSION(sysvsem, $ext_shared) + PHP_NEW_EXTENSION(sysvsem, sysvsem.c, $ext_shared) AC_DEFINE(HAVE_SYSVSEM, 1, [ ]) AC_CACHE_CHECK(for union semun,php_cv_semun, AC_TRY_COMPILE([ diff --git a/ext/sysvshm/Makefile.in b/ext/sysvshm/Makefile.in deleted file mode 100644 index 9039ca6648..0000000000 --- a/ext/sysvshm/Makefile.in +++ /dev/null @@ -1,6 +0,0 @@ - -LTLIBRARY_NAME = libsysvshm.la -LTLIBRARY_SOURCES = sysvshm.c -LTLIBRARY_SHARED_NAME = sysvshm.la - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/sysvshm/config.m4 b/ext/sysvshm/config.m4 index 6a20c79c93..671d050463 100644 --- a/ext/sysvshm/config.m4 +++ b/ext/sysvshm/config.m4 @@ -7,5 +7,5 @@ PHP_ARG_ENABLE(sysvshm,whether to enable System V shared memory support, if test "$PHP_SYSVSHM" != "no"; then AC_DEFINE(HAVE_SYSVSHM, 1, [ ]) - PHP_EXTENSION(sysvshm, $ext_shared) + PHP_NEW_EXTENSION(sysvshm, sysvshm.c, $ext_shared) fi diff --git a/ext/tokenizer/Makefile.in b/ext/tokenizer/Makefile.in deleted file mode 100644 index f6893c0879..0000000000 --- a/ext/tokenizer/Makefile.in +++ /dev/null @@ -1,6 +0,0 @@ -LTLIBRARY_NAME = libtokenizer.la -LTLIBRARY_SOURCES = tokenizer.c -LTLIBRARY_SHARED_NAME = tokenizer.la -LTLIBRARY_SHARED_LIBADD = $(TOKENIZER_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/tokenizer/config.m4 b/ext/tokenizer/config.m4 index 3779291688..5160a2d2bb 100644 --- a/ext/tokenizer/config.m4 +++ b/ext/tokenizer/config.m4 @@ -44,5 +44,5 @@ if test "$PHP_TOKENIZER" != "no"; then dnl PHP_SUBST(TOKENIZER_SHARED_LIBADD) dnl PHP_ADD_LIBRARY_WITH_PATH($LIBNAME, $TOKENIZER_DIR/lib, TOKENIZER_SHARED_LIBADD) - PHP_EXTENSION(tokenizer, $ext_shared) + PHP_NEW_EXTENSION(tokenizer, tokenizer.c, $ext_shared) fi diff --git a/ext/vpopmail/Makefile.in b/ext/vpopmail/Makefile.in deleted file mode 100644 index fbb38775d2..0000000000 --- a/ext/vpopmail/Makefile.in +++ /dev/null @@ -1,8 +0,0 @@ -# $Id$ - -LTLIBRARY_NAME = libvpopmail.la -LTLIBRARY_SOURCES = php_vpopmail.c -LTLIBRARY_SHARED_NAME = vpopmail.la -LTLIBRARY_SHARED_LIBADD = $(VPOPMAIL_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/vpopmail/config.m4 b/ext/vpopmail/config.m4 index b432495928..dbfe6ecf9e 100644 --- a/ext/vpopmail/config.m4 +++ b/ext/vpopmail/config.m4 @@ -58,5 +58,5 @@ if test "$PHP_VPOPMAIL" != "no"; then AC_DEFINE(HAVE_VPOPMAIL,1,[Whether you have vpopmail]) AC_DEFINE_UNQUOTED(VPOPMAIL_BIN_DIR,"$VPOPMAIL_BIN_DIR",[vpopmail bin path]) - PHP_EXTENSION(vpopmail, $ext_shared) + PHP_NEW_EXTENSION(vpopmail, php_vpopmail.c, $ext_shared) fi diff --git a/ext/wddx/Makefile.in b/ext/wddx/Makefile.in deleted file mode 100644 index a5ec87c5fb..0000000000 --- a/ext/wddx/Makefile.in +++ /dev/null @@ -1,5 +0,0 @@ - -LTLIBRARY_NAME = libwddx.la -LTLIBRARY_SOURCES = wddx.c - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/wddx/config.m4 b/ext/wddx/config.m4 index 4e9a5dc44e..856af34f52 100644 --- a/ext/wddx/config.m4 +++ b/ext/wddx/config.m4 @@ -11,5 +11,5 @@ if test "$PHP_WDDX" != "no"; then enable_xml=yes fi AC_DEFINE(HAVE_WDDX, 1, [ ]) - PHP_EXTENSION(wddx, $ext_shared) + PHP_NEW_EXTENSION(wddx, wddx.c, $ext_shared) fi diff --git a/ext/xslt/Makefile.in b/ext/xslt/Makefile.in deleted file mode 100644 index df6a07d830..0000000000 --- a/ext/xslt/Makefile.in +++ /dev/null @@ -1,8 +0,0 @@ -# $Id$ - -LTLIBRARY_NAME = libxslt.la -LTLIBRARY_SOURCES = xslt.c sablot.c -LTLIBRARY_SHARED_NAME = xslt.la -LTLIBRARY_SHARED_LIBADD = $(XSLT_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/xslt/config.m4 b/ext/xslt/config.m4 index 96af16d87d..42a82de97a 100644 --- a/ext/xslt/config.m4 +++ b/ext/xslt/config.m4 @@ -20,7 +20,7 @@ PHP_ARG_WITH(sablot-js, enable JavaScript for Sablotron, if test "$PHP_XSLT" != "no"; then - PHP_EXTENSION(xslt, $ext_shared) + PHP_NEW_EXTENSION(xslt, xslt.c sablot.c, $ext_shared) PHP_SUBST(XSLT_SHARED_LIBADD) if test "$PHP_XSLT_SABLOT" != "no"; then diff --git a/ext/yaz/Makefile.in b/ext/yaz/Makefile.in deleted file mode 100644 index 0df612ffa2..0000000000 --- a/ext/yaz/Makefile.in +++ /dev/null @@ -1,7 +0,0 @@ -LTLIBRARY_NAME = libyaz.la -LTLIBRARY_SOURCES = php_yaz.c -LTLIBRARY_SHARED_NAME = yaz.la -LTLIBRARY_SHARED_LIBADD = $(YAZ_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk - diff --git a/ext/yaz/config.m4 b/ext/yaz/config.m4 index 7d5fd86ec9..7c41a94d66 100644 --- a/ext/yaz/config.m4 +++ b/ext/yaz/config.m4 @@ -36,6 +36,6 @@ if test "$PHP_YAZ" != "no"; then PHP_ADD_LIBRARY_DEFER(yaz,1,YAZ_SHARED_LIBADD) PHP_EVAL_INCLINE($YAZINC) PHP_SUBST(YAZ_SHARED_LIBADD) - PHP_EXTENSION(yaz, $ext_shared) + PHP_NEW_EXTENSION(yaz, php_yaz.c, $ext_shared) fi fi diff --git a/ext/yp/Makefile.in b/ext/yp/Makefile.in deleted file mode 100644 index 42cfa1351c..0000000000 --- a/ext/yp/Makefile.in +++ /dev/null @@ -1,6 +0,0 @@ - -LTLIBRARY_NAME = libyp.la -LTLIBRARY_SOURCES = yp.c -LTLIBRARY_SHARED_NAME = yp.la - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/yp/config.m4 b/ext/yp/config.m4 index a597eadfab..f5f912bc58 100644 --- a/ext/yp/config.m4 +++ b/ext/yp/config.m4 @@ -7,7 +7,7 @@ PHP_ARG_ENABLE(yp,whether to include YP support, if test "$PHP_YP" != "no"; then AC_DEFINE(HAVE_YP,1,[ ]) - PHP_EXTENSION(yp, $ext_shared) + PHP_NEW_EXTENSION(yp, yp.c, $ext_shared) case $host_alias in *solaris*) AC_DEFINE(SOLARIS_YP,1,[ ]) ;; diff --git a/ext/zip/Makefile.in b/ext/zip/Makefile.in deleted file mode 100644 index b419edc3bd..0000000000 --- a/ext/zip/Makefile.in +++ /dev/null @@ -1,8 +0,0 @@ -# $Id$ - -LTLIBRARY_NAME = libzip.la -LTLIBRARY_SOURCES = zip.c -LTLIBRARY_SHARED_NAME = zip.la -LTLIBRARY_SHARED_LIBADD = $(ZIP_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/zip/config.m4 b/ext/zip/config.m4 index 08a647de38..f7ea725d94 100644 --- a/ext/zip/config.m4 +++ b/ext/zip/config.m4 @@ -6,7 +6,7 @@ PHP_ARG_WITH(zip,for ZIP support, [ --with-zip[=DIR] Include ZIP support (requires zziplib >= 0.10.6).]) if test "$PHP_ZIP" != "no"; then - PHP_EXTENSION(zip, $ext_shared) + PHP_NEW_EXTENSION(zip, zip.c, $ext_shared) for i in $PHP_ZIP /usr/local /usr ; do if test -f $i/include/zzlib/zziplib.h; then ZZIPLIB_DIR=$i -- 2.40.0