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