Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews# CDDL HEADER START
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# The contents of this file are subject to the terms of the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Common Development and Distribution License, Version 1.0 only
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# (the "License"). You may not use this file except in compliance
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# with the License.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# See the License for the specific language governing permissions
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# and limitations under the License.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# When distributing Covered Code, include this CDDL HEADER in each
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# If applicable, add the following below this CDDL HEADER, with the
285254345ce5ab270848f8c11f7be146793f1e00Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# information: Portions Copyright [yyyy] [name of copyright owner]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# CDDL HEADER END
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Copyright 1997, 2002 Sun Microsystems, Inc. All rights reserved.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Use is subject to license terms.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein#ident "%Z%%M% %I% %E% SMI"
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinPKGARCHIVE=$(SRC)/../../pkgarchive/$(MACH)/$(RELEASE)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinACTION_SUNWgss=grep SUNWgss depend > /dev/null || \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# action is a pseudotarget denoting completed work on the depend file
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrewspkginfo: pkginfo.tmpl $(SRC)/pkgdefs/awk_pkginfo
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews $(RM) $@; nawk -f $(SRC)/pkgdefs/awk_pkginfo $@.tmpl > $@
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein pkgmk -f prototype_$(MACH) -d $(PKGARCHIVE) -r `basename $(ROOT)` \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein$(MACHDATAFILES): $(SRC)/pkgdefs/common_files/$$@_$(MACH)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein $(RM) $@; cp $(SRC)/pkgdefs/common_files/$@_$(MACH) $@