genode/repos/libports/lib/mk/gmp.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

26 lines
705 B
Makefile

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 \
version.c tal-reent.c
#
# 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
SHARED_LIB = yes