Makefile revision 2474ff8f9fd89767d214e1e3ce54fef756b0cc8e
#
# 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 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
include $(SRC)/Makefile.master
sparc_SUBDIRS= \
SUNWbcp \
SUNWcakr.u \
SUNWcakr.v \
SUNWcar.u \
SUNWcar.v \
SUNWcart200.v \
SUNWcg6.u \
SUNWcg6h \
SUNWcpc.u \
SUNWcpc.v \
SUNWcpr.u \
SUNWcti2.u \
SUNWcvc.u \
SUNWcvcr.u \
SUNWdcsr \
SUNWdcsu \
SUNWdrcr.u \
SUNWdrr.u \
SUNWefcl \
SUNWefcr \
SUNWefcu \
SUNWefc.u \
SUNWerid \
SUNWfruid \
SUNWfruip.u \
SUNWhmd \
SUNWhmdu \
SUNWidn.u \
SUNWifp \
SUNWifph \
SUNWjcom \
SUNWjib \
SUNWkvm.c \
SUNWkvm.d \
SUNWkvm.m \
SUNWkvm.u \
SUNWkvm.v \
SUNWkvmt200.v \
SUNWluxd.u \
SUNWluxl \
SUNWonmtst.u \
SUNWonmtst.v \
SUNWpdu \
SUNWpstl.u \
SUNWsckmr \
SUNWsckmu.u \
SUNWsckm.u \
SUNWscmhdlr \
SUNWsfdr.u \
SUNWsfdrr.u \
SUNWssad \
SUNWstc.u \
SUNWus.u \
SUNWust1.v \
SUNWwrsa.u \
SUNWwrsd.u \
SUNWwrsm.u \
SUNWwrsu.u
sparc_XMODS=
i386_SUBDIRS= \
SUNWaac \
SUNWad810 \
SUNWagp \
SUNWagph \
SUNWamr \
SUNWcakr.i \
SUNWcar.i \
SUNWcpc.i \
SUNWdfb.i \
SUNWgrub \
SUNWgrubS \
SUNWkvm.i \
SUNWos86r \
SUNWpsdcr \
SUNWpsdir \
SUNWpsh \
SUNWrmodr \
SUNWrmodu \
SUNWrtls \
SUNWsi3124 \
SUNWvia823x \
SUNWatheros \
SUNWmv88sx
i386_XMODS= \
SUNWadpu320 \
SUNWlsimega \
SUNWnge
COMMON_SUBDIRS= \
SUNW1394h \
SUNW1394 \
SUNWaccr \
SUNWaccu \
SUNWapct \
SUNWauda \
SUNWaudd \
SUNWaudf \
SUNWaudh \
SUNWaudit \
SUNWatfsr \
SUNWatfsu \
SUNWarc \
SUNWarcr \
SUNWast \
SUNWav1394 \
SUNWbart \
SUNWbge \
SUNWbip \
SUNWbipr \
SUNWbnur \
SUNWbnuu \
SUNWbsr \
SUNWbsu \
SUNWbtool \
SUNWcdrw \
SUNWckr \
SUNWcnetr \
SUNWcnsr \
SUNWcnsu \
SUNWcpcu \
SUNWcsd \
SUNWcsr \
SUNWcsu \
SUNWcsl \
SUNWcslr \
SUNWcstl \
SUNWdcaf \
SUNWdcar \
SUNWdfbh \
SUNWdhcm \
SUNWdhcsb \
SUNWdhcsr \
SUNWdhcsu \
SUNWdmgtr \
SUNWdmgtu \
SUNWdoc \
SUNWdpl \
SUNWdtrc \
SUNWdtrp \
SUNWesu \
SUNWfmd \
SUNWfmdr \
SUNWfss \
SUNWftdur \
SUNWftduu \
SUNWftpr \
SUNWftpu \
SUNWfwdc \
SUNWfwdcu \
SUNWgssdh \
SUNWgssc \
SUNWgss \
SUNWgssk \
SUNWhea \
SUNWib \
SUNWiotu \
SUNWioth \
SUNWipc \
SUNWipfh \
SUNWipfr \
SUNWipfu \
SUNWipoib \
SUNWixgb \
SUNWkrbr \
SUNWkrbu \
SUNWlibsasl \
SUNWllc \
SUNWllcr\
SUNWlldap \
SUNWkey \
SUNWloc \
SUNWmdar \
SUNWmdau \
SUNWmdb \
SUNWmdbdm \
SUNWmdbr \
SUNWmddr \
SUNWmdr \
SUNWmdu \
SUNWmibii \
SUNWmipr \
SUNWmipu \
SUNWncar \
SUNWncau \
SUNWnfsckr \
SUNWnfsskr \
SUNWnfssr \
SUNWnfscr \
SUNWnfssu \
SUNWnfscu \
SUNWnisr \
SUNWnisu \
SUNWntpr \
SUNWntpu \
SUNWocf \
SUNWocfd \
SUNWocfh \
SUNWocfr \
SUNWonfmes \
SUNWosdem \
SUNWypr \
SUNWypu \
SUNWpamsc \
SUNWpcelx \
SUNWpcmci \
SUNWpcmcu \
SUNWpcmem \
SUNWpcr \
SUNWpcser \
SUNWpcu \
SUNWpd \
SUNWphx \
PHXext \
SUNWperl584core \
SUNWperl584usr \
SUNWpiclh \
SUNWpiclu \
SUNWpiclr \
SUNWpl5p \
SUNWpl5u \
SUNWpl5v \
SUNWpool \
SUNWpoold \
SUNWpoolr \
SUNWppm \
SUNWpppd \
SUNWpppdu \
SUNWpppdr \
SUNWpppdt \
SUNWpppg \
SUNWpppgS \
SUNWpsdpr \
SUNWpsf \
SUNWpmu \
SUNWpsr \
SUNWpsu \
SUNWrcapr \
SUNWrcapu \
SUNWrcmdc \
SUNWrcmdr \
SUNWrcmds \
SUNWrge \
SUNWrmwbr \
SUNWrmwbu \
SUNWroute \
SUNWrpcib \
SUNWrsg \
SUNWrsgk \
SUNWsacom \
SUNWsadmi \
SUNWsasnm \
SUNWsbp2 \
SUNWscpr \
SUNWscpu \
SUNWscplp \
SUNWscsa1394 \
SUNWses \
SUNWslpr \
SUNWslpu \
SUNWsmapi \
SUNWsndmr \
SUNWsndmu \
SUNWspnego \
SUNWsra \
SUNWsrh \
SUNWtcpd \
SUNWtcpdS \
SUNWtecla \
SUNWter \
SUNWtftpr \
SUNWtftp \
SUNWtnamr \
SUNWtnamd \
SUNWtnetc \
SUNWtnetr \
SUNWtnetd \
SUNWtnfc \
SUNWtnfd \
SUNWtoo \
SUNWudaplr \
SUNWudaplu \
SUNWuedg \
SUNWuksp \
SUNWukspfw \
SUNWugen \
SUNWugenu \
SUNWuprl \
SUNWusb \
SUNWusbs \
SUNWusbu \
SUNWvolr \
SUNWvolu \
SUNWxcu4 \
SUNWwlanr \
SUNWwlanu \
SUNWxcu6 \
SUNWxwdv \
SUNWpmr \
SUNWudf \
SUNWudfr \
SUNWucbt \
SUNWrsm \
SUNWrsmo \
SUNWqos \
SUNWqosu \
SUNWxge \
SUNWchxge \
SUNWzfsr \
SUNWzfsu \
SUNWzoneint \
SUNWzoner \
SUNWzoneu
COMMON_XMODS= \
SUNWcry \
SUNWcryr \
SUNWcryptoint \
SUNWintgige \
SUNWkdcr \
SUNWkdcu \
SUNWopenssl-libraries \
SUNWopenssl-include \
SUNWopenssl-commands \
SUNWopensslr \
SUNWsshcu \
SUNWsshr \
SUNWsshu \
SUNWsshdr \
SUNWsshdu \
SUNWstatl \
SUNWsvvs \
SUNWtavor \
SUNWudapltr \
SUNWudapltu \
SUNWwbint \
SUNWwbsup
SUBDIRS= $($(MACH)_SUBDIRS) $(COMMON_SUBDIRS)
XMODS= $($(MACH)_XMODS) $(COMMON_XMODS)
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) $(XMODS)
all install: awk_pkginfo $(SUBDIRS) $(XMODS)
clean clobber: $(SUBDIRS) $(XMODS)
$(RM) awk_pkginfo bld_awk_pkginfo
$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
$(XMODS): FRC
@if [ -f $@/Makefile ]; then \
cd $@; pwd; $(MAKE) $(TARGET); \
else \
true; \
fi
awk_pkginfo: bld_awk_pkginfo
./bld_awk_pkginfo -m $(MACH) -p "$(RELEASE)/$(VERSION)" -o $@ -v \
$(ONVERS)
FRC:
# EXPORT DELETE START
EXPORT_SRC:
$(RM) -r $(sparc_XMODS) $(i386_XMODS) $(COMMON_XMODS)
$(RM) Makefile+
sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
< Makefile > Makefile+
$(MV) Makefile+ Makefile
$(CHMOD) 444 Makefile
$(RM) SUNWos86r/prototype_i386+
$(SED) -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
< SUNWos86r/prototype_i386 > SUNWos86r/prototype_i386+
$(MV) -f SUNWos86r/prototype_i386+ SUNWos86r/prototype_i386
$(CHMOD) 444 SUNWos86r/prototype_i386
$(RM) SUNWcsl/prototype_com+
$(SED) -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
< SUNWcsl/prototype_com > SUNWcsl/prototype_com+
$(MV) -f SUNWcsl/prototype_com+ SUNWcsl/prototype_com
$(CHMOD) 444 SUNWcsl/prototype_com
$(RM) SUNWcsl/prototype_i386+
$(SED) -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
< SUNWcsl/prototype_i386 > SUNWcsl/prototype_i386+
$(MV) -f SUNWcsl/prototype_i386+ SUNWcsl/prototype_i386
$(CHMOD) 444 SUNWcsl/prototype_i386
$(RM) SUNWcsl/prototype_sparc+
$(SED) -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
< SUNWcsl/prototype_sparc > SUNWcsl/prototype_sparc+
$(MV) -f SUNWcsl/prototype_sparc+ SUNWcsl/prototype_sparc
$(CHMOD) 444 SUNWcsl/prototype_sparc
# EXPORT DELETE END