195N/A#
195N/A# CDDL HEADER START
195N/A#
195N/A# The contents of this file are subject to the terms of the
195N/A# Common Development and Distribution License (the "License").
195N/A# You may not use this file except in compliance with the License.
195N/A#
195N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
195N/A# or http://www.opensolaris.org/os/licensing.
195N/A# See the License for the specific language governing permissions
195N/A# and limitations under the License.
195N/A#
195N/A# When distributing Covered Code, include this CDDL HEADER in each
195N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
195N/A# If applicable, add the following below this CDDL HEADER, with the
195N/A# fields enclosed by brackets "[]" replaced with your own identifying
195N/A# information: Portions Copyright [yyyy] [name of copyright owner]
195N/A#
195N/A# CDDL HEADER END
195N/A#
5680N/A
5680N/A#
5663N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
195N/A#
5680N/ABUILD_BITS= 64
5680N/ACOMPILER= gcc
195N/Ainclude ../../make-rules/shared-macros.mk
195N/A
195N/ACOMPONENT_NAME= doxygen
5663N/ACOMPONENT_VERSION= 1.8.11
618N/ACOMPONENT_PROJECT_URL= http://www.stack.nl/~dimitri/doxygen/index.html
195N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).src.tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
5663N/A sha256:65d08b46e48bd97186aef562dc366681045b119e00f83c5b61d05d37ea154049
195N/ACOMPONENT_ARCHIVE_URL= http://ftp.stack.nl/pub/users/dimitri/$(COMPONENT_ARCHIVE)
195N/A
778N/A# Download the manual so that we don't have to keep updating it in the gate.
778N/ACOMPONENT_ARCHIVE_1 = $(COMPONENT_NAME)_manual-$(COMPONENT_VERSION).pdf.zip
844N/ACOMPONENT_ARCHIVE_HASH_1 = \
5663N/A sha256:e7a6a0c853c715157070514bd29992315a7d14131dca5947110a18b0b3e8e61c
778N/ACOMPONENT_ARCHIVE_URL_1 = ftp://ftp.stack.nl/pub/users/dimitri/$(COMPONENT_ARCHIVE_1)
778N/A
5663N/ATPNO= 27457
2899N/A
5680N/ABUILD_STYLE= cmake
5680N/ASYSTEM_TEST_TARGET= $(SYSTEM_TEST_64)
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
3902N/A
1845N/Aifeq ($(strip $(PARFAIT_BUILD)),yes)
5680N/APATH=$(PARFAIT_TOOLS):$(GCC_ROOT)/bin:$(USRBINDIR)
5680N/Aelse
5680N/A# Necessary to find the right gcc during build
5680N/APATH=$(GCC_ROOT)/bin:$(USRBINDIR)
1845N/Aendif
1845N/A
195N/A
195N/A# Missing files in build dir for configure without this.
195N/ACOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
195N/A
5123N/ACONFIGURE_OPTIONS += --platform solaris-g++
5123N/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
195N/A
3040N/A# Tests not available from the top-level Makefile, nor via a standard target.
3040N/A# We need to add /usr/gnu/bin to the front of the PATH environment variable
3040N/A# for "diff -u" and we need to use our latest doxygen binary, not the one
3040N/A# installed on the system.
1789N/A#
3040N/A# Test 12 is a known failure (we don't have bibtex in Solaris).
3040N/ACOMPONENT_TEST_ENV = PATH="$(GNUBIN):$(PROTO_DIR)/usr/bin:$(PATH)"
3040N/ACOMPONENT_TEST_DIR = $(BUILD_DIR_64)/testing
3040N/ACOMPONENT_TEST_TARGETS = tests
3040N/A
3643N/A# The additional doxygen specific set of transforms to be applied to the
3643N/A# test results to try to normalize them.
3643N/ACOMPONENT_TEST_TRANSFORMS += \
5663N/A '-e "/^Scanning dependencies$$/d" ' \
3643N/A '-e "s|\(error opening bib\).*|\1|" ' \
3643N/A '-e "s|\(test_output_012/indexpage.xml\).*|\1|" ' \
4735N/A '-e "s|\(012/indexpage.xml\).*|\1|" ' \
4735N/A '-e "s|^\$$(@D)/|\.\.\./|g" ' \
4735N/A '-e "s|^\$$(SOURCE_DIR)/|\.\.\./|g" ' \
4735N/A '-e "s|^make.*: Leaving directory.*$$|XXX_CC_XXX|g" ' \
4735N/A '-e "s|^make.*: Entering directory.*$$|XXX_CC_XXX|g" ' \
4735N/A '-e "s|^make\[1\].*$$|XXX_CC_XXX|g" ' \
4735N/A '-e "/^XXX_CC_XXX$$/d" '
4735N/A
4735N/ACOMPONENT_SYSTEM_TEST_ENV = PATH="$(GNUBIN):$(PATH)"
4735N/ACOMPONENT_SYSTEM_TEST_DIR = $(SOURCE_DIR)/testing
4735N/ACOMPONENT_SYSTEM_TEST_CMD = perl
4735N/ACOMPONENT_SYSTEM_TEST_ARGS = runtests.pl --doxygen /usr/bin/doxygen
4735N/ACOMPONENT_SYSTEM_TEST_TARGETS =
3643N/A
5680N/ACOMPONENT_POST_INSTALL_ACTION += \
3883N/A cd $(PROTO_DIR) ; $(UNPACK) ../../../$(COMPONENT_ARCHIVE_1)
195N/A
3817N/AREQUIRED_PACKAGES += developer/lexer/flex
3817N/AREQUIRED_PACKAGES += developer/parser/bison
3902N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime
3902N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
3817N/AREQUIRED_PACKAGES += system/library/math