Makefile revision 5680
281N/A#
281N/A# CDDL HEADER START
281N/A#
281N/A# The contents of this file are subject to the terms of the
281N/A# Common Development and Distribution License (the "License").
281N/A# You may not use this file except in compliance with the License.
281N/A#
281N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
281N/A# or http://www.opensolaris.org/os/licensing.
281N/A# See the License for the specific language governing permissions
281N/A# and limitations under the License.
281N/A#
281N/A# When distributing Covered Code, include this CDDL HEADER in each
281N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
281N/A# If applicable, add the following below this CDDL HEADER, with the
281N/A# fields enclosed by brackets "[]" replaced with your own identifying
281N/A# information: Portions Copyright [yyyy] [name of copyright owner]
281N/A#
281N/A# CDDL HEADER END
281N/A#
281N/A
281N/A#
5680N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
281N/A#
5680N/ABUILD_BITS= 64_and_32
281N/Ainclude ../../make-rules/shared-macros.mk
281N/A
281N/ACOMPONENT_NAME= tidy
281N/ACOMPONENT_VERSION= 1.0.0
618N/ACOMPONENT_PROJECT_URL= http://tidy.sourceforge.net/
844N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:074023e48ed151db743d194af1028e4a17fa72a18e4069b4f18d4683db4bb9cf
313N/ACOMPONENT_ARCHIVE_URL= $(EXTERNAL_ARCHIVE_MIRROR)/$(SOURCE_ARCHIVE)
1258N/ACOMPONENT_BUGDB= library/tidy
281N/A
2899N/ATPNO= 9098
2899N/A
5680N/ASYSTEM_TEST_TARGET= $(SYSTEM_TEST_32_and_64)
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
281N/A
281N/A#tree.js, treeview.js, tidyenum_8h.html are installed
281N/A#from files directory manually as doxygen didn't generate them.
281N/A#This needs to be fixed later.
281N/A
281N/ACOMPONENT_PREP_ACTION = \
281N/A (cd $(SOURCE_DIR); doxygen htmldoc/doxygen.cfg)
281N/A
281N/ACONFIGURE_OPTIONS += --disable-static
281N/ACONFIGURE_OPTIONS += --enable-access
281N/ACONFIGURE_OPTIONS += --enable-utf16
281N/ACONFIGURE_OPTIONS += --enable-asian
281N/A
281N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
281N/A ($(CP) -r $(SOURCE_DIR)/test $(@D))
281N/A
5680N/APROTODOCDIR=$(PROTOUSRSHAREDOCDIR)/tidy
281N/A
3643N/ACOMPONENT_TEST_DIR = $(@D)/test
3643N/ACOMPONENT_TEST_CMD = ./testall.sh
3643N/ACOMPONENT_TEST_TARGETS =
3643N/A
3643N/A# Master test results are the same for both 32-bit and 64-bit, so override
3643N/A# here, rather than create multiple identical master files.
3643N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
3643N/A
4730N/ACOMPONENT_SYSTEM_TEST_ENV = TIDY_BIN=/usr/bin/tidy
4730N/ACOMPONENT_SYSTEM_TEST_DIR = $(SOURCE_DIR)/test
4730N/ACOMPONENT_SYSTEM_TEST_CMD = ./testall.sh
4730N/ACOMPONENT_SYSTEM_TEST_TARGETS =
4730N/A
1475N/AASLR_MODE = $(ASLR_ENABLE)
1475N/A
5680N/ACOMPONENT_POST_INSTALL_ACTION += \
5680N/A ($(MKDIR) $(PROTODOCDIR); \
5680N/A $(CP) -r $(SOURCE_DIR)/htmldoc/api $(PROTODOCDIR))
4337N/A
3817N/AREQUIRED_PACKAGES += developer/documentation-tool/doxygen