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