components/gdb/Makefile
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Wed, 18 Dec 2013 10:04:53 -0800
branchs11-update
changeset 2855 576d5a7857b7
parent 2814 dff3ca0071d6
child 3661 47545fb8aed4
permissions -rw-r--r--
16404201 serialize pkglinting of components 16666374 userland misses opensolaris.org very much, but must move on to java.net's love 16703472 more userland components could benefit from resolve.deps files 16921386 move to parfait 1.2.0.1 16991973 some things ain't parfait'n 17361780 LD_Z_TEXT should, ya know, contain -z text not -z direct 17389915 default userland gcc should be gcc4 17621943 move to build 32 breaks userland-incorporation 17785723 gdb shouldn't override CC/CXX 17852021 userland-incorporator should detect duplicate packages 17899000 libtool doesn't build properly in non-C locale
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
243
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
     1
#
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
     3
#
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
     7
#
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    12
#
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    18
#
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    20
#
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    21
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    22
#
2814
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    23
# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
243
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    24
#
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    25
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    27
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		gdb
2814
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    29
COMPONENT_VERSION=	7.6
243
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    30
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 370
diff changeset
    32
COMPONENT_ARCHIVE_HASH=	\
2814
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    33
    sha256:8070389a5dcc104eb0be483d582729f98ed4d761ad19cedd3f17b5d2502faa36
243
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    34
COMPONENT_ARCHIVE_URL=	http://ftp.gnu.org/gnu/gdb/$(COMPONENT_ARCHIVE)
2814
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    35
COMPONENT_PROJECT_URL =	http://www.gnu.org/software/gdb/
2434
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents: 800
diff changeset
    36
COMPONENT_BUGDB=	utility/gdb
243
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    37
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    38
include ../../make-rules/prep.mk
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    39
include ../../make-rules/configure.mk
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    40
include ../../make-rules/ips.mk
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    41
2855
576d5a7857b7 16404201 serialize pkglinting of components
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 2814
diff changeset
    42
COMPILER=gcc
243
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    43
2814
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    44
# GDB wants the GNU utilities
2855
576d5a7857b7 16404201 serialize pkglinting of components
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 2814
diff changeset
    45
PATH=/usr/gnu/bin:$(GCC_ROOT)/bin:/usr/bin:/usr/perl5/bin
243
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    46
2814
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    47
CFLAGS_sparc =	-g -O2 -mcpu=ultrasparc -mtune=ultrasparc
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    48
CFLAGS_sparc +=	-mno-unaligned-doubles
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    49
CFLAGS_sparc += -mapp-regs -mhard-float
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    50
CFLAGS_i386 =	-g -O2 -march=opteron -mtune=opteron
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    51
CFLAGS_EXTRA = -Wall -Wno-long-long -Wcast-align -fno-omit-frame-pointer
243
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    52
2814
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    53
CFLAGS = $(CC_BITS) $(CFLAGS_EXTRA) $(CFLAGS_$(MACH))
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    54
CXXFLAGS = $(CC_BITS) $(CFLAGS_EXTRA) $(CFLAGS_$(MACH))
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    55
CPPFLAGS = -D_REENTRANT -I/usr/include/ncurses
243
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    56
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    57
# `echo $(CFLAGS)` and `echo $(LDFLAGS)` used to
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    58
# work around problem with extra blank characters
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    59
# inserted into configrue option strings during
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    60
# nested configure invocations within the gdb build.
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    61
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    62
CONFIGURE_ENV += CFLAGS="`echo $(CFLAGS)`"
2814
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    63
CONFIGURE_ENV += CPPFLAGS="`echo $(CPPFLAGS)`"
243
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    64
CONFIGURE_ENV += LDFLAGS="`echo $(LDFLAGS)`"
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    65
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    66
CONFIGURE_OPTIONS += --with-x=no
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    67
CONFIGURE_OPTIONS += --with-curses
2814
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    68
CONFIGURE_OPTIONS += --disable-werror
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    69
CONFIGURE_OPTIONS += --enable-plugins
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    70
CONFIGURE_OPTIONS += --enable-tui
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    71
CONFIGURE_OPTIONS += --without-auto-load-safe-path
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    72
CONFIGURE_OPTIONS += --with-python=yes
243
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    73
CONFIGURE_OPTIONS += --with-libexpat-prefix=/usr/lib
370
db873833a34f 7062891 text/texinfo delivers /usr/info, should be /usr/share/info
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 316
diff changeset
    74
CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
243
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    75
2814
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    76
# Generate the newly added Solaris instruction and
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    77
# register tables which weren't there by default.
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    78
COMPONENT_PRE_CONFIGURE_ACTION = \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    79
  ( cd  $(SOURCE_DIR)/gdb/features ; \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    80
    $(GMAKE) all )
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    81
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    82
COMPONENT_POST_INSTALL_ACTION = \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    83
  ( cd  $(PROTOUSRDIR)/share/gdb/python/gdb ; \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    84
      $(PYTHON) -m compileall . ; \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    85
    cd  $(PROTOUSRDIR)/share/gdb/python/gdb/command ; \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    86
      $(PYTHON) -m compileall . ; \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    87
    cd  $(PROTOUSRDIR)/share/gdb/python/gdb/function ; \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    88
      $(PYTHON) -m compileall . ; \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    89
    cd  $(PROTOUSRBINDIR64)/ ; \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    90
      /usr/bin/strip -x gdb ; \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    91
    cd  $(COMPONENT_DIR) ; \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    92
      $(INSTALL) -m 0755 $(COMPONENT_DIR)/Solaris/gdbtui \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    93
	$(PROTOUSRBINDIR)/ ; \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    94
      $(INSTALL) -m 0644 $(SOURCE_DIR)/gdb/doc/gdb.info  \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    95
	$(PROTOUSRSHAREDIR)/info/ ; \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    96
      $(INSTALL) -m 0644 $(SOURCE_DIR)/gdb/doc/gdb.info-1  \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    97
	$(PROTOUSRSHAREDIR)/info/ ; \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    98
      $(INSTALL) -m 0644 $(SOURCE_DIR)/gdb/doc/gdb.info-2  \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
    99
	$(PROTOUSRSHAREDIR)/info/ ; \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
   100
      $(INSTALL) -m 0644 $(SOURCE_DIR)/gdb/doc/gdb.info-3  \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
   101
	$(PROTOUSRSHAREDIR)/info/ ; \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
   102
      $(INSTALL) -m 0644 $(SOURCE_DIR)/gdb/doc/gdb.info-4  \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
   103
	$(PROTOUSRSHAREDIR)/info/ ; \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
   104
      $(INSTALL) -m 0644 $(SOURCE_DIR)/gdb/doc/gdb.info-5  \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
   105
	$(PROTOUSRSHAREDIR)/info/ ; \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
   106
      $(INSTALL) -m 0644 $(SOURCE_DIR)/gdb/doc/gdb.info-6  \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
   107
	$(PROTOUSRSHAREDIR)/info/ ; \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
   108
      $(INSTALL) -m 0644 $(SOURCE_DIR)/gdb/doc/gdb.info-7  \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
   109
	$(PROTOUSRSHAREDIR)/info/ ; \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
   110
      $(INSTALL) -m 0644 $(SOURCE_DIR)/gdb/doc/gdbint.info  \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
   111
	$(PROTOUSRSHAREDIR)/info/ ; \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
   112
      $(INSTALL) -m 0644 $(SOURCE_DIR)/gdb/doc/gdbint.info-1  \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
   113
	$(PROTOUSRSHAREDIR)/info/ ; \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
   114
      $(INSTALL) -m 0644 $(SOURCE_DIR)/gdb/doc/gdbint.info-2  \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
   115
	$(PROTOUSRSHAREDIR)/info/ ; \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
   116
      $(INSTALL) -m 0644 $(SOURCE_DIR)/gdb/doc/annotate.info  \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
   117
	$(PROTOUSRSHAREDIR)/info/ ; \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
   118
      $(INSTALL) -m 0644 $(SOURCE_DIR)/gdb/doc/stabs.info  \
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
   119
	$(PROTOUSRSHAREDIR)/info/ )
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
   120
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
   121
# Disable ASLR: it's a debugger and we do not want to risk
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
   122
# altering the results of the debugging experiment.
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
   123
ASLR_MODE=$(ASLR_DISABLE)
dff3ca0071d6 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 2434
diff changeset
   124
243
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
   125
# common targets
316
28499cc7ae96 7044847 remove 32 bit executables from developer/debug/gdb on x86
George Vasick <george.vasick@oracle.com>
parents: 243
diff changeset
   126
build:		$(BUILD_64)
243
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
   127
316
28499cc7ae96 7044847 remove 32 bit executables from developer/debug/gdb on x86
George Vasick <george.vasick@oracle.com>
parents: 243
diff changeset
   128
install:	$(INSTALL_64)
243
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
   129
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
   130
test:		$(NO_TESTS)
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
   131
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
   132
BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
   133
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
   134
include ../../make-rules/depend.mk