components/doxygen/Makefile
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Mon, 11 Mar 2013 10:38:09 -0700
branchs11-update
changeset 2520 ceec631e74d1
parent 2434 6c9bb5cf5610
child 1303 79b691ffbda3
child 3661 47545fb8aed4
permissions -rw-r--r--
Close of build 10.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
195
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     1
#
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     3
#
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     7
#
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    12
#
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    18
#
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    20
#
746
67d8050c297a 7135985 Upgrade Doxygen to 1.7.6.1
Kevin Crowe <Kevin.Crowe@oracle.com>
parents: 609
diff changeset
    21
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
195
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    22
#
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    23
include ../../make-rules/shared-macros.mk
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    24
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    25
COMPONENT_NAME=		doxygen
746
67d8050c297a 7135985 Upgrade Doxygen to 1.7.6.1
Kevin Crowe <Kevin.Crowe@oracle.com>
parents: 609
diff changeset
    26
COMPONENT_VERSION=	1.7.6.1
609
775168282b2f 7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents: 195
diff changeset
    27
COMPONENT_PROJECT_URL=	http://www.stack.nl/~dimitri/doxygen/index.html
195
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    28
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    29
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).src.tar.gz
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 746
diff changeset
    30
COMPONENT_ARCHIVE_HASH=	\
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 746
diff changeset
    31
    sha256:0e60e794fb172d3fa4a9a9535f0b8e0eeb04e8366153f6b417569af0bcd61fcd
195
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    32
COMPONENT_ARCHIVE_URL=	http://ftp.stack.nl/pub/users/dimitri/$(COMPONENT_ARCHIVE)
2434
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents: 800
diff changeset
    33
COMPONENT_BUGDB=	utility/doxygen
195
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    34
746
67d8050c297a 7135985 Upgrade Doxygen to 1.7.6.1
Kevin Crowe <Kevin.Crowe@oracle.com>
parents: 609
diff changeset
    35
# Download the manual so that we don't have to keep updating it in the gate.
67d8050c297a 7135985 Upgrade Doxygen to 1.7.6.1
Kevin Crowe <Kevin.Crowe@oracle.com>
parents: 609
diff changeset
    36
COMPONENT_ARCHIVE_1 =	$(COMPONENT_NAME)_manual-$(COMPONENT_VERSION).pdf.zip
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 746
diff changeset
    37
COMPONENT_ARCHIVE_HASH_1 =	\
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 746
diff changeset
    38
    sha256:abe8ea7db00fe68632edeb2d6e44f94ad96a0dc798702b044afbc1752c7b2a61
746
67d8050c297a 7135985 Upgrade Doxygen to 1.7.6.1
Kevin Crowe <Kevin.Crowe@oracle.com>
parents: 609
diff changeset
    39
COMPONENT_ARCHIVE_URL_1 =	ftp://ftp.stack.nl/pub/users/dimitri/$(COMPONENT_ARCHIVE_1)
67d8050c297a 7135985 Upgrade Doxygen to 1.7.6.1
Kevin Crowe <Kevin.Crowe@oracle.com>
parents: 609
diff changeset
    40
195
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    41
include ../../make-rules/prep.mk
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    42
include ../../make-rules/configure.mk
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    43
include ../../make-rules/ips.mk
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    44
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    45
# Necessary to find CC during build
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    46
PATH=$(SPRO_VROOT)/bin:/usr/bin
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    47
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    48
# Missing files in build dir for configure without this.
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    49
COMPONENT_PRE_CONFIGURE_ACTION =	($(CLONEY) $(SOURCE_DIR) $(@D))
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    50
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    51
# Need to override default options since configure doesn't
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    52
# understand CC, CXX, etc.
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    53
CONFIGURE_OPTIONS =	--platform solaris-cc
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    54
CONFIGURE_OPTIONS +=	--prefix /usr
746
67d8050c297a 7135985 Upgrade Doxygen to 1.7.6.1
Kevin Crowe <Kevin.Crowe@oracle.com>
parents: 609
diff changeset
    55
CONFIGURE_OPTIONS +=	--enable-langs nl,sv,cz,fr,id,it,de,jp,je,es,fi,ru,hr,pl,pt,hu,kr,ke,ro,si,cn,no,br,dk,sk,ua,gr,tw,sr,ca,lt,za,ar,fa
195
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    56
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    57
# common targets
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    58
build:		$(BUILD_32)
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    59
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    60
install:	$(INSTALL_32)
746
67d8050c297a 7135985 Upgrade Doxygen to 1.7.6.1
Kevin Crowe <Kevin.Crowe@oracle.com>
parents: 609
diff changeset
    61
	cd $(PROTO_DIR) ; $(UNPACK) ../../../$(COMPONENT_ARCHIVE_1) 
195
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    62
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    63
test:	$(NO_TESTS)
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    64
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    65
BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    66
62e9499728a6 7036315 migrate doxygen to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    67
include ../../make-rules/depend.mk