Root/tools/mpc/Makefile

1#
2# Copyright (C) 2009 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:=mpc
10PKG_VERSION:=0.8.2
11
12PKG_SOURCE_URL:=http://www.multiprecision.org/mpc/download/
13PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14PKG_MD5SUM:=e98267ebd5648a39f881d66797122fb6
15
16include $(INCLUDE_DIR)/host-build.mk
17
18unexport CFLAGS
19
20HOST_CONFIGURE_ARGS += \
21    --enable-static \
22    --disable-shared \
23    --with-mpfr=$(TOPDIR)/staging_dir/host \
24    --with-gmp=$(TOPDIR)/staging_dir/host
25
26define Host/Configure
27    (cd $(HOST_BUILD_DIR)/$(3); \
28        $(HOST_CONFIGURE_CMD) \
29        $(HOST_CONFIGURE_VARS) \
30        $(HOST_CONFIGURE_ARGS); \
31    )
32endef
33
34
35$(eval $(call HostBuild))
36

Archive Download this file



interactive