Makefile revision 460
98N/A#
98N/A# CDDL HEADER START
98N/A#
98N/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, 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_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
98N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
98N/ACOMPONENT_ARCHIVE_HASH= sha1:305704f7569b9e0abea81033f609f9a19dbbcfe2
355N/ACOMPONENT_ARCHIVE_URL= $(EXTERNAL_ARCHIVE_MIRROR)/$(SOURCE_ARCHIVE)
98N/A
98N/A
235N/Ainclude ../../make-rules/prep.mk
156N/Ainclude ../../make-rules/configure.mk
156N/Ainclude ../../make-rules/ips.mk
156N/Ainclude ../../make-rules/lint-libraries.mk
156N/A
98N/A#tree.js, treeview.js, tidyenum_8h.html are installed
98N/A#from files directory manually as doxygen didn't generate them.
98N/A#This needs to be fixed later.
98N/A
235N/ACOMPONENT_PREP_ACTION = \
235N/A (cd $(SOURCE_DIR); doxygen htmldoc/doxygen.cfg)
98N/A
98N/ACONFIGURE_OPTIONS += --disable-static
98N/ACONFIGURE_OPTIONS += --enable-access
156N/ACONFIGURE_OPTIONS += --enable-utf16
98N/ACONFIGURE_OPTIONS += --enable-asian
98N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
235N/A
261N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
98N/A ($(CP) -r $(SOURCE_DIR)/test $(@D))
98N/A
98N/APROTODOCDIR=$(PROTOUSRSHAREDIR)/doc/tidy
98N/A
98N/A$(PROTODOCDIR):
98N/A $(MKDIR) $@
98N/A
98N/A# common targets
98N/Abuild: $(BUILD_32_and_64)
98N/A
98N/Ainstall: $(INSTALL_32_and_64) $(PROTODOCDIR)
98N/A $(CP) -r $(SOURCE_DIR)/htmldoc/api $(PROTODOCDIR)
98N/A
98N/Atest: $(TEST_32_and_64)
98N/A
98N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
235N/A
98N/Ainclude ../../make-rules/depend.mk
98N/A