author | Rich Burridge <rich.burridge@oracle.com> |
Wed, 27 Jan 2016 10:09:20 -0800 | |
changeset 5352 | df85cc0b38e1 |
parent 5066 | 7e7b4d607ab6 |
child 5559 | a6efae0791c0 |
permissions | -rw-r--r-- |
380
e92b3b4a1c66
7063957 migrate links to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
1 |
# |
e92b3b4a1c66
7063957 migrate links to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
e92b3b4a1c66
7063957 migrate links to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
3 |
# |
e92b3b4a1c66
7063957 migrate links to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
e92b3b4a1c66
7063957 migrate links to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
e92b3b4a1c66
7063957 migrate links to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
e92b3b4a1c66
7063957 migrate links to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
7 |
# |
e92b3b4a1c66
7063957 migrate links to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
e92b3b4a1c66
7063957 migrate links to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
e92b3b4a1c66
7063957 migrate links to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
e92b3b4a1c66
7063957 migrate links to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
e92b3b4a1c66
7063957 migrate links to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
12 |
# |
e92b3b4a1c66
7063957 migrate links to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
e92b3b4a1c66
7063957 migrate links to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
e92b3b4a1c66
7063957 migrate links to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
e92b3b4a1c66
7063957 migrate links to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
e92b3b4a1c66
7063957 migrate links to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
e92b3b4a1c66
7063957 migrate links to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
18 |
# |
e92b3b4a1c66
7063957 migrate links to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
e92b3b4a1c66
7063957 migrate links to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
20 |
# |
3620
90ca63e65ecd
20318849 Update links to version 2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
21 |
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
380
e92b3b4a1c66
7063957 migrate links to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
22 |
# |
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3636
diff
changeset
|
23 |
|
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3636
diff
changeset
|
24 |
# Because the Studio compiler generates thousands of lines of warnings. |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3636
diff
changeset
|
25 |
COMPILER = gcc |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3636
diff
changeset
|
26 |
|
380
e92b3b4a1c66
7063957 migrate links to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
27 |
include ../../make-rules/shared-macros.mk |
e92b3b4a1c66
7063957 migrate links to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
28 |
|
e92b3b4a1c66
7063957 migrate links to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
29 |
COMPONENT_NAME= links |
3620
90ca63e65ecd
20318849 Update links to version 2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
30 |
COMPONENT_VERSION= 2.9 |
380
e92b3b4a1c66
7063957 migrate links to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
31 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
3620
90ca63e65ecd
20318849 Update links to version 2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
32 |
COMPONENT_PROJECT_URL= http://links.twibright.com/ |
380
e92b3b4a1c66
7063957 migrate links to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
33 |
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:
776
diff
changeset
|
34 |
COMPONENT_ARCHIVE_HASH= \ |
3620
90ca63e65ecd
20318849 Update links to version 2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
35 |
sha256:e2d4e193eb3147f0d745e28d37d510edb22697707e329cbe361bb79037bae332 |
90ca63e65ecd
20318849 Update links to version 2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
36 |
COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)download/$(COMPONENT_ARCHIVE) |
1058
34d7aaa03423
15886624 Auto-generation of Userland gate list - Phase 3
Rich Burridge <rich.burridge@oracle.com>
parents:
800
diff
changeset
|
37 |
COMPONENT_BUGDB= utility/links |
380
e92b3b4a1c66
7063957 migrate links to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
38 |
|
3620
90ca63e65ecd
20318849 Update links to version 2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
39 |
TPNO= 21157 |
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1232
diff
changeset
|
40 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3636
diff
changeset
|
41 |
include $(WS_MAKE_RULES)/prep.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3636
diff
changeset
|
42 |
include $(WS_MAKE_RULES)/configure.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3636
diff
changeset
|
43 |
include $(WS_MAKE_RULES)/ips.mk |
2197
22c15b329605
19989721 Compiling links with Studio generates thousands of warnings.
Rich Burridge <rich.burridge@oracle.com>
parents:
1948
diff
changeset
|
44 |
|
3636
ca7fe1fad4ea
20352128 links should be delivered 64-bit.
Rich Burridge <rich.burridge@oracle.com>
parents:
3620
diff
changeset
|
45 |
# Needed to generate a 64-bit executable. |
ca7fe1fad4ea
20352128 links should be delivered 64-bit.
Rich Burridge <rich.burridge@oracle.com>
parents:
3620
diff
changeset
|
46 |
CC += $(CC_BITS) |
ca7fe1fad4ea
20352128 links should be delivered 64-bit.
Rich Burridge <rich.burridge@oracle.com>
parents:
3620
diff
changeset
|
47 |
|
ca7fe1fad4ea
20352128 links should be delivered 64-bit.
Rich Burridge <rich.burridge@oracle.com>
parents:
3620
diff
changeset
|
48 |
PATCH_LEVEL = 0 |
ca7fe1fad4ea
20352128 links should be delivered 64-bit.
Rich Burridge <rich.burridge@oracle.com>
parents:
3620
diff
changeset
|
49 |
|
380
e92b3b4a1c66
7063957 migrate links to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
50 |
# Configure in links does not understand CC, CXX, etc. Need to generate a |
e92b3b4a1c66
7063957 migrate links to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
51 |
# new configure for it to configure and build properly. |
3620
90ca63e65ecd
20318849 Update links to version 2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
52 |
COMPONENT_PREP_ACTION= (cd $(@D) ; autoconf) |
380
e92b3b4a1c66
7063957 migrate links to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
53 |
|
1191
3bdf33525a13
16426977 Numerous components in Userland need to have ASLR enabled.
Rich Burridge <rich.burridge@oracle.com>
parents:
1058
diff
changeset
|
54 |
ASLR_MODE = $(ASLR_ENABLE) |
3bdf33525a13
16426977 Numerous components in Userland need to have ASLR enabled.
Rich Burridge <rich.burridge@oracle.com>
parents:
1058
diff
changeset
|
55 |
|
380
e92b3b4a1c66
7063957 migrate links to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
56 |
# common targets |
2225
f064d3d3190d
20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents:
2197
diff
changeset
|
57 |
configure: $(CONFIGURE_64) |
f064d3d3190d
20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents:
2197
diff
changeset
|
58 |
|
1232
e550ed2e3065
16522201 Various Userland components should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
1191
diff
changeset
|
59 |
build: $(BUILD_64) |
380
e92b3b4a1c66
7063957 migrate links to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
60 |
|
1232
e550ed2e3065
16522201 Various Userland components should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
1191
diff
changeset
|
61 |
install: $(INSTALL_64) |
380
e92b3b4a1c66
7063957 migrate links to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
62 |
|
3620
90ca63e65ecd
20318849 Update links to version 2.9
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
63 |
test: $(NO_TESTS) |
380
e92b3b4a1c66
7063957 migrate links to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
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
|
65 |
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
|
66 |
|
380
e92b3b4a1c66
7063957 migrate links to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
67 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3636
diff
changeset
|
68 |
REQUIRED_PACKAGES += compress/bzip2 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3636
diff
changeset
|
69 |
REQUIRED_PACKAGES += compress/xz |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3636
diff
changeset
|
70 |
REQUIRED_PACKAGES += library/security/openssl |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3636
diff
changeset
|
71 |
REQUIRED_PACKAGES += library/zlib |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3636
diff
changeset
|
72 |
REQUIRED_PACKAGES += system/library |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3636
diff
changeset
|
73 |