Makefile revision 313
5d92fff82718cd018f0b61a10b9ad4d2b8064c95rpluem#
bf52162f2d05c1fb1a107c7ef108de73f739b3edpquerna# CDDL HEADER START
8f066564bfc0fd6ddc6ca4b2f2410615554597d1jim#
8f066564bfc0fd6ddc6ca4b2f2410615554597d1jim# The contents of this file are subject to the terms of the
1b1621900bd89ddc496d721c865a726f635ebd7esf# Common Development and Distribution License (the "License").
1b1621900bd89ddc496d721c865a726f635ebd7esf# You may not use this file except in compliance with the License.
1b1621900bd89ddc496d721c865a726f635ebd7esf#
1b1621900bd89ddc496d721c865a726f635ebd7esf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1b1621900bd89ddc496d721c865a726f635ebd7esf# or http://www.opensolaris.org/os/licensing.
4203a35c28d7c60adb7e9ef3be87aad34951c79asf# See the License for the specific language governing permissions
4203a35c28d7c60adb7e9ef3be87aad34951c79asf# and limitations under the License.
4203a35c28d7c60adb7e9ef3be87aad34951c79asf#
c094add0a23fe1120fd33711ba2e2d084f5629a1sf# When distributing Covered Code, include this CDDL HEADER in each
c094add0a23fe1120fd33711ba2e2d084f5629a1sf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c094add0a23fe1120fd33711ba2e2d084f5629a1sf# If applicable, add the following below this CDDL HEADER, with the
12b26f433fd7d6fc9f76413d7c2cabf4fa5cb300sf# fields enclosed by brackets "[]" replaced with your own identifying
12b26f433fd7d6fc9f76413d7c2cabf4fa5cb300sf# information: Portions Copyright [yyyy] [name of copyright owner]
12b26f433fd7d6fc9f76413d7c2cabf4fa5cb300sf#
26f56d4a3c12077d605362e97490e34522fa4814covener# CDDL HEADER END
26f56d4a3c12077d605362e97490e34522fa4814covener#
26f56d4a3c12077d605362e97490e34522fa4814covener
2cef7e294acb5d8b8b5dcb21a55438da0b73f63figalic#
2cef7e294acb5d8b8b5dcb21a55438da0b73f63figalic# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
2cef7e294acb5d8b8b5dcb21a55438da0b73f63figalic#
2d2de64c25c1519122a76150a7daf2c05f53fd9asf
2d2de64c25c1519122a76150a7daf2c05f53fd9asfinclude ../../make-rules/shared-macros.mk
2d2de64c25c1519122a76150a7daf2c05f53fd9asf
2d2de64c25c1519122a76150a7daf2c05f53fd9asfCOMPONENT_NAME= tidy
27c5ebb7d411a214f5b6b55a881086ce086d3dd3covenerCOMPONENT_VERSION= 1.0.0
27c5ebb7d411a214f5b6b55a881086ce086d3dd3covenerCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
27c5ebb7d411a214f5b6b55a881086ce086d3dd3covenerCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
27c5ebb7d411a214f5b6b55a881086ce086d3dd3covenerCOMPONENT_ARCHIVE_HASH= sha1:305704f7569b9e0abea81033f609f9a19dbbcfe2
7697b1b7376a532163c621e050b70c90dcb15d66covenerCOMPONENT_ARCHIVE_URL= $(EXTERNAL_ARCHIVE_MIRROR)/$(SOURCE_ARCHIVE)
7697b1b7376a532163c621e050b70c90dcb15d66covener
7697b1b7376a532163c621e050b70c90dcb15d66covener
7697b1b7376a532163c621e050b70c90dcb15d66covenerinclude ../../make-rules/prep.mk
7697b1b7376a532163c621e050b70c90dcb15d66covenerinclude ../../make-rules/configure.mk
9e0536cd66a389bdaa758a825b8bbd8fea665a3eigalicinclude ../../make-rules/ips.mk
9e0536cd66a389bdaa758a825b8bbd8fea665a3eigalicinclude ../../make-rules/lint-libraries.mk
9e0536cd66a389bdaa758a825b8bbd8fea665a3eigalic
862bbb262644e8aefae1bf352552b01908ecae0eminfrin#tree.js, treeview.js, tidyenum_8h.html are installed
862bbb262644e8aefae1bf352552b01908ecae0eminfrin#from files directory manually as doxygen didn't generate them.
862bbb262644e8aefae1bf352552b01908ecae0eminfrin#This needs to be fixed later.
dd3b88790af9d18429c732ca7bc83ec4ef43d3ffrpluem
dd3b88790af9d18429c732ca7bc83ec4ef43d3ffrpluemCOMPONENT_PREP_ACTION = \
dd3b88790af9d18429c732ca7bc83ec4ef43d3ffrpluem (cd $(SOURCE_DIR); doxygen htmldoc/doxygen.cfg)
5bbabc874e3fcfbea08c199f7a79ee05b4817a70sf
5bbabc874e3fcfbea08c199f7a79ee05b4817a70sfCONFIGURE_OPTIONS += --disable-static
5bbabc874e3fcfbea08c199f7a79ee05b4817a70sfCONFIGURE_OPTIONS += --enable-access
8f066564bfc0fd6ddc6ca4b2f2410615554597d1jimCONFIGURE_OPTIONS += --enable-utf16
aec9747aa70c1dce98e536e8eef5a6a0ab0f1d6cjimCONFIGURE_OPTIONS += --enable-asian
aec9747aa70c1dce98e536e8eef5a6a0ab0f1d6cjimCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
7b7e8ba34e262064914ceedacd5f7d9201b6575ccovener
7b7e8ba34e262064914ceedacd5f7d9201b6575ccovenerCOMPONENT_PRE_CONFIGURE_ACTION = \
7b7e8ba34e262064914ceedacd5f7d9201b6575ccovener ($(CP) -r $(SOURCE_DIR)/test $(@D))
220bc4233b21982d7c51842a1774db0ba6172ca4covener
220bc4233b21982d7c51842a1774db0ba6172ca4covenerPROTODOCDIR=$(PROTOUSRSHAREDIR)/doc/tidy
220bc4233b21982d7c51842a1774db0ba6172ca4covener
220bc4233b21982d7c51842a1774db0ba6172ca4covener$(PROTODOCDIR):
6f2fbf354b34981f398cf0313aa44702ea2a7066covener $(MKDIR) $@
6f2fbf354b34981f398cf0313aa44702ea2a7066covener
6f2fbf354b34981f398cf0313aa44702ea2a7066covener# common targets
6f2fbf354b34981f398cf0313aa44702ea2a7066covenerbuild: $(BUILD_32_and_64)
9e7c7a8fa19c33d1e90f8f7ffab69beacbe72566covener
9e7c7a8fa19c33d1e90f8f7ffab69beacbe72566covenerinstall: $(INSTALL_32_and_64) $(PROTODOCDIR)
9e7c7a8fa19c33d1e90f8f7ffab69beacbe72566covener $(CP) -r $(SOURCE_DIR)/htmldoc/api $(PROTODOCDIR)
9e7c7a8fa19c33d1e90f8f7ffab69beacbe72566covener
a961006b347d6527ccaeab9cf019a4e68d26bfb0covenertest: $(TEST_32_and_64)
a961006b347d6527ccaeab9cf019a4e68d26bfb0covener
a961006b347d6527ccaeab9cf019a4e68d26bfb0covenerBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
e3f43882b4f7ac7d1aa679be4b319cca04fd22eecovener
e3f43882b4f7ac7d1aa679be4b319cca04fd22eecovenerinclude ../../make-rules/depend.mk
e3f43882b4f7ac7d1aa679be4b319cca04fd22eecovener