genode/libports/lib/mk/mpc.mk
Christian Prochaska b8ee4bda81 libports: MPC
This patch adds the 'MPC' library to the 'libports' repository.

Fixes #263.
2012-07-02 14:15:42 +02:00

16 lines
264 B
Makefile

include $(REP_DIR)/lib/import/import-mpc.mk
MPC_DIR = $(REP_DIR)/contrib/$(MPC)
ifeq ($(wildcard $(MPC_DIR)),)
REQUIRES += prepare_mpc
endif
LIBS = libc gmp mpfr
SRC_C := $(notdir $(wildcard $(MPC_DIR)/src/*.c))
vpath %.c $(MPC_DIR)/src
SHARED_LIB = 1