6039N/A#
6039N/A# CDDL HEADER START
6039N/A#
6039N/A# The contents of this file are subject to the terms of the
6039N/A# Common Development and Distribution License (the "License").
6039N/A# You may not use this file except in compliance with the License.
6039N/A#
6039N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6039N/A# or http://www.opensolaris.org/os/licensing.
6039N/A# See the License for the specific language governing permissions
6039N/A# and limitations under the License.
6039N/A#
6039N/A# When distributing Covered Code, include this CDDL HEADER in each
6039N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6039N/A# If applicable, add the following below this CDDL HEADER, with the
6039N/A# fields enclosed by brackets "[]" replaced with your own identifying
6039N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6039N/A#
6039N/A# CDDL HEADER END
6039N/A#
6039N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
6039N/A#
6039N/A
6039N/ABUILD_BITS= 64_and_32
6039N/A# For now, all things built for C++11 require gcc.
6039N/ACOMPILER= gcc
6039N/Ainclude ../../../make-rules/shared-macros.mk
6039N/A
6039N/ACOMPONENT_NAME= exempi
6039N/ACOMPONENT_VERSION= 2.2.2
6039N/ACOMPONENT_PROJECT_URL= http://libopenraw.freedesktop.org/
6039N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
6039N/ACOMPONENT_ARCHIVE_HASH= \
6039N/A sha256:0e7ad0e5e61b6828e38d31a8cc59c26c9adeed7edf4b26708c400beb6a686c07
6039N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/download/$(COMPONENT_ARCHIVE)
6039N/ACOMPONENT_BUGDB= library/exempi
6039N/A
6039N/ATPNO= 25504
6039N/A
6039N/A# disable for now since it requires boost C++ libraries
6039N/ATEST_TARGET= $(SKIP_TEST)
6039N/A
6039N/A# For now, all things built for C++11 require gcc.
6039N/ACXXFLAGS += -std=c++11
6039N/A
6039N/Ainclude $(WS_MAKE_RULES)/common.mk
6039N/A
6039N/ACONFIGURE_OPTIONS += --disable-static
6039N/ACONFIGURE_OPTIONS += --enable-shared
6039N/ACONFIGURE_OPTIONS += --with-pic
6039N/A# Unit tests require boost C++ libraries.
6039N/ACONFIGURE_OPTIONS += --disable-unittest
6039N/ACONFIGURE_OPTIONS += --without-boost
6039N/A
6039N/AREQUIRED_PACKAGES += library/expat
6039N/AREQUIRED_PACKAGES += library/zlib
6039N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime
6039N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
6039N/AREQUIRED_PACKAGES += system/library/math