Makefile revision 3040
5321N/A#
5321N/A# CDDL HEADER START
5321N/A#
5321N/A# The contents of this file are subject to the terms of the
5321N/A# Common Development and Distribution License (the "License").
5321N/A# You may not use this file except in compliance with the License.
5321N/A#
5321N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5321N/A# or http://www.opensolaris.org/os/licensing.
5321N/A# See the License for the specific language governing permissions
5321N/A# and limitations under the License.
5321N/A#
5321N/A# When distributing Covered Code, include this CDDL HEADER in each
5321N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5321N/A# If applicable, add the following below this CDDL HEADER, with the
5321N/A# fields enclosed by brackets "[]" replaced with your own identifying
5321N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5321N/A#
5321N/A# CDDL HEADER END
5321N/A#
5680N/A# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
5680N/A#
5323N/Ainclude ../../make-rules/shared-macros.mk
5321N/A
5321N/ACOMPONENT_NAME= doxygen
5641N/ACOMPONENT_VERSION= 1.8.7
5814N/ACOMPONENT_PROJECT_URL= http://www.stack.nl/~dimitri/doxygen/index.html
5321N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
5348N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).src.tar.gz
5348N/ACOMPONENT_ARCHIVE_HASH= \
5348N/A sha256:c6eac6b6e82148ae15ec5aecee4631547359f284af1ce94474d046ebca6ee3d9
5641N/ACOMPONENT_ARCHIVE_URL= http://ftp.stack.nl/pub/users/dimitri/$(COMPONENT_ARCHIVE)
5348N/ACOMPONENT_BUGDB= utility/doxygen
6662N/A
6662N/A# Download the manual so that we don't have to keep updating it in the gate.
6662N/ACOMPONENT_ARCHIVE_1 = $(COMPONENT_NAME)_manual-$(COMPONENT_VERSION).pdf.zip
6662N/ACOMPONENT_ARCHIVE_HASH_1 = \
5321N/A sha256:6796de1e77f723dcb52f36395161fdfbeaeebf769a297eb78b73e19b9542aa59
6662N/ACOMPONENT_ARCHIVE_URL_1 = ftp://ftp.stack.nl/pub/users/dimitri/$(COMPONENT_ARCHIVE_1)
6662N/A
6662N/ATPNO= 17646
5321N/A
5321N/Ainclude ../../make-rules/prep.mk
6662N/Ainclude ../../make-rules/configure.mk
5641N/Ainclude ../../make-rules/ips.mk
5641N/A
5641N/A# Necessary to find CC during build
5641N/APATH=$(SPRO_VROOT)/bin:/usr/bin
5641N/Aifeq ($(strip $(PARFAIT_BUILD)),yes)
5641N/APATH=$(PARFAIT_TOOLS):$(SPRO_VROOT)/bin:/usr/bin
5641N/Aendif
5641N/A
5641N/A
5641N/A# Missing files in build dir for configure without this.
5321N/ACOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
5641N/A
5641N/A# Need to override default options since configure doesn't
5641N/A# understand CC, CXX, etc.
5641N/ACONFIGURE_OPTIONS = --platform solaris-cc-64
5641N/ACONFIGURE_OPTIONS += --prefix /usr
5641N/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
5641N/A
5641N/A# Tests not available from the top-level Makefile, nor via a standard target.
5641N/A# We need to add /usr/gnu/bin to the front of the PATH environment variable
5641N/A# for "diff -u" and we need to use our latest doxygen binary, not the one
5641N/A# installed on the system.
5641N/A#
5641N/A# Test 12 is a known failure (we don't have bibtex in Solaris).
5641N/ACOMPONENT_TEST_ENV = PATH="$(GNUBIN):$(PROTO_DIR)/usr/bin:$(PATH)"
5641N/ACOMPONENT_TEST_DIR = $(BUILD_DIR_64)/testing
5641N/ACOMPONENT_TEST_TARGETS = tests
5641N/A
5321N/AASLR_MODE = $(ASLR_ENABLE)
5321N/A
5321N/A# common targets
5321N/Abuild: $(BUILD_64)
5321N/A
5353N/Ainstall: $(INSTALL_64)
5353N/A cd $(PROTO_DIR) ; $(UNPACK) ../../../$(COMPONENT_ARCHIVE_1)
5353N/A
5321N/Atest: $(TEST_64)
5321N/A
5641N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
5641N/A
5641N/Ainclude ../../make-rules/depend.mk
5641N/A