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