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