author | Rich Burridge <rich.burridge@oracle.com> |
Fri, 07 Dec 2012 09:56:45 -0800 | |
changeset 1076 | aa4e6bad6e1d |
parent 1058 | 34d7aaa03423 |
child 1181 | 17dcb14c2b1e |
child 2552 | baac0839cd39 |
permissions | -rw-r--r-- |
80
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
1 |
# |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
3 |
# |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
7 |
# |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
12 |
# |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
18 |
# |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
20 |
# |
666
3e3828ae1878
PSARC 2011/397 Update GNU grep to 2.10
Rich Burridge <rich.burridge@oracle.com>
parents:
609
diff
changeset
|
21 |
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
80
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
22 |
# |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
23 |
include ../../make-rules/shared-macros.mk |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
24 |
|
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
25 |
COMPONENT_NAME= grep |
666
3e3828ae1878
PSARC 2011/397 Update GNU grep to 2.10
Rich Burridge <rich.burridge@oracle.com>
parents:
609
diff
changeset
|
26 |
COMPONENT_VERSION= 2.10 |
609
775168282b2f
7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents:
344
diff
changeset
|
27 |
COMPONENT_PROJECT_URL= http://gnu.org/software/grep/ |
80
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
28 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
29 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 |
666
3e3828ae1878
PSARC 2011/397 Update GNU grep to 2.10
Rich Burridge <rich.burridge@oracle.com>
parents:
609
diff
changeset
|
30 |
|
3e3828ae1878
PSARC 2011/397 Update GNU grep to 2.10
Rich Burridge <rich.burridge@oracle.com>
parents:
609
diff
changeset
|
31 |
# Note that the 2.10 version of the compressed GNU grep tarball on |
3e3828ae1878
PSARC 2011/397 Update GNU grep to 2.10
Rich Burridge <rich.burridge@oracle.com>
parents:
609
diff
changeset
|
32 |
# ftp.gnu.org is only available in .xz format. We cannot use this |
3e3828ae1878
PSARC 2011/397 Update GNU grep to 2.10
Rich Burridge <rich.burridge@oracle.com>
parents:
609
diff
changeset
|
33 |
# as xz is not currently part of the Solaris 11 Update CBE. We |
3e3828ae1878
PSARC 2011/397 Update GNU grep to 2.10
Rich Burridge <rich.burridge@oracle.com>
parents:
609
diff
changeset
|
34 |
# have recompressed that tarball as a .bz2 file and placed it in the |
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
666
diff
changeset
|
35 |
# special Userland cache. The sha256 hash is for the payload .tar file. |
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
666
diff
changeset
|
36 |
COMPONENT_ARCHIVE_HASH= \ |
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
666
diff
changeset
|
37 |
sha256:299d0ccb0238894cc674da3c5a6a6fb82c3d63286f7f127e448e2ff97d21e2fb |
80
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
38 |
COMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/grep/$(COMPONENT_ARCHIVE) |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
39 |
|
1058
34d7aaa03423
15886624 Auto-generation of Userland gate list - Phase 3
Rich Burridge <rich.burridge@oracle.com>
parents:
800
diff
changeset
|
40 |
COMPONENT_BUGDB= utility/ggrep |
34d7aaa03423
15886624 Auto-generation of Userland gate list - Phase 3
Rich Burridge <rich.burridge@oracle.com>
parents:
800
diff
changeset
|
41 |
|
80
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
42 |
include ../../make-rules/prep.mk |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
43 |
include ../../make-rules/configure.mk |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
44 |
include ../../make-rules/ips.mk |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
45 |
|
99
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
83
diff
changeset
|
46 |
# We need to be able to return from void functions |
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
83
diff
changeset
|
47 |
CFLAGS += $(studio_FEATURES_EXTENSIONS) |
80
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
48 |
|
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
49 |
CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
50 |
CONFIGURE_OPTIONS += --prefix=/usr |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
51 |
|
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
52 |
# common targets |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
53 |
build: $(BUILD_32) |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
54 |
|
181
87e11e685b1f
7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
99
diff
changeset
|
55 |
install: $(INSTALL_32) |
80
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
56 |
|
181
87e11e685b1f
7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
99
diff
changeset
|
57 |
test: $(TEST_32) |
80
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
58 |
|
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
59 |
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
60 |
|
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
61 |
include ../../make-rules/depend.mk |