1 # 2 # 3 # CDDL HEADER START 4 # 5 # The contents of this file are subject to the terms of the 6 # Common Development and Distribution License (the "License"). 7 # You may not use this file except in compliance with the License. 8 # 9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10 # or http://www.opensolaris.org/os/licensing. 11 # See the License for the specific language governing permissions 12 # and limitations under the License. 13 # 14 # When distributing Covered Code, include this CDDL HEADER in each 15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16 # If applicable, add the following below this CDDL HEADER, with the 17 # fields enclosed by brackets "[]" replaced with your own identifying 18 # information: Portions Copyright [yyyy] [name of copyright owner] 19 # 20 # CDDL HEADER END 21 # 22 # Copyright 2008 Sun Microsystems, Inc. All rights reserved. 23 # Use is subject to license terms. 24 # 25 #ident "@(#)Makefile.sfw 1.2 08/11/11 SMI" 26 # 27 28 COMPONENT_NAME=doxygen 29 COMPONENT_VERSION=1.5.7.1 30 VER =$(COMPONENT_NAME:sh)-$(COMPONENT_VERSION:sh) 31 TARBALL =$(VER).tar.gz 32 33 SFW_PATH="$(SPRO_VROOT)/bin:/usr/sfw/bin:$(PATH)" 34 35 include ../Makefile.cmd 36 37 DOXYGEN_CONFIGURE_OPTIONS = --platform solaris-cc 38 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 39 40 all: $(VER)/config.status 41 (cd $(VER); \ 42 CC=$(CC) \ 43 CXX=$(CCC) \ 44 MAKE=$(GMAKE) \ 45 $(GMAKE)) 46 47 install: all 48 $(SH) ./install-doxygen 49 50 $(VER)/config.status: $(VER)/configure 51 (cd $(VER); \ 52 ./configure $(DOXYGEN_CONFIGURE_OPTIONS)) 53 54 $(VER)/configure: $(VER).tar.gz 55 /usr/bin/gzip -dc $(VER).tar.gz | $(GTAR) xpf - --no-same-owner 56 cd $(VER) && gpatch -p1 < ../doxygen1.patch 57 touch $(VER)/configure 58 59 clean: 60 -rm -rf $(VER) 61 62 include ../Makefile.targ 63 64 65