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