2011-12-22 15:19:25 +00:00
|
|
|
include $(REP_DIR)/lib/mk/gmp.inc
|
|
|
|
|
|
|
|
LIBS += gmp-mpn gmp-mpf gmp-mpz gmp-mpq
|
|
|
|
|
|
|
|
#
|
|
|
|
# Source codes from gmp base directory
|
|
|
|
#
|
|
|
|
SRC_C += assert.c compat.c errno.c extract-dbl.c invalid.c \
|
|
|
|
memory.c mp_bpl.c mp_clz_tab.c mp_dv_tab.c \
|
|
|
|
mp_minv_tab.c mp_get_fns.c mp_set_fns.c rand.c randclr.c \
|
|
|
|
randdef.c randiset.c randlc2s.c randlc2x.c randmt.c \
|
|
|
|
randmts.c rands.c randsd.c randsdui.c randbui.c randmui.c \
|
2022-06-11 08:03:46 +00:00
|
|
|
version.c tal-reent.c nextprime.c
|
2011-12-22 15:19:25 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Source codes from subdirectories
|
|
|
|
#
|
|
|
|
SRC_C += $(notdir $(wildcard $(GMP_DIR)/printf/*.c))
|
|
|
|
SRC_C += $(notdir $(wildcard $(GMP_DIR)/scanf/*.c))
|
|
|
|
|
|
|
|
vpath %.c $(GMP_DIR)
|
|
|
|
vpath %.c $(GMP_DIR)/printf
|
|
|
|
vpath %.c $(GMP_DIR)/scanf
|
2019-10-24 12:35:41 +00:00
|
|
|
vpath %.c $(GMP_DIR)/rand
|
2011-12-22 15:19:25 +00:00
|
|
|
|
|
|
|
SHARED_LIB = yes
|
2018-01-03 17:40:54 +00:00
|
|
|
|
|
|
|
CC_CXX_WARN_STRICT =
|