components/gdb/Makefile
author April Chin <april.chin@oracle.com>
Fri, 15 Jul 2016 07:22:25 -0700
changeset 6420 65948e9e205b
parent 5785 44986b974b10
child 7687 1093e2a9adbd
permissions -rw-r--r--
22928258 update gdb to 7.11 20745970 need to investigate if gdb tests can be added to Makefile test target
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
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5066
diff changeset
    23
# Copyright (c) 2011, 2016, 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
6420
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    35
COMPONENT_VERSION=	7.11
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=	\
6420
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    37
    sha256:9382f5534aa0754169e1e09b5f1a3b77d1fa8c59c1e57617e06af37cb29c669a
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    38
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    39
TPNO=			27358
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    40
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    41
# 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
    42
# 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
    43
# 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
    44
# for test results comparison.
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    45
COMPONENT_POST_TEST_ACTION += \
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    46
	( $(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
    47
	$(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
    48
6420
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    49
# 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
    50
# Note that comparisons against master results 
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    51
# 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
    52
COMPONENT_TEST_MASTER = \
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    53
        $(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
    54
6420
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    55
# Test transforms retain only relevant results output.
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    56
COMPONENT_TEST_TRANSFORMS += \
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    57
        '-n ' \
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    58
        '-e "/^FAIL/p" ' \
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    59
        '-e "/^KFAIL/p" ' \
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    60
        '-e "/^PASS/p" ' \
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    61
        '-e "/^UNRESOLVED/p" ' \
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    62
        '-e "/^UNSUPPORTED/p" ' \
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    63
        '-e "/^UNTESTED/p" ' \
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    64
        '-e "/^XFAIL/p" ' \
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    65
        '-e "/^\# of /p" '
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    66
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    67
# 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
    68
# 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
    69
# appropriate for a full Userland test run
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    70
$(SKIP_TEST_AT_TOP_LEVEL)
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    71
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5066
diff changeset
    72
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
    73
1554
3989952688f2 17736015 minor fixes needed for gdb 7.6 in S12
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1511
diff changeset
    74
3989952688f2 17736015 minor fixes needed for gdb 7.6 in S12
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1511
diff changeset
    75
# GDB wants the GNU utilities
6420
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
    76
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
    77
5785
44986b974b10 23059402 gdb should specify the C standard to use when building
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 5682
diff changeset
    78
# 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
    79
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
    80
1511
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
    81
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
    82
CFLAGS_sparc +=	-mno-unaligned-doubles
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
    83
CFLAGS_sparc += -mapp-regs -mhard-float
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
    84
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
    85
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
    86
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
    87
CFLAGS = $(CC_BITS) $(CFLAGS_EXTRA) $(CFLAGS_$(MACH))
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
    88
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
    89
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
    90
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    91
CONFIGURE_OPTIONS += --with-x=no
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
    92
CONFIGURE_OPTIONS += --with-curses
1511
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
    93
CONFIGURE_OPTIONS += --disable-werror
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
    94
CONFIGURE_OPTIONS += --enable-plugins
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
    95
CONFIGURE_OPTIONS += --enable-tui
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
    96
CONFIGURE_OPTIONS += --without-auto-load-safe-path
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
    97
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
    98
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
    99
CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
6420
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
   100
CONFIGURE_OPTIONS += --with-system-zlib
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
   101
243
34b34302cac9 7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff changeset
   102
1511
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   103
# Generate the newly added Solaris instruction and
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   104
# 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
   105
COMPONENT_PRE_CONFIGURE_ACTION = \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   106
  ( cd  $(SOURCE_DIR)/gdb/features ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   107
    $(GMAKE) all )
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   108
6420
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
   109
# Ensure PATH is set during build;
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
   110
# 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
   111
# pod2man perl script, used to create manpages
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
   112
COMPONENT_BUILD_ENV += PATH=$(PATH)
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
   113
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
   114
# build the manpages
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
   115
COMPONENT_POST_BUILD_ACTION = \
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
   116
	( cd $(BUILD_DIR_64)/gdb/doc ; \
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
   117
	$(GMAKE) man )
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
   118
1511
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   119
COMPONENT_POST_INSTALL_ACTION = \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   120
  ( cd  $(PROTOUSRDIR)/share/gdb/python/gdb ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   121
      $(PYTHON) -m compileall . ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   122
    cd  $(PROTOUSRDIR)/share/gdb/python/gdb/command ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   123
      $(PYTHON) -m compileall . ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   124
    cd  $(PROTOUSRDIR)/share/gdb/python/gdb/function ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   125
      $(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
   126
    cd  $(PROTOUSRBINDIR)/ ; \
1511
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   127
      /usr/bin/strip -x gdb ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   128
    cd  $(COMPONENT_DIR) ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   129
      $(INSTALL) -m 0755 $(COMPONENT_DIR)/Solaris/gdbtui \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   130
	$(PROTOUSRBINDIR)/ ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   131
      $(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
   132
	$(PROTOUSRSHAREDIR)/info/ ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   133
      $(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
   134
	$(PROTOUSRSHAREDIR)/info/ ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   135
      $(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
   136
	$(PROTOUSRSHAREDIR)/info/ ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   137
      $(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
   138
	$(PROTOUSRSHAREDIR)/info/ ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   139
      $(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
   140
	$(PROTOUSRSHAREDIR)/info/ ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   141
      $(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
   142
	$(PROTOUSRSHAREDIR)/info/ ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   143
      $(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
   144
	$(PROTOUSRSHAREDIR)/info/ ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   145
      $(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
   146
	$(PROTOUSRSHAREDIR)/info/ ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   147
      $(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
   148
	$(PROTOUSRSHAREDIR)/info/ ; \
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   149
      $(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
   150
	$(PROTOUSRSHAREDIR)/info/ ; \
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
   151
      $(MKDIR) $(PROTOGNUSHAREMAN1) ; \
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
   152
      $(MKDIR) $(PROTOUSRSHAREMAN1DIR) ; \
65948e9e205b 22928258 update gdb to 7.11
April Chin <april.chin@oracle.com>
parents: 5785
diff changeset
   153
      $(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
   154
	$(PROTOUSRSHAREMAN1DIR) )
1511
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   155
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   156
# 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
   157
# altering the results of the debugging experiment.
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   158
ASLR_MODE=$(ASLR_DISABLE)
4d3b0b480760 17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 1058
diff changeset
   159
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   160
REQUIRED_PACKAGES += compress/xz
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   161
REQUIRED_PACKAGES += library/expat
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   162
REQUIRED_PACKAGES += library/ncurses
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   163
REQUIRED_PACKAGES += library/readline
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   164
REQUIRED_PACKAGES += library/zlib
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   165
REQUIRED_PACKAGES += shell/ksh93
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   166
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
   167
REQUIRED_PACKAGES += text/texinfo