Makefile revision 3996
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#
2337N/A# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
2N/A#
2N/A
32N/A# Preferred compiler set to gcc and not Studio as on Sparc architecture
32N/A# some assembler code is required for locking which fails to compile on
313N/A# solaris, when using gcc this is inlined (see jslock.c)
313N/ACOMPILER= gcc3
313N/A
313N/Ainclude ../../make-rules/shared-macros.mk
313N/A
313N/ACOMPONENT_NAME= jsl
313N/ACOMPONENT_VERSION= 0.3.0
313N/ACOMPONENT_PROJECT_URL= http://www.javascriptlint.com
313N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2238N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC)-src.tar.gz
313N/ACOMPONENT_ARCHIVE_HASH= \
313N/A sha256:86f16792d71fc59b96f65eca65b1b7466dc046efe6d5ac04c6632f1315e83cfa
313N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/download/$(COMPONENT_ARCHIVE)
313N/ACOMPONENT_BUGDB= utility/jsl
2238N/A
313N/ATPNO= 10774
2238N/A
127N/Ainclude $(WS_MAKE_RULES)/prep.mk
127N/Ainclude $(WS_MAKE_RULES)/justmake.mk
1622N/Ainclude $(WS_MAKE_RULES)/ips.mk
1622N/A
1622N/A
127N/ACOMPONENT_BUILD_ARGS += -f src/Makefile
538N/ACOMPONENT_BUILD_ARGS += CC="$(CC)"
538N/ACOMPONENT_BUILD_ARGS += COPTFLAGS="$(gcc_OPT)"
538N/ACOMPONENT_BUILD_TARGETS += all
538N/A
538N/ACOMPONENT_INSTALL_ARGS += -f src/Makefile
538N/ACOMPONENT_INSTALL_ARGS += BINDIR=$(PROTOUSRBINDIR64)
538N/ACOMPONENT_INSTALL_ARGS += USRSHAREDIR=$(PROTOUSRSHAREDIR)
538N/ACOMPONENT_INSTALL_ARGS += INSTALL="$(INSTALL)"
327N/ACOMPONENT_INSTALL_ARGS += MKDIR="$(MKDIR)"
327N/A
327N/Abuild: $(BUILD_64)
327N/A
327N/Ainstall: $(INSTALL_64)
327N/A
327N/Atest:
327N/A cd $(COMPONENT_SRC)/tests; $(PERL) ./run_tests.pl $(PROTOUSRBINDIR64)/jsl
327N/A
327N/A
327N/AREQUIRED_PACKAGES += system/library
327N/AREQUIRED_PACKAGES += system/library/math
2238N/A