pkg/solaris/Makefile-devl.targ
author Franziskus Kiefer <franziskuskiefer@gmail.com>
Wed, 08 Feb 2017 11:17:15 +0100
changeset 13109 d0a8fba6c18509cb1620957a9e5dbd060f1cedf8
parent 10743 9483ef9455fe7b4ede49c938d17415edad36a4f3
permissions -rwxr-xr-x
Bug 1334106 - split mpi target, r=ttaubert Differential Revision: https://nss-review.dev.mozaws.net/D189

#
# 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/.
#

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

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