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