Makefile revision 1258
8e13c83ce63d62a3d331fa7fda05d5ff73c77f0fDerek Gathright# CDDL HEADER START
8e13c83ce63d62a3d331fa7fda05d5ff73c77f0fDerek Gathright# The contents of this file are subject to the terms of the
8e13c83ce63d62a3d331fa7fda05d5ff73c77f0fDerek Gathright# Common Development and Distribution License (the "License").
8e13c83ce63d62a3d331fa7fda05d5ff73c77f0fDerek Gathright# You may not use this file except in compliance with the License.
8e13c83ce63d62a3d331fa7fda05d5ff73c77f0fDerek Gathright# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8e13c83ce63d62a3d331fa7fda05d5ff73c77f0fDerek Gathright# or http://www.opensolaris.org/os/licensing.
8e13c83ce63d62a3d331fa7fda05d5ff73c77f0fDerek Gathright# See the License for the specific language governing permissions
8e13c83ce63d62a3d331fa7fda05d5ff73c77f0fDerek Gathright# and limitations under the License.
8e13c83ce63d62a3d331fa7fda05d5ff73c77f0fDerek Gathright# When distributing Covered Code, include this CDDL HEADER in each
8e13c83ce63d62a3d331fa7fda05d5ff73c77f0fDerek Gathright# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8e13c83ce63d62a3d331fa7fda05d5ff73c77f0fDerek Gathright# If applicable, add the following below this CDDL HEADER, with the
8e13c83ce63d62a3d331fa7fda05d5ff73c77f0fDerek Gathright# fields enclosed by brackets "[]" replaced with your own identifying
8e13c83ce63d62a3d331fa7fda05d5ff73c77f0fDerek Gathright# information: Portions Copyright [yyyy] [name of copyright owner]
8e13c83ce63d62a3d331fa7fda05d5ff73c77f0fDerek Gathright# CDDL HEADER END
8e13c83ce63d62a3d331fa7fda05d5ff73c77f0fDerek Gathright# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
8e13c83ce63d62a3d331fa7fda05d5ff73c77f0fDerek GathrightCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
8e13c83ce63d62a3d331fa7fda05d5ff73c77f0fDerek Gathright sha256:853aeb021aef7586bda29e74a6b03006bcb565a755c86b66032d8ec31b67dbb9
8e13c83ce63d62a3d331fa7fda05d5ff73c77f0fDerek GathrightCOMPONENT_ARCHIVE_URL= http://www.antlr2.org/download/$(COMPONENT_ARCHIVE)
8e13c83ce63d62a3d331fa7fda05d5ff73c77f0fDerek Gathright# Use version of Java defined in ../../make-rules/shared-macros.mk
8e13c83ce63d62a3d331fa7fda05d5ff73c77f0fDerek GathrightPATH=$(SPRO_VROOT)/bin:$(JAVA_HOME)/bin:/usr/bin
8e13c83ce63d62a3d331fa7fda05d5ff73c77f0fDerek Gathright# pkgdepend doesn't like the first line of a Python script to be:
8e13c83ce63d62a3d331fa7fda05d5ff73c77f0fDerek Gathright# '#!/usr/bin/env python' so turn it into '#!/usr/bin/python2.6'
8e13c83ce63d62a3d331fa7fda05d5ff73c77f0fDerek GathrightCOMPONENT_INSTALL_ARGS += prefix=$(PROTOUSRDIR)
8e13c83ce63d62a3d331fa7fda05d5ff73c77f0fDerek GathrightCOMPONENT_INSTALL_ARGS += libdir=$(PROTOUSRLIBDIR)
8e13c83ce63d62a3d331fa7fda05d5ff73c77f0fDerek GathrightCOMPONENT_INSTALL_ARGS += bindir=$(PROTOUSRBINDIR)
8e13c83ce63d62a3d331fa7fda05d5ff73c77f0fDerek GathrightCOMPONENT_INSTALL_ARGS += sbindir=$(PROTOUSRSBINDIR)
8e13c83ce63d62a3d331fa7fda05d5ff73c77f0fDerek Gathright# Needed to find the antlr man page.
8e13c83ce63d62a3d331fa7fda05d5ff73c77f0fDerek Gathright# common targets
test: $(TEST_32)