components/oniguruma/Makefile
author John Beck <John.Beck@Oracle.COM>
Wed, 05 Apr 2017 09:01:59 -0700
changeset 7836 2d73177c07ee
parent 7687 1093e2a9adbd
permissions -rw-r--r--
24836578 finding lintable manifests takes too long
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7420
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
     1
#
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
     3
#
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
     7
#
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    12
#
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    18
#
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    20
#
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    21
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    22
#
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 7420
diff changeset
    23
# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
7420
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    24
#
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    25
BUILD_BITS = 64
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    27
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME =	onig
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    29
COMPONENT_VERSION =	6.1.1
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    30
COMPONENT_PROJECT_URL =	https://github.com/kkos/oniguruma
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE_HASH =	\
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    32
    sha256:b9cf2eefef5105820c97f94a2ccd12ed8aa274a576ccdaaed3c632a2aa0d0f04
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    33
COMPONENT_ARCHIVE_URL =	$(COMPONENT_PROJECT_URL)/releases/download/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    34
COMPONENT_BUGDB =	library/oniguruma
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 7420
diff changeset
    35
COMPONENT_ANITYA_ID=	11184
7420
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    36
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    37
TPNO =			31774
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    38
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    39
include $(WS_MAKE_RULES)/common.mk
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    40
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    41
COMPILER =		gcc
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    42
CONFIGURE_OPTIONS +=	--enable-static=no
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    43
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    44
COMPONENT_TEST_ARGS +=	CFLAGS+=-I$(PROTOUSRINCDIR)
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    45
COMPONENT_TEST_ENV +=	libtool_install_magic='%%%MAGIC variable%%%'
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    46
COMPONENT_TEST_ENV +=	libtool_execute_magic='%%%MAGIC variable%%%'
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    47
COMPONENT_TEST_TRANSFORMS += \
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    48
	'-n ' \
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    49
	'-e "/TOTAL/p" ' \
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    50
	'-e "/SKIP/p" ' \
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    51
	'-e "/PASS/p" ' \
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    52
	'-e "/XPASS/p" ' \
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    53
	'-e "/FAIL/p" ' \
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    54
	'-e "/XFAIL/p" ' \
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    55
	'-e "/ERROR/p" '
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    56
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    57
# need proto to run tests
a5a56b02087b 24710228 add jq and oniguruma to userland
Artem Kachitchkine <artem.kachitchkine@oracle.com>
parents:
diff changeset
    58
test:	install