Makefile revision 1392
c93f22e29ce34fa597140835aafff5a770513ad2Jeff Conniff#
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp# CDDL HEADER START
8a9c8f46081091689310524284394f06d22fcbfeJeff Conniff#
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp# The contents of this file are subject to the terms of the
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp# Common Development and Distribution License (the "License").
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp# You may not use this file except in compliance with the License.
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp#
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp# or http://www.opensolaris.org/os/licensing.
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp# See the License for the specific language governing permissions
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp# and limitations under the License.
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp#
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp# When distributing Covered Code, include this CDDL HEADER in each
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp# If applicable, add the following below this CDDL HEADER, with the
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp# fields enclosed by brackets "[]" replaced with your own identifying
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp# information: Portions Copyright [yyyy] [name of copyright owner]
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp#
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp# CDDL HEADER END
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp#
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp#
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp#
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Trippinclude ../../make-rules/shared-macros.mk
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86TrippCOMPONENT_NAME= bison
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86TrippCOMPONENT_VERSION= 2.3
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86TrippCOMPONENT_PROJECT_URL= http://www.gnu.org/software/bison/
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86TrippCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86TrippCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86TrippCOMPONENT_ARCHIVE_HASH= \
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp sha256:52f78aa4761a74ceb7fdf770f3554dd84308c3b93c4255e3a5c17558ecda293e
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86TrippCOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/bison/$(COMPONENT_ARCHIVE)
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86TrippCOMPONENT_BUGDB= utility/bison
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Trippinclude ../../make-rules/prep.mk
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Trippinclude ../../make-rules/configure.mk
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Trippinclude ../../make-rules/ips.mk
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86TrippCONFIGURE_LIBDIR.32 = $(GNULIB)
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86TrippCONFIGURE_LIBDIR.64 = $(GNULIB)/$(MACH64)
d1a404610f53bdff63cde29a00ea9cf48739d91eTripp
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86TrippCONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86TrippCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp# Enable ASLR for this component
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86TrippASLR_MODE = $(ASLR_ENABLE)
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp$(INSTALL_32): $(INSTALL_64)
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp# common targets
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Trippbuild: $(BUILD_32_and_64)
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Trippinstall: $(INSTALL_32_and_64)
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripptest: $(TEST_32)
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86TrippBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Trippinclude ../../make-rules/depend.mk
5e878519d1a8afcc3b0c5d9aa68d4751ed294c86Tripp