nsprpub/pkg/solaris/Makefile.targ
author Alex Keybl <akeybl@mozilla.com>
Mon, 19 Nov 2012 12:42:24 -0800
changeset 109834 9eade8b490a5e4df270e95c9008c936e898ed93f
parent 97770 d37d4edce6dd592f04afa606deb1ae327c07b4a4
child 140905 572236490691cde4e673991eaba8d5092b73edfa
permissions -rw-r--r--
Tagging end of BETA17 CLOSED TREE

# 
# 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: Makefile.targ,v 1.7 2012/03/06 13:13:40 gerv%gerv.net Exp $"
#

include $(srcdir)/../proto64.mk

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

pkg: $(PKGARCHIVE) prototype_$(MACH)
	cp $(srcdir)/prototype_com .
	cat $(srcdir)/prototype_$(MACH) | sed $(sed_proto64) > prototype_$(MACH)
	cp $(srcdir)/depend .
	pkgmk -f prototype_$(MACH) -d $(PKGARCHIVE) -r $(ROOT) -o $(PACKAGE)

$(PKGARCHIVE):
	[ -d $(PKGARCHIVE) ] || mkdir -p $(PKGARCHIVE)

$(DATAFILES): %: $(srcdir)/../common_files/%
	$(RM) $@; cp $(srcdir)/../common_files/$@ $@

clobber clean::
	-$(RM) $(CLOBBERFILES) $(CLEANFILES)

.PHONY: pkg