components/dejagnu/Makefile
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Thu, 08 Oct 2015 23:00:32 -0700
changeset 4929 29020dc0c404
parent 4747 0e43ac303e45
child 5682 94c0ca64c022
permissions -rw-r--r--
Added tag s12-85 for changeset 264d4a0eb386
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1263
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
#
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
#
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
#
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
#
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18
#
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    20
#
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    21
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    22
#
3639
f8449ec64ef3 20362249 Various Userland components should have master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents: 2225
diff changeset
    23
# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
1263
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    24
#
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    25
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    27
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		dejagnu
4081
2e8a6cee4503 20844183 Update dejagnu to version 1.5.3
Rich Burridge <rich.burridge@oracle.com>
parents: 3854
diff changeset
    29
COMPONENT_VERSION=	1.5.3
1263
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    30
COMPONENT_PROJECT_URL=	http://www.gnu.org/software/dejagnu/
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    31
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    32
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    33
COMPONENT_ARCHIVE_HASH=	\
4081
2e8a6cee4503 20844183 Update dejagnu to version 1.5.3
Rich Burridge <rich.burridge@oracle.com>
parents: 3854
diff changeset
    34
    sha256:099b8e364ca1d6248f8e1d32168c4b12677abff4253bbbb4a8ac8cdd321e3f19
1263
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    35
COMPONENT_ARCHIVE_URL=	http://ftp.gnu.org/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    36
COMPONENT_BUGDB=	utility/dejagnu
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    37
4081
2e8a6cee4503 20844183 Update dejagnu to version 1.5.3
Rich Burridge <rich.burridge@oracle.com>
parents: 3854
diff changeset
    38
TPNO=			22219
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1434
diff changeset
    39
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3724
diff changeset
    40
include $(WS_MAKE_RULES)/prep.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3724
diff changeset
    41
include $(WS_MAKE_RULES)/configure.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3724
diff changeset
    42
include $(WS_MAKE_RULES)/ips.mk
1263
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    43
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    44
COMPONENT_TEST_ENV +=	PATH="$(GNUBIN):$(PATH)"
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    45
3639
f8449ec64ef3 20362249 Various Userland components should have master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents: 2225
diff changeset
    46
COMPONENT_TEST_TRANSFORMS += \
4747
0e43ac303e45 21571218 Even more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    47
	'-n ' \
0e43ac303e45 21571218 Even more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    48
	'-e "/Running/p" ' \
0e43ac303e45 21571218 Even more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    49
	'-e "/\# of /p" '
0e43ac303e45 21571218 Even more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    50
0e43ac303e45 21571218 Even more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    51
COMPONENT_SYSTEM_TEST_ENV +=	PATH="$(GNUBIN):$(PATH)"
0e43ac303e45 21571218 Even 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_ENV +=	RUNTEST_SCRIPT=/usr/bin/runtest
3639
f8449ec64ef3 20362249 Various Userland components should have master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents: 2225
diff changeset
    53
1434
c782e620dd26 17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 1263
diff changeset
    54
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
1263
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    55
2225
f064d3d3190d 20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    56
configure:	$(CONFIGURE_64)
f064d3d3190d 20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    57
1263
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    58
build:		$(BUILD_64)
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    59
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    60
install:	$(INSTALL_64)
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    61
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    62
test:		$(TEST_64)
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    63
4747
0e43ac303e45 21571218 Even more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    64
system-test:    configure $(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: 4081
diff changeset
    65
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3724
diff changeset
    66
REQUIRED_PACKAGES += shell/expect
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3724
diff changeset
    67
REQUIRED_PACKAGES += shell/ksh93
1263
3965a9f005e3 PSARC 2013/018 GNU DejaGnu 1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    68