Merge pull request #2846 from pyhalov/ptlib
[unleashed-userland.git] / components / liboil / Makefile
blob482d108566edd363a5d664d31ce967c3b4b3ecc3
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 2014 Alexander Pyhalov
16 include ../../make-rules/shared-macros.mk
18 COMPONENT_NAME= liboil
19 COMPONENT_VERSION= 0.3.17
20 COMPONENT_SUMMARY= Library of Optimized Inner Loops
21 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
22 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
23 COMPONENT_ARCHIVE_HASH= \
24 sha256:105f02079b0b50034c759db34b473ecb5704ffa20a5486b60a8b7698128bfc69
25 COMPONENT_ARCHIVE_URL= \
26 http://liboil.freedesktop.org/download/$(COMPONENT_ARCHIVE)
27 COMPONENT_PROJECT_URL = http://www.gnome.org
29 include ../../make-rules/prep.mk
30 include ../../make-rules/configure.mk
31 include ../../make-rules/ips.mk
33 COMPONENT_PREP_ACTION += ( cd $(@D) &&\
34 aclocal -I./m4 &&\
35 autoheader &&\
36 automake -a -c -f &&\
37 autoconf )
39 # Without this some tests are failing
40 gcc_OPT=-O2
42 # This is needed to find mapfile
43 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
45 CONFIGURE_OPTIONS += --sysconfdir=/etc
47 build: $(BUILD_32_and_64)
49 install: $(INSTALL_32_and_64)
51 test: $(TEST_32_and_64)