author | Rich Burridge <rich.burridge@oracle.com> |
Thu, 03 Nov 2011 05:51:04 -0700 | |
changeset 562 | 4554b313034f |
parent 344 | f3d9af4cada9 |
child 609 | 775168282b2f |
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 |
# |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
21 |
# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. |
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 |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
26 |
COMPONENT_VERSION= 2.5.4 |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
27 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
28 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
29 |
COMPONENT_ARCHIVE_HASH= sha1:9bbd4f02b18bb264e0fcb17293b6f0445c8694d2 |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
30 |
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
|
31 |
|
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
32 |
include ../../make-rules/prep.mk |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
33 |
include ../../make-rules/configure.mk |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
34 |
include ../../make-rules/ips.mk |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
35 |
|
99
c15c9099bb44
6841644 OpenSolaris Python should support gdbm
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
83
diff
changeset
|
36 |
# 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
|
37 |
CFLAGS += $(studio_FEATURES_EXTENSIONS) |
80
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
38 |
|
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
39 |
CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
40 |
CONFIGURE_OPTIONS += --prefix=/usr |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
41 |
|
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
42 |
# common targets |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
43 |
build: $(BUILD_32) |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
44 |
|
181
87e11e685b1f
7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
99
diff
changeset
|
45 |
install: $(INSTALL_32) |
80
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
46 |
|
181
87e11e685b1f
7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
99
diff
changeset
|
47 |
test: $(TEST_32) |
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 |
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
50 |
|
7f8350e3f91a
7017244 move ggrep to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
51 |
include ../../make-rules/depend.mk |