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