Makefile revision 2899
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt#
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt# CDDL HEADER START
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt#
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt# The contents of this file are subject to the terms of the
f9aef05653eeb454c489d5bd2bde6daab774ad4aTinderbox User# Common Development and Distribution License (the "License").
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt# You may not use this file except in compliance with the License.
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt#
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt# or http://www.opensolaris.org/os/licensing.
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt# See the License for the specific language governing permissions
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt# and limitations under the License.
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt#
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt# When distributing Covered Code, include this CDDL HEADER in each
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt# If applicable, add the following below this CDDL HEADER, with the
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt# fields enclosed by brackets "[]" replaced with your own identifying
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt# information: Portions Copyright [yyyy] [name of copyright owner]
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt#
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt# CDDL HEADER END
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt#
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt#
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt#
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt
831f59eb43b56642b00f82e07722836d2f9593abEvan Huntinclude ../../make-rules/shared-macros.mk
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt
831f59eb43b56642b00f82e07722836d2f9593abEvan HuntCOMPONENT_NAME= bison
831f59eb43b56642b00f82e07722836d2f9593abEvan HuntCOMPONENT_VERSION= 2.3
831f59eb43b56642b00f82e07722836d2f9593abEvan HuntCOMPONENT_PROJECT_URL= http://www.gnu.org/software/bison/
831f59eb43b56642b00f82e07722836d2f9593abEvan HuntCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
831f59eb43b56642b00f82e07722836d2f9593abEvan HuntCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
831f59eb43b56642b00f82e07722836d2f9593abEvan HuntCOMPONENT_ARCHIVE_HASH= \
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt sha256:52f78aa4761a74ceb7fdf770f3554dd84308c3b93c4255e3a5c17558ecda293e
831f59eb43b56642b00f82e07722836d2f9593abEvan HuntCOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/bison/$(COMPONENT_ARCHIVE)
831f59eb43b56642b00f82e07722836d2f9593abEvan HuntCOMPONENT_BUGDB= utility/bison
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt
f9aef05653eeb454c489d5bd2bde6daab774ad4aTinderbox UserTPNO= 6254
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt
831f59eb43b56642b00f82e07722836d2f9593abEvan Huntinclude ../../make-rules/prep.mk
831f59eb43b56642b00f82e07722836d2f9593abEvan Huntinclude ../../make-rules/configure.mk
831f59eb43b56642b00f82e07722836d2f9593abEvan Huntinclude ../../make-rules/ips.mk
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt
831f59eb43b56642b00f82e07722836d2f9593abEvan HuntCONFIGURE_LIBDIR.32 = $(GNULIB)
831f59eb43b56642b00f82e07722836d2f9593abEvan HuntCONFIGURE_LIBDIR.64 = $(GNULIB)/$(MACH64)
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt
831f59eb43b56642b00f82e07722836d2f9593abEvan HuntCONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
831f59eb43b56642b00f82e07722836d2f9593abEvan HuntCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt# Enable ASLR for this component
831f59eb43b56642b00f82e07722836d2f9593abEvan HuntASLR_MODE = $(ASLR_ENABLE)
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt$(INSTALL_32): $(INSTALL_64)
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt# common targets
831f59eb43b56642b00f82e07722836d2f9593abEvan Huntbuild: $(BUILD_32_and_64)
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt
831f59eb43b56642b00f82e07722836d2f9593abEvan Huntinstall: $(INSTALL_32_and_64)
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunttest: $(TEST_64)
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt
831f59eb43b56642b00f82e07722836d2f9593abEvan HuntBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt
831f59eb43b56642b00f82e07722836d2f9593abEvan Huntinclude ../../make-rules/depend.mk
831f59eb43b56642b00f82e07722836d2f9593abEvan Hunt