mpc: Add DragonFly READMEs and world makefiles
[dragonfly.git] / gnu / usr.bin / cc44 / mpfr / Makefile
1 CONTRIBDIR=     ${.CURDIR}/../../../../contrib/mpfr/src
2 .PATH:  ${CONTRIBDIR}
3
4 LIB=    mpfr
5 INTERNALLIB=    # yes
6
7 CFLAGS+=        -I${CONTRIBDIR}
8 CFLAGS+=        -I${.OBJDIR}
9 CFLAGS+=        -I${.CURDIR}/../gmp
10 CFLAGS+=-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DTIME_WITH_SYS_TIME=1 \
11         -DHAVE_LOCALE_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STDARG=1 \
12         -DHAVE_SYS_TIME_H=1 -DHAVE_STDINT_H=1 -DHAVE_SETLOCALE=1 \
13         -DHAVE_GETTIMEOFDAY=1 -DHAVE_LONG_LONG=1 -DHAVE_INTMAX_T=1 \
14         -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_ROUND=1 \
15         -DHAVE_TRUNC=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 \
16         -DHAVE_LDOUBLE_IEEE_EXT_LITTLE=1 -DHAVE_ATTRIBUTE_MODE=1
17 CFLAGS+=-DHAVE_VA_COPY=1 -DMPFR_HAVE_INTMAX_MAX=1 -DHAVE_NEARBYINT=1 \
18         -DMPFR_USE_THREAD_SAFE=1 -DHAVE___GMPN_ROOTREM=1 \
19         -DHAVE___GMPN_SBPI1_DIVAPPR_Q=1
20
21 # almost verbatim copy from Makefile
22
23 SRCS = mpfr.h mpf2mpfr.h mpfr-gmp.h mpfr-impl.h mpfr-intmax.h \
24         mpfr-longlong.h mpfr-thread.h exceptions.c extract.c uceil_exp2.c \
25         uceil_log2.c ufloor_log2.c add.c add1.c add_ui.c agm.c clear.c cmp.c \
26         cmp_abs.c cmp_si.c cmp_ui.c comparisons.c div_2exp.c div_2si.c  \
27         div_2ui.c div.c div_ui.c dump.c eq.c exp10.c exp2.c exp3.c exp.c \
28         frac.c frexp.c get_d.c get_exp.c get_str.c init.c inp_str.c \
29         isinteger.c isinf.c isnan.c isnum.c const_log2.c log.c modf.c \
30         mul_2exp.c mul_2si.c mul_2ui.c mul.c mul_ui.c neg.c next.c out_str.c \
31         printf.c vasprintf.c const_pi.c pow.c pow_si.c pow_ui.c print_raw.c \
32         print_rnd_mode.c reldiff.c round_prec.c set.c setmax.c setmin.c \
33         set_d.c set_dfl_prec.c set_exp.c set_rnd.c set_f.c set_prc_raw.c \
34         set_prec.c set_q.c set_si.c set_str.c set_str_raw.c set_ui.c set_z.c \
35         sqrt.c sqrt_ui.c sub.c sub1.c sub_ui.c rint.c ui_div.c ui_sub.c \
36         urandom.c urandomb.c get_z_exp.c swap.c factorial.c cosh.c sinh.c \
37         tanh.c sinh_cosh.c acosh.c asinh.c atanh.c atan.c cmp2.c exp_2.c \
38         asin.c const_euler.c cos.c sin.c tan.c fma.c fms.c hypot.c log1p.c \
39         expm1.c log2.c log10.c ui_pow.c ui_pow_ui.c minmax.c dim.c signbit.c \
40         copysign.c setsign.c gmp_op.c init2.c acos.c sin_cos.c set_nan.c \
41         set_inf.c set_zero.c powerof2.c gamma.c set_ld.c get_ld.c cbrt.c \
42         volatile.c fits_s.h fits_sshort.c fits_sint.c fits_slong.c fits_u.h \
43         fits_ushort.c fits_uint.c fits_ulong.c fits_uintmax.c fits_intmax.c \
44         get_si.c get_ui.c zeta.c cmp_d.c erf.c inits.c inits2.c clears.c \
45         sgn.c check.c sub1sp.c version.c mpn_exp.c mpfr-gmp.c mp_clz_tab.c \
46         sum.c add1sp.c free_cache.c si_op.c cmp_ld.c set_ui_2exp.c \
47         set_si_2exp.c set_uj.c set_sj.c get_sj.c get_uj.c get_z.c iszero.c \
48         cache.c sqr.c int_ceil_log2.c isqrt.c strtofr.c pow_z.c logging.c \
49         mulders.c get_f.c round_p.c erfc.c atan2.c subnormal.c \
50         const_catalan.c root.c gen_inverse.h sec.c csc.c cot.c eint.c sech.c \
51         csch.c coth.c round_near_x.c constant.c abort_prec_max.c \
52         stack_interface.c lngamma.c zeta_ui.c set_d64.c get_d64.c jn.c yn.c \
53         rem1.c get_patches.c add_d.c sub_d.c d_sub.c mul_d.c div_d.c d_div.c \
54         li2.c rec_sqrt.c min_prec.c buildopt.c digamma.c bernoulli.c \
55         isregular.c set_flt.c get_flt.c scale2.c set_z_exp.c ai.c \
56         gammaonethird.c ieee_floats.h grandom.c
57
58 .include <bsd.lib.mk>