author | Petr Sumbera <petr.sumbera@oracle.com> |
Wed, 27 Apr 2016 09:15:20 -0700 | |
changeset 5904 | 14224167e318 |
parent 5682 | 94c0ca64c022 |
child 7687 | 1093e2a9adbd |
permissions | -rw-r--r-- |
306
9da68c8821e3
7055089 move iftop/pv to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
1 |
# |
9da68c8821e3
7055089 move iftop/pv to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
9da68c8821e3
7055089 move iftop/pv to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
3 |
# |
9da68c8821e3
7055089 move iftop/pv to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
9da68c8821e3
7055089 move iftop/pv to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
9da68c8821e3
7055089 move iftop/pv to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
9da68c8821e3
7055089 move iftop/pv to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
7 |
# |
9da68c8821e3
7055089 move iftop/pv to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
9da68c8821e3
7055089 move iftop/pv to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
9da68c8821e3
7055089 move iftop/pv to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
9da68c8821e3
7055089 move iftop/pv to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
9da68c8821e3
7055089 move iftop/pv to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
12 |
# |
9da68c8821e3
7055089 move iftop/pv to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
9da68c8821e3
7055089 move iftop/pv to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
9da68c8821e3
7055089 move iftop/pv to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
9da68c8821e3
7055089 move iftop/pv to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
9da68c8821e3
7055089 move iftop/pv to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
9da68c8821e3
7055089 move iftop/pv to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
18 |
# |
9da68c8821e3
7055089 move iftop/pv to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
9da68c8821e3
7055089 move iftop/pv to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
20 |
# |
9da68c8821e3
7055089 move iftop/pv to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
21 |
|
9da68c8821e3
7055089 move iftop/pv to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
22 |
# |
5594
1d3d5d2e6531
22886401 Update pv to version 1.6.0
Rich Burridge <rich.burridge@oracle.com>
parents:
4560
diff
changeset
|
23 |
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. |
306
9da68c8821e3
7055089 move iftop/pv to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
24 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5594
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:
5594
diff
changeset
|
26 |
COMPILER= gcc |
306
9da68c8821e3
7055089 move iftop/pv to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
27 |
include ../../make-rules/shared-macros.mk |
9da68c8821e3
7055089 move iftop/pv to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
28 |
|
9da68c8821e3
7055089 move iftop/pv to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
29 |
COMPONENT_NAME= pv |
5594
1d3d5d2e6531
22886401 Update pv to version 1.6.0
Rich Burridge <rich.burridge@oracle.com>
parents:
4560
diff
changeset
|
30 |
COMPONENT_VERSION= 1.6.0 |
306
9da68c8821e3
7055089 move iftop/pv to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
31 |
COMPONENT_PROJECT_URL= http://www.ivarch.com/programs/pv.shtml |
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
691
diff
changeset
|
32 |
COMPONENT_ARCHIVE_HASH= \ |
5594
1d3d5d2e6531
22886401 Update pv to version 1.6.0
Rich Burridge <rich.burridge@oracle.com>
parents:
4560
diff
changeset
|
33 |
sha256:9dd45391806b0ed215abee4c5ac1597d018c386fe9c1f5afd2f6bc3b07fd82c3 |
3887
f1f03630e87f
20555308 pv should be updated to version 1.5.7
Rich Burridge <rich.burridge@oracle.com>
parents:
3817
diff
changeset
|
34 |
COMPONENT_ARCHIVE_URL= http://www.ivarch.com/programs/sources/$(COMPONENT_ARCHIVE) |
306
9da68c8821e3
7055089 move iftop/pv to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
35 |
|
5594
1d3d5d2e6531
22886401 Update pv to version 1.6.0
Rich Burridge <rich.burridge@oracle.com>
parents:
4560
diff
changeset
|
36 |
TPNO= 27247 |
2139
127c47823841
19078651 pv version 1.2.0 needs a TPNO in the fullness of time
Rich Burridge <rich.burridge@oracle.com>
parents:
1232
diff
changeset
|
37 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5594
diff
changeset
|
38 |
SYSTEM_TEST_TARGET= $(SYSTEM_TEST_64) |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5594
diff
changeset
|
39 |
include $(WS_MAKE_RULES)/common.mk |
306
9da68c8821e3
7055089 move iftop/pv to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
40 |
|
1232
e550ed2e3065
16522201 Various Userland components should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
1191
diff
changeset
|
41 |
PKG_PROTO_DIRS += $(BUILD_DIR_64) |
306
9da68c8821e3
7055089 move iftop/pv to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
42 |
|
3887
f1f03630e87f
20555308 pv should be updated to version 1.5.7
Rich Burridge <rich.burridge@oracle.com>
parents:
3817
diff
changeset
|
43 |
COMPONENT_TEST_ENV += PATH="$(GNUBIN):$(PATH)" |
306
9da68c8821e3
7055089 move iftop/pv to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
44 |
|
4560
615a2fcb39c2
21337627 Hookup system-tests for pv
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
45 |
COMPONENT_TEST_TRANSFORMS += \ |
615a2fcb39c2
21337627 Hookup system-tests for pv
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
46 |
'-e "s|^sh .*$$|XXX_CC_XXX|g" ' \ |
615a2fcb39c2
21337627 Hookup system-tests for pv
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
47 |
'-e "s|^make.*: Leaving directory.*$$|XXX_CC_XXX|g" ' \ |
615a2fcb39c2
21337627 Hookup system-tests for pv
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
48 |
'-e "s|^make.*: Entering directory.*$$|XXX_CC_XXX|g" ' \ |
615a2fcb39c2
21337627 Hookup system-tests for pv
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
49 |
'-e "/^XXX_CC_XXX$$/d" ' |
615a2fcb39c2
21337627 Hookup system-tests for pv
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
50 |
|
615a2fcb39c2
21337627 Hookup system-tests for pv
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
51 |
COMPONENT_SYSTEM_TEST_ENV += PATH="$(GNUBIN):$(PATH)" |
615a2fcb39c2
21337627 Hookup system-tests for pv
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
52 |
COMPONENT_SYSTEM_TEST_CMD = sh $(SOURCE_DIR)/autoconf/scripts/run-test.sh |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5594
diff
changeset
|
53 |
COMPONENT_SYSTEM_TEST_ARGS = $(USRBINDIR)/pv $(SOURCE_DIR) |
4560
615a2fcb39c2
21337627 Hookup system-tests for pv
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
54 |
COMPONENT_SYSTEM_TEST_TARGETS = |