components/autoconf/Makefile
author Rich Burridge <rich.burridge@oracle.com>
Tue, 29 Nov 2016 07:49:46 -0800
changeset 7398 d9ed1c7dcd0d
parent 5682 94c0ca64c022
child 7687 1093e2a9adbd
permissions -rw-r--r--
22588877 Enable autoconf system-test target for future Userland PIT Testing
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
127
3e3c266b3a81 7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     1
#
3e3c266b3a81 7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
3e3c266b3a81 7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     3
#
3e3c266b3a81 7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
3e3c266b3a81 7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
3e3c266b3a81 7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
3e3c266b3a81 7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     7
#
3e3c266b3a81 7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3e3c266b3a81 7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
3e3c266b3a81 7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
3e3c266b3a81 7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
3e3c266b3a81 7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    12
#
3e3c266b3a81 7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
3e3c266b3a81 7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3e3c266b3a81 7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
3e3c266b3a81 7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
3e3c266b3a81 7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
3e3c266b3a81 7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    18
#
3e3c266b3a81 7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
3e3c266b3a81 7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    20
#
3e3c266b3a81 7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    21
3e3c266b3a81 7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    22
#
5638
b88b6c00208e 22970244 userland should build with perl 5.22 as the default
Craig Mohrman <craig.mohrman@oracle.com>
parents: 4339
diff changeset
    23
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
127
3e3c266b3a81 7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@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: 5638
diff changeset
    25
BUILD_BITS= NO_ARCH
127
3e3c266b3a81 7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
3e3c266b3a81 7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    27
3e3c266b3a81 7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    28
COMPONENT_NAME=		autoconf
4124
84726155ce06 20867905 update to autoconf 2.69
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3817
diff changeset
    29
COMPONENT_VERSION=	2.69
84726155ce06 20867905 update to autoconf 2.69
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3817
diff changeset
    30
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.xz
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 717
diff changeset
    31
COMPONENT_ARCHIVE_HASH=	\
4124
84726155ce06 20867905 update to autoconf 2.69
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3817
diff changeset
    32
    sha256:64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
127
3e3c266b3a81 7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    33
4124
84726155ce06 20867905 update to autoconf 2.69
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3817
diff changeset
    34
TPNO=			22294
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1434
diff changeset
    35
7398
d9ed1c7dcd0d 22588877 Enable autoconf system-test target for future Userland PIT Testing
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    36
SYSTEM_TEST_TARGET= build $(SYSTEM_TEST_NO_ARCH)
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
    37
include $(WS_MAKE_RULES)/gnu-component.mk
127
3e3c266b3a81 7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    38
4124
84726155ce06 20867905 update to autoconf 2.69
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3817
diff changeset
    39
# with ksh93 as the configure shell, all tests pass
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
    40
CONFIG_SHELL=$(BINDIR)/ksh93
1434
c782e620dd26 17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 1058
diff changeset
    41
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
    42
CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
    43
CONFIGURE_OPTIONS += PERL="$(PERL)"
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5638
diff changeset
    44
CONFIGURE_OPTIONS += M4="$(GNUBIN)/m4"
127
3e3c266b3a81 7013705 userland build needs local tarball caching
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    45
7398
d9ed1c7dcd0d 22588877 Enable autoconf system-test target for future Userland PIT Testing
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    46
# The Makefile has different targets for the equivalent of "gmake test" and
d9ed1c7dcd0d 22588877 Enable autoconf system-test target for future Userland PIT Testing
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    47
# "gmake system-test".
d9ed1c7dcd0d 22588877 Enable autoconf system-test target for future Userland PIT Testing
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    48
COMPONENT_TEST_TARGETS =	check-local
d9ed1c7dcd0d 22588877 Enable autoconf system-test target for future Userland PIT Testing
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    49
COMPONENT_TEST_DIR =		$(@D)/tests
d9ed1c7dcd0d 22588877 Enable autoconf system-test target for future Userland PIT Testing
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    50
COMPONENT_TEST_ENV +=		F77=/usr/bin/gfortran
d9ed1c7dcd0d 22588877 Enable autoconf system-test target for future Userland PIT Testing
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    51
d9ed1c7dcd0d 22588877 Enable autoconf system-test target for future Userland PIT Testing
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    52
COMPONENT_SYSTEM_TEST_TARGETS =	installcheck
d9ed1c7dcd0d 22588877 Enable autoconf system-test target for future Userland PIT Testing
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    53
COMPONENT_SYSTEM_TEST_DIR =	$(@D)/tests
d9ed1c7dcd0d 22588877 Enable autoconf system-test target for future Userland PIT Testing
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    54
COMPONENT_SYSTEM_TEST_ENV +=	F77=/usr/bin/gfortran
d9ed1c7dcd0d 22588877 Enable autoconf system-test target for future Userland PIT Testing
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    55
d9ed1c7dcd0d 22588877 Enable autoconf system-test target for future Userland PIT Testing
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    56
COMPONENT_TEST_TRANSFORMS += \
d9ed1c7dcd0d 22588877 Enable autoconf system-test target for future Userland PIT Testing
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    57
        '-e "/check-local/d"' \
d9ed1c7dcd0d 22588877 Enable autoconf system-test target for future Userland PIT Testing
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    58
        '-e "/ksh93/d"' \
d9ed1c7dcd0d 22588877 Enable autoconf system-test target for future Userland PIT Testing
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    59
        '-e "/Entering directory/d"' \
d9ed1c7dcd0d 22588877 Enable autoconf system-test target for future Userland PIT Testing
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    60
        '-e "/Leaving directory/d"' \
d9ed1c7dcd0d 22588877 Enable autoconf system-test target for future Userland PIT Testing
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    61
        '-e "/^make/d"'
d9ed1c7dcd0d 22588877 Enable autoconf system-test target for future Userland PIT Testing
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    62
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    63
REQUIRED_PACKAGES += developer/macro/gnu-m4
5638
b88b6c00208e 22970244 userland should build with perl 5.22 as the default
Craig Mohrman <craig.mohrman@oracle.com>
parents: 4339
diff changeset
    64
REQUIRED_PACKAGES += $(PERL_PKG)
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    65
REQUIRED_PACKAGES += shell/ksh93