author | Rich Burridge <rich.burridge@oracle.com> |
Wed, 02 Apr 2014 07:43:35 -0700 | |
changeset 1808 | 49bcd88a82a0 |
parent 1554 | 3989952688f2 |
child 1948 | 2d1537e7942d |
permissions | -rw-r--r-- |
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 |
# |
1511
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
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 |
1511
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
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= \ |
1511
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
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) |
1511
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
35 |
COMPONENT_PROJECT_URL = http://www.gnu.org/software/gdb/ |
1058
34d7aaa03423
15886624 Auto-generation of Userland gate list - Phase 3
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 |
|
1511
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
42 |
# There are a large number of macros in the GCB code written |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
43 |
# specifically for GCC's preprocessor. Studio does not expand |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
44 |
# these macros the same way GCC does, and the resulting gdb is |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
45 |
# not usable. Building gdb with a GCC >= 4.7.2 produces very |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
46 |
# good results, even on SPARC. |
1554
3989952688f2
17736015 minor fixes needed for gdb 7.6 in S12
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1511
diff
changeset
|
47 |
COMPILER=gcc |
3989952688f2
17736015 minor fixes needed for gdb 7.6 in S12
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1511
diff
changeset
|
48 |
GCCHOME=/usr/gcc/4.7 |
3989952688f2
17736015 minor fixes needed for gdb 7.6 in S12
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1511
diff
changeset
|
49 |
|
3989952688f2
17736015 minor fixes needed for gdb 7.6 in S12
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1511
diff
changeset
|
50 |
# GDB wants the GNU utilities |
3989952688f2
17736015 minor fixes needed for gdb 7.6 in S12
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1511
diff
changeset
|
51 |
PATH=/usr/gnu/bin:$(GCCHOME)/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
|
52 |
|
1511
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
53 |
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
|
54 |
CFLAGS_sparc += -mno-unaligned-doubles |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
55 |
CFLAGS_sparc += -mapp-regs -mhard-float |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
56 |
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
|
57 |
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
|
58 |
|
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
59 |
CFLAGS = $(CC_BITS) $(CFLAGS_EXTRA) $(CFLAGS_$(MACH)) |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
60 |
CXXFLAGS = $(CC_BITS) $(CFLAGS_EXTRA) $(CFLAGS_$(MACH)) |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
61 |
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
|
62 |
|
34b34302cac9
7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff
changeset
|
63 |
# `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
|
64 |
# 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
|
65 |
# 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
|
66 |
# 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
|
67 |
|
34b34302cac9
7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff
changeset
|
68 |
CONFIGURE_ENV += CFLAGS="`echo $(CFLAGS)`" |
1511
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
69 |
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
|
70 |
CONFIGURE_ENV += LDFLAGS="`echo $(LDFLAGS)`" |
34b34302cac9
7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff
changeset
|
71 |
|
34b34302cac9
7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff
changeset
|
72 |
CONFIGURE_OPTIONS += --with-x=no |
34b34302cac9
7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff
changeset
|
73 |
CONFIGURE_OPTIONS += --with-curses |
1511
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
74 |
CONFIGURE_OPTIONS += --disable-werror |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
75 |
CONFIGURE_OPTIONS += --enable-plugins |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
76 |
CONFIGURE_OPTIONS += --enable-tui |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
77 |
CONFIGURE_OPTIONS += --without-auto-load-safe-path |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
78 |
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
|
79 |
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
|
80 |
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
|
81 |
|
1511
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
82 |
# Generate the newly added Solaris instruction and |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
83 |
# 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
|
84 |
COMPONENT_PRE_CONFIGURE_ACTION = \ |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
85 |
( cd $(SOURCE_DIR)/gdb/features ; \ |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
86 |
$(GMAKE) all ) |
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 |
COMPONENT_POST_INSTALL_ACTION = \ |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
89 |
( cd $(PROTOUSRDIR)/share/gdb/python/gdb ; \ |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
90 |
$(PYTHON) -m compileall . ; \ |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
91 |
cd $(PROTOUSRDIR)/share/gdb/python/gdb/command ; \ |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
92 |
$(PYTHON) -m compileall . ; \ |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
93 |
cd $(PROTOUSRDIR)/share/gdb/python/gdb/function ; \ |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
94 |
$(PYTHON) -m compileall . ; \ |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
95 |
cd $(PROTOUSRBINDIR64)/ ; \ |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
96 |
/usr/bin/strip -x gdb ; \ |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
97 |
cd $(COMPONENT_DIR) ; \ |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
98 |
$(INSTALL) -m 0755 $(COMPONENT_DIR)/Solaris/gdbtui \ |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
99 |
$(PROTOUSRBINDIR)/ ; \ |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
100 |
$(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
|
101 |
$(PROTOUSRSHAREDIR)/info/ ; \ |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
102 |
$(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
|
103 |
$(PROTOUSRSHAREDIR)/info/ ; \ |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
104 |
$(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
|
105 |
$(PROTOUSRSHAREDIR)/info/ ; \ |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
106 |
$(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
|
107 |
$(PROTOUSRSHAREDIR)/info/ ; \ |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
108 |
$(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
|
109 |
$(PROTOUSRSHAREDIR)/info/ ; \ |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
110 |
$(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
|
111 |
$(PROTOUSRSHAREDIR)/info/ ; \ |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
112 |
$(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
|
113 |
$(PROTOUSRSHAREDIR)/info/ ; \ |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
114 |
$(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
|
115 |
$(PROTOUSRSHAREDIR)/info/ ; \ |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
116 |
$(INSTALL) -m 0644 $(SOURCE_DIR)/gdb/doc/gdbint.info \ |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
117 |
$(PROTOUSRSHAREDIR)/info/ ; \ |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
118 |
$(INSTALL) -m 0644 $(SOURCE_DIR)/gdb/doc/gdbint.info-1 \ |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
119 |
$(PROTOUSRSHAREDIR)/info/ ; \ |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
120 |
$(INSTALL) -m 0644 $(SOURCE_DIR)/gdb/doc/gdbint.info-2 \ |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
121 |
$(PROTOUSRSHAREDIR)/info/ ; \ |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
122 |
$(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
|
123 |
$(PROTOUSRSHAREDIR)/info/ ; \ |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
124 |
$(INSTALL) -m 0644 $(SOURCE_DIR)/gdb/doc/stabs.info \ |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
125 |
$(PROTOUSRSHAREDIR)/info/ ) |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
126 |
|
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
127 |
# 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
|
128 |
# altering the results of the debugging experiment. |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
129 |
ASLR_MODE=$(ASLR_DISABLE) |
4d3b0b480760
17086418 upgrade gdb to 7.6
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
130 |
|
243
34b34302cac9
7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff
changeset
|
131 |
# 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
|
132 |
build: $(BUILD_64) |
243
34b34302cac9
7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff
changeset
|
133 |
|
316
28499cc7ae96
7044847 remove 32 bit executables from developer/debug/gdb on x86
George Vasick <george.vasick@oracle.com>
parents:
243
diff
changeset
|
134 |
install: $(INSTALL_64) |
243
34b34302cac9
7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff
changeset
|
135 |
|
34b34302cac9
7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff
changeset
|
136 |
test: $(NO_TESTS) |
34b34302cac9
7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff
changeset
|
137 |
|
34b34302cac9
7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff
changeset
|
138 |
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
34b34302cac9
7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff
changeset
|
139 |
|
34b34302cac9
7039303 Move gdb 6.8 from SFW to Userland.
George Vasick <george.vasick@oracle.com>
parents:
diff
changeset
|
140 |
include ../../make-rules/depend.mk |