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