checking in for Ty Lee r=mhein, r=mcgreer NSPRPUB_RELEASE_4_1_BRANCH
authorsonja.mirtitsch%sun.com
Thu, 29 May 2003 01:02:18 +0000
branchNSPRPUB_RELEASE_4_1_BRANCH
changeset 2845 073d04ec6b8bf56bb552293b75ffe65b10369a06
parent 2839 88a5ca811402a042a41c6d7d918462089facf90d
child 2846 bc48abbde86ed5d7bcf3db19b2a14794e680613d
push idunknown
push userunknown
push dateunknown
reviewersmhein, mcgreer
checking in for Ty Lee r=mhein, r=mcgreer
pkg/solaris/Makefile
pkg/solaris/Makefile-devl.com
pkg/solaris/Makefile-devl.targ
pkg/solaris/SUNWpr-devl/Makefile
pkg/solaris/SUNWpr-devl/depend
pkg/solaris/SUNWpr-devl/pkginfo.tmpl
pkg/solaris/SUNWpr-devl/prototype
pkg/solaris/SUNWprx-devl/Makefile
pkg/solaris/SUNWprx-devl/depend
pkg/solaris/SUNWprx-devl/pkginfo.tmpl
pkg/solaris/SUNWprx-devl/prototype
--- a/pkg/solaris/Makefile
+++ b/pkg/solaris/Makefile
@@ -9,30 +9,35 @@ MOD_DEPTH = ../..
 
 %: %.ksh
 	$(RM) $@
 	cp $< $@
 	chmod +x $@
 
 ifeq ($(USE_64), 1)
 DIRS = \
-	SUNWprx
+	SUNWprx \
+	SUNWprx-devl
 else
 DIRS = \
-	SUNWpr
+	SUNWpr \
+	SUNWpr-devl
 endif
 
 PROTO = \
 	$(ROOT) \
 	$(ROOT)/usr \
 	$(ROOT)/usr/lib \
-	$(ROOT)/usr/lib/mps
+	$(ROOT)/usr/lib/mps \
+	$(ROOT)/usr/include \
+	$(ROOT)/usr/include/mps 
 
 ifdef USE_64
-PROTO += $(ROOT)/usr/lib/mps/sparcv9
+PROTO += $(ROOT)/usr/lib/mps/sparcv9 \
+	$(ROOT)/usr/include/mps/sparcv9
 endif
 
 include Makefile.com
 
 awk_pkginfo: bld_awk_pkginfo
 	./bld_awk_pkginfo -m $(MACH) -p "$(PRODUCT_VERSION)" -o $@ -v $(PRODUCT_VERSION)
 
 all:: awk_pkginfo $(PROTO)
@@ -42,14 +47,18 @@ publish: awk_pkginfo $(PROTO)
 clean clobber::
 	$(RM) awk_pkginfo bld_awk_pkginfo
 	$(RM) -r $(ROOT)
 
 $(ROOT) $(ROOT)/%:
 	mkdir -p $@
 
 ifdef USE_64
-$(ROOT)/usr/lib/mps/sparcv9:
+$(ROOT)/usr/lib/mps/sparcv9: $(ROOT)/usr/lib
 	$(LN) -sf ../../../../$(DIST)/lib $@
+$(ROOT)/usr/include/mps/sparcv9: $(ROOT)/usr/include
+	$(LN) -sf ../../../../$(DIST)/include $@
 else
-$(ROOT)/usr/lib/mps:
+$(ROOT)/usr/lib/mps: $(ROOT)/usr/lib
 	$(LN) -sf ../../../$(DIST)/lib $@
+$(ROOT)/usr/include/mps: $(ROOT)/usr/include
+	$(LN) -sf ../../../$(DIST)/include $@
 endif
new file mode 100755
--- /dev/null
+++ b/pkg/solaris/Makefile-devl.com
@@ -0,0 +1,30 @@
+#
+# Copyright 2002 Sun Microsystems, Inc.  All rights reserved.
+# Use is subject to license terms.
+#
+#ident	"$Id$"
+#
+
+MACH = $(shell mach)
+
+PUBLISH_ROOT = $(DIST)
+ifeq ($(MOD_DEPTH),../..)
+ROOT = ROOT
+else
+ROOT = $(subst ../../,,$(MOD_DEPTH))/ROOT
+endif
+
+PKGARCHIVE = $(PUBLISH_ROOT)/pkgarchive
+DATAFILES = copyright
+FILES = $(DATAFILES) pkginfo
+
+PACKAGE = $(shell basename `pwd`)
+
+PRODUCT_VERSION = $(MOD_VERSION).$(MOD_MINOR).$(MOD_PATCH)
+LN = /usr/bin/ln
+
+CLOBBERFILES = $(FILES)
+
+include $(MOD_DEPTH)/config/rules.mk
+
+# vim: ft=make
new file mode 100755
--- /dev/null
+++ b/pkg/solaris/Makefile-devl.targ
@@ -0,0 +1,29 @@
+#
+# Copyright 2002 Sun Microsystems, Inc.  All rights reserved.
+# Use is subject to license terms.
+#
+#ident	"$Id$"
+#
+
+pkginfo: pkginfo.tmpl ../awk_pkginfo
+	$(RM) $@; nawk -f ../awk_pkginfo $@.tmpl > $@
+
+# prototype:
+#	cat prototype
+
+pkg: $(PKGARCHIVE) prototype
+	pkgmk -f prototype -d $(PKGARCHIVE) -r $(ROOT) -o $(PACKAGE)
+
+$(PKGARCHIVE):
+	[ -d $(PKGARCHIVE) ] || mkdir -p $(PKGARCHIVE)
+
+$(DATAFILES): %: ../common_files/%
+	$(RM) $@; cp ../common_files/$@ $@
+
+$(MACHDATAFILES): %: ../common_files/%_$(MACH)
+	$(RM) $@; cp ../common_files/$@_$(MACH) $@
+
+clobber clean::
+	-$(RM) $(CLOBBERFILES) $(CLEANFILES)
+
+.PHONY: pkg
new file mode 100755
--- /dev/null
+++ b/pkg/solaris/SUNWpr-devl/Makefile
@@ -0,0 +1,16 @@
+#
+# Copyright 2002 Sun Microsystems, Inc.  All rights reserved.
+# Use is subject to license terms.
+#
+#ident	"$Id$"
+#
+
+MOD_DEPTH = ../../..
+include ../Makefile-devl.com
+
+DATAFILES += 
+
+all:: $(FILES)
+publish:: all pkg
+
+include ../Makefile-devl.targ
new file mode 100755
--- /dev/null
+++ b/pkg/solaris/SUNWpr-devl/depend
@@ -0,0 +1,22 @@
+# Copyright 2002 Microsystems, Inc.  All Rights Reserved.
+# Use is subject to license terms.
+#
+#	$Id$
+#
+# This package information file defines software dependencies associated
+# with the pkg.  You can define three types of pkg dependencies with this file:
+#	 P indicates a prerequisite for installation
+#	 I indicates an incompatible package
+#	 R indicates a reverse dependency
+# <pkg.abbr> see pkginfo(4), PKG parameter
+# <name> see pkginfo(4), NAME parameter
+# <version> see pkginfo(4), VERSION parameter
+# <arch> see pkginfo(4), ARCH parameter
+# <type> <pkg.abbr> <name>
+# 	(<arch>)<version>
+# 	(<arch>)<version>
+# 	...
+# <type> <pkg.abbr> <name>
+# ...
+
+P SUNWpr	Netscape Portable Runtime
new file mode 100755
--- /dev/null
+++ b/pkg/solaris/SUNWpr-devl/pkginfo.tmpl
@@ -0,0 +1,34 @@
+#
+# Copyright 2002 Sun Microsystems, Inc.  All rights reserved.
+# Use is subject to license terms.
+#
+#ident	"$Id$"
+#
+#
+# This required package information file describes characteristics of the
+# package, such as package abbreviation, full package name, package version,
+# and package architecture.
+#
+PKG="SUNWpr-devl"
+NAME="Netscape Portable Runtime Development"
+ARCH="ISA"
+VERSION="NSPRVERS,REV=0.0.0"
+SUNW_PRODNAME="Netscape Portable Runtime Development"
+SUNW_PRODVERS="NSPRVERS"
+SUNW_PKGTYPE="usr"
+MAXINST="1000"
+CATEGORY="system"
+DESC="Netscape Portable Runtime Interface Files for Development"
+VENDOR="Sun Microsystems, Inc."
+HOTLINE="Please contact your local service provider"
+EMAIL=""
+CLASSES="none"
+BASEDIR=/
+SUNW_PKGVERS="1.0"
+#VSTOCK="<reserved by Release Engineering for package part #>"
+#ISTATES="<developer defined>"
+#RSTATES='<developer defined>'
+#ULIMIT="<developer defined>"
+#ORDER="<developer defined>"
+#PSTAMP="<developer defined>"
+#INTONLY="<developer defined>"
new file mode 100755
--- /dev/null
+++ b/pkg/solaris/SUNWpr-devl/prototype
@@ -0,0 +1,86 @@
+#
+# Copyright 2002 Sun Microsystems, Inc.  All rights reserved.
+# Use is subject to license terms.
+#
+#ident  "$Id$"
+#
+# This required package information file contains a list of package contents.
+# The 'pkgmk' command uses this file to identify the contents of a package
+# and their location on the development machine when building the package.
+# Can be created via a text editor or through use of the 'pkgproto' command.
+
+#!search <pathname pathname ...>        # where to find pkg objects
+#!include <filename>                    # include another 'prototype' file
+#!default <mode> <owner> <group>        # default used if not specified on entry
+#!<param>=<value>                       # puts parameter in pkg environment
+
+# packaging files
+i copyright
+i pkginfo
+i depend
+#
+# source locations relative to .h 0644 root bine prototype file
+#
+# SUNWpr-devl
+#
+d none usr 0755 root bin
+d none usr/include 0755 root bin
+d none usr/include/mps 0755 root bin
+d none usr/include/mps/private 0755 root bin
+f none usr/include/mps/private/pprio.h 0644 root bin
+f none usr/include/mps/private/pprthred.h 0644 root
+f none usr/include/mps/private/prpriv.h 0644 root bin
+d none usr/include/mps/obsolete 0755 root bin
+f none usr/include/mps/obsolete/pralarm.h 0644 root bin
+f none usr/include/mps/obsolete/probslet.h 0644 root bin
+f none usr/include/mps/obsolete/protypes.h 0644 root bin
+f none usr/include/mps/obsolete/prsem.h 0644 root bin
+f none usr/include/mps/prcpucfg.h 0644 root bin
+f none usr/include/mps/nspr.h 0644 root bin
+f none usr/include/mps/pratom.h 0644 root bin
+f none usr/include/mps/prbit.h 0644 root bin
+f none usr/include/mps/prclist.h 0644 root bin
+f none usr/include/mps/prcmon.h 0644 root bin
+f none usr/include/mps/prcountr.h 0644 root bin
+f none usr/include/mps/prcvar.h 0644 root bin
+f none usr/include/mps/prdtoa.h 0644 root bin
+f none usr/include/mps/prenv.h 0644 root bin
+f none usr/include/mps/prerr.h 0644 root bin
+f none usr/include/mps/prerror.h 0644 root bin
+f none usr/include/mps/prinet.h 0644 root bin
+f none usr/include/mps/prinit.h 0644 root bin
+f none usr/include/mps/prinrval.h 0644 root bin
+f none usr/include/mps/prio.h 0644 root bin
+f none usr/include/mps/pripcsem.h 0644 root bin
+f none usr/include/mps/prlink.h 0644 root bin
+f none usr/include/mps/prlock.h 0644 root bin
+f none usr/include/mps/prlog.h 0644 root bin
+f none usr/include/mps/prlong.h 0644 root bin
+f none usr/include/mps/prmem.h 0644 root bin
+f none usr/include/mps/prmon.h 0644 root bin
+f none usr/include/mps/prmwait.h 0644 root bin
+f none usr/include/mps/prnetdb.h 0644 root bin
+f none usr/include/mps/prolock.h 0644 root bin
+f none usr/include/mps/prpdce.h 0644 root bin
+f none usr/include/mps/prprf.h 0644 root bin
+f none usr/include/mps/prproces.h 0644 root bin
+f none usr/include/mps/prrng.h 0644 root bin
+f none usr/include/mps/prrwlock.h 0644 root bin
+f none usr/include/mps/prshm.h 0644 root bin
+f none usr/include/mps/prshma.h 0644 root bin
+f none usr/include/mps/prsystem.h 0644 root bin
+f none usr/include/mps/prthread.h 0644 root bin
+f none usr/include/mps/prtime.h 0644 root bin
+f none usr/include/mps/prtpool.h 0644 root bin
+f none usr/include/mps/prtrace.h 0644 root bin
+f none usr/include/mps/prtypes.h 0644 root bin
+f none usr/include/mps/prvrsion.h 0644 root bin
+f none usr/include/mps/prwin16.h 0644 root bin
+f none usr/include/mps/plarenas.h 0644 root bin
+f none usr/include/mps/plarena.h 0644 root bin
+f none usr/include/mps/plbase64.h 0644 root bin
+f none usr/include/mps/plerror.h 0644 root bin
+f none usr/include/mps/plgetopt.h 0644 root bin
+f none usr/include/mps/plhash.h 0644 root bin
+f none usr/include/mps/plresolv.h 0644 root bin
+f none usr/include/mps/plstr.h 0644 root bin
new file mode 100755
--- /dev/null
+++ b/pkg/solaris/SUNWprx-devl/Makefile
@@ -0,0 +1,16 @@
+#
+# Copyright 2002 Sun Microsystems, Inc.  All rights reserved.
+# Use is subject to license terms.
+#
+#ident	"$Id$"
+#
+
+MOD_DEPTH = ../../..
+include ../Makefile-devl.com
+
+DATAFILES += 
+
+all:: $(FILES)
+publish:: all pkg
+
+include ../Makefile-devl.targ
new file mode 100755
--- /dev/null
+++ b/pkg/solaris/SUNWprx-devl/depend
@@ -0,0 +1,22 @@
+# Copyright 2002 Microsystems, Inc.  All Rights Reserved.
+# Use is subject to license terms.
+#
+#	$Id$
+#
+# This package information file defines software dependencies associated
+# with the pkg.  You can define three types of pkg dependencies with this file:
+#	 P indicates a prerequisite for installation
+#	 I indicates an incompatible package
+#	 R indicates a reverse dependency
+# <pkg.abbr> see pkginfo(4), PKG parameter
+# <name> see pkginfo(4), NAME parameter
+# <version> see pkginfo(4), VERSION parameter
+# <arch> see pkginfo(4), ARCH parameter
+# <type> <pkg.abbr> <name>
+# 	(<arch>)<version>
+# 	(<arch>)<version>
+# 	...
+# <type> <pkg.abbr> <name>
+# ...
+
+P SUNWprx	Netscape Portable Runtime (64-bit)
new file mode 100755
--- /dev/null
+++ b/pkg/solaris/SUNWprx-devl/pkginfo.tmpl
@@ -0,0 +1,35 @@
+#
+# Copyright 2002 Sun Microsystems, Inc.  All rights reserved.
+# Use is subject to license terms.
+#
+#ident	"$Id$"
+#
+#
+# This required package information file describes characteristics of the
+# package, such as package abbreviation, full package name, package version,
+# and package architecture.
+#
+PKG="SUNWprx-devl"
+NAME="Netscape Portable Runtime Development (64-bit)"
+ARCH="ISA"
+SUNW_ISA="sparcv9"
+VERSION="NSPRVERS,REV=0.0.0"
+SUNW_PRODNAME="Netscape Portable Runtime Development (64-bit)"
+SUNW_PRODVERS="NSPRVERS"
+SUNW_PKGTYPE="usr"
+MAXINST="1000"
+CATEGORY="system"
+DESC="Netscape Portable Runtime Interface Files for Development (64-bit)"
+VENDOR="Sun Microsystems, Inc."
+HOTLINE="Please contact your local service provider"
+EMAIL=""
+CLASSES="none"
+BASEDIR=/
+SUNW_PKGVERS="1.0"
+#VSTOCK="<reserved by Release Engineering for package part #>"
+#ISTATES="<developer defined>"
+#RSTATES='<developer defined>'
+#ULIMIT="<developer defined>"
+#ORDER="<developer defined>"
+#PSTAMP="<developer defined>"
+#INTONLY="<developer defined>"
new file mode 100755
--- /dev/null
+++ b/pkg/solaris/SUNWprx-devl/prototype
@@ -0,0 +1,87 @@
+#
+# Copyright 2002 Sun Microsystems, Inc.  All rights reserved.
+# Use is subject to license terms.
+#
+#ident  "$Id$"
+#
+# This required package information file contains a list of package contents.
+# The 'pkgmk' command uses this file to identify the contents of a package
+# and their location on the development machine when building the package.
+# Can be created via a text editor or through use of the 'pkgproto' command.
+
+#!search <pathname pathname ...>        # where to find pkg objects
+#!include <filename>                    # include another 'prototype' file
+#!default <mode> <owner> <group>        # default used if not specified on entry
+#!<param>=<value>                       # puts parameter in pkg environment
+
+# packaging files
+i copyright
+i pkginfo
+i depend
+#
+# source locations relative to .h 0644 root bine prototype file
+#
+# SUNWprx-devl
+#
+d none usr 0755 root bin
+d none usr/include 0755 root bin
+s none usr/include/mps/64=sparcv9
+d none usr/include/mps/sparcv9 0755 root bin
+d none usr/include/mps/sparcv9/private 0755 root bin
+f none usr/include/mps/sparcv9/private/pprio.h 0644 root bin
+f none usr/include/mps/sparcv9/private/pprthred.h 0644 root
+f none usr/include/mps/sparcv9/private/prpriv.h 0644 root bin
+d none usr/include/mps/sparcv9/obsolete 0755 root bin
+f none usr/include/mps/sparcv9/obsolete/pralarm.h 0644 root bin
+f none usr/include/mps/sparcv9/obsolete/probslet.h 0644 root bin
+f none usr/include/mps/sparcv9/obsolete/protypes.h 0644 root bin
+f none usr/include/mps/sparcv9/obsolete/prsem.h 0644 root bin
+f none usr/include/mps/sparcv9/prcpucfg.h 0644 root bin
+f none usr/include/mps/sparcv9/nspr.h 0644 root bin
+f none usr/include/mps/sparcv9/pratom.h 0644 root bin
+f none usr/include/mps/sparcv9/prbit.h 0644 root bin
+f none usr/include/mps/sparcv9/prclist.h 0644 root bin
+f none usr/include/mps/sparcv9/prcmon.h 0644 root bin
+f none usr/include/mps/sparcv9/prcountr.h 0644 root bin
+f none usr/include/mps/sparcv9/prcvar.h 0644 root bin
+f none usr/include/mps/sparcv9/prdtoa.h 0644 root bin
+f none usr/include/mps/sparcv9/prenv.h 0644 root bin
+f none usr/include/mps/sparcv9/prerr.h 0644 root bin
+f none usr/include/mps/sparcv9/prerror.h 0644 root bin
+f none usr/include/mps/sparcv9/prinet.h 0644 root bin
+f none usr/include/mps/sparcv9/prinit.h 0644 root bin
+f none usr/include/mps/sparcv9/prinrval.h 0644 root bin
+f none usr/include/mps/sparcv9/prio.h 0644 root bin
+f none usr/include/mps/sparcv9/pripcsem.h 0644 root bin
+f none usr/include/mps/sparcv9/prlink.h 0644 root bin
+f none usr/include/mps/sparcv9/prlock.h 0644 root bin
+f none usr/include/mps/sparcv9/prlog.h 0644 root bin
+f none usr/include/mps/sparcv9/prlong.h 0644 root bin
+f none usr/include/mps/sparcv9/prmem.h 0644 root bin
+f none usr/include/mps/sparcv9/prmon.h 0644 root bin
+f none usr/include/mps/sparcv9/prmwait.h 0644 root bin
+f none usr/include/mps/sparcv9/prnetdb.h 0644 root bin
+f none usr/include/mps/sparcv9/prolock.h 0644 root bin
+f none usr/include/mps/sparcv9/prpdce.h 0644 root bin
+f none usr/include/mps/sparcv9/prprf.h 0644 root bin
+f none usr/include/mps/sparcv9/prproces.h 0644 root bin
+f none usr/include/mps/sparcv9/prrng.h 0644 root bin
+f none usr/include/mps/sparcv9/prrwlock.h 0644 root bin
+f none usr/include/mps/sparcv9/prshm.h 0644 root bin
+f none usr/include/mps/sparcv9/prshma.h 0644 root bin
+f none usr/include/mps/sparcv9/prsystem.h 0644 root bin
+f none usr/include/mps/sparcv9/prthread.h 0644 root bin
+f none usr/include/mps/sparcv9/prtime.h 0644 root bin
+f none usr/include/mps/sparcv9/prtpool.h 0644 root bin
+f none usr/include/mps/sparcv9/prtrace.h 0644 root bin
+f none usr/include/mps/sparcv9/prtypes.h 0644 root bin
+f none usr/include/mps/sparcv9/prvrsion.h 0644 root bin
+f none usr/include/mps/sparcv9/prwin16.h 0644 root bin
+f none usr/include/mps/sparcv9/plarenas.h 0644 root bin
+f none usr/include/mps/sparcv9/plarena.h 0644 root bin
+f none usr/include/mps/sparcv9/plbase64.h 0644 root bin
+f none usr/include/mps/sparcv9/plerror.h 0644 root bin
+f none usr/include/mps/sparcv9/plgetopt.h 0644 root bin
+f none usr/include/mps/sparcv9/plhash.h 0644 root bin
+f none usr/include/mps/sparcv9/plresolv.h 0644 root bin
+f none usr/include/mps/sparcv9/plstr.h 0644 root bin