Makefile revision 7032
59dfe8e19f0909aa31ff10f1f003344fc620c1c5sascha# CDDL HEADER START
59dfe8e19f0909aa31ff10f1f003344fc620c1c5sascha# The contents of this file are subject to the terms of the
59dfe8e19f0909aa31ff10f1f003344fc620c1c5sascha# Common Development and Distribution License (the "License").
59dfe8e19f0909aa31ff10f1f003344fc620c1c5sascha# You may not use this file except in compliance with the License.
59dfe8e19f0909aa31ff10f1f003344fc620c1c5sascha# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
59dfe8e19f0909aa31ff10f1f003344fc620c1c5sascha# See the License for the specific language governing permissions
59dfe8e19f0909aa31ff10f1f003344fc620c1c5sascha# and limitations under the License.
59dfe8e19f0909aa31ff10f1f003344fc620c1c5sascha# When distributing Covered Code, include this CDDL HEADER in each
59dfe8e19f0909aa31ff10f1f003344fc620c1c5sascha# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
59dfe8e19f0909aa31ff10f1f003344fc620c1c5sascha# If applicable, add the following below this CDDL HEADER, with the
59dfe8e19f0909aa31ff10f1f003344fc620c1c5sascha# fields enclosed by brackets "[]" replaced with your own identifying
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# information: Portions Copyright [yyyy] [name of copyright owner]
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# CDDL HEADER END
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
6ca0e6973c8176100f4a426444823ae5e777e28fsascha sha256:3dce6601b495f5b3d45b59f7d2492a340ee7e84b5beca17e48f862502bd5603f
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaCOMPONENT_ARCHIVE_URL= http://www.tortall.net/projects/$(COMPONENT_NAME)/releases/$(COMPONENT_ARCHIVE)
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# We're i386-only
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# Enable ASLR for this component
3a47c2ef905c3b6483279637fb8054ca67c5b6ddsascha# Adjust all the source files in all the Makefile.inc files to generate
3a47c2ef905c3b6483279637fb8054ca67c5b6ddsascha# shared libraries rather than a library archive.
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# Note that the version number (in the shared-libraries.patch file) should be
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# bumped anytime upstream makes an incompatible change (that we're aware of).
6ca0e6973c8176100f4a426444823ae5e777e28fsascha mlist=`/usr/bin/find $(SOURCE_DIR) -name 'Makefile.inc'` ; \
dadf206a4cf1eccf5c13b64bd9678610dd763868rbb $(GSED) -i -e 's|libyasm_a_SOURCES|libyasm_la_SOURCES|g' \
6ca0e6973c8176100f4a426444823ae5e777e28fsascha -e 's|LDADD = libyasm.a|LDADD = libyasm.la|g' \
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaCONFIGURE_ENV += am_cv_python_pythondir=$(PYTHON_VENDOR_PACKAGES)
6ca0e6973c8176100f4a426444823ae5e777e28fsaschaCONFIGURE_ENV += am_cv_python_pyexecdir=$(PYTHON_VENDOR_PACKAGES)
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# Needed for "gmake test" to work successfully.
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# If SHELLOPTS is exported (as it is by the userland makefiles),
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# then all shell options get exported to child invocations of bash,
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# which results in test failures due to nounset and xtrace being
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# set unexpectedly, and errors such as "$1: unbound variable" and
6ca0e6973c8176100f4a426444823ae5e777e28fsascha# diffs failing due to script tracing in output files.
3a47c2ef905c3b6483279637fb8054ca67c5b6ddsascha @echo "Not available."
22ad84685642948ad15cc1e881ecbc4ac8cbf98cmanoj# common targets. we're i386-only so we have to
22ad84685642948ad15cc1e881ecbc4ac8cbf98cmanoj# be slightly tricky.
22ad84685642948ad15cc1e881ecbc4ac8cbf98cmanoj# Required for man pages.