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