author | Norm Jacobs <Norm.Jacobs@Oracle.COM> |
Tue, 01 Dec 2015 23:49:52 -0800 | |
changeset 5144 | 2d220aefcb53 |
parent 4737 | 844cca6e99f3 |
child 5553 | 58119a697acd |
permissions | -rw-r--r-- |
3680
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
1 |
# |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
3 |
# |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
7 |
# |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
12 |
# |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
18 |
# |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
20 |
# |
3685
b442aa168bd2
20173339 "gmake test" failures for diffstat
Rich Burridge <rich.burridge@oracle.com>
parents:
3680
diff
changeset
|
21 |
# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. |
3680
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
22 |
# |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
23 |
include ../../make-rules/shared-macros.mk |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
24 |
|
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
25 |
COMPONENT_NAME= diffstat |
3881
efdddf5fc687
20555193 diffstat should be updated to version 1.59
Rich Burridge <rich.burridge@oracle.com>
parents:
3817
diff
changeset
|
26 |
COMPONENT_VERSION= 1.59 |
3680
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
27 |
COMPONENT_PROJECT_URL= http://invisible-island.net/diffstat/ |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
28 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
29 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
30 |
COMPONENT_ARCHIVE_HASH= \ |
3881
efdddf5fc687
20555193 diffstat should be updated to version 1.59
Rich Burridge <rich.burridge@oracle.com>
parents:
3817
diff
changeset
|
31 |
sha256:267d1441b8889cbefbb7ca7dfd4a17f6c8bc73bc114904c74ecad945a3dbf270 |
3680
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
32 |
COMPONENT_ARCHIVE_URL= ftp://invisible-island.net/diffstat/$(COMPONENT_ARCHIVE) |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
33 |
COMPONENT_BUGDB= utility/diffstat |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
34 |
|
3881
efdddf5fc687
20555193 diffstat should be updated to version 1.59
Rich Burridge <rich.burridge@oracle.com>
parents:
3817
diff
changeset
|
35 |
TPNO= 21548 |
3680
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
36 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3685
diff
changeset
|
37 |
include $(WS_MAKE_RULES)/prep.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3685
diff
changeset
|
38 |
include $(WS_MAKE_RULES)/configure.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3685
diff
changeset
|
39 |
include $(WS_MAKE_RULES)/ips.mk |
3680
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
40 |
|
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
41 |
CC += $(CC_BITS) |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
42 |
|
4737
844cca6e99f3
21549702 Yet more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
43 |
COMPONENT_TEST_TRANSFORMS += \ |
844cca6e99f3
21549702 Yet more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
44 |
'-e "/^Checking/d" ' |
844cca6e99f3
21549702 Yet more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
45 |
|
3685
b442aa168bd2
20173339 "gmake test" failures for diffstat
Rich Burridge <rich.burridge@oracle.com>
parents:
3680
diff
changeset
|
46 |
COMPONENT_TEST_DIR = $(SOURCE_DIR) |
b442aa168bd2
20173339 "gmake test" failures for diffstat
Rich Burridge <rich.burridge@oracle.com>
parents:
3680
diff
changeset
|
47 |
COMPONENT_TEST_ENV = PATH=$(@D):$(SOURCE_DIR):$(PATH) |
b442aa168bd2
20173339 "gmake test" failures for diffstat
Rich Burridge <rich.burridge@oracle.com>
parents:
3680
diff
changeset
|
48 |
COMPONENT_TEST_CMD = ./testing/run_test.sh |
b442aa168bd2
20173339 "gmake test" failures for diffstat
Rich Burridge <rich.burridge@oracle.com>
parents:
3680
diff
changeset
|
49 |
COMPONENT_TEST_ARGS = ./testing/case*.pat |
b442aa168bd2
20173339 "gmake test" failures for diffstat
Rich Burridge <rich.burridge@oracle.com>
parents:
3680
diff
changeset
|
50 |
COMPONENT_TEST_TARGETS = |
b442aa168bd2
20173339 "gmake test" failures for diffstat
Rich Burridge <rich.burridge@oracle.com>
parents:
3680
diff
changeset
|
51 |
|
4737
844cca6e99f3
21549702 Yet more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
52 |
COMPONENT_SYSTEM_TEST_DIR = $(SOURCE_DIR) |
844cca6e99f3
21549702 Yet more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
53 |
COMPONENT_SYSTEM_TEST_ENV = PATH=/usr/bin:$(SOURCE_DIR):$(PATH) |
844cca6e99f3
21549702 Yet more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
54 |
COMPONENT_SYSTEM_TEST_CMD = ./testing/run_test.sh |
844cca6e99f3
21549702 Yet more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
55 |
COMPONENT_SYSTEM_TEST_ARGS = ./testing/case*.pat |
844cca6e99f3
21549702 Yet more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
56 |
COMPONENT_SYSTEM_TEST_TARGETS = |
844cca6e99f3
21549702 Yet more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
57 |
|
3680
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
58 |
ASLR_MODE = $(ASLR_ENABLE) |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
59 |
|
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
60 |
configure: $(CONFIGURE_64) |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
61 |
|
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
62 |
build: $(BUILD_64) |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
63 |
|
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
64 |
install: $(INSTALL_64) |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
65 |
|
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
66 |
test: $(TEST_64) |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
67 |
|
4737
844cca6e99f3
21549702 Yet more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
68 |
system-test: $(SYSTEM_TEST_64) |
4339
6501cf9c29f9
21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents:
3881
diff
changeset
|
69 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3685
diff
changeset
|
70 |
REQUIRED_PACKAGES += system/library |
3680
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
71 |