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