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