Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 #
2 # Copyright 2005 Sun Microsystems, Inc. All rights reserved.
3 # Use is subject to license terms.
4 #
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 #
10 include ../proto64.mk
12 pkginfo: pkginfo.tmpl ../awk_pkginfo
13 $(RM) $@; nawk -f ../awk_pkginfo $@.tmpl > $@
15 prototype: prototype_com prototype_$(MACH)
16 cat prototype_$(MACH) | sed -e \
17 '/^!include[ ][ ]*prototype_com/ r ./prototype_com' \
18 -e 's/^!include[ ][ ]*prototype_com//g' \
19 | sed $(sed_proto64) >prototype
21 pkg: $(PKGARCHIVE) prototype
22 pkgmk -f prototype -d $(PKGARCHIVE) -r $(ROOT) -o $(PACKAGE)
24 $(PKGARCHIVE):
25 [ -d $(PKGARCHIVE) ] || mkdir -p $(PKGARCHIVE)
27 $(DATAFILES):: %: ../common_files/%
28 $(RM) $@; cp ../common_files/$@ $@
30 $(MACHDATAFILES): %: ../common_files/%_$(MACH)
31 $(RM) $@; cp ../common_files/$@_$(MACH) $@
33 clobber clean::
34 -$(RM) $(CLOBBERFILES) $(CLEANFILES)
36 .PHONY: pkg