Makefile revision 4bff34e37def8a90f9194d81bc345c52ba20086a
253N/A#
253N/A# CDDL HEADER START
253N/A#
253N/A# The contents of this file are subject to the terms of the
253N/A# Common Development and Distribution License (the "License").
253N/A# You may not use this file except in compliance with the License.
253N/A#
253N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
253N/A# or http://www.opensolaris.org/os/licensing.
253N/A# See the License for the specific language governing permissions
253N/A# and limitations under the License.
253N/A#
253N/A# When distributing Covered Code, include this CDDL HEADER in each
253N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
253N/A# If applicable, add the following below this CDDL HEADER, with the
253N/A# fields enclosed by brackets "[]" replaced with your own identifying
253N/A# information: Portions Copyright [yyyy] [name of copyright owner]
253N/A#
253N/A# CDDL HEADER END
253N/A#
3817N/A
253N/A#
253N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
253N/A# Use is subject to license terms.
783N/A#
253N/A# ident "%Z%%M% %I% %E% SMI"
253N/A#
253N/A
253N/Ainclude $(SRC)/Makefile.master
253N/A
253N/Asparc_SUBDIRS= \
844N/A SUNWbcp \
844N/A SUNWcakr.u \
253N/A SUNWcakr.v \
1258N/A SUNWcakrnt2000.v \
253N/A SUNWcar.u \
253N/A SUNWcar.v \
844N/A SUNWcart200.v \
844N/A SUNWcg6.u \
253N/A SUNWcg6h \
253N/A SUNWcpc.u \
3514N/A SUNWcpc.v \
2899N/A SUNWcpr.u \
3817N/A SUNWcti2.u \
3817N/A SUNWcvc.u \
3817N/A SUNWcvcr.u \
3817N/A SUNWdcsr \
253N/A SUNWdcsu \
253N/A SUNWdrcr.u \
253N/A SUNWdrr.u \
253N/A SUNWdscpr.u \
253N/A SUNWdscpu.u \
253N/A SUNWefcl \
253N/A SUNWefcr \
253N/A SUNWefcu \
253N/A SUNWefc.u \
253N/A SUNWefck \
253N/A SUNWerid \
253N/A SUNWfruid \
253N/A SUNWfruip.u \
253N/A SUNWhmd \
253N/A SUNWhmdu \
253N/A SUNWidn.u \
253N/A SUNWifp \
253N/A SUNWifph \
253N/A SUNWjcom \
3823N/A SUNWjib \
3823N/A SUNWkvm.c \
3823N/A SUNWkvm.d \
3823N/A SUNWkvm.m \
3823N/A SUNWkvm.u \
3823N/A SUNWkvm.v \
3823N/A SUNWkvmt200.v \
3823N/A SUNWldomr.v \
3823N/A SUNWldomu.v \
3823N/A SUNWluxd.u \
3823N/A SUNWluxl \
253N/A SUNWn2cp.v \
253N/A SUNWn2cpact.v \
253N/A SUNWniumx.v \
253N/A SUNWnxge.u \
253N/A SUNWnxge.v \
253N/A SUNWonmtst.u \
253N/A SUNWonmtst.v \
253N/A SUNWiopc.u \
253N/A SUNWiopc.v \
253N/A SUNWpdu \
253N/A SUNWpstl.u \
253N/A SUNWqfed \
253N/A SUNWsckmr \
253N/A SUNWsckmu.u \
253N/A SUNWsckm.u \
253N/A SUNWscmhdlr \
253N/A SUNWsfdr.u \
253N/A SUNWsfdrr.u \
253N/A SUNWssad \
253N/A SUNWstc.u \
253N/A SUNWus.u \
253N/A SUNWust1.v \
253N/A SUNWust2.v
253N/A
253N/Asparc_XMODS=
253N/A
253N/Ai386_SUBDIRS= \
253N/A SUNWad810 \
253N/A SUNWadixp \
253N/A SUNWagp \
253N/A SUNWagph \
253N/A SUNWamd8111s \
253N/A SUNWahci \
253N/A SUNWamr \
253N/A SUNWatheros \
253N/A SUNWatigfx \
253N/A SUNWaudiohd \
253N/A SUNWcakr.i \
253N/A SUNWcakrx.i \
253N/A SUNWcar.i \
253N/A SUNWcarx.i \
253N/A SUNWcpc.i \
253N/A SUNWcpr.i \
253N/A SUNWdfb.i \
253N/A SUNWdrmr \
253N/A SUNWgrub \
253N/A SUNWgrubS \
253N/A SUNWipw \
253N/A SUNWiwi \
253N/A SUNWkvm.i \
253N/A SUNWlxr \
2375N/A SUNWlxu \
2375N/A SUNWmv88sx \
3477N/A SUNWnge \
3477N/A SUNWnvsata \
253N/A SUNWnxge \
253N/A SUNWonmtst.i \
253N/A SUNWos86r \
253N/A SUNWpsdcr \
253N/A SUNWpsdir \
253N/A SUNWpsh \
253N/A SUNWralink \
253N/A SUNWrmodr \
253N/A SUNWrmodu \
253N/A SUNWrtw \
253N/A SUNWsi3124 \
253N/A SUNWvia823x \
253N/A SUNWwpi \
253N/A SUNWxsvc \
253N/A SUNWxvmpv
253N/A
253N/Ai386_XMODS= \
253N/A BRCMbnx \
253N/A SUNWadpu320 \
253N/A SUNWlsimega \
253N/A
3817N/ACOMMON_SUBDIRS= \
SUNW1394h \
SUNW1394 \
SUNWaac \
SUNWaccr \
SUNWaccu \
SUNWafe \
SUNWapct \
SUNWauda \
SUNWaudd \
SUNWaudf \
SUNWaudh \
SUNWaudit \
SUNWatfsr \
SUNWatfsu \
SUNWarc \
SUNWarbel \
SUNWarcr \
SUNWastdev \
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 \
SUNWdmfe \
SUNWdmgtr \
SUNWdmgtu \
SUNWdsdr \
SUNWdsdu \
SUNWdoc \
SUNWdpl \
SUNWdtrc \
SUNWdtrp \
SUNWdtrt \
SUNWesu \
SUNWfilebench \
SUNWfmd \
SUNWfmdr \
SUNWfss \
SUNWftdur \
SUNWftduu \
SUNWftpr \
SUNWftpu \
SUNWfwdc \
SUNWfwdcu \
SUNWfwflash \
SUNWgssdh \
SUNWgssc \
SUNWgss \
SUNWgssk \
SUNWhal \
SUNWhalr \
SUNWhea \
SUNWhermon \
SUNWhwdata \
SUNWib \
SUNWibsdpu \
SUNWibsdp \
SUNWigb \
SUNWintgige \
SUNWiotu \
SUNWioth \
SUNWipc \
SUNWipfh \
SUNWipfr \
SUNWipfu \
SUNWipoib \
SUNWippcore \
SUNWipplr \
SUNWipplu \
SUNWiscsitgtr \
SUNWiscsitgtu \
SUNWixgb \
SUNWkrbr \
SUNWkrbu \
SUNWldskint \
SUNWlibsasl \
SUNWllc \
SUNWllcr\
SUNWlldap \
SUNWlp-cmds \
SUNWlpr-cmds \
SUNWkey \
SUNWloc \
SUNWmdar \
SUNWmdau \
SUNWmdb \
SUNWmdbdm \
SUNWmdbr \
SUNWmddr \
SUNWmdr \
SUNWmdu \
SUNWmibii \
SUNWmxfe \
SUNWncar \
SUNWncau \
SUNWndmpr \
SUNWndmpu \
SUNWnetcat \
SUNWnfsckr \
SUNWnfsskr \
SUNWnfssr \
SUNWnfscr \
SUNWnfssu \
SUNWnfscu \
SUNWnisr \
SUNWnisu \
SUNWntpr \
SUNWntpu \
SUNWocf \
SUNWocfd \
SUNWocfh \
SUNWocfr \
SUNWonfmes \
SUNWonzfs \
SUNWosdem \
SUNWypr \
SUNWypu \
SUNWpamsc \
SUNWpapi \
SUNWpcan \
SUNWpcelx \
SUNWpcmci \
SUNWpcmcu \
SUNWpcmem \
SUNWpcr \
SUNWpcser \
SUNWpcu \
SUNWpcwl \
SUNWpd \
SUNWphx \
SUNWpolkit \
PHXext \
SUNWperl584core \
SUNWperl584usr \
SUNWpiclh \
SUNWpiclu \
SUNWpiclr \
SUNWpl5p \
SUNWpl5u \
SUNWpl5v \
SUNWpool \
SUNWpoold \
SUNWpoolr \
SUNWppm \
SUNWpppd \
SUNWpppdu \
SUNWpppdr \
SUNWpppdt \
SUNWpppg \
SUNWpppgS \
SUNWpsdpr \
SUNWpsf \
SUNWpsm-ipp \
SUNWpsm-lpd \
SUNWpmu \
SUNWpsr \
SUNWpsu \
SUNWrcapr \
SUNWrcapu \
SUNWrcmdc \
SUNWrcmdr \
SUNWrcmds \
SUNWrds \
SUNWrge \
SUNWrmvolmgr \
SUNWrmvolmgrr \
SUNWrmwbr \
SUNWrmwbu \
SUNWroute \
SUNWroutr \
SUNWrpcib \
SUNWrsg \
SUNWrsgk \
SUNWsacom \
SUNWsasnm \
SUNWsbp2 \
SUNWscpr \
SUNWscpu \
SUNWscplp \
SUNWscsa1394 \
SUNWses \
SUNWsfe \
SUNWslpr \
SUNWslpu \
SUNWsmapi \
SUNWsmbfskr \
SUNWsmbfsr \
SUNWsmbfsu \
SUNWsmbskr \
SUNWsmbsr \
SUNWsmbsu \
SUNWsmedia \
SUNWsmediar \
SUNWsmpd \
SUNWsn1rint \
SUNWsn1uint \
SUNWsndmr \
SUNWsndmu \
SUNWspnego \
SUNWsra \
SUNWsrh \
SUNWtcpd \
SUNWtcpdS \
SUNWtecla \
SUNWter \
SUNWtftpr \
SUNWtftp \
SUNWtnetc \
SUNWtnetr \
SUNWtnetd \
SUNWtnfc \
SUNWtnfd \
SUNWtoo \
SUNWtsg \
SUNWtsr \
SUNWtsu \
SUNWudaplr \
SUNWudaplu \
SUNWuedg \
SUNWuksp \
SUNWukspfw \
SUNWugen \
SUNWugenu \
SUNWuprl \
SUNWuacm \
SUNWusbvc \
SUNWusb \
SUNWusbs \
SUNWusbu \
SUNWvscanr \
SUNWvscanu \
SUNWxcu4 \
SUNWwlanr \
SUNWwlanu \
SUNWwpar \
SUNWwpau \
SUNWxcu6 \
SUNWxwdv \
SUNWpmr \
SUNWudf \
SUNWudfr \
SUNWucbt \
SUNWrsm \
SUNWrsmo \
SUNWrtls \
SUNWqos \
SUNWqosu \
SUNWxge \
SUNWchxge \
SUNWzfskr \
SUNWzfsr \
SUNWzfsu \
SUNWzoneint \
SUNWzoner \
SUNWzoneu
COMMON_XMODS= \
SUNWcry \
SUNWcryr \
SUNWcryptoint \
SUNWibsdpib \
SUNWkdcr \
SUNWkdcu \
SUNWopenssl-man \
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