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