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