2014-05-07 21:52:52 +00:00
|
|
|
GMP_PORT_DIR := $(call select_from_ports,gmp)
|
|
|
|
|
2011-12-22 15:19:25 +00:00
|
|
|
REP_INC_DIR += include/gmp
|
|
|
|
|
2014-05-07 21:52:52 +00:00
|
|
|
INC_DIR += $(GMP_PORT_DIR)/include
|
|
|
|
|
2012-07-03 10:24:46 +00:00
|
|
|
ifeq ($(filter-out $(SPECS),arm),)
|
2018-11-01 13:06:49 +00:00
|
|
|
REP_INC_DIR += include/spec/32bit/gmp
|
2020-01-09 13:07:08 +00:00
|
|
|
REP_INC_DIR += include/spec/arm/gmp
|
2018-11-01 13:06:49 +00:00
|
|
|
INC_DIR += $(GMP_PORT_DIR)/include/spec/arm
|
2012-07-03 10:24:46 +00:00
|
|
|
endif
|
2011-12-22 15:19:25 +00:00
|
|
|
|
2019-10-24 13:11:38 +00:00
|
|
|
ifeq ($(filter-out $(SPECS),arm_64),)
|
|
|
|
REP_INC_DIR += include/spec/64bit/gmp
|
2020-01-09 13:07:08 +00:00
|
|
|
REP_INC_DIR += include/spec/arm_64/gmp
|
2019-10-24 13:11:38 +00:00
|
|
|
INC_DIR += $(GMP_PORT_DIR)/include/spec/arm_64
|
|
|
|
endif
|
2012-07-03 10:24:46 +00:00
|
|
|
ifeq ($(filter-out $(SPECS),x86_32),)
|
2018-11-01 13:06:49 +00:00
|
|
|
REP_INC_DIR += include/spec/32bit/gmp
|
2020-01-09 13:07:08 +00:00
|
|
|
REP_INC_DIR += include/spec/x86_32/gmp
|
2018-11-01 13:06:49 +00:00
|
|
|
INC_DIR += $(GMP_PORT_DIR)/include/spec/x86_32
|
2012-07-03 10:24:46 +00:00
|
|
|
endif
|
2011-12-22 15:19:25 +00:00
|
|
|
|
2012-07-03 10:24:46 +00:00
|
|
|
ifeq ($(filter-out $(SPECS),x86_64),)
|
2018-11-01 13:06:49 +00:00
|
|
|
REP_INC_DIR += include/spec/64bit/gmp
|
2020-01-09 13:07:08 +00:00
|
|
|
REP_INC_DIR += include/spec/x86_64/gmp
|
2018-11-01 13:06:49 +00:00
|
|
|
INC_DIR += $(GMP_PORT_DIR)/include/spec/x86_64
|
2012-07-03 10:24:46 +00:00
|
|
|
endif
|