genode/repos/libports/lib/mk/mpfr.mk
Norman Feske ca971bbfd8 Move repositories to 'repos/' subdirectory
This patch changes the top-level directory layout as a preparatory
step for improving the tools for managing 3rd-party source codes.
The rationale is described in the issue referenced below.

Issue #1082
2014-05-14 16:08:00 +02:00

18 lines
446 B
Makefile

MPFR_DIR = $(REP_DIR)/contrib/mpfr-3.0.0
ifeq ($(wildcard $(MPFR_DIR)),)
REQUIRES += prepare_mpfr
endif
LIBS = libc gmp
CC_OPT += -DHAVE_STDARG -DHAVE_VA_COPY -DHAVE_INTTYPES_H
INC_DIR += $(REP_DIR)/include/mpfr
MPFR_SRC_C := $(notdir $(wildcard $(MPFR_DIR)/*.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_DIR)
SHARED_LIB = 1