Makefile revision 830
146N/A#
146N/A# CDDL HEADER START
146N/A#
146N/A# The contents of this file are subject to the terms of the
146N/A# Common Development and Distribution License (the "License").
146N/A# You may not use this file except in compliance with the License.
146N/A#
146N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
146N/A# or http://www.opensolaris.org/os/licensing.
146N/A# See the License for the specific language governing permissions
146N/A# and limitations under the License.
146N/A#
146N/A# When distributing Covered Code, include this CDDL HEADER in each
146N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
146N/A# If applicable, add the following below this CDDL HEADER, with the
146N/A# fields enclosed by brackets "[]" replaced with your own identifying
146N/A# information: Portions Copyright [yyyy] [name of copyright owner]
146N/A#
146N/A# CDDL HEADER END
146N/A#
146N/A
146N/A#
844N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
146N/A#
146N/A
146N/Ainclude ../../make-rules/shared-macros.mk
146N/A
614N/ACOMPONENT_NAME= tidy
614N/ACOMPONENT_VERSION= 1.0.0
618N/ACOMPONENT_PROJECT_URL= http://tidy.sourceforge.net/
614N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
614N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= sha1:305704f7569b9e0abea81033f609f9a19dbbcfe2
844N/ACOMPONENT_ARCHIVE_URL= $(EXTERNAL_ARCHIVE_MIRROR)/$(SOURCE_ARCHIVE)
614N/A
146N/A
146N/Ainclude ../../make-rules/prep.mk
146N/Ainclude ../../make-rules/configure.mk
146N/Ainclude ../../make-rules/ips.mk
146N/Ainclude ../../make-rules/lint-libraries.mk
146N/A
146N/A#tree.js, treeview.js, tidyenum_8h.html are installed
146N/A#from files directory manually as doxygen didn't generate them.
146N/A#This needs to be fixed later.
146N/A
146N/ACOMPONENT_PREP_ACTION = \
206N/A (cd $(SOURCE_DIR); doxygen htmldoc/doxygen.cfg)
206N/A
146N/ACONFIGURE_OPTIONS += --disable-static
146N/ACONFIGURE_OPTIONS += --enable-access
206N/ACONFIGURE_OPTIONS += --enable-utf16
146N/ACONFIGURE_OPTIONS += --enable-asian
146N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
146N/A
146N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
146N/A ($(CP) -r $(SOURCE_DIR)/test $(@D))
146N/A
146N/APROTODOCDIR=$(PROTOUSRSHAREDIR)/doc/tidy
146N/A
146N/A$(PROTODOCDIR):
146N/A $(MKDIR) $@
146N/A
146N/A# common targets
146N/Abuild: $(BUILD_32_and_64)
146N/A
146N/Ainstall: $(INSTALL_32_and_64) $(PROTODOCDIR)
146N/A $(CP) -r $(SOURCE_DIR)/htmldoc/api $(PROTODOCDIR)
146N/A
146N/Atest: $(TEST_32_and_64)
146N/A
181N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
146N/A
146N/Ainclude ../../make-rules/depend.mk
146N/A