components/tidy/Makefile
author John Beck <John.Beck@Oracle.COM>
Thu, 13 Oct 2016 08:06:14 -0700
changeset 7109 f298ea535620
parent 6603 82e0c142e47f
child 7687 1093e2a9adbd
permissions -rw-r--r--
24844018 fix for 24826424 needs tweaking
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
281
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     1
#
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     3
#
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     7
#
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    12
#
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    18
#
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    20
#
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    21
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@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) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
281
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@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: 4732
diff changeset
    25
BUILD_BITS= 64_and_32
6603
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 6552
diff changeset
    26
COMPILER= gcc
281
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    27
include ../../make-rules/shared-macros.mk
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    28
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    29
COMPONENT_NAME=		tidy
6603
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 6552
diff changeset
    30
COMPONENT_VERSION=	5.2.0
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 6552
diff changeset
    31
COMPONENT_PROJECT_URL=	http://www.html-tidy.org/
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 6552
diff changeset
    32
COMPONENT_SRC_NAME=	tidy-html5
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 609
diff changeset
    33
COMPONENT_ARCHIVE_HASH=	\
6603
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 6552
diff changeset
    34
    sha256:80533415acf11ac55f24b874ab39448e390ffec3c2b93df4b857d15602fc7c4d
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 6552
diff changeset
    35
COMPONENT_ARCHIVE_URL=	https://github.com/htacg/tidy-html5/archive/$(COMPONENT_VERSION).tar.gz
1058
34d7aaa03423 15886624 Auto-generation of Userland gate list - Phase 3
Rich Burridge <rich.burridge@oracle.com>
parents: 800
diff changeset
    36
COMPONENT_BUGDB=	library/tidy
281
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    37
6603
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 6552
diff changeset
    38
TPNO=			30761
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1191
diff changeset
    39
6603
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 6552
diff changeset
    40
BUILD_STYLE= cmake
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4732
diff changeset
    41
SYSTEM_TEST_TARGET= $(SYSTEM_TEST_32_and_64)
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4732
diff changeset
    42
include $(WS_MAKE_RULES)/common.mk
281
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    43
6603
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 6552
diff changeset
    44
CMAKE_OPTIONS += -DBUILD_TAB2SPACE=ON
281
d8461ade59a0 7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    45
6603
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 6552
diff changeset
    46
# Needed for the 64-bit tab2space executable.
82e0c142e47f 23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents: 6552
diff changeset
    47
PKG_PROTO_DIRS += $(BUILD_DIR_64)