#
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "@(#)Makefile.sfw 1.2 08/11/11 SMI"
#
COMPONENT_NAME=doxygen
COMPONENT_VERSION=1.5.7.1
VER =$(COMPONENT_NAME:sh)-$(COMPONENT_VERSION:sh)
TARBALL =$(VER).tar.gz
SFW_PATH="$(SPRO_VROOT)/bin:/usr/sfw/bin:$(PATH)"
include ../Makefile.cmd
DOXYGEN_CONFIGURE_OPTIONS = --platform solaris-cc
DOXYGEN_CONFIGURE_OPTIONS += --enable-langs nl,se,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
all: $(VER)/config.status
(cd $(VER); \
CC=$(CC) \
CXX=$(CCC) \
MAKE=$(GMAKE) \
$(GMAKE))
install: all
$(SH) ./install-doxygen
$(VER)/config.status: $(VER)/configure
(cd $(VER); \
./configure $(DOXYGEN_CONFIGURE_OPTIONS))
$(VER)/configure: $(VER).tar.gz
/usr/bin/gzip -dc $(VER).tar.gz | $(GTAR) xpf - --no-same-owner
cd $(VER) && gpatch -p1 < ../doxygen1.patch
touch $(VER)/configure
clean:
-rm -rf $(VER)
include ../Makefile.targ