author | Huie-Ying Lee <huieying.lee@oracle.com> |
Wed, 20 May 2015 15:14:17 -0700 | |
branch | s11-update |
changeset 4329 | 771a6f41f496 |
parent 3996 | 20c0f21bbe1e |
permissions | -rw-r--r-- |
2913
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
1 |
# |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
3 |
# |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
7 |
# |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
12 |
# |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
18 |
# |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
20 |
# |
3769
d867aacebb01
20423109 Various Userland components have incorrect BugDB entries in their Makefiles
Michael Nestler <Michael.Nestler@Oracle.COM>
parents:
3661
diff
changeset
|
21 |
# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. |
2913
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
22 |
# |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
23 |
|
3996
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3769
diff
changeset
|
24 |
COMPILER = gcc |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3769
diff
changeset
|
25 |
|
2913
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
26 |
include ../../make-rules/shared-macros.mk |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
27 |
|
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
28 |
COMPONENT_NAME= ptpd |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
29 |
COMPONENT_VERSION= 2.2.0 |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
30 |
IPS_COMPONENT_VERSION= $(COMPONENT_VERSION) |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
31 |
COMPONENT_PROJECT_URL= http://ptpd.sourceforge.net/ |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
32 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
33 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
34 |
COMPONENT_ARCHIVE_HASH= \ |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
35 |
sha256:f2266a22db84318d8b9ce266ea83772c03438c31f4993fa9643fa675a07c26b4 |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
36 |
COMPONENT_ARCHIVE_URL= \ |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
37 |
http://downloads.sourceforge.net/project/ptpd/ptpd/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) |
3769
d867aacebb01
20423109 Various Userland components have incorrect BugDB entries in their Makefiles
Michael Nestler <Michael.Nestler@Oracle.COM>
parents:
3661
diff
changeset
|
38 |
COMPONENT_BUGDB= service/ptp |
2913
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
39 |
|
3661
47545fb8aed4
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
2913
diff
changeset
|
40 |
TPNO_PTP= 12665 |
47545fb8aed4
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
2913
diff
changeset
|
41 |
TPNO_SOLARFLARE= 15817 |
47545fb8aed4
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
2913
diff
changeset
|
42 |
|
3996
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3769
diff
changeset
|
43 |
include $(WS_MAKE_RULES)/prep.mk |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3769
diff
changeset
|
44 |
include $(WS_MAKE_RULES)/justmake.mk |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3769
diff
changeset
|
45 |
include $(WS_MAKE_RULES)/ips.mk |
2913
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
46 |
|
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
47 |
PATCH_LEVEL = 1 |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
48 |
|
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
49 |
PKG_PROTO_DIRS += $(BUILD_DIR_64) |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
50 |
|
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
51 |
COMPONENT_BUILD_ENV += CC=$(CC) |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
52 |
|
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
53 |
# Enable ASLR for this component |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
54 |
ASLR_MODE = $(ASLR_ENABLE) |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
55 |
|
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
56 |
build: $(BUILD_64) |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
57 |
|
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
58 |
install: $(INSTALL_64) |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
59 |
|
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
60 |
test: $(NO_TESTS) |
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
61 |
|
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
62 |
|
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
63 |
|
34273351da77
PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff
changeset
|
64 |
|
3996
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3769
diff
changeset
|
65 |
REQUIRED_PACKAGES += shell/ksh93 |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3769
diff
changeset
|
66 |
REQUIRED_PACKAGES += system/core-os |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3769
diff
changeset
|
67 |
REQUIRED_PACKAGES += system/library |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3769
diff
changeset
|
68 |
REQUIRED_PACKAGES += system/library/libv12n |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3769
diff
changeset
|
69 |
REQUIRED_PACKAGES += system/library/math |