components/gdb/Makefile
author Shawn Walker-Salas <shawn.walker@oracle.com>
Mon, 20 Mar 2017 13:19:50 -0700
changeset 7825 c0f7360a6135
parent 7687 1093e2a9adbd
child 7940 f9c043c82323
permissions -rw-r--r--
25465796 update to gdb 7.12.1
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
#
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 6420
diff changeset
    23
# Copyright (c) 2011, 2017, 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
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5066
diff changeset
    25
BUILD_BITS= 64
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    26
# There are a large number of macros in the GCB code written
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    27
# specifically for GCC's preprocessor. Studio does not expand
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    28
# these macros the same way GCC does, and the resulting gdb is
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    29
# not usable. Building gdb with a GCC >= 4.7.2 produces very
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    30
# good results, even on SPARC.
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5066
diff changeset
    31
COMPILER= gcc
243
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    32
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
    33
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    34
COMPONENT_NAME=		gdb
7825
c0f7360a6135 25465796 update to gdb 7.12.1
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 7687
diff changeset
    35
COMPONENT_VERSION=	7.12.1
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
    36
COMPONENT_ARCHIVE_HASH=	\
7825
c0f7360a6135 25465796 update to gdb 7.12.1
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 7687
diff changeset
    37
    sha256:142057eacecfb929d52b561eb47a1103c7d504cec3f659dd8a5ae7bc378f7e77
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 6420
diff changeset
    38
COMPONENT_ANITYA_ID=	11798
6420
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    39
7825
c0f7360a6135 25465796 update to gdb 7.12.1
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 7687
diff changeset
    40
TPNO=			34387
6420
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    41
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    42
# The traditional output from gmake test omits some
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    43
# test results information that is contained in the 
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    44
# build/<arch>/gdb/testsuite/gdb.sum file, so use that file instead
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    45
# for test results comparison.
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    46
COMPONENT_POST_TEST_ACTION += \
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    47
	( $(MV) $(COMPONENT_TEST_OUTPUT) $(COMPONENT_TEST_OUTPUT)-orig ; \
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    48
	$(CP) $(BUILD_DIR_64)/gdb/testsuite/gdb.sum $(COMPONENT_TEST_OUTPUT) )
243
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    49
6420
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    50
# Results output is different on Intel vs. SPARC.
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    51
# Note that comparisons against master results 
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    52
# are not clean since results will still vary.
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    53
COMPONENT_TEST_MASTER = \
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    54
        $(COMPONENT_TEST_RESULTS_DIR)/results-$(MACH)-$(BITS).master
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1554
diff changeset
    55
6420
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    56
# Test transforms retain only relevant results output.
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    57
COMPONENT_TEST_TRANSFORMS += \
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    58
        '-n ' \
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    59
        '-e "/^FAIL/p" ' \
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    60
        '-e "/^KFAIL/p" ' \
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    61
        '-e "/^PASS/p" ' \
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    62
        '-e "/^UNRESOLVED/p" ' \
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    63
        '-e "/^UNSUPPORTED/p" ' \
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    64
        '-e "/^UNTESTED/p" ' \
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    65
        '-e "/^XFAIL/p" ' \
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    66
        '-e "/^\# of /p" '
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    67
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    68
# Test results vary from run to run and machine to machine,
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    69
# so master test results will not match, and are not
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    70
# appropriate for a full Userland test run
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    71
$(SKIP_TEST_AT_TOP_LEVEL)
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    72
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5066
diff changeset
    73
include $(WS_MAKE_RULES)/gnu-component.mk
243
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    74
1554
3989952688f2 17736015 minor fixes needed for gdb 7.6 in S12
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1511
diff changeset
    75
3989952688f2 17736015 minor fixes needed for gdb 7.6 in S12
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1511
diff changeset
    76
# GDB wants the GNU utilities
6420
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    77
PATH=/usr/gnu/bin:$(GCC_ROOT)/bin:/usr/bin:/usr/perl/$(PERL_VERSION)/bin
243
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    78
5785
44986b974b10 23059402 gdb should specify the C standard to use when building
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 5682
diff changeset
    79
# Specify the C Standard to use when building
6420
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    80
CC += -std=gnu99
5785
44986b974b10 23059402 gdb should specify the C standard to use when building
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 5682
diff changeset
    81
1511
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
    82
CFLAGS_sparc =	-g -O2 -mcpu=ultrasparc -mtune=ultrasparc
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
    83
CFLAGS_sparc +=	-mno-unaligned-doubles
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
    84
CFLAGS_sparc += -mapp-regs -mhard-float
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
    85
CFLAGS_i386 =	-g -O2 -march=opteron -mtune=opteron
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
    86
CFLAGS_EXTRA = -Wall -Wno-long-long -Wcast-align -fno-omit-frame-pointer
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
    87
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
    88
CFLAGS = $(CC_BITS) $(CFLAGS_EXTRA) $(CFLAGS_$(MACH))
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
    89
CXXFLAGS = $(CC_BITS) $(CFLAGS_EXTRA) $(CFLAGS_$(MACH))
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5066
diff changeset
    90
CPPFLAGS = -D_REENTRANT -I$(USRINCDIR)/ncurses
243
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    91
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    92
CONFIGURE_OPTIONS += --with-x=no
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    93
CONFIGURE_OPTIONS += --with-curses
1511
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
    94
CONFIGURE_OPTIONS += --disable-werror
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
    95
CONFIGURE_OPTIONS += --enable-plugins
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
    96
CONFIGURE_OPTIONS += --enable-tui
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
    97
CONFIGURE_OPTIONS += --without-auto-load-safe-path
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
    98
CONFIGURE_OPTIONS += --with-python=yes
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5066
diff changeset
    99
CONFIGURE_OPTIONS += --with-libexpat-prefix=$(USRLIBDIR)
370
db873833a34f 7062891 text/texinfo delivers /usr/info, should be /usr/share/info
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 316
diff changeset
   100
CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
6420
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
   101
CONFIGURE_OPTIONS += --with-system-zlib
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
   102
243
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
   103
1511
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   104
# Generate the newly added Solaris instruction and
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   105
# register tables which weren't there by default.
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   106
COMPONENT_PRE_CONFIGURE_ACTION = \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   107
  ( cd  $(SOURCE_DIR)/gdb/features ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   108
    $(GMAKE) all )
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   109
6420
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
   110
# Ensure PATH is set during build;
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
   111
# need /usr/perl5/$(PERL_VERSION)/bin from PATH to access 
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
   112
# pod2man perl script, used to create manpages
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
   113
COMPONENT_BUILD_ENV += PATH=$(PATH)
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
   114
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
   115
# build the manpages
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
   116
COMPONENT_POST_BUILD_ACTION = \
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
   117
	( cd $(BUILD_DIR_64)/gdb/doc ; \
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
   118
	$(GMAKE) man )
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
   119
1511
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   120
COMPONENT_POST_INSTALL_ACTION = \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   121
  ( cd  $(PROTOUSRDIR)/share/gdb/python/gdb ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   122
      $(PYTHON) -m compileall . ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   123
    cd  $(PROTOUSRDIR)/share/gdb/python/gdb/command ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   124
      $(PYTHON) -m compileall . ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   125
    cd  $(PROTOUSRDIR)/share/gdb/python/gdb/function ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   126
      $(PYTHON) -m compileall . ; \
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5066
diff changeset
   127
    cd  $(PROTOUSRBINDIR)/ ; \
1511
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   128
      /usr/bin/strip -x gdb ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   129
    cd  $(COMPONENT_DIR) ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   130
      $(INSTALL) -m 0755 $(COMPONENT_DIR)/Solaris/gdbtui \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   131
	$(PROTOUSRBINDIR)/ ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   132
      $(INSTALL) -m 0644 $(SOURCE_DIR)/gdb/doc/gdb.info  \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   133
	$(PROTOUSRSHAREDIR)/info/ ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   134
      $(INSTALL) -m 0644 $(SOURCE_DIR)/gdb/doc/gdb.info-1  \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   135
	$(PROTOUSRSHAREDIR)/info/ ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   136
      $(INSTALL) -m 0644 $(SOURCE_DIR)/gdb/doc/gdb.info-2  \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   137
	$(PROTOUSRSHAREDIR)/info/ ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   138
      $(INSTALL) -m 0644 $(SOURCE_DIR)/gdb/doc/gdb.info-3  \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   139
	$(PROTOUSRSHAREDIR)/info/ ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   140
      $(INSTALL) -m 0644 $(SOURCE_DIR)/gdb/doc/gdb.info-4  \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   141
	$(PROTOUSRSHAREDIR)/info/ ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   142
      $(INSTALL) -m 0644 $(SOURCE_DIR)/gdb/doc/gdb.info-5  \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   143
	$(PROTOUSRSHAREDIR)/info/ ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   144
      $(INSTALL) -m 0644 $(SOURCE_DIR)/gdb/doc/gdb.info-6  \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   145
	$(PROTOUSRSHAREDIR)/info/ ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   146
      $(INSTALL) -m 0644 $(SOURCE_DIR)/gdb/doc/gdb.info-7  \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   147
	$(PROTOUSRSHAREDIR)/info/ ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   148
      $(INSTALL) -m 0644 $(SOURCE_DIR)/gdb/doc/annotate.info  \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   149
	$(PROTOUSRSHAREDIR)/info/ ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   150
      $(INSTALL) -m 0644 $(SOURCE_DIR)/gdb/doc/stabs.info  \
6420
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
   151
	$(PROTOUSRSHAREDIR)/info/ ; \
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
   152
      $(MKDIR) $(PROTOGNUSHAREMAN1) ; \
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
   153
      $(MKDIR) $(PROTOUSRSHAREMAN1DIR) ; \
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
   154
      $(INSTALL) -m 0444 $(BUILD_DIR_64)/gdb/doc/gdb.1 \
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
   155
	$(PROTOUSRSHAREMAN1DIR) )
1511
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   156
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   157
# Disable ASLR: it's a debugger and we do not want to risk
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   158
# altering the results of the debugging experiment.
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   159
ASLR_MODE=$(ASLR_DISABLE)
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   160
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   161
REQUIRED_PACKAGES += compress/xz
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   162
REQUIRED_PACKAGES += library/expat
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   163
REQUIRED_PACKAGES += library/ncurses
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   164
REQUIRED_PACKAGES += library/readline
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   165
REQUIRED_PACKAGES += library/zlib
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   166
REQUIRED_PACKAGES += shell/ksh93
7825
c0f7360a6135 25465796 update to gdb 7.12.1
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 7687
diff changeset
   167
REQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime
c0f7360a6135 25465796 update to gdb 7.12.1
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 7687
diff changeset
   168
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   169
REQUIRED_PACKAGES += system/library/math
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   170
REQUIRED_PACKAGES += text/texinfo