Makefile revision 5680
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff# CDDL HEADER START
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff# The contents of this file are subject to the terms of the
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff# Common Development and Distribution License (the "License").
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff# You may not use this file except in compliance with the License.
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff# See the License for the specific language governing permissions
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff# and limitations under the License.
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff# When distributing Covered Code, include this CDDL HEADER in each
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff# If applicable, add the following below this CDDL HEADER, with the
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff# fields enclosed by brackets "[]" replaced with your own identifying
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff# information: Portions Copyright [yyyy] [name of copyright owner]
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff# CDDL HEADER END
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff sha256:853aeb021aef7586bda29e74a6b03006bcb565a755c86b66032d8ec31b67dbb9
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduffCOMPONENT_ARCHIVE_URL= http://www.antlr2.org/download/$(COMPONENT_ARCHIVE)
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff# Use version of Java defined in ../../make-rules/shared-macros.mk
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff# pkgdepend doesn't like the first line of a Python script to be:
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff# '#!/usr/bin/env python' so turn it into '#!/usr/bin/python2.7'
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff# Delete references to the version of java been used and a build date.
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff '-e "s|^.*$(JAVA_HOME).*$$|XXX_JAVA_XXX|g" ' \
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff '-e "/^ANTLR Parser Generator.*$$/d"' \
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff '-e "/^XXX_JAVA_XXX$$/d" '