author | Stacy Yeh <stacy.yeh@oracle.com> |
Thu, 21 May 2015 13:48:49 -0700 | |
changeset 4339 | 6501cf9c29f9 |
parent 3817 | 30b42c38bbc4 |
child 5587 | 4b8419ac62e6 |
permissions | -rw-r--r-- |
1219
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
1 |
# |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
3 |
# |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
7 |
# |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
12 |
# |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
18 |
# |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
20 |
# |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
21 |
|
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
22 |
# |
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
23 |
# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. |
1219
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
24 |
# |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
25 |
|
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
26 |
include ../../make-rules/shared-macros.mk |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
27 |
|
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
28 |
COMPONENT_NAME= pbzip2 |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
29 |
COMPONENT_VERSION= 1.1.6 |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
30 |
COMPONENT_PROJECT_URL= http://compression.ca/pbzip2/ |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
31 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
32 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
33 |
COMPONENT_ARCHIVE_HASH= \ |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
34 |
sha256:86bd6d58e5a6c13cf8c709620ebfe186fca423c2724225bb30431fa7a453aee2 |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
35 |
COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)$(COMPONENT_ARCHIVE) |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
36 |
COMPONENT_BUGDB= utility/pbzip2 |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
37 |
|
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1219
diff
changeset
|
38 |
TPNO= 11059 |
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1219
diff
changeset
|
39 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
40 |
include $(WS_MAKE_RULES)/prep.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
41 |
include $(WS_MAKE_RULES)/justmake.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
42 |
include $(WS_MAKE_RULES)/ips.mk |
1219
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
43 |
|
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
44 |
# pbzip2 Solaris Sun Studio build uses a non-standard Makefile |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
45 |
COMPONENT_BUILD_ARGS += CC="$(CXX)" |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
46 |
COMPONENT_BUILD_ARGS += -f Makefile.solaris.sunstudio |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
47 |
COMPONENT_INSTALL_ARGS += -f Makefile.solaris.sunstudio |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
48 |
COMPONENT_INSTALL_ARGS += PREFIX=$(PROTOUSRDIR) |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
49 |
|
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
50 |
ASLR_MODE = $(ASLR_ENABLE) |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
51 |
|
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
52 |
# common targets |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
53 |
build: $(BUILD_64) |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
54 |
|
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
55 |
install: $(INSTALL_64) |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
56 |
|
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
57 |
test: $(NO_TESTS) |
cdd8157bab31
PSARC 2012/095 pbzip2 version 1.1.6 - parallel bzip2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
58 |
|
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
|
59 |
system-test: $(NO_TESTS) |
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
|
60 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
61 |
|
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
62 |
REQUIRED_PACKAGES += compress/bzip2 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
63 |
REQUIRED_PACKAGES += system/library |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
64 |
REQUIRED_PACKAGES += system/library/c++-runtime |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
65 |
REQUIRED_PACKAGES += system/library/math |