1CONTRIBDIR= ${.CURDIR}/../../../contrib/mpc/src 2.PATH: ${CONTRIBDIR} 3 4LIB= mpc 5INTERNALLIB= # yes 6 7CFLAGS+= -I${CONTRIBDIR} 8CFLAGS+= -I${.OBJDIR} 9CFLAGS+= -I${.CURDIR}/../gmp 10CFLAGS+= -I${.CURDIR}/../../../contrib/mpfr/src 11CFLAGS+= -DHAVE_CONFIG_H 12 13# almost verbatim from mpc Makefile 14 15SRCS= mpc-impl.h abs.c acos.c acosh.c add.c add_fr.c \ 16 add_si.c add_ui.c arg.c asin.c asinh.c atan.c atanh.c clear.c cmp.c \ 17 cmp_si_si.c conj.c cos.c cosh.c div_2si.c div_2ui.c div.c div_fr.c \ 18 div_ui.c exp.c fma.c fr_div.c fr_sub.c get_prec2.c get_prec.c \ 19 get_version.c get_x.c imag.c init2.c init3.c inp_str.c log.c log10.c \ 20 mem.c mul_2si.c mul_2ui.c mul.c mul_fr.c mul_i.c mul_si.c mul_ui.c \ 21 neg.c norm.c out_str.c pow.c pow_fr.c \ 22 pow_ld.c pow_d.c pow_si.c pow_ui.c pow_z.c proj.c real.c urandom.c set.c \ 23 set_prec.c set_str.c set_x.c set_x_x.c sin.c sin_cos.c sinh.c sqr.c \ 24 sqrt.c strtoc.c sub.c sub_fr.c sub_ui.c swap.c tan.c tanh.c uceil_log2.c \ 25 ui_div.c ui_ui_sub.c 26 27.include <bsd.lib.mk> 28