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