summaryrefslogtreecommitdiff
path: root/ext/bcmath
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2002-03-07 14:20:02 +0000
committerSascha Schumann <sas@php.net>2002-03-07 14:20:02 +0000
commit9d9d39a0de3bec962c343051011f5a2ed7d7b242 (patch)
tree09eb178e4b55da1d73d059067a5ed96ecb2c6464 /ext/bcmath
parent0e17eea049ba7c77351d2166e89524388922ce80 (diff)
downloadphp-git-9d9d39a0de3bec962c343051011f5a2ed7d7b242.tar.gz
Please welcome the new build system.
If you encounter any problems, please make sure to email sas@php.net directly. An introduction can be found on http://schumann.cx/buildv5.txt
Diffstat (limited to 'ext/bcmath')
-rw-r--r--ext/bcmath/Makefile.in11
-rw-r--r--ext/bcmath/config.m411
-rw-r--r--ext/bcmath/libbcmath/Makefile.in9
-rw-r--r--ext/bcmath/libbcmath/src/Makefile.in7
4 files changed, 7 insertions, 31 deletions
diff --git a/ext/bcmath/Makefile.in b/ext/bcmath/Makefile.in
deleted file mode 100644
index e57936fd81..0000000000
--- a/ext/bcmath/Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
-
-LTLIBRARY_NAME = libbcmath.la
-LTLIBRARY_SOURCES = bcmath.c number.c
-LTLIBRARY_SHARED_NAME = bcmath.la
-LTLIBRARY_DEPENDENCIES = libbcmath/libbcmath.la
-LTLIBRARY_LIBADD = $(LTLIBRARY_DEPENDENCIES)
-LTLIBRARY_SHARED_LIBADD = $(LTLIBRARY_LIBADD)
-
-SUBDIRS = libbcmath
-
-include $(top_srcdir)/build/dynlib.mk
diff --git a/ext/bcmath/config.m4 b/ext/bcmath/config.m4
index 4d6e7bc028..a4fbb60030 100644
--- a/ext/bcmath/config.m4
+++ b/ext/bcmath/config.m4
@@ -7,8 +7,11 @@ PHP_ARG_ENABLE(bcmath, whether to enable bc style precision math functions,
if test "$PHP_BCMATH" != "no"; then
AC_DEFINE(WITH_BCMATH, 1, [Whether you have bcmath])
- PHP_EXTENSION(bcmath, $ext_shared)
- PHP_FAST_OUTPUT($ext_builddir/libbcmath/Makefile $ext_builddir/libbcmath/src/Makefile)
- LIB_BUILD($ext_builddir/libbcmath,$ext_shared,yes)
- LIB_BUILD($ext_builddir/libbcmath/src,$ext_shared,yes)
+ PHP_NEW_EXTENSION(bcmath, bcmath.c number.c \
+libbcmath/src/add.c libbcmath/src/div.c libbcmath/src/init.c libbcmath/src/neg.c libbcmath/src/outofmem.c libbcmath/src/raisemod.c libbcmath/src/rt.c libbcmath/src/sub.c \
+libbcmath/src/compare.c libbcmath/src/divmod.c libbcmath/src/int2num.c libbcmath/src/num2long.c libbcmath/src/output.c libbcmath/src/recmul.c \
+libbcmath/src/sqrt.c libbcmath/src/zero.c libbcmath/src/debug.c libbcmath/src/doaddsub.c libbcmath/src/nearzero.c libbcmath/src/num2str.c libbcmath/src/raise.c \
+libbcmath/src/rmzero.c libbcmath/src/str2num.c,
+ $ext_shared,,-I@ext_srcdir@/libbcmath/src)
+ PHP_ADD_BUILD_DIR($ext_builddir/libbcmath/src)
fi
diff --git a/ext/bcmath/libbcmath/Makefile.in b/ext/bcmath/libbcmath/Makefile.in
deleted file mode 100644
index 0743bd7150..0000000000
--- a/ext/bcmath/libbcmath/Makefile.in
+++ /dev/null
@@ -1,9 +0,0 @@
-
-LTLIBRARY_NAME = libbcmath.la
-LTLIBRARY_DEPENDENCIES = src/libbcmath.la
-LTLIBRARY_LIBADD = $(LTLIBRARY_DEPENDENCIES)
-LTLIBRARY_SHARED_LIBADD = $(LTLIBRARY_LIBADD)
-
-SUBDIRS = src
-
-include $(top_srcdir)/build/dynlib.mk
diff --git a/ext/bcmath/libbcmath/src/Makefile.in b/ext/bcmath/libbcmath/src/Makefile.in
deleted file mode 100644
index f4a235f94a..0000000000
--- a/ext/bcmath/libbcmath/src/Makefile.in
+++ /dev/null
@@ -1,7 +0,0 @@
-LTLIBRARY_NAME = libbcmath.la
-LTLIBRARY_SOURCES = add.c div.c init.c neg.c outofmem.c raisemod.c rt.c sub.c \
- compare.c divmod.c int2num.c num2long.c output.c recmul.c \
- sqrt.c zero.c debug.c doaddsub.c nearzero.c num2str.c raise.c \
- rmzero.c str2num.c
-
-include $(top_srcdir)/build/dynlib.mk