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