author | Rich Burridge <rich.burridge@oracle.com> |
Tue, 11 Aug 2015 16:13:01 -0700 | |
changeset 4768 | 36f47c0b202b |
parent 4609 | c87d757fa091 |
child 4815 | 6deafddbd89b |
permissions | -rw-r--r-- |
131
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
1 |
# |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
3 |
# |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
7 |
# |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
12 |
# |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
18 |
# |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
20 |
# |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
21 |
|
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
22 |
# |
3733
ef84d96c9e0e
20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
23 |
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
131
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
24 |
# |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
25 |
|
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
26 |
include ../../make-rules/shared-macros.mk |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
27 |
|
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
28 |
COMPONENT_NAME= readline |
4609
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
29 |
COMPONENT_VERSION= 6.3 |
609
775168282b2f
7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents:
181
diff
changeset
|
30 |
COMPONENT_PROJECT_URL= http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html |
131
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
31 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
32 |
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:
618
diff
changeset
|
33 |
COMPONENT_ARCHIVE_HASH= \ |
4609
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
34 |
sha256:56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43 |
131
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
35 |
COMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/readline/$(COMPONENT_ARCHIVE) |
1058
34d7aaa03423
15886624 Auto-generation of Userland gate list - Phase 3
Rich Burridge <rich.burridge@oracle.com>
parents:
800
diff
changeset
|
36 |
COMPONENT_BUGDB= library/readline |
131
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
37 |
|
4609
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
38 |
TPNO_V6= 22356 |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
39 |
TPNO_V5= 9042 |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
40 |
|
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
41 |
# For now, we want to continue to provide the libreadline and libhistory so's |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
42 |
# (and their links) from readline 5.2. |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
43 |
# |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
44 |
COMPONENT_VERSION_1 = 5.2 |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
45 |
COMPONENT_SRC_1 = $(COMPONENT_NAME)-$(COMPONENT_VERSION_1) |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
46 |
COMPONENT_ARCHIVE_1 = $(COMPONENT_SRC_1).tar.gz |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
47 |
COMPONENT_ARCHIVE_HASH_1 = \ |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
48 |
sha256:12e88d96aee2cd1192500356f0535540db499282ca7f76339fb4228c31249f45 |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
49 |
COMPONENT_ARCHIVE_URL_1 = http://ftp.gnu.org/gnu/readline/$(COMPONENT_ARCHIVE_1) |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
50 |
SOURCE_DIR_1 = $(COMPONENT_DIR)/$(COMPONENT_SRC_1) |
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1434
diff
changeset
|
51 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3733
diff
changeset
|
52 |
include $(WS_MAKE_RULES)/prep.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3733
diff
changeset
|
53 |
include $(WS_MAKE_RULES)/configure.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3733
diff
changeset
|
54 |
include $(WS_MAKE_RULES)/ips.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3733
diff
changeset
|
55 |
include $(WS_MAKE_RULES)/lint-libraries.mk |
618
9eb376524c7b
6992087 Missing lint library for libreadline.so
Rich Burridge <rich.burridge@oracle.com>
parents:
609
diff
changeset
|
56 |
|
9eb376524c7b
6992087 Missing lint library for libreadline.so
Rich Burridge <rich.burridge@oracle.com>
parents:
609
diff
changeset
|
57 |
LINT_FLAGS += -I$(PROTO_DIR)/usr/include |
131
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
58 |
|
3733
ef84d96c9e0e
20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
59 |
CC += $(CC_BITS) |
ef84d96c9e0e
20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
60 |
|
131
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
61 |
# readline likes to use ld directly and this is the easiest |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
62 |
# way to get it to add -lc |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
63 |
LDFLAGS += -lc |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
64 |
CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR) |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
65 |
CONFIGURE_OPTIONS += --enable-shared |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
66 |
CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
67 |
CONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)" |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
68 |
|
3733
ef84d96c9e0e
20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
69 |
# Build the readline examples as well. |
ef84d96c9e0e
20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
70 |
COMPONENT_BUILD_TARGETS = everything |
ef84d96c9e0e
20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
71 |
|
ef84d96c9e0e
20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
72 |
COMPONENT_TEST_DIR = $(@D)/examples |
ef84d96c9e0e
20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
73 |
COMPONENT_TEST_CMD = $(CAT) $(SOURCE_DIR)/examples/Inputrc | ./rlcat |
ef84d96c9e0e
20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
74 |
COMPONENT_TEST_TARGETS = |
ef84d96c9e0e
20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
75 |
|
ef84d96c9e0e
20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
76 |
# Master test results are the same for 32-bit and 64-bit, so override |
ef84d96c9e0e
20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
77 |
# here, rather than create multiple identical master files. |
ef84d96c9e0e
20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
78 |
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master |
ef84d96c9e0e
20461085 READLINE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
79 |
|
4768
36f47c0b202b
21613730 asciidoc should hookup its system-test target.
Rich Burridge <rich.burridge@oracle.com>
parents:
4609
diff
changeset
|
80 |
# Needed to build the test program. |
36f47c0b202b
21613730 asciidoc should hookup its system-test target.
Rich Burridge <rich.burridge@oracle.com>
parents:
4609
diff
changeset
|
81 |
COMPONENT_PRE_SYSTEM_TEST_ACTION += \ |
36f47c0b202b
21613730 asciidoc should hookup its system-test target.
Rich Burridge <rich.burridge@oracle.com>
parents:
4609
diff
changeset
|
82 |
(cd $(@D) ; $(GMAKE) libreadline.a ) ; |
36f47c0b202b
21613730 asciidoc should hookup its system-test target.
Rich Burridge <rich.burridge@oracle.com>
parents:
4609
diff
changeset
|
83 |
|
36f47c0b202b
21613730 asciidoc should hookup its system-test target.
Rich Burridge <rich.burridge@oracle.com>
parents:
4609
diff
changeset
|
84 |
# Build the test program. |
36f47c0b202b
21613730 asciidoc should hookup its system-test target.
Rich Burridge <rich.burridge@oracle.com>
parents:
4609
diff
changeset
|
85 |
COMPONENT_PRE_SYSTEM_TEST_ACTION += \ |
36f47c0b202b
21613730 asciidoc should hookup its system-test target.
Rich Burridge <rich.burridge@oracle.com>
parents:
4609
diff
changeset
|
86 |
(cd $(@D)/examples ; $(GMAKE) rlcat ) ; |
36f47c0b202b
21613730 asciidoc should hookup its system-test target.
Rich Burridge <rich.burridge@oracle.com>
parents:
4609
diff
changeset
|
87 |
|
36f47c0b202b
21613730 asciidoc should hookup its system-test target.
Rich Burridge <rich.burridge@oracle.com>
parents:
4609
diff
changeset
|
88 |
# Get correct libreadline.so.6 from the proto area. |
36f47c0b202b
21613730 asciidoc should hookup its system-test target.
Rich Burridge <rich.burridge@oracle.com>
parents:
4609
diff
changeset
|
89 |
TEST_LIBPATH.32 = $(PROTOUSRLIBDIR) |
36f47c0b202b
21613730 asciidoc should hookup its system-test target.
Rich Burridge <rich.burridge@oracle.com>
parents:
4609
diff
changeset
|
90 |
TEST_LIBPATH.64 = $(PROTOUSRLIBDIR64) |
36f47c0b202b
21613730 asciidoc should hookup its system-test target.
Rich Burridge <rich.burridge@oracle.com>
parents:
4609
diff
changeset
|
91 |
COMPONENT_TEST_ENV += LD_LIBRARY_PATH=$(TEST_LIBPATH.$(BITS)) |
36f47c0b202b
21613730 asciidoc should hookup its system-test target.
Rich Burridge <rich.burridge@oracle.com>
parents:
4609
diff
changeset
|
92 |
|
36f47c0b202b
21613730 asciidoc should hookup its system-test target.
Rich Burridge <rich.burridge@oracle.com>
parents:
4609
diff
changeset
|
93 |
COMPONENT_SYSTEM_TEST_DIR = $(@D)/examples |
36f47c0b202b
21613730 asciidoc should hookup its system-test target.
Rich Burridge <rich.burridge@oracle.com>
parents:
4609
diff
changeset
|
94 |
COMPONENT_SYSTEM_TEST_CMD = $(CAT) $(SOURCE_DIR)/examples/Inputrc | ./rlcat |
36f47c0b202b
21613730 asciidoc should hookup its system-test target.
Rich Burridge <rich.burridge@oracle.com>
parents:
4609
diff
changeset
|
95 |
COMPONENT_SYSTEM_TEST_TARGETS = |
36f47c0b202b
21613730 asciidoc should hookup its system-test target.
Rich Burridge <rich.burridge@oracle.com>
parents:
4609
diff
changeset
|
96 |
|
4609
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
97 |
# Macros to configure, build, and install the old version for the time being. |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
98 |
BUILD_OLD_DIR_32 = $(COMPONENT_DIR)/build/$(COMPONENT_VERSION_1)-$(MACH32) |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
99 |
BUILD_OLD_DIR_64 = $(COMPONENT_DIR)/build/$(COMPONENT_VERSION_1)-$(MACH64) |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
100 |
|
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
101 |
$(BUILD_OLD_DIR_32)/.configured: CONFIGURE_SCRIPT = $(SOURCE_DIR_1)/configure |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
102 |
$(BUILD_OLD_DIR_64)/.configured: CONFIGURE_SCRIPT = $(SOURCE_DIR_1)/configure |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
103 |
$(BUILD_OLD_DIR_32)/.configured: BITS=32 |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
104 |
$(BUILD_OLD_DIR_64)/.configured: BITS=64 |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
105 |
|
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
106 |
BUILD_32 += $(BUILD_OLD_DIR_32)/.built |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
107 |
BUILD_64 += $(BUILD_OLD_DIR_64)/.built |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
108 |
|
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
109 |
INSTALL_32 += $(BUILD_OLD_DIR_32)/.installed |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
110 |
INSTALL_64 += $(BUILD_OLD_DIR_64)/.installed |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
111 |
|
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
112 |
# install the old version first |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
113 |
$(BUILD_DIR_32)/.installed: $(BUILD_OLD_DIR_32)/.installed |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
114 |
$(BUILD_DIR_64)/.installed: $(BUILD_OLD_DIR_64)/.installed |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
115 |
|
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
116 |
# we need to prep the old version too (this should be handled in prep.mk) |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
117 |
$(SOURCE_DIR_1)/.unpacked: download $(MAKEFILE_PREREQ) $(PATCHES) |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
118 |
$(RM) -r $(SOURCE_DIR_1) |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
119 |
$(UNPACK) $(UNPACK_ARGS) $(COMPONENT_ARCHIVE_1) |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
120 |
$(TOUCH) $@ |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
121 |
|
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
122 |
# prep the old version first |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
123 |
$(SOURCE_DIR)/.prep: $(SOURCE_DIR_1)/.prep |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
124 |
|
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
125 |
$(SOURCE_DIR_1)/.prep: $(SOURCE_DIR_1)/.unpacked |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
126 |
$(TOUCH) $@ |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
127 |
|
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
128 |
prep:: $(SOURCE_DIR_1)/.prep |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
129 |
|
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
130 |
CLEAN_PATHS += $(SOURCE_DIR_1) |
c87d757fa091
PSARC 2015/176 GNU readline 6.3
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
131 |
|
1434
c782e620dd26
17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
1058
diff
changeset
|
132 |
ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
c782e620dd26
17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
1058
diff
changeset
|
133 |
|
2225
f064d3d3190d
20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents:
1948
diff
changeset
|
134 |
configure: $(CONFIGURE_32_and_64) |
f064d3d3190d
20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents:
1948
diff
changeset
|
135 |
|
181
87e11e685b1f
7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
131
diff
changeset
|
136 |
build: $(BUILD_32_and_64) |
131
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
137 |
|
181
87e11e685b1f
7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
131
diff
changeset
|
138 |
install: $(INSTALL_32_and_64) |
131
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
139 |
|
4768
36f47c0b202b
21613730 asciidoc should hookup its system-test target.
Rich Burridge <rich.burridge@oracle.com>
parents:
4609
diff
changeset
|
140 |
test: install $(TEST_32_and_64) |
131
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
141 |
|
4768
36f47c0b202b
21613730 asciidoc should hookup its system-test target.
Rich Burridge <rich.burridge@oracle.com>
parents:
4609
diff
changeset
|
142 |
system-test: configure $(SYSTEM_TEST_32_and_64) |
4339
6501cf9c29f9
21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents:
3817
diff
changeset
|
143 |
|
131
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
144 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3733
diff
changeset
|
145 |
REQUIRED_PACKAGES += system/library |