Makefile revision 2391
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra# CDDL HEADER START
364b3f41370b5853ec58ed0f094565f69ab7c7fdLuke Smith# The contents of this file are subject to the terms of the
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra# Common Development and Distribution License (the "License").
dc2e4d465cdefe2663fc35e35162eab1b817af9eLuke Smith# You may not use this file except in compliance with the License.
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a9469f39cbc0ff8977226a5e0469330341c5186eLuke Smith# See the License for the specific language governing permissions
a9469f39cbc0ff8977226a5e0469330341c5186eLuke Smith# and limitations under the License.
a9469f39cbc0ff8977226a5e0469330341c5186eLuke Smith# When distributing Covered Code, include this CDDL HEADER in each
a9469f39cbc0ff8977226a5e0469330341c5186eLuke Smith# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a9469f39cbc0ff8977226a5e0469330341c5186eLuke Smith# If applicable, add the following below this CDDL HEADER, with the
a9469f39cbc0ff8977226a5e0469330341c5186eLuke Smith# fields enclosed by brackets "[]" replaced with your own identifying
a9469f39cbc0ff8977226a5e0469330341c5186eLuke Smith# information: Portions Copyright [yyyy] [name of copyright owner]
a9469f39cbc0ff8977226a5e0469330341c5186eLuke Smith# CDDL HEADER END
a9469f39cbc0ff8977226a5e0469330341c5186eLuke Smith# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
a9469f39cbc0ff8977226a5e0469330341c5186eLuke SmithCOMPONENT_PROJECT_URL= http://www.javascriptlint.com
a9469f39cbc0ff8977226a5e0469330341c5186eLuke SmithCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
a9469f39cbc0ff8977226a5e0469330341c5186eLuke Smith sha256:86f16792d71fc59b96f65eca65b1b7466dc046efe6d5ac04c6632f1315e83cfa
a9469f39cbc0ff8977226a5e0469330341c5186eLuke SmithCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/download/$(COMPONENT_ARCHIVE)
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra# Preferred compiler set to gcc and not Studio as on Sparc architecture
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra# some assembler code is required for locking which fails to compile on
98c7a407991cdb0caa6bce97544759d7d56b39e0Tilo Mitra# solaris, when using gcc this is inlined (see jslock.c)
98c7a407991cdb0caa6bce97544759d7d56b39e0Tilo MitraCOMPONENT_INSTALL_ARGS += BINDIR=$(PROTOUSRBINDIR64)
98c7a407991cdb0caa6bce97544759d7d56b39e0Tilo MitraCOMPONENT_INSTALL_ARGS += USRSHAREDIR=$(PROTOUSRSHAREDIR)
a9469f39cbc0ff8977226a5e0469330341c5186eLuke Smith# Enable ASLR for this component