GCC: use -fuse-cxa-atexit by default
[unleashed-userland.git] / components / encumbered / opencore-amr / Makefile
blobb08a9c6b15efcf79b55c6c60e8811217fe16e46d
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 2015 Alexander Pyhalov
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= opencore-amr
19 COMPONENT_VERSION= 0.1.3
20 COMPONENT_SUMMARY= OpenCORE AMR speech codec library
21 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
22 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
23 COMPONENT_ARCHIVE_HASH= \
24 sha256:106bf811c1f36444d7671d8fd2589f8b2e0cca58a2c764da62ffc4a070595385
25 COMPONENT_ARCHIVE_URL= \
26 http://sourceforge.net/projects/opencore-amr/files/opencore-amr/$(COMPONENT_ARCHIVE)
27 COMPONENT_PROJECT_URL = http://opencore-amr.sourceforge.net/
28 COMPONENT_LICENSE = APLv2.0
29 COMPONENT_LICENSE_FILE = COPYING
30 COMPONENT_CLASSIFICATION = System/Media
31 COMPONENT_FMRI = codec/opencore-amr
33 include $(WS_TOP)/make-rules/encumbered.mk
34 include $(WS_TOP)/make-rules/prep.mk
35 include $(WS_TOP)/make-rules/configure.mk
36 include $(WS_TOP)/make-rules/ips.mk
38 CONFIGURE_OPTIONS += --disable-compile-c
39 CONFIGURE_OPTIONS += --enable-shared
40 CONFIGURE_OPTIONS += --disable-static
42 build: $(BUILD_32_and_64)
44 install: $(INSTALL_32_and_64)