Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
0N/A#
2362N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License, Version 1.0 only
0N/A# (the "License"). You may not use this file except in compliance
0N/A# with the License.
0N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2362N/A#
2362N/A# CDDL HEADER END
2362N/A#
0N/A#
0N/A# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
0N/A# Use is subject to license terms.
0N/A#
0N/A# ident "%Z%%M% %I% %E% SMI"
0N/A#
0N/A
0N/Ainclude $(SRC)/Makefile.master
5361N/A
0N/Asparc_SUBDIRS= \
0N/A SUNWbcp \
0N/A SUNWcakr.u \
0N/A SUNWcakr.v \
0N/A SUNWcar.u \
0N/A SUNWcar.v \
0N/A SUNWcg6.u \
0N/A SUNWcg6h \
0N/A SUNWcpc.u \
0N/A SUNWcpc.v \
0N/A SUNWcpr.u \
0N/A SUNWcti2.u \
0N/A SUNWcvc.u \
0N/A SUNWcvcr.u \
0N/A SUNWdcsr \
0N/A SUNWdcsu \
0N/A SUNWdrcr.u \
0N/A SUNWdrr.u \
0N/A SUNWefcl \
0N/A SUNWefcr \
0N/A SUNWefcu \
0N/A SUNWefc.u \
0N/A SUNWerid \
0N/A SUNWfruid \
0N/A SUNWfruip.u \
0N/A SUNWhmd \
0N/A SUNWhmdu \
0N/A SUNWidn.u \
0N/A SUNWifp \
0N/A SUNWifph \
0N/A SUNWjcom \
0N/A SUNWjib \
0N/A SUNWkvm.c \
0N/A SUNWkvm.d \
0N/A SUNWkvm.m \
0N/A SUNWkvm.u \
0N/A SUNWkvm.v \
0N/A SUNWluxd.u \
0N/A SUNWluxl \
0N/A SUNWonmtst \
0N/A SUNWpd \
0N/A SUNWpdu \
0N/A SUNWpstl.u \
0N/A SUNWsckmr \
0N/A SUNWsckmu.u \
0N/A SUNWsckm.u \
0N/A SUNWscmhdlr \
0N/A SUNWsfdr.u \
0N/A SUNWsfdrr.u \
0N/A SUNWssad \
0N/A SUNWstc.u \
0N/A SUNWus.u \
0N/A SUNWust1.v \
0N/A SUNWust1u.v \
0N/A SUNWwrsa.u \
0N/A SUNWwrsd.u \
0N/A SUNWwrsm.u \
0N/A SUNWwrsu.u
0N/A
0N/Asparc_XMODS=
0N/A
0N/Ai386_SUBDIRS= \
0N/A SUNWaac \
0N/A SUNWad810 \
0N/A SUNWagp \
0N/A SUNWagph \
0N/A SUNWamr \
0N/A SUNWcakr.i \
0N/A SUNWcar.i \
0N/A SUNWcpc.i \
0N/A SUNWdfb.i \
0N/A SUNWgrub \
0N/A SUNWgrubS \
0N/A SUNWkvm.i \
0N/A SUNWos86r \
0N/A SUNWpsdcr \
0N/A SUNWpsdir \
0N/A SUNWpsh \
0N/A SUNWrmodr \
0N/A SUNWrmodu \
0N/A SUNWrtls \
0N/A SUNWvia823x
0N/A
0N/Ai386_XMODS= \
0N/A SUNWintgige \
0N/A SUNWnge \
0N/A SUNWadpu320
0N/A
0N/ACOMMON_SUBDIRS= \
0N/A SUNW1394h \
0N/A SUNW1394 \
0N/A SUNWaccr \
0N/A SUNWaccu \
0N/A SUNWapct \
0N/A SUNWauda \
0N/A SUNWaudd \
0N/A SUNWaudf \
0N/A SUNWaudh \
0N/A SUNWaudit \
0N/A SUNWatfsr \
0N/A SUNWatfsu \
0N/A SUNWarc \
0N/A SUNWarcr \
0N/A SUNWast \
0N/A SUNWav1394 \
0N/A SUNWbart \
0N/A SUNWbge \
0N/A SUNWbip \
0N/A SUNWbipr \
0N/A SUNWbnur \
0N/A SUNWbnuu \
0N/A SUNWbsr \
0N/A SUNWbsu \
0N/A SUNWbtool \
0N/A SUNWcdrw \
0N/A SUNWckr \
0N/A SUNWcnetr \
0N/A SUNWcnsr \
0N/A SUNWcnsu \
0N/A SUNWcpcu \
0N/A SUNWcsd \
0N/A SUNWcsr \
0N/A SUNWcsu \
0N/A SUNWcsl \
0N/A SUNWcslr \
0N/A SUNWcstl \
0N/A SUNWdfbh \
0N/A SUNWdhcm \
0N/A SUNWdhcsb \
0N/A SUNWdhcsr \
0N/A SUNWdhcsu \
0N/A SUNWdmgtr \
0N/A SUNWdmgtu \
0N/A SUNWdoc \
0N/A SUNWdpl \
0N/A SUNWdtrc \
0N/A SUNWdtrp \
0N/A SUNWesu \
0N/A SUNWfac \
0N/A SUNWfmd \
0N/A SUNWfss \
0N/A SUNWftdur \
0N/A SUNWftduu \
0N/A SUNWftpr \
0N/A SUNWftpu \
0N/A SUNWgssdh \
0N/A SUNWgssc \
0N/A SUNWgss \
0N/A SUNWgssk \
0N/A SUNWhea \
0N/A SUNWib \
0N/A SUNWiotu \
0N/A SUNWioth \
0N/A SUNWipc \
0N/A SUNWipfr \
0N/A SUNWipfu \
0N/A SUNWipoib \
0N/A SUNWixgb \
0N/A SUNWkrbr \
0N/A SUNWkrbu \
0N/A SUNWlibsasl \
0N/A SUNWllc \
0N/A SUNWllcr\
0N/A SUNWlldap \
0N/A SUNWkey \
0N/A SUNWloc \
0N/A SUNWmdar \
0N/A SUNWmdau \
0N/A SUNWmdb \
0N/A SUNWmdbdm \
0N/A SUNWmdbr \
0N/A SUNWmddr \
0N/A SUNWmdr \
0N/A SUNWmdu \
0N/A SUNWmibii \
0N/A SUNWmipr \
0N/A SUNWmipu \
0N/A SUNWncar \
0N/A SUNWncau \
0N/A SUNWnfsckr \
0N/A SUNWnfsskr \
0N/A SUNWnfssr \
0N/A SUNWnfscr \
0N/A SUNWnfssu \
0N/A SUNWnfscu \
0N/A SUNWnisr \
0N/A SUNWnisu \
0N/A SUNWntpr \
0N/A SUNWntpu \
0N/A SUNWocf \
0N/A SUNWocfd \
0N/A SUNWocfh \
0N/A SUNWocfr \
0N/A SUNWonfmes \
0N/A SUNWosdem \
0N/A SUNWypr \
SUNWypu \
SUNWpamsc \
SUNWpcelx \
SUNWpcmci \
SUNWpcmcu \
SUNWpcmem \
SUNWpcr \
SUNWpcser \
SUNWpcu \
SUNWphx \
PHXext \
SUNWperl584core \
SUNWperl584usr \
SUNWpiclh \
SUNWpiclu \
SUNWpiclr \
SUNWpl5p \
SUNWpl5u \
SUNWpl5v \
SUNWpool \
SUNWpoolr \
SUNWppm \
SUNWpppd \
SUNWpppdu \
SUNWpppdr \
SUNWpppdt \
SUNWpppg \
SUNWpppgS \
SUNWpsdpr \
SUNWpsf \
SUNWpmu \
SUNWpsr \
SUNWpsu \
SUNWrcapr \
SUNWrcapu \
SUNWrcmdc \
SUNWrcmdr \
SUNWrcmds \
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 \
SUNWugen \
SUNWugenu \
SUNWusb \
SUNWusbs \
SUNWusbu \
SUNWvolr \
SUNWvolu \
SUNWxcu4 \
SUNWxcu6 \
SUNWxwdv \
SUNWpmr \
SUNWudf \
SUNWudfr \
SUNWucbt \
SUNWrsm \
SUNWrsmo \
SUNWqos \
SUNWqosu \
SUNWxge \
SUNWchxge \
SUNWzoneint \
SUNWzoner \
SUNWzoneu
COMMON_XMODS= \
SUNWcry \
SUNWcryr \
SUNWcryptoint \
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