components/ptp/Makefile
author Shawn Walker-Salas <shawn.walker@oracle.com>
Wed, 30 Mar 2016 13:33:31 -0700
changeset 5682 94c0ca64c022
parent 4339 6501cf9c29f9
child 7687 1093e2a9adbd
permissions -rw-r--r--
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh 22228656 remove redundant declarations and additions from makefiles 22252545 simplify build rules for components from common upstream 22378457 tclConfig.sh compiler settings are too specific 22727315 httping curses gui missing 22750630 procmail ignores userland cflags and may use private strstr function 22758725 wdiff uses diff from PATH instead of /usr/gnu/bin/diff 22926847 cloog Makefile typo when setting ASLR_MODE 22935090 tk config script has wrong linker flags
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1580
dece556dd5e7 PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
     1
#
dece556dd5e7 PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
dece556dd5e7 PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
     3
#
dece556dd5e7 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
dece556dd5e7 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").
dece556dd5e7 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.
dece556dd5e7 PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
     7
#
dece556dd5e7 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
dece556dd5e7 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.
dece556dd5e7 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
dece556dd5e7 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.
dece556dd5e7 PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
    12
#
dece556dd5e7 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
dece556dd5e7 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.
dece556dd5e7 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
dece556dd5e7 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
dece556dd5e7 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]
dece556dd5e7 PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
    18
#
dece556dd5e7 PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
dece556dd5e7 PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
    20
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4339
diff changeset
    21
1580
dece556dd5e7 PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
    22
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4339
diff changeset
    23
# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4339
diff changeset
    24
#
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4339
diff changeset
    25
BUILD_BITS= 64
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4339
diff changeset
    26
COMPILER= gcc
1580
dece556dd5e7 PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
    27
include ../../make-rules/shared-macros.mk
dece556dd5e7 PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
    28
dece556dd5e7 PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
    29
COMPONENT_NAME=		ptpd
dece556dd5e7 PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
    30
COMPONENT_VERSION=	2.2.0
dece556dd5e7 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/
dece556dd5e7 PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
    32
COMPONENT_ARCHIVE_HASH=	\
dece556dd5e7 PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
    33
    sha256:f2266a22db84318d8b9ce266ea83772c03438c31f4993fa9643fa675a07c26b4
dece556dd5e7 PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
    34
COMPONENT_ARCHIVE_URL= \
dece556dd5e7 PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
    35
	http://downloads.sourceforge.net/project/ptpd/ptpd/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
3699
cfab3c6e04f1 20423109 Various Userland components have incorrect BugDB entries in their Makefiles
James Chang <james.c.chang@Oracle.COM>
parents: 1948
diff changeset
    36
COMPONENT_BUGDB=	service/ptp
1580
dece556dd5e7 PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@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: 1580
diff changeset
    38
TPNO_PTP=		12665
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1580
diff changeset
    39
TPNO_SOLARFLARE=	15817
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1580
diff changeset
    40
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4339
diff changeset
    41
BUILD_STYLE= justmake
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4339
diff changeset
    42
TEST_TARGET= $(NO_TESTS)
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4339
diff changeset
    43
include $(WS_MAKE_RULES)/common.mk
1580
dece556dd5e7 PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
    44
dece556dd5e7 PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
    45
PKG_PROTO_DIRS += $(BUILD_DIR_64)
dece556dd5e7 PSARC/2013/284 PTP (Precision Time Protocol) 2.2.0
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
    46
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3699
diff changeset
    47
REQUIRED_PACKAGES += shell/ksh93
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3699
diff changeset
    48
REQUIRED_PACKAGES += system/core-os
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3699
diff changeset
    49
REQUIRED_PACKAGES += system/library/libv12n
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3699
diff changeset
    50
REQUIRED_PACKAGES += system/library/math