security/nss/pkg/solaris/Makefile-tlsu.targ
author gerv%gerv.net
Tue, 20 Mar 2012 14:49:16 +0000
changeset 10269 4f47cf792eba5c35f259b6cc8dcf86bbfc61f0c2
parent 5501 517d28efe84c2e2bb626e6ae7ac1d5e5155bac13
permissions -rwxr-xr-x
Bug 716563 - upgrade licence to MPL 2. r=rrelyea.

#
# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
#ident	"$Id$"
#

include ../proto64.mk

pkginfo: pkginfo.tmpl ../awk_pkginfo
	$(RM) $@; nawk -f ../awk_pkginfo $@.tmpl > $@

prototype:  prototype_com prototype_$(MACH)
	cat prototype_$(MACH) |  sed -e \
'/^!include[    ][  ]*prototype_com/ r ./prototype_com' \
-e 's/^!include[    ][  ]*prototype_com//g' \
 | sed $(sed_proto64) >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