components/wdiff/Makefile
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Mon, 07 Nov 2016 16:32:57 -0800
changeset 7257 779372532897
parent 5682 94c0ca64c022
child 7687 1093e2a9adbd
permissions -rw-r--r--
Close of build 112.1.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1062
3e8044c3a700 PSARC 2012/001 wdiff version 1.1.0 - GNU word comparison utility
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
#
3e8044c3a700 PSARC 2012/001 wdiff version 1.1.0 - GNU word comparison utility
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
3e8044c3a700 PSARC 2012/001 wdiff version 1.1.0 - GNU word comparison utility
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
#
3e8044c3a700 PSARC 2012/001 wdiff version 1.1.0 - GNU word comparison utility
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
3e8044c3a700 PSARC 2012/001 wdiff version 1.1.0 - GNU word comparison utility
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
3e8044c3a700 PSARC 2012/001 wdiff version 1.1.0 - GNU word comparison utility
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
3e8044c3a700 PSARC 2012/001 wdiff version 1.1.0 - GNU word comparison utility
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
#
3e8044c3a700 PSARC 2012/001 wdiff version 1.1.0 - GNU word comparison utility
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3e8044c3a700 PSARC 2012/001 wdiff version 1.1.0 - GNU word comparison utility
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
3e8044c3a700 PSARC 2012/001 wdiff version 1.1.0 - GNU word comparison utility
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
3e8044c3a700 PSARC 2012/001 wdiff version 1.1.0 - GNU word comparison utility
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
3e8044c3a700 PSARC 2012/001 wdiff version 1.1.0 - GNU word comparison utility
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
#
3e8044c3a700 PSARC 2012/001 wdiff version 1.1.0 - GNU word comparison utility
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
3e8044c3a700 PSARC 2012/001 wdiff version 1.1.0 - GNU word comparison utility
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3e8044c3a700 PSARC 2012/001 wdiff version 1.1.0 - GNU word comparison utility
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
3e8044c3a700 PSARC 2012/001 wdiff version 1.1.0 - GNU word comparison utility
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
3e8044c3a700 PSARC 2012/001 wdiff version 1.1.0 - GNU word comparison utility
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
3e8044c3a700 PSARC 2012/001 wdiff version 1.1.0 - GNU word comparison utility
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18
#
3e8044c3a700 PSARC 2012/001 wdiff version 1.1.0 - GNU word comparison utility
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
3e8044c3a700 PSARC 2012/001 wdiff version 1.1.0 - GNU word comparison utility
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    20
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4732
diff changeset
    21
1062
3e8044c3a700 PSARC 2012/001 wdiff version 1.1.0 - GNU word comparison utility
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    22
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4732
diff changeset
    23
# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4732
diff changeset
    24
#
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4732
diff changeset
    25
BUILD_BITS= 64
1062
3e8044c3a700 PSARC 2012/001 wdiff version 1.1.0 - GNU word comparison utility
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
3e8044c3a700 PSARC 2012/001 wdiff version 1.1.0 - GNU word comparison utility
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    27
3e8044c3a700 PSARC 2012/001 wdiff version 1.1.0 - GNU word comparison utility
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		wdiff
3889
6d2b22b9de00 20555330 wdiff should be updated to version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents: 3817
diff changeset
    29
COMPONENT_VERSION=	1.2.2
1062
3e8044c3a700 PSARC 2012/001 wdiff version 1.1.0 - GNU word comparison utility
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    30
COMPONENT_ARCHIVE_HASH=	\
3889
6d2b22b9de00 20555330 wdiff should be updated to version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents: 3817
diff changeset
    31
    sha256:34ff698c870c87e6e47a838eeaaae729fa73349139fc8db12211d2a22b78af6b
1062
3e8044c3a700 PSARC 2012/001 wdiff version 1.1.0 - GNU word comparison utility
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    32
3889
6d2b22b9de00 20555330 wdiff should be updated to version 1.2.2
Rich Burridge <rich.burridge@oracle.com>
parents: 3817
diff changeset
    33
TPNO=			21556
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1191
diff changeset
    34
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4732
diff changeset
    35
SYSTEM_TEST_TARGET= configure $(SYSTEM_TEST_64)
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4732
diff changeset
    36
include $(WS_MAKE_RULES)/gnu-component.mk
1062
3e8044c3a700 PSARC 2012/001 wdiff version 1.1.0 - GNU word comparison utility
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    37
1076
aa4e6bad6e1d PSARC 2012/363 GNU wdiff 1.1.2
Rich Burridge <rich.burridge@oracle.com>
parents: 1062
diff changeset
    38
CONFIGURE_OPTIONS +=	--enable-experimental
1062
3e8044c3a700 PSARC 2012/001 wdiff version 1.1.0 - GNU word comparison utility
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    39
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4732
diff changeset
    40
# Used directly as a macro in C code, so literal quotes must be left intact.
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4732
diff changeset
    41
CFLAGS +=	-DDIFF_PROGRAM=\\\"$(GDIFF)\\\"
1062
3e8044c3a700 PSARC 2012/001 wdiff version 1.1.0 - GNU word comparison utility
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    42
4732
d072001cb0ea 21540785 Some more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    43
COMPONENT_TEST_DIR =		$(SOURCE_DIR)/tests
d072001cb0ea 21540785 Some more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    44
COMPONENT_TEST_CMD =		./testsuite
d072001cb0ea 21540785 Some more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    45
COMPONENT_TEST_ARGS =		AUTOTEST_PATH="src"
d072001cb0ea 21540785 Some more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    46
COMPONENT_TEST_TARGETS =
d072001cb0ea 21540785 Some more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    47
d072001cb0ea 21540785 Some more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    48
COMPONENT_SYSTEM_TEST_DIR =	$(SOURCE_DIR)/tests
d072001cb0ea 21540785 Some more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    49
COMPONENT_SYSTEM_TEST_CMD =	./testsuite
d072001cb0ea 21540785 Some more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    50
COMPONENT_SYSTEM_TEST_ARGS =	AUTOTEST_PATH="src"
d072001cb0ea 21540785 Some 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_TARGETS =
d072001cb0ea 21540785 Some more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    52
d072001cb0ea 21540785 Some more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    53
# Get wdiff from /usr/bin
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4732
diff changeset
    54
COMPONENT_SYSTEM_TEST_ENV +=   PATH="$(USRBINDIR)"
1062
3e8044c3a700 PSARC 2012/001 wdiff version 1.1.0 - GNU word comparison utility
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    55
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    56
REQUIRED_PACKAGES += text/gnu-diffutils