88b2f46eee87d3178b1b8c9445cad829af054f6dDav Glass# CDDL HEADER START
88b2f46eee87d3178b1b8c9445cad829af054f6dDav Glass# The contents of this file are subject to the terms of the
88b2f46eee87d3178b1b8c9445cad829af054f6dDav Glass# Common Development and Distribution License (the "License").
88b2f46eee87d3178b1b8c9445cad829af054f6dDav Glass# You may not use this file except in compliance with the License.
88b2f46eee87d3178b1b8c9445cad829af054f6dDav Glass# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
88b2f46eee87d3178b1b8c9445cad829af054f6dDav Glass# See the License for the specific language governing permissions
88b2f46eee87d3178b1b8c9445cad829af054f6dDav Glass# and limitations under the License.
88b2f46eee87d3178b1b8c9445cad829af054f6dDav Glass# When distributing Covered Code, include this CDDL HEADER in each
88b2f46eee87d3178b1b8c9445cad829af054f6dDav Glass# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
88b2f46eee87d3178b1b8c9445cad829af054f6dDav Glass# If applicable, add the following below this CDDL HEADER, with the
88b2f46eee87d3178b1b8c9445cad829af054f6dDav Glass# fields enclosed by brackets "[]" replaced with your own identifying
88b2f46eee87d3178b1b8c9445cad829af054f6dDav Glass# information: Portions Copyright [yyyy] [name of copyright owner]
88b2f46eee87d3178b1b8c9445cad829af054f6dDav Glass# CDDL HEADER END
88b2f46eee87d3178b1b8c9445cad829af054f6dDav Glass# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
88b2f46eee87d3178b1b8c9445cad829af054f6dDav GlassCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
88b2f46eee87d3178b1b8c9445cad829af054f6dDav Glass sha256:5efa7fae8040159208472e5f889be5b41d8c8a2ea6b31616f0f75cc7f48d2365
88b2f46eee87d3178b1b8c9445cad829af054f6dDav GlassCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/pub/$(COMPONENT_ARCHIVE)
88b2f46eee87d3178b1b8c9445cad829af054f6dDav GlassCONFIGURE_OPTIONS += --with-gd-inc=/usr/include/gd2
88b2f46eee87d3178b1b8c9445cad829af054f6dDav GlassCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS) -I$(BUILD_DIR_64)/bin"
88b2f46eee87d3178b1b8c9445cad829af054f6dDav GlassCONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS) $(CC_BITS)"
88b2f46eee87d3178b1b8c9445cad829af054f6dDav Glass# Build process expects a bin directory in compilation area.
88b2f46eee87d3178b1b8c9445cad829af054f6dDav GlassCOMPONENT_PRE_BUILD_ACTION=(cd $(@D) ; mkdir -p bin)
88b2f46eee87d3178b1b8c9445cad829af054f6dDav Glass# Enable ASLR for this component