genode/repos/libports/lib/mk/mpfr.mk
2014-05-27 11:14:42 +02:00

14 lines
454 B
Makefile

MPFR_PORT_DIR := $(call select_from_ports,mpfr)
LIBS = libc gmp
CC_OPT += -DHAVE_STDARG -DHAVE_VA_COPY -DHAVE_INTTYPES_H
INC_DIR += $(REP_DIR)/include/mpfr $(MPFR_PORT_DIR)/include/mpfr
MPFR_SRC_C := $(notdir $(wildcard $(MPFR_PORT_DIR)/src/lib/mpfr/*.c))
FILTER_OUT := ansi2knr.c jyn_asympt.c round_raw_generic.c speed.c tuneup.c
SRC_C := $(filter-out $(FILTER_OUT),$(MPFR_SRC_C))
vpath %.c $(MPFR_PORT_DIR)/src/lib/mpfr
SHARED_LIB = 1