Makefile revision 4735
74N/A#
74N/A# CDDL HEADER START
74N/A#
74N/A# The contents of this file are subject to the terms of the
74N/A# Common Development and Distribution License (the "License").
74N/A# You may not use this file except in compliance with the License.
74N/A#
74N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
74N/A# or http://www.opensolaris.org/os/licensing.
74N/A# See the License for the specific language governing permissions
74N/A# and limitations under the License.
74N/A#
74N/A# When distributing Covered Code, include this CDDL HEADER in each
74N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
74N/A# If applicable, add the following below this CDDL HEADER, with the
74N/A# fields enclosed by brackets "[]" replaced with your own identifying
74N/A# information: Portions Copyright [yyyy] [name of copyright owner]
74N/A#
74N/A# CDDL HEADER END
74N/A#
3625N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
74N/A#
3817N/Ainclude ../../make-rules/shared-macros.mk
3817N/A
3817N/ACOMPONENT_NAME= doxygen
3817N/ACOMPONENT_VERSION= 1.8.9
74N/ACOMPONENT_PROJECT_URL= http://www.stack.nl/~dimitri/doxygen/index.html
74N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
74N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).src.tar.gz
74N/ACOMPONENT_ARCHIVE_HASH= \
618N/A sha256:f0dd662fb98c394c20deed5b00b29d73d9bee8ea1a52f7a687dd9b70f5444fc6
74N/ACOMPONENT_ARCHIVE_URL= http://ftp.stack.nl/pub/users/dimitri/$(COMPONENT_ARCHIVE)
74N/ACOMPONENT_BUGDB= utility/doxygen
844N/A
844N/A# Download the manual so that we don't have to keep updating it in the gate.
618N/ACOMPONENT_ARCHIVE_1 = $(COMPONENT_NAME)_manual-$(COMPONENT_VERSION).pdf.zip
1258N/ACOMPONENT_ARCHIVE_HASH_1 = \
74N/A sha256:33b12961db131c5cfea1b3d045a38b8f222bdd07bb04d1cd60f791ee86949b70
2899N/ACOMPONENT_ARCHIVE_URL_1 = ftp://ftp.stack.nl/pub/users/dimitri/$(COMPONENT_ARCHIVE_1)
2899N/A
3817N/ATPNO= 21549
3817N/A
3817N/Ainclude $(WS_MAKE_RULES)/prep.mk
3425N/Ainclude $(WS_MAKE_RULES)/configure.mk
3425N/Ainclude $(WS_MAKE_RULES)/ips.mk
3425N/A
3425N/A# Necessary to find the right gcc during build
3425N/APATH=$(GCC_ROOT)/bin:/usr/bin
3425N/A
3425N/ACOMPILER = gcc
3425N/A
3425N/Aifeq ($(strip $(PARFAIT_BUILD)),yes)
74N/APATH=$(PARFAIT_TOOLS):$(GCC_ROOT)/bin:/usr/bin
74N/Aendif
74N/A
74N/A
74N/A# Missing files in build dir for configure without this.
3625N/ACOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
3625N/A
3625N/A# Need to override default options since configure doesn't
3625N/A# understand CC, CXX, etc.
3625N/ACONFIGURE_OPTIONS = --platform solaris-g++
3625N/ACONFIGURE_OPTIONS += --prefix /usr
3625N/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
3625N/A
3625N/A# Tests not available from the top-level Makefile, nor via a standard target.
3625N/A# We need to add /usr/gnu/bin to the front of the PATH environment variable
1475N/A# for "diff -u" and we need to use our latest doxygen binary, not the one
1475N/A# installed on the system.
74N/A#
3477N/A# Test 12 is a known failure (we don't have bibtex in Solaris).
3477N/ACOMPONENT_TEST_ENV = PATH="$(GNUBIN):$(PROTO_DIR)/usr/bin:$(PATH)"
1542N/ACOMPONENT_TEST_DIR = $(BUILD_DIR_64)/testing
74N/ACOMPONENT_TEST_TARGETS = tests
1542N/A
74N/A# The additional doxygen specific set of transforms to be applied to the
3625N/A# test results to try to normalize them.
83N/ACOMPONENT_TEST_TRANSFORMS += \
74N/A '-e "s|\(error opening bib\).*|\1|" ' \
3817N/A '-e "s|\(test_output_012/indexpage.xml\).*|\1|" ' \
3817N/A '-e "s|\(012/indexpage.xml\).*|\1|" ' \
3817N/A '-e "s|^\$$(@D)/|\.\.\./|g" ' \
3817N/A '-e "s|^\$$(SOURCE_DIR)/|\.\.\./|g" ' \
3817N/A '-e "s|^make.*: Leaving directory.*$$|XXX_CC_XXX|g" ' \
3817N/A '-e "s|^make.*: Entering directory.*$$|XXX_CC_XXX|g" ' \
3817N/A '-e "s|^make\[1\].*$$|XXX_CC_XXX|g" ' \
'-e "/^XXX_CC_XXX$$/d" '
COMPONENT_SYSTEM_TEST_ENV = PATH="$(GNUBIN):$(PATH)"
COMPONENT_SYSTEM_TEST_DIR = $(SOURCE_DIR)/testing
COMPONENT_SYSTEM_TEST_CMD = perl
COMPONENT_SYSTEM_TEST_ARGS = runtests.pl --doxygen /usr/bin/doxygen
COMPONENT_SYSTEM_TEST_TARGETS =
ASLR_MODE = $(ASLR_ENABLE)
configure: $(CONFIGURE_64)
build: $(BUILD_64)
install: $(INSTALL_64)
cd $(PROTO_DIR) ; $(UNPACK) ../../../$(COMPONENT_ARCHIVE_1)
test: $(TEST_64)
system-test: $(SYSTEM_TEST_64)
REQUIRED_PACKAGES += developer/lexer/flex
REQUIRED_PACKAGES += developer/parser/bison
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
REQUIRED_PACKAGES += system/library/math