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