Makefile revision 99dda20867d903eec23291ba1ecb18a82d70096b
0N/A#
3909N/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 (the "License").
0N/A# You may not use this file except in compliance with the License.
2362N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2362N/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]
0N/A#
0N/A# CDDL HEADER END
0N/A#
2362N/A#
2362N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
2362N/A# Use is subject to license terms.
0N/A#
0N/A#ident "%Z%%M% %I% %E% SMI"
0N/A#
0N/Ainclude ../../Makefile.master
0N/Ainclude $(PKGDEFS)/Makefile.com
0N/Ainclude ../Makefile.tools
0N/A
0N/ALICENSEFILES += ../ctf/dwarf/THIRDPARTYLICENSE
0N/A
0N/A.KEEP_STATE:
0N/A
0N/A%: $(PKGDEFS)/%.ksh
0N/A $(RM) $@
0N/A cp $< $@
0N/A chmod +x $@
0N/A
0N/Aall: awk_pkginfo $(FILES)
0N/A
0N/Ainstall: all .WAIT pkg
0N/A
0N/Aawk_pkginfo: bld_awk_pkginfo
0N/A ./bld_awk_pkginfo -m $(MACH) -p "$(RELEASE)/$(VERSION)" -o $@ -v \
0N/A $(ONVERS)
0N/A
0N/Apkginfo: pkginfo.tmpl awk_pkginfo
0N/A $(RM) $@; nawk -f awk_pkginfo $@.tmpl > $@
0N/A
0N/Apkg: $(FILES) $(PKGARCHIVE) FRC
0N/A pkgmk -f prototype_$(MACH) -d $(PKGARCHIVE) -r $(TOOLS_PROTO) -o $(PACKAGE)
0N/A
0N/A$(PKGARCHIVE):
0N/A [ -d $(PKGARCHIVE) ] || mkdir -p $(PKGARCHIVE)
0N/A
0N/A$(DATAFILES): $(PKGDEFS)/common_files/$$@
0N/A $(RM) $@; cp $(PKGDEFS)/common_files/$@ $@
0N/A
4632N/A$(MACHDATAFILES): $(PKGDEFS)/common_files/$$@_$(MACH)
0N/A $(RM) $@; cp $(PKGDEFS)/common_files/$@_$(MACH) $@
0N/A
0N/Aclobber clean:
0N/A -$(RM) $(CLOBBERFILES) $(CLEANFILES)
0N/A -$(RM) awk_pkginfo bld_awk_pkginfo
0N/A
1592N/ALDELIM="--------------------------------------------------------------------"
0N/A
0N/Acopyright: $(LICENSEFILES)
1592N/A @$(ECHO) "building SUNWonbld copyright file from $(LICENSEFILES)"
0N/A @$(RM) $@
0N/A @$(NAWK) ' \
0N/A (FNR == 1) && (NR > 1) { print "\n" ldelim "\n" } \
1592N/A { print $$0 }' \
0N/A ldelim="$(LDELIM)" $(LICENSEFILES) > $@
0N/A
4632N/AFRC:
5353N/A