Makefile revision 243
234N/A#
234N/A# CDDL HEADER START
234N/A#
234N/A# The contents of this file are subject to the terms of the
234N/A# Common Development and Distribution License (the "License").
234N/A# You may not use this file except in compliance with the License.
234N/A#
234N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
234N/A# or http://www.opensolaris.org/os/licensing.
234N/A# See the License for the specific language governing permissions
234N/A# and limitations under the License.
234N/A#
234N/A# When distributing Covered Code, include this CDDL HEADER in each
234N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
234N/A# If applicable, add the following below this CDDL HEADER, with the
234N/A# fields enclosed by brackets "[]" replaced with your own identifying
234N/A# information: Portions Copyright [yyyy] [name of copyright owner]
234N/A#
234N/A# CDDL HEADER END
234N/A#
3661N/A
234N/A#
234N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
234N/A#
234N/A
234N/Ainclude ../../make-rules/shared-macros.mk
234N/A
234N/ACOMPONENT_NAME= gdb
618N/ACOMPONENT_VERSION= 6.8
234N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
234N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= sha1:15e67382c39640caafa144abf2c8943106aa97d9
844N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/gdb/$(COMPONENT_ARCHIVE)
234N/A
1273N/Ainclude ../../make-rules/prep.mk
234N/Ainclude ../../make-rules/configure.mk
3661N/Ainclude ../../make-rules/ips.mk
3661N/A
234N/A# optimization level lowered to -xO3 to address failures in the
234N/A# gdb test suite at -xO4.
234N/A
234N/Astudio_OPT.sparc.32 = -xO3
234N/Astudio_OPT.sparc.64 = -xO3
234N/Astudio_OPT.i386.32 = -xO3
234N/Astudio_OPT.i386.64 = -xO3
234N/A
234N/AIPS_COMPONENT_VERSION = 6.8
234N/ACOMPONENT_PROJECT_URL = http://www.gnu.org/software/gdb/
234N/A
234N/ACURSES_DIR_32 = /usr/gnu/lib
234N/ACURSES_DIR_64 = /usr/gnu/lib/$(MACH64)
234N/ACURSES_DIR = $(CURSES_DIR_$(BITS))
234N/ALDFLAGS += -L$(CURSES_DIR) -R$(CURSES_DIR)
234N/A
234N/A# `echo $(CFLAGS)` and `echo $(LDFLAGS)` used to
# work around problem with extra blank characters
# inserted into configrue option strings during
# nested configure invocations within the gdb build.
CONFIGURE_ENV += CFLAGS="`echo $(CFLAGS)`"
CONFIGURE_ENV += LDFLAGS="`echo $(LDFLAGS)`"
CONFIGURE_OPTIONS += --with-system-readline
CONFIGURE_OPTIONS += --with-x=no
CONFIGURE_OPTIONS += --with-curses
CONFIGURE_OPTIONS += --with-libexpat-prefix=/usr/lib
# common targets
build: $(BUILD_32_and_64)
install: $(INSTALL_32_and_64)
test: $(NO_TESTS)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../make-rules/depend.mk