Makefile revision 5641
2247N/A#
2247N/A# CDDL HEADER START
2247N/A#
2247N/A# The contents of this file are subject to the terms of the
2247N/A# Common Development and Distribution License (the "License").
2247N/A# You may not use this file except in compliance with the License.
2247N/A#
2247N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2247N/A# or http://www.opensolaris.org/os/licensing.
2247N/A# See the License for the specific language governing permissions
2247N/A# and limitations under the License.
2247N/A#
2247N/A# When distributing Covered Code, include this CDDL HEADER in each
2247N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2247N/A# If applicable, add the following below this CDDL HEADER, with the
2247N/A# fields enclosed by brackets "[]" replaced with your own identifying
2247N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2247N/A#
2247N/A# CDDL HEADER END
2247N/A#
5306N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
2247N/A#
2247N/ABITS=64
2247N/Ainclude ../../make-rules/shared-macros.mk
2247N/A
5306N/ACOMPONENT_NAME= doxygen
2276N/ACOMPONENT_VERSION= 1.8.9
2276N/ACOMPONENT_PROJECT_URL= http://www.stack.nl/~dimitri/doxygen/index.html
2276N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2276N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).src.tar.gz
2276N/ACOMPONENT_ARCHIVE_HASH= \
2276N/A sha256:f0dd662fb98c394c20deed5b00b29d73d9bee8ea1a52f7a687dd9b70f5444fc6
5542N/ACOMPONENT_ARCHIVE_URL= http://ftp.stack.nl/pub/users/dimitri/$(COMPONENT_ARCHIVE)
2276N/ACOMPONENT_BUGDB= utility/doxygen
2276N/A
2247N/A# Download the manual so that we don't have to keep updating it in the gate.
5306N/ACOMPONENT_ARCHIVE_1 = $(COMPONENT_NAME)_manual-$(COMPONENT_VERSION).pdf.zip
2247N/ACOMPONENT_ARCHIVE_HASH_1 = \
2247N/A sha256:33b12961db131c5cfea1b3d045a38b8f222bdd07bb04d1cd60f791ee86949b70
2247N/ACOMPONENT_ARCHIVE_URL_1 = ftp://ftp.stack.nl/pub/users/dimitri/$(COMPONENT_ARCHIVE_1)
5306N/A
3574N/ATPNO= 21549
2899N/A
3817N/Ainclude $(WS_MAKE_RULES)/prep.mk
3817N/A# Omit directory options that break doxygen's configure script.
5528N/ACONFIGURE_DEFAULT_DIRS=no
5528N/Ainclude $(WS_MAKE_RULES)/configure.mk
5528N/Ainclude $(WS_MAKE_RULES)/ips.mk
5528N/A
5528N/A# Necessary to find the right gcc during build
5528N/APATH=$(GCC_ROOT)/bin:/usr/bin
5528N/A
5528N/ACOMPILER = gcc
5528N/A
3817N/Aifeq ($(strip $(PARFAIT_BUILD)),yes)
2247N/APATH=$(PARFAIT_TOOLS):$(GCC_ROOT)/bin:/usr/bin
2247N/Aendif
2247N/A
2247N/A
3930N/A# Missing files in build dir for configure without this.
3930N/ACOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
3142N/A
3142N/ACONFIGURE_OPTIONS += --platform solaris-g++
3142N/ACONFIGURE_OPTIONS += --enable-langs=am,ar,br,ca,cn,cz,de,dk,en,eo,es,fa,fi,fr,gr,hr,hu,id,it,je,jp,ke,kr,lt,lv,mk,nl,no,pl,pt,ro,ru,sc,si,sk,sr,sv,tr,tw,ua,vi,za
3142N/A
3142N/A# Tests not available from the top-level Makefile, nor via a standard target.
3142N/A# We need to add /usr/gnu/bin to the front of the PATH environment variable
3142N/A# for "diff -u" and we need to use our latest doxygen binary, not the one
3142N/A# installed on the system.
4076N/A#
4742N/A# Test 12 is a known failure (we don't have bibtex in Solaris).
5024N/ACOMPONENT_TEST_ENV = PATH="$(GNUBIN):$(PROTO_DIR)/usr/bin:$(PATH)"
5308N/ACOMPONENT_TEST_DIR = $(BUILD_DIR_64)/testing
3142N/ACOMPONENT_TEST_TARGETS = tests
3142N/A
2247N/A# The additional doxygen specific set of transforms to be applied to the
2247N/A# test results to try to normalize them.
2247N/ACOMPONENT_TEST_TRANSFORMS += \
2247N/A '-e "s|\(error opening bib\).*|\1|" ' \
2247N/A '-e "s|\(test_output_012/indexpage.xml\).*|\1|" ' \
3431N/A '-e "s|\(012/indexpage.xml\).*|\1|" ' \
3431N/A '-e "s|^\$$(@D)/|\.\.\./|g" ' \
5161N/A '-e "s|^\$$(SOURCE_DIR)/|\.\.\./|g" ' \
5161N/A '-e "s|^make.*: Leaving directory.*$$|XXX_CC_XXX|g" ' \
5161N/A '-e "s|^make.*: Entering directory.*$$|XXX_CC_XXX|g" ' \
3431N/A '-e "s|^make\[1\].*$$|XXX_CC_XXX|g" ' \
3431N/A '-e "/^XXX_CC_XXX$$/d" '
3431N/A
3431N/ACOMPONENT_SYSTEM_TEST_ENV = PATH="$(GNUBIN):$(PATH)"
2247N/ACOMPONENT_SYSTEM_TEST_DIR = $(SOURCE_DIR)/testing
3513N/ACOMPONENT_SYSTEM_TEST_CMD = perl
2247N/ACOMPONENT_SYSTEM_TEST_ARGS = runtests.pl --doxygen /usr/bin/doxygen
2247N/ACOMPONENT_SYSTEM_TEST_TARGETS =
2247N/A
2247N/AASLR_MODE = $(ASLR_ENABLE)
2247N/A
2247N/Aconfigure: $(CONFIGURE_64)
2247N/A
4707N/Abuild: $(BUILD_64)
2247N/A
2588N/Ainstall: $(INSTALL_64)
2247N/A cd $(PROTO_DIR) ; $(UNPACK) ../../../$(COMPONENT_ARCHIVE_1)
2247N/A
2247N/Atest: $(TEST_64)
3520N/A
3260N/Asystem-test: $(SYSTEM_TEST_64)
2247N/A
2738N/A
2738N/AREQUIRED_PACKAGES += developer/lexer/flex
2738N/AREQUIRED_PACKAGES += developer/parser/bison
2738N/AREQUIRED_PACKAGES += system/library
2738N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime
2738N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
3513N/AREQUIRED_PACKAGES += system/library/math
3513N/A