xref: /PHP-7.2/ext/bcmath/libbcmath/src/Makefile.am (revision cb71c4c2)
1# Makefile for bcmath library
2
3lib_LIBRARIES = libbcmath.a
4
5include_HEADERS = bcmath.h
6
7libbcmath_a_SOURCES= add.c compare.c debug.c div.c divmod.c doaddsub.c \
8	init.c 	int2num.c nearzero.c neg.c num2long.c num2str.c output.c \
9	raise.c raisemod.c recmul.c rmzero.c sqrt.c str2num.c sub.c zero.c \
10	outofmem.c rt.c
11
12INCLUDES = -I$(srcdir) -I..
13
14CFLAGS = @CFLAGS@
15CPPFLAGS = $(INCLUDES) -Wall
16
17MAINTAINERCLEANFILES= Makefile.in $(libbcmath_a_SOURCES) private.h bcmath.h
18
19all: $(bin_LIBRARIES)
20
21clean:
22	rm -f $(OBJS) $(LIB) *~
23