2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2011-2013, EveryCity Ltd. All rights reserved.
15 include ..
/..
/make-rules
/shared-macros.mk
17 COMPONENT_NAME
= libffi
18 COMPONENT_VERSION
= 3.0.13
19 COMPONENT_PROJECT_URL
= http
://sourceware.org
/libffi
/
20 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
21 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
22 COMPONENT_ARCHIVE_HASH
= \
23 sha256
:1dddde1400c3bcb7749d398071af88c3e4754058d2d4c0b3696c2f82dc5cf11c
24 COMPONENT_ARCHIVE_URL
= ftp
://sourceware.org
/pub
/$(COMPONENT_NAME
)/$(COMPONENT_ARCHIVE
)
26 include ..
/..
/make-rules
/prep.mk
27 include ..
/..
/make-rules
/configure.mk
28 include ..
/..
/make-rules
/ips.mk
30 CONFIGURE_OPTIONS
+= --disable-static
31 CONFIGURE_OPTIONS
+= --enable-shared
33 build
: $(BUILD_32_and_64
)
35 install: $(INSTALL_32_and_64
)
39 BUILD_PKG_DEPENDENCIES
= $(BUILD_TOOLS
)
41 include ..
/..
/make-rules
/depend.mk