xz: change to new library paths
[unleashed-userland.git] / components / gc / Makefile
blobbbe46875f36fa18cdd60e9977d479900bf04cc1d
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2013 Alexander Pyhalov. All rights reserved.
16 include ../../make-rules/shared-macros.mk
18 COMPONENT_NAME= gc
20 COMPONENT_VERSION= 7.2
21 COMPONENT_SUMMARY= Boehm-Demers-Weiser garbage collector for C/C++
22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE= $(COMPONENT_SRC)e.tar.gz
24 COMPONENT_ARCHIVE_HASH= \
25 sha256:09315b48a82d600371207691126ad058c04677281ac318d86fa84c98c3c9af4b
26 COMPONENT_ARCHIVE_URL= \
27 https://launchpad.net/libgc/main/$(COMPONENT_VERSION)e/+download/$(COMPONENT_ARCHIVE)
28 COMPONENT_PROJECT_URL = https://launchpad.net/libgc
30 include ../../make-rules/prep.mk
31 include ../../make-rules/configure.mk
32 include ../../make-rules/ips.mk
33 export UNAME_LEGACY=
35 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
37 CONFIGURE_OPTIONS += --sysconfdir=/etc
38 CONFIGURE_OPTIONS += --enable-threads=posix
39 CONFIGURE_OPTIONS += --disable-static
40 CONFIGURE_OPTIONS += --enable-large-config
41 CONFIGURE_OPTIONS += --with-libatomic-ops=no
43 COMPONENT_POST_INSTALL_ACTION+= cd $(BUILD_DIR_$(BITS))/libatomic_ops && env $(COMPONENT_INSTALL_ENV) gmake $(COMPONENT_INSTALL_ARGS) install ;
45 build: $(BUILD_32_and_64)
47 install: $(INSTALL_32_and_64)