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