Makefile revision 181
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith#
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith# CDDL HEADER START
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith#
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith# The contents of this file are subject to the terms of the
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith# Common Development and Distribution License (the "License").
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith# You may not use this file except in compliance with the License.
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith#
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith# or http://www.opensolaris.org/os/licensing.
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith# See the License for the specific language governing permissions
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith# and limitations under the License.
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith#
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith# When distributing Covered Code, include this CDDL HEADER in each
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith# If applicable, add the following below this CDDL HEADER, with the
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith# fields enclosed by brackets "[]" replaced with your own identifying
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith# information: Portions Copyright [yyyy] [name of copyright owner]
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith#
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith# CDDL HEADER END
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith#
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith#
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith#
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smithinclude ../../make-rules/shared-macros.mk
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke SmithCOMPONENT_NAME= bison
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke SmithCOMPONENT_VERSION= 2.3
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke SmithCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke SmithCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke SmithCOMPONENT_ARCHIVE_HASH= sha1:4df84c2c5971946111ff1982fb830b3c78d7c57e
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke SmithCOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/bison/$(COMPONENT_ARCHIVE)
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smithinclude ../../make-rules/prep.mk
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smithinclude ../../make-rules/configure.mk
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smithinclude ../../make-rules/ips.mk
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke SmithCONFIGURE_LIBDIR.32 = $(SFWLIB)
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke SmithCONFIGURE_LIBDIR.64 = $(SFWLIB)/$(MACH64)
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke SmithCONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke SmithCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith$(INSTALL_32): $(INSTALL_64)
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith# common targets
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smithbuild: $(BUILD_32_and_64)
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smithinstall: $(INSTALL_32_and_64)
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smithtest: $(TEST_32)
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke SmithBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smithinclude ../../make-rules/depend.mk
daa301d2a0f17b5c1b04d777de3acf969b9b63d2Luke Smith