author | Misaki Miyashita <Misaki.Miyashita@Oracle.COM> |
Tue, 06 Aug 2013 08:08:18 -0700 | |
branch | s11-update |
changeset 2717 | da0ef75be98f |
parent 2434 | 6c9bb5cf5610 |
child 1434 | c782e620dd26 |
child 3661 | 47545fb8aed4 |
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 |
# |
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
|
23 |
# Copyright (c) 2011, 2012, 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 |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
29 |
COMPONENT_VERSION= 5.2 |
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= \ |
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
618
diff
changeset
|
34 |
sha256:12e88d96aee2cd1192500356f0535540db499282ca7f76339fb4228c31249f45 |
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) |
2434
6c9bb5cf5610
15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
800
diff
changeset
|
36 |
COMPONENT_BUGDB= library/readline |
131
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
37 |
|
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
38 |
include ../../make-rules/prep.mk |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
39 |
include ../../make-rules/configure.mk |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
40 |
include ../../make-rules/ips.mk |
618
9eb376524c7b
6992087 Missing lint library for libreadline.so
Rich Burridge <rich.burridge@oracle.com>
parents:
609
diff
changeset
|
41 |
include ../../make-rules/lint-libraries.mk |
9eb376524c7b
6992087 Missing lint library for libreadline.so
Rich Burridge <rich.burridge@oracle.com>
parents:
609
diff
changeset
|
42 |
|
9eb376524c7b
6992087 Missing lint library for libreadline.so
Rich Burridge <rich.burridge@oracle.com>
parents:
609
diff
changeset
|
43 |
LINT_FLAGS += -I$(PROTO_DIR)/usr/include |
131
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
44 |
|
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
45 |
# 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
|
46 |
# way to get it to add -lc |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
47 |
LDFLAGS += -lc |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
48 |
CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR) |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
49 |
CONFIGURE_OPTIONS += --enable-shared |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
50 |
CONFIGURE_OPTIONS += --disable-static |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
51 |
CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
52 |
CONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)" |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
53 |
|
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
54 |
# common targets |
181
87e11e685b1f
7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
131
diff
changeset
|
55 |
build: $(BUILD_32_and_64) |
131
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
56 |
|
181
87e11e685b1f
7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
131
diff
changeset
|
57 |
install: $(INSTALL_32_and_64) |
131
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
58 |
|
181
87e11e685b1f
7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
131
diff
changeset
|
59 |
test: $(TEST_32_and_64) |
131
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
60 |
|
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
61 |
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
62 |
|
651976f969f6
7027351 move readline/gm4 to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
63 |
include ../../make-rules/depend.mk |