summaryrefslogtreecommitdiff
path: root/ext/bcmath/libbcmath/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bcmath/libbcmath/src/Makefile.am')
-rw-r--r--ext/bcmath/libbcmath/src/Makefile.am22
1 files changed, 22 insertions, 0 deletions
diff --git a/ext/bcmath/libbcmath/src/Makefile.am b/ext/bcmath/libbcmath/src/Makefile.am
new file mode 100644
index 0000000..fab37d7
--- /dev/null
+++ b/ext/bcmath/libbcmath/src/Makefile.am
@@ -0,0 +1,22 @@
+# Makefile for bcmath library
+
+lib_LIBRARIES = libbcmath.a
+
+include_HEADERS = bcmath.h
+
+libbcmath_a_SOURCES= add.c compare.c debug.c div.c divmod.c doaddsub.c \
+ init.c int2num.c nearzero.c neg.c num2long.c num2str.c output.c \
+ raise.c raisemod.c recmul.c rmzero.c sqrt.c str2num.c sub.c zero.c \
+ outofmem.c rt.c
+
+INCLUDES = -I$(srcdir) -I..
+
+CFLAGS = @CFLAGS@
+CPPFLAGS = $(INCLUDES) -Wall
+
+MAINTAINERCLEANFILES= Makefile.in $(libbcmath_a_SOURCES) private.h bcmath.h
+
+all: $(bin_LIBRARIES)
+
+clean:
+ rm -f $(OBJS) $(LIB) *~