usr/src/pkgdefs/Makefile
author Jon Tibble <meths@btinternet.com>
Fri, 14 Jun 2013 23:20:22 +0100
branchoi_151a
changeset 224 5f5d691114f8
parent 95 fc03ee292187
permissions -rw-r--r--
Bump mercurial Python dependency version

#
# 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 (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
#
# ident	"@(#)Makefile	1.285	10/10/07 SMI"
#

#
# pkgdefs/Makefile
#

include $(SRC)/Makefile.master

sparc_SUBDIRS=

i386_SUBDIRS= \
	SUNWacpidump

COMMON_SUBDIRS= \
	SUNWa2psr \
	SUNWa2psu \
	SUNWaalib \
	SUNWaconf \
	SUNWactivation \
	SUNWaget \
	SUNWantlr2 \
	SUNWapchd \
	SUNWapchr \
	SUNWapchu \
	SUNWapr13lib \
	SUNWapr13dev \
	SUNWapr13doc \
	SUNWapu13lib \
	SUNWapu13dev \
	SUNWapu13doc \
	SUNWapu13dbd-mysql \
	SUNWapu13dbd-pgsql \
	SUNWapu13dbd-sqlite \
	SUNWapu13-ldap \
	SUNWapch22d \
	SUNWapch22r \
	SUNWapch22u \
	SUNWapch22m-php52 \
	SUNWapch22r-php52 \
	SUNWapch22m-fcgid \
	SUNWapch22r-fcgid \
	SUNWapch22m-jk \
	SUNWapch22r-jk \
	SUNWapch22m-security \
	SUNWapch22r-security \
	SUNWapch22m-dtrace \
	SUNWapch22r-dtrace \
	SUNWapch22m-sed \
	SUNWapch22r-sed \
	SUNWapch22m-xml2enc \
	SUNWapch22m-proxy-html \
	SUNWapch22r-proxy-html \
	SUNWant \
	SUNWautogen \
	SUNWareca \
	SUNWawstats \
	SUNWbashr \
	SUNWbash \
	SUNWbcc \
	SUNWbeanshell \
	SUNWbinutils \
	SUNWbison \
	SUNWbonnieplus \
	SUNWbvi \
	SUNWbwm-ng \
	SUNWbzip \
	SUNWcimserverr \
	SUNWcimserveru \
	SUNWclisp \
	SUNWcmake \
	SUNWcommons-collections \
	SUNWconflict \
	SUNWconmanr \
	SUNWconmanu \
	SUNWconvmv \
	SUNWcupsr \
	SUNWcupsu \
	SUNWcurl \
	SUNWcvs \
	SUNWdoxygen \
	SUNWdosbox \
	SUNWdwdiff \
	SUNWejabberdr \
	SUNWejabberdu \
	SUNWelinks \
	SUNWerlang \
	SUNWerlang-doc \
	SUNWepydoc \
	SUNWexpect \
	SUNWfcgi \
	SUNWfcgi-doc \
	SUNWfreeipmir \
	SUNWfreeipmiu \
	SUNWunrar \
	SUNWunzip \
	SUNWdvdrw \
	SUNWfakeroot \
	SUNWfetchmail \
	SUNWffiltersr \
	SUNWffiltersu \
	SUNWfftw2 \
	SUNWfftw3 \
	SUNWflexlex \
	SUNWflexruntime \
	SUNWfping \
	SUNWfpingr \
	SUNWfoomatic-db \
	SUNWfoomatic-db-enginer \
	SUNWfoomatic-db-engineu \
	SUNWfppd \
	SUNWgawk \
	SUNWgcc \
	SUNWgccruntime \
	SUNWgcmn \
	SUNWgdb \
	SUNWgd2 \
	SUNWghostscriptr \
	SUNWghostscriptu \
	SUNWgpch \
	SUNWggrp \
	SUNWgit \
	SUNWgm4 \
	SUNWgmake \
	SUNWgnu-automake-19 \
	SUNWgnu-automake-110 \
	SUNWgnu-coreutils \
	SUNWgnu-dbm \
	SUNWgnu-diffutils \
	SUNWgnu-emacs \
	SUNWgnu-emacs-el \
	SUNWgnu-emacs-gtk \
	SUNWgnu-emacs-nox \
	SUNWgnu-emacs-x \
	SUNWgnu-gettext \
	SUNWgnu-gperf \
	SUNWgnu-idn \
	SUNWgnu-mc \
	SUNWgnu-mp \
	SUNWgnu-mpfr \
	SUNWgnu-nano \
	SUNWgnu-readline \
	SUNWgnu-which \
	SUNWgnupg \
	SUNWgnuplot \
	SUNWgocr \
	SUNWgrails \
	SUNWgsed \
	SUNWgsfot \
	SUNWgsfst \
	SUNWgtar \
	SUNWguile \
	SUNWGlib \
	SUNWGtkr \
	SUNWGtku \
	SUNWgutenprint \
	SUNWgvim \
	SUNWgzip \
	SUNWhal-cups-utilsr \
	SUNWhal-cups-utils \
	SUNWhexedit \
	SUNWhpijs \
	SUNWhttping \
	SUNWidzebra \
	SUNWiftop \
	SUNWilmbase \
	SUNWimagick \
	SUNWImperius \
	SUNWiozone \
	SUNWiperf \
	SUNWipmi \
	SUNWipmir \
	SUNWircii \
	SUNWjedit \
	SUNWjavamail \
	SUNWjruby \
	SUNWlablgtk \
	SUNWjaxb \
	SUNWjrexx \
	SUNWjunit \
	SUNWkonkretcmpi \
	SUNWlcms \
	SUNWless \
	SUNWlexpt \
	SUNWlftpr \
	SUNWlftpu \
	SUNWlibconfuse \
	SUNWlibevent \
	SUNWlibmcrypt \
	SUNWlibmemcached \
	SUNWlibmng \
	SUNWlibnet \
	SUNWlibopenusb \
	SUNWlibpcap \
	SUNWlibosip2 \
	SUNWlibrsync \
	SUNWlibsigsegv \
	SUNWlibsndfile \
	SUNWlibstdcxx4 \
	SUNWlibtool \
	SUNWlibtorrent \
	SUNWlibxmlrpc-c \
	SUNWlibyaz \
	SUNWlinks \
	SUNWlogilab-common \
	SUNWlogrotater \
	SUNWlogrotateu \
	SUNWlogilab-astng \
	SUNWlighttpd14r \
	SUNWlighttpd14u \
	SUNWltdl \
	SUNWlua \
	SUNWlxml \
	SUNWlxmlr \
	SUNWlxml-devel \
	SUNWlxml-python \
	SUNWlxml-python26 \
	SUNWlxsl \
	SUNWlxsl-devel \
	SUNWlxsl-python \
	SUNWlxsl-python26 \
	SUNWmeld \
	SUNWmemcached \
	SUNWmemcachedr \
	SUNWmemcached-java \
	SUNWmercurial \
	SUNWmkcd \
	SUNWmkcdr \
	SUNWmozldapC-SDK \
	SUNWmrtg \
	SUNWmrxvt \
	SUNWmtx \
	SUNWmutt \
	SUNWmuttr \
	SUNWmysql5u	\
	SUNWmysql5r	\
	SUNWmysql5test	\
	SUNWmysql5jdbc \
	SUNWmysql51r \
	SUNWmysql51u \
	SUNWmysql51lib \
	SUNWmysql51test \
	SUNWncft \
	SUNWneon \
	SUNWnethack \
	SUNWnethackr \
	SUNWnmap \
	SUNWntpr \
	SUNWntpu \
	SUNWocaml \
	SUNWopenexr \
	SUNWopenldapr \
	SUNWopenldapu \
	SUNWopenssl-commands \
	SUNWopenssl-fips-140 \
	SUNWopenssl-fips-140-include \
	SUNWopenssl-include \
	SUNWopenssl-libraries \
	SUNWopenssl-man \
	SUNWopensslr \
	SUNWopenwsmanr \
	SUNWopenwsmanu \
	SUNWp7zip \
	SUNWpampkcs11r \
	SUNWpampkcs11u \
	SUNWpampkcs11-docs \
	SUNWpatchutils \
	SUNWpconsoler \
	SUNWpconsole \
	SUNWpcre \
	SUNWpdsh \
	SUNWpen \
	SUNWpenr \
	SUNWperl510core \
	SUNWperl510usr \
	SUNWperl-net-ssleay \
	SUNWperl-pmtools \
	SUNWpgadmin3 \
	SUNWphp52d \
	SUNWpgbouncer-pg83-config \
	SUNWpgbouncer-pg83-server \
	SUNWphp52u \
	SUNWphp52r \
	SUNWphp52u-apc \
	SUNWphp52r-apc \
	SUNWphp52u-idn \
	SUNWphp52r-idn \
	SUNWphp52u-memcache \
	SUNWphp52r-memcache \
	SUNWphp52u-mysql \
	SUNWphp52r-mysql \
	SUNWphp52u-pear \
	SUNWphp52r-pear \
	SUNWphp52u-pgsql \
	SUNWphp52r-pgsql \
	SUNWphp52u-suhosin \
	SUNWphp52r-suhosin \
	SUNWphp52u-tcpwrap \
	SUNWphp52r-tcpwrap \
	SUNWphp52u-xdebug \
	SUNWphp52r-xdebug \
	SUNWpipe-viewer \
	SUNWpmdbi \
	SUNWpmdbdpg \
	SUNWpostgr-82-client \
	SUNWpostgr-82-contrib \
	SUNWpostgr-82-devel \
	SUNWpostgr-82-docs \
	SUNWpostgr-82-libs \
	SUNWpostgr-82-pl \
	SUNWpostgr-82-server \
	SUNWpostgr-82-server-data-root \
	SUNWpostgr-82-jdbc \
	SUNWpostgr-82-tcl \
	SUNWpostgr-83-client \
	SUNWpostgr-83-contrib \
	SUNWpostgr-83-devel \
	SUNWpostgr-83-docs \
	SUNWpostgr-83-libs \
	SUNWpostgr-83-pl \
	SUNWpostgr-83-server \
	SUNWpostgr-83-server-data-root \
	SUNWpostgr-83-tcl \
	SUNWpostgr-83-tests \
	SUNWpostgr-84-client \
	SUNWpostgr-84-contrib \
	SUNWpostgr-84-devel \
	SUNWpostgr-84-docs \
	SUNWpostgr-84-libs \
	SUNWpostgr-84-pl \
	SUNWpostgr-84-server \
	SUNWpostgr-84-server-data-root \
	SUNWpostgr-84-tests \
	SUNWpostgr-common \
	SUNWpostgr-common-root \
	SUNWpostgr-jdbc \
	SUNWpostgr-libpqxx \
	SUNWpostgr-tcl \
	SUNWpostgr-upgrade \
	SUNWpowermanr \
	SUNWpowermanu \
	SUNWprivoxyr \
	SUNWprivoxyu \
	SUNWprocmail \
	SUNWpsutils \
	SUNWpth \
	SUNWpycups \
	SUNWpylint \
	SUNWpython-pyopenssl \
	SUNWpython26-pyopenssl \
	SUNWpywbem \
	SUNWpwgen \
	SUNWqdox \
	SUNWquiltr \
	SUNWquiltu \
	SUNWrdiff-backup \
	SUNWrpm \
	SUNWrsync \
	SUNWrtorrent \
	SUNWruby18u \
	SUNWruby18r \
	SUNWsaaj \
	SUNWsane-backendr \
	SUNWsane-backendu \
	SUNWsane-frontend \
	SUNWSblimCimClient \
	SUNWsblimwbemcli \
	SUNWscreen \
	SUNWscreenrc \
	SUNWsg3utilsr \
	SUNWsg3utilsu \
	SUNWshmux \
	SUNWsimplewbem \
	SUNWslang \
	SUNWslangr \
	SUNWslrn \
	SUNWsmbadocr \
	SUNWsmbadocu \
	SUNWsmbar \
	SUNWsmbau \
	SUNWsnack \
	SUNWsnortr \
	SUNWsnortu \
	SUNWsound-exchange \
	SUNWspawn-fcgi \
	SUNWsquidr \
	SUNWsquidu \
	SUNWstunnelr \
	SUNWstunnelu \
	SUNWsudor \
	SUNWsudou \
	SUNWsvn \
	SUNWsvn-java \
	SUNWsvn-perl \
	SUNWsvn-python \
	SUNWswig \
	SUNWsysbench \
	SUNWTcl \
	SUNWtcltls \
	SUNWtcatr \
	SUNWtcatu \
	SUNWtcat-examples \
	SUNWtcpdump \
	SUNWtcsh \
	SUNWtexi \
	SUNWtidy \
	SUNWTk \
	SUNWtop \
	SUNWtor \
	SUNWtor-root \
	SUNWtree \
	SUNWtrove \
	SUNWtss \
	SUNWtss-root \
	SUNWunison \
	SUNWunixodbcr \
	SUNWunixodbc \
	SUNWvim \
	SUNWwgetr \
	SUNWwgetu \
	SUNWzlib \
	SUNWzlibr \
	SUNWzip \
	SUNWzsh \
	SUNWnet-snmp-mgr \
	SUNWnet-snmp-core \
	SUNWnet-snmp-doc \
	SUNWnet-snmp-utils \
	SUNWnet-snmp-addons \
	SUNWlibusb \
	SUNWlibusbugen \
	SUNWquaggar \
	SUNWquaggau \
	SUNWbind \
	SUNWbindc \
	SUNWbindr \
	SUNWslib \
	SUNWwebalizer \
	SUNWwebalizerr \
	SUNWwebminu \
	SUNWwebminr \
	SUNWwireshark \
	SUNWwiresharkr \
	SUNWwisemanr \
	SUNWwisemanu \
	SUNWwxwidgets \
	SUNWwxwidgets-devel \
	SUNWdiffstat

# STUB_ON_SUBDIRS are directories that are placeholder stubs
# for packages delivered by the ON consolidation. These directories
# provide enough information about the files delivered by the real
# package to allow protocmp to properly validate such dependencies.
# However, no corresponding package is delivered.
#
# At the current time, this feature is used to allow use of
# /usr/lib/isaexec from sfw.
STUB_ON_SUBDIRS= \
	SUNWcsu

SUBDIRS= $($(MACH)_SUBDIRS) $(COMMON_SUBDIRS) $(STUB_ON_SUBDIRS)

all :=		TARGET= all
install :=	TARGET= install
install_h :=	TARGET= install_h
clean :=	TARGET= clean
clobber :=	TARGET= clobber

%: %.ksh
	$(RM) $@
	cp $< $@
	chmod +x $@

.KEEP_STATE:

.PARALLEL: $(SUBDIRS)

all: awk_pkginfo $(SUBDIRS)

install: awk_pkginfo $(SUBDIRS) $(SFW_RUN_CHECK_DEPS) check_deps

check_deps:
	@echo "\n==== Checking package dependencies ====\n"
	@if [ ! -d "$(SFW_PKGDB)" ]; then \
		echo "error: SFW_PKGDB must be set"; \
	else ; \
		echo $(SFW_CHECK_DEPS) $(SUBDIRS); \
		$(SFW_CHECK_DEPS) $(SUBDIRS); \
	fi

clean clobber: $(SUBDIRS)
	$(RM) awk_pkginfo bld_awk_pkginfo

$(SUBDIRS): FRC
	@cd $@; echo "$(TARGET) \c" ; pwd; $(MAKE) $(TARGET)

awk_pkginfo: bld_awk_pkginfo
	./bld_awk_pkginfo -m $(MACH) -p "$(SFWRELEASE)/$(SFWVERSION)" -o $@ \
	-v $(SFWVERS)


FRC: